H5PIntegration = {
  ajax: { setFinished: "", contentUserData: "" },
  ajaxPath: "/h5p/ajax?action=",
  contents: {
    "cid-1295234484": {
      displayOptions: {
        copy: false,
        copyright: false,
        embed: false,
        export: false,
        frame: false,
        icon: false,
      },
      fullScreen: "1",
      jsonContent:
        '{"showCoverPage":true,"bookCover":{"coverDescription":"\\n\\n\\n"},"chapters":[{"params":{"content":[{"content":{"params":{"presentation":{"slides":[{"elements":[{"x":0,"y":3.0959752321981426,"width":86.67711598746082,"height":95.97523219814242,"action":{"library":"H5P.Image 1.1","params":{"decorative":false,"contentName":"Εικόνα","expandImage":"Expand Image","minimizeImage":"Minimize Image","file":{"path":"resources/file-t9ggOGVs.jpg","mime":"image/jpeg","copyright":{"license":"U"},"width":1280,"height":720},"alt":"Εικόνα 1"},"subContentId":"a1a45a6a-9847-4aa3-933b-20c6d453cc91","metadata":{"contentType":"Image","license":"U","title":"Untitled Image","authors":[],"changes":[]}},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""},{"x":25.11773940345369,"y":80.62640514768586,"width":39.96865203761755,"height":18.26625386996904,"action":{"library":"H5P.ExportableTextArea 1.3","params":{"index":0,"exportNotSupported":"Η εξαγωγή δεν υποστηρίζεται για τη συσκευή σας","exportComments":false,"label":"<p style=\\"text-align:center\\"><strong>Τίτλος</strong></p>\\n"},"subContentId":"a28b19b6-07ae-4dac-a0c5-92d7d2f9ab6e","metadata":{"contentType":"Exportable Text Area","license":"U","title":"Untitled Exportable Text Area","authors":[],"changes":[]}},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""}],"slideBackgroundSelector":{}},{"elements":[{"x":6.279434850863423,"y":0,"width":87.46081504702194,"height":96.90402476780186,"action":{"library":"H5P.Image 1.1","params":{"decorative":false,"contentName":"Εικόνα","expandImage":"Expand Image","minimizeImage":"Minimize Image","alt":"Εικόνα 2","file":{"path":"resources/file-S8lxfHEJ.jpg","mime":"image/jpeg","copyright":{"license":"U"},"width":1280,"height":720}},"subContentId":"81f4792c-943d-4bc9-a769-c087d7e205b7","metadata":{"contentType":"Image","license":"U","title":"Untitled Image","authors":[],"changes":[]}},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""},{"x":26.687598116169543,"y":80.62640514768586,"width":48.58934169278997,"height":18.26625386996904,"action":{"library":"H5P.ExportableTextArea 1.3","params":{"exportNotSupported":"Η εξαγωγή δεν υποστηρίζεται για τη συσκευή σας","exportComments":false,"label":"<p style=\\"text-align:center\\"><strong>Τίτλος</strong></p>\\n","index":0},"metadata":{"contentType":"Exportable Text Area","license":"U","title":"Untitled Exportable Text Area","authors":[],"changes":[]},"subContentId":"c7986b73-4221-4f3f-bec8-ad1cc69186b1"},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""}],"slideBackgroundSelector":{}},{"elements":[{"x":0,"y":3.0959752321981426,"width":87.21400385228853,"height":96.90402476780186,"action":{"library":"H5P.Image 1.1","params":{"decorative":false,"contentName":"Εικόνα","expandImage":"Expand Image","minimizeImage":"Minimize Image","alt":"Εικόνα 3","file":{"path":"resources/file-wVwEULJf.jpg","mime":"image/jpeg","copyright":{"license":"U"},"width":1280,"height":720}},"subContentId":"4a278bca-75f8-46f8-86bd-fc11c37067fa","metadata":{"contentType":"Image","license":"U","title":"Untitled Image","authors":[],"changes":[]}},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""},{"x":21.978021978021978,"y":80.62640514768586,"width":48.58934169278997,"height":18.26625386996904,"action":{"library":"H5P.ExportableTextArea 1.3","params":{"exportNotSupported":"Η εξαγωγή δεν υποστηρίζεται για τη συσκευή σας","exportComments":false,"label":"<p style=\\"text-align:center\\"><strong>Τίτλος</strong></p>\\n","index":0},"metadata":{"contentType":"Exportable Text Area","license":"U","title":"Untitled Exportable Text Area","authors":[],"changes":[]},"subContentId":"a64c8f5c-4c68-4de4-8207-c9b5056976a5"},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""}],"slideBackgroundSelector":{}},{"elements":[{"x":0,"y":3.0959752321981426,"width":87.21400385228853,"height":96.90402476780186,"action":{"library":"H5P.Image 1.1","params":{"decorative":false,"contentName":"Εικόνα","expandImage":"Expand Image","minimizeImage":"Minimize Image","alt":"Εικόνα 4","file":{"path":"resources/file-b542to5s.jpg","mime":"image/jpeg","copyright":{"license":"U"},"width":1280,"height":720}},"subContentId":"7f05a906-ad2d-42a0-91a5-94d9e494f8ba","metadata":{"contentType":"Image","license":"U","title":"Untitled Image","authors":[],"changes":[]}},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""},{"x":18.838304552590266,"y":80.62640514768586,"width":51.724137931034484,"height":18.26625386996904,"action":{"library":"H5P.ExportableTextArea 1.3","params":{"exportNotSupported":"Η εξαγωγή δεν υποστηρίζεται για τη συσκευή σας","exportComments":false,"label":"<p style=\\"text-align:center\\"><strong>Τίτλος</strong></p>\\n","index":0},"metadata":{"contentType":"Exportable Text Area","license":"U","title":"Untitled Exportable Text Area","authors":[],"changes":[]},"subContentId":"1a25b324-e957-4024-8e26-d7499661a939"},"alwaysDisplayComments":false,"backgroundOpacity":0,"displayAsButton":false,"buttonSize":"big","goToSlideType":"specified","invisible":false,"solution":""}],"slideBackgroundSelector":{}}],"keywordListEnabled":true,"globalBackgroundSelector":{},"keywordListAlwaysShow":false,"keywordListAutoHide":false,"keywordListOpacity":90},"override":{"activeSurface":false,"hideSummarySlide":false,"summarySlideSolutionButton":false,"summarySlideRetryButton":false,"enablePrintButton":true,"social":{"showFacebookShare":false,"facebookShare":{"url":"@currentpageurl","quote":"Πέτυχα @score στα @maxScore σε αυτή την άσκηση: @currentpageurl."},"showTwitterShare":false,"twitterShare":{"statement":"Πέτυχα @score στα @maxScore σε αυτή την άσκηση: @currentpageurl.","url":"@currentpageurl","hashtags":"h5p, course"},"showGoogleShare":false,"googleShareUrl":"@currentpageurl"}},"l10n":{"slide":"Διαφάνεια","score":"Βαθμολογία","yourScore":"Η βαθμολογία σου","maxScore":"Μέγιστη βαθμολογία","total":"Σύνολο","totalScore":"Συνολική βαθμολογία","showSolutions":"Λύση","retry":"Επανάληψη","exportAnswers":"Εξαγωγή κειμένου","hideKeywords":"Απόκρυψη λίστας λέξεων - κλειδιά","showKeywords":"Εμφάνιση λίστας λέξεων - κλειδιά ","fullscreen":"Πλήρης οθόνη","exitFullscreen":"Κλείσιμο προβολής πλήρους οθόνης","prevSlide":"Προηγούμενη διαφάνεια","nextSlide":"Επόμενη διαφάνεια","currentSlide":"Τρέχουσα διαφάνεια","lastSlide":"Τελευταία διαφάνεια","solutionModeTitle":"Έξοδος από λειτουργία λύσης","solutionModeText":"Λειτουργία λύσης","summaryMultipleTaskText":"Πολλαπλές ασκήσεις","scoreMessage":"Έχεις πετύχει:","shareFacebook":"Κοινοποίηση στο Facebook","shareTwitter":"Κοινοποίηση στο Twitter","shareGoogle":"Κοινοποίηση στο Google+","summary":"Σύνοψη","solutionsButtonTitle":"Εμφάνιση σχολίων","printTitle":"Εκτύπωση","printIngress":"Πώς θέλετε να εκτυπώσετε την παρουσίαση;","printAllSlides":"Εκτύπωση όλων των διαφανειών","printCurrentSlide":"Εκτύπωση τρέχουσας διαφάνειας","noTitle":"Χωρίς τίτλο","accessibilitySlideNavigationExplanation":"Χρησιμοποίησε το δεξί και το αριστερό βέλος για εναλλαγή διαφανειών προς την αντίστοιχη κατεύθυνση","accessibilityCanvasLabel":"Επιφάνειας προβολής διαφανειών. Χρησιμοποίησε το αριστερό και το δεξί βέλος για την πλοήγηση στις διαφάνειες.","accessibilityProgressBarLabel":"Επιλέξτε διαφάνεια για προβολή","containsNotCompleted":"H διαφάνεια @slideName έχει μη ολοκληρωμένο διαδραστικό στοιχείο","containsCompleted":"H διαφάνεια @slideName έχει ολοκληρωμένο διαδραστικό στοιχείο","slideCount":"Διαφάνεια @index από @total","containsOnlyCorrect":"Η διαφάνεια @slideName έχει μόνο σωστές απαντήσεις","containsIncorrectAnswers":"Η διαφάνεια @slideName έχει λάθος απαντήσεις","shareResult":"Κοινοποίηση αποτελέσματος","accessibilityTotalScore":"Η βαθμολογία σου είναι @score από @maxScore","accessibilityEnteredFullscreen":"Είσοδος σε πλήρη οθόνη","accessibilityExitedFullscreen":"Έξοδος από πλήρη οθόνη","confirmDialogHeader":"Υποβολή των απαντήσεών σας","confirmDialogText":"Αυτή η ενέργεια θα υποβάλει τις απαντήσεις σας, θέλετε να συνεχίσετε;","confirmDialogConfirmText":"Υποβολή απαντήσεων και προβολή αποτελεσμάτων","slideshowNavigationLabel":"Πλοήγηση σε διαφάνειες"}},"library":"H5P.CoursePresentation 1.25","metadata":{"contentType":"Course Presentation","license":"U","title":"Δώσε ένα τίτλο σε κάθε διαφάνεια!","authors":[],"changes":[],"extraTitle":"Δώσε ένα τίτλο σε κάθε διαφάνεια!"},"subContentId":"069b80f7-23ff-4630-80ad-156ac9ae20db"},"useSeparator":"auto"}]},"library":"H5P.Column 1.16","subContentId":"4f8099c9-7529-44d5-9de6-7a722212b888","metadata":{"contentType":"Column","license":"U","title":"Δώσε ένα τίτλο σε κάθε εικόνα!","authors":[],"changes":[],"extraTitle":"Δώσε ένα τίτλο σε κάθε εικόνα!"}}],"behaviour":{"baseColor":"#1768c4","defaultTableOfContents":false,"progressIndicators":true,"progressAuto":true,"displaySummary":false,"enableRetry":true},"read":"Ανάγνωση","displayTOC":"Προβολή &#039;Πίνακα Περιεχομένων&#039;","hideTOC":"Απόκρυψη &#039;Πίνακα Περιεχομένων&#039;","nextPage":"Επόμενη σελίδα","previousPage":"Προηγούμενη σελίδα","chapterCompleted":"Ολοκληρωμένη σελίδα!","partCompleted":"@pages από @total έχουν ολοκληρωθεί","incompleteChapter":"Μη ολοκληρωμένη σελίδα","navigateToTop":"Μετάβαση στην κορυφή","markAsFinished":"Έχω ολοκληρώσει αυτήν τη σελίδα","fullscreen":"Πλήρης οθόνη","exitFullscreen":"Έξοδος από πρόβολή πλήρους οθόνης","bookProgressSubtext":"@count από @total σελίδες","interactionsProgressSubtext":"@count από @total δραστηριοτήτων","submitReport":"Υποβολή Αναφοράς","restartLabel":"Επανεκκίνηση","summaryHeader":"Περίληψη","allInteractions":"Όλες οι διαδράσεις","unansweredInteractions":"Διαδράσεις που δεν απαντήθηκαν","scoreText":"@score / @maxscore","leftOutOfTotalCompleted":"@left από @max διαδράσεις έχουν ολοκληρωθεί","noInteractions":"Δεν υπάρχουν διαδράσεις","score":"Βαθμολογία","summaryAndSubmit":"Περίληψη &amp; υποβολή","noChapterInteractionBoldText":"Δεν έχετε ολοκληρώσει καμία διάδραση σε καμία από τις σελίδες.","noChapterInteractionText":"Πρέπει να έχετε ολοκληρώσει τουλάχιστον μια διάδραση σε τουλάχιστον μια σελίδα για να μπορέσετε να προβάλετε την περίληψη.","yourAnswersAreSubmittedForReview":"Οι απαντήσεις σας έχουν υποβληθεί για έλεγχο!","bookProgress":"Πρόοδος στο βιβλίο","interactionsProgress":"Πρόοδος διαδράσεων","totalScoreLabel":"Συνολική βαθμολογία","a11y":{"progress":"Σελίδα @page από @total.","menu":"Εναλλαγή μενού πλοήγησης"}}',
      library: "H5P.InteractiveBook 1.7",
      metadata: {
        license: "U",
        title: "Δώσε έναν τίτλο στις εικόνες",
        defaultLanguage: "el",
      },
      scripts: [
        "/h5p/libraries/H5P.Image-1.1/image.js?version=1.1.22",
        "/h5p/libraries/H5P.Column-1.16/scripts/h5p-column.js?version=1.16.5",
        "/h5p/libraries/H5P.ExportableTextArea-1.3/dist/h5p-exportable-text-area.js?version=1.3.17",
        "/h5p/libraries/H5P.Transition-1.0/transition.js?version=1.0.4",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-help-dialog.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-message-dialog.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-progress-circle.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-simple-rounded-button.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-speech-bubble.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-throbber.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-tip.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-slider.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-score-bar.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-progressbar.js?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/js/joubel-ui.js?version=1.3.19",
        "/h5p/libraries/H5P.CoursePresentation-1.25/dist/h5p-course-presentation.js?version=1.25.9",
        "/h5p/libraries/H5P.InteractiveBook-1.7/dist/h5p-interactive-book.js?version=1.7.12",
      ],
      styles: [
        "/h5p/libraries/H5P.Image-1.1/image.css?version=1.1.22",
        "/h5p/libraries/H5P.Column-1.16/styles/h5p-column.css?version=1.16.5",
        "/h5p/libraries/FontAwesome-4.5/h5p-font-awesome.min.css?version=4.5.4",
        "/h5p/libraries/H5P.FontIcons-1.0/styles/h5p-font-icons.css?version=1.0.6",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-help-dialog.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-message-dialog.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-progress-circle.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-simple-rounded-button.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-speech-bubble.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-tip.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-slider.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-score-bar.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-progressbar.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-ui.css?version=1.3.19",
        "/h5p/libraries/H5P.JoubelUI-1.3/css/joubel-icon.css?version=1.3.19",
        "/h5p/libraries/H5P.CoursePresentation-1.25/dist/h5p-course-presentation.css?version=1.25.9",
        "/h5p/libraries/H5P.InteractiveBook-1.7/dist/h5p-interactive-book.css?version=1.7.12",
      ],
      url: "1295234484",
      exportUrl: "/h5p/download/1295234484",
    },
  },
  core: {
    scripts: [
      "/h5p/core/js/jquery.js?version=1.24-master",
      "/h5p/core/js/h5p.js?version=1.24-master",
      "/h5p/core/js/h5p-event-dispatcher.js?version=1.24-master",
      "/h5p/core/js/h5p-x-api-event.js?version=1.24-master",
      "/h5p/core/js/h5p-x-api.js?version=1.24-master",
      "/h5p/core/js/h5p-content-type.js?version=1.24-master",
      "/h5p/core/js/h5p-confirmation-dialog.js?version=1.24-master",
      "/h5p/core/js/h5p-action-bar.js?version=1.24-master",
      "/h5p/core/js/request-queue.js?version=1.24-master",
    ],
    styles: [
      "/h5p/core/styles/h5p.css?version=1.24-master",
      "/h5p/core/styles/h5p-confirmation-dialog.css?version=1.24-master",
      "/h5p/core/styles/h5p-core-button.css?version=1.24-master",
    ],
  },
  l10n: {
    H5P: {
      fullscreen: "Fullscreen",
      disableFullscreen: "Disable fullscreen",
      download: "Download",
      copyrights: "Rights of use",
      embed: "Embed",
      size: "Size",
      showAdvanced: "Show advanced",
      hideAdvanced: "Hide advanced",
      advancedHelp:
        "Include this script on your website if you want dynamic sizing of the embedded content:",
      copyrightInformation: "Rights of use",
      close: "Close",
      title: "Title",
      author: "Author",
      year: "Year",
      source: "Source",
      license: "License",
      thumbnail: "Thumbnail",
      noCopyrights: "No copyright information available for this content.",
      reuse: "Reuse",
      reuseContent: "Reuse Content",
      reuseDescription: "Reuse this content.",
      downloadDescription: "Download this content as a H5P file.",
      copyrightsDescription: "View copyright information for this content.",
      embedDescription: "View the embed code for this content.",
      h5pDescription: "Visit H5P.org to check out more cool content.",
      contentChanged: "This content has changed since you last used it.",
      startingOver: "You'll be starting over.",
      by: "by",
      showMore: "Show more",
      showLess: "Show less",
      subLevel: "Sublevel",
      confirmDialogHeader: "Confirm action",
      confirmDialogBody:
        "Please confirm that you wish to proceed. This action is not reversible.",
      cancelLabel: "Cancel",
      confirmLabel: "Confirm",
      licenseU: "Undisclosed",
      licenseCCBY: "Attribution",
      licenseCCBYSA: "Attribution-ShareAlike",
      licenseCCBYND: "Attribution-NoDerivs",
      licenseCCBYNC: "Attribution-NonCommercial",
      licenseCCBYNCSA: "Attribution-NonCommercial-ShareAlike",
      licenseCCBYNCND: "Attribution-NonCommercial-NoDerivs",
      licenseCC40: "4.0 International",
      licenseCC30: "3.0 Unported",
      licenseCC25: "2.5 Generic",
      licenseCC20: "2.0 Generic",
      licenseCC10: "1.0 Generic",
      licenseGPL: "General Public License",
      licenseV3: "Version 3",
      licenseV2: "Version 2",
      licenseV1: "Version 1",
      licensePD: "Public Domain",
      licenseCC010: "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
      licensePDM: "Public Domain Mark",
      licenseC: "Copyright",
      contentType: "Content Type",
      licenseExtras: "License Extras",
      changes: "Changelog",
      contentCopied: "Content is copied to the clipboard",
      connectionLost:
        "Connection lost. Results will be stored and sent when you regain connection.",
      connectionReestablished: "Connection reestablished.",
      resubmitScores: "Attempting to submit stored results.",
      offlineDialogHeader: "Your connection to the server was lost",
      offlineDialogBody:
        "We were unable to send information about your completion of this task. Please check your internet connection.",
      offlineDialogRetryMessage: "Retrying in :num....",
      offlineDialogRetryButtonLabel: "Retry now",
      offlineSuccessfulSubmit: "Successfully submitted results.",
      mainTitle: "Sharing <strong>:title</strong>",
      editInfoTitle: "Edit info for <strong>:title</strong>",
      cancel: "Cancel",
      back: "Back",
      next: "Next",
      reviewInfo: "Review info",
      share: "Share",
      saveChanges: "Save changes",
      registerOnHub: "Register on the H5P Hub",
      updateRegistrationOnHub: "Save account settings",
      requiredInfo: "Required Info",
      optionalInfo: "Optional Info",
      reviewAndShare: "Review & Share",
      reviewAndSave: "Review & Save",
      shared: "Shared",
      currentStep: "Step :step of :total",
      sharingNote: "All content details can be edited after sharing",
      licenseDescription: "Select a license for your content",
      licenseVersion: "License Version",
      licenseVersionDescription: "Select a license version",
      disciplineLabel: "Disciplines",
      disciplineDescription: "You can select multiple disciplines",
      disciplineLimitReachedMessage:
        "You can select up to :numDisciplines disciplines",
      discipline: {
        searchPlaceholder: "Type to search for disciplines",
        in: "in",
        dropdownButton: "Dropdown button",
      },
      removeChip: "Remove :chip from the list",
      keywordsPlaceholder: "Add keywords",
      keywords: "Keywords",
      keywordsDescription:
        'You can add multiple keywords separated by commas. Press "Enter" or "Add" to confirm keywords',
      altText: "Alt text",
      reviewMessage: "Please review the info below before you share",
      subContentWarning:
        "Sub-content (images, questions etc.) will be shared under :license unless otherwise specified in the authoring tool",
      disciplines: "Disciplines",
      shortDescription: "Short description",
      longDescription: "Long description",
      icon: "Icon",
      screenshots: "Screenshots",
      helpChoosingLicense: "Help me choose a license",
      shareFailed: "Share failed.",
      editingFailed: "Editing failed.",
      shareTryAgain: "Something went wrong, please try to share again.",
      pleaseWait: "Please wait...",
      language: "Language",
      level: "Level",
      shortDescriptionPlaceholder: "Short description of your content",
      longDescriptionPlaceholder: "Long description of your content",
      description: "Description",
      iconDescription:
        "640x480px. If not selected content will use category icon",
      screenshotsDescription: "Add up to five screenshots of your content",
      submitted: "Submitted!",
      isNowSubmitted: "Is now submitted to H5P Hub",
      changeHasBeenSubmitted: "A change has been submited for",
      contentAvailable:
        "Your content will normally be available in the Hub within one business day.",
      contentUpdateSoon: "Your content will update soon",
      contentLicenseTitle: "Content License Info",
      licenseDialogDescription:
        "Click on a specific license to get info about proper usage",
      publisherFieldTitle: "Publisher",
      publisherFieldDescription:
        'This will display as the "Publisher name" on shared content',
      emailAddress: "Email Address",
      publisherDescription: "Publisher description",
      publisherDescriptionText:
        'This will be displayed under "Publisher info" on shared content',
      contactPerson: "Contact Person",
      phone: "Phone",
      address: "Address",
      city: "City",
      zip: "Zip",
      country: "Country",
      logoUploadText: "Organization logo or avatar",
      acceptTerms:
        "I accept the <a href=':url' target='_blank'>terms of use</a>",
      successfullyRegistred:
        "You have successfully registered an account on the H5P Hub",
      successfullyRegistredDescription: "You account details can be changed",
      successfullyUpdated:
        "Your H5P Hub account settings have successfully been changed",
      accountDetailsLinkText: "here",
      registrationTitle: "H5P Hub Registration",
      registrationFailed: "An error occurred",
      registrationFailedDescription:
        "We were not able to create an account at this point. Something went wrong. Try again later.",
      maxLength: ":length is the maximum number of characters",
      keywordExists: "Keyword already exists!",
      licenseDetails: "License details",
      remove: "Remove",
      removeImage: "Remove image",
      cancelPublishConfirmationDialogTitle: "Cancel sharing",
      cancelPublishConfirmationDialogDescription:
        "Are you sure you want to cancel the sharing process?",
      cancelPublishConfirmationDialogCancelButtonText: "No",
      cancelPublishConfirmationDialogConfirmButtonText: "Yes",
      add: "Add",
      age: "Typical age",
      ageDescription:
        'The target audience of this content. Possible input formats separated by commas: "1,34-45,-50,59-".',
      invalidAge:
        'Invalid input format for Typical age. Possible input formats separated by commas: "1, 34-45, -50, -59-".',
      contactPersonDescription:
        'H5P will reach out to the contact person in case there are any issues with the content shared by the publisher. The contact person"s name or other information will not be published or shared with third parties',
      emailAddressDescription:
        "The email address will be used by H5P to reach out to the publisher in case of any issues with the content or in case the publisher needs to recover their account. It will not be published or shared with any third parties",
      copyrightWarning:
        "Copyrighted material cannot be shared in the H5P Content Hub. If the content is licensed with a OER friendly license like Creative Commons, please choose the appropriate license. If not this content cannot be shared.",
      keywordsExits: "Keywords already exists!",
      someKeywordsExits: "Some of these keywords already exist",
    },
  },
  postUserStatistics: false,
  saveFreq: false,
  url: ".",
  hubIsEnabled: true,
  fullscreenDisabled: 0,
  user: { name: "Firstname Surname", id: "1" },
  baseUrl: ".",
  libraryUrl: "",
};

if (new URLSearchParams(window.location.search).get("embed") == "true") {
  H5PIntegration.contents["cid-" + "1295234484"].displayOptions.embed = false;
} else {
  H5PIntegration.contents["cid-" + "1295234484"].embedCode =
    '<iframe src="' +
    window.location.protocol +
    "//" +
    window.location.host +
    window.location.pathname +
    "?embed=true" +
    '" width=":w" height=":h" frameborder="0" allowfullscreen="allowfullscreen"></iframe>';
  H5PIntegration.contents["cid-" + "1295234484"].resizeCode = "";
}

/*!@license js/jquery.js by Joubel and other contributors, licensed under GNU GENERAL PUBLIC LICENSE Version 3*/
!(function (e, t) {
  "use strict";
  "object" == typeof module && "object" == typeof module.exports
    ? (module.exports = e.document
        ? t(e, !0)
        : function (e) {
            if (!e.document)
              throw new Error("jQuery requires a window with a document");
            return t(e);
          })
    : t(e);
})("undefined" != typeof window ? window : this, function (S, e) {
  "use strict";
  function m(e) {
    return "function" == typeof e && "number" != typeof e.nodeType;
  }
  function g(e) {
    return null != e && e === e.window;
  }
  var t = [],
    r = Object.getPrototypeOf,
    a = t.slice,
    v = t.flat
      ? function (e) {
          return t.flat.call(e);
        }
      : function (e) {
          return t.concat.apply([], e);
        },
    c = t.push,
    i = t.indexOf,
    n = {},
    o = n.toString,
    y = n.hasOwnProperty,
    s = y.toString,
    l = s.call(Object),
    b = {},
    E = S.document,
    u = { type: !0, src: !0, nonce: !0, noModule: !0 };
  function w(e, t, r) {
    var n,
      i,
      o = (r = r || E).createElement("script");
    if (((o.text = e), t))
      for (n in u)
        (i = t[n] || (t.getAttribute && t.getAttribute(n))) &&
          o.setAttribute(n, i);
    r.head.appendChild(o).parentNode.removeChild(o);
  }
  function f(e) {
    return null == e
      ? e + ""
      : "object" == typeof e || "function" == typeof e
        ? n[o.call(e)] || "object"
        : typeof e;
  }
  var h = "3.5.1",
    T = function (e, t) {
      return new T.fn.init(e, t);
    };
  function p(e) {
    var t = !!e && "length" in e && e.length,
      r = f(e);
    return (
      !m(e) &&
      !g(e) &&
      ("array" === r ||
        0 === t ||
        ("number" == typeof t && 0 < t && t - 1 in e))
    );
  }
  ((T.fn = T.prototype =
    {
      jquery: h,
      constructor: T,
      length: 0,
      toArray: function () {
        return a.call(this);
      },
      get: function (e) {
        return null == e
          ? a.call(this)
          : e < 0
            ? this[e + this.length]
            : this[e];
      },
      pushStack: function (e) {
        e = T.merge(this.constructor(), e);
        return ((e.prevObject = this), e);
      },
      each: function (e) {
        return T.each(this, e);
      },
      map: function (r) {
        return this.pushStack(
          T.map(this, function (e, t) {
            return r.call(e, t, e);
          }),
        );
      },
      slice: function () {
        return this.pushStack(a.apply(this, arguments));
      },
      first: function () {
        return this.eq(0);
      },
      last: function () {
        return this.eq(-1);
      },
      even: function () {
        return this.pushStack(
          T.grep(this, function (e, t) {
            return (t + 1) % 2;
          }),
        );
      },
      odd: function () {
        return this.pushStack(
          T.grep(this, function (e, t) {
            return t % 2;
          }),
        );
      },
      eq: function (e) {
        var t = this.length,
          e = +e + (e < 0 ? t : 0);
        return this.pushStack(0 <= e && e < t ? [this[e]] : []);
      },
      end: function () {
        return this.prevObject || this.constructor();
      },
      push: c,
      sort: t.sort,
      splice: t.splice,
    }),
    (T.extend = T.fn.extend =
      function () {
        var e,
          t,
          r,
          n,
          i,
          o = arguments[0] || {},
          s = 1,
          a = arguments.length,
          c = !1;
        for (
          "boolean" == typeof o && ((c = o), (o = arguments[s] || {}), s++),
            "object" == typeof o || m(o) || (o = {}),
            s === a && ((o = this), s--);
          s < a;
          s++
        )
          if (null != (e = arguments[s]))
            for (t in e)
              ((r = e[t]),
                "__proto__" !== t &&
                  o !== r &&
                  (c && r && (T.isPlainObject(r) || (n = Array.isArray(r)))
                    ? ((i = o[t]),
                      (i =
                        n && !Array.isArray(i)
                          ? []
                          : n || T.isPlainObject(i)
                            ? i
                            : {}),
                      (n = !1),
                      (o[t] = T.extend(c, i, r)))
                    : void 0 !== r && (o[t] = r)));
        return o;
      }),
    T.extend({
      expando: "jQuery" + (h + Math.random()).replace(/\D/g, ""),
      isReady: !0,
      error: function (e) {
        throw new Error(e);
      },
      noop: function () {},
      isPlainObject: function (e) {
        return !(
          !e ||
          "[object Object]" !== o.call(e) ||
          ((e = r(e)) &&
            ("function" !=
              typeof (e = y.call(e, "constructor") && e.constructor) ||
              s.call(e) !== l))
        );
      },
      isEmptyObject: function (e) {
        for (var t in e) return !1;
        return !0;
      },
      globalEval: function (e, t, r) {
        w(e, { nonce: t && t.nonce }, r);
      },
      each: function (e, t) {
        var r,
          n = 0;
        if (p(e))
          for (r = e.length; n < r && !1 !== t.call(e[n], n, e[n]); n++);
        else for (n in e) if (!1 === t.call(e[n], n, e[n])) break;
        return e;
      },
      makeArray: function (e, t) {
        t = t || [];
        return (
          null != e &&
            (p(Object(e))
              ? T.merge(t, "string" == typeof e ? [e] : e)
              : c.call(t, e)),
          t
        );
      },
      inArray: function (e, t, r) {
        return null == t ? -1 : i.call(t, e, r);
      },
      merge: function (e, t) {
        for (var r = +t.length, n = 0, i = e.length; n < r; n++) e[i++] = t[n];
        return ((e.length = i), e);
      },
      grep: function (e, t, r) {
        for (var n = [], i = 0, o = e.length, s = !r; i < o; i++)
          !t(e[i], i) != s && n.push(e[i]);
        return n;
      },
      map: function (e, t, r) {
        var n,
          i,
          o = 0,
          s = [];
        if (p(e))
          for (n = e.length; o < n; o++)
            null != (i = t(e[o], o, r)) && s.push(i);
        else for (o in e) null != (i = t(e[o], o, r)) && s.push(i);
        return v(s);
      },
      guid: 1,
      support: b,
    }),
    "function" == typeof Symbol && (T.fn[Symbol.iterator] = t[Symbol.iterator]),
    T.each(
      "Boolean Number String Function Array Date RegExp Object Error Symbol".split(
        " ",
      ),
      function (e, t) {
        n["[object " + t + "]"] = t.toLowerCase();
      },
    ));
  var d = (function (r) {
    function h(e, t) {
      return (
        (e = "0x" + e.slice(1) - 65536),
        t ||
          (e < 0
            ? String.fromCharCode(65536 + e)
            : String.fromCharCode((e >> 10) | 55296, (1023 & e) | 56320))
      );
    }
    function p(e, t) {
      return t
        ? "\0" === e
          ? "�"
          : e.slice(0, -1) +
            "\\" +
            e.charCodeAt(e.length - 1).toString(16) +
            " "
        : "\\" + e;
    }
    function n() {
      S();
    }
    var e,
      d,
      w,
      o,
      i,
      f,
      m,
      g,
      x,
      c,
      l,
      S,
      E,
      s,
      T,
      v,
      a,
      u,
      y,
      C = "sizzle" + +new Date(),
      b = r.document,
      P = 0,
      k = 0,
      A = ce(),
      _ = ce(),
      I = ce(),
      O = ce(),
      L = function (e, t) {
        return (e === t && (l = !0), 0);
      },
      H = {}.hasOwnProperty,
      t = [],
      N = t.pop,
      R = t.push,
      D = t.push,
      B = t.slice,
      F = function (e, t) {
        for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r;
        return -1;
      },
      M =
        "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
      j = "[\\x20\\t\\r\\n\\f]",
      U =
        "(?:\\\\[\\da-fA-F]{1,6}" +
        j +
        "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
      z =
        "\\[" +
        j +
        "*(" +
        U +
        ")(?:" +
        j +
        "*([*^$|!~]?=)" +
        j +
        "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" +
        U +
        "))|)" +
        j +
        "*\\]",
      W =
        ":(" +
        U +
        ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" +
        z +
        ")*)|.*)\\)|)",
      $ = new RegExp(j + "+", "g"),
      K = new RegExp("^" + j + "+|((?:^|[^\\\\])(?:\\\\.)*)" + j + "+$", "g"),
      G = new RegExp("^" + j + "*," + j + "*"),
      q = new RegExp("^" + j + "*([>+~]|" + j + ")" + j + "*"),
      V = new RegExp(j + "|>"),
      X = new RegExp(W),
      Q = new RegExp("^" + U + "$"),
      Y = {
        ID: new RegExp("^#(" + U + ")"),
        CLASS: new RegExp("^\\.(" + U + ")"),
        TAG: new RegExp("^(" + U + "|[*])"),
        ATTR: new RegExp("^" + z),
        PSEUDO: new RegExp("^" + W),
        CHILD: new RegExp(
          "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
            j +
            "*(even|odd|(([+-]|)(\\d*)n|)" +
            j +
            "*(?:([+-]|)" +
            j +
            "*(\\d+)|))" +
            j +
            "*\\)|)",
          "i",
        ),
        bool: new RegExp("^(?:" + M + ")$", "i"),
        needsContext: new RegExp(
          "^" +
            j +
            "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
            j +
            "*((?:-\\d)?\\d*)" +
            j +
            "*\\)|)(?=[^-]|$)",
          "i",
        ),
      },
      Z = /HTML$/i,
      J = /^(?:input|select|textarea|button)$/i,
      ee = /^h\d$/i,
      te = /^[^{]+\{\s*\[native \w/,
      re = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
      ne = /[+~]/,
      ie = new RegExp("\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\([^\\r\\n\\f])", "g"),
      oe = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
      se = ye(
        function (e) {
          return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase();
        },
        { dir: "parentNode", next: "legend" },
      );
    try {
      (D.apply((t = B.call(b.childNodes)), b.childNodes),
        t[b.childNodes.length].nodeType);
    } catch (e) {
      D = {
        apply: t.length
          ? function (e, t) {
              R.apply(e, B.call(t));
            }
          : function (e, t) {
              for (var r = e.length, n = 0; (e[r++] = t[n++]); );
              e.length = r - 1;
            },
      };
    }
    function ae(e, t, r, n) {
      var i,
        o,
        s,
        a,
        c,
        l,
        u = t && t.ownerDocument,
        h = t ? t.nodeType : 9;
      if (
        ((r = r || []),
        "string" != typeof e || !e || (1 !== h && 9 !== h && 11 !== h))
      )
        return r;
      if (!n && (S(t), (t = t || E), T)) {
        if (11 !== h && (a = re.exec(e)))
          if ((l = a[1])) {
            if (9 === h) {
              if (!(o = t.getElementById(l))) return r;
              if (o.id === l) return (r.push(o), r);
            } else if (u && (o = u.getElementById(l)) && y(t, o) && o.id === l)
              return (r.push(o), r);
          } else {
            if (a[2]) return (D.apply(r, t.getElementsByTagName(e)), r);
            if (
              (l = a[3]) &&
              d.getElementsByClassName &&
              t.getElementsByClassName
            )
              return (D.apply(r, t.getElementsByClassName(l)), r);
          }
        if (
          d.qsa &&
          !O[e + " "] &&
          (!v || !v.test(e)) &&
          (1 !== h || "object" !== t.nodeName.toLowerCase())
        ) {
          if (((l = e), (u = t), 1 === h && (V.test(e) || q.test(e)))) {
            for (
              ((u = (ne.test(e) && me(t.parentNode)) || t) === t && d.scope) ||
                ((s = t.getAttribute("id"))
                  ? (s = s.replace(oe, p))
                  : t.setAttribute("id", (s = C))),
                i = (c = f(e)).length;
              i--;

            )
              c[i] = (s ? "#" + s : ":scope") + " " + ve(c[i]);
            l = c.join(",");
          }
          try {
            return (D.apply(r, u.querySelectorAll(l)), r);
          } catch (t) {
            O(e, !0);
          } finally {
            s === C && t.removeAttribute("id");
          }
        }
      }
      return g(e.replace(K, "$1"), t, r, n);
    }
    function ce() {
      var n = [];
      return function e(t, r) {
        return (
          n.push(t + " ") > w.cacheLength && delete e[n.shift()],
          (e[t + " "] = r)
        );
      };
    }
    function le(e) {
      return ((e[C] = !0), e);
    }
    function ue(e) {
      var t = E.createElement("fieldset");
      try {
        return !!e(t);
      } catch (e) {
        return !1;
      } finally {
        t.parentNode && t.parentNode.removeChild(t);
      }
    }
    function he(e, t) {
      for (var r = e.split("|"), n = r.length; n--; ) w.attrHandle[r[n]] = t;
    }
    function pe(e, t) {
      var r = t && e,
        n =
          r &&
          1 === e.nodeType &&
          1 === t.nodeType &&
          e.sourceIndex - t.sourceIndex;
      if (n) return n;
      if (r) for (; (r = r.nextSibling); ) if (r === t) return -1;
      return e ? 1 : -1;
    }
    function de(t) {
      return function (e) {
        return "form" in e
          ? e.parentNode && !1 === e.disabled
            ? "label" in e
              ? "label" in e.parentNode
                ? e.parentNode.disabled === t
                : e.disabled === t
              : e.isDisabled === t || (e.isDisabled !== !t && se(e) === t)
            : e.disabled === t
          : "label" in e && e.disabled === t;
      };
    }
    function fe(s) {
      return le(function (o) {
        return (
          (o = +o),
          le(function (e, t) {
            for (var r, n = s([], e.length, o), i = n.length; i--; )
              e[(r = n[i])] && (e[r] = !(t[r] = e[r]));
          })
        );
      });
    }
    function me(e) {
      return e && void 0 !== e.getElementsByTagName && e;
    }
    for (e in ((d = ae.support = {}),
    (i = ae.isXML =
      function (e) {
        var t = e.namespaceURI,
          e = (e.ownerDocument || e).documentElement;
        return !Z.test(t || (e && e.nodeName) || "HTML");
      }),
    (S = ae.setDocument =
      function (e) {
        var t,
          e = e ? e.ownerDocument || e : b;
        return (
          e != E &&
            9 === e.nodeType &&
            e.documentElement &&
            ((s = (E = e).documentElement),
            (T = !i(E)),
            b != E &&
              (t = E.defaultView) &&
              t.top !== t &&
              (t.addEventListener
                ? t.addEventListener("unload", n, !1)
                : t.attachEvent && t.attachEvent("onunload", n)),
            (d.scope = ue(function (e) {
              return (
                s.appendChild(e).appendChild(E.createElement("div")),
                void 0 !== e.querySelectorAll &&
                  !e.querySelectorAll(":scope fieldset div").length
              );
            })),
            (d.attributes = ue(function (e) {
              return ((e.className = "i"), !e.getAttribute("className"));
            })),
            (d.getElementsByTagName = ue(function (e) {
              return (
                e.appendChild(E.createComment("")),
                !e.getElementsByTagName("*").length
              );
            })),
            (d.getElementsByClassName = te.test(E.getElementsByClassName)),
            (d.getById = ue(function (e) {
              return (
                (s.appendChild(e).id = C),
                !E.getElementsByName || !E.getElementsByName(C).length
              );
            })),
            d.getById
              ? ((w.filter.ID = function (e) {
                  var t = e.replace(ie, h);
                  return function (e) {
                    return e.getAttribute("id") === t;
                  };
                }),
                (w.find.ID = function (e, t) {
                  if (void 0 !== t.getElementById && T) {
                    e = t.getElementById(e);
                    return e ? [e] : [];
                  }
                }))
              : ((w.filter.ID = function (e) {
                  var t = e.replace(ie, h);
                  return function (e) {
                    e =
                      void 0 !== e.getAttributeNode && e.getAttributeNode("id");
                    return e && e.value === t;
                  };
                }),
                (w.find.ID = function (e, t) {
                  if (void 0 !== t.getElementById && T) {
                    var r,
                      n,
                      i,
                      o = t.getElementById(e);
                    if (o) {
                      if ((r = o.getAttributeNode("id")) && r.value === e)
                        return [o];
                      for (i = t.getElementsByName(e), n = 0; (o = i[n++]); )
                        if ((r = o.getAttributeNode("id")) && r.value === e)
                          return [o];
                    }
                    return [];
                  }
                })),
            (w.find.TAG = d.getElementsByTagName
              ? function (e, t) {
                  return void 0 !== t.getElementsByTagName
                    ? t.getElementsByTagName(e)
                    : d.qsa
                      ? t.querySelectorAll(e)
                      : void 0;
                }
              : function (e, t) {
                  var r,
                    n = [],
                    i = 0,
                    o = t.getElementsByTagName(e);
                  if ("*" !== e) return o;
                  for (; (r = o[i++]); ) 1 === r.nodeType && n.push(r);
                  return n;
                }),
            (w.find.CLASS =
              d.getElementsByClassName &&
              function (e, t) {
                if (void 0 !== t.getElementsByClassName && T)
                  return t.getElementsByClassName(e);
              }),
            (a = []),
            (v = []),
            (d.qsa = te.test(E.querySelectorAll)) &&
              (ue(function (e) {
                var t;
                ((s.appendChild(e).innerHTML =
                  "<a id='" +
                  C +
                  "'></a><select id='" +
                  C +
                  "-\r\\' msallowcapture=''><option selected=''></option></select>"),
                  e.querySelectorAll("[msallowcapture^='']").length &&
                    v.push("[*^$]=" + j + "*(?:''|\"\")"),
                  e.querySelectorAll("[selected]").length ||
                    v.push("\\[" + j + "*(?:value|" + M + ")"),
                  e.querySelectorAll("[id~=" + C + "-]").length || v.push("~="),
                  (t = E.createElement("input")).setAttribute("name", ""),
                  e.appendChild(t),
                  e.querySelectorAll("[name='']").length ||
                    v.push("\\[" + j + "*name" + j + "*=" + j + "*(?:''|\"\")"),
                  e.querySelectorAll(":checked").length || v.push(":checked"),
                  e.querySelectorAll("a#" + C + "+*").length ||
                    v.push(".#.+[+~]"),
                  e.querySelectorAll("\\\f"),
                  v.push("[\\r\\n\\f]"));
              }),
              ue(function (e) {
                e.innerHTML =
                  "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
                var t = E.createElement("input");
                (t.setAttribute("type", "hidden"),
                  e.appendChild(t).setAttribute("name", "D"),
                  e.querySelectorAll("[name=d]").length &&
                    v.push("name" + j + "*[*^$|!~]?="),
                  2 !== e.querySelectorAll(":enabled").length &&
                    v.push(":enabled", ":disabled"),
                  (s.appendChild(e).disabled = !0),
                  2 !== e.querySelectorAll(":disabled").length &&
                    v.push(":enabled", ":disabled"),
                  e.querySelectorAll("*,:x"),
                  v.push(",.*:"));
              })),
            (d.matchesSelector = te.test(
              (u =
                s.matches ||
                s.webkitMatchesSelector ||
                s.mozMatchesSelector ||
                s.oMatchesSelector ||
                s.msMatchesSelector),
            )) &&
              ue(function (e) {
                ((d.disconnectedMatch = u.call(e, "*")),
                  u.call(e, "[s!='']:x"),
                  a.push("!=", W));
              }),
            (v = v.length && new RegExp(v.join("|"))),
            (a = a.length && new RegExp(a.join("|"))),
            (t = te.test(s.compareDocumentPosition)),
            (y =
              t || te.test(s.contains)
                ? function (e, t) {
                    var r = 9 === e.nodeType ? e.documentElement : e,
                      t = t && t.parentNode;
                    return (
                      e === t ||
                      !(
                        !t ||
                        1 !== t.nodeType ||
                        !(r.contains
                          ? r.contains(t)
                          : e.compareDocumentPosition &&
                            16 & e.compareDocumentPosition(t))
                      )
                    );
                  }
                : function (e, t) {
                    if (t) for (; (t = t.parentNode); ) if (t === e) return !0;
                    return !1;
                  }),
            (L = t
              ? function (e, t) {
                  return e === t
                    ? ((l = !0), 0)
                    : (r =
                        !e.compareDocumentPosition -
                        !t.compareDocumentPosition) ||
                        (1 &
                          (r =
                            (e.ownerDocument || e) == (t.ownerDocument || t)
                              ? e.compareDocumentPosition(t)
                              : 1) ||
                        (!d.sortDetached && t.compareDocumentPosition(e) === r)
                          ? e == E || (e.ownerDocument == b && y(b, e))
                            ? -1
                            : t == E || (t.ownerDocument == b && y(b, t))
                              ? 1
                              : c
                                ? F(c, e) - F(c, t)
                                : 0
                          : 4 & r
                            ? -1
                            : 1);
                  var r;
                }
              : function (e, t) {
                  if (e === t) return ((l = !0), 0);
                  var r,
                    n = 0,
                    i = e.parentNode,
                    o = t.parentNode,
                    s = [e],
                    a = [t];
                  if (!i || !o)
                    return e == E
                      ? -1
                      : t == E
                        ? 1
                        : i
                          ? -1
                          : o
                            ? 1
                            : c
                              ? F(c, e) - F(c, t)
                              : 0;
                  if (i === o) return pe(e, t);
                  for (r = e; (r = r.parentNode); ) s.unshift(r);
                  for (r = t; (r = r.parentNode); ) a.unshift(r);
                  for (; s[n] === a[n]; ) n++;
                  return n
                    ? pe(s[n], a[n])
                    : s[n] == b
                      ? -1
                      : a[n] == b
                        ? 1
                        : 0;
                })),
          E
        );
      }),
    (ae.matches = function (e, t) {
      return ae(e, null, null, t);
    }),
    (ae.matchesSelector = function (e, t) {
      if (
        (S(e),
        d.matchesSelector &&
          T &&
          !O[t + " "] &&
          (!a || !a.test(t)) &&
          (!v || !v.test(t)))
      )
        try {
          var r = u.call(e, t);
          if (
            r ||
            d.disconnectedMatch ||
            (e.document && 11 !== e.document.nodeType)
          )
            return r;
        } catch (e) {
          O(t, !0);
        }
      return 0 < ae(t, E, null, [e]).length;
    }),
    (ae.contains = function (e, t) {
      return ((e.ownerDocument || e) != E && S(e), y(e, t));
    }),
    (ae.attr = function (e, t) {
      (e.ownerDocument || e) != E && S(e);
      var r = w.attrHandle[t.toLowerCase()],
        r = r && H.call(w.attrHandle, t.toLowerCase()) ? r(e, t, !T) : void 0;
      return void 0 !== r
        ? r
        : d.attributes || !T
          ? e.getAttribute(t)
          : (r = e.getAttributeNode(t)) && r.specified
            ? r.value
            : null;
    }),
    (ae.escape = function (e) {
      return (e + "").replace(oe, p);
    }),
    (ae.error = function (e) {
      throw new Error("Syntax error, unrecognized expression: " + e);
    }),
    (ae.uniqueSort = function (e) {
      var t,
        r = [],
        n = 0,
        i = 0;
      if (
        ((l = !d.detectDuplicates),
        (c = !d.sortStable && e.slice(0)),
        e.sort(L),
        l)
      ) {
        for (; (t = e[i++]); ) t === e[i] && (n = r.push(i));
        for (; n--; ) e.splice(r[n], 1);
      }
      return ((c = null), e);
    }),
    (o = ae.getText =
      function (e) {
        var t,
          r = "",
          n = 0,
          i = e.nodeType;
        if (i) {
          if (1 === i || 9 === i || 11 === i) {
            if ("string" == typeof e.textContent) return e.textContent;
            for (e = e.firstChild; e; e = e.nextSibling) r += o(e);
          } else if (3 === i || 4 === i) return e.nodeValue;
        } else for (; (t = e[n++]); ) r += o(t);
        return r;
      }),
    ((w = ae.selectors =
      {
        cacheLength: 50,
        createPseudo: le,
        match: Y,
        attrHandle: {},
        find: {},
        relative: {
          ">": { dir: "parentNode", first: !0 },
          " ": { dir: "parentNode" },
          "+": { dir: "previousSibling", first: !0 },
          "~": { dir: "previousSibling" },
        },
        preFilter: {
          ATTR: function (e) {
            return (
              (e[1] = e[1].replace(ie, h)),
              (e[3] = (e[3] || e[4] || e[5] || "").replace(ie, h)),
              "~=" === e[2] && (e[3] = " " + e[3] + " "),
              e.slice(0, 4)
            );
          },
          CHILD: function (e) {
            return (
              (e[1] = e[1].toLowerCase()),
              "nth" === e[1].slice(0, 3)
                ? (e[3] || ae.error(e[0]),
                  (e[4] = +(e[4]
                    ? e[5] + (e[6] || 1)
                    : 2 * ("even" === e[3] || "odd" === e[3]))),
                  (e[5] = +(e[7] + e[8] || "odd" === e[3])))
                : e[3] && ae.error(e[0]),
              e
            );
          },
          PSEUDO: function (e) {
            var t,
              r = !e[6] && e[2];
            return Y.CHILD.test(e[0])
              ? null
              : (e[3]
                  ? (e[2] = e[4] || e[5] || "")
                  : r &&
                    X.test(r) &&
                    (t = f(r, !0)) &&
                    (t = r.indexOf(")", r.length - t) - r.length) &&
                    ((e[0] = e[0].slice(0, t)), (e[2] = r.slice(0, t))),
                e.slice(0, 3));
          },
        },
        filter: {
          TAG: function (e) {
            var t = e.replace(ie, h).toLowerCase();
            return "*" === e
              ? function () {
                  return !0;
                }
              : function (e) {
                  return e.nodeName && e.nodeName.toLowerCase() === t;
                };
          },
          CLASS: function (e) {
            var t = A[e + " "];
            return (
              t ||
              ((t = new RegExp("(^|" + j + ")" + e + "(" + j + "|$)")) &&
                A(e, function (e) {
                  return t.test(
                    ("string" == typeof e.className && e.className) ||
                      (void 0 !== e.getAttribute && e.getAttribute("class")) ||
                      "",
                  );
                }))
            );
          },
          ATTR: function (t, r, n) {
            return function (e) {
              e = ae.attr(e, t);
              return null == e
                ? "!=" === r
                : !r ||
                    ((e += ""),
                    "=" === r
                      ? e === n
                      : "!=" === r
                        ? e !== n
                        : "^=" === r
                          ? n && 0 === e.indexOf(n)
                          : "*=" === r
                            ? n && -1 < e.indexOf(n)
                            : "$=" === r
                              ? n && e.slice(-n.length) === n
                              : "~=" === r
                                ? -1 <
                                  (" " + e.replace($, " ") + " ").indexOf(n)
                                : "|=" === r &&
                                  (e === n ||
                                    e.slice(0, n.length + 1) === n + "-"));
            };
          },
          CHILD: function (f, e, t, m, g) {
            var v = "nth" !== f.slice(0, 3),
              y = "last" !== f.slice(-4),
              b = "of-type" === e;
            return 1 === m && 0 === g
              ? function (e) {
                  return !!e.parentNode;
                }
              : function (e, t, r) {
                  var n,
                    i,
                    o,
                    s,
                    a,
                    c,
                    l = v != y ? "nextSibling" : "previousSibling",
                    u = e.parentNode,
                    h = b && e.nodeName.toLowerCase(),
                    p = !r && !b,
                    d = !1;
                  if (u) {
                    if (v) {
                      for (; l; ) {
                        for (s = e; (s = s[l]); )
                          if (
                            b
                              ? s.nodeName.toLowerCase() === h
                              : 1 === s.nodeType
                          )
                            return !1;
                        c = l = "only" === f && !c && "nextSibling";
                      }
                      return !0;
                    }
                    if (((c = [y ? u.firstChild : u.lastChild]), y && p)) {
                      for (
                        d =
                          (a =
                            (n =
                              (i =
                                (o = (s = u)[C] || (s[C] = {}))[s.uniqueID] ||
                                (o[s.uniqueID] = {}))[f] || [])[0] === P &&
                            n[1]) && n[2],
                          s = a && u.childNodes[a];
                        (s = (++a && s && s[l]) || (d = a = 0) || c.pop());

                      )
                        if (1 === s.nodeType && ++d && s === e) {
                          i[f] = [P, a, d];
                          break;
                        }
                    } else if (
                      !1 ===
                      (d = p
                        ? (a =
                            (n =
                              (i =
                                (o = (s = e)[C] || (s[C] = {}))[s.uniqueID] ||
                                (o[s.uniqueID] = {}))[f] || [])[0] === P &&
                            n[1])
                        : d)
                    )
                      for (
                        ;
                        (s = (++a && s && s[l]) || (d = a = 0) || c.pop()) &&
                        ((b
                          ? s.nodeName.toLowerCase() !== h
                          : 1 !== s.nodeType) ||
                          !++d ||
                          (p &&
                            ((i =
                              (o = s[C] || (s[C] = {}))[s.uniqueID] ||
                              (o[s.uniqueID] = {}))[f] = [P, d]),
                          s !== e));

                      );
                    return (d -= g) === m || (d % m == 0 && 0 <= d / m);
                  }
                };
          },
          PSEUDO: function (e, o) {
            var t,
              s =
                w.pseudos[e] ||
                w.setFilters[e.toLowerCase()] ||
                ae.error("unsupported pseudo: " + e);
            return s[C]
              ? s(o)
              : 1 < s.length
                ? ((t = [e, e, "", o]),
                  w.setFilters.hasOwnProperty(e.toLowerCase())
                    ? le(function (e, t) {
                        for (var r, n = s(e, o), i = n.length; i--; )
                          e[(r = F(e, n[i]))] = !(t[r] = n[i]);
                      })
                    : function (e) {
                        return s(e, 0, t);
                      })
                : s;
          },
        },
        pseudos: {
          not: le(function (e) {
            var n = [],
              i = [],
              a = m(e.replace(K, "$1"));
            return a[C]
              ? le(function (e, t, r, n) {
                  for (var i, o = a(e, null, n, []), s = e.length; s--; )
                    (i = o[s]) && (e[s] = !(t[s] = i));
                })
              : function (e, t, r) {
                  return (
                    (n[0] = e),
                    a(n, null, r, i),
                    (n[0] = null),
                    !i.pop()
                  );
                };
          }),
          has: le(function (t) {
            return function (e) {
              return 0 < ae(t, e).length;
            };
          }),
          contains: le(function (t) {
            return (
              (t = t.replace(ie, h)),
              function (e) {
                return -1 < (e.textContent || o(e)).indexOf(t);
              }
            );
          }),
          lang: le(function (r) {
            return (
              Q.test(r || "") || ae.error("unsupported lang: " + r),
              (r = r.replace(ie, h).toLowerCase()),
              function (e) {
                var t;
                do {
                  if (
                    (t = T
                      ? e.lang
                      : e.getAttribute("xml:lang") || e.getAttribute("lang"))
                  )
                    return (
                      (t = t.toLowerCase()) === r || 0 === t.indexOf(r + "-")
                    );
                } while ((e = e.parentNode) && 1 === e.nodeType);
                return !1;
              }
            );
          }),
          target: function (e) {
            var t = r.location && r.location.hash;
            return t && t.slice(1) === e.id;
          },
          root: function (e) {
            return e === s;
          },
          focus: function (e) {
            return (
              e === E.activeElement &&
              (!E.hasFocus || E.hasFocus()) &&
              !!(e.type || e.href || ~e.tabIndex)
            );
          },
          enabled: de(!1),
          disabled: de(!0),
          checked: function (e) {
            var t = e.nodeName.toLowerCase();
            return (
              ("input" === t && !!e.checked) || ("option" === t && !!e.selected)
            );
          },
          selected: function (e) {
            return (
              e.parentNode && e.parentNode.selectedIndex,
              !0 === e.selected
            );
          },
          empty: function (e) {
            for (e = e.firstChild; e; e = e.nextSibling)
              if (e.nodeType < 6) return !1;
            return !0;
          },
          parent: function (e) {
            return !w.pseudos.empty(e);
          },
          header: function (e) {
            return ee.test(e.nodeName);
          },
          input: function (e) {
            return J.test(e.nodeName);
          },
          button: function (e) {
            var t = e.nodeName.toLowerCase();
            return ("input" === t && "button" === e.type) || "button" === t;
          },
          text: function (e) {
            return (
              "input" === e.nodeName.toLowerCase() &&
              "text" === e.type &&
              (null == (e = e.getAttribute("type")) ||
                "text" === e.toLowerCase())
            );
          },
          first: fe(function () {
            return [0];
          }),
          last: fe(function (e, t) {
            return [t - 1];
          }),
          eq: fe(function (e, t, r) {
            return [r < 0 ? r + t : r];
          }),
          even: fe(function (e, t) {
            for (var r = 0; r < t; r += 2) e.push(r);
            return e;
          }),
          odd: fe(function (e, t) {
            for (var r = 1; r < t; r += 2) e.push(r);
            return e;
          }),
          lt: fe(function (e, t, r) {
            for (var n = r < 0 ? r + t : t < r ? t : r; 0 <= --n; ) e.push(n);
            return e;
          }),
          gt: fe(function (e, t, r) {
            for (var n = r < 0 ? r + t : r; ++n < t; ) e.push(n);
            return e;
          }),
        },
      }).pseudos.nth = w.pseudos.eq),
    { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }))
      w.pseudos[e] = (function (t) {
        return function (e) {
          return "input" === e.nodeName.toLowerCase() && e.type === t;
        };
      })(e);
    for (e in { submit: !0, reset: !0 })
      w.pseudos[e] = (function (r) {
        return function (e) {
          var t = e.nodeName.toLowerCase();
          return ("input" === t || "button" === t) && e.type === r;
        };
      })(e);
    function ge() {}
    function ve(e) {
      for (var t = 0, r = e.length, n = ""; t < r; t++) n += e[t].value;
      return n;
    }
    function ye(s, e, t) {
      var a = e.dir,
        c = e.next,
        l = c || a,
        u = t && "parentNode" === l,
        h = k++;
      return e.first
        ? function (e, t, r) {
            for (; (e = e[a]); ) if (1 === e.nodeType || u) return s(e, t, r);
            return !1;
          }
        : function (e, t, r) {
            var n,
              i,
              o = [P, h];
            if (r) {
              for (; (e = e[a]); )
                if ((1 === e.nodeType || u) && s(e, t, r)) return !0;
            } else
              for (; (e = e[a]); )
                if (1 === e.nodeType || u)
                  if (
                    ((n =
                      (i = e[C] || (e[C] = {}))[e.uniqueID] ||
                      (i[e.uniqueID] = {})),
                    c && c === e.nodeName.toLowerCase())
                  )
                    e = e[a] || e;
                  else {
                    if ((i = n[l]) && i[0] === P && i[1] === h)
                      return (o[2] = i[2]);
                    if (((n[l] = o)[2] = s(e, t, r))) return !0;
                  }
            return !1;
          };
    }
    function be(i) {
      return 1 < i.length
        ? function (e, t, r) {
            for (var n = i.length; n--; ) if (!i[n](e, t, r)) return !1;
            return !0;
          }
        : i[0];
    }
    function we(e, t, r, n, i) {
      for (var o, s = [], a = 0, c = e.length, l = null != t; a < c; a++)
        (o = e[a]) && ((r && !r(o, n, i)) || (s.push(o), l && t.push(a)));
      return s;
    }
    function xe(e) {
      for (
        var n,
          t,
          r,
          i = e.length,
          o = w.relative[e[0].type],
          s = o || w.relative[" "],
          a = o ? 1 : 0,
          c = ye(
            function (e) {
              return e === n;
            },
            s,
            !0,
          ),
          l = ye(
            function (e) {
              return -1 < F(n, e);
            },
            s,
            !0,
          ),
          u = [
            function (e, t, r) {
              r = (!o && (r || t !== x)) || ((n = t).nodeType ? c : l)(e, t, r);
              return ((n = null), r);
            },
          ];
        a < i;
        a++
      )
        if ((t = w.relative[e[a].type])) u = [ye(be(u), t)];
        else {
          if ((t = w.filter[e[a].type].apply(null, e[a].matches))[C]) {
            for (r = ++a; r < i && !w.relative[e[r].type]; r++);
            return (function e(d, f, m, g, v, t) {
              return (
                g && !g[C] && (g = e(g)),
                v && !v[C] && (v = e(v, t)),
                le(function (e, t, r, n) {
                  var i,
                    o,
                    s,
                    a = [],
                    c = [],
                    l = t.length,
                    u =
                      e ||
                      (function (e, t, r) {
                        for (var n = 0, i = t.length; n < i; n++)
                          ae(e, t[n], r);
                        return r;
                      })(f || "*", r.nodeType ? [r] : r, []),
                    h = !d || (!e && f) ? u : we(u, a, d, r, n),
                    p = m ? (v || (e ? d : l || g) ? [] : t) : h;
                  if ((m && m(h, p, r, n), g))
                    for (i = we(p, c), g(i, [], r, n), o = i.length; o--; )
                      (s = i[o]) && (p[c[o]] = !(h[c[o]] = s));
                  if (e) {
                    if (v || d) {
                      if (v) {
                        for (i = [], o = p.length; o--; )
                          (s = p[o]) && i.push((h[o] = s));
                        v(null, (p = []), i, n);
                      }
                      for (o = p.length; o--; )
                        (s = p[o]) &&
                          -1 < (i = v ? F(e, s) : a[o]) &&
                          (e[i] = !(t[i] = s));
                    }
                  } else
                    ((p = we(p === t ? p.splice(l, p.length) : p)),
                      v ? v(null, t, p, n) : D.apply(t, p));
                })
              );
            })(
              1 < a && be(u),
              1 < a &&
                ve(
                  e
                    .slice(0, a - 1)
                    .concat({ value: " " === e[a - 2].type ? "*" : "" }),
                ).replace(K, "$1"),
              t,
              a < r && xe(e.slice(a, r)),
              r < i && xe((e = e.slice(r))),
              r < i && ve(e),
            );
          }
          u.push(t);
        }
      return be(u);
    }
    return (
      (ge.prototype = w.filters = w.pseudos),
      (w.setFilters = new ge()),
      (f = ae.tokenize =
        function (e, t) {
          var r,
            n,
            i,
            o,
            s,
            a,
            c,
            l = _[e + " "];
          if (l) return t ? 0 : l.slice(0);
          for (s = e, a = [], c = w.preFilter; s; ) {
            for (o in ((r && !(n = G.exec(s))) ||
              (n && (s = s.slice(n[0].length) || s), a.push((i = []))),
            (r = !1),
            (n = q.exec(s)) &&
              ((r = n.shift()),
              i.push({ value: r, type: n[0].replace(K, " ") }),
              (s = s.slice(r.length))),
            w.filter))
              !(n = Y[o].exec(s)) ||
                (c[o] && !(n = c[o](n))) ||
                ((r = n.shift()),
                i.push({ value: r, type: o, matches: n }),
                (s = s.slice(r.length)));
            if (!r) break;
          }
          return t ? s.length : s ? ae.error(e) : _(e, a).slice(0);
        }),
      (m = ae.compile =
        function (e, t) {
          var r,
            g,
            v,
            y,
            b,
            n,
            i = [],
            o = [],
            s = I[e + " "];
          if (!s) {
            for (r = (t = t || f(e)).length; r--; )
              ((s = xe(t[r]))[C] ? i : o).push(s);
            (s = I(
              e,
              ((y = 0 < (v = i).length),
              (b = 0 < (g = o).length),
              (n = function (e, t, r, n, i) {
                var o,
                  s,
                  a,
                  c = 0,
                  l = "0",
                  u = e && [],
                  h = [],
                  p = x,
                  d = e || (b && w.find.TAG("*", i)),
                  f = (P += null == p ? 1 : Math.random() || 0.1),
                  m = d.length;
                for (
                  i && (x = t == E || t || i);
                  l !== m && null != (o = d[l]);
                  l++
                ) {
                  if (b && o) {
                    for (
                      s = 0, t || o.ownerDocument == E || (S(o), (r = !T));
                      (a = g[s++]);

                    )
                      if (a(o, t || E, r)) {
                        n.push(o);
                        break;
                      }
                    i && (P = f);
                  }
                  y && ((o = !a && o) && c--, e && u.push(o));
                }
                if (((c += l), y && l !== c)) {
                  for (s = 0; (a = v[s++]); ) a(u, h, t, r);
                  if (e) {
                    if (0 < c) for (; l--; ) u[l] || h[l] || (h[l] = N.call(n));
                    h = we(h);
                  }
                  (D.apply(n, h),
                    i &&
                      !e &&
                      0 < h.length &&
                      1 < c + v.length &&
                      ae.uniqueSort(n));
                }
                return (i && ((P = f), (x = p)), u);
              }),
              y ? le(n) : n),
            )).selector = e;
          }
          return s;
        }),
      (g = ae.select =
        function (e, t, r, n) {
          var i,
            o,
            s,
            a,
            c,
            l = "function" == typeof e && e,
            u = !n && f((e = l.selector || e));
          if (((r = r || []), 1 === u.length)) {
            if (
              2 < (o = u[0] = u[0].slice(0)).length &&
              "ID" === (s = o[0]).type &&
              9 === t.nodeType &&
              T &&
              w.relative[o[1].type]
            ) {
              if (!(t = (w.find.ID(s.matches[0].replace(ie, h), t) || [])[0]))
                return r;
              (l && (t = t.parentNode), (e = e.slice(o.shift().value.length)));
            }
            for (
              i = Y.needsContext.test(e) ? 0 : o.length;
              i-- && ((s = o[i]), !w.relative[(a = s.type)]);

            )
              if (
                (c = w.find[a]) &&
                (n = c(
                  s.matches[0].replace(ie, h),
                  (ne.test(o[0].type) && me(t.parentNode)) || t,
                ))
              ) {
                if ((o.splice(i, 1), !(e = n.length && ve(o))))
                  return (D.apply(r, n), r);
                break;
              }
          }
          return (
            (l || m(e, u))(
              n,
              t,
              !T,
              r,
              !t || (ne.test(e) && me(t.parentNode)) || t,
            ),
            r
          );
        }),
      (d.sortStable = C.split("").sort(L).join("") === C),
      (d.detectDuplicates = !!l),
      S(),
      (d.sortDetached = ue(function (e) {
        return 1 & e.compareDocumentPosition(E.createElement("fieldset"));
      })),
      ue(function (e) {
        return (
          (e.innerHTML = "<a href='#'></a>"),
          "#" === e.firstChild.getAttribute("href")
        );
      }) ||
        he("type|href|height|width", function (e, t, r) {
          if (!r) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2);
        }),
      (d.attributes &&
        ue(function (e) {
          return (
            (e.innerHTML = "<input/>"),
            e.firstChild.setAttribute("value", ""),
            "" === e.firstChild.getAttribute("value")
          );
        })) ||
        he("value", function (e, t, r) {
          if (!r && "input" === e.nodeName.toLowerCase()) return e.defaultValue;
        }),
      ue(function (e) {
        return null == e.getAttribute("disabled");
      }) ||
        he(M, function (e, t, r) {
          if (!r)
            return !0 === e[t]
              ? t.toLowerCase()
              : (t = e.getAttributeNode(t)) && t.specified
                ? t.value
                : null;
        }),
      ae
    );
  })(S);
  ((T.find = d),
    (T.expr = d.selectors),
    (T.expr[":"] = T.expr.pseudos),
    (T.uniqueSort = T.unique = d.uniqueSort),
    (T.text = d.getText),
    (T.isXMLDoc = d.isXML),
    (T.contains = d.contains),
    (T.escapeSelector = d.escape));
  function x(e, t, r) {
    for (var n = [], i = void 0 !== r; (e = e[t]) && 9 !== e.nodeType; )
      if (1 === e.nodeType) {
        if (i && T(e).is(r)) break;
        n.push(e);
      }
    return n;
  }
  function C(e, t) {
    for (var r = []; e; e = e.nextSibling)
      1 === e.nodeType && e !== t && r.push(e);
    return r;
  }
  var P = T.expr.match.needsContext;
  function k(e, t) {
    return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
  }
  var A = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
  function _(e, r, n) {
    return m(r)
      ? T.grep(e, function (e, t) {
          return !!r.call(e, t, e) !== n;
        })
      : r.nodeType
        ? T.grep(e, function (e) {
            return (e === r) !== n;
          })
        : "string" != typeof r
          ? T.grep(e, function (e) {
              return -1 < i.call(r, e) !== n;
            })
          : T.filter(r, e, n);
  }
  ((T.filter = function (e, t, r) {
    var n = t[0];
    return (
      r && (e = ":not(" + e + ")"),
      1 === t.length && 1 === n.nodeType
        ? T.find.matchesSelector(n, e)
          ? [n]
          : []
        : T.find.matches(
            e,
            T.grep(t, function (e) {
              return 1 === e.nodeType;
            }),
          )
    );
  }),
    T.fn.extend({
      find: function (e) {
        var t,
          r,
          n = this.length,
          i = this;
        if ("string" != typeof e)
          return this.pushStack(
            T(e).filter(function () {
              for (t = 0; t < n; t++) if (T.contains(i[t], this)) return !0;
            }),
          );
        for (r = this.pushStack([]), t = 0; t < n; t++) T.find(e, i[t], r);
        return 1 < n ? T.uniqueSort(r) : r;
      },
      filter: function (e) {
        return this.pushStack(_(this, e || [], !1));
      },
      not: function (e) {
        return this.pushStack(_(this, e || [], !0));
      },
      is: function (e) {
        return !!_(this, "string" == typeof e && P.test(e) ? T(e) : e || [], !1)
          .length;
      },
    }));
  var I = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
  (T.fn.init = function (e, t, r) {
    if (!e) return this;
    if (((r = r || O), "string" != typeof e))
      return e.nodeType
        ? ((this[0] = e), (this.length = 1), this)
        : m(e)
          ? void 0 !== r.ready
            ? r.ready(e)
            : e(T)
          : T.makeArray(e, this);
    if (
      !(n =
        "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length
          ? [null, e, null]
          : I.exec(e)) ||
      (!n[1] && t)
    )
      return (!t || t.jquery ? t || r : this.constructor(t)).find(e);
    if (n[1]) {
      if (
        ((t = t instanceof T ? t[0] : t),
        T.merge(
          this,
          T.parseHTML(n[1], t && t.nodeType ? t.ownerDocument || t : E, !0),
        ),
        A.test(n[1]) && T.isPlainObject(t))
      )
        for (var n in t) m(this[n]) ? this[n](t[n]) : this.attr(n, t[n]);
      return this;
    }
    return (
      (e = E.getElementById(n[2])) && ((this[0] = e), (this.length = 1)),
      this
    );
  }).prototype = T.fn;
  var O = T(E),
    L = /^(?:parents|prev(?:Until|All))/,
    H = { children: !0, contents: !0, next: !0, prev: !0 };
  function N(e, t) {
    for (; (e = e[t]) && 1 !== e.nodeType; );
    return e;
  }
  (T.fn.extend({
    has: function (e) {
      var t = T(e, this),
        r = t.length;
      return this.filter(function () {
        for (var e = 0; e < r; e++) if (T.contains(this, t[e])) return !0;
      });
    },
    closest: function (e, t) {
      var r,
        n = 0,
        i = this.length,
        o = [],
        s = "string" != typeof e && T(e);
      if (!P.test(e))
        for (; n < i; n++)
          for (r = this[n]; r && r !== t; r = r.parentNode)
            if (
              r.nodeType < 11 &&
              (s
                ? -1 < s.index(r)
                : 1 === r.nodeType && T.find.matchesSelector(r, e))
            ) {
              o.push(r);
              break;
            }
      return this.pushStack(1 < o.length ? T.uniqueSort(o) : o);
    },
    index: function (e) {
      return e
        ? "string" == typeof e
          ? i.call(T(e), this[0])
          : i.call(this, e.jquery ? e[0] : e)
        : this[0] && this[0].parentNode
          ? this.first().prevAll().length
          : -1;
    },
    add: function (e, t) {
      return this.pushStack(T.uniqueSort(T.merge(this.get(), T(e, t))));
    },
    addBack: function (e) {
      return this.add(null == e ? this.prevObject : this.prevObject.filter(e));
    },
  }),
    T.each(
      {
        parent: function (e) {
          e = e.parentNode;
          return e && 11 !== e.nodeType ? e : null;
        },
        parents: function (e) {
          return x(e, "parentNode");
        },
        parentsUntil: function (e, t, r) {
          return x(e, "parentNode", r);
        },
        next: function (e) {
          return N(e, "nextSibling");
        },
        prev: function (e) {
          return N(e, "previousSibling");
        },
        nextAll: function (e) {
          return x(e, "nextSibling");
        },
        prevAll: function (e) {
          return x(e, "previousSibling");
        },
        nextUntil: function (e, t, r) {
          return x(e, "nextSibling", r);
        },
        prevUntil: function (e, t, r) {
          return x(e, "previousSibling", r);
        },
        siblings: function (e) {
          return C((e.parentNode || {}).firstChild, e);
        },
        children: function (e) {
          return C(e.firstChild);
        },
        contents: function (e) {
          return null != e.contentDocument && r(e.contentDocument)
            ? e.contentDocument
            : (k(e, "template") && (e = e.content || e),
              T.merge([], e.childNodes));
        },
      },
      function (n, i) {
        T.fn[n] = function (e, t) {
          var r = T.map(this, i, e);
          return (
            (t = "Until" !== n.slice(-5) ? e : t) &&
              "string" == typeof t &&
              (r = T.filter(t, r)),
            1 < this.length &&
              (H[n] || T.uniqueSort(r), L.test(n) && r.reverse()),
            this.pushStack(r)
          );
        };
      },
    ));
  var R = /[^\x20\t\r\n\f]+/g;
  function D(e) {
    return e;
  }
  function B(e) {
    throw e;
  }
  function F(e, t, r, n) {
    var i;
    try {
      e && m((i = e.promise))
        ? i.call(e).done(t).fail(r)
        : e && m((i = e.then))
          ? i.call(e, t, r)
          : t.apply(void 0, [e].slice(n));
    } catch (e) {
      r.apply(void 0, [e]);
    }
  }
  ((T.Callbacks = function (n) {
    var e, r;
    n =
      "string" == typeof n
        ? ((e = n),
          (r = {}),
          T.each(e.match(R) || [], function (e, t) {
            r[t] = !0;
          }),
          r)
        : T.extend({}, n);
    function i() {
      for (a = a || n.once, s = o = !0; l.length; u = -1)
        for (t = l.shift(); ++u < c.length; )
          !1 === c[u].apply(t[0], t[1]) &&
            n.stopOnFalse &&
            ((u = c.length), (t = !1));
      (n.memory || (t = !1), (o = !1), a && (c = t ? [] : ""));
    }
    var o,
      t,
      s,
      a,
      c = [],
      l = [],
      u = -1,
      h = {
        add: function () {
          return (
            c &&
              (t && !o && ((u = c.length - 1), l.push(t)),
              (function r(e) {
                T.each(e, function (e, t) {
                  m(t)
                    ? (n.unique && h.has(t)) || c.push(t)
                    : t && t.length && "string" !== f(t) && r(t);
                });
              })(arguments),
              t && !o && i()),
            this
          );
        },
        remove: function () {
          return (
            T.each(arguments, function (e, t) {
              for (var r; -1 < (r = T.inArray(t, c, r)); )
                (c.splice(r, 1), r <= u && u--);
            }),
            this
          );
        },
        has: function (e) {
          return e ? -1 < T.inArray(e, c) : 0 < c.length;
        },
        empty: function () {
          return ((c = c && []), this);
        },
        disable: function () {
          return ((a = l = []), (c = t = ""), this);
        },
        disabled: function () {
          return !c;
        },
        lock: function () {
          return ((a = l = []), t || o || (c = t = ""), this);
        },
        locked: function () {
          return !!a;
        },
        fireWith: function (e, t) {
          return (
            a ||
              ((t = [e, (t = t || []).slice ? t.slice() : t]),
              l.push(t),
              o || i()),
            this
          );
        },
        fire: function () {
          return (h.fireWith(this, arguments), this);
        },
        fired: function () {
          return !!s;
        },
      };
    return h;
  }),
    T.extend({
      Deferred: function (e) {
        var o = [
            [
              "notify",
              "progress",
              T.Callbacks("memory"),
              T.Callbacks("memory"),
              2,
            ],
            [
              "resolve",
              "done",
              T.Callbacks("once memory"),
              T.Callbacks("once memory"),
              0,
              "resolved",
            ],
            [
              "reject",
              "fail",
              T.Callbacks("once memory"),
              T.Callbacks("once memory"),
              1,
              "rejected",
            ],
          ],
          i = "pending",
          s = {
            state: function () {
              return i;
            },
            always: function () {
              return (a.done(arguments).fail(arguments), this);
            },
            catch: function (e) {
              return s.then(null, e);
            },
            pipe: function () {
              var i = arguments;
              return T.Deferred(function (n) {
                (T.each(o, function (e, t) {
                  var r = m(i[t[4]]) && i[t[4]];
                  a[t[1]](function () {
                    var e = r && r.apply(this, arguments);
                    e && m(e.promise)
                      ? e
                          .promise()
                          .progress(n.notify)
                          .done(n.resolve)
                          .fail(n.reject)
                      : n[t[0] + "With"](this, r ? [e] : arguments);
                  });
                }),
                  (i = null));
              }).promise();
            },
            then: function (t, r, n) {
              var c = 0;
              function l(i, o, s, a) {
                return function () {
                  function e() {
                    var e, t;
                    if (!(i < c)) {
                      if ((e = s.apply(r, n)) === o.promise())
                        throw new TypeError("Thenable self-resolution");
                      ((t =
                        e &&
                        ("object" == typeof e || "function" == typeof e) &&
                        e.then),
                        m(t)
                          ? a
                            ? t.call(e, l(c, o, D, a), l(c, o, B, a))
                            : (c++,
                              t.call(
                                e,
                                l(c, o, D, a),
                                l(c, o, B, a),
                                l(c, o, D, o.notifyWith),
                              ))
                          : (s !== D && ((r = void 0), (n = [e])),
                            (a || o.resolveWith)(r, n)));
                    }
                  }
                  var r = this,
                    n = arguments,
                    t = a
                      ? e
                      : function () {
                          try {
                            e();
                          } catch (e) {
                            (T.Deferred.exceptionHook &&
                              T.Deferred.exceptionHook(e, t.stackTrace),
                              c <= i + 1 &&
                                (s !== B && ((r = void 0), (n = [e])),
                                o.rejectWith(r, n)));
                          }
                        };
                  i
                    ? t()
                    : (T.Deferred.getStackHook &&
                        (t.stackTrace = T.Deferred.getStackHook()),
                      S.setTimeout(t));
                };
              }
              return T.Deferred(function (e) {
                (o[0][3].add(l(0, e, m(n) ? n : D, e.notifyWith)),
                  o[1][3].add(l(0, e, m(t) ? t : D)),
                  o[2][3].add(l(0, e, m(r) ? r : B)));
              }).promise();
            },
            promise: function (e) {
              return null != e ? T.extend(e, s) : s;
            },
          },
          a = {};
        return (
          T.each(o, function (e, t) {
            var r = t[2],
              n = t[5];
            ((s[t[1]] = r.add),
              n &&
                r.add(
                  function () {
                    i = n;
                  },
                  o[3 - e][2].disable,
                  o[3 - e][3].disable,
                  o[0][2].lock,
                  o[0][3].lock,
                ),
              r.add(t[3].fire),
              (a[t[0]] = function () {
                return (
                  a[t[0] + "With"](this === a ? void 0 : this, arguments),
                  this
                );
              }),
              (a[t[0] + "With"] = r.fireWith));
          }),
          s.promise(a),
          e && e.call(a, a),
          a
        );
      },
      when: function (e) {
        function t(t) {
          return function (e) {
            ((i[t] = this),
              (o[t] = 1 < arguments.length ? a.call(arguments) : e),
              --r || s.resolveWith(i, o));
          };
        }
        var r = arguments.length,
          n = r,
          i = Array(n),
          o = a.call(arguments),
          s = T.Deferred();
        if (
          r <= 1 &&
          (F(e, s.done(t(n)).resolve, s.reject, !r),
          "pending" === s.state() || m(o[n] && o[n].then))
        )
          return s.then();
        for (; n--; ) F(o[n], t(n), s.reject);
        return s.promise();
      },
    }));
  var M = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
  ((T.Deferred.exceptionHook = function (e, t) {
    S.console &&
      S.console.warn &&
      e &&
      M.test(e.name) &&
      S.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t);
  }),
    (T.readyException = function (e) {
      S.setTimeout(function () {
        throw e;
      });
    }));
  var j = T.Deferred();
  function U() {
    (E.removeEventListener("DOMContentLoaded", U),
      S.removeEventListener("load", U),
      T.ready());
  }
  ((T.fn.ready = function (e) {
    return (
      j.then(e).catch(function (e) {
        T.readyException(e);
      }),
      this
    );
  }),
    T.extend({
      isReady: !1,
      readyWait: 1,
      ready: function (e) {
        (!0 === e ? --T.readyWait : T.isReady) ||
          ((T.isReady = !0) !== e && 0 < --T.readyWait) ||
          j.resolveWith(E, [T]);
      },
    }),
    (T.ready.then = j.then),
    "complete" === E.readyState ||
    ("loading" !== E.readyState && !E.documentElement.doScroll)
      ? S.setTimeout(T.ready)
      : (E.addEventListener("DOMContentLoaded", U),
        S.addEventListener("load", U)));
  function z(e, t, r, n, i, o, s) {
    var a = 0,
      c = e.length,
      l = null == r;
    if ("object" === f(r)) for (a in ((i = !0), r)) z(e, t, a, r[a], !0, o, s);
    else if (
      void 0 !== n &&
      ((i = !0),
      m(n) || (s = !0),
      (t = l
        ? s
          ? (t.call(e, n), null)
          : ((l = t),
            function (e, t, r) {
              return l.call(T(e), r);
            })
        : t))
    )
      for (; a < c; a++) t(e[a], r, s ? n : n.call(e[a], a, t(e[a], r)));
    return i ? e : l ? t.call(e) : c ? t(e[0], r) : o;
  }
  var W = /^-ms-/,
    $ = /-([a-z])/g;
  function K(e, t) {
    return t.toUpperCase();
  }
  function G(e) {
    return e.replace(W, "ms-").replace($, K);
  }
  function q(e) {
    return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType;
  }
  function V() {
    this.expando = T.expando + V.uid++;
  }
  ((V.uid = 1),
    (V.prototype = {
      cache: function (e) {
        var t = e[this.expando];
        return (
          t ||
            ((t = {}),
            q(e) &&
              (e.nodeType
                ? (e[this.expando] = t)
                : Object.defineProperty(e, this.expando, {
                    value: t,
                    configurable: !0,
                  }))),
          t
        );
      },
      set: function (e, t, r) {
        var n,
          i = this.cache(e);
        if ("string" == typeof t) i[G(t)] = r;
        else for (n in t) i[G(n)] = t[n];
        return i;
      },
      get: function (e, t) {
        return void 0 === t
          ? this.cache(e)
          : e[this.expando] && e[this.expando][G(t)];
      },
      access: function (e, t, r) {
        return void 0 === t || (t && "string" == typeof t && void 0 === r)
          ? this.get(e, t)
          : (this.set(e, t, r), void 0 !== r ? r : t);
      },
      remove: function (e, t) {
        var r,
          n = e[this.expando];
        if (void 0 !== n) {
          if (void 0 !== t) {
            r = (t = Array.isArray(t)
              ? t.map(G)
              : (t = G(t)) in n
                ? [t]
                : t.match(R) || []).length;
            for (; r--; ) delete n[t[r]];
          }
          (void 0 !== t && !T.isEmptyObject(n)) ||
            (e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]);
        }
      },
      hasData: function (e) {
        e = e[this.expando];
        return void 0 !== e && !T.isEmptyObject(e);
      },
    }));
  var X = new V(),
    Q = new V(),
    Y = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
    Z = /[A-Z]/g;
  function J(e, t, r) {
    var n, i;
    if (void 0 === r && 1 === e.nodeType)
      if (
        ((n = "data-" + t.replace(Z, "-$&").toLowerCase()),
        "string" == typeof (r = e.getAttribute(n)))
      ) {
        try {
          r =
            "true" === (i = r) ||
            ("false" !== i &&
              ("null" === i
                ? null
                : i === +i + ""
                  ? +i
                  : Y.test(i)
                    ? JSON.parse(i)
                    : i));
        } catch (e) {}
        Q.set(e, t, r);
      } else r = void 0;
    return r;
  }
  (T.extend({
    hasData: function (e) {
      return Q.hasData(e) || X.hasData(e);
    },
    data: function (e, t, r) {
      return Q.access(e, t, r);
    },
    removeData: function (e, t) {
      Q.remove(e, t);
    },
    _data: function (e, t, r) {
      return X.access(e, t, r);
    },
    _removeData: function (e, t) {
      X.remove(e, t);
    },
  }),
    T.fn.extend({
      data: function (r, e) {
        var t,
          n,
          i,
          o = this[0],
          s = o && o.attributes;
        if (void 0 !== r)
          return "object" == typeof r
            ? this.each(function () {
                Q.set(this, r);
              })
            : z(
                this,
                function (e) {
                  var t;
                  return o && void 0 === e
                    ? void 0 !== (t = Q.get(o, r)) || void 0 !== (t = J(o, r))
                      ? t
                      : void 0
                    : void this.each(function () {
                        Q.set(this, r, e);
                      });
                },
                null,
                e,
                1 < arguments.length,
                null,
                !0,
              );
        if (
          this.length &&
          ((i = Q.get(o)), 1 === o.nodeType && !X.get(o, "hasDataAttrs"))
        ) {
          for (t = s.length; t--; )
            s[t] &&
              0 === (n = s[t].name).indexOf("data-") &&
              ((n = G(n.slice(5))), J(o, n, i[n]));
          X.set(o, "hasDataAttrs", !0);
        }
        return i;
      },
      removeData: function (e) {
        return this.each(function () {
          Q.remove(this, e);
        });
      },
    }),
    T.extend({
      queue: function (e, t, r) {
        var n;
        if (e)
          return (
            (n = X.get(e, (t = (t || "fx") + "queue"))),
            r &&
              (!n || Array.isArray(r)
                ? (n = X.access(e, t, T.makeArray(r)))
                : n.push(r)),
            n || []
          );
      },
      dequeue: function (e, t) {
        t = t || "fx";
        var r = T.queue(e, t),
          n = r.length,
          i = r.shift(),
          o = T._queueHooks(e, t);
        ("inprogress" === i && ((i = r.shift()), n--),
          i &&
            ("fx" === t && r.unshift("inprogress"),
            delete o.stop,
            i.call(
              e,
              function () {
                T.dequeue(e, t);
              },
              o,
            )),
          !n && o && o.empty.fire());
      },
      _queueHooks: function (e, t) {
        var r = t + "queueHooks";
        return (
          X.get(e, r) ||
          X.access(e, r, {
            empty: T.Callbacks("once memory").add(function () {
              X.remove(e, [t + "queue", r]);
            }),
          })
        );
      },
    }),
    T.fn.extend({
      queue: function (t, r) {
        var e = 2;
        return (
          "string" != typeof t && ((r = t), (t = "fx"), e--),
          arguments.length < e
            ? T.queue(this[0], t)
            : void 0 === r
              ? this
              : this.each(function () {
                  var e = T.queue(this, t, r);
                  (T._queueHooks(this, t),
                    "fx" === t && "inprogress" !== e[0] && T.dequeue(this, t));
                })
        );
      },
      dequeue: function (e) {
        return this.each(function () {
          T.dequeue(this, e);
        });
      },
      clearQueue: function (e) {
        return this.queue(e || "fx", []);
      },
      promise: function (e, t) {
        function r() {
          --i || o.resolveWith(s, [s]);
        }
        var n,
          i = 1,
          o = T.Deferred(),
          s = this,
          a = this.length;
        for (
          "string" != typeof e && ((t = e), (e = void 0)), e = e || "fx";
          a--;

        )
          (n = X.get(s[a], e + "queueHooks")) &&
            n.empty &&
            (i++, n.empty.add(r));
        return (r(), o.promise(t));
      },
    }));
  var ee = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
    te = new RegExp("^(?:([+-])=|)(" + ee + ")([a-z%]*)$", "i"),
    re = ["Top", "Right", "Bottom", "Left"],
    ne = E.documentElement,
    ie = function (e) {
      return T.contains(e.ownerDocument, e);
    },
    oe = { composed: !0 };
  ne.getRootNode &&
    (ie = function (e) {
      return (
        T.contains(e.ownerDocument, e) || e.getRootNode(oe) === e.ownerDocument
      );
    });
  function se(e, t) {
    return (
      "none" === (e = t || e).style.display ||
      ("" === e.style.display && ie(e) && "none" === T.css(e, "display"))
    );
  }
  function ae(e, t, r, n) {
    var i,
      o,
      s = 20,
      a = n
        ? function () {
            return n.cur();
          }
        : function () {
            return T.css(e, t, "");
          },
      c = a(),
      l = (r && r[3]) || (T.cssNumber[t] ? "" : "px"),
      u =
        e.nodeType &&
        (T.cssNumber[t] || ("px" !== l && +c)) &&
        te.exec(T.css(e, t));
    if (u && u[3] !== l) {
      for (l = l || u[3], u = +(c /= 2) || 1; s--; )
        (T.style(e, t, u + l),
          (1 - o) * (1 - (o = a() / c || 0.5)) <= 0 && (s = 0),
          (u /= o));
      (T.style(e, t, (u *= 2) + l), (r = r || []));
    }
    return (
      r &&
        ((u = +u || +c || 0),
        (i = r[1] ? u + (r[1] + 1) * r[2] : +r[2]),
        n && ((n.unit = l), (n.start = u), (n.end = i))),
      i
    );
  }
  var ce = {};
  function le(e, t) {
    for (var r, n, i, o, s, a, c = [], l = 0, u = e.length; l < u; l++)
      (n = e[l]).style &&
        ((r = n.style.display),
        t
          ? ("none" === r &&
              ((c[l] = X.get(n, "display") || null),
              c[l] || (n.style.display = "")),
            "" === n.style.display &&
              se(n) &&
              (c[l] =
                ((a = o = i = void 0),
                (o = n.ownerDocument),
                (s = n.nodeName),
                (a = ce[s]) ||
                  ((i = o.body.appendChild(o.createElement(s))),
                  (a = T.css(i, "display")),
                  i.parentNode.removeChild(i),
                  (ce[s] = a = "none" === a ? "block" : a)))))
          : "none" !== r && ((c[l] = "none"), X.set(n, "display", r)));
    for (l = 0; l < u; l++) null != c[l] && (e[l].style.display = c[l]);
    return e;
  }
  T.fn.extend({
    show: function () {
      return le(this, !0);
    },
    hide: function () {
      return le(this);
    },
    toggle: function (e) {
      return "boolean" == typeof e
        ? e
          ? this.show()
          : this.hide()
        : this.each(function () {
            se(this) ? T(this).show() : T(this).hide();
          });
    },
  });
  var ue = /^(?:checkbox|radio)$/i,
    he = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i,
    pe = /^$|^module$|\/(?:java|ecma)script/i,
    h = E.createDocumentFragment().appendChild(E.createElement("div"));
  ((d = E.createElement("input")).setAttribute("type", "radio"),
    d.setAttribute("checked", "checked"),
    d.setAttribute("name", "t"),
    h.appendChild(d),
    (b.checkClone = h.cloneNode(!0).cloneNode(!0).lastChild.checked),
    (h.innerHTML = "<textarea>x</textarea>"),
    (b.noCloneChecked = !!h.cloneNode(!0).lastChild.defaultValue),
    (h.innerHTML = "<option></option>"),
    (b.option = !!h.lastChild));
  var de = {
    thead: [1, "<table>", "</table>"],
    col: [2, "<table><colgroup>", "</colgroup></table>"],
    tr: [2, "<table><tbody>", "</tbody></table>"],
    td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
    _default: [0, "", ""],
  };
  function fe(e, t) {
    var r =
      void 0 !== e.getElementsByTagName
        ? e.getElementsByTagName(t || "*")
        : void 0 !== e.querySelectorAll
          ? e.querySelectorAll(t || "*")
          : [];
    return void 0 === t || (t && k(e, t)) ? T.merge([e], r) : r;
  }
  function me(e, t) {
    for (var r = 0, n = e.length; r < n; r++)
      X.set(e[r], "globalEval", !t || X.get(t[r], "globalEval"));
  }
  ((de.tbody = de.tfoot = de.colgroup = de.caption = de.thead),
    (de.th = de.td),
    b.option ||
      (de.optgroup = de.option =
        [1, "<select multiple='multiple'>", "</select>"]));
  var ge = /<|&#?\w+;/;
  function ve(e, t, r, n, i) {
    for (
      var o,
        s,
        a,
        c,
        l,
        u = t.createDocumentFragment(),
        h = [],
        p = 0,
        d = e.length;
      p < d;
      p++
    )
      if ((o = e[p]) || 0 === o)
        if ("object" === f(o)) T.merge(h, o.nodeType ? [o] : o);
        else if (ge.test(o)) {
          for (
            s = s || u.appendChild(t.createElement("div")),
              a = (he.exec(o) || ["", ""])[1].toLowerCase(),
              a = de[a] || de._default,
              s.innerHTML = a[1] + T.htmlPrefilter(o) + a[2],
              l = a[0];
            l--;

          )
            s = s.lastChild;
          (T.merge(h, s.childNodes), ((s = u.firstChild).textContent = ""));
        } else h.push(t.createTextNode(o));
    for (u.textContent = "", p = 0; (o = h[p++]); )
      if (n && -1 < T.inArray(o, n)) i && i.push(o);
      else if (
        ((c = ie(o)), (s = fe(u.appendChild(o), "script")), c && me(s), r)
      )
        for (l = 0; (o = s[l++]); ) pe.test(o.type || "") && r.push(o);
    return u;
  }
  var ye = /^key/,
    be = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
    we = /^([^.]*)(?:\.(.+)|)/;
  function xe() {
    return !0;
  }
  function Se() {
    return !1;
  }
  function Ee(e, t) {
    return (
      (e ===
        (function () {
          try {
            return E.activeElement;
          } catch (e) {}
        })()) ==
      ("focus" === t)
    );
  }
  function Te(e, t, r, n, i, o) {
    var s, a;
    if ("object" == typeof t) {
      for (a in ("string" != typeof r && ((n = n || r), (r = void 0)), t))
        Te(e, a, r, n, t[a], o);
      return e;
    }
    if (
      (null == n && null == i
        ? ((i = r), (n = r = void 0))
        : null == i &&
          ("string" == typeof r
            ? ((i = n), (n = void 0))
            : ((i = n), (n = r), (r = void 0))),
      !1 === i)
    )
      i = Se;
    else if (!i) return e;
    return (
      1 === o &&
        ((s = i),
        ((i = function (e) {
          return (T().off(e), s.apply(this, arguments));
        }).guid = s.guid || (s.guid = T.guid++))),
      e.each(function () {
        T.event.add(this, t, i, n, r);
      })
    );
  }
  function Ce(e, i, o) {
    o
      ? (X.set(e, i, !1),
        T.event.add(e, i, {
          namespace: !1,
          handler: function (e) {
            var t,
              r,
              n = X.get(this, i);
            if (1 & e.isTrigger && this[i]) {
              if (n.length)
                (T.event.special[i] || {}).delegateType && e.stopPropagation();
              else if (
                ((n = a.call(arguments)),
                X.set(this, i, n),
                (t = o(this, i)),
                this[i](),
                n !== (r = X.get(this, i)) || t ? X.set(this, i, !1) : (r = {}),
                n !== r)
              )
                return (
                  e.stopImmediatePropagation(),
                  e.preventDefault(),
                  r.value
                );
            } else
              n.length &&
                (X.set(this, i, {
                  value: T.event.trigger(
                    T.extend(n[0], T.Event.prototype),
                    n.slice(1),
                    this,
                  ),
                }),
                e.stopImmediatePropagation());
          },
        }))
      : void 0 === X.get(e, i) && T.event.add(e, i, xe);
  }
  ((T.event = {
    global: {},
    add: function (t, e, r, n, i) {
      var o,
        s,
        a,
        c,
        l,
        u,
        h,
        p,
        d,
        f = X.get(t);
      if (q(t))
        for (
          r.handler && ((r = (o = r).handler), (i = o.selector)),
            i && T.find.matchesSelector(ne, i),
            r.guid || (r.guid = T.guid++),
            (a = f.events) || (a = f.events = Object.create(null)),
            (s = f.handle) ||
              (s = f.handle =
                function (e) {
                  return void 0 !== T && T.event.triggered !== e.type
                    ? T.event.dispatch.apply(t, arguments)
                    : void 0;
                }),
            c = (e = (e || "").match(R) || [""]).length;
          c--;

        )
          ((h = d = (l = we.exec(e[c]) || [])[1]),
            (p = (l[2] || "").split(".").sort()),
            h &&
              ((u = T.event.special[h] || {}),
              (h = (i ? u.delegateType : u.bindType) || h),
              (u = T.event.special[h] || {}),
              (l = T.extend(
                {
                  type: h,
                  origType: d,
                  data: n,
                  handler: r,
                  guid: r.guid,
                  selector: i,
                  needsContext: i && T.expr.match.needsContext.test(i),
                  namespace: p.join("."),
                },
                o,
              )),
              (d = a[h]) ||
                (((d = a[h] = []).delegateCount = 0),
                (u.setup && !1 !== u.setup.call(t, n, p, s)) ||
                  (t.addEventListener && t.addEventListener(h, s))),
              u.add &&
                (u.add.call(t, l), l.handler.guid || (l.handler.guid = r.guid)),
              i ? d.splice(d.delegateCount++, 0, l) : d.push(l),
              (T.event.global[h] = !0)));
    },
    remove: function (e, t, r, n, i) {
      var o,
        s,
        a,
        c,
        l,
        u,
        h,
        p,
        d,
        f,
        m,
        g = X.hasData(e) && X.get(e);
      if (g && (c = g.events)) {
        for (l = (t = (t || "").match(R) || [""]).length; l--; )
          if (
            ((d = m = (a = we.exec(t[l]) || [])[1]),
            (f = (a[2] || "").split(".").sort()),
            d)
          ) {
            for (
              h = T.event.special[d] || {},
                p = c[(d = (n ? h.delegateType : h.bindType) || d)] || [],
                a =
                  a[2] &&
                  new RegExp("(^|\\.)" + f.join("\\.(?:.*\\.|)") + "(\\.|$)"),
                s = o = p.length;
              o--;

            )
              ((u = p[o]),
                (!i && m !== u.origType) ||
                  (r && r.guid !== u.guid) ||
                  (a && !a.test(u.namespace)) ||
                  (n && n !== u.selector && ("**" !== n || !u.selector)) ||
                  (p.splice(o, 1),
                  u.selector && p.delegateCount--,
                  h.remove && h.remove.call(e, u)));
            s &&
              !p.length &&
              ((h.teardown && !1 !== h.teardown.call(e, f, g.handle)) ||
                T.removeEvent(e, d, g.handle),
              delete c[d]);
          } else for (d in c) T.event.remove(e, d + t[l], r, n, !0);
        T.isEmptyObject(c) && X.remove(e, "handle events");
      }
    },
    dispatch: function (e) {
      var t,
        r,
        n,
        i,
        o,
        s = new Array(arguments.length),
        a = T.event.fix(e),
        c = (X.get(this, "events") || Object.create(null))[a.type] || [],
        e = T.event.special[a.type] || {};
      for (s[0] = a, t = 1; t < arguments.length; t++) s[t] = arguments[t];
      if (
        ((a.delegateTarget = this),
        !e.preDispatch || !1 !== e.preDispatch.call(this, a))
      ) {
        for (
          o = T.event.handlers.call(this, a, c), t = 0;
          (n = o[t++]) && !a.isPropagationStopped();

        )
          for (
            a.currentTarget = n.elem, r = 0;
            (i = n.handlers[r++]) && !a.isImmediatePropagationStopped();

          )
            (a.rnamespace &&
              !1 !== i.namespace &&
              !a.rnamespace.test(i.namespace)) ||
              ((a.handleObj = i),
              (a.data = i.data),
              void 0 !==
                (i = (
                  (T.event.special[i.origType] || {}).handle || i.handler
                ).apply(n.elem, s)) &&
                !1 === (a.result = i) &&
                (a.preventDefault(), a.stopPropagation()));
        return (e.postDispatch && e.postDispatch.call(this, a), a.result);
      }
    },
    handlers: function (e, t) {
      var r,
        n,
        i,
        o,
        s,
        a = [],
        c = t.delegateCount,
        l = e.target;
      if (c && l.nodeType && !("click" === e.type && 1 <= e.button))
        for (; l !== this; l = l.parentNode || this)
          if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) {
            for (o = [], s = {}, r = 0; r < c; r++)
              (void 0 === s[(i = (n = t[r]).selector + " ")] &&
                (s[i] = n.needsContext
                  ? -1 < T(i, this).index(l)
                  : T.find(i, this, null, [l]).length),
                s[i] && o.push(n));
            o.length && a.push({ elem: l, handlers: o });
          }
      return (
        (l = this),
        c < t.length && a.push({ elem: l, handlers: t.slice(c) }),
        a
      );
    },
    addProp: function (t, e) {
      Object.defineProperty(T.Event.prototype, t, {
        enumerable: !0,
        configurable: !0,
        get: m(e)
          ? function () {
              if (this.originalEvent) return e(this.originalEvent);
            }
          : function () {
              if (this.originalEvent) return this.originalEvent[t];
            },
        set: function (e) {
          Object.defineProperty(this, t, {
            enumerable: !0,
            configurable: !0,
            writable: !0,
            value: e,
          });
        },
      });
    },
    fix: function (e) {
      return e[T.expando] ? e : new T.Event(e);
    },
    special: {
      load: { noBubble: !0 },
      click: {
        setup: function (e) {
          e = this || e;
          return (
            ue.test(e.type) && e.click && k(e, "input") && Ce(e, "click", xe),
            !1
          );
        },
        trigger: function (e) {
          e = this || e;
          return (
            ue.test(e.type) && e.click && k(e, "input") && Ce(e, "click"),
            !0
          );
        },
        _default: function (e) {
          e = e.target;
          return (
            (ue.test(e.type) &&
              e.click &&
              k(e, "input") &&
              X.get(e, "click")) ||
            k(e, "a")
          );
        },
      },
      beforeunload: {
        postDispatch: function (e) {
          void 0 !== e.result &&
            e.originalEvent &&
            (e.originalEvent.returnValue = e.result);
        },
      },
    },
  }),
    (T.removeEvent = function (e, t, r) {
      e.removeEventListener && e.removeEventListener(t, r);
    }),
    (T.Event = function (e, t) {
      if (!(this instanceof T.Event)) return new T.Event(e, t);
      (e && e.type
        ? ((this.originalEvent = e),
          (this.type = e.type),
          (this.isDefaultPrevented =
            e.defaultPrevented ||
            (void 0 === e.defaultPrevented && !1 === e.returnValue)
              ? xe
              : Se),
          (this.target =
            e.target && 3 === e.target.nodeType
              ? e.target.parentNode
              : e.target),
          (this.currentTarget = e.currentTarget),
          (this.relatedTarget = e.relatedTarget))
        : (this.type = e),
        t && T.extend(this, t),
        (this.timeStamp = (e && e.timeStamp) || Date.now()),
        (this[T.expando] = !0));
    }),
    (T.Event.prototype = {
      constructor: T.Event,
      isDefaultPrevented: Se,
      isPropagationStopped: Se,
      isImmediatePropagationStopped: Se,
      isSimulated: !1,
      preventDefault: function () {
        var e = this.originalEvent;
        ((this.isDefaultPrevented = xe),
          e && !this.isSimulated && e.preventDefault());
      },
      stopPropagation: function () {
        var e = this.originalEvent;
        ((this.isPropagationStopped = xe),
          e && !this.isSimulated && e.stopPropagation());
      },
      stopImmediatePropagation: function () {
        var e = this.originalEvent;
        ((this.isImmediatePropagationStopped = xe),
          e && !this.isSimulated && e.stopImmediatePropagation(),
          this.stopPropagation());
      },
    }),
    T.each(
      {
        altKey: !0,
        bubbles: !0,
        cancelable: !0,
        changedTouches: !0,
        ctrlKey: !0,
        detail: !0,
        eventPhase: !0,
        metaKey: !0,
        pageX: !0,
        pageY: !0,
        shiftKey: !0,
        view: !0,
        char: !0,
        code: !0,
        charCode: !0,
        key: !0,
        keyCode: !0,
        button: !0,
        buttons: !0,
        clientX: !0,
        clientY: !0,
        offsetX: !0,
        offsetY: !0,
        pointerId: !0,
        pointerType: !0,
        screenX: !0,
        screenY: !0,
        targetTouches: !0,
        toElement: !0,
        touches: !0,
        which: function (e) {
          var t = e.button;
          return null == e.which && ye.test(e.type)
            ? null != e.charCode
              ? e.charCode
              : e.keyCode
            : !e.which && void 0 !== t && be.test(e.type)
              ? 1 & t
                ? 1
                : 2 & t
                  ? 3
                  : 4 & t
                    ? 2
                    : 0
              : e.which;
        },
      },
      T.event.addProp,
    ),
    T.each({ focus: "focusin", blur: "focusout" }, function (e, t) {
      T.event.special[e] = {
        setup: function () {
          return (Ce(this, e, Ee), !1);
        },
        trigger: function () {
          return (Ce(this, e), !0);
        },
        delegateType: t,
      };
    }),
    T.each(
      {
        mouseenter: "mouseover",
        mouseleave: "mouseout",
        pointerenter: "pointerover",
        pointerleave: "pointerout",
      },
      function (e, i) {
        T.event.special[e] = {
          delegateType: i,
          bindType: i,
          handle: function (e) {
            var t,
              r = e.relatedTarget,
              n = e.handleObj;
            return (
              (r && (r === this || T.contains(this, r))) ||
                ((e.type = n.origType),
                (t = n.handler.apply(this, arguments)),
                (e.type = i)),
              t
            );
          },
        };
      },
    ),
    T.fn.extend({
      on: function (e, t, r, n) {
        return Te(this, e, t, r, n);
      },
      one: function (e, t, r, n) {
        return Te(this, e, t, r, n, 1);
      },
      off: function (e, t, r) {
        var n, i;
        if (e && e.preventDefault && e.handleObj)
          return (
            (n = e.handleObj),
            T(e.delegateTarget).off(
              n.namespace ? n.origType + "." + n.namespace : n.origType,
              n.selector,
              n.handler,
            ),
            this
          );
        if ("object" != typeof e)
          return (
            (!1 !== t && "function" != typeof t) || ((r = t), (t = void 0)),
            !1 === r && (r = Se),
            this.each(function () {
              T.event.remove(this, e, r, t);
            })
          );
        for (i in e) this.off(i, t, e[i]);
        return this;
      },
    }));
  var Pe = /<script|<style|<link/i,
    ke = /checked\s*(?:[^=]|=\s*.checked.)/i,
    Ae = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
  function _e(e, t) {
    return (
      (k(e, "table") &&
        k(11 !== t.nodeType ? t : t.firstChild, "tr") &&
        T(e).children("tbody")[0]) ||
      e
    );
  }
  function Ie(e) {
    return ((e.type = (null !== e.getAttribute("type")) + "/" + e.type), e);
  }
  function Oe(e) {
    return (
      "true/" === (e.type || "").slice(0, 5)
        ? (e.type = e.type.slice(5))
        : e.removeAttribute("type"),
      e
    );
  }
  function Le(e, t) {
    var r, n, i, o;
    if (1 === t.nodeType) {
      if (X.hasData(e) && (o = X.get(e).events))
        for (i in (X.remove(t, "handle events"), o))
          for (r = 0, n = o[i].length; r < n; r++) T.event.add(t, i, o[i][r]);
      Q.hasData(e) && ((e = Q.access(e)), (e = T.extend({}, e)), Q.set(t, e));
    }
  }
  function He(r, n, i, o) {
    n = v(n);
    var e,
      t,
      s,
      a,
      c,
      l,
      u = 0,
      h = r.length,
      p = h - 1,
      d = n[0],
      f = m(d);
    if (f || (1 < h && "string" == typeof d && !b.checkClone && ke.test(d)))
      return r.each(function (e) {
        var t = r.eq(e);
        (f && (n[0] = d.call(this, e, t.html())), He(t, n, i, o));
      });
    if (
      h &&
      ((t = (e = ve(n, r[0].ownerDocument, !1, r, o)).firstChild),
      1 === e.childNodes.length && (e = t),
      t || o)
    ) {
      for (a = (s = T.map(fe(e, "script"), Ie)).length; u < h; u++)
        ((c = e),
          u !== p &&
            ((c = T.clone(c, !0, !0)), a && T.merge(s, fe(c, "script"))),
          i.call(r[u], c, u));
      if (a)
        for (l = s[s.length - 1].ownerDocument, T.map(s, Oe), u = 0; u < a; u++)
          ((c = s[u]),
            pe.test(c.type || "") &&
              !X.access(c, "globalEval") &&
              T.contains(l, c) &&
              (c.src && "module" !== (c.type || "").toLowerCase()
                ? T._evalUrl &&
                  !c.noModule &&
                  T._evalUrl(
                    c.src,
                    { nonce: c.nonce || c.getAttribute("nonce") },
                    l,
                  )
                : w(c.textContent.replace(Ae, ""), c, l)));
    }
    return r;
  }
  function Ne(e, t, r) {
    for (var n, i = t ? T.filter(t, e) : e, o = 0; null != (n = i[o]); o++)
      (r || 1 !== n.nodeType || T.cleanData(fe(n)),
        n.parentNode &&
          (r && ie(n) && me(fe(n, "script")), n.parentNode.removeChild(n)));
    return e;
  }
  (T.extend({
    htmlPrefilter: function (e) {
      return e;
    },
    clone: function (e, t, r) {
      var n,
        i,
        o,
        s,
        a,
        c,
        l,
        u = e.cloneNode(!0),
        h = ie(e);
      if (
        !(
          b.noCloneChecked ||
          (1 !== e.nodeType && 11 !== e.nodeType) ||
          T.isXMLDoc(e)
        )
      )
        for (s = fe(u), n = 0, i = (o = fe(e)).length; n < i; n++)
          ((a = o[n]),
            "input" === (l = (c = s[n]).nodeName.toLowerCase()) &&
            ue.test(a.type)
              ? (c.checked = a.checked)
              : ("input" !== l && "textarea" !== l) ||
                (c.defaultValue = a.defaultValue));
      if (t)
        if (r)
          for (o = o || fe(e), s = s || fe(u), n = 0, i = o.length; n < i; n++)
            Le(o[n], s[n]);
        else Le(e, u);
      return (
        0 < (s = fe(u, "script")).length && me(s, !h && fe(e, "script")),
        u
      );
    },
    cleanData: function (e) {
      for (var t, r, n, i = T.event.special, o = 0; void 0 !== (r = e[o]); o++)
        if (q(r)) {
          if ((t = r[X.expando])) {
            if (t.events)
              for (n in t.events)
                i[n] ? T.event.remove(r, n) : T.removeEvent(r, n, t.handle);
            r[X.expando] = void 0;
          }
          r[Q.expando] && (r[Q.expando] = void 0);
        }
    },
  }),
    T.fn.extend({
      detach: function (e) {
        return Ne(this, e, !0);
      },
      remove: function (e) {
        return Ne(this, e);
      },
      text: function (e) {
        return z(
          this,
          function (e) {
            return void 0 === e
              ? T.text(this)
              : this.empty().each(function () {
                  (1 !== this.nodeType &&
                    11 !== this.nodeType &&
                    9 !== this.nodeType) ||
                    (this.textContent = e);
                });
          },
          null,
          e,
          arguments.length,
        );
      },
      append: function () {
        return He(this, arguments, function (e) {
          (1 !== this.nodeType &&
            11 !== this.nodeType &&
            9 !== this.nodeType) ||
            _e(this, e).appendChild(e);
        });
      },
      prepend: function () {
        return He(this, arguments, function (e) {
          var t;
          (1 !== this.nodeType &&
            11 !== this.nodeType &&
            9 !== this.nodeType) ||
            (t = _e(this, e)).insertBefore(e, t.firstChild);
        });
      },
      before: function () {
        return He(this, arguments, function (e) {
          this.parentNode && this.parentNode.insertBefore(e, this);
        });
      },
      after: function () {
        return He(this, arguments, function (e) {
          this.parentNode && this.parentNode.insertBefore(e, this.nextSibling);
        });
      },
      empty: function () {
        for (var e, t = 0; null != (e = this[t]); t++)
          1 === e.nodeType && (T.cleanData(fe(e, !1)), (e.textContent = ""));
        return this;
      },
      clone: function (e, t) {
        return (
          (e = null != e && e),
          (t = null == t ? e : t),
          this.map(function () {
            return T.clone(this, e, t);
          })
        );
      },
      html: function (e) {
        return z(
          this,
          function (e) {
            var t = this[0] || {},
              r = 0,
              n = this.length;
            if (void 0 === e && 1 === t.nodeType) return t.innerHTML;
            if (
              "string" == typeof e &&
              !Pe.test(e) &&
              !de[(he.exec(e) || ["", ""])[1].toLowerCase()]
            ) {
              e = T.htmlPrefilter(e);
              try {
                for (; r < n; r++)
                  1 === (t = this[r] || {}).nodeType &&
                    (T.cleanData(fe(t, !1)), (t.innerHTML = e));
                t = 0;
              } catch (e) {}
            }
            t && this.empty().append(e);
          },
          null,
          e,
          arguments.length,
        );
      },
      replaceWith: function () {
        var r = [];
        return He(
          this,
          arguments,
          function (e) {
            var t = this.parentNode;
            T.inArray(this, r) < 0 &&
              (T.cleanData(fe(this)), t && t.replaceChild(e, this));
          },
          r,
        );
      },
    }),
    T.each(
      {
        appendTo: "append",
        prependTo: "prepend",
        insertBefore: "before",
        insertAfter: "after",
        replaceAll: "replaceWith",
      },
      function (e, s) {
        T.fn[e] = function (e) {
          for (var t, r = [], n = T(e), i = n.length - 1, o = 0; o <= i; o++)
            ((t = o === i ? this : this.clone(!0)),
              T(n[o])[s](t),
              c.apply(r, t.get()));
          return this.pushStack(r);
        };
      },
    ));
  function Re(e) {
    var t = e.ownerDocument.defaultView;
    return (t = !t || !t.opener ? S : t).getComputedStyle(e);
  }
  function De(e, t, r) {
    var n,
      i = {};
    for (n in t) ((i[n] = e.style[n]), (e.style[n] = t[n]));
    for (n in ((r = r.call(e)), t)) e.style[n] = i[n];
    return r;
  }
  var Be,
    Fe,
    Me,
    je,
    Ue,
    ze,
    We,
    $e,
    Ke = new RegExp("^(" + ee + ")(?!px)[a-z%]+$", "i"),
    Ge = new RegExp(re.join("|"), "i");
  function qe(e, t, r) {
    var n,
      i,
      o = e.style;
    return (
      (r = r || Re(e)) &&
        ("" !== (i = r.getPropertyValue(t) || r[t]) ||
          ie(e) ||
          (i = T.style(e, t)),
        !b.pixelBoxStyles() &&
          Ke.test(i) &&
          Ge.test(t) &&
          ((n = o.width),
          (e = o.minWidth),
          (t = o.maxWidth),
          (o.minWidth = o.maxWidth = o.width = i),
          (i = r.width),
          (o.width = n),
          (o.minWidth = e),
          (o.maxWidth = t))),
      void 0 !== i ? i + "" : i
    );
  }
  function Ve(e, t) {
    return {
      get: function () {
        if (!e()) return (this.get = t).apply(this, arguments);
        delete this.get;
      },
    };
  }
  function Xe() {
    var e;
    $e &&
      ((We.style.cssText =
        "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"),
      ($e.style.cssText =
        "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"),
      ne.appendChild(We).appendChild($e),
      (e = S.getComputedStyle($e)),
      (Be = "1%" !== e.top),
      (ze = 12 === Qe(e.marginLeft)),
      ($e.style.right = "60%"),
      (je = 36 === Qe(e.right)),
      (Fe = 36 === Qe(e.width)),
      ($e.style.position = "absolute"),
      (Me = 12 === Qe($e.offsetWidth / 3)),
      ne.removeChild(We),
      ($e = null));
  }
  function Qe(e) {
    return Math.round(parseFloat(e));
  }
  ((We = E.createElement("div")),
    ($e = E.createElement("div")).style &&
      (($e.style.backgroundClip = "content-box"),
      ($e.cloneNode(!0).style.backgroundClip = ""),
      (b.clearCloneStyle = "content-box" === $e.style.backgroundClip),
      T.extend(b, {
        boxSizingReliable: function () {
          return (Xe(), Fe);
        },
        pixelBoxStyles: function () {
          return (Xe(), je);
        },
        pixelPosition: function () {
          return (Xe(), Be);
        },
        reliableMarginLeft: function () {
          return (Xe(), ze);
        },
        scrollboxSize: function () {
          return (Xe(), Me);
        },
        reliableTrDimensions: function () {
          var e, t, r;
          return (
            null == Ue &&
              ((e = E.createElement("table")),
              (r = E.createElement("tr")),
              (t = E.createElement("div")),
              (e.style.cssText = "position:absolute;left:-11111px"),
              (r.style.height = "1px"),
              (t.style.height = "9px"),
              ne.appendChild(e).appendChild(r).appendChild(t),
              (r = S.getComputedStyle(r)),
              (Ue = 3 < parseInt(r.height)),
              ne.removeChild(e)),
            Ue
          );
        },
      })));
  var Ye = ["Webkit", "Moz", "ms"],
    Ze = E.createElement("div").style,
    Je = {};
  function et(e) {
    return (
      T.cssProps[e] ||
      Je[e] ||
      (e in Ze
        ? e
        : (Je[e] =
            (function (e) {
              for (
                var t = e[0].toUpperCase() + e.slice(1), r = Ye.length;
                r--;

              )
                if ((e = Ye[r] + t) in Ze) return e;
            })(e) || e))
    );
  }
  var tt = /^(none|table(?!-c[ea]).+)/,
    rt = /^--/,
    nt = { position: "absolute", visibility: "hidden", display: "block" },
    it = { letterSpacing: "0", fontWeight: "400" };
  function ot(e, t, r) {
    var n = te.exec(t);
    return n ? Math.max(0, n[2] - (r || 0)) + (n[3] || "px") : t;
  }
  function st(e, t, r, n, i, o) {
    var s = "width" === t ? 1 : 0,
      a = 0,
      c = 0;
    if (r === (n ? "border" : "content")) return 0;
    for (; s < 4; s += 2)
      ("margin" === r && (c += T.css(e, r + re[s], !0, i)),
        n
          ? ("content" === r && (c -= T.css(e, "padding" + re[s], !0, i)),
            "margin" !== r &&
              (c -= T.css(e, "border" + re[s] + "Width", !0, i)))
          : ((c += T.css(e, "padding" + re[s], !0, i)),
            "padding" !== r
              ? (c += T.css(e, "border" + re[s] + "Width", !0, i))
              : (a += T.css(e, "border" + re[s] + "Width", !0, i))));
    return (
      !n &&
        0 <= o &&
        (c +=
          Math.max(
            0,
            Math.ceil(
              e["offset" + t[0].toUpperCase() + t.slice(1)] - o - c - a - 0.5,
            ),
          ) || 0),
      c
    );
  }
  function at(e, t, r) {
    var n = Re(e),
      i =
        (!b.boxSizingReliable() || r) &&
        "border-box" === T.css(e, "boxSizing", !1, n),
      o = i,
      s = qe(e, t, n),
      a = "offset" + t[0].toUpperCase() + t.slice(1);
    if (Ke.test(s)) {
      if (!r) return s;
      s = "auto";
    }
    return (
      ((!b.boxSizingReliable() && i) ||
        (!b.reliableTrDimensions() && k(e, "tr")) ||
        "auto" === s ||
        (!parseFloat(s) && "inline" === T.css(e, "display", !1, n))) &&
        e.getClientRects().length &&
        ((i = "border-box" === T.css(e, "boxSizing", !1, n)),
        (o = a in e) && (s = e[a])),
      (s = parseFloat(s) || 0) +
        st(e, t, r || (i ? "border" : "content"), o, n, s) +
        "px"
    );
  }
  function ct(e, t, r, n, i) {
    return new ct.prototype.init(e, t, r, n, i);
  }
  (T.extend({
    cssHooks: {
      opacity: {
        get: function (e, t) {
          if (t) {
            e = qe(e, "opacity");
            return "" === e ? "1" : e;
          }
        },
      },
    },
    cssNumber: {
      animationIterationCount: !0,
      columnCount: !0,
      fillOpacity: !0,
      flexGrow: !0,
      flexShrink: !0,
      fontWeight: !0,
      gridArea: !0,
      gridColumn: !0,
      gridColumnEnd: !0,
      gridColumnStart: !0,
      gridRow: !0,
      gridRowEnd: !0,
      gridRowStart: !0,
      lineHeight: !0,
      opacity: !0,
      order: !0,
      orphans: !0,
      widows: !0,
      zIndex: !0,
      zoom: !0,
    },
    cssProps: {},
    style: function (e, t, r, n) {
      if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
        var i,
          o,
          s,
          a = G(t),
          c = rt.test(t),
          l = e.style;
        if (
          (c || (t = et(a)), (s = T.cssHooks[t] || T.cssHooks[a]), void 0 === r)
        )
          return s && "get" in s && void 0 !== (i = s.get(e, !1, n)) ? i : l[t];
        ("string" == (o = typeof r) &&
          (i = te.exec(r)) &&
          i[1] &&
          ((r = ae(e, t, i)), (o = "number")),
          null != r &&
            r == r &&
            ("number" !== o ||
              c ||
              (r += (i && i[3]) || (T.cssNumber[a] ? "" : "px")),
            b.clearCloneStyle ||
              "" !== r ||
              0 !== t.indexOf("background") ||
              (l[t] = "inherit"),
            (s && "set" in s && void 0 === (r = s.set(e, r, n))) ||
              (c ? l.setProperty(t, r) : (l[t] = r))));
      }
    },
    css: function (e, t, r, n) {
      var i,
        o = G(t);
      return (
        rt.test(t) || (t = et(o)),
        "normal" ===
          (i =
            void 0 ===
            (i =
              (o = T.cssHooks[t] || T.cssHooks[o]) && "get" in o
                ? o.get(e, !0, r)
                : i)
              ? qe(e, t, n)
              : i) &&
          t in it &&
          (i = it[t]),
        "" === r || r
          ? ((t = parseFloat(i)), !0 === r || isFinite(t) ? t || 0 : i)
          : i
      );
    },
  }),
    T.each(["height", "width"], function (e, a) {
      T.cssHooks[a] = {
        get: function (e, t, r) {
          if (t)
            return !tt.test(T.css(e, "display")) ||
              (e.getClientRects().length && e.getBoundingClientRect().width)
              ? at(e, a, r)
              : De(e, nt, function () {
                  return at(e, a, r);
                });
        },
        set: function (e, t, r) {
          var n,
            i = Re(e),
            o = !b.scrollboxSize() && "absolute" === i.position,
            s = (o || r) && "border-box" === T.css(e, "boxSizing", !1, i),
            r = r ? st(e, a, r, s, i) : 0;
          return (
            s &&
              o &&
              (r -= Math.ceil(
                e["offset" + a[0].toUpperCase() + a.slice(1)] -
                  parseFloat(i[a]) -
                  st(e, a, "border", !1, i) -
                  0.5,
              )),
            r &&
              (n = te.exec(t)) &&
              "px" !== (n[3] || "px") &&
              ((e.style[a] = t), (t = T.css(e, a))),
            ot(0, t, r)
          );
        },
      };
    }),
    (T.cssHooks.marginLeft = Ve(b.reliableMarginLeft, function (e, t) {
      if (t)
        return (
          (parseFloat(qe(e, "marginLeft")) ||
            e.getBoundingClientRect().left -
              De(e, { marginLeft: 0 }, function () {
                return e.getBoundingClientRect().left;
              })) + "px"
        );
    })),
    T.each({ margin: "", padding: "", border: "Width" }, function (i, o) {
      ((T.cssHooks[i + o] = {
        expand: function (e) {
          for (
            var t = 0, r = {}, n = "string" == typeof e ? e.split(" ") : [e];
            t < 4;
            t++
          )
            r[i + re[t] + o] = n[t] || n[t - 2] || n[0];
          return r;
        },
      }),
        "margin" !== i && (T.cssHooks[i + o].set = ot));
    }),
    T.fn.extend({
      css: function (e, t) {
        return z(
          this,
          function (e, t, r) {
            var n,
              i,
              o = {},
              s = 0;
            if (Array.isArray(t)) {
              for (n = Re(e), i = t.length; s < i; s++)
                o[t[s]] = T.css(e, t[s], !1, n);
              return o;
            }
            return void 0 !== r ? T.style(e, t, r) : T.css(e, t);
          },
          e,
          t,
          1 < arguments.length,
        );
      },
    }),
    (((T.Tween = ct).prototype = {
      constructor: ct,
      init: function (e, t, r, n, i, o) {
        ((this.elem = e),
          (this.prop = r),
          (this.easing = i || T.easing._default),
          (this.options = t),
          (this.start = this.now = this.cur()),
          (this.end = n),
          (this.unit = o || (T.cssNumber[r] ? "" : "px")));
      },
      cur: function () {
        var e = ct.propHooks[this.prop];
        return (e && e.get ? e : ct.propHooks._default).get(this);
      },
      run: function (e) {
        var t,
          r = ct.propHooks[this.prop];
        return (
          this.options.duration
            ? (this.pos = t =
                T.easing[this.easing](
                  e,
                  this.options.duration * e,
                  0,
                  1,
                  this.options.duration,
                ))
            : (this.pos = t = e),
          (this.now = (this.end - this.start) * t + this.start),
          this.options.step &&
            this.options.step.call(this.elem, this.now, this),
          (r && r.set ? r : ct.propHooks._default).set(this),
          this
        );
      },
    }).init.prototype = ct.prototype),
    ((ct.propHooks = {
      _default: {
        get: function (e) {
          return 1 !== e.elem.nodeType ||
            (null != e.elem[e.prop] && null == e.elem.style[e.prop])
            ? e.elem[e.prop]
            : (e = T.css(e.elem, e.prop, "")) && "auto" !== e
              ? e
              : 0;
        },
        set: function (e) {
          T.fx.step[e.prop]
            ? T.fx.step[e.prop](e)
            : 1 !== e.elem.nodeType ||
                (!T.cssHooks[e.prop] && null == e.elem.style[et(e.prop)])
              ? (e.elem[e.prop] = e.now)
              : T.style(e.elem, e.prop, e.now + e.unit);
        },
      },
    }).scrollTop = ct.propHooks.scrollLeft =
      {
        set: function (e) {
          e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
        },
      }),
    (T.easing = {
      linear: function (e) {
        return e;
      },
      swing: function (e) {
        return 0.5 - Math.cos(e * Math.PI) / 2;
      },
      _default: "swing",
    }),
    (T.fx = ct.prototype.init),
    (T.fx.step = {}));
  var lt,
    ut,
    ht = /^(?:toggle|show|hide)$/,
    pt = /queueHooks$/;
  function dt() {
    ut &&
      (!1 === E.hidden && S.requestAnimationFrame
        ? S.requestAnimationFrame(dt)
        : S.setTimeout(dt, T.fx.interval),
      T.fx.tick());
  }
  function ft() {
    return (
      S.setTimeout(function () {
        lt = void 0;
      }),
      (lt = Date.now())
    );
  }
  function mt(e, t) {
    var r,
      n = 0,
      i = { height: e };
    for (t = t ? 1 : 0; n < 4; n += 2 - t)
      i["margin" + (r = re[n])] = i["padding" + r] = e;
    return (t && (i.opacity = i.width = e), i);
  }
  function gt(e, t, r) {
    for (
      var n,
        i = (vt.tweeners[t] || []).concat(vt.tweeners["*"]),
        o = 0,
        s = i.length;
      o < s;
      o++
    )
      if ((n = i[o].call(r, t, e))) return n;
  }
  function vt(i, e, t) {
    var r,
      o,
      n = 0,
      s = vt.prefilters.length,
      a = T.Deferred().always(function () {
        delete c.elem;
      }),
      c = function () {
        if (o) return !1;
        for (
          var e = lt || ft(),
            e = Math.max(0, l.startTime + l.duration - e),
            t = 1 - (e / l.duration || 0),
            r = 0,
            n = l.tweens.length;
          r < n;
          r++
        )
          l.tweens[r].run(t);
        return (
          a.notifyWith(i, [l, t, e]),
          t < 1 && n
            ? e
            : (n || a.notifyWith(i, [l, 1, 0]), a.resolveWith(i, [l]), !1)
        );
      },
      l = a.promise({
        elem: i,
        props: T.extend({}, e),
        opts: T.extend(!0, { specialEasing: {}, easing: T.easing._default }, t),
        originalProperties: e,
        originalOptions: t,
        startTime: lt || ft(),
        duration: t.duration,
        tweens: [],
        createTween: function (e, t) {
          e = T.Tween(
            i,
            l.opts,
            e,
            t,
            l.opts.specialEasing[e] || l.opts.easing,
          );
          return (l.tweens.push(e), e);
        },
        stop: function (e) {
          var t = 0,
            r = e ? l.tweens.length : 0;
          if (o) return this;
          for (o = !0; t < r; t++) l.tweens[t].run(1);
          return (
            e
              ? (a.notifyWith(i, [l, 1, 0]), a.resolveWith(i, [l, e]))
              : a.rejectWith(i, [l, e]),
            this
          );
        },
      }),
      u = l.props;
    for (
      (function (e, t) {
        var r, n, i, o, s;
        for (r in e)
          if (
            ((i = t[(n = G(r))]),
            (o = e[r]),
            Array.isArray(o) && ((i = o[1]), (o = e[r] = o[0])),
            r !== n && ((e[n] = o), delete e[r]),
            (s = T.cssHooks[n]) && ("expand" in s))
          )
            for (r in ((o = s.expand(o)), delete e[n], o))
              (r in e) || ((e[r] = o[r]), (t[r] = i));
          else t[n] = i;
      })(u, l.opts.specialEasing);
      n < s;
      n++
    )
      if ((r = vt.prefilters[n].call(l, i, u, l.opts)))
        return (
          m(r.stop) &&
            (T._queueHooks(l.elem, l.opts.queue).stop = r.stop.bind(r)),
          r
        );
    return (
      T.map(u, gt, l),
      m(l.opts.start) && l.opts.start.call(i, l),
      l
        .progress(l.opts.progress)
        .done(l.opts.done, l.opts.complete)
        .fail(l.opts.fail)
        .always(l.opts.always),
      T.fx.timer(T.extend(c, { elem: i, anim: l, queue: l.opts.queue })),
      l
    );
  }
  ((T.Animation = T.extend(vt, {
    tweeners: {
      "*": [
        function (e, t) {
          var r = this.createTween(e, t);
          return (ae(r.elem, e, te.exec(t), r), r);
        },
      ],
    },
    tweener: function (e, t) {
      for (
        var r, n = 0, i = (e = m(e) ? ((t = e), ["*"]) : e.match(R)).length;
        n < i;
        n++
      )
        ((r = e[n]),
          (vt.tweeners[r] = vt.tweeners[r] || []),
          vt.tweeners[r].unshift(t));
    },
    prefilters: [
      function (e, t, r) {
        var n,
          i,
          o,
          s,
          a,
          c,
          l,
          u = "width" in t || "height" in t,
          h = this,
          p = {},
          d = e.style,
          f = e.nodeType && se(e),
          m = X.get(e, "fxshow");
        for (n in (r.queue ||
          (null == (s = T._queueHooks(e, "fx")).unqueued &&
            ((s.unqueued = 0),
            (a = s.empty.fire),
            (s.empty.fire = function () {
              s.unqueued || a();
            })),
          s.unqueued++,
          h.always(function () {
            h.always(function () {
              (s.unqueued--, T.queue(e, "fx").length || s.empty.fire());
            });
          })),
        t))
          if (((i = t[n]), ht.test(i))) {
            if (
              (delete t[n],
              (o = o || "toggle" === i),
              i === (f ? "hide" : "show"))
            ) {
              if ("show" !== i || !m || void 0 === m[n]) continue;
              f = !0;
            }
            p[n] = (m && m[n]) || T.style(e, n);
          }
        if ((c = !T.isEmptyObject(t)) || !T.isEmptyObject(p))
          for (n in (u &&
            1 === e.nodeType &&
            ((r.overflow = [d.overflow, d.overflowX, d.overflowY]),
            null == (l = m && m.display) && (l = X.get(e, "display")),
            "none" === (u = T.css(e, "display")) &&
              (l
                ? (u = l)
                : (le([e], !0),
                  (l = e.style.display || l),
                  (u = T.css(e, "display")),
                  le([e]))),
            ("inline" === u || ("inline-block" === u && null != l)) &&
              "none" === T.css(e, "float") &&
              (c ||
                (h.done(function () {
                  d.display = l;
                }),
                null == l && ((u = d.display), (l = "none" === u ? "" : u))),
              (d.display = "inline-block"))),
          r.overflow &&
            ((d.overflow = "hidden"),
            h.always(function () {
              ((d.overflow = r.overflow[0]),
                (d.overflowX = r.overflow[1]),
                (d.overflowY = r.overflow[2]));
            })),
          (c = !1),
          p))
            (c ||
              (m
                ? "hidden" in m && (f = m.hidden)
                : (m = X.access(e, "fxshow", { display: l })),
              o && (m.hidden = !f),
              f && le([e], !0),
              h.done(function () {
                for (n in (f || le([e]), X.remove(e, "fxshow"), p))
                  T.style(e, n, p[n]);
              })),
              (c = gt(f ? m[n] : 0, n, h)),
              n in m ||
                ((m[n] = c.start), f && ((c.end = c.start), (c.start = 0))));
      },
    ],
    prefilter: function (e, t) {
      t ? vt.prefilters.unshift(e) : vt.prefilters.push(e);
    },
  })),
    (T.speed = function (e, t, r) {
      var n =
        e && "object" == typeof e
          ? T.extend({}, e)
          : {
              complete: r || (!r && t) || (m(e) && e),
              duration: e,
              easing: (r && t) || (t && !m(t) && t),
            };
      return (
        T.fx.off
          ? (n.duration = 0)
          : "number" != typeof n.duration &&
            (n.duration in T.fx.speeds
              ? (n.duration = T.fx.speeds[n.duration])
              : (n.duration = T.fx.speeds._default)),
        (null != n.queue && !0 !== n.queue) || (n.queue = "fx"),
        (n.old = n.complete),
        (n.complete = function () {
          (m(n.old) && n.old.call(this), n.queue && T.dequeue(this, n.queue));
        }),
        n
      );
    }),
    T.fn.extend({
      fadeTo: function (e, t, r, n) {
        return this.filter(se)
          .css("opacity", 0)
          .show()
          .end()
          .animate({ opacity: t }, e, r, n);
      },
      animate: function (t, e, r, n) {
        function i() {
          var e = vt(this, T.extend({}, t), s);
          (o || X.get(this, "finish")) && e.stop(!0);
        }
        var o = T.isEmptyObject(t),
          s = T.speed(e, r, n);
        return (
          (i.finish = i),
          o || !1 === s.queue ? this.each(i) : this.queue(s.queue, i)
        );
      },
      stop: function (i, e, o) {
        function s(e) {
          var t = e.stop;
          (delete e.stop, t(o));
        }
        return (
          "string" != typeof i && ((o = e), (e = i), (i = void 0)),
          e && this.queue(i || "fx", []),
          this.each(function () {
            var e = !0,
              t = null != i && i + "queueHooks",
              r = T.timers,
              n = X.get(this);
            if (t) n[t] && n[t].stop && s(n[t]);
            else for (t in n) n[t] && n[t].stop && pt.test(t) && s(n[t]);
            for (t = r.length; t--; )
              r[t].elem !== this ||
                (null != i && r[t].queue !== i) ||
                (r[t].anim.stop(o), (e = !1), r.splice(t, 1));
            (!e && o) || T.dequeue(this, i);
          })
        );
      },
      finish: function (s) {
        return (
          !1 !== s && (s = s || "fx"),
          this.each(function () {
            var e,
              t = X.get(this),
              r = t[s + "queue"],
              n = t[s + "queueHooks"],
              i = T.timers,
              o = r ? r.length : 0;
            for (
              t.finish = !0,
                T.queue(this, s, []),
                n && n.stop && n.stop.call(this, !0),
                e = i.length;
              e--;

            )
              i[e].elem === this &&
                i[e].queue === s &&
                (i[e].anim.stop(!0), i.splice(e, 1));
            for (e = 0; e < o; e++)
              r[e] && r[e].finish && r[e].finish.call(this);
            delete t.finish;
          })
        );
      },
    }),
    T.each(["toggle", "show", "hide"], function (e, n) {
      var i = T.fn[n];
      T.fn[n] = function (e, t, r) {
        return null == e || "boolean" == typeof e
          ? i.apply(this, arguments)
          : this.animate(mt(n, !0), e, t, r);
      };
    }),
    T.each(
      {
        slideDown: mt("show"),
        slideUp: mt("hide"),
        slideToggle: mt("toggle"),
        fadeIn: { opacity: "show" },
        fadeOut: { opacity: "hide" },
        fadeToggle: { opacity: "toggle" },
      },
      function (e, n) {
        T.fn[e] = function (e, t, r) {
          return this.animate(n, e, t, r);
        };
      },
    ),
    (T.timers = []),
    (T.fx.tick = function () {
      var e,
        t = 0,
        r = T.timers;
      for (lt = Date.now(); t < r.length; t++)
        (e = r[t])() || r[t] !== e || r.splice(t--, 1);
      (r.length || T.fx.stop(), (lt = void 0));
    }),
    (T.fx.timer = function (e) {
      (T.timers.push(e), T.fx.start());
    }),
    (T.fx.interval = 13),
    (T.fx.start = function () {
      ut || ((ut = !0), dt());
    }),
    (T.fx.stop = function () {
      ut = null;
    }),
    (T.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
    (T.fn.delay = function (n, e) {
      return (
        (n = (T.fx && T.fx.speeds[n]) || n),
        this.queue((e = e || "fx"), function (e, t) {
          var r = S.setTimeout(e, n);
          t.stop = function () {
            S.clearTimeout(r);
          };
        })
      );
    }),
    (h = E.createElement("input")),
    (ee = E.createElement("select").appendChild(E.createElement("option"))),
    (h.type = "checkbox"),
    (b.checkOn = "" !== h.value),
    (b.optSelected = ee.selected),
    ((h = E.createElement("input")).value = "t"),
    (h.type = "radio"),
    (b.radioValue = "t" === h.value));
  var yt,
    bt = T.expr.attrHandle;
  (T.fn.extend({
    attr: function (e, t) {
      return z(this, T.attr, e, t, 1 < arguments.length);
    },
    removeAttr: function (e) {
      return this.each(function () {
        T.removeAttr(this, e);
      });
    },
  }),
    T.extend({
      attr: function (e, t, r) {
        var n,
          i,
          o = e.nodeType;
        if (3 !== o && 8 !== o && 2 !== o)
          return void 0 === e.getAttribute
            ? T.prop(e, t, r)
            : ((1 === o && T.isXMLDoc(e)) ||
                (i =
                  T.attrHooks[t.toLowerCase()] ||
                  (T.expr.match.bool.test(t) ? yt : void 0)),
              void 0 !== r
                ? null === r
                  ? void T.removeAttr(e, t)
                  : i && "set" in i && void 0 !== (n = i.set(e, r, t))
                    ? n
                    : (e.setAttribute(t, r + ""), r)
                : !(i && "get" in i && null !== (n = i.get(e, t))) &&
                    null == (n = T.find.attr(e, t))
                  ? void 0
                  : n);
      },
      attrHooks: {
        type: {
          set: function (e, t) {
            if (!b.radioValue && "radio" === t && k(e, "input")) {
              var r = e.value;
              return (e.setAttribute("type", t), r && (e.value = r), t);
            }
          },
        },
      },
      removeAttr: function (e, t) {
        var r,
          n = 0,
          i = t && t.match(R);
        if (i && 1 === e.nodeType) for (; (r = i[n++]); ) e.removeAttribute(r);
      },
    }),
    (yt = {
      set: function (e, t, r) {
        return (!1 === t ? T.removeAttr(e, r) : e.setAttribute(r, r), r);
      },
    }),
    T.each(T.expr.match.bool.source.match(/\w+/g), function (e, t) {
      var s = bt[t] || T.find.attr;
      bt[t] = function (e, t, r) {
        var n,
          i,
          o = t.toLowerCase();
        return (
          r ||
            ((i = bt[o]),
            (bt[o] = n),
            (n = null != s(e, t, r) ? o : null),
            (bt[o] = i)),
          n
        );
      };
    }));
  var wt = /^(?:input|select|textarea|button)$/i,
    xt = /^(?:a|area)$/i;
  function St(e) {
    return (e.match(R) || []).join(" ");
  }
  function Et(e) {
    return (e.getAttribute && e.getAttribute("class")) || "";
  }
  function Tt(e) {
    return Array.isArray(e) ? e : ("string" == typeof e && e.match(R)) || [];
  }
  (T.fn.extend({
    prop: function (e, t) {
      return z(this, T.prop, e, t, 1 < arguments.length);
    },
    removeProp: function (e) {
      return this.each(function () {
        delete this[T.propFix[e] || e];
      });
    },
  }),
    T.extend({
      prop: function (e, t, r) {
        var n,
          i,
          o = e.nodeType;
        if (3 !== o && 8 !== o && 2 !== o)
          return (
            (1 === o && T.isXMLDoc(e)) ||
              ((t = T.propFix[t] || t), (i = T.propHooks[t])),
            void 0 !== r
              ? i && "set" in i && void 0 !== (n = i.set(e, r, t))
                ? n
                : (e[t] = r)
              : i && "get" in i && null !== (n = i.get(e, t))
                ? n
                : e[t]
          );
      },
      propHooks: {
        tabIndex: {
          get: function (e) {
            var t = T.find.attr(e, "tabindex");
            return t
              ? parseInt(t, 10)
              : wt.test(e.nodeName) || (xt.test(e.nodeName) && e.href)
                ? 0
                : -1;
          },
        },
      },
      propFix: { for: "htmlFor", class: "className" },
    }),
    b.optSelected ||
      (T.propHooks.selected = {
        get: function (e) {
          e = e.parentNode;
          return (e && e.parentNode && e.parentNode.selectedIndex, null);
        },
        set: function (e) {
          e = e.parentNode;
          e && (e.selectedIndex, e.parentNode && e.parentNode.selectedIndex);
        },
      }),
    T.each(
      [
        "tabIndex",
        "readOnly",
        "maxLength",
        "cellSpacing",
        "cellPadding",
        "rowSpan",
        "colSpan",
        "useMap",
        "frameBorder",
        "contentEditable",
      ],
      function () {
        T.propFix[this.toLowerCase()] = this;
      },
    ),
    T.fn.extend({
      addClass: function (t) {
        var e,
          r,
          n,
          i,
          o,
          s,
          a = 0;
        if (m(t))
          return this.each(function (e) {
            T(this).addClass(t.call(this, e, Et(this)));
          });
        if ((e = Tt(t)).length)
          for (; (r = this[a++]); )
            if (((s = Et(r)), (n = 1 === r.nodeType && " " + St(s) + " "))) {
              for (o = 0; (i = e[o++]); )
                n.indexOf(" " + i + " ") < 0 && (n += i + " ");
              s !== (s = St(n)) && r.setAttribute("class", s);
            }
        return this;
      },
      removeClass: function (t) {
        var e,
          r,
          n,
          i,
          o,
          s,
          a = 0;
        if (m(t))
          return this.each(function (e) {
            T(this).removeClass(t.call(this, e, Et(this)));
          });
        if (!arguments.length) return this.attr("class", "");
        if ((e = Tt(t)).length)
          for (; (r = this[a++]); )
            if (((s = Et(r)), (n = 1 === r.nodeType && " " + St(s) + " "))) {
              for (o = 0; (i = e[o++]); )
                for (; -1 < n.indexOf(" " + i + " "); )
                  n = n.replace(" " + i + " ", " ");
              s !== (s = St(n)) && r.setAttribute("class", s);
            }
        return this;
      },
      toggleClass: function (i, t) {
        var o = typeof i,
          s = "string" == o || Array.isArray(i);
        return "boolean" == typeof t && s
          ? t
            ? this.addClass(i)
            : this.removeClass(i)
          : m(i)
            ? this.each(function (e) {
                T(this).toggleClass(i.call(this, e, Et(this), t), t);
              })
            : this.each(function () {
                var e, t, r, n;
                if (s)
                  for (t = 0, r = T(this), n = Tt(i); (e = n[t++]); )
                    r.hasClass(e) ? r.removeClass(e) : r.addClass(e);
                else
                  (void 0 !== i && "boolean" != o) ||
                    ((e = Et(this)) && X.set(this, "__className__", e),
                    this.setAttribute &&
                      this.setAttribute(
                        "class",
                        (!e && !1 !== i && X.get(this, "__className__")) || "",
                      ));
              });
      },
      hasClass: function (e) {
        for (var t, r = 0, n = " " + e + " "; (t = this[r++]); )
          if (1 === t.nodeType && -1 < (" " + St(Et(t)) + " ").indexOf(n))
            return !0;
        return !1;
      },
    }));
  var Ct = /\r/g;
  (T.fn.extend({
    val: function (t) {
      var r,
        e,
        n,
        i = this[0];
      return arguments.length
        ? ((n = m(t)),
          this.each(function (e) {
            1 === this.nodeType &&
              (null == (e = n ? t.call(this, e, T(this).val()) : t)
                ? (e = "")
                : "number" == typeof e
                  ? (e += "")
                  : Array.isArray(e) &&
                    (e = T.map(e, function (e) {
                      return null == e ? "" : e + "";
                    })),
              ((r =
                T.valHooks[this.type] ||
                T.valHooks[this.nodeName.toLowerCase()]) &&
                "set" in r &&
                void 0 !== r.set(this, e, "value")) ||
                (this.value = e));
          }))
        : i
          ? (r = T.valHooks[i.type] || T.valHooks[i.nodeName.toLowerCase()]) &&
            "get" in r &&
            void 0 !== (e = r.get(i, "value"))
            ? e
            : "string" == typeof (e = i.value)
              ? e.replace(Ct, "")
              : null == e
                ? ""
                : e
          : void 0;
    },
  }),
    T.extend({
      valHooks: {
        option: {
          get: function (e) {
            var t = T.find.attr(e, "value");
            return null != t ? t : St(T.text(e));
          },
        },
        select: {
          get: function (e) {
            for (
              var t,
                r = e.options,
                n = e.selectedIndex,
                i = "select-one" === e.type,
                o = i ? null : [],
                s = i ? n + 1 : r.length,
                a = n < 0 ? s : i ? n : 0;
              a < s;
              a++
            )
              if (
                ((t = r[a]).selected || a === n) &&
                !t.disabled &&
                (!t.parentNode.disabled || !k(t.parentNode, "optgroup"))
              ) {
                if (((t = T(t).val()), i)) return t;
                o.push(t);
              }
            return o;
          },
          set: function (e, t) {
            for (
              var r, n, i = e.options, o = T.makeArray(t), s = i.length;
              s--;

            )
              ((n = i[s]).selected =
                -1 < T.inArray(T.valHooks.option.get(n), o)) && (r = !0);
            return (r || (e.selectedIndex = -1), o);
          },
        },
      },
    }),
    T.each(["radio", "checkbox"], function () {
      ((T.valHooks[this] = {
        set: function (e, t) {
          if (Array.isArray(t))
            return (e.checked = -1 < T.inArray(T(e).val(), t));
        },
      }),
        b.checkOn ||
          (T.valHooks[this].get = function (e) {
            return null === e.getAttribute("value") ? "on" : e.value;
          }));
    }),
    (b.focusin = "onfocusin" in S));
  function Pt(e) {
    e.stopPropagation();
  }
  var kt = /^(?:focusinfocus|focusoutblur)$/;
  (T.extend(T.event, {
    trigger: function (e, t, r, n) {
      var i,
        o,
        s,
        a,
        c,
        l,
        u,
        h = [r || E],
        p = y.call(e, "type") ? e.type : e,
        d = y.call(e, "namespace") ? e.namespace.split(".") : [],
        f = (u = o = r = r || E);
      if (
        3 !== r.nodeType &&
        8 !== r.nodeType &&
        !kt.test(p + T.event.triggered) &&
        (-1 < p.indexOf(".") && ((p = (d = p.split(".")).shift()), d.sort()),
        (a = p.indexOf(":") < 0 && "on" + p),
        ((e = e[T.expando]
          ? e
          : new T.Event(p, "object" == typeof e && e)).isTrigger = n ? 2 : 3),
        (e.namespace = d.join(".")),
        (e.rnamespace = e.namespace
          ? new RegExp("(^|\\.)" + d.join("\\.(?:.*\\.|)") + "(\\.|$)")
          : null),
        (e.result = void 0),
        e.target || (e.target = r),
        (t = null == t ? [e] : T.makeArray(t, [e])),
        (l = T.event.special[p] || {}),
        n || !l.trigger || !1 !== l.trigger.apply(r, t))
      ) {
        if (!n && !l.noBubble && !g(r)) {
          for (
            s = l.delegateType || p, kt.test(s + p) || (f = f.parentNode);
            f;
            f = f.parentNode
          )
            (h.push(f), (o = f));
          o === (r.ownerDocument || E) &&
            h.push(o.defaultView || o.parentWindow || S);
        }
        for (i = 0; (f = h[i++]) && !e.isPropagationStopped(); )
          ((u = f),
            (e.type = 1 < i ? s : l.bindType || p),
            (c =
              (X.get(f, "events") || Object.create(null))[e.type] &&
              X.get(f, "handle")) && c.apply(f, t),
            (c = a && f[a]) &&
              c.apply &&
              q(f) &&
              ((e.result = c.apply(f, t)),
              !1 === e.result && e.preventDefault()));
        return (
          (e.type = p),
          n ||
            e.isDefaultPrevented() ||
            (l._default && !1 !== l._default.apply(h.pop(), t)) ||
            !q(r) ||
            (a &&
              m(r[p]) &&
              !g(r) &&
              ((o = r[a]) && (r[a] = null),
              (T.event.triggered = p),
              e.isPropagationStopped() && u.addEventListener(p, Pt),
              r[p](),
              e.isPropagationStopped() && u.removeEventListener(p, Pt),
              (T.event.triggered = void 0),
              o && (r[a] = o))),
          e.result
        );
      }
    },
    simulate: function (e, t, r) {
      e = T.extend(new T.Event(), r, { type: e, isSimulated: !0 });
      T.event.trigger(e, null, t);
    },
  }),
    T.fn.extend({
      trigger: function (e, t) {
        return this.each(function () {
          T.event.trigger(e, t, this);
        });
      },
      triggerHandler: function (e, t) {
        var r = this[0];
        if (r) return T.event.trigger(e, t, r, !0);
      },
    }),
    b.focusin ||
      T.each({ focus: "focusin", blur: "focusout" }, function (r, n) {
        function i(e) {
          T.event.simulate(n, e.target, T.event.fix(e));
        }
        T.event.special[n] = {
          setup: function () {
            var e = this.ownerDocument || this.document || this,
              t = X.access(e, n);
            (t || e.addEventListener(r, i, !0), X.access(e, n, (t || 0) + 1));
          },
          teardown: function () {
            var e = this.ownerDocument || this.document || this,
              t = X.access(e, n) - 1;
            t
              ? X.access(e, n, t)
              : (e.removeEventListener(r, i, !0), X.remove(e, n));
          },
        };
      }));
  var At = S.location,
    _t = { guid: Date.now() },
    It = /\?/;
  T.parseXML = function (e) {
    var t;
    if (!e || "string" != typeof e) return null;
    try {
      t = new S.DOMParser().parseFromString(e, "text/xml");
    } catch (e) {
      t = void 0;
    }
    return (
      (t && !t.getElementsByTagName("parsererror").length) ||
        T.error("Invalid XML: " + e),
      t
    );
  };
  var Ot = /\[\]$/,
    Lt = /\r?\n/g,
    Ht = /^(?:submit|button|image|reset|file)$/i,
    Nt = /^(?:input|select|textarea|keygen)/i;
  ((T.param = function (e, t) {
    function r(e, t) {
      ((t = m(t) ? t() : t),
        (i[i.length] =
          encodeURIComponent(e) +
          "=" +
          encodeURIComponent(null == t ? "" : t)));
    }
    var n,
      i = [];
    if (null == e) return "";
    if (Array.isArray(e) || (e.jquery && !T.isPlainObject(e)))
      T.each(e, function () {
        r(this.name, this.value);
      });
    else
      for (n in e)
        !(function r(n, e, i, o) {
          if (Array.isArray(e))
            T.each(e, function (e, t) {
              i || Ot.test(n)
                ? o(n, t)
                : r(
                    n +
                      "[" +
                      ("object" == typeof t && null != t ? e : "") +
                      "]",
                    t,
                    i,
                    o,
                  );
            });
          else if (i || "object" !== f(e)) o(n, e);
          else for (var t in e) r(n + "[" + t + "]", e[t], i, o);
        })(n, e[n], t, r);
    return i.join("&");
  }),
    T.fn.extend({
      serialize: function () {
        return T.param(this.serializeArray());
      },
      serializeArray: function () {
        return this.map(function () {
          var e = T.prop(this, "elements");
          return e ? T.makeArray(e) : this;
        })
          .filter(function () {
            var e = this.type;
            return (
              this.name &&
              !T(this).is(":disabled") &&
              Nt.test(this.nodeName) &&
              !Ht.test(e) &&
              (this.checked || !ue.test(e))
            );
          })
          .map(function (e, t) {
            var r = T(this).val();
            return null == r
              ? null
              : Array.isArray(r)
                ? T.map(r, function (e) {
                    return { name: t.name, value: e.replace(Lt, "\r\n") };
                  })
                : { name: t.name, value: r.replace(Lt, "\r\n") };
          })
          .get();
      },
    }));
  var Rt = /%20/g,
    Dt = /#.*$/,
    Bt = /([?&])_=[^&]*/,
    Ft = /^(.*?):[ \t]*([^\r\n]*)$/gm,
    Mt = /^(?:GET|HEAD)$/,
    jt = /^\/\//,
    Ut = {},
    zt = {},
    Wt = "*/".concat("*"),
    $t = E.createElement("a");
  function Kt(o) {
    return function (e, t) {
      "string" != typeof e && ((t = e), (e = "*"));
      var r,
        n = 0,
        i = e.toLowerCase().match(R) || [];
      if (m(t))
        for (; (r = i[n++]); )
          "+" === r[0]
            ? ((r = r.slice(1) || "*"), (o[r] = o[r] || []).unshift(t))
            : (o[r] = o[r] || []).push(t);
    };
  }
  function Gt(t, n, i, o) {
    var s = {},
      a = t === zt;
    function c(e) {
      var r;
      return (
        (s[e] = !0),
        T.each(t[e] || [], function (e, t) {
          t = t(n, i, o);
          return "string" != typeof t || a || s[t]
            ? a
              ? !(r = t)
              : void 0
            : (n.dataTypes.unshift(t), c(t), !1);
        }),
        r
      );
    }
    return c(n.dataTypes[0]) || (!s["*"] && c("*"));
  }
  function qt(e, t) {
    var r,
      n,
      i = T.ajaxSettings.flatOptions || {};
    for (r in t) void 0 !== t[r] && ((i[r] ? e : (n = n || {}))[r] = t[r]);
    return (n && T.extend(!0, e, n), e);
  }
  (($t.href = At.href),
    T.extend({
      active: 0,
      lastModified: {},
      etag: {},
      ajaxSettings: {
        url: At.href,
        type: "GET",
        isLocal:
          /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(
            At.protocol,
          ),
        global: !0,
        processData: !0,
        async: !0,
        contentType: "application/x-www-form-urlencoded; charset=UTF-8",
        accepts: {
          "*": Wt,
          text: "text/plain",
          html: "text/html",
          xml: "application/xml, text/xml",
          json: "application/json, text/javascript",
        },
        contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ },
        responseFields: {
          xml: "responseXML",
          text: "responseText",
          json: "responseJSON",
        },
        converters: {
          "* text": String,
          "text html": !0,
          "text json": JSON.parse,
          "text xml": T.parseXML,
        },
        flatOptions: { url: !0, context: !0 },
      },
      ajaxSetup: function (e, t) {
        return t ? qt(qt(e, T.ajaxSettings), t) : qt(T.ajaxSettings, e);
      },
      ajaxPrefilter: Kt(Ut),
      ajaxTransport: Kt(zt),
      ajax: function (e, t) {
        "object" == typeof e && ((t = e), (e = void 0));
        var c,
          l,
          u,
          r,
          h,
          p,
          d,
          n,
          i,
          f = T.ajaxSetup({}, (t = t || {})),
          m = f.context || f,
          g = f.context && (m.nodeType || m.jquery) ? T(m) : T.event,
          v = T.Deferred(),
          y = T.Callbacks("once memory"),
          b = f.statusCode || {},
          o = {},
          s = {},
          a = "canceled",
          w = {
            readyState: 0,
            getResponseHeader: function (e) {
              var t;
              if (p) {
                if (!r)
                  for (r = {}; (t = Ft.exec(u)); )
                    r[t[1].toLowerCase() + " "] = (
                      r[t[1].toLowerCase() + " "] || []
                    ).concat(t[2]);
                t = r[e.toLowerCase() + " "];
              }
              return null == t ? null : t.join(", ");
            },
            getAllResponseHeaders: function () {
              return p ? u : null;
            },
            setRequestHeader: function (e, t) {
              return (
                null == p &&
                  ((e = s[e.toLowerCase()] = s[e.toLowerCase()] || e),
                  (o[e] = t)),
                this
              );
            },
            overrideMimeType: function (e) {
              return (null == p && (f.mimeType = e), this);
            },
            statusCode: function (e) {
              if (e)
                if (p) w.always(e[w.status]);
                else for (var t in e) b[t] = [b[t], e[t]];
              return this;
            },
            abort: function (e) {
              e = e || a;
              return (c && c.abort(e), x(0, e), this);
            },
          };
        if (
          (v.promise(w),
          (f.url = ((e || f.url || At.href) + "").replace(
            jt,
            At.protocol + "//",
          )),
          (f.type = t.method || t.type || f.method || f.type),
          (f.dataTypes = (f.dataType || "*").toLowerCase().match(R) || [""]),
          null == f.crossDomain)
        ) {
          i = E.createElement("a");
          try {
            ((i.href = f.url),
              (i.href = i.href),
              (f.crossDomain =
                $t.protocol + "//" + $t.host != i.protocol + "//" + i.host));
          } catch (e) {
            f.crossDomain = !0;
          }
        }
        if (
          (f.data &&
            f.processData &&
            "string" != typeof f.data &&
            (f.data = T.param(f.data, f.traditional)),
          Gt(Ut, f, t, w),
          p)
        )
          return w;
        for (n in ((d = T.event && f.global) &&
          0 == T.active++ &&
          T.event.trigger("ajaxStart"),
        (f.type = f.type.toUpperCase()),
        (f.hasContent = !Mt.test(f.type)),
        (l = f.url.replace(Dt, "")),
        f.hasContent
          ? f.data &&
            f.processData &&
            0 ===
              (f.contentType || "").indexOf(
                "application/x-www-form-urlencoded",
              ) &&
            (f.data = f.data.replace(Rt, "+"))
          : ((i = f.url.slice(l.length)),
            f.data &&
              (f.processData || "string" == typeof f.data) &&
              ((l += (It.test(l) ? "&" : "?") + f.data), delete f.data),
            !1 === f.cache &&
              ((l = l.replace(Bt, "$1")),
              (i = (It.test(l) ? "&" : "?") + "_=" + _t.guid++ + i)),
            (f.url = l + i)),
        f.ifModified &&
          (T.lastModified[l] &&
            w.setRequestHeader("If-Modified-Since", T.lastModified[l]),
          T.etag[l] && w.setRequestHeader("If-None-Match", T.etag[l])),
        ((f.data && f.hasContent && !1 !== f.contentType) || t.contentType) &&
          w.setRequestHeader("Content-Type", f.contentType),
        w.setRequestHeader(
          "Accept",
          f.dataTypes[0] && f.accepts[f.dataTypes[0]]
            ? f.accepts[f.dataTypes[0]] +
                ("*" !== f.dataTypes[0] ? ", " + Wt + "; q=0.01" : "")
            : f.accepts["*"],
        ),
        f.headers))
          w.setRequestHeader(n, f.headers[n]);
        if (f.beforeSend && (!1 === f.beforeSend.call(m, w, f) || p))
          return w.abort();
        if (
          ((a = "abort"),
          y.add(f.complete),
          w.done(f.success),
          w.fail(f.error),
          (c = Gt(zt, f, t, w)))
        ) {
          if (((w.readyState = 1), d && g.trigger("ajaxSend", [w, f]), p))
            return w;
          f.async &&
            0 < f.timeout &&
            (h = S.setTimeout(function () {
              w.abort("timeout");
            }, f.timeout));
          try {
            ((p = !1), c.send(o, x));
          } catch (e) {
            if (p) throw e;
            x(-1, e);
          }
        } else x(-1, "No Transport");
        function x(e, t, r, n) {
          var i,
            o,
            s,
            a = t;
          p ||
            ((p = !0),
            h && S.clearTimeout(h),
            (c = void 0),
            (u = n || ""),
            (w.readyState = 0 < e ? 4 : 0),
            (n = (200 <= e && e < 300) || 304 === e),
            r &&
              (s = (function (e, t, r) {
                for (
                  var n, i, o, s, a = e.contents, c = e.dataTypes;
                  "*" === c[0];

                )
                  (c.shift(),
                    void 0 === n &&
                      (n = e.mimeType || t.getResponseHeader("Content-Type")));
                if (n)
                  for (i in a)
                    if (a[i] && a[i].test(n)) {
                      c.unshift(i);
                      break;
                    }
                if (c[0] in r) o = c[0];
                else {
                  for (i in r) {
                    if (!c[0] || e.converters[i + " " + c[0]]) {
                      o = i;
                      break;
                    }
                    s = s || i;
                  }
                  o = o || s;
                }
                if (o) return (o !== c[0] && c.unshift(o), r[o]);
              })(f, w, r)),
            !n &&
              -1 < T.inArray("script", f.dataTypes) &&
              (f.converters["text script"] = function () {}),
            (s = (function (e, t, r, n) {
              var i,
                o,
                s,
                a,
                c,
                l = {},
                u = e.dataTypes.slice();
              if (u[1])
                for (s in e.converters) l[s.toLowerCase()] = e.converters[s];
              for (o = u.shift(); o; )
                if (
                  (e.responseFields[o] && (r[e.responseFields[o]] = t),
                  !c && n && e.dataFilter && (t = e.dataFilter(t, e.dataType)),
                  (c = o),
                  (o = u.shift()))
                )
                  if ("*" === o) o = c;
                  else if ("*" !== c && c !== o) {
                    if (!(s = l[c + " " + o] || l["* " + o]))
                      for (i in l)
                        if (
                          (a = i.split(" "))[1] === o &&
                          (s = l[c + " " + a[0]] || l["* " + a[0]])
                        ) {
                          !0 === s
                            ? (s = l[i])
                            : !0 !== l[i] && ((o = a[0]), u.unshift(a[1]));
                          break;
                        }
                    if (!0 !== s)
                      if (s && e.throws) t = s(t);
                      else
                        try {
                          t = s(t);
                        } catch (e) {
                          return {
                            state: "parsererror",
                            error: s
                              ? e
                              : "No conversion from " + c + " to " + o,
                          };
                        }
                  }
              return { state: "success", data: t };
            })(f, s, w, n)),
            n
              ? (f.ifModified &&
                  ((r = w.getResponseHeader("Last-Modified")) &&
                    (T.lastModified[l] = r),
                  (r = w.getResponseHeader("etag")) && (T.etag[l] = r)),
                204 === e || "HEAD" === f.type
                  ? (a = "nocontent")
                  : 304 === e
                    ? (a = "notmodified")
                    : ((a = s.state), (i = s.data), (n = !(o = s.error))))
              : ((o = a), (!e && a) || ((a = "error"), e < 0 && (e = 0))),
            (w.status = e),
            (w.statusText = (t || a) + ""),
            n ? v.resolveWith(m, [i, a, w]) : v.rejectWith(m, [w, a, o]),
            w.statusCode(b),
            (b = void 0),
            d && g.trigger(n ? "ajaxSuccess" : "ajaxError", [w, f, n ? i : o]),
            y.fireWith(m, [w, a]),
            d &&
              (g.trigger("ajaxComplete", [w, f]),
              --T.active || T.event.trigger("ajaxStop")));
        }
        return w;
      },
      getJSON: function (e, t, r) {
        return T.get(e, t, r, "json");
      },
      getScript: function (e, t) {
        return T.get(e, void 0, t, "script");
      },
    }),
    T.each(["get", "post"], function (e, i) {
      T[i] = function (e, t, r, n) {
        return (
          m(t) && ((n = n || r), (r = t), (t = void 0)),
          T.ajax(
            T.extend(
              { url: e, type: i, dataType: n, data: t, success: r },
              T.isPlainObject(e) && e,
            ),
          )
        );
      };
    }),
    T.ajaxPrefilter(function (e) {
      for (var t in e.headers)
        "content-type" === t.toLowerCase() &&
          (e.contentType = e.headers[t] || "");
    }),
    (T._evalUrl = function (e, t, r) {
      return T.ajax({
        url: e,
        type: "GET",
        dataType: "script",
        cache: !0,
        async: !1,
        global: !1,
        converters: { "text script": function () {} },
        dataFilter: function (e) {
          T.globalEval(e, t, r);
        },
      });
    }),
    T.fn.extend({
      wrapAll: function (e) {
        return (
          this[0] &&
            (m(e) && (e = e.call(this[0])),
            (e = T(e, this[0].ownerDocument).eq(0).clone(!0)),
            this[0].parentNode && e.insertBefore(this[0]),
            e
              .map(function () {
                for (var e = this; e.firstElementChild; )
                  e = e.firstElementChild;
                return e;
              })
              .append(this)),
          this
        );
      },
      wrapInner: function (r) {
        return m(r)
          ? this.each(function (e) {
              T(this).wrapInner(r.call(this, e));
            })
          : this.each(function () {
              var e = T(this),
                t = e.contents();
              t.length ? t.wrapAll(r) : e.append(r);
            });
      },
      wrap: function (t) {
        var r = m(t);
        return this.each(function (e) {
          T(this).wrapAll(r ? t.call(this, e) : t);
        });
      },
      unwrap: function (e) {
        return (
          this.parent(e)
            .not("body")
            .each(function () {
              T(this).replaceWith(this.childNodes);
            }),
          this
        );
      },
    }),
    (T.expr.pseudos.hidden = function (e) {
      return !T.expr.pseudos.visible(e);
    }),
    (T.expr.pseudos.visible = function (e) {
      return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length);
    }),
    (T.ajaxSettings.xhr = function () {
      try {
        return new S.XMLHttpRequest();
      } catch (e) {}
    }));
  var Vt = { 0: 200, 1223: 204 },
    Xt = T.ajaxSettings.xhr();
  ((b.cors = !!Xt && "withCredentials" in Xt),
    (b.ajax = Xt = !!Xt),
    T.ajaxTransport(function (i) {
      var o, s;
      if (b.cors || (Xt && !i.crossDomain))
        return {
          send: function (e, t) {
            var r,
              n = i.xhr();
            if (
              (n.open(i.type, i.url, i.async, i.username, i.password),
              i.xhrFields)
            )
              for (r in i.xhrFields) n[r] = i.xhrFields[r];
            for (r in (i.mimeType &&
              n.overrideMimeType &&
              n.overrideMimeType(i.mimeType),
            i.crossDomain ||
              e["X-Requested-With"] ||
              (e["X-Requested-With"] = "XMLHttpRequest"),
            e))
              n.setRequestHeader(r, e[r]);
            ((o = function (e) {
              return function () {
                o &&
                  ((o =
                    s =
                    n.onload =
                    n.onerror =
                    n.onabort =
                    n.ontimeout =
                    n.onreadystatechange =
                      null),
                  "abort" === e
                    ? n.abort()
                    : "error" === e
                      ? "number" != typeof n.status
                        ? t(0, "error")
                        : t(n.status, n.statusText)
                      : t(
                          Vt[n.status] || n.status,
                          n.statusText,
                          "text" !== (n.responseType || "text") ||
                            "string" != typeof n.responseText
                            ? { binary: n.response }
                            : { text: n.responseText },
                          n.getAllResponseHeaders(),
                        ));
              };
            }),
              (n.onload = o()),
              (s = n.onerror = n.ontimeout = o("error")),
              void 0 !== n.onabort
                ? (n.onabort = s)
                : (n.onreadystatechange = function () {
                    4 === n.readyState &&
                      S.setTimeout(function () {
                        o && s();
                      });
                  }),
              (o = o("abort")));
            try {
              n.send((i.hasContent && i.data) || null);
            } catch (e) {
              if (o) throw e;
            }
          },
          abort: function () {
            o && o();
          },
        };
    }),
    T.ajaxPrefilter(function (e) {
      e.crossDomain && (e.contents.script = !1);
    }),
    T.ajaxSetup({
      accepts: {
        script:
          "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",
      },
      contents: { script: /\b(?:java|ecma)script\b/ },
      converters: {
        "text script": function (e) {
          return (T.globalEval(e), e);
        },
      },
    }),
    T.ajaxPrefilter("script", function (e) {
      (void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET"));
    }),
    T.ajaxTransport("script", function (r) {
      var n, i;
      if (r.crossDomain || r.scriptAttrs)
        return {
          send: function (e, t) {
            ((n = T("<script>")
              .attr(r.scriptAttrs || {})
              .prop({ charset: r.scriptCharset, src: r.url })
              .on(
                "load error",
                (i = function (e) {
                  (n.remove(),
                    (i = null),
                    e && t("error" === e.type ? 404 : 200, e.type));
                }),
              )),
              E.head.appendChild(n[0]));
          },
          abort: function () {
            i && i();
          },
        };
    }));
  var Qt = [],
    Yt = /(=)\?(?=&|$)|\?\?/;
  (T.ajaxSetup({
    jsonp: "callback",
    jsonpCallback: function () {
      var e = Qt.pop() || T.expando + "_" + _t.guid++;
      return ((this[e] = !0), e);
    },
  }),
    T.ajaxPrefilter("json jsonp", function (e, t, r) {
      var n,
        i,
        o,
        s =
          !1 !== e.jsonp &&
          (Yt.test(e.url)
            ? "url"
            : "string" == typeof e.data &&
              0 ===
                (e.contentType || "").indexOf(
                  "application/x-www-form-urlencoded",
                ) &&
              Yt.test(e.data) &&
              "data");
      if (s || "jsonp" === e.dataTypes[0])
        return (
          (n = e.jsonpCallback =
            m(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback),
          s
            ? (e[s] = e[s].replace(Yt, "$1" + n))
            : !1 !== e.jsonp &&
              (e.url += (It.test(e.url) ? "&" : "?") + e.jsonp + "=" + n),
          (e.converters["script json"] = function () {
            return (o || T.error(n + " was not called"), o[0]);
          }),
          (e.dataTypes[0] = "json"),
          (i = S[n]),
          (S[n] = function () {
            o = arguments;
          }),
          r.always(function () {
            (void 0 === i ? T(S).removeProp(n) : (S[n] = i),
              e[n] && ((e.jsonpCallback = t.jsonpCallback), Qt.push(n)),
              o && m(i) && i(o[0]),
              (o = i = void 0));
          }),
          "script"
        );
    }),
    (b.createHTMLDocument =
      (((h = E.implementation.createHTMLDocument("").body).innerHTML =
        "<form></form><form></form>"),
      2 === h.childNodes.length)),
    (T.parseHTML = function (e, t, r) {
      return "string" != typeof e
        ? []
        : ("boolean" == typeof t && ((r = t), (t = !1)),
          t ||
            (b.createHTMLDocument
              ? (((n = (t =
                  E.implementation.createHTMLDocument("")).createElement(
                  "base",
                )).href = E.location.href),
                t.head.appendChild(n))
              : (t = E)),
          (n = !r && []),
          (r = A.exec(e))
            ? [t.createElement(r[1])]
            : ((r = ve([e], t, n)),
              n && n.length && T(n).remove(),
              T.merge([], r.childNodes)));
      var n;
    }),
    (T.fn.load = function (e, t, r) {
      var n,
        i,
        o,
        s = this,
        a = e.indexOf(" ");
      return (
        -1 < a && ((n = St(e.slice(a))), (e = e.slice(0, a))),
        m(t)
          ? ((r = t), (t = void 0))
          : t && "object" == typeof t && (i = "POST"),
        0 < s.length &&
          T.ajax({ url: e, type: i || "GET", dataType: "html", data: t })
            .done(function (e) {
              ((o = arguments),
                s.html(n ? T("<div>").append(T.parseHTML(e)).find(n) : e));
            })
            .always(
              r &&
                function (e, t) {
                  s.each(function () {
                    r.apply(this, o || [e.responseText, t, e]);
                  });
                },
            ),
        this
      );
    }),
    (T.expr.pseudos.animated = function (t) {
      return T.grep(T.timers, function (e) {
        return t === e.elem;
      }).length;
    }),
    (T.offset = {
      setOffset: function (e, t, r) {
        var n,
          i,
          o,
          s,
          a = T.css(e, "position"),
          c = T(e),
          l = {};
        ("static" === a && (e.style.position = "relative"),
          (o = c.offset()),
          (n = T.css(e, "top")),
          (s = T.css(e, "left")),
          (s =
            ("absolute" === a || "fixed" === a) && -1 < (n + s).indexOf("auto")
              ? ((i = (a = c.position()).top), a.left)
              : ((i = parseFloat(n) || 0), parseFloat(s) || 0)),
          null != (t = m(t) ? t.call(e, r, T.extend({}, o)) : t).top &&
            (l.top = t.top - o.top + i),
          null != t.left && (l.left = t.left - o.left + s),
          "using" in t
            ? t.using.call(e, l)
            : ("number" == typeof l.top && (l.top += "px"),
              "number" == typeof l.left && (l.left += "px"),
              c.css(l)));
      },
    }),
    T.fn.extend({
      offset: function (t) {
        if (arguments.length)
          return void 0 === t
            ? this
            : this.each(function (e) {
                T.offset.setOffset(this, t, e);
              });
        var e,
          r = this[0];
        return r
          ? r.getClientRects().length
            ? ((e = r.getBoundingClientRect()),
              (r = r.ownerDocument.defaultView),
              { top: e.top + r.pageYOffset, left: e.left + r.pageXOffset })
            : { top: 0, left: 0 }
          : void 0;
      },
      position: function () {
        if (this[0]) {
          var e,
            t,
            r,
            n = this[0],
            i = { top: 0, left: 0 };
          if ("fixed" === T.css(n, "position")) t = n.getBoundingClientRect();
          else {
            for (
              t = this.offset(),
                r = n.ownerDocument,
                e = n.offsetParent || r.documentElement;
              e &&
              (e === r.body || e === r.documentElement) &&
              "static" === T.css(e, "position");

            )
              e = e.parentNode;
            e &&
              e !== n &&
              1 === e.nodeType &&
              (((i = T(e).offset()).top += T.css(e, "borderTopWidth", !0)),
              (i.left += T.css(e, "borderLeftWidth", !0)));
          }
          return {
            top: t.top - i.top - T.css(n, "marginTop", !0),
            left: t.left - i.left - T.css(n, "marginLeft", !0),
          };
        }
      },
      offsetParent: function () {
        return this.map(function () {
          for (
            var e = this.offsetParent;
            e && "static" === T.css(e, "position");

          )
            e = e.offsetParent;
          return e || ne;
        });
      },
    }),
    T.each(
      { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" },
      function (t, i) {
        var o = "pageYOffset" === i;
        T.fn[t] = function (e) {
          return z(
            this,
            function (e, t, r) {
              var n;
              return (
                g(e) ? (n = e) : 9 === e.nodeType && (n = e.defaultView),
                void 0 === r
                  ? n
                    ? n[i]
                    : e[t]
                  : void (n
                      ? n.scrollTo(o ? n.pageXOffset : r, o ? r : n.pageYOffset)
                      : (e[t] = r))
              );
            },
            t,
            e,
            arguments.length,
          );
        };
      },
    ),
    T.each(["top", "left"], function (e, r) {
      T.cssHooks[r] = Ve(b.pixelPosition, function (e, t) {
        if (t)
          return ((t = qe(e, r)), Ke.test(t) ? T(e).position()[r] + "px" : t);
      });
    }),
    T.each({ Height: "height", Width: "width" }, function (s, a) {
      T.each(
        { padding: "inner" + s, content: a, "": "outer" + s },
        function (n, o) {
          T.fn[o] = function (e, t) {
            var r = arguments.length && (n || "boolean" != typeof e),
              i = n || (!0 === e || !0 === t ? "margin" : "border");
            return z(
              this,
              function (e, t, r) {
                var n;
                return g(e)
                  ? 0 === o.indexOf("outer")
                    ? e["inner" + s]
                    : e.document.documentElement["client" + s]
                  : 9 === e.nodeType
                    ? ((n = e.documentElement),
                      Math.max(
                        e.body["scroll" + s],
                        n["scroll" + s],
                        e.body["offset" + s],
                        n["offset" + s],
                        n["client" + s],
                      ))
                    : void 0 === r
                      ? T.css(e, t, i)
                      : T.style(e, t, r, i);
              },
              a,
              r ? e : void 0,
              r,
            );
          };
        },
      );
    }),
    T.each(
      [
        "ajaxStart",
        "ajaxStop",
        "ajaxComplete",
        "ajaxError",
        "ajaxSuccess",
        "ajaxSend",
      ],
      function (e, t) {
        T.fn[t] = function (e) {
          return this.on(t, e);
        };
      },
    ),
    T.fn.extend({
      bind: function (e, t, r) {
        return this.on(e, null, t, r);
      },
      unbind: function (e, t) {
        return this.off(e, null, t);
      },
      delegate: function (e, t, r, n) {
        return this.on(t, e, r, n);
      },
      undelegate: function (e, t, r) {
        return 1 === arguments.length
          ? this.off(e, "**")
          : this.off(t, e || "**", r);
      },
      hover: function (e, t) {
        return this.mouseenter(e).mouseleave(t || e);
      },
    }),
    T.each(
      "blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(
        " ",
      ),
      function (e, r) {
        T.fn[r] = function (e, t) {
          return 0 < arguments.length
            ? this.on(r, null, e, t)
            : this.trigger(r);
        };
      },
    ));
  var Zt = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
  ((T.proxy = function (e, t) {
    var r, n;
    if (("string" == typeof t && ((n = e[t]), (t = e), (e = n)), m(e)))
      return (
        (r = a.call(arguments, 2)),
        ((n = function () {
          return e.apply(t || this, r.concat(a.call(arguments)));
        }).guid = e.guid =
          e.guid || T.guid++),
        n
      );
  }),
    (T.holdReady = function (e) {
      e ? T.readyWait++ : T.ready(!0);
    }),
    (T.isArray = Array.isArray),
    (T.parseJSON = JSON.parse),
    (T.nodeName = k),
    (T.isFunction = m),
    (T.isWindow = g),
    (T.camelCase = G),
    (T.type = f),
    (T.now = Date.now),
    (T.isNumeric = function (e) {
      var t = T.type(e);
      return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e));
    }),
    (T.trim = function (e) {
      return null == e ? "" : (e + "").replace(Zt, "");
    }),
    "function" == typeof define &&
      define.amd &&
      define("jquery", [], function () {
        return T;
      }));
  var Jt = S.jQuery,
    er = S.$;
  return (
    (T.noConflict = function (e) {
      return (
        S.$ === T && (S.$ = er),
        e && S.jQuery === T && (S.jQuery = Jt),
        T
      );
    }),
    void 0 === e && (S.jQuery = S.$ = T),
    T
  );
});
var H5P = (window.H5P = window.H5P || {});
((H5P.jQuery = jQuery.noConflict(!0)),
  (H5P.jQuery.fn.__originalLoad = H5P.jQuery.load),
  (H5P.jQuery.fn.load = function (e, t, r) {
    if ("function" != typeof e)
      return H5P.jQuery.fn.__originalLoad.apply(this, arguments);
    {
      console.warn("You are using a deprecated H5P library. Please upgrade!");
      let e = Array.prototype.slice.call(arguments);
      return (e.unshift("load"), H5P.jQuery.fn.on.apply(this, e));
    }
  }),
  ((H5P = window.H5P = window.H5P || {}).isFramed =
    window.self !== window.parent),
  (H5P.$window = H5P.jQuery(window)),
  (H5P.instances = []),
  document.documentElement.requestFullScreen
    ? (H5P.fullScreenBrowserPrefix = "")
    : document.documentElement.webkitRequestFullScreen
      ? ((H5P.safariBrowser = navigator.userAgent.match(/version\/([.\d]+)/i)),
        (H5P.safariBrowser =
          null === H5P.safariBrowser ? 0 : parseInt(H5P.safariBrowser[1])),
        (0 === H5P.safariBrowser || 6 < H5P.safariBrowser) &&
          (H5P.fullScreenBrowserPrefix = "webkit"))
      : document.documentElement.mozRequestFullScreen
        ? (H5P.fullScreenBrowserPrefix = "moz")
        : document.documentElement.msRequestFullscreen &&
          (H5P.fullScreenBrowserPrefix = "ms"),
  (H5P.opened = {}),
  (H5P.init = function (e) {
    (void 0 === H5P.$body && (H5P.$body = H5P.jQuery(document.body)),
      void 0 === H5P.fullscreenSupported &&
        (H5P.fullscreenSupported = !(
          H5PIntegration.fullscreenDisabled ||
          H5P.fullscreenDisabled ||
          (H5P.isFramed &&
            !1 !== H5P.externalEmbed &&
            !(
              document.fullscreenEnabled ||
              document.webkitFullscreenEnabled ||
              document.mozFullScreenEnabled
            ))
        )),
      void 0 === H5P.canHasFullScreen &&
        (H5P.canHasFullScreen = H5P.fullscreenSupported),
      H5P.jQuery(".h5p-content:not(.h5p-initialized)", e).each(function () {
        var t = H5P.jQuery(this).addClass("h5p-initialized"),
          r = H5P.jQuery('<div class="h5p-container"></div>').appendTo(t),
          i = t.data("content-id"),
          o = H5PIntegration.contents["cid-" + i];
        if (void 0 === o)
          return H5P.error(
            "No data for content id " + i + ". Perhaps the library is gone?",
          );
        var s = {
          library: o.library,
          params: JSON.parse(o.jsonContent),
          metadata: o.metadata,
        };
        H5P.getUserData(i, "state", function (e, t) {
          var n;
          t
            ? (s.userDatas = { state: t })
            : null === t &&
              H5PIntegration.saveFreq &&
              (delete o.contentUserData,
              (n = new H5P.Dialog(
                "content-user-data-reset",
                "Data Reset",
                "<p>" +
                  H5P.t("contentChanged") +
                  "</p><p>" +
                  H5P.t("startingOver") +
                  '</p><div class="h5p-dialog-ok-button" tabIndex="0" role="button">OK</div>',
                r,
              )),
              H5P.jQuery(n)
                .on("dialog-opened", function (e, t) {
                  function r(e) {
                    ("click" !== e.type && 32 !== e.which) ||
                      (n.close(), H5P.deleteUserData(i, "state", 0));
                  }
                  (t.find(".h5p-dialog-ok-button").click(r).keypress(r),
                    H5P.trigger(a, "resize"));
                })
                .on("dialog-closed", function () {
                  H5P.trigger(a, "resize");
                }),
              n.open());
        });
        var a = H5P.newRunnable(s, i, r, !0, { standalone: !0 });
        ((H5P.offlineRequestQueue = new H5P.OfflineRequestQueue({
          instance: a,
        })),
          1 == o.fullScreen &&
            H5P.fullscreenSupported &&
            H5P.jQuery(
              '<div class="h5p-content-controls"><div role="button" tabindex="0" class="h5p-enable-fullscreen" aria-label="' +
                H5P.t("fullscreen") +
                '" title="' +
                H5P.t("fullscreen") +
                '"></div></div>',
            )
              .prependTo(r)
              .children()
              .click(function () {
                H5P.fullScreen(r, a);
              })
              .keydown(function (e) {
                if (32 === e.which || 13 === e.which)
                  return (H5P.fullScreen(r, a), !1);
              }));
        var e,
          n,
          c,
          l,
          u,
          h,
          p,
          d = o.displayOptions,
          f = !1;
        (d.frame &&
          (d.copyright &&
            ((e = H5P.getCopyrights(a, s.params, i, s.metadata)) ||
              (d.copyright = !1)),
          (d = new H5P.ActionBar(d)),
          (n = d.getDOMElement()),
          d.on("reuse", function () {
            (H5P.openReuseDialog(n, o, s, a, i),
              a.triggerXAPI("accessed-reuse"));
          }),
          d.on("copyrights", function () {
            (new H5P.Dialog(
              "copyrights",
              H5P.t("copyrightInformation"),
              e,
              r,
            ).open(!0),
              a.triggerXAPI("accessed-copyright"));
          }),
          d.on("embed", function () {
            (H5P.openEmbedDialog(
              n,
              o.embedCode,
              o.resizeCode,
              { width: t.width(), height: t.height() },
              a,
            ),
              a.triggerXAPI("accessed-embed"));
          }),
          d.hasActions() && ((f = !0), n.insertAfter(r))),
          t.addClass(f ? "h5p-frame" : "h5p-no-frame"),
          (H5P.opened[i] = new Date()),
          H5P.on(a, "finish", function (e) {
            void 0 !== e.data &&
              H5P.setFinished(i, e.data.score, e.data.maxScore, e.data.time);
          }),
          H5P.on(a, "xAPI", H5P.xAPICompletedListener),
          !1 !== H5PIntegration.saveFreq &&
            (a.getCurrentState instanceof Function ||
              "function" == typeof a.getCurrentState) &&
            ((l = function () {
              var e = a.getCurrentState();
              (void 0 !== e &&
                H5P.setUserData(i, "state", e, { deleteOnChange: !0 }),
                H5PIntegration.saveFreq &&
                  (c = setTimeout(l, 1e3 * H5PIntegration.saveFreq)));
            }),
            H5PIntegration.saveFreq &&
              (c = setTimeout(l, 1e3 * H5PIntegration.saveFreq)),
            H5P.on(a, "xAPI", function (e) {
              e = e.getVerb();
              ("completed" !== e && "progressed" !== e) ||
                (clearTimeout(c), (c = setTimeout(l, 3e3)));
            })),
          H5P.isFramed &&
            (!1 === H5P.externalEmbed
              ? ((h = window.frameElement),
                H5P.on(a, "resize", function () {
                  (clearTimeout(u),
                    (u = setTimeout(function () {
                      var e;
                      window.parent.H5P.isFullscreen ||
                        ((e = h.parentElement.style.height),
                        (h.parentElement.style.height =
                          h.parentElement.clientHeight + "px"),
                        h.getBoundingClientRect(),
                        (h.style.height = "1px"),
                        (h.style.height =
                          h.contentDocument.body.scrollHeight + "px"),
                        (h.parentElement.style.height = e));
                    }, 1)));
                }))
              : H5P.communicator &&
                ((p = !1),
                H5P.communicator.on("ready", function () {
                  H5P.communicator.send("hello");
                }),
                H5P.communicator.on("hello", function () {
                  ((p = !0),
                    (document.body.style.height = "auto"),
                    (document.body.style.overflow = "hidden"),
                    H5P.trigger(a, "resize"));
                }),
                H5P.communicator.on("resizePrepared", function () {
                  H5P.communicator.send("resize", {
                    scrollHeight: document.body.scrollHeight,
                  });
                }),
                H5P.communicator.on("resize", function () {
                  H5P.trigger(a, "resize");
                }),
                H5P.on(a, "resize", function () {
                  H5P.isFullscreen ||
                    (clearTimeout(u),
                    (u = setTimeout(function () {
                      p
                        ? H5P.communicator.send("prepareResize", {
                            scrollHeight: document.body.scrollHeight,
                            clientHeight: document.body.clientHeight,
                          })
                        : H5P.communicator.send("hello");
                    }, 0)));
                }))),
          (H5P.isFramed && !1 !== H5P.externalEmbed) ||
            H5P.jQuery(window.parent).resize(function () {
              (window.parent.H5P.isFullscreen, H5P.trigger(a, "resize"));
            }),
          H5P.instances.push(a),
          H5P.trigger(a, "resize"),
          t.addClass("using-mouse"),
          t.on("mousedown keydown keyup", function (e) {
            t.toggleClass("using-mouse", "mousedown" === e.type);
          }),
          H5P.externalDispatcher &&
            H5P.externalDispatcher.trigger("initialized"));
      }),
      H5P.jQuery("iframe.h5p-iframe:not(.h5p-initialized)", e).each(
        function () {
          var e = H5P.jQuery(this)
              .addClass("h5p-initialized")
              .data("content-id"),
            t = H5PIntegration.contents["cid-" + e],
            t =
              t && t.metadata && t.metadata.defaultLanguage
                ? t.metadata.defaultLanguage
                : "en";
          (this.contentDocument.open(),
            this.contentDocument.write(
              '<!doctype html><html class="h5p-iframe" lang="' +
                t +
                '"><head>' +
                H5P.getHeadTags(e) +
                '</head><body><div class="h5p-content" data-content-id="' +
                e +
                '"/></body></html>',
            ),
            this.contentDocument.close());
        },
      ));
  }),
  (H5P.getHeadTags = function (e) {
    function t(e) {
      for (var t = "", r = 0; r < e.length; r++)
        t += '<link rel="stylesheet" href="' + e[r] + '">';
      return t;
    }
    function r(e) {
      for (var t = "", r = 0; r < e.length; r++)
        t += '<script src="' + e[r] + '"></script>';
      return t;
    }
    return (
      '<base target="_parent">' +
      t(H5PIntegration.core.styles) +
      t(H5PIntegration.contents["cid-" + e].styles) +
      r(H5PIntegration.core.scripts) +
      r(H5PIntegration.contents["cid-" + e].scripts) +
      "<script>H5PIntegration = window.parent.H5PIntegration; var H5P = H5P || {}; H5P.externalEmbed = false;</script>"
    );
  }),
  (H5P.communicator =
    window.postMessage && window.addEventListener
      ? new (function () {
          var r = {};
          (window.addEventListener(
            "message",
            function (e) {
              window.parent === e.source &&
                "h5p" === e.data.context &&
                void 0 !== r[e.data.action] &&
                r[e.data.action](e.data);
            },
            !1,
          ),
            (this.on = function (e, t) {
              r[e] = t;
            }),
            (this.send = function (e, t) {
              (((t = void 0 === t ? {} : t).context = "h5p"),
                (t.action = e),
                window.parent.postMessage(t, "*"));
            }));
        })()
      : void 0),
  (H5P.semiFullScreen = function (e, t, r, n) {
    H5P.fullScreen(e, t, r, n, !0);
  }),
  (H5P.fullScreen = function (e, t, r, n, i) {
    if (void 0 === H5P.exitFullScreen) {
      if (H5P.isFramed && !1 === H5P.externalEmbed)
        return (
          window.parent.H5P.fullScreen(e, t, r, H5P.$body.get(), i),
          (H5P.isFullscreen = !0),
          (H5P.exitFullScreen = function () {
            window.parent.H5P.exitFullScreen();
          }),
          void H5P.on(t, "exitFullScreen", function () {
            ((H5P.isFullscreen = !1), (H5P.exitFullScreen = void 0));
          })
        );
      var o,
        s,
        a,
        c = e;
      (void 0 === n
        ? (o = H5P.$body)
        : ((s = (o = H5P.jQuery(n)).add(e.get())),
          (n = "#h5p-iframe-" + e.parent().data("content-id")),
          (e = (a = H5P.jQuery(n)).parent())),
        (s = e.add(H5P.$body).add(s)));
      function l(e) {
        (s.addClass(e), void 0 !== a && a.css("height", ""));
      }
      function u() {
        (H5P.trigger(t, "resize"),
          H5P.trigger(t, "focus"),
          H5P.trigger(t, "enterFullScreen"));
      }
      function h(e) {
        ((H5P.isFullscreen = !1),
          s.removeClass(e),
          H5P.trigger(t, "resize"),
          H5P.trigger(t, "focus"),
          (H5P.exitFullScreen = void 0) !== r && r(),
          H5P.trigger(t, "exitFullScreen"));
      }
      if (
        ((H5P.isFullscreen = !0),
        void 0 === H5P.fullScreenBrowserPrefix || !0 === i)
      ) {
        if (!H5P.isFramed) {
          l("h5p-semi-fullscreen");
          var p,
            d,
            f = H5P.jQuery(
              '<div role="button" tabindex="0" class="h5p-disable-fullscreen" title="' +
                H5P.t("disableFullscreen") +
                '" aria-label="' +
                H5P.t("disableFullscreen") +
                '"></div>',
            ).appendTo(c.find(".h5p-content-controls")),
            m = (H5P.exitFullScreen = function () {
              (p ? (d.content = p) : v.removeChild(d),
                f.remove(),
                o.unbind("keyup", g),
                h("h5p-semi-fullscreen"));
            }),
            g = function (e) {
              27 === e.keyCode && m();
            };
          (f.click(m), o.keyup(g));
          for (
            var v, y = document.getElementsByTagName("meta"), b = 0;
            b < y.length;
            b++
          )
            if ("viewport" === y[b].name) {
              ((d = y[b]), (p = d.content));
              break;
            }
          (p || ((d = document.createElement("meta")).name = "viewport"),
            (d.content =
              "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),
            p || (v = document.getElementsByTagName("head")[0]).appendChild(d),
            u());
        }
      } else {
        l("h5p-fullscreen");
        var w,
          x =
            "ms" === H5P.fullScreenBrowserPrefix
              ? "MSFullscreenChange"
              : H5P.fullScreenBrowserPrefix + "fullscreenchange";
        (document.addEventListener(x, function () {
          return void 0 === w
            ? ((w = !1), void u())
            : (h("h5p-fullscreen"),
              void document.removeEventListener(x, arguments.callee, !1));
        }),
          "" === H5P.fullScreenBrowserPrefix
            ? e[0].requestFullScreen()
            : ((i =
                "ms" === H5P.fullScreenBrowserPrefix
                  ? "msRequestFullscreen"
                  : H5P.fullScreenBrowserPrefix + "RequestFullScreen"),
              (c =
                "webkit" === H5P.fullScreenBrowserPrefix &&
                0 === H5P.safariBrowser
                  ? Element.ALLOW_KEYBOARD_INPUT
                  : void 0),
              e[0][i](c)),
          (H5P.exitFullScreen = function () {
            "" === H5P.fullScreenBrowserPrefix
              ? document.exitFullscreen()
              : "moz" === H5P.fullScreenBrowserPrefix
                ? document.mozCancelFullScreen()
                : document[H5P.fullScreenBrowserPrefix + "ExitFullscreen"]();
          }));
      }
    }
  }),
  (function () {
    ((H5P.addQueryParameter = function (e, t) {
      let r, n;
      const i = e.split("?");
      return (
        (r = i[1]
          ? ((n = i[1].split("#")), i[0] + "?" + n[0] + "&")
          : ((n = i[0].split("#")), n[0] + "?")),
        (r += t),
        n[1] && (r += "#" + n[1]),
        r
      );
    }),
      (H5P.setSource = function (e, t, r) {
        let n = t.path;
        t = H5P.getCrossOrigin(t);
        (t
          ? ((e.crossOrigin = t),
            H5PIntegration.crossoriginCacheBuster &&
              (n = H5P.addQueryParameter(
                n,
                H5PIntegration.crossoriginCacheBuster,
              )))
          : e.removeAttribute("crossorigin"),
          (e.src = H5P.getPath(n, r)));
      }));
    function i(e) {
      return e.match(/^[a-z0-9]+:\/\//i);
    }
    ((H5P.getCrossOrigin = function (e) {
      return "object" != typeof e
        ? H5PIntegration.crossorigin &&
          H5PIntegration.crossoriginRegex &&
          e.match(H5PIntegration.crossoriginRegex)
          ? H5PIntegration.crossorigin
          : null
        : H5PIntegration.crossorigin && !i(e.path)
          ? H5PIntegration.crossorigin
          : void 0;
    }),
      (H5P.getPath = function (e, t) {
        if (i(e)) return e;
        var r,
          n = "#tmp" === e.substr(-4, 4);
        if (void 0 === t || n) {
          if (void 0 === window.H5PEditor) return;
          r = H5PEditor.filesPath;
        } else
          r =
            (r =
              void 0 !== H5PIntegration.contents &&
              H5PIntegration.contents["cid-" + t]
                ? H5PIntegration.contents["cid-" + t].contentUrl
                : r) || H5PIntegration.url + "/content/" + t;
        return (
          (r = !i(r)
            ? window.location.protocol + "//" + window.location.host + r
            : r) +
          "/" +
          e
        );
      }));
  })(),
  (H5P.getContentPath = function (e) {
    return H5PIntegration.url + "/content/" + e;
  }),
  (H5P.classFromName = function (e) {
    e = e.split(".");
    return this[e[e.length - 1]];
  }),
  (H5P.newRunnable = function (t, e, r, n, i) {
    var o, s;
    try {
      ((s = (a = t.library.split(" ", 2))[0]), (o = a[1].split(".", 2)));
    } catch (e) {
      return H5P.error("Invalid library string: " + t.library);
    }
    if (t.params instanceof Object != !0 || t.params instanceof Array == !0)
      return (
        H5P.error("Invalid library params for: " + t.library),
        H5P.error(t.params)
      );
    try {
      for (var a = a[0].split("."), c = window, l = 0; l < a.length; l++)
        c = c[a[l]];
      if ("function" != typeof c) throw null;
    } catch (e) {
      return H5P.error("Unable to find constructor for: " + t.library);
    }
    (void 0 === i && (i = {}),
      t.subContentId && (i.subContentId = t.subContentId),
      t.userDatas &&
        t.userDatas.state &&
        H5PIntegration.saveFreq &&
        (i.previousState = t.userDatas.state),
      t.metadata && (i.metadata = t.metadata));
    var u,
      h = i.standalone || !1;
    return (
      (c.prototype = H5P.jQuery.extend(
        {},
        H5P.ContentType(h).prototype,
        c.prototype,
      )),
      void 0 ===
        (u =
          -1 <
          H5P.jQuery.inArray(t.library, [
            "H5P.CoursePresentation 1.0",
            "H5P.CoursePresentation 1.1",
            "H5P.CoursePresentation 1.2",
            "H5P.CoursePresentation 1.3",
          ])
            ? new c(t.params, e)
            : new c(t.params, e, i)).$ && (u.$ = H5P.jQuery(u)),
      void 0 === u.contentId && (u.contentId = e),
      void 0 === u.subContentId &&
        t.subContentId &&
        (u.subContentId = t.subContentId),
      void 0 === u.parent && i && i.parent && (u.parent = i.parent),
      void 0 === u.libraryInfo &&
        (u.libraryInfo = {
          versionedName: t.library,
          versionedNameNoSpaces: s + "-" + o[0] + "." + o[1],
          machineName: s,
          majorVersion: o[0],
          minorVersion: o[1],
        }),
      void 0 !== r &&
        (r.toggleClass("h5p-standalone", h),
        u.attach(r),
        H5P.trigger(
          u,
          "domChanged",
          { $target: r, library: s, key: "newLibrary" },
          { bubbles: !0, external: !0 },
        ),
        (void 0 !== n && n) || H5P.trigger(u, "resize")),
      u
    );
  }),
  (H5P.error = function (e) {
    void 0 !== window.console &&
      void 0 !== console.error &&
      console.error(e.stack || e);
  }),
  (H5P.t = function (e, t, r) {
    if ((void 0 === r && (r = "H5P"), void 0 === H5PIntegration.l10n[r]))
      return '[Missing translation namespace "' + r + '"]';
    if (void 0 === H5PIntegration.l10n[r][e])
      return '[Missing translation "' + e + '" in "' + r + '"]';
    var n = H5PIntegration.l10n[r][e];
    if (void 0 !== t) for (var i in t) n = n.replace(i, t[i]);
    return n;
  }),
  (H5P.Dialog = function (e, t, r, n) {
    var i = this,
      o = H5P.jQuery(
        '<div class="h5p-popup-dialog h5p-' +
          e +
          '-dialog" role="dialog" tabindex="-1">                              <div class="h5p-inner">                                <h2>' +
          t +
          '</h2>                                <div class="h5p-scroll-content">' +
          r +
          '</div>                                <div class="h5p-close" role="button" tabindex="0" aria-label="' +
          H5P.t("close") +
          '" title="' +
          H5P.t("close") +
          '"></div>                              </div>                            </div>',
      )
        .insertAfter(n)
        .click(function (e) {
          (e && e.originalEvent && e.originalEvent.preventClosing) || i.close();
        })
        .children(".h5p-inner")
        .click(function (e) {
          e.originalEvent.preventClosing = !0;
        })
        .find(".h5p-close")
        .click(function () {
          i.close();
        })
        .keypress(function (e) {
          if (13 === e.which || 32 === e.which) return (i.close(), !1);
        })
        .end()
        .find("a")
        .click(function (e) {
          e.stopPropagation();
        })
        .end()
        .end();
    ((i.open = function (e) {
      (e && o.css("height", "100%"),
        setTimeout(function () {
          (o.addClass("h5p-open"),
            H5P.jQuery(i).trigger("dialog-opened", [o]),
            o.focus());
        }, 1));
    }),
      (i.close = function () {
        (o.removeClass("h5p-open"),
          setTimeout(function () {
            (o.remove(),
              H5P.jQuery(i).trigger("dialog-closed", [o]),
              n.attr("tabindex", "-1"),
              n.focus());
          }, 200));
      }));
  }),
  (H5P.getCopyrights = function (e, t, r, n) {
    var i;
    if (void 0 !== e.getCopyrights)
      try {
        i = e.getCopyrights();
      } catch (e) {}
    void 0 === i &&
      ((i = new H5P.ContentCopyrights()), H5P.findCopyrights(i, t, r));
    e = H5P.buildMetadataCopyrights(n, e.libraryInfo.machineName);
    return (
      void 0 !== e && i.addMediaInFront(e),
      (i = void 0 !== i ? i.toString() : i)
    );
  }),
  (H5P.findCopyrights = function (o, e, t, r) {
    var n, i, s, a;
    for (i in (r && ((r.params = e), c(r, r.machineName, t)), e))
      e.hasOwnProperty(i) &&
        ("overrideSettings" !== i
          ? ((s = e[i]) && s.library && "string" == typeof s.library
              ? (n = s.library.split(" ")[0])
              : s &&
                s.library &&
                "object" == typeof s.library &&
                (n =
                  s.library.library && "string" == typeof s.library.library
                    ? s.library.library.split(" ")[0]
                    : n),
            s instanceof Array
              ? H5P.findCopyrights(o, s, t)
              : s instanceof Object &&
                (c(s, n, t),
                void 0 === s.copyright ||
                void 0 === s.copyright.license ||
                void 0 === s.path ||
                void 0 === s.mime
                  ? H5P.findCopyrights(o, s, t)
                  : ((a = new H5P.MediaCopyright(s.copyright)),
                    void 0 !== s.width &&
                      void 0 !== s.height &&
                      a.setThumbnail(
                        new H5P.Thumbnail(
                          H5P.getPath(s.path, t),
                          s.width,
                          s.height,
                        ),
                      ),
                    o.addMedia(a))))
          : (console.warn(
              "The semantics field 'overrideSettings' is DEPRECATED and should not be used.",
            ),
            console.warn(e)));
    function c(e, t, r) {
      if (e.metadata) {
        const i = H5P.buildMetadataCopyrights(e.metadata, t);
        var n;
        void 0 !== i &&
          (e.params &&
            "Image" === e.params.contentName &&
            e.params.file &&
            ((n = e.params.file.path),
            (t = e.params.file.width),
            (e = e.params.file.height),
            i.setThumbnail(new H5P.Thumbnail(H5P.getPath(n, r), t, e))),
          o.addMedia(i));
      }
    }
  }),
  (H5P.buildMetadataCopyrights = function (e) {
    if (e && void 0 !== e.license && "U" !== e.license) {
      e = {
        contentType: e.contentType,
        title: e.title,
        author:
          e.authors && 0 < e.authors.length
            ? e.authors
                .map(function (e) {
                  return e.role ? e.name + " (" + e.role + ")" : e.name;
                })
                .join(", ")
            : void 0,
        source: e.source,
        year: e.yearFrom
          ? e.yearFrom + (e.yearTo ? "-" + e.yearTo : "")
          : void 0,
        license: e.license,
        version: e.licenseVersion,
        licenseExtras: e.licenseExtras,
        changes:
          e.changes && 0 < e.changes.length
            ? e.changes
                .map(function (e) {
                  return (
                    e.log +
                    (e.author ? ", " + e.author : "") +
                    (e.date ? ", " + e.date : "")
                  );
                })
                .join(" / ")
            : void 0,
      };
      return new H5P.MediaCopyright(e);
    }
  }),
  (H5P.openReuseDialog = function (e, r, n, i, o) {
    let t = "";
    (r.displayOptions.export &&
      (t +=
        '<button type="button" class="h5p-big-button h5p-download-button"><div class="h5p-button-title">Download as an .h5p file</div><div class="h5p-button-description">.h5p files may be uploaded to any web-site where H5P content may be created.</div></button>'),
      r.displayOptions.export &&
        r.displayOptions.copy &&
        (t += '<div class="h5p-horizontal-line-text"><span>or</span></div>'),
      r.displayOptions.copy &&
        (t +=
          '<button type="button" class="h5p-big-button h5p-copy-button"><div class="h5p-button-title">Copy content</div><div class="h5p-button-description">Copied content may be pasted anywhere this content type is supported on this website.</div></button>'));
    const s = new H5P.Dialog("reuse", H5P.t("reuseContent"), t, e);
    (H5P.jQuery(s)
      .on("dialog-opened", function (e, t) {
        (H5P.jQuery(
          '<a href="https://h5p.org/node/442225" target="_blank">More Info</a>',
        )
          .click(function (e) {
            e.stopPropagation();
          })
          .appendTo(t.find("h2")),
          t.find(".h5p-download-button").click(function () {
            ((window.location.href = r.exportUrl),
              i.triggerXAPI("downloaded"),
              s.close());
          }),
          t.find(".h5p-copy-button").click(function () {
            const e = new H5P.ClipboardItem(n);
            ((e.contentId = o),
              H5P.setClipboard(e),
              i.triggerXAPI("copied"),
              s.close(),
              H5P.attachToastTo(
                H5P.jQuery(".h5p-content:first")[0],
                H5P.t("contentCopied"),
                {
                  position: {
                    horizontal: "centered",
                    vertical: "centered",
                    noOverflowX: !0,
                  },
                },
              ));
          }),
          H5P.trigger(i, "resize"));
      })
      .on("dialog-closed", function () {
        H5P.trigger(i, "resize");
      }),
      s.open());
  }),
  (H5P.openEmbedDialog = function (e, t, r, l, u) {
    var h = t + r,
      e = new H5P.Dialog(
        "embed",
        H5P.t("embed"),
        '<textarea class="h5p-embed-code-container" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>' +
          H5P.t("size") +
          ': <input type="text" value="' +
          Math.ceil(l.width) +
          '" class="h5p-embed-size"/> × <input type="text" value="' +
          Math.ceil(l.height) +
          '" class="h5p-embed-size"/> px<br/><div role="button" tabindex="0" class="h5p-expander">' +
          H5P.t("showAdvanced") +
          '</div><div class="h5p-expander-content"><p>' +
          H5P.t("advancedHelp") +
          '</p><textarea class="h5p-embed-code-container" autocorrect="off" autocapitalize="off" spellcheck="false">' +
          r +
          "</textarea></div>",
        e,
      );
    (H5P.jQuery(e)
      .on("dialog-opened", function (e, r) {
        function n() {
          H5P.trigger(u, "resize");
        }
        function t(e, t) {
          return ((e = parseFloat(e.val())), isNaN(e) ? t : Math.ceil(e));
        }
        function i() {
          r.find(".h5p-embed-code-container:first").val(
            h.replace(":w", t(s, l.width)).replace(":h", t(a, l.height)),
          );
        }
        var o = r.find(".h5p-inner").find(".h5p-scroll-content"),
          s =
            (o.outerHeight(), o.innerHeight(), r.find(".h5p-embed-size:eq(0)")),
          a = r.find(".h5p-embed-size:eq(1)");
        (s.change(i),
          a.change(i),
          i(),
          r.find(".h5p-embed-code-container").each(function () {
            H5P.jQuery(this)
              .css("height", this.scrollHeight + "px")
              .focus(function () {
                H5P.jQuery(this).select();
              });
          }),
          r.find(".h5p-embed-code-container").eq(0).select(),
          n());
        function c() {
          var e = H5P.jQuery(this),
            t = e.next();
          (t.is(":visible")
            ? (e
                .removeClass("h5p-open")
                .text(H5P.t("showAdvanced"))
                .attr("aria-expanded", "true"),
              t.hide())
            : (e
                .addClass("h5p-open")
                .text(H5P.t("hideAdvanced"))
                .attr("aria-expanded", "false"),
              t.show()),
            r.find(".h5p-embed-code-container").each(function () {
              H5P.jQuery(this).css("height", this.scrollHeight + "px");
            }),
            n());
        }
        r.find(".h5p-expander")
          .click(c)
          .keypress(function (e) {
            if (32 === e.keyCode) return (c.apply(this), !1);
          });
      })
      .on("dialog-closed", function () {
        H5P.trigger(u, "resize");
      }),
      e.open());
  }),
  (H5P.attachToastTo = function (t, e, r) {
    if (void 0 === t || void 0 === e) return;
    function n(e) {
      -1 === i(e).indexOf(t) && (clearTimeout(c), o());
    }
    const i = function (e) {
        var t = (e.composedPath && e.composedPath()) || e.path,
          e = e.target;
        return null != t
          ? t.indexOf(window) < 0
            ? t.concat(window)
            : t
          : e === window
            ? [window]
            : [e].concat(
                (function e(t, r) {
                  r = r || [];
                  t = t.parentNode;
                  return t ? e(t, r.concat(t)) : r;
                })(e),
                window,
              );
      },
      o = function () {
        (document.removeEventListener("click", n),
          s.parentNode && s.parentNode.removeChild(s));
      };
    (((r = r || {}).style = r.style || "h5p-toast"),
      (r.duration = r.duration || 3e3));
    const s = document.createElement("div");
    (s.setAttribute("id", r.style),
      s.classList.add("h5p-toast-disabled"),
      s.classList.add(r.style));
    const a = document.createElement("span");
    ((a.innerHTML = e), s.appendChild(a), document.body.appendChild(s));
    e = (function (e, t, r) {
      (((r = r || {}).offsetHorizontal = r.offsetHorizontal || 0),
        (r.offsetVertical = r.offsetVertical || 0));
      var n = t.getBoundingClientRect(),
        i = e.getBoundingClientRect();
      let o = 0,
        s = 0;
      switch (r.horizontal) {
        case "before":
          o = i.left - n.width - r.offsetHorizontal;
          break;
        case "after":
          o = i.left + i.width + r.offsetHorizontal;
          break;
        case "left":
          o = i.left + r.offsetHorizontal;
          break;
        case "right":
          o = i.left + i.width - n.width - r.offsetHorizontal;
          break;
        default:
          o = i.left + i.width / 2 - n.width / 2 + r.offsetHorizontal;
      }
      switch (r.vertical) {
        case "above":
          s = i.top - n.height - r.offsetVertical;
          break;
        case "below":
          s = i.top + i.height + r.offsetVertical;
          break;
        case "top":
          s = i.top + r.offsetVertical;
          break;
        case "bottom":
          s = i.top + i.height - n.height - r.offsetVertical;
          break;
        case "centered":
          s = i.top + i.height / 2 - n.height / 2 + r.offsetVertical;
          break;
        default:
          s = i.top + i.height + r.offsetVertical;
      }
      const a = document.body;
      e = a.getBoundingClientRect();
      return (
        (r.noOverflowLeft || r.noOverflowX) && o < e.x && (o = e.x),
        (r.noOverflowRight || r.noOverflowX) &&
          o + n.width > e.x + e.width &&
          (o = e.x + e.width - n.width),
        (r.noOverflowTop || r.noOverflowY) && s < e.y && (s = e.y),
        (r.noOverflowBottom || r.noOverflowY) &&
          s + n.height > e.y + e.height &&
          (o = e.y + e.height - n.height),
        { left: o, top: s }
      );
    })(t, s, r.position);
    ((s.style.left = Math.round(e.left) + "px"),
      (s.style.top = Math.round(e.top) + "px"),
      s.classList.remove("h5p-toast-disabled"));
    const c = setTimeout(o, r.duration);
    document.addEventListener("click", n);
  }),
  (H5P.ContentCopyrights = function () {
    var r,
      n = [],
      i = [];
    ((this.setLabel = function (e) {
      r = e;
    }),
      (this.addMedia = function (e) {
        void 0 !== e && n.push(e);
      }),
      (this.addMediaInFront = function (e) {
        void 0 !== e && n.unshift(e);
      }),
      (this.addContent = function (e) {
        void 0 !== e && i.push(e);
      }),
      (this.toString = function () {
        for (var e = "", t = 0; t < n.length; t++) e += n[t];
        for (t = 0; t < i.length; t++) e += i[t];
        return (e =
          "" !== e
            ? '<div class="h5p-content-copyrights">' +
              (e = void 0 !== r ? "<h3>" + r + "</h3>" + e : e) +
              "</div>"
            : e);
      }));
  }),
  (H5P.MediaCopyright = function (e, t, r, n) {
    function i(e) {
      return void 0 === t || void 0 === t[e] ? H5P.t(e) : t[e];
    }
    function o(e, t) {
      var r,
        n = H5P.copyrightLicenses[e],
        i = "";
      (("PD" === e && t) || (i += n.hasOwnProperty("label") ? n.label : n),
        (r =
          n.versions &&
          (t =
            !n.versions.default || (t && n.versions[t])
              ? t
              : n.versions.default) &&
          n.versions[t]
            ? n.versions[t]
            : r) &&
          (i && (i += " "), (i += r.hasOwnProperty("label") ? r.label : r)),
        n.hasOwnProperty("link")
          ? (o = n.link.replace(
              ":version",
              n.linkVersions ? n.linkVersions[t] : t,
            ))
          : r && n.hasOwnProperty("link") && (o = r.link),
        o && (i = '<a href="' + o + '" target="_blank">' + i + "</a>"));
      var o = "";
      return (
        "PD" !== e && "C" !== e && (o += e),
        t && "CC0 1.0" !== t && (o && "GNU GPL" !== e && (o += " "), (o += t)),
        o && (i += " (" + o + ")"),
        "C" === e && (i += " &copy;"),
        i
      );
    }
    var s,
      a = new H5P.DefinitionList();
    if (void 0 !== e) {
      for (var c in n) n.hasOwnProperty(c) && (e[c] = n[c]);
      void 0 === r &&
        (r = [
          "contentType",
          "title",
          "license",
          "author",
          "year",
          "source",
          "licenseExtras",
          "changes",
        ]);
      for (var l = 0; l < r.length; l++) {
        var u,
          h = r[l];
        void 0 !== e[h] &&
          "" !== e[h] &&
          ((u = e[h]),
          "license" === h && (u = o(e.license, e.version)),
          "source" === h &&
            (u = u
              ? '<a href="' + u + '" target="_blank">' + u + "</a>"
              : void 0),
          a.add(new H5P.Field(i(h), u)));
      }
    }
    ((this.setThumbnail = function (e) {
      s = e;
    }),
      (this.undisclosed = function () {
        if (1 === a.size()) {
          var e = a.get(0);
          if (e.getLabel() === i("license") && e.getValue() === o("U"))
            return !0;
        }
        return !1;
      }),
      (this.toString = function () {
        var e = "";
        return this.undisclosed()
          ? e
          : (void 0 !== s && (e += s),
            "" !== (e += a)
              ? '<div class="h5p-media-copyright">' + e + "</div>"
              : e);
      }));
  }),
  (H5P.Thumbnail = function (e, t, r) {
    var n;
    (void 0 !== t && (n = Math.round((t / r) * 100)),
      (this.toString = function () {
        return (
          '<img src="' +
          e +
          '" alt="' +
          H5P.t("thumbnail") +
          '" class="h5p-thumbnail" height="100"' +
          (void 0 === n ? "" : ' width="' + n + '"') +
          "/>"
        );
      }));
  }),
  (H5P.Field = function (e, t) {
    ((this.getLabel = function () {
      return e;
    }),
      (this.getValue = function () {
        return t;
      }));
  }),
  (H5P.DefinitionList = function () {
    var n = [];
    ((this.add = function (e) {
      n.push(e);
    }),
      (this.size = function () {
        return n.length;
      }),
      (this.get = function (e) {
        return n[e];
      }),
      (this.toString = function () {
        for (var e = "", t = 0; t < n.length; t++) {
          var r = n[t];
          e += "<dt>" + r.getLabel() + "</dt><dd>" + r.getValue() + "</dd>";
        }
        return "" === e ? e : '<dl class="h5p-definition-list">' + e + "</dl>";
      }));
  }),
  (H5P.Coords = function (e, t, r, n) {
    return this instanceof H5P.Coords
      ? ((this.x = 0),
        (this.y = 0),
        (this.w = 1),
        (this.h = 1),
        "object" == typeof e
          ? ((this.x = e.x), (this.y = e.y), (this.w = e.w), (this.h = e.h))
          : (void 0 !== e && (this.x = e),
            void 0 !== t && (this.y = t),
            void 0 !== r && (this.w = r),
            void 0 !== n && (this.h = n)),
        this)
      : new H5P.Coords(e, t, r, n);
  }),
  (H5P.libraryFromString = function (e) {
    e = /(.+)\s(\d+)\.(\d+)$/g.exec(e);
    return (
      null !== e && {
        machineName: e[1],
        majorVersion: parseInt(e[2]),
        minorVersion: parseInt(e[3]),
      }
    );
  }),
  (H5P.getLibraryPath = function (e) {
    return void 0 !== H5PIntegration.urlLibraries
      ? H5PIntegration.urlLibraries + "/" + e
      : H5PIntegration.url + "/libraries/" + e;
  }),
  (H5P.cloneObject = function (e, t) {
    var r,
      n = e instanceof Array ? [] : {};
    for (r in e)
      e.hasOwnProperty(r) &&
        (void 0 !== t && t && "object" == typeof e[r]
          ? (n[r] = H5P.cloneObject(e[r], t))
          : (n[r] = e[r]));
    return n;
  }),
  (H5P.trim = function (e) {
    return e.replace(/^\s+|\s+$/g, "");
  }),
  (H5P.jsLoaded = function (e) {
    return (
      (H5PIntegration.loadedJs = H5PIntegration.loadedJs || []),
      -1 !== H5P.jQuery.inArray(e, H5PIntegration.loadedJs)
    );
  }),
  (H5P.cssLoaded = function (e) {
    return (
      (H5PIntegration.loadedCss = H5PIntegration.loadedCss || []),
      -1 !== H5P.jQuery.inArray(e, H5PIntegration.loadedCss)
    );
  }),
  (H5P.shuffleArray = function (e) {
    if (e instanceof Array) {
      var t,
        r,
        n,
        i = e.length;
      if (0 === i) return !1;
      for (; --i; )
        ((t = Math.floor(Math.random() * (i + 1))),
          (r = e[i]),
          (n = e[t]),
          (e[i] = n),
          (e[t] = r));
      return e;
    }
  }),
  (H5P.setFinished = function (e, t, r, n) {
    if (
      ("number" == typeof t || t instanceof Number) &&
      !0 === H5PIntegration.postUserStatistics
    ) {
      function i(e) {
        return Math.round(e.getTime() / 1e3);
      }
      const o = {
        contentId: e,
        score: t,
        maxScore: r,
        opened: i(H5P.opened[e]),
        finished: i(new Date()),
        time: n,
      };
      H5P.jQuery.post(H5PIntegration.ajax.setFinished, o).fail(function () {
        H5P.offlineRequestQueue.add(H5PIntegration.ajax.setFinished, o);
      });
    }
  }),
  Array.prototype.indexOf ||
    (Array.prototype.indexOf = function (e) {
      for (var t = 0; t < this.length; t++) if (this[t] === e) return t;
      return -1;
    }),
  void 0 === String.prototype.trim &&
    (String.prototype.trim = function () {
      return H5P.trim(this);
    }),
  (H5P.trigger = function (e, t, r, n) {
    void 0 !== e.trigger
      ? e.trigger(t, r, n)
      : void 0 !== e.$ && void 0 !== e.$.trigger && e.$.trigger(t);
  }),
  (H5P.on = function (e, t, r) {
    void 0 !== e.on
      ? e.on(t, r)
      : void 0 !== e.$ && void 0 !== e.$.on && e.$.on(t, r);
  }),
  (H5P.createUUID = function () {
    return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
      /[xy]/g,
      function (e) {
        var t = (16 * Math.random()) | 0;
        return ("x" === e ? t : (3 & t) | 8).toString(16);
      },
    );
  }),
  (H5P.createTitle = function (e, t) {
    if (!e) return "";
    void 0 === t && (t = 60);
    e = H5P.jQuery("<div></div>")
      .text(e.replace(/(<([^>]+)>)/gi, ""))
      .text();
    return (e = e.length > t ? e.substr(0, t - 3) + "..." : e);
  }),
  (function (c) {
    function a(e, t, r, n, i, o, s, a) {
      void 0 !== H5PIntegration.user
        ? ((a = {
            url: H5PIntegration.ajax.contentUserData
              .replace(":contentId", e)
              .replace(":dataType", t)
              .replace(":subContentId", r || 0),
            dataType: "json",
            async: void 0 === a || a,
          }),
          void 0 !== i
            ? ((a.type = "POST"),
              (a.data = {
                data: null === i ? 0 : i,
                preload: o ? 1 : 0,
                invalidate: s ? 1 : 0,
              }))
            : (a.type = "GET"),
          void 0 !== n &&
            ((a.error = function (e, t) {
              n(t);
            }),
            (a.success = function (e) {
              e.success
                ? !1 !== e.data && void 0 !== e.data
                  ? n(void 0, e.data)
                  : n()
                : n(e.message);
            })),
          c.ajax(a))
        : n("Not signed in.");
    }
    ((H5P.getUserData = function (e, r, n, i) {
      ((i = i || 0), (H5PIntegration.contents = H5PIntegration.contents || {}));
      var o = H5PIntegration.contents["cid-" + e] || {},
        s = o.contentUserData;
      if (s && s[i] && void 0 !== s[i][r])
        if ("RESET" !== s[i][r])
          try {
            n(void 0, JSON.parse(s[i][r]));
          } catch (e) {
            n(e);
          }
        else n(void 0, null);
      else
        a(e, r, i, function (e, t) {
          if (e || void 0 === t) n(e, t);
          else {
            (void 0 === o.contentUserData && (o.contentUserData = s = {}),
              void 0 === s[i] && (s[i] = {}),
              (s[i][r] = t));
            try {
              n(void 0, JSON.parse(t));
            } catch (e) {
              n(e);
            }
          }
        });
    }),
      (H5P.setUserData = function (e, t, r, n) {
        var i = H5P.jQuery.extend(
          !0,
          {},
          { subContentId: 0, preloaded: !0, deleteOnChange: !1, async: !0 },
          n,
        );
        try {
          r = JSON.stringify(r);
        } catch (e) {
          return void (i.errorCallback && i.errorCallback(e));
        }
        n = H5PIntegration.contents["cid-" + e];
        (n = void 0 === n ? (H5PIntegration.contents["cid-" + e] = {}) : n)
          .contentUserData || (n.contentUserData = {});
        n = n.contentUserData;
        (void 0 === n[i.subContentId] && (n[i.subContentId] = {}),
          r !== n[i.subContentId][t] &&
            ((n[i.subContentId][t] = r),
            a(
              e,
              t,
              i.subContentId,
              function (e) {
                i.errorCallback && e && i.errorCallback(e);
              },
              r,
              i.preloaded,
              i.deleteOnChange,
              i.async,
            )));
      }),
      (H5P.deleteUserData = function (e, t, r) {
        r = r || 0;
        var n = H5PIntegration.contents["cid-" + e].contentUserData;
        (n && n[r] && n[r][t] && delete n[r][t], a(e, t, r, void 0, null));
      }),
      (H5P.getContentForInstance = function (e) {
        e = "cid-" + e;
        return H5PIntegration &&
          H5PIntegration.contents &&
          H5PIntegration.contents[e]
          ? H5PIntegration.contents[e]
          : void 0;
      }),
      (H5P.ClipboardItem = function (e, t, r) {
        var n = this;
        (t || ((t = "action"), (e = { action: e })),
          (n.specific = e),
          t && e[t] && (n.generic = t),
          r && (n.from = r),
          window.H5PEditor &&
            H5PEditor.contentId &&
            (n.contentId = H5PEditor.contentId),
          n.specific.width ||
            n.specific.height ||
            !n.generic ||
            ((r = n.specific[n.generic]).params.file &&
              r.params.file.width &&
              r.params.file.height &&
              ((n.width = 20),
              (n.height =
                (r.params.file.height / r.params.file.width) * n.width))));
      }),
      (H5P.clipboardify = function (e) {
        (e instanceof H5P.ClipboardItem || (e = new H5P.ClipboardItem(e)),
          H5P.setClipboard(e));
      }),
      (H5P.getClipboard = function () {
        return e();
      }),
      (H5P.setClipboard = function (e) {
        (localStorage.setItem("h5pClipboard", JSON.stringify(e)),
          H5P.externalDispatcher.trigger("datainclipboard", { reset: !1 }));
      }),
      (H5P.getLibraryConfig = function (e) {
        return H5PIntegration.libraryConfig && H5PIntegration.libraryConfig[e]
          ? H5PIntegration.libraryConfig[e]
          : {};
      }));
    var e = function () {
        var t = localStorage.getItem("h5pClipboard");
        if (t) {
          try {
            t = JSON.parse(t);
          } catch (e) {
            return void console.error(
              "Unable to parse JSON from clipboard.",
              e,
            );
          }
          return (
            n(t.specific, function (e) {
              return "#tmp" === e.substr(-4, 4) ||
                !t.contentId ||
                e.match(/^https?:\/\//i)
                ? e
                : H5PEditor.contentId
                  ? "../" + t.contentId + "/" + e
                  : (H5PEditor.contentRelUrl || "../content/") +
                    t.contentId +
                    "/" +
                    e;
            }),
            t.generic && (t.generic = t.specific[t.generic]),
            t
          );
        }
      },
      n = function (e, t) {
        for (var r in e)
          e.hasOwnProperty(r) &&
            e[r] instanceof Object &&
            (void 0 !== (r = e[r]).path && void 0 !== r.mime
              ? (r.path = t(r.path))
              : (void 0 !== r.library &&
                  void 0 !== r.subContentId &&
                  delete r.subContentId,
                n(r, t)));
      };
    c(document).ready(function () {
      window.addEventListener("storage", function (e) {
        "h5pClipboard" === e.key &&
          H5P.externalDispatcher.trigger("datainclipboard", {
            reset: null === e.newValue,
          });
      });
      var i,
        e,
        t = {
          default: "4.0",
          "4.0": H5P.t("licenseCC40"),
          "3.0": H5P.t("licenseCC30"),
          2.5: H5P.t("licenseCC25"),
          "2.0": H5P.t("licenseCC20"),
          "1.0": H5P.t("licenseCC10"),
        };
      ((H5P.copyrightLicenses = {
        U: H5P.t("licenseU"),
        "CC BY": {
          label: H5P.t("licenseCCBY"),
          link: "http://creativecommons.org/licenses/by/:version",
          versions: t,
        },
        "CC BY-SA": {
          label: H5P.t("licenseCCBYSA"),
          link: "http://creativecommons.org/licenses/by-sa/:version",
          versions: t,
        },
        "CC BY-ND": {
          label: H5P.t("licenseCCBYND"),
          link: "http://creativecommons.org/licenses/by-nd/:version",
          versions: t,
        },
        "CC BY-NC": {
          label: H5P.t("licenseCCBYNC"),
          link: "http://creativecommons.org/licenses/by-nc/:version",
          versions: t,
        },
        "CC BY-NC-SA": {
          label: H5P.t("licenseCCBYNCSA"),
          link: "http://creativecommons.org/licenses/by-nc-sa/:version",
          versions: t,
        },
        "CC BY-NC-ND": {
          label: H5P.t("licenseCCBYNCND"),
          link: "http://creativecommons.org/licenses/by-nc-nd/:version",
          versions: t,
        },
        "CC0 1.0": {
          label: H5P.t("licenseCC010"),
          link: "https://creativecommons.org/publicdomain/zero/1.0/",
        },
        "GNU GPL": {
          label: H5P.t("licenseGPL"),
          link: "http://www.gnu.org/licenses/gpl-:version-standalone.html",
          linkVersions: { v3: "3.0", v2: "2.0", v1: "1.0" },
          versions: {
            default: "v3",
            v3: H5P.t("licenseV3"),
            v2: H5P.t("licenseV2"),
            v1: H5P.t("licenseV1"),
          },
        },
        PD: {
          label: H5P.t("licensePD"),
          versions: {
            "CC0 1.0": {
              label: H5P.t("licenseCC010"),
              link: "https://creativecommons.org/publicdomain/zero/1.0/",
            },
            "CC PDM": {
              label: H5P.t("licensePDM"),
              link: "https://creativecommons.org/publicdomain/mark/1.0/",
            },
          },
        },
        "ODC PDDL":
          '<a href="http://opendatacommons.org/licenses/pddl/1.0/" target="_blank">Public Domain Dedication and Licence</a>',
        "CC PDM": {
          label: H5P.t("licensePDM"),
          link: "https://creativecommons.org/publicdomain/mark/1.0/",
        },
        C: H5P.t("licenseC"),
      }),
        H5P.isFramed &&
          !1 === H5P.externalEmbed &&
          H5P.externalDispatcher.on("*", function (e) {
            window.parent.H5P.externalDispatcher.trigger.call(this, e);
          }),
        H5P.preventInit || H5P.init(document.body),
        !1 !== H5PIntegration.saveFreq &&
          ((i = 0),
          (e = function () {
            var e = new Date().getTime();
            if (250 < e - i) {
              i = e;
              for (var t = 0; t < H5P.instances.length; t++) {
                var r,
                  n = H5P.instances[t];
                !(
                  n.getCurrentState instanceof Function ||
                  "function" == typeof n.getCurrentState
                ) ||
                  (void 0 !== (r = n.getCurrentState()) &&
                    H5P.setUserData(n.contentId, "state", r, {
                      deleteOnChange: !0,
                      async: !1,
                    }));
              }
            }
          }),
          H5P.$window.one("beforeunload unload", function () {
            (H5P.$window.off("pagehide beforeunload unload"), e());
          }),
          H5P.$window.on("pagehide", e)));
    });
  })(H5P.jQuery),
  ((H5P = window.H5P = window.H5P || {}).Event = function (e, t, r) {
    ((this.type = e), (this.data = t));
    var n = !1,
      i = !1,
      o = !1;
    (!0 === (r = void 0 === r ? {} : r).bubbles && (n = !0),
      !0 === r.external && (i = !0),
      (this.preventBubbling = function () {
        n = !1;
      }),
      (this.getBubbles = function () {
        return n;
      }),
      (this.scheduleForExternal = function () {
        return !(!i || o) && (o = !0);
      }));
  }),
  (H5P.EventDispatcher = function () {
    var i = this,
      s = {};
    function n(e, t) {
      if (void 0 !== s[e])
        for (var r = s[e].slice(), n = 0; n < r.length; n++) {
          var i = r[n],
            o = i.thisArg || this;
          i.listener.call(o, t);
        }
    }
    ((this.on = function (e, t, r) {
      if ("function" != typeof t)
        throw TypeError("listener must be a function");
      i.trigger("newListener", { type: e, listener: t });
      r = { listener: t, thisArg: r };
      s[e] ? s[e].push(r) : (s[e] = [r]);
    }),
      (this.once = function (e, t, r) {
        if (!(t instanceof Function))
          throw TypeError("listener must be a function");
        var n = function (e) {
          (i.off(e.type, n), t.call(this, e));
        };
        i.on(e, n, r);
      }),
      (this.off = function (e, t) {
        if (void 0 !== t && !(t instanceof Function))
          throw TypeError("listener must be a function");
        if (void 0 !== s[e]) {
          if (void 0 === t)
            return (delete s[e], void i.trigger("removeListener", e));
          for (var r = 0; r < s[e].length; r++)
            if (s[e][r].listener === t) {
              (s[e].splice(r, 1),
                i.trigger("removeListener", e, { listener: t }));
              break;
            }
          s[e].length || delete s[e];
        }
      }),
      (this.trigger = function (e, t, r) {
        void 0 !== e &&
          (e instanceof String || "string" == typeof e
            ? (e = new H5P.Event(e, t, r))
            : void 0 !== t && (e.data = t),
          (t = e.scheduleForExternal()),
          n.call(this, e.type, e),
          n.call(this, "*", e),
          e.getBubbles() &&
            i.parent instanceof H5P.EventDispatcher &&
            (i.parent.trigger instanceof Function ||
              "function" == typeof i.parent.trigger) &&
            i.parent.trigger(e),
          t && H5P.externalDispatcher.trigger.call(this, e));
      }));
  }),
  ((H5P = window.H5P = window.H5P || {}).XAPIEvent = function () {
    H5P.Event.call(
      this,
      "xAPI",
      { statement: {} },
      { bubbles: !0, external: !0 },
    );
  }),
  (H5P.XAPIEvent.prototype = Object.create(H5P.Event.prototype)),
  (H5P.XAPIEvent.prototype.constructor = H5P.XAPIEvent),
  (H5P.XAPIEvent.prototype.setScoredResult = function (e, t, r, n, i) {
    ((this.data.statement.result = {}),
      void 0 !== e &&
        (void 0 === t
          ? (this.data.statement.result.score = { raw: e })
          : ((this.data.statement.result.score = { min: 0, max: t, raw: e }),
            0 < t &&
              (this.data.statement.result.score.scaled =
                Math.round((e / t) * 1e4) / 1e4))),
      (this.data.statement.result.completion =
        void 0 === n
          ? "completed" === this.getVerb() || "answered" === this.getVerb()
          : n),
      void 0 !== i && (this.data.statement.result.success = i),
      r &&
        r.activityStartTime &&
        ((r = Math.round((Date.now() - r.activityStartTime) / 10) / 100),
        (this.data.statement.result.duration = "PT" + r + "S")));
  }),
  (H5P.XAPIEvent.prototype.setVerb = function (e) {
    -1 !== H5P.jQuery.inArray(e, H5P.XAPIEvent.allowedXAPIVerbs)
      ? (this.data.statement.verb = {
          id: "http://adlnet.gov/expapi/verbs/" + e,
          display: { "en-US": e },
        })
      : void 0 !== e.id && (this.data.statement.verb = e);
  }),
  (H5P.XAPIEvent.prototype.getVerb = function (e) {
    var t = this.data.statement;
    return "verb" in t ? (!0 === e ? t.verb : t.verb.id.slice(31)) : null;
  }),
  (H5P.XAPIEvent.prototype.setObject = function (e) {
    e.contentId
      ? ((this.data.statement.object = {
          id: this.getContentXAPIId(e),
          objectType: "Activity",
          definition: {
            extensions: {
              "http://h5p.org/x-api/h5p-local-content-id": e.contentId,
            },
          },
        }),
        e.subContentId
          ? ((this.data.statement.object.definition.extensions[
              "http://h5p.org/x-api/h5p-subContentId"
            ] = e.subContentId),
            "function" == typeof e.getTitle &&
              (this.data.statement.object.definition.name = {
                "en-US": e.getTitle(),
              }))
          : (e = H5P.getContentForInstance(e.contentId)) &&
            e.metadata &&
            e.metadata.title &&
            (this.data.statement.object.definition.name = {
              "en-US": H5P.createTitle(e.metadata.title),
            }))
      : (this.data.statement.object = { definition: {} });
  }),
  (H5P.XAPIEvent.prototype.setContext = function (e) {
    (e.parent &&
      (e.parent.contentId || e.parent.subContentId) &&
      (this.data.statement.context = {
        contextActivities: {
          parent: [
            { id: this.getContentXAPIId(e.parent), objectType: "Activity" },
          ],
        },
      }),
      e.libraryInfo &&
        (void 0 === this.data.statement.context &&
          (this.data.statement.context = { contextActivities: {} }),
        (this.data.statement.context.contextActivities.category = [
          {
            id:
              "http://h5p.org/libraries/" + e.libraryInfo.versionedNameNoSpaces,
            objectType: "Activity",
          },
        ])));
  }),
  (H5P.XAPIEvent.prototype.setActor = function () {
    if (void 0 !== H5PIntegration.user)
      this.data.statement.actor = {
        name: H5PIntegration.user.name,
        mbox: "mailto:" + H5PIntegration.user.mail,
        objectType: "Agent",
      };
    else {
      var t;
      try {
        localStorage.H5PUserUUID
          ? (t = localStorage.H5PUserUUID)
          : ((t = H5P.createUUID()), (localStorage.H5PUserUUID = t));
      } catch (e) {
        t = "not-trackable-" + H5P.createUUID();
      }
      this.data.statement.actor = {
        account: { name: t, homePage: H5PIntegration.siteUrl },
        objectType: "Agent",
      };
    }
  }),
  (H5P.XAPIEvent.prototype.getMaxScore = function () {
    return this.getVerifiedStatementValue(["result", "score", "max"]);
  }),
  (H5P.XAPIEvent.prototype.getScore = function () {
    return this.getVerifiedStatementValue(["result", "score", "raw"]);
  }),
  (H5P.XAPIEvent.prototype.getContentXAPIId = function (e) {
    var t;
    return (
      e.contentId &&
        H5PIntegration &&
        H5PIntegration.contents &&
        H5PIntegration.contents["cid-" + e.contentId] &&
        ((t = H5PIntegration.contents["cid-" + e.contentId].url),
        e.subContentId && (t += "?subContentId=" + e.subContentId)),
      t
    );
  }),
  (H5P.XAPIEvent.prototype.isFromChild = function () {
    var e = this.getVerifiedStatementValue([
      "context",
      "contextActivities",
      "parent",
      0,
      "id",
    ]);
    return !e || -1 === e.indexOf("subContentId");
  }),
  (H5P.XAPIEvent.prototype.getVerifiedStatementValue = function (e) {
    for (var t = this.data.statement, r = 0; r < e.length; r++) {
      if (void 0 === t[e[r]]) return null;
      t = t[e[r]];
    }
    return t;
  }),
  (H5P.XAPIEvent.allowedXAPIVerbs = [
    "answered",
    "asked",
    "attempted",
    "attended",
    "commented",
    "completed",
    "exited",
    "experienced",
    "failed",
    "imported",
    "initialized",
    "interacted",
    "launched",
    "mastered",
    "passed",
    "preferred",
    "progressed",
    "registered",
    "responded",
    "resumed",
    "scored",
    "shared",
    "suspended",
    "terminated",
    "voided",
    "downloaded",
    "copied",
    "accessed-reuse",
    "accessed-embed",
    "accessed-copyright",
  ]),
  ((H5P = window.H5P = window.H5P || {}).externalDispatcher =
    new H5P.EventDispatcher()),
  (H5P.EventDispatcher.prototype.triggerXAPI = function (e, t) {
    this.trigger(this.createXAPIEventTemplate(e, t));
  }),
  (H5P.EventDispatcher.prototype.createXAPIEventTemplate = function (e, t) {
    var r = new H5P.XAPIEvent();
    if ((r.setActor(), r.setVerb(e), void 0 !== t))
      for (var n in t) r.data.statement[n] = t[n];
    return (
      "object" in r.data.statement || r.setObject(this),
      "context" in r.data.statement || r.setContext(this),
      r
    );
  }),
  (H5P.EventDispatcher.prototype.triggerXAPICompleted = function (e, t, r) {
    this.triggerXAPIScored(e, t, "completed", !0, r);
  }),
  (H5P.EventDispatcher.prototype.triggerXAPIScored = function (e, t, r, n, i) {
    r = this.createXAPIEventTemplate(r);
    (r.setScoredResult(e, t, this, n, i), this.trigger(r));
  }),
  (H5P.EventDispatcher.prototype.setActivityStarted = function () {
    void 0 === this.activityStartTime &&
      (void 0 !== this.contentId &&
        void 0 !== H5PIntegration.contents &&
        void 0 !== H5PIntegration.contents["cid-" + this.contentId] &&
        this.triggerXAPI("attempted"),
      (this.activityStartTime = Date.now()));
  }),
  (H5P.xAPICompletedListener = function (e) {
    var t, r;
    ("completed" !== e.getVerb() && "answered" !== e.getVerb()) ||
      e.getVerifiedStatementValue(["context", "contextActivities", "parent"]) ||
      ((t = e.getScore()),
      (r = e.getMaxScore()),
      (e = e.getVerifiedStatementValue([
        "object",
        "definition",
        "extensions",
        "http://h5p.org/x-api/h5p-local-content-id",
      ])),
      H5P.setFinished(e, t, r));
  }) /*!@license js/h5p-content-type.js by Joubel and other contributors, licensed under GNU GENERAL PUBLIC LICENSE Version 3*/,
  (H5P.ContentType = function (e) {
    function t() {}
    return (
      ((t.prototype = new H5P.EventDispatcher()).isRoot = function () {
        return e;
      }),
      (t.prototype.getLibraryFilePath = function (e) {
        return (
          H5P.getLibraryPath(this.libraryInfo.versionedNameNoSpaces) + "/" + e
        );
      }),
      t
    );
  }) /*!@license js/h5p-confirmation-dialog.js by Joubel and other contributors, licensed under GNU GENERAL PUBLIC LICENSE Version 3*/,
  (H5P.ConfirmationDialog = (function (E) {
    "use strict";
    function e(r) {
      E.call(this);
      var n = this;
      H5P.ConfirmationDialog.uniqueId += 1;
      var e = H5P.ConfirmationDialog.uniqueId;
      function t(e) {
        (n.hide(), n.trigger("confirmed"), e.preventDefault());
      }
      function i(e) {
        (n.hide(), n.trigger("canceled"), e.preventDefault());
      }
      function o(e, t) {
        (e.focus(), t.preventDefault());
      }
      (((r = r || {}).headerText =
        r.headerText || H5P.t("confirmDialogHeader")),
        (r.dialogText = r.dialogText || H5P.t("confirmDialogBody")),
        (r.cancelText = r.cancelText || H5P.t("cancelLabel")),
        (r.confirmText = r.confirmText || H5P.t("confirmLabel")));
      var s = 32,
        a = 8,
        c = !1,
        l = document.createElement("div");
      l.classList.add("h5p-confirmation-dialog-background", "hidden", "hiding");
      var u = document.createElement("div");
      (u.classList.add("h5p-confirmation-dialog-popup", "hidden"),
        r.classes &&
          r.classes.forEach(function (e) {
            u.classList.add(e);
          }),
        u.setAttribute("role", "dialog"),
        u.setAttribute(
          "aria-labelledby",
          "h5p-confirmation-dialog-dialog-text-" + e,
        ),
        l.appendChild(u),
        u.addEventListener("keydown", function (e) {
          27 === e.which && i(e);
        }));
      var h = document.createElement("div");
      (h.classList.add("h5p-confirmation-dialog-header"), u.appendChild(h));
      var p = document.createElement("div");
      (p.classList.add("h5p-confirmation-dialog-header-text"),
        (p.innerHTML = r.headerText),
        h.appendChild(p));
      h = document.createElement("div");
      (h.classList.add("h5p-confirmation-dialog-body"), u.appendChild(h));
      p = document.createElement("div");
      (p.classList.add("h5p-confirmation-dialog-text"),
        (p.innerHTML = r.dialogText),
        (p.id = "h5p-confirmation-dialog-dialog-text-" + e),
        h.appendChild(p));
      p = document.createElement("div");
      (p.classList.add("h5p-confirmation-dialog-buttons"), h.appendChild(p));
      var d = document.createElement("button");
      (d.classList.add("h5p-core-cancel-button"),
        (d.textContent = r.cancelText));
      var f = document.createElement("button");
      (f.classList.add("h5p-core-button"),
        f.classList.add("h5p-confirmation-dialog-confirm-button"),
        (f.textContent = r.confirmText));
      var m,
        g,
        h = document.createElement("button");
      (h.classList.add("h5p-confirmation-dialog-exit"),
        h.setAttribute("aria-hidden", "true"),
        (h.tabIndex = -1),
        (h.title = r.cancelText),
        d.addEventListener("click", i),
        d.addEventListener("keydown", function (e) {
          32 === e.which ? i(e) : 9 === e.which && e.shiftKey && o(f, e);
        }),
        r.hideCancel ? p.classList.add("center") : p.appendChild(d),
        f.addEventListener("click", t),
        f.addEventListener("keydown", function (e) {
          32 === e.which
            ? t(e)
            : 9 !== e.which || e.shiftKey || o(r.hideCancel ? f : d, e);
        }),
        p.appendChild(f),
        h.addEventListener("click", i),
        h.addEventListener("keydown", function (e) {
          32 === e.which && i(e);
        }),
        r.hideExit || u.appendChild(h));
      var v,
        y = [],
        b = [];
      this.appendTo = function (e) {
        return ((m = e), this);
      };
      var w = function (e) {
          l.contains(e.target) || (e.preventDefault(), f.focus());
        },
        x = function (e) {
          for (
            var t = [], r = e.parentNode.children, n = 0;
            n < r.length;
            n += 1
          )
            ((t[n] = !!r[n].getAttribute("aria-hidden")),
              r[n] !== e && r[n].setAttribute("aria-hidden", !0));
          return t;
        },
        S = function (e, t) {
          for (var r = e.parentNode.children, n = 0; n < r.length; n += 1)
            r[n] === e || t[n] || r[n].removeAttribute("aria-hidden");
        };
      ((this.show = function (e) {
        var t;
        return (
          (v = document.activeElement),
          m.appendChild(l),
          (g = m.parentNode || m).addEventListener("focus", w, !0),
          (y = x(m)),
          (b = x(l)),
          l.classList.remove("hidden"),
          (t = e),
          (e = parseInt(u.style.top, 10)),
          (e =
            (e = (e = void 0 !== t ? t : e) || 0) + u.offsetHeight >
            m.offsetHeight
              ? m.offsetHeight - u.offsetHeight - a
              : e) -
            s <=
            0 && ((e = s + a), (c = !0)),
          (u.style.top = e + "px"),
          setTimeout(function () {
            (u.classList.remove("hidden"),
              l.classList.remove("hiding"),
              setTimeout(function () {
                var e;
                (f.focus(),
                  c &&
                    r.instance &&
                    ((e = parseInt(u.offsetHeight, 10) + s + 2 * a),
                    n.setViewPortMinimumHeight(e),
                    r.instance.trigger("resize"),
                    (c = !1)));
              }, 100));
          }, 0),
          this
        );
      }),
        (this.hide = function () {
          return (
            l.classList.add("hiding"),
            u.classList.add("hidden"),
            g.removeAttribute("aria-hidden"),
            g.removeEventListener("focus", w, !0),
            r.skipRestoreFocus || v.focus(),
            S(m, y),
            S(l, b),
            setTimeout(function () {
              (l.classList.add("hidden"),
                m.removeChild(l),
                n.setViewPortMinimumHeight(null));
            }, 100),
            this
          );
        }),
        (this.getElement = function () {
          return u;
        }),
        (this.getPreviouslyFocused = function () {
          return v;
        }),
        (this.setViewPortMinimumHeight = function (e) {
          (
            document.querySelector(".h5p-container") || document.body
          ).style.minHeight = "number" == typeof e ? e + "px" : e;
        }));
    }
    return ((e.prototype = Object.create(E.prototype)).constructor = e);
  })(H5P.EventDispatcher)),
  (H5P.ConfirmationDialog.uniqueId =
    -1) /*!@license js/h5p-action-bar.js by Joubel and other contributors, licensed under GNU GENERAL PUBLIC LICENSE Version 3*/,
  (H5P.ActionBar = (function (r) {
    "use strict";
    function e(e) {
      r.call(this);
      function t(e, t) {
        function r() {
          n.trigger(e);
        }
        (H5P.jQuery("<li/>", {
          class: "h5p-button h5p-noselect h5p-" + (t || e),
          role: "button",
          tabindex: 0,
          title: H5P.t(e + "Description"),
          html: H5P.t(e),
          on: {
            click: r,
            keypress: function (e) {
              32 === e.which && (r(), e.preventDefault());
            },
          },
          appendTo: o,
        }),
          (i = !0));
      }
      var n = this,
        i = !1,
        o = H5P.jQuery('<ul class="h5p-actions"></ul>');
      ((e.export || e.copy) && t("reuse", "export"),
        e.copyright && t("copyrights"),
        e.embed && t("embed"),
        e.icon &&
          (H5P.jQuery(
            '<li><a class="h5p-link" href="http://h5p.org" target="_blank" title="' +
              H5P.t("h5pDescription") +
              '"></a></li>',
          ).appendTo(o),
          (i = !0)),
        (n.getDOMElement = function () {
          return o;
        }),
        (n.hasActions = function () {
          return i;
        }));
    }
    return ((e.prototype = Object.create(r.prototype)).constructor = e);
  })(
    (H5P.jQuery, H5P.EventDispatcher),
  )) /*!@license js/request-queue.js by Joubel and other contributors, licensed under GNU GENERAL PUBLIC LICENSE Version 3*/,
  (H5P.RequestQueue = (function (r, t) {
    function e(e) {
      (t.call(this),
        (this.processingQueue = !1),
        (this.showToast = (e = e || {}).showToast),
        (this.itemName = "requestQueue"));
    }
    return (
      (e.prototype.add = function (e, t) {
        if (!window.localStorage) return !1;
        let r = this.getStoredRequests();
        return (
          (r = r || []),
          r.push({ url: e, data: t }),
          window.localStorage.setItem(this.itemName, JSON.stringify(r)),
          this.trigger("requestQueued", {
            storedStatements: r,
            processingQueue: this.processingQueue,
          }),
          !0
        );
      }),
      (e.prototype.getStoredRequests = function () {
        if (!window.localStorage) return !1;
        var e = window.localStorage.getItem(this.itemName);
        return e ? JSON.parse(e) : [];
      }),
      (e.prototype.clearQueue = function () {
        return (
          !!window.localStorage &&
          (window.localStorage.removeItem(this.itemName), !0)
        );
      }),
      (e.prototype.resumeQueue = function () {
        if (!H5PIntegration || !window.navigator || !window.localStorage)
          return !1;
        if (this.processingQueue) return !1;
        var e = this.getStoredRequests(),
          t = e.length;
        return (
          this.clearQueue(),
          t
            ? ((this.processingQueue = !0), this.processQueue(e))
            : this.trigger("emptiedQueue", e),
          !0
        );
      }),
      (e.prototype.processQueue = function (e) {
        var t;
        e.length &&
          (this.trigger("processingQueue"),
          (t = e.shift()),
          r
            .post(t.url, t.data)
            .fail(this.onQueuedRequestFail.bind(this, t))
            .always(this.onQueuedRequestProcessed.bind(this, e)));
      }),
      (e.prototype.onQueuedRequestFail = function (e) {
        window.navigator.onLine || this.add(e.url, e.data);
      }),
      (e.prototype.onQueuedRequestProcessed = function (e) {
        e.length
          ? this.processQueue(e)
          : ((this.processingQueue = !1),
            (e = this.getStoredRequests()),
            this.trigger("queueEmptied", e));
      }),
      (e.prototype.displayToastMessage = function (e, t, r) {
        (this.showToast || t) &&
          ((r = H5P.jQuery.extend(
            !0,
            {},
            {
              position: {
                horizontal: "centered",
                vertical: "centered",
                noOverflowX: !0,
              },
            },
            r,
          )),
          H5P.attachToastTo(H5P.jQuery(".h5p-content:first")[0], e, r));
      }),
      e
    );
  })(H5P.jQuery, H5P.EventDispatcher)),
  (H5P.OfflineRequestQueue = (function (w, x) {
    return function (e) {
      const r = new w();
      r.clearQueue();
      let n = null;
      const i = [10, 20, 40, 60, 120, 300, 600];
      let o = -1,
        t = null,
        s = !1,
        a = !1,
        c = !1;
      e = e.instance;
      const l = new x({
          headerText: H5P.t("offlineDialogHeader"),
          dialogText: H5P.t("offlineDialogBody"),
          confirmText: H5P.t("offlineDialogRetryButtonLabel"),
          hideCancel: !0,
          hideExit: !0,
          classes: ["offline"],
          instance: e,
          skipRestoreFocus: !0,
        }),
        u = l.getElement(),
        h = document.createElement("div");
      (h.classList.add("count-down"),
        (h.innerHTML = H5P.t("offlineDialogRetryMessage").replace(
          ":num",
          '<span class="count-down-num">0</span>',
        )),
        u.querySelector(".h5p-confirmation-dialog-text").appendChild(h));
      const p = h.querySelector(".count-down-num"),
        d = document.createElement("div");
      d.classList.add("throbber-wrapper");
      const f = document.createElement("div");
      (f.classList.add("sending-requests-throbber"),
        d.appendChild(f),
        r.on(
          "requestQueued",
          function (e) {
            if (!e.data || !e.data.processingQueue) {
              if (!s) {
                const t = document.body.querySelector(".h5p-content");
                if (!t) return;
                (l.appendTo(t), t.appendChild(d), (s = !0));
              }
              y();
            }
          }.bind(this),
        ),
        r.on(
          "queueEmptied",
          function (e) {
            e.data && e.data.length
              ? y(!0)
              : (clearInterval(t),
                m(!1),
                (o = -1),
                a && (l.hide(), (a = !1)),
                r.displayToastMessage(H5P.t("offlineSuccessfulSubmit"), !0, {
                  position: { vertical: "top", offsetVertical: "100" },
                }));
          }.bind(this),
        ),
        l.on(
          "confirmed",
          function () {
            ((a = !1),
              setTimeout(function () {
                g();
              }, 100));
          }.bind(this),
        ),
        window.addEventListener(
          "online",
          function () {
            g();
          }.bind(this),
        ),
        window.addEventListener(
          "message",
          function (e) {
            window.parent === e.source &&
              "h5p" === e.data.context &&
              "queueRequest" === e.data.action &&
              this.add(e.data.url, e.data.data);
          }.bind(this),
        ));
      const m = function (e) {
          ((c = !c),
            void 0 !== e && (c = e),
            c && a && (l.hide(), (a = !1)),
            c ? d.classList.add("show") : d.classList.remove("show"));
        },
        g = function () {
          (clearInterval(t), m(!0), r.resumeQueue());
        },
        v = function () {
          ((o += 1), o >= i.length && (o = i.length - 1));
        },
        y = function (e) {
          a ||
            (m(!1),
            a ||
              (e
                ? setTimeout(function () {
                    l.show(0);
                  }, 100)
                : l.show(0)),
            (a = !0),
            (n = new Date().getTime()),
            v(),
            clearInterval(t),
            (t = setInterval(b, 100)));
        },
        b = function () {
          var e = new Date().getTime(),
            e = Math.floor((e - n) / 1e3);
          const t = i[o] - e;
          ((p.textContent = t.toString()), t <= 0 && g());
        };
      this.add = function (e, t) {
        if (window.navigator.onLine) return !1;
        r.add(e, t);
      };
    };
  })(H5P.RequestQueue, H5P.ConfirmationDialog)),
  (function (n) {
    ((H5P.Image = function (e, t, r) {
      (H5P.EventDispatcher.call(this),
        (this.extras = r),
        void 0 !== e.file && e.file instanceof Object
          ? ((this.source = H5P.getPath(e.file.path, t)),
            (this.width = e.file.width),
            (this.height = e.file.height))
          : (this.placeholder = !0),
        (this.alt =
          e.decorative || void 0 === e.alt
            ? ""
            : this.stripHTML(this.htmlDecode(e.alt))),
        void 0 !== e.title &&
          (this.title = this.stripHTML(this.htmlDecode(e.title))));
    }),
      (H5P.Image.prototype = Object.create(H5P.EventDispatcher.prototype)),
      (H5P.Image.prototype.constructor = H5P.Image),
      (H5P.Image.prototype.attach = function (e) {
        var t = this,
          r = this.source;
        (void 0 === t.$img &&
          (t.placeholder
            ? (t.$img = n("<div>", {
                width: "100%",
                height: "100%",
                class: "h5p-placeholder",
                title: void 0 === this.title ? "" : this.title,
                on: {
                  load: function () {
                    t.trigger("loaded");
                  },
                },
              }))
            : (t.$img = n("<img>", {
                width: "100%",
                height: "100%",
                src: r,
                alt: this.alt,
                title: void 0 === this.title ? "" : this.title,
                on: {
                  load: function () {
                    t.trigger("loaded");
                  },
                },
              }))),
          e.addClass("h5p-image").html(t.$img));
      }),
      (H5P.Image.prototype.htmlDecode = function (e) {
        return new DOMParser().parseFromString(e, "text/html").documentElement
          .textContent;
      }),
      (H5P.Image.prototype.stripHTML = function (e) {
        const t = document.createElement("div");
        return ((t.innerHTML = e), t.textContent || t.innerText || "");
      }),
      H5P.Image);
  })((H5P = H5P || {}).jQuery),
  /*!@license H5P.Column-1.16/scripts/h5p-column.js by Joubel licensed under MIT*/ (H5P.Column =
    (function (e) {
      function T(r, s, n) {
        var a,
          c = this;
        (e.call(c),
          void 0 === (r = r || {}).useSeparators && (r.useSeparators = !0),
          (this.contentData = n));
        function t() {
          a = document.createElement("div");
          for (var e = 0; e < r.content.length; e++) {
            var t = r.content[e];
            void 0 !== t.content &&
              (r.useSeparators &&
                v(t.content.library.split(" ")[0], t.useSeparator),
              m(t.content, g(e)));
          }
        }
        var i,
          l = [],
          u = [],
          h = 0,
          o = 0,
          p = [],
          d = function () {
            for (var e = 0, t = 0, r = 0; r < p.length; r++) {
              var n = p[r];
              ((e += n.getScore()), (t += n.getMaxScore()));
            }
            c.triggerXAPIScored(e, t, "completed");
          },
          f = function (t) {
            return function (e) {
              null !== e.getScore() &&
                (void 0 === p[t] && o++,
                (p[t] = e),
                ((e =
                  c.createXAPIEventTemplate(
                    "progressed",
                  )).data.statement.object.definition.extensions[
                  "http://id.tincanapi.com/extension/ending-point"
                ] = t + 1),
                c.trigger(e),
                o === h &&
                  setTimeout(function () {
                    d();
                  }, 0));
            };
          },
          m = function (e, t) {
            var r = document.createElement("div");
            r.classList.add("h5p-column-content");
            var n = e.library.split(" ")[0];
            "H5P.Video" === n && (e.params.visuals.fit = !1);
            var i,
              o,
              t = H5P.newRunnable(e, s, void 0, !0, t);
            ((i = "resize"),
              (o = c),
              t.on(i, function (e) {
                ((o.bubblingUpwards = !0),
                  o.trigger(i, e),
                  (o.bubblingUpwards = !1));
              }),
              T.isTask(t) && (t.on("xAPI", f(h)), h++),
              "H5P.Image" === n &&
                t.on("loaded", function () {
                  c.trigger("resize");
                }),
              l.push(t),
              u.push({
                hasAttached: !1,
                container: r,
                instanceIndex: l.length - 1,
              }),
              a.appendChild(r));
          },
          g = function (e) {
            var t = { parent: c };
            return (
              n.previousState &&
                n.previousState.instances &&
                n.previousState.instances[e] &&
                (t.previousState = n.previousState.instances[e]),
              t
            );
          },
          v = function (e, t) {
            var r,
              n = -1 !== C.indexOf(e);
            (void 0 !== i &&
              ((r = document.createElement("div")),
              n || -1 !== P.indexOf(e)
                ? i
                  ? "disabled" !== t && r.classList.add("h5p-column-ruler")
                  : "enabled" === t &&
                    (r.classList.add("h5p-column-ruler"),
                    r.classList.add("h5p-column-space-before"))
                : i
                  ? "enabled" === t &&
                    (r.classList.add("h5p-column-ruler"),
                    r.classList.add("h5p-column-space-after"))
                  : "enabled" === t
                    ? (r.classList.add("h5p-column-ruler"),
                      r.classList.add("h5p-column-space-before-n-after"))
                    : r.classList.add("h5p-column-space-before"),
              a.appendChild(r)),
              (i = n || -1 !== k.indexOf(e)));
          };
        ((c.attach = function (e) {
          (void 0 === a && t(),
            u
              .filter(function (e) {
                return !e.hasAttached;
              })
              .forEach(function (e) {
                (l[e.instanceIndex].attach(H5P.jQuery(e.container)),
                  (function (e) {
                    switch (e.libraryInfo.machineName) {
                      case "H5P.CoursePresentation":
                        e.$fullScreenButton && e.$fullScreenButton.remove();
                        break;
                      case "H5P.InteractiveVideo":
                        e.on("controls", function () {
                          e.controls.$fullscreen &&
                            e.controls.$fullscreen.remove();
                        });
                    }
                  })(l[e.instanceIndex]));
              }),
            e.addClass("h5p-column").html("").append(a));
        }),
          (c.getCurrentState = function () {
            var e = n.previousState || {};
            e.instances || (e.instances = []);
            for (var t = 0; t < l.length; t++) {
              var r = l[t];
              (r.getCurrentState instanceof Function ||
                "function" == typeof r.getCurrentState) &&
                (e.instances[t] = r.getCurrentState());
            }
            return e;
          }),
          (c.getXAPIData = function () {
            var e = c.createXAPIEventTemplate("answered");
            return (
              x(e),
              e.setScoredResult(
                c.getScore(),
                c.getMaxScore(),
                c,
                !0,
                c.getScore() === c.getMaxScore(),
              ),
              { statement: e.data.statement, children: E(l) }
            );
          }),
          (c.getScore = function () {
            return l.reduce(function (e, t) {
              return e + (t.getScore ? t.getScore() : 0);
            }, 0);
          }),
          (c.getMaxScore = function () {
            return l.reduce(function (e, t) {
              return e + (t.getMaxScore ? t.getMaxScore() : 0);
            }, 0);
          }),
          (c.getAnswerGiven = function () {
            return l.reduce(function (e, t) {
              return e && (t.getAnswerGiven ? t.getAnswerGiven() : e);
            }, !0);
          }),
          (c.showSolutions = function () {
            l.forEach(function (e) {
              (e.toggleReadSpeaker && e.toggleReadSpeaker(!0),
                e.showSolutions && e.showSolutions(),
                e.toggleReadSpeaker && e.toggleReadSpeaker(!1));
            });
          }),
          (c.resetTask = function () {
            l.forEach(function (e) {
              e.resetTask && e.resetTask();
            });
          }),
          (c.getInstances = function () {
            return l;
          }),
          (c.getTitle = function () {
            return H5P.createTitle(
              c.contentData &&
                c.contentData.metadata &&
                c.contentData.metadata.title
                ? c.contentData.metadata.title
                : "Column",
            );
          }));
        var y,
          b,
          w,
          x = function (e) {
            e = e.getVerifiedStatementValue(["object", "definition"]);
            H5P.jQuery.extend(e, S());
          },
          S = function () {
            var e = {
              interactionType: "compound",
              type: "http://adlnet.gov/expapi/activities/cmi.interaction",
              description: { "en-US": "" },
            };
            return e;
          },
          E = function (e) {
            return e
              .map(function (e) {
                if ("function" == typeof e.getXAPIData) return e.getXAPIData();
              })
              .filter(function (e) {
                return !!e;
              });
          };
        ((b = "resize"),
          (w = l),
          (y = c).on(b, function (e) {
            if (!y.bubblingUpwards)
              for (var t = 0; t < w.length; t++) w[t].trigger(b, e);
          }),
          void 0 === a && t(),
          c.setActivityStarted());
      }
      T.prototype = Object.create(e.prototype);
      var r = [
        "H5P.ImageHotspotQuestion",
        "H5P.Blanks",
        "H5P.Essay",
        "H5P.SingleChoiceSet",
        "H5P.MultiChoice",
        "H5P.TrueFalse",
        "H5P.DragQuestion",
        "H5P.Summary",
        "H5P.DragText",
        "H5P.MarkTheWords",
        "H5P.MemoryGame",
        "H5P.QuestionSet",
        "H5P.InteractiveVideo",
        "H5P.CoursePresentation",
        "H5P.DocumentationTool",
        "H5P.MultiMediaChoice",
      ];
      (T.prototype.constructor = T).isTask = function (e) {
        if (void 0 !== e.isTask) return e.isTask;
        for (var t = 0; t < r.length; t++)
          if (e.libraryInfo.machineName === r[t]) return !0;
        return !1;
      };
      var C = [
          "H5P.AdvancedText",
          "H5P.AudioRecorder",
          "H5P.Essay",
          "H5P.Link",
          "H5P.Accordion",
          "H5P.Table",
          "H5P.GuessTheAnswer",
          "H5P.Blanks",
          "H5P.MultiChoice",
          "H5P.TrueFalse",
          "H5P.DragQuestion",
          "H5P.Summary",
          "H5P.DragText",
          "H5P.MarkTheWords",
          "H5P.ImageHotspotQuestion",
          "H5P.MemoryGame",
          "H5P.Dialogcards",
          "H5P.QuestionSet",
          "H5P.DocumentationTool",
        ],
        P = ["H5P.SingleChoiceSet"],
        k = [
          "H5P.CoursePresentation",
          "H5P.Dialogcards",
          "H5P.GuessTheAnswer",
          "H5P.ImageSlider",
        ];
      return T;
    })(H5P.EventDispatcher)),
  /*!@license H5P.ExportableTextArea-1.3/dist/h5p-exportable-text-area.js by H5P Group licensed under unknown license*/ (() => {
    var r = {
        426: (e, t, r) => {
          "use strict";
          r.d(t, { Z: () => a });
          var n,
            l = r(50),
            i = r(162);
          const o =
            ((n = H5P.jQuery),
            (s.prototype.attach = function (e) {
              this.$content = e
                .addClass("h5p-eta")
                .append(this.$label)
                .append(this.$input);
            }),
            (s.prototype.onDelete = function (e, t, r) {
              H5P.ExportableTextArea.CPInterface.onDelete(e, t, r, this);
            }),
            (s.prototype.onAdd = function (e, t) {
              H5P.ExportableTextArea.CPInterface.onAdd(e, t, this);
            }),
            (s.prototype.exportAnswers = !0),
            (s.prototype.getTitle = function () {
              return H5P.createTitle(
                this.contentData &&
                  this.contentData.metadata &&
                  this.contentData.metadata.title
                  ? this.contentData.metadata.title
                  : "",
              );
            }),
            (s.prototype.getCurrentState = function () {
              var e = this.$input.val();
              if (e.trim()) return { answer: e };
            }),
            (s.prototype.resetTask = function () {
              this.$input.val("");
            }),
            s);
          function s(e, t, r) {
            ((this.index = void 0 !== e.index ? e.index : -1),
              (this.header = void 0 !== e.label ? e.label : ""),
              (this.notSupportedText = e.exportNotSupported),
              (this.defaultAnswer =
                r && r.previousState ? r.previousState.answer : ""),
              (this.contentData = r));
            ((e = H5P.ExportableTextArea.Exporter.supportsExport()),
              (t = (r.subContentId || t) + "-label"));
            ((this.$label = n(
              '<div id="' +
                t +
                '" class="h5p-eta-label">' +
                this.header +
                "</div>",
            )),
              (this.$input = n(
                '<textarea class="h5p-eta-input" aria-labelledby="' +
                  t +
                  '" ' +
                  (e ? "" : 'placeholder="' + this.notSupportedText + '"') +
                  'data-index="' +
                  this.index +
                  '">' +
                  this.defaultAnswer +
                  "</textarea>",
              )));
          }
          ((o.CPInterface = (function () {
            if (o._singleton) return o._singleton;
            const c = (o._singleton = {
              answerCounter: [],
              onDelete: function (e, t, r, n) {
                var i = e.slides[t].elements
                  .filter(function (e, t) {
                    return (
                      e.action &&
                      "H5P.ExportableTextArea" ===
                        H5P.libraryFromString(e.action.library).machineName
                    );
                  })
                  .sort(function (e, t) {
                    return e.action.params.index - t.action.params.index;
                  });
                c.answerCounter[t] = [];
                for (
                  var o = H5P.jQuery(".h5p-slides-wrapper > .h5p-current"),
                    s = 0;
                  s < i.length;
                  s++
                ) {
                  ((i[s].action.params.index = s),
                    (c.answerCounter[t][s] = !0));
                  var a = o.children(".h5p-eta").has("[data-index=" + s + "]");
                  a.length ||
                    ((a = o
                      .children(".h5p-eta")
                      .has("[data-index=" + (s + 1) + "]"))
                      .find(".index")
                      .html(s + 1),
                    a.find(".h5p-eta-input").attr("data-index", s));
                }
              },
              onDeleteSlide: function (e) {
                c.answerCounter[e] = [];
              },
              changeSlideIndex: function (e, t) {
                var r = c.answerCounter[e];
                ((c.answerCounter[e] = c.answerCounter[t]),
                  (c.answerCounter[t] = r));
              },
              onAdd: function (e, t, r) {
                (void 0 === c.answerCounter[t] && (c.answerCounter[t] = []),
                  void 0 === e.action.params.index &&
                    (e.action.params.index = c.answerCounter[t].length),
                  (c.answerCounter[t][e.action.params.index] = !0));
              },
            });
            return c;
          })()),
            (o.Exporter = {
              run: function (e, t) {
                l.Packer.toBlob(this.createDocx(e, t)).then((e) => {
                  (0, i.saveAs)(e, "exported-text.docx");
                });
              },
              supportsExport: function () {
                return !!new Blob();
              },
              createDocx: function (t, e) {
                const r = [];
                for (var n = 0; n < e.length; n++)
                  if (e[n])
                    for (var i = 0; i < e[n].length; i++) {
                      var o = e[n][i];
                      if (
                        o.libraryInfo &&
                        "H5P.ExportableTextArea" === o.libraryInfo.machineName
                      ) {
                        var s = t[n].elements[i],
                          a = void 0 !== o.$input ? o.$input.val() : "";
                        let e = {
                          header: o.header.replace(/<[^>]+>/g, ""),
                          text: a,
                        };
                        (void 0 !== s.action.params.exportComments &&
                          s.action.params.exportComments &&
                          (e.comments = s.solution.replace(/<[^>]+>/g, "")),
                          r.push(e));
                      }
                    }
                const c = r.map(
                  (e) =>
                    new l.Paragraph({
                      children: [
                        new l.TextRun({ text: e.header, break: 2 }),
                        new l.TextRun({ text: e.text, break: 1 }),
                        new l.TextRun({ text: e.comments, break: 1 }),
                      ],
                    }),
                );
                return (
                  c.unshift(
                    new l.Paragraph({
                      children: [
                        new l.ExternalHyperlink({
                          children: [
                            new l.TextRun({
                              text: document.URL,
                              style: "Hyperlink",
                            }),
                          ],
                          link: document.URL,
                        }),
                      ],
                    }),
                  ),
                  new l.Document({
                    sections: [{ properties: {}, children: c }],
                  })
                );
              },
              createExportButton: function (e) {
                return H5P.ExportableTextArea.Exporter.supportsExport()
                  ? '<a href="#" class="h5p-eta-export">' + e + "</a>"
                  : "";
              },
            }));
          const a = o;
        },
        103: (e, t, r) => {
          "use strict";
          r.d(t, { Z: () => i });
          var n = r(81),
            t = r.n(n),
            n = r(645),
            t = r.n(n)()(t());
          t.push([
            e.id,
            ".h5p-eta.h5p-element {\n  overflow: visible;\n}\n\n.h5p-eta {\n  display: flex;\n  flex-flow: column;\n  height: 100%;\n  position: absolute;\n  width: 100%;\n}\n\n.h5p-eta .h5p-eta-input {\n  width: 100%;\n  resize: none !important;\n  font-size: 100%;\n  padding: 0.25em;\n  border: 1px solid #a0a0a0;\n  line-height: 1.25em;\n  box-sizing: border-box;\n  outline: none;\n  flex: auto;\n}\n.h5p-eta .h5p-eta-input:focus {\n  border-color: #53a0ff;\n}\n.h5p-eta-label {\n  overflow: hidden;\n  padding: 0.375em 0.5em;\n  flex: none;\n}\n.h5p-eta-label p:last-child {\n  margin-bottom: 0;\n}\n",
            "",
          ]);
          const i = t;
        },
        645: (e) => {
          "use strict";
          e.exports = function (n) {
            var u = [];
            return (
              (u.toString = function () {
                return this.map(function (e) {
                  var t = "",
                    r = void 0 !== e[5];
                  return (
                    e[4] && (t += "@supports (".concat(e[4], ") {")),
                    e[2] && (t += "@media ".concat(e[2], " {")),
                    r &&
                      (t += "@layer".concat(
                        0 < e[5].length ? " ".concat(e[5]) : "",
                        " {",
                      )),
                    (t += n(e)),
                    r && (t += "}"),
                    e[2] && (t += "}"),
                    e[4] && (t += "}"),
                    t
                  );
                }).join("");
              }),
              (u.i = function (e, t, r, n, i) {
                "string" == typeof e && (e = [[null, e, void 0]]);
                var o = {};
                if (r)
                  for (var s = 0; s < this.length; s++) {
                    var a = this[s][0];
                    null != a && (o[a] = !0);
                  }
                for (var c = 0; c < e.length; c++) {
                  var l = [].concat(e[c]);
                  (r && o[l[0]]) ||
                    (void 0 !== i &&
                      (void 0 === l[5] ||
                        (l[1] = "@layer"
                          .concat(0 < l[5].length ? " ".concat(l[5]) : "", " {")
                          .concat(l[1], "}")),
                      (l[5] = i)),
                    t &&
                      (l[2] &&
                        (l[1] = "@media ".concat(l[2], " {").concat(l[1], "}")),
                      (l[2] = t)),
                    n &&
                      (l[4]
                        ? ((l[1] = "@supports ("
                            .concat(l[4], ") {")
                            .concat(l[1], "}")),
                          (l[4] = n))
                        : (l[4] = "".concat(n))),
                    u.push(l));
                }
              }),
              u
            );
          };
        },
        81: (e) => {
          "use strict";
          e.exports = function (e) {
            return e[1];
          };
        },
        50: (e) => {
          (globalThis,
            (e.exports = (() =>
              (() => {
                var r = {
                    9742: (e, t) => {
                      "use strict";
                      ((t.byteLength = function (e) {
                        var t = u(e),
                          e = t[0],
                          t = t[1];
                        return (3 * (e + t)) / 4 - t;
                      }),
                        (t.toByteArray = function (e) {
                          for (
                            var t,
                              r = u(e),
                              n = r[0],
                              r = r[1],
                              i = new l((3 * (n + r)) / 4 - r),
                              o = 0,
                              s = 0 < r ? n - 4 : n,
                              a = 0;
                            a < s;
                            a += 4
                          )
                            ((t =
                              (c[e.charCodeAt(a)] << 18) |
                              (c[e.charCodeAt(a + 1)] << 12) |
                              (c[e.charCodeAt(a + 2)] << 6) |
                              c[e.charCodeAt(a + 3)]),
                              (i[o++] = (t >> 16) & 255),
                              (i[o++] = (t >> 8) & 255),
                              (i[o++] = 255 & t));
                          return (
                            2 === r &&
                              ((t =
                                (c[e.charCodeAt(a)] << 2) |
                                (c[e.charCodeAt(a + 1)] >> 4)),
                              (i[o++] = 255 & t)),
                            1 === r &&
                              ((t =
                                (c[e.charCodeAt(a)] << 10) |
                                (c[e.charCodeAt(a + 1)] << 4) |
                                (c[e.charCodeAt(a + 2)] >> 2)),
                              (i[o++] = (t >> 8) & 255),
                              (i[o++] = 255 & t)),
                            i
                          );
                        }),
                        (t.fromByteArray = function (e) {
                          for (
                            var t,
                              r = e.length,
                              n = r % 3,
                              i = [],
                              o = 0,
                              s = r - n;
                            o < s;
                            o += 16383
                          )
                            i.push(
                              (function (e, t, r) {
                                for (var n, i = [], o = t; o < r; o += 3)
                                  ((n =
                                    ((e[o] << 16) & 16711680) +
                                    ((e[o + 1] << 8) & 65280) +
                                    (255 & e[o + 2])),
                                    i.push(
                                      a[((n = n) >> 18) & 63] +
                                        a[(n >> 12) & 63] +
                                        a[(n >> 6) & 63] +
                                        a[63 & n],
                                    ));
                                return i.join("");
                              })(e, o, s < o + 16383 ? s : o + 16383),
                            );
                          return (
                            1 == n
                              ? ((t = e[r - 1]),
                                i.push(a[t >> 2] + a[(t << 4) & 63] + "=="))
                              : 2 == n &&
                                ((t = (e[r - 2] << 8) + e[r - 1]),
                                i.push(
                                  a[t >> 10] +
                                    a[(t >> 4) & 63] +
                                    a[(t << 2) & 63] +
                                    "=",
                                )),
                            i.join("")
                          );
                        }));
                      for (
                        var a = [],
                          c = [],
                          l =
                            "undefined" != typeof Uint8Array
                              ? Uint8Array
                              : Array,
                          r =
                            "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
                          n = 0,
                          i = r.length;
                        n < i;
                        ++n
                      )
                        ((a[n] = r[n]), (c[r.charCodeAt(n)] = n));
                      function u(e) {
                        var t = e.length;
                        if (0 < t % 4)
                          throw new Error(
                            "Invalid string. Length must be a multiple of 4",
                          );
                        e = e.indexOf("=");
                        return [
                          (e = -1 === e ? t : e),
                          e === t ? 0 : 4 - (e % 4),
                        ];
                      }
                      ((c["-".charCodeAt(0)] = 62),
                        (c["_".charCodeAt(0)] = 63));
                    },
                    8764: (e, r, t) => {
                      "use strict";
                      const a = t(9742),
                        o = t(645),
                        n =
                          "function" == typeof Symbol &&
                          "function" == typeof Symbol.for
                            ? Symbol.for("nodejs.util.inspect.custom")
                            : null;
                      ((r.Buffer = u),
                        (r.SlowBuffer = function (e) {
                          return u.alloc(+(e = +e != e ? 0 : e));
                        }),
                        (r.INSPECT_MAX_BYTES = 50));
                      const i = 2147483647;
                      function s(e) {
                        if (e > i)
                          throw new RangeError(
                            'The value "' +
                              e +
                              '" is invalid for option "size"',
                          );
                        e = new Uint8Array(e);
                        return (Object.setPrototypeOf(e, u.prototype), e);
                      }
                      function u(e, t, r) {
                        if ("number" != typeof e) return c(e, t, r);
                        if ("string" == typeof t)
                          throw new TypeError(
                            'The "string" argument must be of type string. Received type number',
                          );
                        return h(e);
                      }
                      function c(e, t, r) {
                        if ("string" == typeof e)
                          return (function (e, t) {
                            if (
                              !u.isEncoding(
                                (t =
                                  "string" != typeof t || "" === t
                                    ? "utf8"
                                    : t),
                              )
                            )
                              throw new TypeError("Unknown encoding: " + t);
                            var r = 0 | m(e, t);
                            let n = s(r);
                            t = n.write(e, t);
                            return (t !== r && (n = n.slice(0, t)), n);
                          })(e, t);
                        if (ArrayBuffer.isView(e))
                          return (function (e) {
                            if (M(e, Uint8Array)) {
                              var t = new Uint8Array(e);
                              return d(t.buffer, t.byteOffset, t.byteLength);
                            }
                            return p(e);
                          })(e);
                        if (null == e)
                          throw new TypeError(
                            "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
                              typeof e,
                          );
                        if (
                          M(e, ArrayBuffer) ||
                          (e && M(e.buffer, ArrayBuffer))
                        )
                          return d(e, t, r);
                        if (
                          "undefined" != typeof SharedArrayBuffer &&
                          (M(e, SharedArrayBuffer) ||
                            (e && M(e.buffer, SharedArrayBuffer)))
                        )
                          return d(e, t, r);
                        if ("number" == typeof e)
                          throw new TypeError(
                            'The "value" argument must not be of type number. Received type number',
                          );
                        var n = e.valueOf && e.valueOf();
                        if (null != n && n !== e) return u.from(n, t, r);
                        n = (function (e) {
                          if (u.isBuffer(e)) {
                            var t = 0 | f(e.length),
                              r = s(t);
                            return (0 === r.length || e.copy(r, 0, 0, t), r);
                          }
                          return void 0 !== e.length
                            ? "number" != typeof e.length || j(e.length)
                              ? s(0)
                              : p(e)
                            : "Buffer" === e.type && Array.isArray(e.data)
                              ? p(e.data)
                              : void 0;
                        })(e);
                        if (n) return n;
                        if (
                          "undefined" != typeof Symbol &&
                          null != Symbol.toPrimitive &&
                          "function" == typeof e[Symbol.toPrimitive]
                        )
                          return u.from(e[Symbol.toPrimitive]("string"), t, r);
                        throw new TypeError(
                          "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " +
                            typeof e,
                        );
                      }
                      function l(e) {
                        if ("number" != typeof e)
                          throw new TypeError(
                            '"size" argument must be of type number',
                          );
                        if (e < 0)
                          throw new RangeError(
                            'The value "' +
                              e +
                              '" is invalid for option "size"',
                          );
                      }
                      function h(e) {
                        return (l(e), s(e < 0 ? 0 : 0 | f(e)));
                      }
                      function p(t) {
                        const r = t.length < 0 ? 0 : 0 | f(t.length),
                          n = s(r);
                        for (let e = 0; e < r; e += 1) n[e] = 255 & t[e];
                        return n;
                      }
                      function d(e, t, r) {
                        if (t < 0 || e.byteLength < t)
                          throw new RangeError(
                            '"offset" is outside of buffer bounds',
                          );
                        if (e.byteLength < t + (r || 0))
                          throw new RangeError(
                            '"length" is outside of buffer bounds',
                          );
                        r =
                          void 0 === t && void 0 === r
                            ? new Uint8Array(e)
                            : void 0 === r
                              ? new Uint8Array(e, t)
                              : new Uint8Array(e, t, r);
                        return (Object.setPrototypeOf(r, u.prototype), r);
                      }
                      function f(e) {
                        if (e >= i)
                          throw new RangeError(
                            "Attempt to allocate Buffer larger than maximum size: 0x" +
                              i.toString(16) +
                              " bytes",
                          );
                        return 0 | e;
                      }
                      function m(e, t) {
                        if (u.isBuffer(e)) return e.length;
                        if (ArrayBuffer.isView(e) || M(e, ArrayBuffer))
                          return e.byteLength;
                        if ("string" != typeof e)
                          throw new TypeError(
                            'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' +
                              typeof e,
                          );
                        var r = e.length,
                          n = 2 < arguments.length && !0 === arguments[2];
                        if (!n && 0 === r) return 0;
                        let i = !1;
                        for (;;)
                          switch (t) {
                            case "ascii":
                            case "latin1":
                            case "binary":
                              return r;
                            case "utf8":
                            case "utf-8":
                              return D(e).length;
                            case "ucs2":
                            case "ucs-2":
                            case "utf16le":
                            case "utf-16le":
                              return 2 * r;
                            case "hex":
                              return r >>> 1;
                            case "base64":
                              return B(e).length;
                            default:
                              if (i) return n ? -1 : D(e).length;
                              ((t = ("" + t).toLowerCase()), (i = !0));
                          }
                      }
                      function g(e, t, r) {
                        let n = !1;
                        if ((t = void 0 === t || t < 0 ? 0 : t) > this.length)
                          return "";
                        if (
                          (r =
                            void 0 === r || r > this.length
                              ? this.length
                              : r) <= 0
                        )
                          return "";
                        if ((r >>>= 0) <= (t >>>= 0)) return "";
                        for (e = e || "utf8"; ; )
                          switch (e) {
                            case "hex":
                              return (function (t, r, n) {
                                var e = t.length;
                                ((!r || r < 0) && (r = 0),
                                  (!n || n < 0 || e < n) && (n = e));
                                let i = "";
                                for (let e = r; e < n; ++e) i += U[t[e]];
                                return i;
                              })(this, t, r);
                            case "utf8":
                            case "utf-8":
                              return w(this, t, r);
                            case "ascii":
                              return (function (t, r, n) {
                                let i = "";
                                n = Math.min(t.length, n);
                                for (let e = r; e < n; ++e)
                                  i += String.fromCharCode(127 & t[e]);
                                return i;
                              })(this, t, r);
                            case "latin1":
                            case "binary":
                              return (function (t, r, n) {
                                let i = "";
                                n = Math.min(t.length, n);
                                for (let e = r; e < n; ++e)
                                  i += String.fromCharCode(t[e]);
                                return i;
                              })(this, t, r);
                            case "base64":
                              return (
                                (i = this),
                                (s = r),
                                0 === (o = t) && s === i.length
                                  ? a.fromByteArray(i)
                                  : a.fromByteArray(i.slice(o, s))
                              );
                            case "ucs2":
                            case "ucs-2":
                            case "utf16le":
                            case "utf-16le":
                              return (function (e, t, r) {
                                var n = e.slice(t, r);
                                let i = "";
                                for (let e = 0; e < n.length - 1; e += 2)
                                  i += String.fromCharCode(
                                    n[e] + 256 * n[e + 1],
                                  );
                                return i;
                              })(this, t, r);
                            default:
                              if (n)
                                throw new TypeError("Unknown encoding: " + e);
                              ((e = (e + "").toLowerCase()), (n = !0));
                          }
                        var i, o, s;
                      }
                      function v(e, t, r) {
                        var n = e[t];
                        ((e[t] = e[r]), (e[r] = n));
                      }
                      function y(e, t, r, n, i) {
                        if (0 === e.length) return -1;
                        if (
                          ("string" == typeof r
                            ? ((n = r), (r = 0))
                            : 2147483647 < r
                              ? (r = 2147483647)
                              : r < -2147483648 && (r = -2147483648),
                          (r =
                            (r = j((r = +r)) ? (i ? 0 : e.length - 1) : r) < 0
                              ? e.length + r
                              : r) >= e.length)
                        ) {
                          if (i) return -1;
                          r = e.length - 1;
                        } else if (r < 0) {
                          if (!i) return -1;
                          r = 0;
                        }
                        if (
                          ("string" == typeof t && (t = u.from(t, n)),
                          u.isBuffer(t))
                        )
                          return 0 === t.length ? -1 : b(e, t, r, n, i);
                        if ("number" == typeof t)
                          return (
                            (t &= 255),
                            "function" == typeof Uint8Array.prototype.indexOf
                              ? (i
                                  ? Uint8Array.prototype.indexOf
                                  : Uint8Array.prototype.lastIndexOf
                                ).call(e, t, r)
                              : b(e, [t], r, n, i)
                          );
                        throw new TypeError(
                          "val must be string, number or Buffer",
                        );
                      }
                      function b(r, n, t, e, i) {
                        let o,
                          s = 1,
                          a = r.length,
                          c = n.length;
                        if (
                          void 0 !== e &&
                          ("ucs2" === (e = String(e).toLowerCase()) ||
                            "ucs-2" === e ||
                            "utf16le" === e ||
                            "utf-16le" === e)
                        ) {
                          if (r.length < 2 || n.length < 2) return -1;
                          ((s = 2), (a /= 2), (c /= 2), (t /= 2));
                        }
                        function l(e, t) {
                          return 1 === s ? e[t] : e.readUInt16BE(t * s);
                        }
                        if (i) {
                          let e = -1;
                          for (o = t; o < a; o++)
                            if (l(r, o) === l(n, -1 === e ? 0 : o - e)) {
                              if ((-1 === e && (e = o), o - e + 1 === c))
                                return e * s;
                            } else (-1 !== e && (o -= o - e), (e = -1));
                        } else
                          for (t + c > a && (t = a - c), o = t; 0 <= o; o--) {
                            let t = !0;
                            for (let e = 0; e < c; e++)
                              if (l(r, o + e) !== l(n, e)) {
                                t = !1;
                                break;
                              }
                            if (t) return o;
                          }
                        return -1;
                      }
                      function w(s, a, e) {
                        e = Math.min(s.length, e);
                        const t = [];
                        let c = a;
                        for (; c < e; ) {
                          const a = s[c];
                          let i = null,
                            o = 239 < a ? 4 : 223 < a ? 3 : 191 < a ? 2 : 1;
                          if (c + o <= e) {
                            let e, t, r, n;
                            switch (o) {
                              case 1:
                                a < 128 && (i = a);
                                break;
                              case 2:
                                ((e = s[c + 1]),
                                  128 == (192 & e) &&
                                    ((n = ((31 & a) << 6) | (63 & e)),
                                    127 < n && (i = n)));
                                break;
                              case 3:
                                ((e = s[c + 1]),
                                  (t = s[c + 2]),
                                  128 == (192 & e) &&
                                    128 == (192 & t) &&
                                    ((n =
                                      ((15 & a) << 12) |
                                      ((63 & e) << 6) |
                                      (63 & t)),
                                    2047 < n &&
                                      (n < 55296 || 57343 < n) &&
                                      (i = n)));
                                break;
                              case 4:
                                ((e = s[c + 1]),
                                  (t = s[c + 2]),
                                  (r = s[c + 3]),
                                  128 == (192 & e) &&
                                    128 == (192 & t) &&
                                    128 == (192 & r) &&
                                    ((n =
                                      ((15 & a) << 18) |
                                      ((63 & e) << 12) |
                                      ((63 & t) << 6) |
                                      (63 & r)),
                                    65535 < n && n < 1114112 && (i = n)));
                            }
                          }
                          (null === i
                            ? ((i = 65533), (o = 1))
                            : 65535 < i &&
                              ((i -= 65536),
                              t.push(((i >>> 10) & 1023) | 55296),
                              (i = 56320 | (1023 & i))),
                            t.push(i),
                            (c += o));
                        }
                        return (function (e) {
                          var t = e.length;
                          if (t <= x)
                            return String.fromCharCode.apply(String, e);
                          let r = "",
                            n = 0;
                          for (; n < t; )
                            r += String.fromCharCode.apply(
                              String,
                              e.slice(n, (n += x)),
                            );
                          return r;
                        })(t);
                      }
                      ((r.kMaxLength = i),
                        (u.TYPED_ARRAY_SUPPORT = (function () {
                          try {
                            const e = new Uint8Array(1),
                              t = {
                                foo: function () {
                                  return 42;
                                },
                              };
                            return (
                              Object.setPrototypeOf(t, Uint8Array.prototype),
                              Object.setPrototypeOf(e, t),
                              42 === e.foo()
                            );
                          } catch (e) {
                            return !1;
                          }
                        })()) ||
                          "undefined" == typeof console ||
                          "function" != typeof console.error ||
                          console.error(
                            "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.",
                          ),
                        Object.defineProperty(u.prototype, "parent", {
                          enumerable: !0,
                          get: function () {
                            if (u.isBuffer(this)) return this.buffer;
                          },
                        }),
                        Object.defineProperty(u.prototype, "offset", {
                          enumerable: !0,
                          get: function () {
                            if (u.isBuffer(this)) return this.byteOffset;
                          },
                        }),
                        (u.poolSize = 8192),
                        (u.from = c),
                        Object.setPrototypeOf(
                          u.prototype,
                          Uint8Array.prototype,
                        ),
                        Object.setPrototypeOf(u, Uint8Array),
                        (u.alloc = function (e, t, r) {
                          return (
                            (t = t),
                            (r = r),
                            l((e = e)),
                            !(e <= 0) && void 0 !== t
                              ? "string" == typeof r
                                ? s(e).fill(t, r)
                                : s(e).fill(t)
                              : s(e)
                          );
                        }),
                        (u.allocUnsafe = h),
                        (u.allocUnsafeSlow = h),
                        (u.isBuffer = function (e) {
                          return (
                            null != e && !0 === e._isBuffer && e !== u.prototype
                          );
                        }),
                        (u.compare = function (r, n) {
                          if (
                            (M(r, Uint8Array) &&
                              (r = u.from(r, r.offset, r.byteLength)),
                            M(n, Uint8Array) &&
                              (n = u.from(n, n.offset, n.byteLength)),
                            !u.isBuffer(r) || !u.isBuffer(n))
                          )
                            throw new TypeError(
                              'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array',
                            );
                          if (r === n) return 0;
                          let i = r.length,
                            o = n.length;
                          for (let e = 0, t = Math.min(i, o); e < t; ++e)
                            if (r[e] !== n[e]) {
                              ((i = r[e]), (o = n[e]));
                              break;
                            }
                          return i < o ? -1 : o < i ? 1 : 0;
                        }),
                        (u.isEncoding = function (e) {
                          switch (String(e).toLowerCase()) {
                            case "hex":
                            case "utf8":
                            case "utf-8":
                            case "ascii":
                            case "latin1":
                            case "binary":
                            case "base64":
                            case "ucs2":
                            case "ucs-2":
                            case "utf16le":
                            case "utf-16le":
                              return !0;
                            default:
                              return !1;
                          }
                        }),
                        (u.concat = function (t, e) {
                          if (!Array.isArray(t))
                            throw new TypeError(
                              '"list" argument must be an Array of Buffers',
                            );
                          if (0 === t.length) return u.alloc(0);
                          let r;
                          if (void 0 === e)
                            for (e = 0, r = 0; r < t.length; ++r)
                              e += t[r].length;
                          var n = u.allocUnsafe(e);
                          let i = 0;
                          for (r = 0; r < t.length; ++r) {
                            let e = t[r];
                            if (M(e, Uint8Array))
                              i + e.length > n.length
                                ? (u.isBuffer(e) || (e = u.from(e)),
                                  e.copy(n, i))
                                : Uint8Array.prototype.set.call(n, e, i);
                            else {
                              if (!u.isBuffer(e))
                                throw new TypeError(
                                  '"list" argument must be an Array of Buffers',
                                );
                              e.copy(n, i);
                            }
                            i += e.length;
                          }
                          return n;
                        }),
                        (u.byteLength = m),
                        (u.prototype._isBuffer = !0),
                        (u.prototype.swap16 = function () {
                          var t = this.length;
                          if (t % 2 != 0)
                            throw new RangeError(
                              "Buffer size must be a multiple of 16-bits",
                            );
                          for (let e = 0; e < t; e += 2) v(this, e, e + 1);
                          return this;
                        }),
                        (u.prototype.swap32 = function () {
                          var t = this.length;
                          if (t % 4 != 0)
                            throw new RangeError(
                              "Buffer size must be a multiple of 32-bits",
                            );
                          for (let e = 0; e < t; e += 4)
                            (v(this, e, e + 3), v(this, e + 1, e + 2));
                          return this;
                        }),
                        (u.prototype.swap64 = function () {
                          var t = this.length;
                          if (t % 8 != 0)
                            throw new RangeError(
                              "Buffer size must be a multiple of 64-bits",
                            );
                          for (let e = 0; e < t; e += 8)
                            (v(this, e, e + 7),
                              v(this, e + 1, e + 6),
                              v(this, e + 2, e + 5),
                              v(this, e + 3, e + 4));
                          return this;
                        }),
                        (u.prototype.toLocaleString = u.prototype.toString =
                          function () {
                            var e = this.length;
                            return 0 === e
                              ? ""
                              : 0 === arguments.length
                                ? w(this, 0, e)
                                : g.apply(this, arguments);
                          }),
                        (u.prototype.equals = function (e) {
                          if (!u.isBuffer(e))
                            throw new TypeError("Argument must be a Buffer");
                          return this === e || 0 === u.compare(this, e);
                        }),
                        (u.prototype.inspect = function () {
                          let e = "";
                          var t = r.INSPECT_MAX_BYTES;
                          return (
                            (e = this.toString("hex", 0, t)
                              .replace(/(.{2})/g, "$1 ")
                              .trim()),
                            this.length > t && (e += " ... "),
                            "<Buffer " + e + ">"
                          );
                        }),
                        n && (u.prototype[n] = u.prototype.inspect),
                        (u.prototype.compare = function (e, t, r, n, i) {
                          if (
                            (M(e, Uint8Array) &&
                              (e = u.from(e, e.offset, e.byteLength)),
                            !u.isBuffer(e))
                          )
                            throw new TypeError(
                              'The "target" argument must be one of type Buffer or Uint8Array. Received type ' +
                                typeof e,
                            );
                          if (
                            (void 0 === r && (r = e ? e.length : 0),
                            void 0 === n && (n = 0),
                            void 0 === i && (i = this.length),
                            (t = void 0 === t ? 0 : t) < 0 ||
                              r > e.length ||
                              n < 0 ||
                              i > this.length)
                          )
                            throw new RangeError("out of range index");
                          if (i <= n && r <= t) return 0;
                          if (i <= n) return -1;
                          if (r <= t) return 1;
                          if (this === e) return 0;
                          let o = (i >>>= 0) - (n >>>= 0),
                            s = (r >>>= 0) - (t >>>= 0);
                          var a = Math.min(o, s),
                            c = this.slice(n, i),
                            l = e.slice(t, r);
                          for (let e = 0; e < a; ++e)
                            if (c[e] !== l[e]) {
                              ((o = c[e]), (s = l[e]));
                              break;
                            }
                          return o < s ? -1 : s < o ? 1 : 0;
                        }),
                        (u.prototype.includes = function (e, t, r) {
                          return -1 !== this.indexOf(e, t, r);
                        }),
                        (u.prototype.indexOf = function (e, t, r) {
                          return y(this, e, t, r, !0);
                        }),
                        (u.prototype.lastIndexOf = function (e, t, r) {
                          return y(this, e, t, r, !1);
                        }),
                        (u.prototype.write = function (e, t, r, n) {
                          if (void 0 === t)
                            ((n = "utf8"), (r = this.length), (t = 0));
                          else if (void 0 === r && "string" == typeof t)
                            ((n = t), (r = this.length), (t = 0));
                          else {
                            if (!isFinite(t))
                              throw new Error(
                                "Buffer.write(string, encoding, offset[, length]) is no longer supported",
                              );
                            ((t >>>= 0),
                              isFinite(r)
                                ? ((r >>>= 0), void 0 === n && (n = "utf8"))
                                : ((n = r), (r = void 0)));
                          }
                          var i,
                            o,
                            s,
                            a,
                            c,
                            l,
                            u = this.length - t;
                          if (
                            ((void 0 === r || u < r) && (r = u),
                            (0 < e.length && (r < 0 || t < 0)) ||
                              t > this.length)
                          )
                            throw new RangeError(
                              "Attempt to write outside buffer bounds",
                            );
                          n = n || "utf8";
                          let h = !1;
                          for (;;)
                            switch (n) {
                              case "hex":
                                return (function (e, t, r, n) {
                                  r = Number(r) || 0;
                                  var i = e.length - r;
                                  ((!n || (n = Number(n)) > i) && (n = i),
                                    (i = t.length));
                                  let o;
                                  for (
                                    i / 2 < n && (n = i / 2), o = 0;
                                    o < n;
                                    ++o
                                  ) {
                                    const n = parseInt(t.substr(2 * o, 2), 16);
                                    if (j(n)) return o;
                                    e[r + o] = n;
                                  }
                                  return o;
                                })(this, e, t, r);
                              case "utf8":
                              case "utf-8":
                                return (
                                  (c = t),
                                  (l = r),
                                  F(D(e, (a = this).length - c), a, c, l)
                                );
                              case "ascii":
                              case "latin1":
                              case "binary":
                                return (
                                  (a = this),
                                  (c = t),
                                  (l = r),
                                  F(
                                    (function (t) {
                                      const r = [];
                                      for (let e = 0; e < t.length; ++e)
                                        r.push(255 & t.charCodeAt(e));
                                      return r;
                                    })(e),
                                    a,
                                    c,
                                    l,
                                  )
                                );
                              case "base64":
                                return (
                                  (i = this),
                                  (o = t),
                                  (s = r),
                                  F(B(e), i, o, s)
                                );
                              case "ucs2":
                              case "ucs-2":
                              case "utf16le":
                              case "utf-16le":
                                return (
                                  (i = t),
                                  (o = r),
                                  F(
                                    (function (t, r) {
                                      var n, i;
                                      const o = [];
                                      for (
                                        let e = 0;
                                        e < t.length && !((r -= 2) < 0);
                                        ++e
                                      )
                                        ((i = (n = t.charCodeAt(e)) >> 8),
                                          o.push(n % 256),
                                          o.push(i));
                                      return o;
                                    })(e, (s = this).length - i),
                                    s,
                                    i,
                                    o,
                                  )
                                );
                              default:
                                if (h)
                                  throw new TypeError("Unknown encoding: " + n);
                                ((n = ("" + n).toLowerCase()), (h = !0));
                            }
                        }),
                        (u.prototype.toJSON = function () {
                          return {
                            type: "Buffer",
                            data: Array.prototype.slice.call(
                              this._arr || this,
                              0,
                            ),
                          };
                        }));
                      const x = 4096;
                      function S(e, t, r) {
                        if (e % 1 != 0 || e < 0)
                          throw new RangeError("offset is not uint");
                        if (r < e + t)
                          throw new RangeError(
                            "Trying to access beyond buffer length",
                          );
                      }
                      function E(e, t, r, n, i, o) {
                        if (!u.isBuffer(e))
                          throw new TypeError(
                            '"buffer" argument must be a Buffer instance',
                          );
                        if (i < t || t < o)
                          throw new RangeError(
                            '"value" argument is out of bounds',
                          );
                        if (r + n > e.length)
                          throw new RangeError("Index out of range");
                      }
                      function T(e, t, r, n, i) {
                        L(t, n, i, e, r, 7);
                        i = Number(t & BigInt(4294967295));
                        ((e[r++] = i),
                          (e[r++] = i >>= 8),
                          (e[r++] = i >>= 8),
                          (e[r++] = i >>= 8));
                        t = Number((t >> BigInt(32)) & BigInt(4294967295));
                        return (
                          (e[r++] = t),
                          (e[r++] = t >>= 8),
                          (e[r++] = t >>= 8),
                          (e[r++] = t >>= 8),
                          r
                        );
                      }
                      function C(e, t, r, n, i) {
                        L(t, n, i, e, r, 7);
                        i = Number(t & BigInt(4294967295));
                        ((e[r + 7] = i),
                          (e[r + 6] = i >>= 8),
                          (e[r + 5] = i >>= 8),
                          (e[r + 4] = i >>= 8));
                        t = Number((t >> BigInt(32)) & BigInt(4294967295));
                        return (
                          (e[r + 3] = t),
                          (e[r + 2] = t >>= 8),
                          (e[r + 1] = t >>= 8),
                          (e[r] = t >>= 8),
                          r + 8
                        );
                      }
                      function P(e, t, r, n) {
                        if (r + n > e.length)
                          throw new RangeError("Index out of range");
                        if (r < 0) throw new RangeError("Index out of range");
                      }
                      function k(e, t, r, n, i) {
                        return (
                          (t = +t),
                          (r >>>= 0),
                          i || P(e, 0, r, 4),
                          o.write(e, t, r, n, 23, 4),
                          r + 4
                        );
                      }
                      function A(e, t, r, n, i) {
                        return (
                          (t = +t),
                          (r >>>= 0),
                          i || P(e, 0, r, 8),
                          o.write(e, t, r, n, 52, 8),
                          r + 8
                        );
                      }
                      ((u.prototype.slice = function (e, t) {
                        var r = this.length;
                        ((e = ~~e) < 0
                          ? (e += r) < 0 && (e = 0)
                          : r < e && (e = r),
                          (t = void 0 === t ? r : ~~t) < 0
                            ? (t += r) < 0 && (t = 0)
                            : r < t && (t = r),
                          t < e && (t = e));
                        t = this.subarray(e, t);
                        return (Object.setPrototypeOf(t, u.prototype), t);
                      }),
                        (u.prototype.readUintLE = u.prototype.readUIntLE =
                          function (e, t, r) {
                            ((e >>>= 0), (t >>>= 0), r || S(e, t, this.length));
                            let n = this[e],
                              i = 1,
                              o = 0;
                            for (; ++o < t && (i *= 256); )
                              n += this[e + o] * i;
                            return n;
                          }),
                        (u.prototype.readUintBE = u.prototype.readUIntBE =
                          function (e, t, r) {
                            ((e >>>= 0), (t >>>= 0), r || S(e, t, this.length));
                            let n = this[e + --t],
                              i = 1;
                            for (; 0 < t && (i *= 256); )
                              n += this[e + --t] * i;
                            return n;
                          }),
                        (u.prototype.readUint8 = u.prototype.readUInt8 =
                          function (e, t) {
                            return (
                              (e >>>= 0),
                              t || S(e, 1, this.length),
                              this[e]
                            );
                          }),
                        (u.prototype.readUint16LE = u.prototype.readUInt16LE =
                          function (e, t) {
                            return (
                              (e >>>= 0),
                              t || S(e, 2, this.length),
                              this[e] | (this[e + 1] << 8)
                            );
                          }),
                        (u.prototype.readUint16BE = u.prototype.readUInt16BE =
                          function (e, t) {
                            return (
                              (e >>>= 0),
                              t || S(e, 2, this.length),
                              (this[e] << 8) | this[e + 1]
                            );
                          }),
                        (u.prototype.readUint32LE = u.prototype.readUInt32LE =
                          function (e, t) {
                            return (
                              (e >>>= 0),
                              t || S(e, 4, this.length),
                              (this[e] |
                                (this[e + 1] << 8) |
                                (this[e + 2] << 16)) +
                                16777216 * this[e + 3]
                            );
                          }),
                        (u.prototype.readUint32BE = u.prototype.readUInt32BE =
                          function (e, t) {
                            return (
                              (e >>>= 0),
                              t || S(e, 4, this.length),
                              16777216 * this[e] +
                                ((this[e + 1] << 16) |
                                  (this[e + 2] << 8) |
                                  this[e + 3])
                            );
                          }),
                        (u.prototype.readBigUInt64LE = z(function (e) {
                          H((e >>>= 0), "offset");
                          var t = this[e],
                            r = this[e + 7];
                          (void 0 !== t && void 0 !== r) ||
                            N(e, this.length - 8);
                          ((t =
                            t +
                            256 * this[++e] +
                            65536 * this[++e] +
                            this[++e] * 2 ** 24),
                            (r =
                              this[++e] +
                              256 * this[++e] +
                              65536 * this[++e] +
                              r * 2 ** 24));
                          return BigInt(t) + (BigInt(r) << BigInt(32));
                        })),
                        (u.prototype.readBigUInt64BE = z(function (e) {
                          H((e >>>= 0), "offset");
                          var t = this[e],
                            r = this[e + 7];
                          (void 0 !== t && void 0 !== r) ||
                            N(e, this.length - 8);
                          ((t =
                            t * 2 ** 24 +
                            65536 * this[++e] +
                            256 * this[++e] +
                            this[++e]),
                            (r =
                              this[++e] * 2 ** 24 +
                              65536 * this[++e] +
                              256 * this[++e] +
                              r));
                          return (BigInt(t) << BigInt(32)) + BigInt(r);
                        })),
                        (u.prototype.readIntLE = function (e, t, r) {
                          ((e >>>= 0), (t >>>= 0), r || S(e, t, this.length));
                          let n = this[e],
                            i = 1,
                            o = 0;
                          for (; ++o < t && (i *= 256); ) n += this[e + o] * i;
                          return (
                            (i *= 128),
                            n >= i && (n -= Math.pow(2, 8 * t)),
                            n
                          );
                        }),
                        (u.prototype.readIntBE = function (e, t, r) {
                          ((e >>>= 0), (t >>>= 0), r || S(e, t, this.length));
                          let n = t,
                            i = 1,
                            o = this[e + --n];
                          for (; 0 < n && (i *= 256); ) o += this[e + --n] * i;
                          return (
                            (i *= 128),
                            o >= i && (o -= Math.pow(2, 8 * t)),
                            o
                          );
                        }),
                        (u.prototype.readInt8 = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 1, this.length),
                            128 & this[e] ? -1 * (255 - this[e] + 1) : this[e]
                          );
                        }),
                        (u.prototype.readInt16LE = function (e, t) {
                          ((e >>>= 0), t || S(e, 2, this.length));
                          e = this[e] | (this[e + 1] << 8);
                          return 32768 & e ? 4294901760 | e : e;
                        }),
                        (u.prototype.readInt16BE = function (e, t) {
                          ((e >>>= 0), t || S(e, 2, this.length));
                          e = this[e + 1] | (this[e] << 8);
                          return 32768 & e ? 4294901760 | e : e;
                        }),
                        (u.prototype.readInt32LE = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 4, this.length),
                            this[e] |
                              (this[e + 1] << 8) |
                              (this[e + 2] << 16) |
                              (this[e + 3] << 24)
                          );
                        }),
                        (u.prototype.readInt32BE = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 4, this.length),
                            (this[e] << 24) |
                              (this[e + 1] << 16) |
                              (this[e + 2] << 8) |
                              this[e + 3]
                          );
                        }),
                        (u.prototype.readBigInt64LE = z(function (e) {
                          H((e >>>= 0), "offset");
                          var t = this[e],
                            r = this[e + 7];
                          (void 0 !== t && void 0 !== r) ||
                            N(e, this.length - 8);
                          r =
                            this[e + 4] +
                            256 * this[e + 5] +
                            65536 * this[e + 6] +
                            (r << 24);
                          return (
                            (BigInt(r) << BigInt(32)) +
                            BigInt(
                              t +
                                256 * this[++e] +
                                65536 * this[++e] +
                                this[++e] * 2 ** 24,
                            )
                          );
                        })),
                        (u.prototype.readBigInt64BE = z(function (e) {
                          H((e >>>= 0), "offset");
                          var t = this[e],
                            r = this[e + 7];
                          (void 0 !== t && void 0 !== r) ||
                            N(e, this.length - 8);
                          t =
                            (t << 24) +
                            65536 * this[++e] +
                            256 * this[++e] +
                            this[++e];
                          return (
                            (BigInt(t) << BigInt(32)) +
                            BigInt(
                              this[++e] * 2 ** 24 +
                                65536 * this[++e] +
                                256 * this[++e] +
                                r,
                            )
                          );
                        })),
                        (u.prototype.readFloatLE = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 4, this.length),
                            o.read(this, e, !0, 23, 4)
                          );
                        }),
                        (u.prototype.readFloatBE = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 4, this.length),
                            o.read(this, e, !1, 23, 4)
                          );
                        }),
                        (u.prototype.readDoubleLE = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 8, this.length),
                            o.read(this, e, !0, 52, 8)
                          );
                        }),
                        (u.prototype.readDoubleBE = function (e, t) {
                          return (
                            (e >>>= 0),
                            t || S(e, 8, this.length),
                            o.read(this, e, !1, 52, 8)
                          );
                        }),
                        (u.prototype.writeUintLE = u.prototype.writeUIntLE =
                          function (e, t, r, n) {
                            ((e = +e),
                              (t >>>= 0),
                              (r >>>= 0),
                              n || E(this, e, t, r, Math.pow(2, 8 * r) - 1, 0));
                            let i = 1,
                              o = 0;
                            for (this[t] = 255 & e; ++o < r && (i *= 256); )
                              this[t + o] = (e / i) & 255;
                            return t + r;
                          }),
                        (u.prototype.writeUintBE = u.prototype.writeUIntBE =
                          function (e, t, r, n) {
                            ((e = +e),
                              (t >>>= 0),
                              (r >>>= 0),
                              n || E(this, e, t, r, Math.pow(2, 8 * r) - 1, 0));
                            let i = r - 1,
                              o = 1;
                            for (
                              this[t + i] = 255 & e;
                              0 <= --i && (o *= 256);

                            )
                              this[t + i] = (e / o) & 255;
                            return t + r;
                          }),
                        (u.prototype.writeUint8 = u.prototype.writeUInt8 =
                          function (e, t, r) {
                            return (
                              (e = +e),
                              (t >>>= 0),
                              r || E(this, e, t, 1, 255, 0),
                              (this[t] = 255 & e),
                              t + 1
                            );
                          }),
                        (u.prototype.writeUint16LE = u.prototype.writeUInt16LE =
                          function (e, t, r) {
                            return (
                              (e = +e),
                              (t >>>= 0),
                              r || E(this, e, t, 2, 65535, 0),
                              (this[t] = 255 & e),
                              (this[t + 1] = e >>> 8),
                              t + 2
                            );
                          }),
                        (u.prototype.writeUint16BE = u.prototype.writeUInt16BE =
                          function (e, t, r) {
                            return (
                              (e = +e),
                              (t >>>= 0),
                              r || E(this, e, t, 2, 65535, 0),
                              (this[t] = e >>> 8),
                              (this[t + 1] = 255 & e),
                              t + 2
                            );
                          }),
                        (u.prototype.writeUint32LE = u.prototype.writeUInt32LE =
                          function (e, t, r) {
                            return (
                              (e = +e),
                              (t >>>= 0),
                              r || E(this, e, t, 4, 4294967295, 0),
                              (this[t + 3] = e >>> 24),
                              (this[t + 2] = e >>> 16),
                              (this[t + 1] = e >>> 8),
                              (this[t] = 255 & e),
                              t + 4
                            );
                          }),
                        (u.prototype.writeUint32BE = u.prototype.writeUInt32BE =
                          function (e, t, r) {
                            return (
                              (e = +e),
                              (t >>>= 0),
                              r || E(this, e, t, 4, 4294967295, 0),
                              (this[t] = e >>> 24),
                              (this[t + 1] = e >>> 16),
                              (this[t + 2] = e >>> 8),
                              (this[t + 3] = 255 & e),
                              t + 4
                            );
                          }),
                        (u.prototype.writeBigUInt64LE = z(function (e, t = 0) {
                          return T(
                            this,
                            e,
                            t,
                            BigInt(0),
                            BigInt("0xffffffffffffffff"),
                          );
                        })),
                        (u.prototype.writeBigUInt64BE = z(function (e, t = 0) {
                          return C(
                            this,
                            e,
                            t,
                            BigInt(0),
                            BigInt("0xffffffffffffffff"),
                          );
                        })),
                        (u.prototype.writeIntLE = function (e, t, r, n) {
                          if (((e = +e), (t >>>= 0), !n)) {
                            const n = Math.pow(2, 8 * r - 1);
                            E(this, e, t, r, n - 1, -n);
                          }
                          let i = 0,
                            o = 1,
                            s = 0;
                          for (this[t] = 255 & e; ++i < r && (o *= 256); )
                            (e < 0 &&
                              0 === s &&
                              0 !== this[t + i - 1] &&
                              (s = 1),
                              (this[t + i] = (((e / o) >> 0) - s) & 255));
                          return t + r;
                        }),
                        (u.prototype.writeIntBE = function (e, t, r, n) {
                          if (((e = +e), (t >>>= 0), !n)) {
                            const n = Math.pow(2, 8 * r - 1);
                            E(this, e, t, r, n - 1, -n);
                          }
                          let i = r - 1,
                            o = 1,
                            s = 0;
                          for (this[t + i] = 255 & e; 0 <= --i && (o *= 256); )
                            (e < 0 &&
                              0 === s &&
                              0 !== this[t + i + 1] &&
                              (s = 1),
                              (this[t + i] = (((e / o) >> 0) - s) & 255));
                          return t + r;
                        }),
                        (u.prototype.writeInt8 = function (e, t, r) {
                          return (
                            (e = +e),
                            (t >>>= 0),
                            r || E(this, e, t, 1, 127, -128),
                            (this[t] = 255 & (e = e < 0 ? 255 + e + 1 : e)),
                            t + 1
                          );
                        }),
                        (u.prototype.writeInt16LE = function (e, t, r) {
                          return (
                            (e = +e),
                            (t >>>= 0),
                            r || E(this, e, t, 2, 32767, -32768),
                            (this[t] = 255 & e),
                            (this[t + 1] = e >>> 8),
                            t + 2
                          );
                        }),
                        (u.prototype.writeInt16BE = function (e, t, r) {
                          return (
                            (e = +e),
                            (t >>>= 0),
                            r || E(this, e, t, 2, 32767, -32768),
                            (this[t] = e >>> 8),
                            (this[t + 1] = 255 & e),
                            t + 2
                          );
                        }),
                        (u.prototype.writeInt32LE = function (e, t, r) {
                          return (
                            (e = +e),
                            (t >>>= 0),
                            r || E(this, e, t, 4, 2147483647, -2147483648),
                            (this[t] = 255 & e),
                            (this[t + 1] = e >>> 8),
                            (this[t + 2] = e >>> 16),
                            (this[t + 3] = e >>> 24),
                            t + 4
                          );
                        }),
                        (u.prototype.writeInt32BE = function (e, t, r) {
                          return (
                            (e = +e),
                            (t >>>= 0),
                            r || E(this, e, t, 4, 2147483647, -2147483648),
                            (this[t] =
                              (e = e < 0 ? 4294967295 + e + 1 : e) >>> 24),
                            (this[t + 1] = e >>> 16),
                            (this[t + 2] = e >>> 8),
                            (this[t + 3] = 255 & e),
                            t + 4
                          );
                        }),
                        (u.prototype.writeBigInt64LE = z(function (e, t = 0) {
                          return T(
                            this,
                            e,
                            t,
                            -BigInt("0x8000000000000000"),
                            BigInt("0x7fffffffffffffff"),
                          );
                        })),
                        (u.prototype.writeBigInt64BE = z(function (e, t = 0) {
                          return C(
                            this,
                            e,
                            t,
                            -BigInt("0x8000000000000000"),
                            BigInt("0x7fffffffffffffff"),
                          );
                        })),
                        (u.prototype.writeFloatLE = function (e, t, r) {
                          return k(this, e, t, !0, r);
                        }),
                        (u.prototype.writeFloatBE = function (e, t, r) {
                          return k(this, e, t, !1, r);
                        }),
                        (u.prototype.writeDoubleLE = function (e, t, r) {
                          return A(this, e, t, !0, r);
                        }),
                        (u.prototype.writeDoubleBE = function (e, t, r) {
                          return A(this, e, t, !1, r);
                        }),
                        (u.prototype.copy = function (e, t, r, n) {
                          if (!u.isBuffer(e))
                            throw new TypeError("argument should be a Buffer");
                          if (
                            ((r = r || 0),
                            n || 0 === n || (n = this.length),
                            t >= e.length && (t = e.length),
                            (n = 0 < n && n < r ? r : n) === r)
                          )
                            return 0;
                          if (0 === e.length || 0 === this.length) return 0;
                          if ((t = t || 0) < 0)
                            throw new RangeError("targetStart out of bounds");
                          if (r < 0 || r >= this.length)
                            throw new RangeError("Index out of range");
                          if (n < 0)
                            throw new RangeError("sourceEnd out of bounds");
                          n > this.length && (n = this.length);
                          var i =
                            (n = e.length - t < n - r ? e.length - t + r : n) -
                            r;
                          return (
                            this === e &&
                            "function" == typeof Uint8Array.prototype.copyWithin
                              ? this.copyWithin(t, r, n)
                              : Uint8Array.prototype.set.call(
                                  e,
                                  this.subarray(r, n),
                                  t,
                                ),
                            i
                          );
                        }),
                        (u.prototype.fill = function (e, t, r, n) {
                          if ("string" == typeof e) {
                            if (
                              ("string" == typeof t
                                ? ((n = t), (t = 0), (r = this.length))
                                : "string" == typeof r &&
                                  ((n = r), (r = this.length)),
                              void 0 !== n && "string" != typeof n)
                            )
                              throw new TypeError("encoding must be a string");
                            if ("string" == typeof n && !u.isEncoding(n))
                              throw new TypeError("Unknown encoding: " + n);
                            if (1 === e.length) {
                              const t = e.charCodeAt(0);
                              (("utf8" === n && t < 128) || "latin1" === n) &&
                                (e = t);
                            }
                          } else
                            "number" == typeof e
                              ? (e &= 255)
                              : "boolean" == typeof e && (e = Number(e));
                          if (t < 0 || this.length < t || this.length < r)
                            throw new RangeError("Out of range index");
                          if (r <= t) return this;
                          let i;
                          if (
                            ((t >>>= 0),
                            (r = void 0 === r ? this.length : r >>> 0),
                            "number" == typeof (e = e || 0))
                          )
                            for (i = t; i < r; ++i) this[i] = e;
                          else {
                            var o = u.isBuffer(e) ? e : u.from(e, n),
                              s = o.length;
                            if (0 === s)
                              throw new TypeError(
                                'The value "' +
                                  e +
                                  '" is invalid for argument "value"',
                              );
                            for (i = 0; i < r - t; ++i) this[i + t] = o[i % s];
                          }
                          return this;
                        }));
                      const _ = {};
                      function I(e, t, r) {
                        _[e] = class extends r {
                          constructor() {
                            (super(),
                              Object.defineProperty(this, "message", {
                                value: t.apply(this, arguments),
                                writable: !0,
                                configurable: !0,
                              }),
                              (this.name = this.name + ` [${e}]`),
                              this.stack,
                              delete this.name);
                          }
                          get code() {
                            return e;
                          }
                          set code(e) {
                            Object.defineProperty(this, "code", {
                              configurable: !0,
                              enumerable: !0,
                              value: e,
                              writable: !0,
                            });
                          }
                          toString() {
                            return this.name + ` [${e}]: ` + this.message;
                          }
                        };
                      }
                      function O(e) {
                        let t = "",
                          r = e.length;
                        for (var n = "-" === e[0] ? 1 : 0; r >= 4 + n; r -= 3)
                          t = "_" + e.slice(r - 3, r) + t;
                        return "" + e.slice(0, r) + t;
                      }
                      function L(e, t, r, n, i, o) {
                        if (r < e || e < t) {
                          const s = "bigint" == typeof t ? "n" : "";
                          r =
                            3 < o
                              ? 0 === t || t === BigInt(0)
                                ? `>= 0${s} and < 2${s} ** ` + 8 * (o + 1) + s
                                : `>= -(2${s} ** ${
                                    8 * (o + 1) - 1
                                  }${s}) and < 2 ** ` +
                                  (8 * (o + 1) - 1) +
                                  s
                              : `>= ${t}${s} and <= ` + r + s;
                          throw new _.ERR_OUT_OF_RANGE("value", r, e);
                        }
                        ((n = n),
                          (o = o),
                          H((i = i), "offset"),
                          (void 0 !== n[i] && void 0 !== n[i + o]) ||
                            N(i, n.length - (o + 1)));
                      }
                      function H(e, t) {
                        if ("number" != typeof e)
                          throw new _.ERR_INVALID_ARG_TYPE(t, "number", e);
                      }
                      function N(e, t, r) {
                        if (Math.floor(e) !== e)
                          throw (
                            H(e, r),
                            new _.ERR_OUT_OF_RANGE(
                              r || "offset",
                              "an integer",
                              e,
                            )
                          );
                        if (t < 0) throw new _.ERR_BUFFER_OUT_OF_BOUNDS();
                        throw new _.ERR_OUT_OF_RANGE(
                          r || "offset",
                          `>= ${r ? 1 : 0} and <= ` + t,
                          e,
                        );
                      }
                      (I(
                        "ERR_BUFFER_OUT_OF_BOUNDS",
                        function (e) {
                          return e
                            ? e + " is outside of buffer bounds"
                            : "Attempt to access memory outside buffer bounds";
                        },
                        RangeError,
                      ),
                        I(
                          "ERR_INVALID_ARG_TYPE",
                          function (e, t) {
                            return (
                              `The "${e}" argument must be of type number. Received type ` +
                              typeof t
                            );
                          },
                          TypeError,
                        ),
                        I(
                          "ERR_OUT_OF_RANGE",
                          function (e, t, r) {
                            let n = `The value of "${e}" is out of range.`,
                              i = r;
                            return (
                              Number.isInteger(r) && Math.abs(r) > 2 ** 32
                                ? (i = O(String(r)))
                                : "bigint" == typeof r &&
                                  ((i = String(r)),
                                  (r > BigInt(2) ** BigInt(32) ||
                                    r < -(BigInt(2) ** BigInt(32))) &&
                                    (i = O(i)),
                                  (i += "n")),
                              (n += ` It must be ${t}. Received ` + i)
                            );
                          },
                          RangeError,
                        ));
                      const R = /[^+/0-9A-Za-z-_]/g;
                      function D(t, r) {
                        let n;
                        r = r || 1 / 0;
                        var i = t.length;
                        let o = null;
                        const s = [];
                        for (let e = 0; e < i; ++e) {
                          if (((n = t.charCodeAt(e)), 55295 < n && n < 57344)) {
                            if (!o) {
                              if (56319 < n) {
                                -1 < (r -= 3) && s.push(239, 191, 189);
                                continue;
                              }
                              if (e + 1 === i) {
                                -1 < (r -= 3) && s.push(239, 191, 189);
                                continue;
                              }
                              o = n;
                              continue;
                            }
                            if (n < 56320) {
                              (-1 < (r -= 3) && s.push(239, 191, 189), (o = n));
                              continue;
                            }
                            n = 65536 + (((o - 55296) << 10) | (n - 56320));
                          } else o && -1 < (r -= 3) && s.push(239, 191, 189);
                          if (((o = null), n < 128)) {
                            if (--r < 0) break;
                            s.push(n);
                          } else if (n < 2048) {
                            if ((r -= 2) < 0) break;
                            s.push((n >> 6) | 192, (63 & n) | 128);
                          } else if (n < 65536) {
                            if ((r -= 3) < 0) break;
                            s.push(
                              (n >> 12) | 224,
                              ((n >> 6) & 63) | 128,
                              (63 & n) | 128,
                            );
                          } else {
                            if (!(n < 1114112))
                              throw new Error("Invalid code point");
                            if ((r -= 4) < 0) break;
                            s.push(
                              (n >> 18) | 240,
                              ((n >> 12) & 63) | 128,
                              ((n >> 6) & 63) | 128,
                              (63 & n) | 128,
                            );
                          }
                        }
                        return s;
                      }
                      function B(e) {
                        return a.toByteArray(
                          (function (e) {
                            if (
                              (e = (e = e.split("=")[0]).trim().replace(R, ""))
                                .length < 2
                            )
                              return "";
                            for (; e.length % 4 != 0; ) e += "=";
                            return e;
                          })(e),
                        );
                      }
                      function F(e, t, r, n) {
                        let i;
                        for (
                          i = 0;
                          i < n && !(i + r >= t.length || i >= e.length);
                          ++i
                        )
                          t[i + r] = e[i];
                        return i;
                      }
                      function M(e, t) {
                        return (
                          e instanceof t ||
                          (null != e &&
                            null != e.constructor &&
                            null != e.constructor.name &&
                            e.constructor.name === t.name)
                        );
                      }
                      function j(e) {
                        return e != e;
                      }
                      const U = (function () {
                        const r = "0123456789abcdef",
                          n = new Array(256);
                        for (let t = 0; t < 16; ++t) {
                          var i = 16 * t;
                          for (let e = 0; e < 16; ++e) n[i + e] = r[t] + r[e];
                        }
                        return n;
                      })();
                      function z(e) {
                        return "undefined" == typeof BigInt ? W : e;
                      }
                      function W() {
                        throw new Error("BigInt not supported");
                      }
                    },
                    7187: (e) => {
                      "use strict";
                      var t = "object" == typeof Reflect ? Reflect : null,
                        c =
                          t && "function" == typeof t.apply
                            ? t.apply
                            : function (e, t, r) {
                                return Function.prototype.apply.call(e, t, r);
                              },
                        r =
                          t && "function" == typeof t.ownKeys
                            ? t.ownKeys
                            : Object.getOwnPropertySymbols
                              ? function (e) {
                                  return Object.getOwnPropertyNames(e).concat(
                                    Object.getOwnPropertySymbols(e),
                                  );
                                }
                              : function (e) {
                                  return Object.getOwnPropertyNames(e);
                                },
                        n =
                          Number.isNaN ||
                          function (e) {
                            return e != e;
                          };
                      function i() {
                        i.init.call(this);
                      }
                      ((e.exports = i),
                        (e.exports.once = function (i, o) {
                          return new Promise(function (e, t) {
                            function r(e) {
                              (i.removeListener(o, n), t(e));
                            }
                            function n() {
                              ("function" == typeof i.removeListener &&
                                i.removeListener("error", r),
                                e([].slice.call(arguments)));
                            }
                            (f(i, o, n, { once: !0 }),
                              "error" === o ||
                                ("function" == typeof i.on &&
                                  f(i, "error", r, { once: !0 })));
                          });
                        }),
                        ((i.EventEmitter = i).prototype._events = void 0),
                        (i.prototype._eventsCount = 0),
                        (i.prototype._maxListeners = void 0));
                      var o = 10;
                      function a(e) {
                        if ("function" != typeof e)
                          throw new TypeError(
                            'The "listener" argument must be of type Function. Received type ' +
                              typeof e,
                          );
                      }
                      function s(e) {
                        return void 0 === e._maxListeners
                          ? i.defaultMaxListeners
                          : e._maxListeners;
                      }
                      function l(e, t, r, n) {
                        var i, o;
                        return (
                          a(r),
                          void 0 === (i = e._events)
                            ? ((i = e._events = Object.create(null)),
                              (e._eventsCount = 0))
                            : (void 0 !== i.newListener &&
                                (e.emit("newListener", t, r.listener || r),
                                (i = e._events)),
                              (o = i[t])),
                          void 0 === o
                            ? ((o = i[t] = r), ++e._eventsCount)
                            : ("function" == typeof o
                                ? (o = i[t] = n ? [r, o] : [o, r])
                                : n
                                  ? o.unshift(r)
                                  : o.push(r),
                              0 < (r = s(e)) &&
                                o.length > r &&
                                !o.warned &&
                                ((o.warned = !0),
                                ((r = new Error(
                                  "Possible EventEmitter memory leak detected. " +
                                    o.length +
                                    " " +
                                    String(t) +
                                    " listeners added. Use emitter.setMaxListeners() to increase limit",
                                )).name = "MaxListenersExceededWarning"),
                                (r.emitter = e),
                                (r.type = t),
                                (r.count = o.length),
                                console && console.warn && console.warn(r))),
                          e
                        );
                      }
                      function u(e, t, r) {
                        ((e = {
                          fired: !1,
                          wrapFn: void 0,
                          target: e,
                          type: t,
                          listener: r,
                        }),
                          (t = function () {
                            if (!this.fired)
                              return (
                                this.target.removeListener(
                                  this.type,
                                  this.wrapFn,
                                ),
                                (this.fired = !0),
                                0 === arguments.length
                                  ? this.listener.call(this.target)
                                  : this.listener.apply(this.target, arguments)
                              );
                          }.bind(e)));
                        return ((t.listener = r), (e.wrapFn = t));
                      }
                      function h(e, t, r) {
                        e = e._events;
                        if (void 0 === e) return [];
                        t = e[t];
                        return void 0 === t
                          ? []
                          : "function" == typeof t
                            ? r
                              ? [t.listener || t]
                              : [t]
                            : r
                              ? (function (e) {
                                  for (
                                    var t = new Array(e.length), r = 0;
                                    r < t.length;
                                    ++r
                                  )
                                    t[r] = e[r].listener || e[r];
                                  return t;
                                })(t)
                              : d(t, t.length);
                      }
                      function p(e) {
                        var t = this._events;
                        if (void 0 !== t) {
                          e = t[e];
                          if ("function" == typeof e) return 1;
                          if (void 0 !== e) return e.length;
                        }
                        return 0;
                      }
                      function d(e, t) {
                        for (var r = new Array(t), n = 0; n < t; ++n)
                          r[n] = e[n];
                        return r;
                      }
                      function f(r, n, i, o) {
                        if ("function" == typeof r.on)
                          o.once ? r.once(n, i) : r.on(n, i);
                        else {
                          if ("function" != typeof r.addEventListener)
                            throw new TypeError(
                              'The "emitter" argument must be of type EventEmitter. Received type ' +
                                typeof r,
                            );
                          r.addEventListener(n, function e(t) {
                            (o.once && r.removeEventListener(n, e), i(t));
                          });
                        }
                      }
                      (Object.defineProperty(i, "defaultMaxListeners", {
                        enumerable: !0,
                        get: function () {
                          return o;
                        },
                        set: function (e) {
                          if ("number" != typeof e || e < 0 || n(e))
                            throw new RangeError(
                              'The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' +
                                e +
                                ".",
                            );
                          o = e;
                        },
                      }),
                        (i.init = function () {
                          ((void 0 !== this._events &&
                            this._events !==
                              Object.getPrototypeOf(this)._events) ||
                            ((this._events = Object.create(null)),
                            (this._eventsCount = 0)),
                            (this._maxListeners =
                              this._maxListeners || void 0));
                        }),
                        (i.prototype.setMaxListeners = function (e) {
                          if ("number" != typeof e || e < 0 || n(e))
                            throw new RangeError(
                              'The value of "n" is out of range. It must be a non-negative number. Received ' +
                                e +
                                ".",
                            );
                          return ((this._maxListeners = e), this);
                        }),
                        (i.prototype.getMaxListeners = function () {
                          return s(this);
                        }),
                        (i.prototype.emit = function (e) {
                          for (var t = [], r = 1; r < arguments.length; r++)
                            t.push(arguments[r]);
                          var n,
                            i = "error" === e,
                            o = this._events;
                          if (void 0 !== o) i = i && void 0 === o.error;
                          else if (!i) return !1;
                          if (i) {
                            if ((n = 0 < t.length ? t[0] : n) instanceof Error)
                              throw n;
                            i = new Error(
                              "Unhandled error." +
                                (n ? " (" + n.message + ")" : ""),
                            );
                            throw ((i.context = n), i);
                          }
                          e = o[e];
                          if (void 0 === e) return !1;
                          if ("function" == typeof e) c(e, this, t);
                          else
                            for (
                              var s = e.length, a = d(e, s), r = 0;
                              r < s;
                              ++r
                            )
                              c(a[r], this, t);
                          return !0;
                        }),
                        (i.prototype.addListener = function (e, t) {
                          return l(this, e, t, !1);
                        }),
                        (i.prototype.on = i.prototype.addListener),
                        (i.prototype.prependListener = function (e, t) {
                          return l(this, e, t, !0);
                        }),
                        (i.prototype.once = function (e, t) {
                          return (a(t), this.on(e, u(this, e, t)), this);
                        }),
                        (i.prototype.prependOnceListener = function (e, t) {
                          return (
                            a(t),
                            this.prependListener(e, u(this, e, t)),
                            this
                          );
                        }),
                        (i.prototype.removeListener = function (e, t) {
                          var r, n, i, o, s;
                          if ((a(t), void 0 === (n = this._events)))
                            return this;
                          if (void 0 === (r = n[e])) return this;
                          if (r === t || r.listener === t)
                            0 == --this._eventsCount
                              ? (this._events = Object.create(null))
                              : (delete n[e],
                                n.removeListener &&
                                  this.emit(
                                    "removeListener",
                                    e,
                                    r.listener || t,
                                  ));
                          else if ("function" != typeof r) {
                            for (i = -1, o = r.length - 1; 0 <= o; o--)
                              if (r[o] === t || r[o].listener === t) {
                                ((s = r[o].listener), (i = o));
                                break;
                              }
                            if (i < 0) return this;
                            (0 === i
                              ? r.shift()
                              : (function (e, t) {
                                  for (; t + 1 < e.length; t++) e[t] = e[t + 1];
                                  e.pop();
                                })(r, i),
                              1 === r.length && (n[e] = r[0]),
                              void 0 !== n.removeListener &&
                                this.emit("removeListener", e, s || t));
                          }
                          return this;
                        }),
                        (i.prototype.off = i.prototype.removeListener),
                        (i.prototype.removeAllListeners = function (e) {
                          var t, r;
                          if (void 0 === (r = this._events)) return this;
                          if (void 0 === r.removeListener)
                            return (
                              0 === arguments.length
                                ? ((this._events = Object.create(null)),
                                  (this._eventsCount = 0))
                                : void 0 !== r[e] &&
                                  (0 == --this._eventsCount
                                    ? (this._events = Object.create(null))
                                    : delete r[e]),
                              this
                            );
                          if (0 === arguments.length) {
                            for (
                              var n, i = Object.keys(r), o = 0;
                              o < i.length;
                              ++o
                            )
                              "removeListener" !== (n = i[o]) &&
                                this.removeAllListeners(n);
                            return (
                              this.removeAllListeners("removeListener"),
                              (this._events = Object.create(null)),
                              (this._eventsCount = 0),
                              this
                            );
                          }
                          if ("function" == typeof (t = r[e]))
                            this.removeListener(e, t);
                          else if (void 0 !== t)
                            for (o = t.length - 1; 0 <= o; o--)
                              this.removeListener(e, t[o]);
                          return this;
                        }),
                        (i.prototype.listeners = function (e) {
                          return h(this, e, !0);
                        }),
                        (i.prototype.rawListeners = function (e) {
                          return h(this, e, !1);
                        }),
                        (i.listenerCount = function (e, t) {
                          return "function" == typeof e.listenerCount
                            ? e.listenerCount(t)
                            : p.call(e, t);
                        }),
                        (i.prototype.listenerCount = p),
                        (i.prototype.eventNames = function () {
                          return 0 < this._eventsCount ? r(this._events) : [];
                        }));
                    },
                    645: (e, t) => {
                      ((t.read = function (e, t, r, n, i) {
                        var o,
                          s,
                          a = 8 * i - n - 1,
                          c = (1 << a) - 1,
                          l = c >> 1,
                          u = -7,
                          h = r ? i - 1 : 0,
                          p = r ? -1 : 1,
                          r = e[t + h];
                        for (
                          h += p, o = r & ((1 << -u) - 1), r >>= -u, u += a;
                          0 < u;
                          o = 256 * o + e[t + h], h += p, u -= 8
                        );
                        for (
                          s = o & ((1 << -u) - 1), o >>= -u, u += n;
                          0 < u;
                          s = 256 * s + e[t + h], h += p, u -= 8
                        );
                        if (0 === o) o = 1 - l;
                        else {
                          if (o === c) return s ? NaN : (1 / 0) * (r ? -1 : 1);
                          ((s += Math.pow(2, n)), (o -= l));
                        }
                        return (r ? -1 : 1) * s * Math.pow(2, o - n);
                      }),
                        (t.write = function (e, t, r, n, i, o) {
                          var s,
                            a,
                            c = 8 * o - i - 1,
                            l = (1 << c) - 1,
                            u = l >> 1,
                            h =
                              23 === i
                                ? Math.pow(2, -24) - Math.pow(2, -77)
                                : 0,
                            p = n ? 0 : o - 1,
                            d = n ? 1 : -1,
                            o = t < 0 || (0 === t && 1 / t < 0) ? 1 : 0;
                          for (
                            t = Math.abs(t),
                              isNaN(t) || t === 1 / 0
                                ? ((a = isNaN(t) ? 1 : 0), (s = l))
                                : ((s = Math.floor(Math.log(t) / Math.LN2)),
                                  t * (n = Math.pow(2, -s)) < 1 &&
                                    (s--, (n *= 2)),
                                  2 <=
                                    (t +=
                                      1 <= s + u
                                        ? h / n
                                        : h * Math.pow(2, 1 - u)) *
                                      n && (s++, (n /= 2)),
                                  l <= s + u
                                    ? ((a = 0), (s = l))
                                    : 1 <= s + u
                                      ? ((a = (t * n - 1) * Math.pow(2, i)),
                                        (s += u))
                                      : ((a =
                                          t *
                                          Math.pow(2, u - 1) *
                                          Math.pow(2, i)),
                                        (s = 0)));
                            8 <= i;
                            e[r + p] = 255 & a, p += d, a /= 256, i -= 8
                          );
                          for (
                            s = (s << i) | a, c += i;
                            0 < c;
                            e[r + p] = 255 & s, p += d, s /= 256, c -= 8
                          );
                          e[r + p - d] |= 128 * o;
                        }));
                    },
                    5705: (e, t, r) => {
                      "use strict";
                      var n,
                        i,
                        o,
                        s,
                        a = r.g.MutationObserver || r.g.WebKitMutationObserver,
                        c = a
                          ? ((i = 0),
                            (a = new a(u)),
                            (o = r.g.document.createTextNode("")),
                            a.observe(o, { characterData: !0 }),
                            function () {
                              o.data = i = ++i % 2;
                            })
                          : r.g.setImmediate || void 0 === r.g.MessageChannel
                            ? "document" in r.g &&
                              "onreadystatechange" in
                                r.g.document.createElement("script")
                              ? function () {
                                  var e = r.g.document.createElement("script");
                                  ((e.onreadystatechange = function () {
                                    (u(),
                                      (e.onreadystatechange = null),
                                      e.parentNode.removeChild(e),
                                      (e = null));
                                  }),
                                    r.g.document.documentElement.appendChild(
                                      e,
                                    ));
                                }
                              : function () {
                                  setTimeout(u, 0);
                                }
                            : (((s = new r.g.MessageChannel()).port1.onmessage =
                                u),
                              function () {
                                s.port2.postMessage(0);
                              }),
                        l = [];
                      function u() {
                        var e, t;
                        n = !0;
                        for (var r = l.length; r; ) {
                          for (t = l, l = [], e = -1; ++e < r; ) t[e]();
                          r = l.length;
                        }
                        n = !1;
                      }
                      e.exports = function (e) {
                        1 !== l.push(e) || n || c();
                      };
                    },
                    5717: (e) => {
                      "function" == typeof Object.create
                        ? (e.exports = function (e, t) {
                            t &&
                              ((e.super_ = t),
                              (e.prototype = Object.create(t.prototype, {
                                constructor: {
                                  value: e,
                                  enumerable: !1,
                                  writable: !0,
                                  configurable: !0,
                                },
                              })));
                          })
                        : (e.exports = function (e, t) {
                            var r;
                            t &&
                              ((e.super_ = t),
                              ((r = function () {}).prototype = t.prototype),
                              (e.prototype = new r()),
                              (e.prototype.constructor = e));
                          });
                    },
                    8458: (e, t, r) => {
                      "use strict";
                      var h = r(8910),
                        u = r(3790),
                        p =
                          "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
                      ((t.encode = function (e) {
                        for (
                          var t,
                            r,
                            n,
                            i,
                            o,
                            s,
                            a = [],
                            c = 0,
                            l = e.length,
                            u = "string" !== h.getTypeOf(e);
                          c < e.length;

                        )
                          ((s = l - c),
                            (o = u
                              ? ((t = e[c++]),
                                (r = c < l ? e[c++] : 0),
                                c < l ? e[c++] : 0)
                              : ((t = e.charCodeAt(c++)),
                                (r = c < l ? e.charCodeAt(c++) : 0),
                                c < l ? e.charCodeAt(c++) : 0)),
                            (n = ((3 & t) << 4) | (r >> 4)),
                            (i = 1 < s ? ((15 & r) << 2) | (o >> 6) : 64),
                            (o = 2 < s ? 63 & o : 64),
                            a.push(
                              p.charAt(t >> 2) +
                                p.charAt(n) +
                                p.charAt(i) +
                                p.charAt(o),
                            ));
                        return a.join("");
                      }),
                        (t.decode = function (e) {
                          var t,
                            r,
                            n,
                            i,
                            o,
                            s = 0,
                            a = 0;
                          if ("data:" === e.substr(0, "data:".length))
                            throw new Error(
                              "Invalid base64 input, it looks like a data url.",
                            );
                          var c,
                            l =
                              (3 *
                                (e = e.replace(/[^A-Za-z0-9+/=]/g, ""))
                                  .length) /
                              4;
                          if (
                            (e.charAt(e.length - 1) === p.charAt(64) && l--,
                            e.charAt(e.length - 2) === p.charAt(64) && l--,
                            l % 1 != 0)
                          )
                            throw new Error(
                              "Invalid base64 input, bad content length.",
                            );
                          for (
                            c = new (u.uint8array ? Uint8Array : Array)(0 | l);
                            s < e.length;

                          )
                            ((t =
                              (p.indexOf(e.charAt(s++)) << 2) |
                              ((n = p.indexOf(e.charAt(s++))) >> 4)),
                              (r =
                                ((15 & n) << 4) |
                                ((i = p.indexOf(e.charAt(s++))) >> 2)),
                              (n =
                                ((3 & i) << 6) |
                                (o = p.indexOf(e.charAt(s++)))),
                              (c[a++] = t),
                              64 !== i && (c[a++] = r),
                              64 !== o && (c[a++] = n));
                          return c;
                        }));
                    },
                    7326: (e, t, r) => {
                      "use strict";
                      var n = r(8565),
                        i = r(5301),
                        o = r(2541),
                        s = r(5977);
                      function a(e, t, r, n, i) {
                        ((this.compressedSize = e),
                          (this.uncompressedSize = t),
                          (this.crc32 = r),
                          (this.compression = n),
                          (this.compressedContent = i));
                      }
                      ((a.prototype = {
                        getContentWorker: function () {
                          var e = new i(
                              n.Promise.resolve(this.compressedContent),
                            )
                              .pipe(this.compression.uncompressWorker())
                              .pipe(new s("data_length")),
                            t = this;
                          return (
                            e.on("end", function () {
                              if (
                                this.streamInfo.data_length !==
                                t.uncompressedSize
                              )
                                throw new Error(
                                  "Bug : uncompressed data size mismatch",
                                );
                            }),
                            e
                          );
                        },
                        getCompressedWorker: function () {
                          return new i(
                            n.Promise.resolve(this.compressedContent),
                          )
                            .withStreamInfo(
                              "compressedSize",
                              this.compressedSize,
                            )
                            .withStreamInfo(
                              "uncompressedSize",
                              this.uncompressedSize,
                            )
                            .withStreamInfo("crc32", this.crc32)
                            .withStreamInfo("compression", this.compression);
                        },
                      }),
                        (a.createWorkerFrom = function (e, t, r) {
                          return e
                            .pipe(new o())
                            .pipe(new s("uncompressedSize"))
                            .pipe(t.compressWorker(r))
                            .pipe(new s("compressedSize"))
                            .withStreamInfo("compression", t);
                        }),
                        (e.exports = a));
                    },
                    1678: (e, t, r) => {
                      "use strict";
                      var n = r(3718);
                      ((t.STORE = {
                        magic: "\0\0",
                        compressWorker: function () {
                          return new n("STORE compression");
                        },
                        uncompressWorker: function () {
                          return new n("STORE decompression");
                        },
                      }),
                        (t.DEFLATE = r(1033)));
                    },
                    6988: (e, t, r) => {
                      "use strict";
                      var n = r(8910),
                        s = (function () {
                          for (var e = [], t = 0; t < 256; t++) {
                            for (var r = t, n = 0; n < 8; n++)
                              r = 1 & r ? 3988292384 ^ (r >>> 1) : r >>> 1;
                            e[t] = r;
                          }
                          return e;
                        })();
                      e.exports = function (e, t) {
                        return void 0 !== e && e.length
                          ? ("string" !== n.getTypeOf(e)
                              ? function (e, t, r) {
                                  var n = s,
                                    i = 0 + r;
                                  e ^= -1;
                                  for (var o = 0; o < i; o++)
                                    e = (e >>> 8) ^ n[255 & (e ^ t[o])];
                                  return -1 ^ e;
                                }
                              : function (e, t, r) {
                                  var n = s,
                                    i = 0 + r;
                                  e ^= -1;
                                  for (var o = 0; o < i; o++)
                                    e =
                                      (e >>> 8) ^
                                      n[255 & (e ^ t.charCodeAt(o))];
                                  return -1 ^ e;
                                })(0 | t, e, e.length)
                          : 0;
                      };
                    },
                    6032: (e, t) => {
                      "use strict";
                      ((t.base64 = !1),
                        (t.binary = !1),
                        (t.dir = !1),
                        (t.createFolders = !0),
                        (t.date = null),
                        (t.compression = null),
                        (t.compressionOptions = null),
                        (t.comment = null),
                        (t.unixPermissions = null),
                        (t.dosPermissions = null));
                    },
                    8565: (e, t, r) => {
                      "use strict";
                      r = "undefined" != typeof Promise ? Promise : r(3389);
                      e.exports = { Promise: r };
                    },
                    1033: (e, t, r) => {
                      "use strict";
                      var n =
                          "undefined" != typeof Uint8Array &&
                          "undefined" != typeof Uint16Array &&
                          "undefined" != typeof Uint32Array,
                        i = r(9591),
                        o = r(8910),
                        s = r(3718),
                        a = n ? "uint8array" : "array";
                      function c(e, t) {
                        (s.call(this, "FlateWorker/" + e),
                          (this._pako = null),
                          (this._pakoAction = e),
                          (this._pakoOptions = t),
                          (this.meta = {}));
                      }
                      ((t.magic = "\b\0"),
                        o.inherits(c, s),
                        (c.prototype.processChunk = function (e) {
                          ((this.meta = e.meta),
                            null === this._pako && this._createPako(),
                            this._pako.push(o.transformTo(a, e.data), !1));
                        }),
                        (c.prototype.flush = function () {
                          (s.prototype.flush.call(this),
                            null === this._pako && this._createPako(),
                            this._pako.push([], !0));
                        }),
                        (c.prototype.cleanUp = function () {
                          (s.prototype.cleanUp.call(this), (this._pako = null));
                        }),
                        (c.prototype._createPako = function () {
                          this._pako = new i[this._pakoAction]({
                            raw: !0,
                            level: this._pakoOptions.level || -1,
                          });
                          var t = this;
                          this._pako.onData = function (e) {
                            t.push({ data: e, meta: t.meta });
                          };
                        }),
                        (t.compressWorker = function (e) {
                          return new c("Deflate", e);
                        }),
                        (t.uncompressWorker = function () {
                          return new c("Inflate", {});
                        }));
                    },
                    4979: (e, t, r) => {
                      "use strict";
                      function n(e, t, r, n, i, o) {
                        var s = e.file,
                          a = e.compression,
                          c = o !== x.utf8encode,
                          l = w.transformTo("string", o(s.name)),
                          u = w.transformTo("string", x.utf8encode(s.name)),
                          h = s.comment,
                          p = w.transformTo("string", o(h)),
                          d = w.transformTo("string", x.utf8encode(h)),
                          f = u.length !== s.name.length,
                          m = d.length !== h.length,
                          g = "",
                          v = s.dir,
                          o = s.date,
                          h = {
                            crc32: 0,
                            compressedSize: 0,
                            uncompressedSize: 0,
                          };
                        ((t && !r) ||
                          ((h.crc32 = e.crc32),
                          (h.compressedSize = e.compressedSize),
                          (h.uncompressedSize = e.uncompressedSize)),
                          (e = 0),
                          t && (e |= 8),
                          c || (!f && !m) || (e |= 2048));
                        var y,
                          t = 0,
                          c = 0;
                        (v && (t |= 16),
                          "UNIX" === i
                            ? ((c = 798),
                              (t |=
                                (65535 &
                                  (!(y = s.unixPermissions)
                                    ? v
                                      ? 16893
                                      : 33204
                                    : y)) <<
                                16))
                            : ((c = 20), (t |= 63 & (s.dosPermissions || 0))),
                          (y = o.getUTCHours()),
                          (y <<= 6),
                          (y |= o.getUTCMinutes()),
                          (y <<= 5),
                          (y |= o.getUTCSeconds() / 2),
                          (s = o.getUTCFullYear() - 1980),
                          (s <<= 4),
                          (s |= o.getUTCMonth() + 1),
                          (s <<= 5),
                          (s |= o.getUTCDate()),
                          f &&
                            ((u = T(1, 1) + T(S(l), 4) + u),
                            (g += "up" + T(u.length, 2) + u)),
                          m &&
                            ((b = T(1, 1) + T(S(p), 4) + d),
                            (g += "uc" + T(b.length, 2) + b)));
                        var b = "";
                        return (
                          (b += "\n\0"),
                          (b += T(e, 2)),
                          (b += a.magic),
                          (b += T(y, 2)),
                          (b += T(s, 2)),
                          (b += T(h.crc32, 4)),
                          (b += T(h.compressedSize, 4)),
                          (b += T(h.uncompressedSize, 4)),
                          (b += T(l.length, 2)),
                          (b += T(g.length, 2)),
                          {
                            fileRecord: E.LOCAL_FILE_HEADER + b + l + g,
                            dirRecord:
                              E.CENTRAL_FILE_HEADER +
                              T(c, 2) +
                              b +
                              T(p.length, 2) +
                              "\0\0\0\0" +
                              T(t, 4) +
                              T(n, 4) +
                              l +
                              g +
                              p,
                          }
                        );
                      }
                      var w = r(8910),
                        i = r(3718),
                        x = r(3600),
                        S = r(6988),
                        E = r(1141),
                        T = function (e, t) {
                          for (var r = "", n = 0; n < t; n++)
                            ((r += String.fromCharCode(255 & e)), (e >>>= 8));
                          return r;
                        };
                      function o(e, t, r, n) {
                        (i.call(this, "ZipFileWorker"),
                          (this.bytesWritten = 0),
                          (this.zipComment = t),
                          (this.zipPlatform = r),
                          (this.encodeFileName = n),
                          (this.streamFiles = e),
                          (this.accumulate = !1),
                          (this.contentBuffer = []),
                          (this.dirRecords = []),
                          (this.currentSourceOffset = 0),
                          (this.entriesCount = 0),
                          (this.currentFile = null),
                          (this._sources = []));
                      }
                      (w.inherits(o, i),
                        (o.prototype.push = function (e) {
                          var t = e.meta.percent || 0,
                            r = this.entriesCount,
                            n = this._sources.length;
                          this.accumulate
                            ? this.contentBuffer.push(e)
                            : ((this.bytesWritten += e.data.length),
                              i.prototype.push.call(this, {
                                data: e.data,
                                meta: {
                                  currentFile: this.currentFile,
                                  percent: r
                                    ? (t + 100 * (r - n - 1)) / r
                                    : 100,
                                },
                              }));
                        }),
                        (o.prototype.openedSource = function (e) {
                          ((this.currentSourceOffset = this.bytesWritten),
                            (this.currentFile = e.file.name));
                          var t = this.streamFiles && !e.file.dir;
                          t
                            ? ((t = n(
                                e,
                                t,
                                !1,
                                this.currentSourceOffset,
                                this.zipPlatform,
                                this.encodeFileName,
                              )),
                              this.push({
                                data: t.fileRecord,
                                meta: { percent: 0 },
                              }))
                            : (this.accumulate = !0);
                        }),
                        (o.prototype.closedSource = function (e) {
                          this.accumulate = !1;
                          var t = this.streamFiles && !e.file.dir,
                            r = n(
                              e,
                              t,
                              !0,
                              this.currentSourceOffset,
                              this.zipPlatform,
                              this.encodeFileName,
                            );
                          if ((this.dirRecords.push(r.dirRecord), t))
                            this.push({
                              data:
                                ((e = e),
                                E.DATA_DESCRIPTOR +
                                  T(e.crc32, 4) +
                                  T(e.compressedSize, 4) +
                                  T(e.uncompressedSize, 4)),
                              meta: { percent: 100 },
                            });
                          else
                            for (
                              this.push({
                                data: r.fileRecord,
                                meta: { percent: 0 },
                              });
                              this.contentBuffer.length;

                            )
                              this.push(this.contentBuffer.shift());
                          this.currentFile = null;
                        }),
                        (o.prototype.flush = function () {
                          for (
                            var e = this.bytesWritten, t = 0;
                            t < this.dirRecords.length;
                            t++
                          )
                            this.push({
                              data: this.dirRecords[t],
                              meta: { percent: 100 },
                            });
                          var r = this.bytesWritten - e,
                            e = (function (e, t, r, n, i) {
                              n = w.transformTo("string", i(n));
                              return (
                                E.CENTRAL_DIRECTORY_END +
                                "\0\0\0\0" +
                                T(e, 2) +
                                T(e, 2) +
                                T(t, 4) +
                                T(r, 4) +
                                T(n.length, 2) +
                                n
                              );
                            })(
                              this.dirRecords.length,
                              r,
                              e,
                              this.zipComment,
                              this.encodeFileName,
                            );
                          this.push({ data: e, meta: { percent: 100 } });
                        }),
                        (o.prototype.prepareNextSource = function () {
                          ((this.previous = this._sources.shift()),
                            this.openedSource(this.previous.streamInfo),
                            this.isPaused
                              ? this.previous.pause()
                              : this.previous.resume());
                        }),
                        (o.prototype.registerPrevious = function (e) {
                          this._sources.push(e);
                          var t = this;
                          return (
                            e.on("data", function (e) {
                              t.processChunk(e);
                            }),
                            e.on("end", function () {
                              (t.closedSource(t.previous.streamInfo),
                                t._sources.length
                                  ? t.prepareNextSource()
                                  : t.end());
                            }),
                            e.on("error", function (e) {
                              t.error(e);
                            }),
                            this
                          );
                        }),
                        (o.prototype.resume = function () {
                          return (
                            !!i.prototype.resume.call(this) &&
                            (!this.previous && this._sources.length
                              ? (this.prepareNextSource(), !0)
                              : this.previous ||
                                  this._sources.length ||
                                  this.generatedError
                                ? void 0
                                : (this.end(), !0))
                          );
                        }),
                        (o.prototype.error = function (e) {
                          var t = this._sources;
                          if (!i.prototype.error.call(this, e)) return !1;
                          for (var r = 0; r < t.length; r++)
                            try {
                              t[r].error(e);
                            } catch (e) {}
                          return !0;
                        }),
                        (o.prototype.lock = function () {
                          i.prototype.lock.call(this);
                          for (var e = this._sources, t = 0; t < e.length; t++)
                            e[t].lock();
                        }),
                        (e.exports = o));
                    },
                    7834: (e, t, r) => {
                      "use strict";
                      var l = r(1678),
                        n = r(4979);
                      t.generateWorker = function (e, s, t) {
                        var a = new n(
                            s.streamFiles,
                            t,
                            s.platform,
                            s.encodeFileName,
                          ),
                          c = 0;
                        try {
                          (e.forEach(function (e, t) {
                            c++;
                            var r = (function (e, t) {
                                ((e = e || t), (t = l[e]));
                                if (!t)
                                  throw new Error(
                                    e + " is not a valid compression method !",
                                  );
                                return t;
                              })(t.options.compression, s.compression),
                              n =
                                t.options.compressionOptions ||
                                s.compressionOptions ||
                                {},
                              i = t.dir,
                              o = t.date;
                            t._compressWorker(r, n)
                              .withStreamInfo("file", {
                                name: e,
                                dir: i,
                                date: o,
                                comment: t.comment || "",
                                unixPermissions: t.unixPermissions,
                                dosPermissions: t.dosPermissions,
                              })
                              .pipe(a);
                          }),
                            (a.entriesCount = c));
                        } catch (e) {
                          a.error(e);
                        }
                        return a;
                      };
                    },
                    6085: (e, t, r) => {
                      "use strict";
                      function n() {
                        if (!(this instanceof n)) return new n();
                        if (arguments.length)
                          throw new Error(
                            "The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.",
                          );
                        ((this.files = Object.create(null)),
                          (this.comment = null),
                          (this.root = ""),
                          (this.clone = function () {
                            var e,
                              t = new n();
                            for (e in this)
                              "function" != typeof this[e] && (t[e] = this[e]);
                            return t;
                          }));
                      }
                      (((n.prototype = r(7132)).loadAsync = r(1062)),
                        (n.support = r(3790)),
                        (n.defaults = r(6032)),
                        (n.version = "3.10.1"),
                        (n.loadAsync = function (e, t) {
                          return new n().loadAsync(e, t);
                        }),
                        (n.external = r(8565)),
                        (e.exports = n));
                    },
                    1062: (e, t, r) => {
                      "use strict";
                      var c = r(8910),
                        i = r(8565),
                        n = r(3600),
                        o = r(6624),
                        l = r(2541),
                        u = r(2182);
                      e.exports = function (e, s) {
                        var a = this;
                        return (
                          (s = c.extend(s || {}, {
                            base64: !1,
                            checkCRC32: !1,
                            optimizedBinaryString: !1,
                            createFolders: !1,
                            decodeFileName: n.utf8decode,
                          })),
                          u.isNode && u.isStream(e)
                            ? i.Promise.reject(
                                new Error(
                                  "JSZip can't accept a stream when loading a zip file.",
                                ),
                              )
                            : c
                                .prepareContent(
                                  "the loaded zip file",
                                  e,
                                  !0,
                                  s.optimizedBinaryString,
                                  s.base64,
                                )
                                .then(function (e) {
                                  var t = new o(s);
                                  return (t.load(e), t);
                                })
                                .then(function (e) {
                                  var t = [i.Promise.resolve(e)],
                                    r = e.files;
                                  if (s.checkCRC32)
                                    for (var n = 0; n < r.length; n++)
                                      t.push(
                                        (function (n) {
                                          return new i.Promise(function (e, t) {
                                            var r = n.decompressed
                                              .getContentWorker()
                                              .pipe(new l());
                                            r.on("error", function (e) {
                                              t(e);
                                            })
                                              .on("end", function () {
                                                r.streamInfo.crc32 !==
                                                n.decompressed.crc32
                                                  ? t(
                                                      new Error(
                                                        "Corrupted zip : CRC32 mismatch",
                                                      ),
                                                    )
                                                  : e();
                                              })
                                              .resume();
                                          });
                                        })(r[n]),
                                      );
                                  return i.Promise.all(t);
                                })
                                .then(function (e) {
                                  for (
                                    var e = e.shift(), t = e.files, r = 0;
                                    r < t.length;
                                    r++
                                  ) {
                                    var n = t[r],
                                      i = n.fileNameStr,
                                      o = c.resolve(n.fileNameStr);
                                    (a.file(o, n.decompressed, {
                                      binary: !0,
                                      optimizedBinaryString: !0,
                                      date: n.date,
                                      dir: n.dir,
                                      comment: n.fileCommentStr.length
                                        ? n.fileCommentStr
                                        : null,
                                      unixPermissions: n.unixPermissions,
                                      dosPermissions: n.dosPermissions,
                                      createFolders: s.createFolders,
                                    }),
                                      n.dir ||
                                        (a.file(o).unsafeOriginalName = i));
                                  }
                                  return (
                                    e.zipComment.length &&
                                      (a.comment = e.zipComment),
                                    a
                                  );
                                })
                        );
                      };
                    },
                    2182: (e) => {
                      "use strict";
                      e.exports = {
                        isNode: "undefined" != typeof Buffer,
                        newBufferFrom: function (e, t) {
                          if (Buffer.from && Buffer.from !== Uint8Array.from)
                            return Buffer.from(e, t);
                          if ("number" == typeof e)
                            throw new Error(
                              'The "data" argument must not be a number',
                            );
                          return new Buffer(e, t);
                        },
                        allocBuffer: function (e) {
                          if (Buffer.alloc) return Buffer.alloc(e);
                          e = new Buffer(e);
                          return (e.fill(0), e);
                        },
                        isBuffer: function (e) {
                          return Buffer.isBuffer(e);
                        },
                        isStream: function (e) {
                          return (
                            e &&
                            "function" == typeof e.on &&
                            "function" == typeof e.pause &&
                            "function" == typeof e.resume
                          );
                        },
                      };
                    },
                    660: (e, t, r) => {
                      "use strict";
                      var n = r(8910),
                        i = r(3718);
                      function o(e, t) {
                        (i.call(this, "Nodejs stream input adapter for " + e),
                          (this._upstreamEnded = !1),
                          this._bindStream(t));
                      }
                      (n.inherits(o, i),
                        (o.prototype._bindStream = function (e) {
                          var t = this;
                          ((this._stream = e).pause(),
                            e
                              .on("data", function (e) {
                                t.push({ data: e, meta: { percent: 0 } });
                              })
                              .on("error", function (e) {
                                t.isPaused
                                  ? (this.generatedError = e)
                                  : t.error(e);
                              })
                              .on("end", function () {
                                t.isPaused ? (t._upstreamEnded = !0) : t.end();
                              }));
                        }),
                        (o.prototype.pause = function () {
                          return (
                            !!i.prototype.pause.call(this) &&
                            (this._stream.pause(), !0)
                          );
                        }),
                        (o.prototype.resume = function () {
                          return (
                            !!i.prototype.resume.call(this) &&
                            (this._upstreamEnded
                              ? this.end()
                              : this._stream.resume(),
                            !0)
                          );
                        }),
                        (e.exports = o));
                    },
                    1220: (e, t, r) => {
                      "use strict";
                      var i = r(749).Readable;
                      function n(e, t, r) {
                        (i.call(this, t), (this._helper = e));
                        var n = this;
                        e.on("data", function (e, t) {
                          (n.push(e) || n._helper.pause(), r && r(t));
                        })
                          .on("error", function (e) {
                            n.emit("error", e);
                          })
                          .on("end", function () {
                            n.push(null);
                          });
                      }
                      (r(8910).inherits(n, i),
                        (n.prototype._read = function () {
                          this._helper.resume();
                        }),
                        (e.exports = n));
                    },
                    7132: (e, t, r) => {
                      "use strict";
                      var i = r(3600),
                        s = r(8910),
                        a = r(3718),
                        o = r(1285),
                        c = r(6032),
                        l = r(7326),
                        u = r(6859),
                        h = r(7834),
                        p = r(2182),
                        d = r(660),
                        f = function (e, t, r) {
                          var n,
                            i = s.getTypeOf(t),
                            o = s.extend(r || {}, c);
                          ((o.date = o.date || new Date()),
                            null !== o.compression &&
                              (o.compression = o.compression.toUpperCase()),
                            "string" == typeof o.unixPermissions &&
                              (o.unixPermissions = parseInt(
                                o.unixPermissions,
                                8,
                              )),
                            o.unixPermissions &&
                              16384 & o.unixPermissions &&
                              (o.dir = !0),
                            o.dosPermissions &&
                              16 & o.dosPermissions &&
                              (o.dir = !0),
                            o.dir && (e = g(e)),
                            o.createFolders &&
                              (n = m(e)) &&
                              v.call(this, n, !0));
                          i =
                            "string" === i &&
                            !1 === o.binary &&
                            !1 === o.base64;
                          ((r && void 0 !== r.binary) || (o.binary = !i),
                            ((t instanceof l && 0 === t.uncompressedSize) ||
                              o.dir ||
                              !t ||
                              0 === t.length) &&
                              ((o.base64 = !1),
                              (o.binary = !0),
                              (t = ""),
                              (o.compression = "STORE")));
                          ((t =
                            t instanceof l || t instanceof a
                              ? t
                              : p.isNode && p.isStream(t)
                                ? new d(e, t)
                                : s.prepareContent(
                                    e,
                                    t,
                                    o.binary,
                                    o.optimizedBinaryString,
                                    o.base64,
                                  )),
                            (o = new u(e, t, o)));
                          this.files[e] = o;
                        },
                        m = function (e) {
                          var t = (e =
                            "/" === e.slice(-1)
                              ? e.substring(0, e.length - 1)
                              : e).lastIndexOf("/");
                          return 0 < t ? e.substring(0, t) : "";
                        },
                        g = function (e) {
                          return ("/" !== e.slice(-1) && (e += "/"), e);
                        },
                        v = function (e, t) {
                          return (
                            (t = void 0 !== t ? t : c.createFolders),
                            (e = g(e)),
                            this.files[e] ||
                              f.call(this, e, null, {
                                dir: !0,
                                createFolders: t,
                              }),
                            this.files[e]
                          );
                        };
                      function y(e) {
                        return (
                          "[object RegExp]" ===
                          Object.prototype.toString.call(e)
                        );
                      }
                      e.exports = {
                        load: function () {
                          throw new Error(
                            "This method has been removed in JSZip 3.0, please check the upgrade guide.",
                          );
                        },
                        forEach: function (e) {
                          var t, r, n;
                          for (t in this.files)
                            ((n = this.files[t]),
                              (r = t.slice(this.root.length, t.length)) &&
                                t.slice(0, this.root.length) === this.root &&
                                e(r, n));
                        },
                        filter: function (r) {
                          var n = [];
                          return (
                            this.forEach(function (e, t) {
                              r(e, t) && n.push(t);
                            }),
                            n
                          );
                        },
                        file: function (e, t, r) {
                          if (1 !== arguments.length)
                            return (
                              (e = this.root + e),
                              f.call(this, e, t, r),
                              this
                            );
                          if (y(e)) {
                            var n = e;
                            return this.filter(function (e, t) {
                              return !t.dir && n.test(e);
                            });
                          }
                          e = this.files[this.root + e];
                          return e && !e.dir ? e : null;
                        },
                        folder: function (r) {
                          if (!r) return this;
                          if (y(r))
                            return this.filter(function (e, t) {
                              return t.dir && r.test(e);
                            });
                          var e = this.root + r,
                            t = v.call(this, e),
                            e = this.clone();
                          return ((e.root = t.name), e);
                        },
                        remove: function (r) {
                          r = this.root + r;
                          var e = this.files[r];
                          if (
                            (e ||
                              ("/" !== r.slice(-1) && (r += "/"),
                              (e = this.files[r])),
                            e && !e.dir)
                          )
                            delete this.files[r];
                          else
                            for (
                              var t = this.filter(function (e, t) {
                                  return t.name.slice(0, r.length) === r;
                                }),
                                n = 0;
                              n < t.length;
                              n++
                            )
                              delete this.files[t[n].name];
                          return this;
                        },
                        generate: function () {
                          throw new Error(
                            "This method has been removed in JSZip 3.0, please check the upgrade guide.",
                          );
                        },
                        generateInternalStream: function (e) {
                          var t = {};
                          try {
                            if (
                              (((t = s.extend(e || {}, {
                                streamFiles: !1,
                                compression: "STORE",
                                compressionOptions: null,
                                type: "",
                                platform: "DOS",
                                comment: null,
                                mimeType: "application/zip",
                                encodeFileName: i.utf8encode,
                              })).type = t.type.toLowerCase()),
                              (t.compression = t.compression.toUpperCase()),
                              "binarystring" === t.type && (t.type = "string"),
                              !t.type)
                            )
                              throw new Error("No output type specified.");
                            (s.checkSupport(t.type),
                              ("darwin" !== t.platform &&
                                "freebsd" !== t.platform &&
                                "linux" !== t.platform &&
                                "sunos" !== t.platform) ||
                                (t.platform = "UNIX"),
                              "win32" === t.platform && (t.platform = "DOS"));
                            var r = t.comment || this.comment || "",
                              n = h.generateWorker(this, t, r);
                          } catch (e) {
                            (n = new a("error")).error(e);
                          }
                          return new o(n, t.type || "string", t.mimeType);
                        },
                        generateAsync: function (e, t) {
                          return this.generateInternalStream(e).accumulate(t);
                        },
                        generateNodeStream: function (e, t) {
                          return (
                            (e = e || {}).type || (e.type = "nodebuffer"),
                            this.generateInternalStream(e).toNodejsStream(t)
                          );
                        },
                      };
                    },
                    749: (e, t, r) => {
                      "use strict";
                      e.exports = r(2830);
                    },
                    2370: (e, t, r) => {
                      "use strict";
                      var n = r(8542);
                      function i(e) {
                        n.call(this, e);
                        for (var t = 0; t < this.data.length; t++)
                          e[t] = 255 & e[t];
                      }
                      (r(8910).inherits(i, n),
                        (i.prototype.byteAt = function (e) {
                          return this.data[this.zero + e];
                        }),
                        (i.prototype.lastIndexOfSignature = function (e) {
                          for (
                            var t = e.charCodeAt(0),
                              r = e.charCodeAt(1),
                              n = e.charCodeAt(2),
                              i = e.charCodeAt(3),
                              o = this.length - 4;
                            0 <= o;
                            --o
                          )
                            if (
                              this.data[o] === t &&
                              this.data[o + 1] === r &&
                              this.data[o + 2] === n &&
                              this.data[o + 3] === i
                            )
                              return o - this.zero;
                          return -1;
                        }),
                        (i.prototype.readAndCheckSignature = function (e) {
                          var t = e.charCodeAt(0),
                            r = e.charCodeAt(1),
                            n = e.charCodeAt(2),
                            i = e.charCodeAt(3),
                            e = this.readData(4);
                          return (
                            t === e[0] && r === e[1] && n === e[2] && i === e[3]
                          );
                        }),
                        (i.prototype.readData = function (e) {
                          if ((this.checkOffset(e), 0 === e)) return [];
                          var t = this.data.slice(
                            this.zero + this.index,
                            this.zero + this.index + e,
                          );
                          return ((this.index += e), t);
                        }),
                        (e.exports = i));
                    },
                    8542: (e, t, r) => {
                      "use strict";
                      var n = r(8910);
                      function i(e) {
                        ((this.data = e),
                          (this.length = e.length),
                          (this.index = 0),
                          (this.zero = 0));
                      }
                      ((i.prototype = {
                        checkOffset: function (e) {
                          this.checkIndex(this.index + e);
                        },
                        checkIndex: function (e) {
                          if (this.length < this.zero + e || e < 0)
                            throw new Error(
                              "End of data reached (data length = " +
                                this.length +
                                ", asked index = " +
                                e +
                                "). Corrupted zip ?",
                            );
                        },
                        setIndex: function (e) {
                          (this.checkIndex(e), (this.index = e));
                        },
                        skip: function (e) {
                          this.setIndex(this.index + e);
                        },
                        byteAt: function () {},
                        readInt: function (e) {
                          var t,
                            r = 0;
                          for (
                            this.checkOffset(e), t = this.index + e - 1;
                            t >= this.index;
                            t--
                          )
                            r = (r << 8) + this.byteAt(t);
                          return ((this.index += e), r);
                        },
                        readString: function (e) {
                          return n.transformTo("string", this.readData(e));
                        },
                        readData: function () {},
                        lastIndexOfSignature: function () {},
                        readAndCheckSignature: function () {},
                        readDate: function () {
                          var e = this.readInt(4);
                          return new Date(
                            Date.UTC(
                              1980 + ((e >> 25) & 127),
                              ((e >> 21) & 15) - 1,
                              (e >> 16) & 31,
                              (e >> 11) & 31,
                              (e >> 5) & 63,
                              (31 & e) << 1,
                            ),
                          );
                        },
                      }),
                        (e.exports = i));
                    },
                    9583: (e, t, r) => {
                      "use strict";
                      var n = r(414);
                      function i(e) {
                        n.call(this, e);
                      }
                      (r(8910).inherits(i, n),
                        (i.prototype.readData = function (e) {
                          this.checkOffset(e);
                          var t = this.data.slice(
                            this.zero + this.index,
                            this.zero + this.index + e,
                          );
                          return ((this.index += e), t);
                        }),
                        (e.exports = i));
                    },
                    9226: (e, t, r) => {
                      "use strict";
                      var n = r(8542);
                      function i(e) {
                        n.call(this, e);
                      }
                      (r(8910).inherits(i, n),
                        (i.prototype.byteAt = function (e) {
                          return this.data.charCodeAt(this.zero + e);
                        }),
                        (i.prototype.lastIndexOfSignature = function (e) {
                          return this.data.lastIndexOf(e) - this.zero;
                        }),
                        (i.prototype.readAndCheckSignature = function (e) {
                          return e === this.readData(4);
                        }),
                        (i.prototype.readData = function (e) {
                          this.checkOffset(e);
                          var t = this.data.slice(
                            this.zero + this.index,
                            this.zero + this.index + e,
                          );
                          return ((this.index += e), t);
                        }),
                        (e.exports = i));
                    },
                    414: (e, t, r) => {
                      "use strict";
                      var n = r(2370);
                      function i(e) {
                        n.call(this, e);
                      }
                      (r(8910).inherits(i, n),
                        (i.prototype.readData = function (e) {
                          if ((this.checkOffset(e), 0 === e))
                            return new Uint8Array(0);
                          var t = this.data.subarray(
                            this.zero + this.index,
                            this.zero + this.index + e,
                          );
                          return ((this.index += e), t);
                        }),
                        (e.exports = i));
                    },
                    8435: (e, t, r) => {
                      "use strict";
                      var n = r(8910),
                        i = r(3790),
                        o = r(2370),
                        s = r(9226),
                        a = r(9583),
                        c = r(414);
                      e.exports = function (e) {
                        var t = n.getTypeOf(e);
                        return (
                          n.checkSupport(t),
                          "string" !== t || i.uint8array
                            ? "nodebuffer" === t
                              ? new a(e)
                              : i.uint8array
                                ? new c(n.transformTo("uint8array", e))
                                : new o(n.transformTo("array", e))
                            : new s(e)
                        );
                      };
                    },
                    1141: (e, t) => {
                      "use strict";
                      ((t.LOCAL_FILE_HEADER = "PK"),
                        (t.CENTRAL_FILE_HEADER = "PK"),
                        (t.CENTRAL_DIRECTORY_END = "PK"),
                        (t.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK"),
                        (t.ZIP64_CENTRAL_DIRECTORY_END = "PK"),
                        (t.DATA_DESCRIPTOR = "PK\b"));
                    },
                    4293: (e, t, r) => {
                      "use strict";
                      var n = r(3718),
                        i = r(8910);
                      function o(e) {
                        (n.call(this, "ConvertWorker to " + e),
                          (this.destType = e));
                      }
                      (i.inherits(o, n),
                        (o.prototype.processChunk = function (e) {
                          this.push({
                            data: i.transformTo(this.destType, e.data),
                            meta: e.meta,
                          });
                        }),
                        (e.exports = o));
                    },
                    2541: (e, t, r) => {
                      "use strict";
                      var n = r(3718),
                        i = r(6988);
                      function o() {
                        (n.call(this, "Crc32Probe"),
                          this.withStreamInfo("crc32", 0));
                      }
                      (r(8910).inherits(o, n),
                        (o.prototype.processChunk = function (e) {
                          ((this.streamInfo.crc32 = i(
                            e.data,
                            this.streamInfo.crc32 || 0,
                          )),
                            this.push(e));
                        }),
                        (e.exports = o));
                    },
                    5977: (e, t, r) => {
                      "use strict";
                      var n = r(8910),
                        i = r(3718);
                      function o(e) {
                        (i.call(this, "DataLengthProbe for " + e),
                          (this.propName = e),
                          this.withStreamInfo(e, 0));
                      }
                      (n.inherits(o, i),
                        (o.prototype.processChunk = function (e) {
                          var t;
                          (e &&
                            ((t = this.streamInfo[this.propName] || 0),
                            (this.streamInfo[this.propName] =
                              t + e.data.length)),
                            i.prototype.processChunk.call(this, e));
                        }),
                        (e.exports = o));
                    },
                    5301: (e, t, r) => {
                      "use strict";
                      var n = r(8910),
                        i = r(3718);
                      function o(e) {
                        i.call(this, "DataWorker");
                        var t = this;
                        ((this.dataIsReady = !1),
                          (this.index = 0),
                          (this.max = 0),
                          (this.data = null),
                          (this.type = ""),
                          (this._tickScheduled = !1),
                          e.then(
                            function (e) {
                              ((t.dataIsReady = !0),
                                (t.data = e),
                                (t.max = (e && e.length) || 0),
                                (t.type = n.getTypeOf(e)),
                                t.isPaused || t._tickAndRepeat());
                            },
                            function (e) {
                              t.error(e);
                            },
                          ));
                      }
                      (n.inherits(o, i),
                        (o.prototype.cleanUp = function () {
                          (i.prototype.cleanUp.call(this), (this.data = null));
                        }),
                        (o.prototype.resume = function () {
                          return (
                            !!i.prototype.resume.call(this) &&
                            (!this._tickScheduled &&
                              this.dataIsReady &&
                              ((this._tickScheduled = !0),
                              n.delay(this._tickAndRepeat, [], this)),
                            !0)
                          );
                        }),
                        (o.prototype._tickAndRepeat = function () {
                          ((this._tickScheduled = !1),
                            this.isPaused ||
                              this.isFinished ||
                              (this._tick(),
                              this.isFinished ||
                                (n.delay(this._tickAndRepeat, [], this),
                                (this._tickScheduled = !0))));
                        }),
                        (o.prototype._tick = function () {
                          if (this.isPaused || this.isFinished) return !1;
                          var e = null,
                            t = Math.min(this.max, this.index + 16384);
                          if (this.index >= this.max) return this.end();
                          switch (this.type) {
                            case "string":
                              e = this.data.substring(this.index, t);
                              break;
                            case "uint8array":
                              e = this.data.subarray(this.index, t);
                              break;
                            case "array":
                            case "nodebuffer":
                              e = this.data.slice(this.index, t);
                          }
                          return (
                            (this.index = t),
                            this.push({
                              data: e,
                              meta: {
                                percent: this.max
                                  ? (this.index / this.max) * 100
                                  : 0,
                              },
                            })
                          );
                        }),
                        (e.exports = o));
                    },
                    3718: (e) => {
                      "use strict";
                      function t(e) {
                        ((this.name = e || "default"),
                          (this.streamInfo = {}),
                          (this.generatedError = null),
                          (this.extraStreamInfo = {}),
                          (this.isPaused = !0),
                          (this.isFinished = !1),
                          (this.isLocked = !1),
                          (this._listeners = { data: [], end: [], error: [] }),
                          (this.previous = null));
                      }
                      ((t.prototype = {
                        push: function (e) {
                          this.emit("data", e);
                        },
                        end: function () {
                          if (this.isFinished) return !1;
                          this.flush();
                          try {
                            (this.emit("end"),
                              this.cleanUp(),
                              (this.isFinished = !0));
                          } catch (e) {
                            this.emit("error", e);
                          }
                          return !0;
                        },
                        error: function (e) {
                          return (
                            !this.isFinished &&
                            (this.isPaused
                              ? (this.generatedError = e)
                              : ((this.isFinished = !0),
                                this.emit("error", e),
                                this.previous && this.previous.error(e),
                                this.cleanUp()),
                            !0)
                          );
                        },
                        on: function (e, t) {
                          return (this._listeners[e].push(t), this);
                        },
                        cleanUp: function () {
                          ((this.streamInfo =
                            this.generatedError =
                            this.extraStreamInfo =
                              null),
                            (this._listeners = []));
                        },
                        emit: function (e, t) {
                          if (this._listeners[e])
                            for (var r = 0; r < this._listeners[e].length; r++)
                              this._listeners[e][r].call(this, t);
                        },
                        pipe: function (e) {
                          return e.registerPrevious(this);
                        },
                        registerPrevious: function (e) {
                          if (this.isLocked)
                            throw new Error(
                              "The stream '" +
                                this +
                                "' has already been used.",
                            );
                          ((this.streamInfo = e.streamInfo),
                            this.mergeStreamInfo(),
                            (this.previous = e));
                          var t = this;
                          return (
                            e.on("data", function (e) {
                              t.processChunk(e);
                            }),
                            e.on("end", function () {
                              t.end();
                            }),
                            e.on("error", function (e) {
                              t.error(e);
                            }),
                            this
                          );
                        },
                        pause: function () {
                          return (
                            !this.isPaused &&
                            !this.isFinished &&
                            ((this.isPaused = !0),
                            this.previous && this.previous.pause(),
                            !0)
                          );
                        },
                        resume: function () {
                          if (!this.isPaused || this.isFinished) return !1;
                          var e = (this.isPaused = !1);
                          return (
                            this.generatedError &&
                              (this.error(this.generatedError), (e = !0)),
                            this.previous && this.previous.resume(),
                            !e
                          );
                        },
                        flush: function () {},
                        processChunk: function (e) {
                          this.push(e);
                        },
                        withStreamInfo: function (e, t) {
                          return (
                            (this.extraStreamInfo[e] = t),
                            this.mergeStreamInfo(),
                            this
                          );
                        },
                        mergeStreamInfo: function () {
                          for (var e in this.extraStreamInfo)
                            Object.prototype.hasOwnProperty.call(
                              this.extraStreamInfo,
                              e,
                            ) && (this.streamInfo[e] = this.extraStreamInfo[e]);
                        },
                        lock: function () {
                          if (this.isLocked)
                            throw new Error(
                              "The stream '" +
                                this +
                                "' has already been used.",
                            );
                          ((this.isLocked = !0),
                            this.previous && this.previous.lock());
                        },
                        toString: function () {
                          var e = "Worker " + this.name;
                          return this.previous ? this.previous + " -> " + e : e;
                        },
                      }),
                        (e.exports = t));
                    },
                    1285: (e, t, r) => {
                      "use strict";
                      var l = r(8910),
                        i = r(4293),
                        o = r(3718),
                        u = r(8458),
                        n = r(3790),
                        s = r(8565),
                        a = null;
                      if (n.nodestream)
                        try {
                          a = r(1220);
                        } catch (e) {}
                      function c(e, t, r) {
                        var n = t;
                        switch (t) {
                          case "blob":
                          case "arraybuffer":
                            n = "uint8array";
                            break;
                          case "base64":
                            n = "string";
                        }
                        try {
                          ((this._internalType = n),
                            (this._outputType = t),
                            (this._mimeType = r),
                            l.checkSupport(n),
                            (this._worker = e.pipe(new i(n))),
                            e.lock());
                        } catch (e) {
                          ((this._worker = new o("error")),
                            this._worker.error(e));
                        }
                      }
                      ((c.prototype = {
                        accumulate: function (e) {
                          return (
                            (a = this),
                            (c = e),
                            new s.Promise(function (t, r) {
                              var n = [],
                                i = a._internalType,
                                o = a._outputType,
                                s = a._mimeType;
                              a.on("data", function (e, t) {
                                (n.push(e), c && c(t));
                              })
                                .on("error", function (e) {
                                  ((n = []), r(e));
                                })
                                .on("end", function () {
                                  try {
                                    var e = (function (e, t, r) {
                                      switch (e) {
                                        case "blob":
                                          return l.newBlob(
                                            l.transformTo("arraybuffer", t),
                                            r,
                                          );
                                        case "base64":
                                          return u.encode(t);
                                        default:
                                          return l.transformTo(e, t);
                                      }
                                    })(
                                      o,
                                      (function (e, t) {
                                        for (
                                          var r = 0, n = null, i = 0, o = 0;
                                          o < t.length;
                                          o++
                                        )
                                          i += t[o].length;
                                        switch (e) {
                                          case "string":
                                            return t.join("");
                                          case "array":
                                            return Array.prototype.concat.apply(
                                              [],
                                              t,
                                            );
                                          case "uint8array":
                                            for (
                                              n = new Uint8Array(i), o = 0;
                                              o < t.length;
                                              o++
                                            )
                                              (n.set(t[o], r),
                                                (r += t[o].length));
                                            return n;
                                          case "nodebuffer":
                                            return Buffer.concat(t);
                                          default:
                                            throw new Error(
                                              "concat : unsupported type '" +
                                                e +
                                                "'",
                                            );
                                        }
                                      })(i, n),
                                      s,
                                    );
                                    t(e);
                                  } catch (e) {
                                    r(e);
                                  }
                                  n = [];
                                })
                                .resume();
                            })
                          );
                          var a, c;
                        },
                        on: function (e, t) {
                          var r = this;
                          return (
                            "data" === e
                              ? this._worker.on(e, function (e) {
                                  t.call(r, e.data, e.meta);
                                })
                              : this._worker.on(e, function () {
                                  l.delay(t, arguments, r);
                                }),
                            this
                          );
                        },
                        resume: function () {
                          return (
                            l.delay(this._worker.resume, [], this._worker),
                            this
                          );
                        },
                        pause: function () {
                          return (this._worker.pause(), this);
                        },
                        toNodejsStream: function (e) {
                          if (
                            (l.checkSupport("nodestream"),
                            "nodebuffer" !== this._outputType)
                          )
                            throw new Error(
                              this._outputType +
                                " is not supported by this method",
                            );
                          return new a(
                            this,
                            { objectMode: "nodebuffer" !== this._outputType },
                            e,
                          );
                        },
                      }),
                        (e.exports = c));
                    },
                    3790: (e, t, r) => {
                      "use strict";
                      if (
                        ((t.base64 = !0),
                        (t.array = !0),
                        (t.string = !0),
                        (t.arraybuffer =
                          "undefined" != typeof ArrayBuffer &&
                          "undefined" != typeof Uint8Array),
                        (t.nodebuffer = "undefined" != typeof Buffer),
                        (t.uint8array = "undefined" != typeof Uint8Array),
                        "undefined" == typeof ArrayBuffer)
                      )
                        t.blob = !1;
                      else {
                        var n = new ArrayBuffer(0);
                        try {
                          t.blob =
                            0 ===
                            new Blob([n], { type: "application/zip" }).size;
                        } catch (e) {
                          try {
                            var i = new (self.BlobBuilder ||
                              self.WebKitBlobBuilder ||
                              self.MozBlobBuilder ||
                              self.MSBlobBuilder)();
                            (i.append(n),
                              (t.blob =
                                0 === i.getBlob("application/zip").size));
                          } catch (e) {
                            t.blob = !1;
                          }
                        }
                      }
                      try {
                        t.nodestream = !!r(749).Readable;
                      } catch (e) {
                        t.nodestream = !1;
                      }
                    },
                    3600: (e, i, t) => {
                      "use strict";
                      for (
                        var a = t(8910),
                          c = t(3790),
                          r = t(2182),
                          n = t(3718),
                          l = new Array(256),
                          o = 0;
                        o < 256;
                        o++
                      )
                        l[o] =
                          252 <= o
                            ? 6
                            : 248 <= o
                              ? 5
                              : 240 <= o
                                ? 4
                                : 224 <= o
                                  ? 3
                                  : 192 <= o
                                    ? 2
                                    : 1;
                      function s() {
                        (n.call(this, "utf-8 decode"), (this.leftOver = null));
                      }
                      function u() {
                        n.call(this, "utf-8 encode");
                      }
                      ((l[254] = l[254] = 1),
                        (i.utf8encode = function (e) {
                          return c.nodebuffer
                            ? r.newBufferFrom(e, "utf-8")
                            : (function (e) {
                                for (
                                  var t, r, n, i, o = e.length, s = 0, a = 0;
                                  a < o;
                                  a++
                                )
                                  (55296 == (64512 & (r = e.charCodeAt(a))) &&
                                    a + 1 < o &&
                                    56320 ==
                                      (64512 & (n = e.charCodeAt(a + 1))) &&
                                    ((r =
                                      65536 +
                                      ((r - 55296) << 10) +
                                      (n - 56320)),
                                    a++),
                                    (s +=
                                      r < 128
                                        ? 1
                                        : r < 2048
                                          ? 2
                                          : r < 65536
                                            ? 3
                                            : 4));
                                for (
                                  t = new (c.uint8array ? Uint8Array : Array)(
                                    s,
                                  ),
                                    a = i = 0;
                                  i < s;
                                  a++
                                )
                                  (55296 == (64512 & (r = e.charCodeAt(a))) &&
                                    a + 1 < o &&
                                    56320 ==
                                      (64512 & (n = e.charCodeAt(a + 1))) &&
                                    ((r =
                                      65536 +
                                      ((r - 55296) << 10) +
                                      (n - 56320)),
                                    a++),
                                    r < 128
                                      ? (t[i++] = r)
                                      : (r < 2048
                                          ? (t[i++] = 192 | (r >>> 6))
                                          : (r < 65536
                                              ? (t[i++] = 224 | (r >>> 12))
                                              : ((t[i++] = 240 | (r >>> 18)),
                                                (t[i++] =
                                                  128 | ((r >>> 12) & 63))),
                                            (t[i++] = 128 | ((r >>> 6) & 63))),
                                        (t[i++] = 128 | (63 & r))));
                                return t;
                              })(e);
                        }),
                        (i.utf8decode = function (e) {
                          return c.nodebuffer
                            ? a.transformTo("nodebuffer", e).toString("utf-8")
                            : (function (e) {
                                for (
                                  var t,
                                    r,
                                    n = e.length,
                                    i = new Array(2 * n),
                                    o = 0,
                                    s = 0;
                                  s < n;

                                )
                                  if ((t = e[s++]) < 128) i[o++] = t;
                                  else if (4 < (r = l[t]))
                                    ((i[o++] = 65533), (s += r - 1));
                                  else {
                                    for (
                                      t &= 2 === r ? 31 : 3 === r ? 15 : 7;
                                      1 < r && s < n;

                                    )
                                      ((t = (t << 6) | (63 & e[s++])), r--);
                                    1 < r
                                      ? (i[o++] = 65533)
                                      : t < 65536
                                        ? (i[o++] = t)
                                        : ((t -= 65536),
                                          (i[o++] = 55296 | ((t >> 10) & 1023)),
                                          (i[o++] = 56320 | (1023 & t)));
                                  }
                                return (
                                  i.length !== o &&
                                    (i.subarray
                                      ? (i = i.subarray(0, o))
                                      : (i.length = o)),
                                  a.applyFromCharCode(i)
                                );
                              })(
                                (e = a.transformTo(
                                  c.uint8array ? "uint8array" : "array",
                                  e,
                                )),
                              );
                        }),
                        a.inherits(s, n),
                        (s.prototype.processChunk = function (e) {
                          var t = a.transformTo(
                            c.uint8array ? "uint8array" : "array",
                            e.data,
                          );
                          this.leftOver &&
                            this.leftOver.length &&
                            (c.uint8array
                              ? ((n = t),
                                (t = new Uint8Array(
                                  n.length + this.leftOver.length,
                                )).set(this.leftOver, 0),
                                t.set(n, this.leftOver.length))
                              : (t = this.leftOver.concat(t)),
                            (this.leftOver = null));
                          var r = (function (e, t) {
                              for (
                                var r =
                                  (t =
                                    (t = t || e.length) > e.length
                                      ? e.length
                                      : t) - 1;
                                0 <= r && 128 == (192 & e[r]);

                              )
                                r--;
                              return !(r < 0 || 0 === r) && r + l[e[r]] > t
                                ? r
                                : t;
                            })(t),
                            n = t;
                          (r !== t.length &&
                            (c.uint8array
                              ? ((n = t.subarray(0, r)),
                                (this.leftOver = t.subarray(r, t.length)))
                              : ((n = t.slice(0, r)),
                                (this.leftOver = t.slice(r, t.length)))),
                            this.push({ data: i.utf8decode(n), meta: e.meta }));
                        }),
                        (s.prototype.flush = function () {
                          this.leftOver &&
                            this.leftOver.length &&
                            (this.push({
                              data: i.utf8decode(this.leftOver),
                              meta: {},
                            }),
                            (this.leftOver = null));
                        }),
                        (i.Utf8DecodeWorker = s),
                        a.inherits(u, n),
                        (u.prototype.processChunk = function (e) {
                          this.push({
                            data: i.utf8encode(e.data),
                            meta: e.meta,
                          });
                        }),
                        (i.Utf8EncodeWorker = u));
                    },
                    8910: (e, s, t) => {
                      "use strict";
                      var a = t(3790),
                        c = t(8458),
                        r = t(2182),
                        l = t(8565);
                      function n(e) {
                        return e;
                      }
                      function u(e, t) {
                        for (var r = 0; r < e.length; ++r)
                          t[r] = 255 & e.charCodeAt(r);
                        return t;
                      }
                      (t(4889),
                        (s.newBlob = function (t, r) {
                          s.checkSupport("blob");
                          try {
                            return new Blob([t], { type: r });
                          } catch (e) {
                            try {
                              var n = new (self.BlobBuilder ||
                                self.WebKitBlobBuilder ||
                                self.MozBlobBuilder ||
                                self.MSBlobBuilder)();
                              return (n.append(t), n.getBlob(r));
                            } catch (t) {
                              throw new Error(
                                "Bug : can't construct the Blob.",
                              );
                            }
                          }
                        }));
                      var i = {
                        stringifyByChunk: function (e, t, r) {
                          var n = [],
                            i = 0,
                            o = e.length;
                          if (o <= r) return String.fromCharCode.apply(null, e);
                          for (; i < o; )
                            ("array" === t || "nodebuffer" === t
                              ? n.push(
                                  String.fromCharCode.apply(
                                    null,
                                    e.slice(i, Math.min(i + r, o)),
                                  ),
                                )
                              : n.push(
                                  String.fromCharCode.apply(
                                    null,
                                    e.subarray(i, Math.min(i + r, o)),
                                  ),
                                ),
                              (i += r));
                          return n.join("");
                        },
                        stringifyByChar: function (e) {
                          for (var t = "", r = 0; r < e.length; r++)
                            t += String.fromCharCode(e[r]);
                          return t;
                        },
                        applyCanBeUsed: {
                          uint8array: (function () {
                            try {
                              return (
                                a.uint8array &&
                                1 ===
                                  String.fromCharCode.apply(
                                    null,
                                    new Uint8Array(1),
                                  ).length
                              );
                            } catch (e) {
                              return !1;
                            }
                          })(),
                          nodebuffer: (function () {
                            try {
                              return (
                                a.nodebuffer &&
                                1 ===
                                  String.fromCharCode.apply(
                                    null,
                                    r.allocBuffer(1),
                                  ).length
                              );
                            } catch (e) {
                              return !1;
                            }
                          })(),
                        },
                      };
                      function o(e) {
                        var t = 65536,
                          r = s.getTypeOf(e),
                          n = !0;
                        if (
                          ("uint8array" === r
                            ? (n = i.applyCanBeUsed.uint8array)
                            : "nodebuffer" === r &&
                              (n = i.applyCanBeUsed.nodebuffer),
                          n)
                        )
                          for (; 1 < t; )
                            try {
                              return i.stringifyByChunk(e, r, t);
                            } catch (e) {
                              t = Math.floor(t / 2);
                            }
                        return i.stringifyByChar(e);
                      }
                      function h(e, t) {
                        for (var r = 0; r < e.length; r++) t[r] = e[r];
                        return t;
                      }
                      s.applyFromCharCode = o;
                      var p = {};
                      ((p.string = {
                        string: n,
                        array: function (e) {
                          return u(e, new Array(e.length));
                        },
                        arraybuffer: function (e) {
                          return p.string.uint8array(e).buffer;
                        },
                        uint8array: function (e) {
                          return u(e, new Uint8Array(e.length));
                        },
                        nodebuffer: function (e) {
                          return u(e, r.allocBuffer(e.length));
                        },
                      }),
                        (p.array = {
                          string: o,
                          array: n,
                          arraybuffer: function (e) {
                            return new Uint8Array(e).buffer;
                          },
                          uint8array: function (e) {
                            return new Uint8Array(e);
                          },
                          nodebuffer: function (e) {
                            return r.newBufferFrom(e);
                          },
                        }),
                        (p.arraybuffer = {
                          string: function (e) {
                            return o(new Uint8Array(e));
                          },
                          array: function (e) {
                            return h(
                              new Uint8Array(e),
                              new Array(e.byteLength),
                            );
                          },
                          arraybuffer: n,
                          uint8array: function (e) {
                            return new Uint8Array(e);
                          },
                          nodebuffer: function (e) {
                            return r.newBufferFrom(new Uint8Array(e));
                          },
                        }),
                        (p.uint8array = {
                          string: o,
                          array: function (e) {
                            return h(e, new Array(e.length));
                          },
                          arraybuffer: function (e) {
                            return e.buffer;
                          },
                          uint8array: n,
                          nodebuffer: function (e) {
                            return r.newBufferFrom(e);
                          },
                        }),
                        (p.nodebuffer = {
                          string: o,
                          array: function (e) {
                            return h(e, new Array(e.length));
                          },
                          arraybuffer: function (e) {
                            return p.nodebuffer.uint8array(e).buffer;
                          },
                          uint8array: function (e) {
                            return h(e, new Uint8Array(e.length));
                          },
                          nodebuffer: n,
                        }),
                        (s.transformTo = function (e, t) {
                          if (((t = t || ""), !e)) return t;
                          s.checkSupport(e);
                          var r = s.getTypeOf(t);
                          return p[r][e](t);
                        }),
                        (s.resolve = function (e) {
                          for (
                            var t = e.split("/"), r = [], n = 0;
                            n < t.length;
                            n++
                          ) {
                            var i = t[n];
                            "." === i ||
                              ("" === i && 0 !== n && n !== t.length - 1) ||
                              (".." === i ? r.pop() : r.push(i));
                          }
                          return r.join("/");
                        }),
                        (s.getTypeOf = function (e) {
                          return "string" == typeof e
                            ? "string"
                            : "[object Array]" ===
                                Object.prototype.toString.call(e)
                              ? "array"
                              : a.nodebuffer && r.isBuffer(e)
                                ? "nodebuffer"
                                : a.uint8array && e instanceof Uint8Array
                                  ? "uint8array"
                                  : a.arraybuffer && e instanceof ArrayBuffer
                                    ? "arraybuffer"
                                    : void 0;
                        }),
                        (s.checkSupport = function (e) {
                          if (!a[e.toLowerCase()])
                            throw new Error(
                              e + " is not supported by this platform",
                            );
                        }),
                        (s.MAX_VALUE_16BITS = 65535),
                        (s.MAX_VALUE_32BITS = -1),
                        (s.pretty = function (e) {
                          for (var t, r = "", n = 0; n < (e || "").length; n++)
                            r +=
                              "\\x" +
                              ((t = e.charCodeAt(n)) < 16 ? "0" : "") +
                              t.toString(16).toUpperCase();
                          return r;
                        }),
                        (s.delay = function (e, t, r) {
                          setImmediate(function () {
                            e.apply(r || null, t || []);
                          });
                        }),
                        (s.inherits = function (e, t) {
                          function r() {}
                          ((r.prototype = t.prototype),
                            (e.prototype = new r()));
                        }),
                        (s.extend = function () {
                          for (var e, t = {}, r = 0; r < arguments.length; r++)
                            for (e in arguments[r])
                              Object.prototype.hasOwnProperty.call(
                                arguments[r],
                                e,
                              ) &&
                                void 0 === t[e] &&
                                (t[e] = arguments[r][e]);
                          return t;
                        }),
                        (s.prepareContent = function (r, e, n, i, o) {
                          return l.Promise.resolve(e)
                            .then(function (n) {
                              return a.blob &&
                                (n instanceof Blob ||
                                  -1 !==
                                    ["[object File]", "[object Blob]"].indexOf(
                                      Object.prototype.toString.call(n),
                                    )) &&
                                "undefined" != typeof FileReader
                                ? new l.Promise(function (t, r) {
                                    var e = new FileReader();
                                    ((e.onload = function (e) {
                                      t(e.target.result);
                                    }),
                                      (e.onerror = function (e) {
                                        r(e.target.error);
                                      }),
                                      e.readAsArrayBuffer(n));
                                  })
                                : n;
                            })
                            .then(function (e) {
                              var t = s.getTypeOf(e);
                              return t
                                ? ("arraybuffer" === t
                                    ? (e = s.transformTo("uint8array", e))
                                    : "string" === t &&
                                      (o
                                        ? (e = c.decode(e))
                                        : n &&
                                          !0 !== i &&
                                          (e = u(
                                            (t = e),
                                            new (a.uint8array
                                              ? Uint8Array
                                              : Array)(t.length),
                                          ))),
                                  e)
                                : l.Promise.reject(
                                    new Error(
                                      "Can't read the data of '" +
                                        r +
                                        "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?",
                                    ),
                                  );
                            });
                        }));
                    },
                    6624: (e, t, r) => {
                      "use strict";
                      var n = r(8435),
                        i = r(8910),
                        o = r(1141),
                        s = r(9392),
                        a = r(3790);
                      function c(e) {
                        ((this.files = []), (this.loadOptions = e));
                      }
                      ((c.prototype = {
                        checkSignature: function (e) {
                          if (!this.reader.readAndCheckSignature(e)) {
                            this.reader.index -= 4;
                            var t = this.reader.readString(4);
                            throw new Error(
                              "Corrupted zip or bug: unexpected signature (" +
                                i.pretty(t) +
                                ", expected " +
                                i.pretty(e) +
                                ")",
                            );
                          }
                        },
                        isSignature: function (e, t) {
                          var r = this.reader.index;
                          this.reader.setIndex(e);
                          t = this.reader.readString(4) === t;
                          return (this.reader.setIndex(r), t);
                        },
                        readBlockEndOfCentral: function () {
                          ((this.diskNumber = this.reader.readInt(2)),
                            (this.diskWithCentralDirStart =
                              this.reader.readInt(2)),
                            (this.centralDirRecordsOnThisDisk =
                              this.reader.readInt(2)),
                            (this.centralDirRecords = this.reader.readInt(2)),
                            (this.centralDirSize = this.reader.readInt(4)),
                            (this.centralDirOffset = this.reader.readInt(4)),
                            (this.zipCommentLength = this.reader.readInt(2)));
                          var e = this.reader.readData(this.zipCommentLength),
                            t = a.uint8array ? "uint8array" : "array",
                            e = i.transformTo(t, e);
                          this.zipComment = this.loadOptions.decodeFileName(e);
                        },
                        readBlockZip64EndOfCentral: function () {
                          ((this.zip64EndOfCentralSize =
                            this.reader.readInt(8)),
                            this.reader.skip(4),
                            (this.diskNumber = this.reader.readInt(4)),
                            (this.diskWithCentralDirStart =
                              this.reader.readInt(4)),
                            (this.centralDirRecordsOnThisDisk =
                              this.reader.readInt(8)),
                            (this.centralDirRecords = this.reader.readInt(8)),
                            (this.centralDirSize = this.reader.readInt(8)),
                            (this.centralDirOffset = this.reader.readInt(8)),
                            (this.zip64ExtensibleData = {}));
                          for (
                            var e, t, r, n = this.zip64EndOfCentralSize - 44;
                            0 < n;

                          )
                            ((e = this.reader.readInt(2)),
                              (t = this.reader.readInt(4)),
                              (r = this.reader.readData(t)),
                              (this.zip64ExtensibleData[e] = {
                                id: e,
                                length: t,
                                value: r,
                              }));
                        },
                        readBlockZip64EndOfCentralLocator: function () {
                          if (
                            ((this.diskWithZip64CentralDirStart =
                              this.reader.readInt(4)),
                            (this.relativeOffsetEndOfZip64CentralDir =
                              this.reader.readInt(8)),
                            (this.disksCount = this.reader.readInt(4)),
                            1 < this.disksCount)
                          )
                            throw new Error(
                              "Multi-volumes zip are not supported",
                            );
                        },
                        readLocalFiles: function () {
                          for (var e, t = 0; t < this.files.length; t++)
                            ((e = this.files[t]),
                              this.reader.setIndex(e.localHeaderOffset),
                              this.checkSignature(o.LOCAL_FILE_HEADER),
                              e.readLocalPart(this.reader),
                              e.handleUTF8(),
                              e.processAttributes());
                        },
                        readCentralDir: function () {
                          var e;
                          for (
                            this.reader.setIndex(this.centralDirOffset);
                            this.reader.readAndCheckSignature(
                              o.CENTRAL_FILE_HEADER,
                            );

                          )
                            ((e = new s(
                              { zip64: this.zip64 },
                              this.loadOptions,
                            )).readCentralPart(this.reader),
                              this.files.push(e));
                          if (
                            this.centralDirRecords !== this.files.length &&
                            0 !== this.centralDirRecords &&
                            0 === this.files.length
                          )
                            throw new Error(
                              "Corrupted zip or bug: expected " +
                                this.centralDirRecords +
                                " records in central dir, got " +
                                this.files.length,
                            );
                        },
                        readEndOfCentral: function () {
                          var e = this.reader.lastIndexOfSignature(
                            o.CENTRAL_DIRECTORY_END,
                          );
                          if (e < 0)
                            throw this.isSignature(0, o.LOCAL_FILE_HEADER)
                              ? new Error(
                                  "Corrupted zip: can't find end of central directory",
                                )
                              : new Error(
                                  "Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html",
                                );
                          this.reader.setIndex(e);
                          var t = e;
                          if (
                            (this.checkSignature(o.CENTRAL_DIRECTORY_END),
                            this.readBlockEndOfCentral(),
                            this.diskNumber === i.MAX_VALUE_16BITS ||
                              this.diskWithCentralDirStart ===
                                i.MAX_VALUE_16BITS ||
                              this.centralDirRecordsOnThisDisk ===
                                i.MAX_VALUE_16BITS ||
                              this.centralDirRecords === i.MAX_VALUE_16BITS ||
                              this.centralDirSize === i.MAX_VALUE_32BITS ||
                              this.centralDirOffset === i.MAX_VALUE_32BITS)
                          ) {
                            if (
                              ((this.zip64 = !0),
                              (e = this.reader.lastIndexOfSignature(
                                o.ZIP64_CENTRAL_DIRECTORY_LOCATOR,
                              )) < 0)
                            )
                              throw new Error(
                                "Corrupted zip: can't find the ZIP64 end of central directory locator",
                              );
                            if (
                              (this.reader.setIndex(e),
                              this.checkSignature(
                                o.ZIP64_CENTRAL_DIRECTORY_LOCATOR,
                              ),
                              this.readBlockZip64EndOfCentralLocator(),
                              !this.isSignature(
                                this.relativeOffsetEndOfZip64CentralDir,
                                o.ZIP64_CENTRAL_DIRECTORY_END,
                              ) &&
                                ((this.relativeOffsetEndOfZip64CentralDir =
                                  this.reader.lastIndexOfSignature(
                                    o.ZIP64_CENTRAL_DIRECTORY_END,
                                  )),
                                this.relativeOffsetEndOfZip64CentralDir < 0))
                            )
                              throw new Error(
                                "Corrupted zip: can't find the ZIP64 end of central directory",
                              );
                            (this.reader.setIndex(
                              this.relativeOffsetEndOfZip64CentralDir,
                            ),
                              this.checkSignature(
                                o.ZIP64_CENTRAL_DIRECTORY_END,
                              ),
                              this.readBlockZip64EndOfCentral());
                          }
                          e = this.centralDirOffset + this.centralDirSize;
                          this.zip64 &&
                            ((e += 20), (e += 12 + this.zip64EndOfCentralSize));
                          e = t - e;
                          if (0 < e)
                            this.isSignature(t, o.CENTRAL_FILE_HEADER) ||
                              (this.reader.zero = e);
                          else if (e < 0)
                            throw new Error(
                              "Corrupted zip: missing " +
                                Math.abs(e) +
                                " bytes.",
                            );
                        },
                        prepareReader: function (e) {
                          this.reader = n(e);
                        },
                        load: function (e) {
                          (this.prepareReader(e),
                            this.readEndOfCentral(),
                            this.readCentralDir(),
                            this.readLocalFiles());
                        },
                      }),
                        (e.exports = c));
                    },
                    9392: (e, t, r) => {
                      "use strict";
                      var n = r(8435),
                        i = r(8910),
                        o = r(7326),
                        s = r(6988),
                        a = r(3600),
                        c = r(1678),
                        l = r(3790);
                      function u(e, t) {
                        ((this.options = e), (this.loadOptions = t));
                      }
                      ((u.prototype = {
                        isEncrypted: function () {
                          return 1 == (1 & this.bitFlag);
                        },
                        useUTF8: function () {
                          return 2048 == (2048 & this.bitFlag);
                        },
                        readLocalPart: function (e) {
                          var t;
                          if (
                            (e.skip(22),
                            (this.fileNameLength = e.readInt(2)),
                            (t = e.readInt(2)),
                            (this.fileName = e.readData(this.fileNameLength)),
                            e.skip(t),
                            -1 === this.compressedSize ||
                              -1 === this.uncompressedSize)
                          )
                            throw new Error(
                              "Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)",
                            );
                          if (
                            null ===
                            (t = (function (e) {
                              for (var t in c)
                                if (
                                  Object.prototype.hasOwnProperty.call(c, t) &&
                                  c[t].magic === e
                                )
                                  return c[t];
                              return null;
                            })(this.compressionMethod))
                          )
                            throw new Error(
                              "Corrupted zip : compression " +
                                i.pretty(this.compressionMethod) +
                                " unknown (inner file : " +
                                i.transformTo("string", this.fileName) +
                                ")",
                            );
                          this.decompressed = new o(
                            this.compressedSize,
                            this.uncompressedSize,
                            this.crc32,
                            t,
                            e.readData(this.compressedSize),
                          );
                        },
                        readCentralPart: function (e) {
                          ((this.versionMadeBy = e.readInt(2)),
                            e.skip(2),
                            (this.bitFlag = e.readInt(2)),
                            (this.compressionMethod = e.readString(2)),
                            (this.date = e.readDate()),
                            (this.crc32 = e.readInt(4)),
                            (this.compressedSize = e.readInt(4)),
                            (this.uncompressedSize = e.readInt(4)));
                          var t = e.readInt(2);
                          if (
                            ((this.extraFieldsLength = e.readInt(2)),
                            (this.fileCommentLength = e.readInt(2)),
                            (this.diskNumberStart = e.readInt(2)),
                            (this.internalFileAttributes = e.readInt(2)),
                            (this.externalFileAttributes = e.readInt(4)),
                            (this.localHeaderOffset = e.readInt(4)),
                            this.isEncrypted())
                          )
                            throw new Error("Encrypted zip are not supported");
                          (e.skip(t),
                            this.readExtraFields(e),
                            this.parseZIP64ExtraField(e),
                            (this.fileComment = e.readData(
                              this.fileCommentLength,
                            )));
                        },
                        processAttributes: function () {
                          ((this.unixPermissions = null),
                            (this.dosPermissions = null));
                          var e = this.versionMadeBy >> 8;
                          ((this.dir = !!(16 & this.externalFileAttributes)),
                            0 == e &&
                              (this.dosPermissions =
                                63 & this.externalFileAttributes),
                            3 == e &&
                              (this.unixPermissions =
                                (this.externalFileAttributes >> 16) & 65535),
                            this.dir ||
                              "/" !== this.fileNameStr.slice(-1) ||
                              (this.dir = !0));
                        },
                        parseZIP64ExtraField: function () {
                          var e;
                          this.extraFields[1] &&
                            ((e = n(this.extraFields[1].value)),
                            this.uncompressedSize === i.MAX_VALUE_32BITS &&
                              (this.uncompressedSize = e.readInt(8)),
                            this.compressedSize === i.MAX_VALUE_32BITS &&
                              (this.compressedSize = e.readInt(8)),
                            this.localHeaderOffset === i.MAX_VALUE_32BITS &&
                              (this.localHeaderOffset = e.readInt(8)),
                            this.diskNumberStart === i.MAX_VALUE_32BITS &&
                              (this.diskNumberStart = e.readInt(4)));
                        },
                        readExtraFields: function (e) {
                          var t,
                            r,
                            n,
                            i = e.index + this.extraFieldsLength;
                          for (
                            this.extraFields || (this.extraFields = {});
                            e.index + 4 < i;

                          )
                            ((t = e.readInt(2)),
                              (r = e.readInt(2)),
                              (n = e.readData(r)),
                              (this.extraFields[t] = {
                                id: t,
                                length: r,
                                value: n,
                              }));
                          e.setIndex(i);
                        },
                        handleUTF8: function () {
                          var e,
                            t,
                            r = l.uint8array ? "uint8array" : "array";
                          this.useUTF8()
                            ? ((this.fileNameStr = a.utf8decode(this.fileName)),
                              (this.fileCommentStr = a.utf8decode(
                                this.fileComment,
                              )))
                            : (null !== (e = this.findExtraFieldUnicodePath())
                                ? (this.fileNameStr = e)
                                : ((t = i.transformTo(r, this.fileName)),
                                  (this.fileNameStr =
                                    this.loadOptions.decodeFileName(t))),
                              null !== (t = this.findExtraFieldUnicodeComment())
                                ? (this.fileCommentStr = t)
                                : ((r = i.transformTo(r, this.fileComment)),
                                  (this.fileCommentStr =
                                    this.loadOptions.decodeFileName(r))));
                        },
                        findExtraFieldUnicodePath: function () {
                          var e = this.extraFields[28789];
                          if (e) {
                            var t = n(e.value);
                            return 1 !== t.readInt(1) ||
                              s(this.fileName) !== t.readInt(4)
                              ? null
                              : a.utf8decode(t.readData(e.length - 5));
                          }
                          return null;
                        },
                        findExtraFieldUnicodeComment: function () {
                          var e = this.extraFields[25461];
                          if (e) {
                            var t = n(e.value);
                            return 1 !== t.readInt(1) ||
                              s(this.fileComment) !== t.readInt(4)
                              ? null
                              : a.utf8decode(t.readData(e.length - 5));
                          }
                          return null;
                        },
                      }),
                        (e.exports = u));
                    },
                    6859: (e, t, r) => {
                      "use strict";
                      function n(e, t, r) {
                        ((this.name = e),
                          (this.dir = r.dir),
                          (this.date = r.date),
                          (this.comment = r.comment),
                          (this.unixPermissions = r.unixPermissions),
                          (this.dosPermissions = r.dosPermissions),
                          (this._data = t),
                          (this._dataBinary = r.binary),
                          (this.options = {
                            compression: r.compression,
                            compressionOptions: r.compressionOptions,
                          }));
                      }
                      var o = r(1285),
                        i = r(5301),
                        s = r(3600),
                        a = r(7326),
                        c = r(3718);
                      n.prototype = {
                        internalStream: function (e) {
                          var t = null,
                            r = "string";
                          try {
                            if (!e)
                              throw new Error("No output type specified.");
                            var n =
                              "string" === (r = e.toLowerCase()) ||
                              "text" === r;
                            ("binarystring" !== r && "text" !== r) ||
                              (r = "string");
                            var t = this._decompressWorker(),
                              i = !this._dataBinary;
                            (i && !n && (t = t.pipe(new s.Utf8EncodeWorker())),
                              !i &&
                                n &&
                                (t = t.pipe(new s.Utf8DecodeWorker())));
                          } catch (e) {
                            (t = new c("error")).error(e);
                          }
                          return new o(t, r, "");
                        },
                        async: function (e, t) {
                          return this.internalStream(e).accumulate(t);
                        },
                        nodeStream: function (e, t) {
                          return this.internalStream(
                            e || "nodebuffer",
                          ).toNodejsStream(t);
                        },
                        _compressWorker: function (e, t) {
                          if (
                            this._data instanceof a &&
                            this._data.compression.magic === e.magic
                          )
                            return this._data.getCompressedWorker();
                          var r = this._decompressWorker();
                          return (
                            this._dataBinary ||
                              (r = r.pipe(new s.Utf8EncodeWorker())),
                            a.createWorkerFrom(r, e, t)
                          );
                        },
                        _decompressWorker: function () {
                          return this._data instanceof a
                            ? this._data.getContentWorker()
                            : this._data instanceof c
                              ? this._data
                              : new i(this._data);
                        },
                      };
                      for (
                        var l = [
                            "asText",
                            "asBinary",
                            "asNodeBuffer",
                            "asUint8Array",
                            "asArrayBuffer",
                          ],
                          u = function () {
                            throw new Error(
                              "This method has been removed in JSZip 3.0, please check the upgrade guide.",
                            );
                          },
                          h = 0;
                        h < l.length;
                        h++
                      )
                        n.prototype[l[h]] = u;
                      e.exports = n;
                    },
                    3389: (e, t, r) => {
                      "use strict";
                      var i = r(5705);
                      function c() {}
                      var l = {},
                        o = ["REJECTED"],
                        s = ["FULFILLED"],
                        n = ["PENDING"];
                      function a(e) {
                        if ("function" != typeof e)
                          throw new TypeError("resolver must be a function");
                        ((this.state = n),
                          (this.queue = []),
                          (this.outcome = void 0),
                          e !== c && d(this, e));
                      }
                      function u(e, t, r) {
                        ((this.promise = e),
                          "function" == typeof t &&
                            ((this.onFulfilled = t),
                            (this.callFulfilled = this.otherCallFulfilled)),
                          "function" == typeof r &&
                            ((this.onRejected = r),
                            (this.callRejected = this.otherCallRejected)));
                      }
                      function h(t, r, n) {
                        i(function () {
                          var e;
                          try {
                            e = r(n);
                          } catch (e) {
                            return l.reject(t, e);
                          }
                          e === t
                            ? l.reject(
                                t,
                                new TypeError(
                                  "Cannot resolve promise with itself",
                                ),
                              )
                            : l.resolve(t, e);
                        });
                      }
                      function p(e) {
                        var t = e && e.then;
                        if (
                          e &&
                          ("object" == typeof e || "function" == typeof e) &&
                          "function" == typeof t
                        )
                          return function () {
                            t.apply(e, arguments);
                          };
                      }
                      function d(t, e) {
                        var r = !1;
                        function n(e) {
                          r || ((r = !0), l.reject(t, e));
                        }
                        function i(e) {
                          r || ((r = !0), l.resolve(t, e));
                        }
                        var o = f(function () {
                          e(i, n);
                        });
                        "error" === o.status && n(o.value);
                      }
                      function f(e, t) {
                        var r = {};
                        try {
                          ((r.value = e(t)), (r.status = "success"));
                        } catch (e) {
                          ((r.status = "error"), (r.value = e));
                        }
                        return r;
                      }
                      (((e.exports = a).prototype.finally = function (t) {
                        if ("function" != typeof t) return this;
                        var r = this.constructor;
                        return this.then(
                          function (e) {
                            return r.resolve(t()).then(function () {
                              return e;
                            });
                          },
                          function (e) {
                            return r.resolve(t()).then(function () {
                              throw e;
                            });
                          },
                        );
                      }),
                        (a.prototype.catch = function (e) {
                          return this.then(null, e);
                        }),
                        (a.prototype.then = function (e, t) {
                          if (
                            ("function" != typeof e && this.state === s) ||
                            ("function" != typeof t && this.state === o)
                          )
                            return this;
                          var r = new this.constructor(c);
                          return (
                            this.state !== n
                              ? h(r, this.state === s ? e : t, this.outcome)
                              : this.queue.push(new u(r, e, t)),
                            r
                          );
                        }),
                        (u.prototype.callFulfilled = function (e) {
                          l.resolve(this.promise, e);
                        }),
                        (u.prototype.otherCallFulfilled = function (e) {
                          h(this.promise, this.onFulfilled, e);
                        }),
                        (u.prototype.callRejected = function (e) {
                          l.reject(this.promise, e);
                        }),
                        (u.prototype.otherCallRejected = function (e) {
                          h(this.promise, this.onRejected, e);
                        }),
                        (l.resolve = function (e, t) {
                          var r = f(p, t);
                          if ("error" === r.status) return l.reject(e, r.value);
                          r = r.value;
                          if (r) d(e, r);
                          else {
                            ((e.state = s), (e.outcome = t));
                            for (var n = -1, i = e.queue.length; ++n < i; )
                              e.queue[n].callFulfilled(t);
                          }
                          return e;
                        }),
                        (l.reject = function (e, t) {
                          ((e.state = o), (e.outcome = t));
                          for (var r = -1, n = e.queue.length; ++r < n; )
                            e.queue[r].callRejected(t);
                          return e;
                        }),
                        (a.resolve = function (e) {
                          return e instanceof this
                            ? e
                            : l.resolve(new this(c), e);
                        }),
                        (a.reject = function (e) {
                          var t = new this(c);
                          return l.reject(t, e);
                        }),
                        (a.all = function (e) {
                          var r = this;
                          if (
                            "[object Array]" !==
                            Object.prototype.toString.call(e)
                          )
                            return this.reject(
                              new TypeError("must be an array"),
                            );
                          var n = e.length,
                            i = !1;
                          if (!n) return this.resolve([]);
                          for (
                            var o = new Array(n),
                              s = 0,
                              t = -1,
                              a = new this(c);
                            ++t < n;

                          )
                            !(function (e, t) {
                              r.resolve(e).then(
                                function (e) {
                                  ((o[t] = e),
                                    ++s !== n ||
                                      i ||
                                      ((i = !0), l.resolve(a, o)));
                                },
                                function (e) {
                                  i || ((i = !0), l.reject(a, e));
                                },
                              );
                            })(e[t], t);
                          return a;
                        }),
                        (a.race = function (e) {
                          if (
                            "[object Array]" !==
                            Object.prototype.toString.call(e)
                          )
                            return this.reject(
                              new TypeError("must be an array"),
                            );
                          var t = e.length,
                            r = !1;
                          if (!t) return this.resolve([]);
                          for (var n, i = -1, o = new this(c); ++i < t; )
                            ((n = e[i]),
                              this.resolve(n).then(
                                function (e) {
                                  r || ((r = !0), l.resolve(o, e));
                                },
                                function (e) {
                                  r || ((r = !0), l.reject(o, e));
                                },
                              ));
                          return o;
                        }));
                    },
                    9591: (e, t, r) => {
                      "use strict";
                      var n = {};
                      ((0, r(4236).assign)(n, r(4555), r(8843), r(1619)),
                        (e.exports = n));
                    },
                    4555: (e, t, r) => {
                      "use strict";
                      var s = r(405),
                        a = r(4236),
                        c = r(9373),
                        n = r(8898),
                        i = r(2292),
                        l = Object.prototype.toString;
                      function o(e) {
                        if (!(this instanceof o)) return new o(e);
                        this.options = a.assign(
                          {
                            level: -1,
                            method: 8,
                            chunkSize: 16384,
                            windowBits: 15,
                            memLevel: 8,
                            strategy: 0,
                            to: "",
                          },
                          e || {},
                        );
                        var t = this.options;
                        (t.raw && 0 < t.windowBits
                          ? (t.windowBits = -t.windowBits)
                          : t.gzip &&
                            0 < t.windowBits &&
                            t.windowBits < 16 &&
                            (t.windowBits += 16),
                          (this.err = 0),
                          (this.msg = ""),
                          (this.ended = !1),
                          (this.chunks = []),
                          (this.strm = new i()),
                          (this.strm.avail_out = 0));
                        e = s.deflateInit2(
                          this.strm,
                          t.level,
                          t.method,
                          t.windowBits,
                          t.memLevel,
                          t.strategy,
                        );
                        if (0 !== e) throw new Error(n[e]);
                        if (
                          (t.header && s.deflateSetHeader(this.strm, t.header),
                          t.dictionary)
                        ) {
                          t =
                            "string" == typeof t.dictionary
                              ? c.string2buf(t.dictionary)
                              : "[object ArrayBuffer]" === l.call(t.dictionary)
                                ? new Uint8Array(t.dictionary)
                                : t.dictionary;
                          if (0 !== (e = s.deflateSetDictionary(this.strm, t)))
                            throw new Error(n[e]);
                          this._dict_set = !0;
                        }
                      }
                      function u(e, t) {
                        t = new o(t);
                        if ((t.push(e, !0), t.err)) throw t.msg || n[t.err];
                        return t.result;
                      }
                      ((o.prototype.push = function (e, t) {
                        var r,
                          n,
                          i = this.strm,
                          o = this.options.chunkSize;
                        if (this.ended) return !1;
                        ((n = t === ~~t ? t : !0 === t ? 4 : 0),
                          "string" == typeof e
                            ? (i.input = c.string2buf(e))
                            : "[object ArrayBuffer]" === l.call(e)
                              ? (i.input = new Uint8Array(e))
                              : (i.input = e),
                          (i.next_in = 0),
                          (i.avail_in = i.input.length));
                        do {
                          if (
                            (0 === i.avail_out &&
                              ((i.output = new a.Buf8(o)),
                              (i.next_out = 0),
                              (i.avail_out = o)),
                            1 !== (r = s.deflate(i, n)) && 0 !== r)
                          )
                            return (this.onEnd(r), !(this.ended = !0));
                        } while (
                          ((0 !== i.avail_out &&
                            (0 !== i.avail_in || (4 !== n && 2 !== n))) ||
                            ("string" === this.options.to
                              ? this.onData(
                                  c.buf2binstring(
                                    a.shrinkBuf(i.output, i.next_out),
                                  ),
                                )
                              : this.onData(a.shrinkBuf(i.output, i.next_out))),
                          (0 < i.avail_in || 0 === i.avail_out) && 1 !== r)
                        );
                        return 4 === n
                          ? ((r = s.deflateEnd(this.strm)),
                            this.onEnd(r),
                            (this.ended = !0),
                            0 === r)
                          : 2 !== n || (this.onEnd(0), !(i.avail_out = 0));
                      }),
                        (o.prototype.onData = function (e) {
                          this.chunks.push(e);
                        }),
                        (o.prototype.onEnd = function (e) {
                          (0 === e &&
                            ("string" === this.options.to
                              ? (this.result = this.chunks.join(""))
                              : (this.result = a.flattenChunks(this.chunks))),
                            (this.chunks = []),
                            (this.err = e),
                            (this.msg = this.strm.msg));
                        }),
                        (t.Deflate = o),
                        (t.deflate = u),
                        (t.deflateRaw = function (e, t) {
                          return (((t = t || {}).raw = !0), u(e, t));
                        }),
                        (t.gzip = function (e, t) {
                          return (((t = t || {}).gzip = !0), u(e, t));
                        }));
                    },
                    8843: (e, t, r) => {
                      "use strict";
                      var h = r(7948),
                        p = r(4236),
                        d = r(9373),
                        f = r(1619),
                        n = r(8898),
                        i = r(2292),
                        o = r(2401),
                        m = Object.prototype.toString;
                      function s(e) {
                        if (!(this instanceof s)) return new s(e);
                        this.options = p.assign(
                          { chunkSize: 16384, windowBits: 0, to: "" },
                          e || {},
                        );
                        var t = this.options;
                        (t.raw &&
                          0 <= t.windowBits &&
                          t.windowBits < 16 &&
                          ((t.windowBits = -t.windowBits),
                          0 === t.windowBits && (t.windowBits = -15)),
                          !(0 <= t.windowBits && t.windowBits < 16) ||
                            (e && e.windowBits) ||
                            (t.windowBits += 32),
                          15 < t.windowBits &&
                            t.windowBits < 48 &&
                            0 == (15 & t.windowBits) &&
                            (t.windowBits |= 15),
                          (this.err = 0),
                          (this.msg = ""),
                          (this.ended = !1),
                          (this.chunks = []),
                          (this.strm = new i()),
                          (this.strm.avail_out = 0));
                        e = h.inflateInit2(this.strm, t.windowBits);
                        if (e !== f.Z_OK) throw new Error(n[e]);
                        if (
                          ((this.header = new o()),
                          h.inflateGetHeader(this.strm, this.header),
                          t.dictionary &&
                            ("string" == typeof t.dictionary
                              ? (t.dictionary = d.string2buf(t.dictionary))
                              : "[object ArrayBuffer]" ===
                                  m.call(t.dictionary) &&
                                (t.dictionary = new Uint8Array(t.dictionary)),
                            t.raw &&
                              (e = h.inflateSetDictionary(
                                this.strm,
                                t.dictionary,
                              )) !== f.Z_OK))
                        )
                          throw new Error(n[e]);
                      }
                      function a(e, t) {
                        t = new s(t);
                        if ((t.push(e, !0), t.err)) throw t.msg || n[t.err];
                        return t.result;
                      }
                      ((s.prototype.push = function (e, t) {
                        var r,
                          n,
                          i,
                          o,
                          s,
                          a = this.strm,
                          c = this.options.chunkSize,
                          l = this.options.dictionary,
                          u = !1;
                        if (this.ended) return !1;
                        ((n =
                          t === ~~t ? t : !0 === t ? f.Z_FINISH : f.Z_NO_FLUSH),
                          "string" == typeof e
                            ? (a.input = d.binstring2buf(e))
                            : "[object ArrayBuffer]" === m.call(e)
                              ? (a.input = new Uint8Array(e))
                              : (a.input = e),
                          (a.next_in = 0),
                          (a.avail_in = a.input.length));
                        do {
                          if (
                            (0 === a.avail_out &&
                              ((a.output = new p.Buf8(c)),
                              (a.next_out = 0),
                              (a.avail_out = c)),
                            (r =
                              (r = h.inflate(a, f.Z_NO_FLUSH)) ===
                                f.Z_NEED_DICT && l
                                ? h.inflateSetDictionary(this.strm, l)
                                : r) === f.Z_BUF_ERROR &&
                              !0 === u &&
                              ((r = f.Z_OK), (u = !1)),
                            r !== f.Z_STREAM_END && r !== f.Z_OK)
                          )
                            return (this.onEnd(r), !(this.ended = !0));
                        } while (
                          (a.next_out &&
                            ((0 !== a.avail_out &&
                              r !== f.Z_STREAM_END &&
                              (0 !== a.avail_in ||
                                (n !== f.Z_FINISH && n !== f.Z_SYNC_FLUSH))) ||
                              ("string" === this.options.to
                                ? ((i = d.utf8border(a.output, a.next_out)),
                                  (o = a.next_out - i),
                                  (s = d.buf2string(a.output, i)),
                                  (a.next_out = o),
                                  (a.avail_out = c - o),
                                  o && p.arraySet(a.output, a.output, i, o, 0),
                                  this.onData(s))
                                : this.onData(
                                    p.shrinkBuf(a.output, a.next_out),
                                  ))),
                          0 === a.avail_in && 0 === a.avail_out && (u = !0),
                          (0 < a.avail_in || 0 === a.avail_out) &&
                            r !== f.Z_STREAM_END)
                        );
                        return (n = r === f.Z_STREAM_END ? f.Z_FINISH : n) ===
                          f.Z_FINISH
                          ? ((r = h.inflateEnd(this.strm)),
                            this.onEnd(r),
                            (this.ended = !0),
                            r === f.Z_OK)
                          : n !== f.Z_SYNC_FLUSH ||
                              (this.onEnd(f.Z_OK), !(a.avail_out = 0));
                      }),
                        (s.prototype.onData = function (e) {
                          this.chunks.push(e);
                        }),
                        (s.prototype.onEnd = function (e) {
                          (e === f.Z_OK &&
                            ("string" === this.options.to
                              ? (this.result = this.chunks.join(""))
                              : (this.result = p.flattenChunks(this.chunks))),
                            (this.chunks = []),
                            (this.err = e),
                            (this.msg = this.strm.msg));
                        }),
                        (t.Inflate = s),
                        (t.inflate = a),
                        (t.inflateRaw = function (e, t) {
                          return (((t = t || {}).raw = !0), a(e, t));
                        }),
                        (t.ungzip = a));
                    },
                    4236: (e, t) => {
                      "use strict";
                      var r =
                        "undefined" != typeof Uint8Array &&
                        "undefined" != typeof Uint16Array &&
                        "undefined" != typeof Int32Array;
                      ((t.assign = function (e) {
                        for (
                          var t,
                            r,
                            n = Array.prototype.slice.call(arguments, 1);
                          n.length;

                        ) {
                          var i = n.shift();
                          if (i) {
                            if ("object" != typeof i)
                              throw new TypeError(i + "must be non-object");
                            for (var o in i)
                              ((t = i),
                                (r = o),
                                Object.prototype.hasOwnProperty.call(t, r) &&
                                  (e[o] = i[o]));
                          }
                        }
                        return e;
                      }),
                        (t.shrinkBuf = function (e, t) {
                          return e.length === t
                            ? e
                            : e.subarray
                              ? e.subarray(0, t)
                              : ((e.length = t), e);
                        }));
                      var n = {
                          arraySet: function (e, t, r, n, i) {
                            if (t.subarray && e.subarray)
                              e.set(t.subarray(r, r + n), i);
                            else
                              for (var o = 0; o < n; o++) e[i + o] = t[r + o];
                          },
                          flattenChunks: function (e) {
                            for (
                              var t, r, n, i = 0, o = 0, s = e.length;
                              o < s;
                              o++
                            )
                              i += e[o].length;
                            for (
                              n = new Uint8Array(i), o = t = 0, s = e.length;
                              o < s;
                              o++
                            )
                              ((r = e[o]), n.set(r, t), (t += r.length));
                            return n;
                          },
                        },
                        i = {
                          arraySet: function (e, t, r, n, i) {
                            for (var o = 0; o < n; o++) e[i + o] = t[r + o];
                          },
                          flattenChunks: function (e) {
                            return [].concat.apply([], e);
                          },
                        };
                      ((t.setTyped = function (e) {
                        e
                          ? ((t.Buf8 = Uint8Array),
                            (t.Buf16 = Uint16Array),
                            (t.Buf32 = Int32Array),
                            t.assign(t, n))
                          : ((t.Buf8 = Array),
                            (t.Buf16 = Array),
                            (t.Buf32 = Array),
                            t.assign(t, i));
                      }),
                        t.setTyped(r));
                    },
                    9373: (e, t, r) => {
                      "use strict";
                      var c = r(4236),
                        i = !0,
                        o = !0;
                      try {
                        String.fromCharCode.apply(null, [0]);
                      } catch (e) {
                        i = !1;
                      }
                      try {
                        String.fromCharCode.apply(null, new Uint8Array(1));
                      } catch (e) {
                        o = !1;
                      }
                      for (var l = new c.Buf8(256), n = 0; n < 256; n++)
                        l[n] =
                          252 <= n
                            ? 6
                            : 248 <= n
                              ? 5
                              : 240 <= n
                                ? 4
                                : 224 <= n
                                  ? 3
                                  : 192 <= n
                                    ? 2
                                    : 1;
                      function u(e, t) {
                        if (
                          t < 65534 &&
                          ((e.subarray && o) || (!e.subarray && i))
                        )
                          return String.fromCharCode.apply(
                            null,
                            c.shrinkBuf(e, t),
                          );
                        for (var r = "", n = 0; n < t; n++)
                          r += String.fromCharCode(e[n]);
                        return r;
                      }
                      ((l[254] = l[254] = 1),
                        (t.string2buf = function (e) {
                          for (
                            var t, r, n, i, o = e.length, s = 0, a = 0;
                            a < o;
                            a++
                          )
                            (55296 == (64512 & (r = e.charCodeAt(a))) &&
                              a + 1 < o &&
                              56320 == (64512 & (n = e.charCodeAt(a + 1))) &&
                              ((r = 65536 + ((r - 55296) << 10) + (n - 56320)),
                              a++),
                              (s +=
                                r < 128
                                  ? 1
                                  : r < 2048
                                    ? 2
                                    : r < 65536
                                      ? 3
                                      : 4));
                          for (t = new c.Buf8(s), a = i = 0; i < s; a++)
                            (55296 == (64512 & (r = e.charCodeAt(a))) &&
                              a + 1 < o &&
                              56320 == (64512 & (n = e.charCodeAt(a + 1))) &&
                              ((r = 65536 + ((r - 55296) << 10) + (n - 56320)),
                              a++),
                              r < 128
                                ? (t[i++] = r)
                                : (r < 2048
                                    ? (t[i++] = 192 | (r >>> 6))
                                    : (r < 65536
                                        ? (t[i++] = 224 | (r >>> 12))
                                        : ((t[i++] = 240 | (r >>> 18)),
                                          (t[i++] = 128 | ((r >>> 12) & 63))),
                                      (t[i++] = 128 | ((r >>> 6) & 63))),
                                  (t[i++] = 128 | (63 & r))));
                          return t;
                        }),
                        (t.buf2binstring = function (e) {
                          return u(e, e.length);
                        }),
                        (t.binstring2buf = function (e) {
                          for (
                            var t = new c.Buf8(e.length), r = 0, n = t.length;
                            r < n;
                            r++
                          )
                            t[r] = e.charCodeAt(r);
                          return t;
                        }),
                        (t.buf2string = function (e, t) {
                          for (
                            var r,
                              n,
                              i = t || e.length,
                              o = new Array(2 * i),
                              s = 0,
                              a = 0;
                            a < i;

                          )
                            if ((r = e[a++]) < 128) o[s++] = r;
                            else if (4 < (n = l[r]))
                              ((o[s++] = 65533), (a += n - 1));
                            else {
                              for (
                                r &= 2 === n ? 31 : 3 === n ? 15 : 7;
                                1 < n && a < i;

                              )
                                ((r = (r << 6) | (63 & e[a++])), n--);
                              1 < n
                                ? (o[s++] = 65533)
                                : r < 65536
                                  ? (o[s++] = r)
                                  : ((r -= 65536),
                                    (o[s++] = 55296 | ((r >> 10) & 1023)),
                                    (o[s++] = 56320 | (1023 & r)));
                            }
                          return u(o, s);
                        }),
                        (t.utf8border = function (e, t) {
                          for (
                            var r =
                              (t =
                                (t = t || e.length) > e.length ? e.length : t) -
                              1;
                            0 <= r && 128 == (192 & e[r]);

                          )
                            r--;
                          return !(r < 0 || 0 === r) && r + l[e[r]] > t ? r : t;
                        }));
                    },
                    6069: (e) => {
                      "use strict";
                      e.exports = function (e, t, r, n) {
                        for (
                          var i = (65535 & e) | 0,
                            o = ((e >>> 16) & 65535) | 0,
                            s = 0;
                          0 !== r;

                        ) {
                          for (
                            r -= s = 2e3 < r ? 2e3 : r;
                            (o = (o + (i = (i + t[n++]) | 0)) | 0), --s;

                          );
                          ((i %= 65521), (o %= 65521));
                        }
                        return i | (o << 16) | 0;
                      };
                    },
                    1619: (e) => {
                      "use strict";
                      e.exports = {
                        Z_NO_FLUSH: 0,
                        Z_PARTIAL_FLUSH: 1,
                        Z_SYNC_FLUSH: 2,
                        Z_FULL_FLUSH: 3,
                        Z_FINISH: 4,
                        Z_BLOCK: 5,
                        Z_TREES: 6,
                        Z_OK: 0,
                        Z_STREAM_END: 1,
                        Z_NEED_DICT: 2,
                        Z_ERRNO: -1,
                        Z_STREAM_ERROR: -2,
                        Z_DATA_ERROR: -3,
                        Z_BUF_ERROR: -5,
                        Z_NO_COMPRESSION: 0,
                        Z_BEST_SPEED: 1,
                        Z_BEST_COMPRESSION: 9,
                        Z_DEFAULT_COMPRESSION: -1,
                        Z_FILTERED: 1,
                        Z_HUFFMAN_ONLY: 2,
                        Z_RLE: 3,
                        Z_FIXED: 4,
                        Z_DEFAULT_STRATEGY: 0,
                        Z_BINARY: 0,
                        Z_TEXT: 1,
                        Z_UNKNOWN: 2,
                        Z_DEFLATED: 8,
                      };
                    },
                    2869: (e) => {
                      "use strict";
                      var a = (function () {
                        for (var e = [], t = 0; t < 256; t++) {
                          for (var r = t, n = 0; n < 8; n++)
                            r = 1 & r ? 3988292384 ^ (r >>> 1) : r >>> 1;
                          e[t] = r;
                        }
                        return e;
                      })();
                      e.exports = function (e, t, r, n) {
                        var i = a,
                          o = n + r;
                        e ^= -1;
                        for (var s = n; s < o; s++)
                          e = (e >>> 8) ^ i[255 & (e ^ t[s])];
                        return -1 ^ e;
                      };
                    },
                    405: (e, t, r) => {
                      "use strict";
                      var a,
                        h = r(4236),
                        c = r(342),
                        p = r(6069),
                        d = r(2869),
                        n = r(8898),
                        u = -2,
                        m = 258,
                        g = 262,
                        l = 113;
                      function f(e, t) {
                        return ((e.msg = n[t]), t);
                      }
                      function v(e) {
                        return (e << 1) - (4 < e ? 9 : 0);
                      }
                      function y(e) {
                        for (var t = e.length; 0 <= --t; ) e[t] = 0;
                      }
                      function b(e) {
                        var t = e.state,
                          r = t.pending;
                        0 !== (r = r > e.avail_out ? e.avail_out : r) &&
                          (h.arraySet(
                            e.output,
                            t.pending_buf,
                            t.pending_out,
                            r,
                            e.next_out,
                          ),
                          (e.next_out += r),
                          (t.pending_out += r),
                          (e.total_out += r),
                          (e.avail_out -= r),
                          (t.pending -= r),
                          0 === t.pending && (t.pending_out = 0));
                      }
                      function w(e, t) {
                        (c._tr_flush_block(
                          e,
                          0 <= e.block_start ? e.block_start : -1,
                          e.strstart - e.block_start,
                          t,
                        ),
                          (e.block_start = e.strstart),
                          b(e.strm));
                      }
                      function x(e, t) {
                        e.pending_buf[e.pending++] = t;
                      }
                      function S(e, t) {
                        ((e.pending_buf[e.pending++] = (t >>> 8) & 255),
                          (e.pending_buf[e.pending++] = 255 & t));
                      }
                      function o(e, t) {
                        var r,
                          n,
                          i = e.max_chain_length,
                          o = e.strstart,
                          s = e.prev_length,
                          a = e.nice_match,
                          c =
                            e.strstart > e.w_size - g
                              ? e.strstart - (e.w_size - g)
                              : 0,
                          l = e.window,
                          u = e.w_mask,
                          h = e.prev,
                          p = e.strstart + m,
                          d = l[o + s - 1],
                          f = l[o + s];
                        (e.prev_length >= e.good_match && (i >>= 2),
                          a > e.lookahead && (a = e.lookahead));
                        do {
                          if (
                            l[(r = t) + s] === f &&
                            l[r + s - 1] === d &&
                            l[r] === l[o] &&
                            l[++r] === l[o + 1]
                          ) {
                            for (
                              o += 2, r++;
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              l[++o] === l[++r] &&
                              o < p;

                            );
                            if (((n = m - (p - o)), (o = p - m), s < n)) {
                              if (((e.match_start = t), a <= (s = n))) break;
                              ((d = l[o + s - 1]), (f = l[o + s]));
                            }
                          }
                        } while ((t = h[t & u]) > c && 0 != --i);
                        return s <= e.lookahead ? s : e.lookahead;
                      }
                      function E(e) {
                        var t,
                          r,
                          n,
                          i,
                          o,
                          s,
                          a,
                          c,
                          l,
                          u = e.w_size;
                        do {
                          if (
                            ((l = e.window_size - e.lookahead - e.strstart),
                            e.strstart >= u + (u - g))
                          ) {
                            for (
                              h.arraySet(e.window, e.window, u, u, 0),
                                e.match_start -= u,
                                e.strstart -= u,
                                e.block_start -= u,
                                t = r = e.hash_size;
                              (n = e.head[--t]),
                                (e.head[t] = u <= n ? n - u : 0),
                                --r;

                            );
                            for (
                              t = r = u;
                              (n = e.prev[--t]),
                                (e.prev[t] = u <= n ? n - u : 0),
                                --r;

                            );
                            l += u;
                          }
                          if (0 === e.strm.avail_in) break;
                          if (
                            ((o = e.strm),
                            (s = e.window),
                            (a = e.strstart + e.lookahead),
                            (c = l),
                            (l = void 0),
                            (r =
                              0 === (l = (l = o.avail_in) > c ? c : l)
                                ? 0
                                : ((o.avail_in -= l),
                                  h.arraySet(s, o.input, o.next_in, l, a),
                                  1 === o.state.wrap
                                    ? (o.adler = p(o.adler, s, l, a))
                                    : 2 === o.state.wrap &&
                                      (o.adler = d(o.adler, s, l, a)),
                                  (o.next_in += l),
                                  (o.total_in += l),
                                  l)),
                            (e.lookahead += r),
                            3 <= e.lookahead + e.insert)
                          )
                            for (
                              i = e.strstart - e.insert,
                                e.ins_h = e.window[i],
                                e.ins_h =
                                  ((e.ins_h << e.hash_shift) ^
                                    e.window[i + 1]) &
                                  e.hash_mask;
                              e.insert &&
                              ((e.ins_h =
                                ((e.ins_h << e.hash_shift) ^
                                  e.window[i + 3 - 1]) &
                                e.hash_mask),
                              (e.prev[i & e.w_mask] = e.head[e.ins_h]),
                              (e.head[e.ins_h] = i),
                              i++,
                              e.insert--,
                              !(e.lookahead + e.insert < 3));

                            );
                        } while (e.lookahead < g && 0 !== e.strm.avail_in);
                      }
                      function i(e, t) {
                        for (var r, n; ; ) {
                          if (e.lookahead < g) {
                            if ((E(e), e.lookahead < g && 0 === t)) return 1;
                            if (0 === e.lookahead) break;
                          }
                          if (
                            ((r = 0),
                            3 <= e.lookahead &&
                              ((e.ins_h =
                                ((e.ins_h << e.hash_shift) ^
                                  e.window[e.strstart + 3 - 1]) &
                                e.hash_mask),
                              (r = e.prev[e.strstart & e.w_mask] =
                                e.head[e.ins_h]),
                              (e.head[e.ins_h] = e.strstart)),
                            0 !== r &&
                              e.strstart - r <= e.w_size - g &&
                              (e.match_length = o(e, r)),
                            3 <= e.match_length)
                          )
                            if (
                              ((n = c._tr_tally(
                                e,
                                e.strstart - e.match_start,
                                e.match_length - 3,
                              )),
                              (e.lookahead -= e.match_length),
                              e.match_length <= e.max_lazy_match &&
                                3 <= e.lookahead)
                            ) {
                              for (
                                e.match_length--;
                                e.strstart++,
                                  (e.ins_h =
                                    ((e.ins_h << e.hash_shift) ^
                                      e.window[e.strstart + 3 - 1]) &
                                    e.hash_mask),
                                  (r = e.prev[e.strstart & e.w_mask] =
                                    e.head[e.ins_h]),
                                  (e.head[e.ins_h] = e.strstart),
                                  0 != --e.match_length;

                              );
                              e.strstart++;
                            } else
                              ((e.strstart += e.match_length),
                                (e.match_length = 0),
                                (e.ins_h = e.window[e.strstart]),
                                (e.ins_h =
                                  ((e.ins_h << e.hash_shift) ^
                                    e.window[e.strstart + 1]) &
                                  e.hash_mask));
                          else
                            ((n = c._tr_tally(e, 0, e.window[e.strstart])),
                              e.lookahead--,
                              e.strstart++);
                          if (n && (w(e, !1), 0 === e.strm.avail_out)) return 1;
                        }
                        return (
                          (e.insert = e.strstart < 2 ? e.strstart : 2),
                          4 === t
                            ? (w(e, !0), 0 === e.strm.avail_out ? 3 : 4)
                            : e.last_lit && (w(e, !1), 0 === e.strm.avail_out)
                              ? 1
                              : 2
                        );
                      }
                      function s(e, t) {
                        for (var r, n, i; ; ) {
                          if (e.lookahead < g) {
                            if ((E(e), e.lookahead < g && 0 === t)) return 1;
                            if (0 === e.lookahead) break;
                          }
                          if (
                            ((r = 0),
                            3 <= e.lookahead &&
                              ((e.ins_h =
                                ((e.ins_h << e.hash_shift) ^
                                  e.window[e.strstart + 3 - 1]) &
                                e.hash_mask),
                              (r = e.prev[e.strstart & e.w_mask] =
                                e.head[e.ins_h]),
                              (e.head[e.ins_h] = e.strstart)),
                            (e.prev_length = e.match_length),
                            (e.prev_match = e.match_start),
                            (e.match_length = 2),
                            0 !== r &&
                              e.prev_length < e.max_lazy_match &&
                              e.strstart - r <= e.w_size - g &&
                              ((e.match_length = o(e, r)),
                              e.match_length <= 5 &&
                                (1 === e.strategy ||
                                  (3 === e.match_length &&
                                    4096 < e.strstart - e.match_start)) &&
                                (e.match_length = 2)),
                            3 <= e.prev_length &&
                              e.match_length <= e.prev_length)
                          ) {
                            for (
                              i = e.strstart + e.lookahead - 3,
                                n = c._tr_tally(
                                  e,
                                  e.strstart - 1 - e.prev_match,
                                  e.prev_length - 3,
                                ),
                                e.lookahead -= e.prev_length - 1,
                                e.prev_length -= 2;
                              ++e.strstart <= i &&
                                ((e.ins_h =
                                  ((e.ins_h << e.hash_shift) ^
                                    e.window[e.strstart + 3 - 1]) &
                                  e.hash_mask),
                                (r = e.prev[e.strstart & e.w_mask] =
                                  e.head[e.ins_h]),
                                (e.head[e.ins_h] = e.strstart)),
                                0 != --e.prev_length;

                            );
                            if (
                              ((e.match_available = 0),
                              (e.match_length = 2),
                              e.strstart++,
                              n && (w(e, !1), 0 === e.strm.avail_out))
                            )
                              return 1;
                          } else if (e.match_available) {
                            if (
                              ((n = c._tr_tally(
                                e,
                                0,
                                e.window[e.strstart - 1],
                              )) && w(e, !1),
                              e.strstart++,
                              e.lookahead--,
                              0 === e.strm.avail_out)
                            )
                              return 1;
                          } else
                            ((e.match_available = 1),
                              e.strstart++,
                              e.lookahead--);
                        }
                        return (
                          e.match_available &&
                            ((n = c._tr_tally(e, 0, e.window[e.strstart - 1])),
                            (e.match_available = 0)),
                          (e.insert = e.strstart < 2 ? e.strstart : 2),
                          4 === t
                            ? (w(e, !0), 0 === e.strm.avail_out ? 3 : 4)
                            : e.last_lit && (w(e, !1), 0 === e.strm.avail_out)
                              ? 1
                              : 2
                        );
                      }
                      function T(e, t, r, n, i) {
                        ((this.good_length = e),
                          (this.max_lazy = t),
                          (this.nice_length = r),
                          (this.max_chain = n),
                          (this.func = i));
                      }
                      function C() {
                        ((this.strm = null),
                          (this.status = 0),
                          (this.pending_buf = null),
                          (this.pending_buf_size = 0),
                          (this.pending_out = 0),
                          (this.pending = 0),
                          (this.wrap = 0),
                          (this.gzhead = null),
                          (this.gzindex = 0),
                          (this.method = 8),
                          (this.last_flush = -1),
                          (this.w_size = 0),
                          (this.w_bits = 0),
                          (this.w_mask = 0),
                          (this.window = null),
                          (this.window_size = 0),
                          (this.prev = null),
                          (this.head = null),
                          (this.ins_h = 0),
                          (this.hash_size = 0),
                          (this.hash_bits = 0),
                          (this.hash_mask = 0),
                          (this.hash_shift = 0),
                          (this.block_start = 0),
                          (this.match_length = 0),
                          (this.prev_match = 0),
                          (this.match_available = 0),
                          (this.strstart = 0),
                          (this.match_start = 0),
                          (this.lookahead = 0),
                          (this.prev_length = 0),
                          (this.max_chain_length = 0),
                          (this.max_lazy_match = 0),
                          (this.level = 0),
                          (this.strategy = 0),
                          (this.good_match = 0),
                          (this.nice_match = 0),
                          (this.dyn_ltree = new h.Buf16(1146)),
                          (this.dyn_dtree = new h.Buf16(122)),
                          (this.bl_tree = new h.Buf16(78)),
                          y(this.dyn_ltree),
                          y(this.dyn_dtree),
                          y(this.bl_tree),
                          (this.l_desc = null),
                          (this.d_desc = null),
                          (this.bl_desc = null),
                          (this.bl_count = new h.Buf16(16)),
                          (this.heap = new h.Buf16(573)),
                          y(this.heap),
                          (this.heap_len = 0),
                          (this.heap_max = 0),
                          (this.depth = new h.Buf16(573)),
                          y(this.depth),
                          (this.l_buf = 0),
                          (this.lit_bufsize = 0),
                          (this.last_lit = 0),
                          (this.d_buf = 0),
                          (this.opt_len = 0),
                          (this.static_len = 0),
                          (this.matches = 0),
                          (this.insert = 0),
                          (this.bi_buf = 0),
                          (this.bi_valid = 0));
                      }
                      function P(e) {
                        var t;
                        return e && e.state
                          ? ((e.total_in = e.total_out = 0),
                            (e.data_type = 2),
                            ((t = e.state).pending = 0),
                            (t.pending_out = 0),
                            t.wrap < 0 && (t.wrap = -t.wrap),
                            (t.status = t.wrap ? 42 : l),
                            (e.adler = 2 === t.wrap ? 0 : 1),
                            (t.last_flush = 0),
                            c._tr_init(t),
                            0)
                          : f(e, u);
                      }
                      function k(e) {
                        var t = P(e);
                        return (
                          0 === t &&
                            (((e = e.state).window_size = 2 * e.w_size),
                            y(e.head),
                            (e.max_lazy_match = a[e.level].max_lazy),
                            (e.good_match = a[e.level].good_length),
                            (e.nice_match = a[e.level].nice_length),
                            (e.max_chain_length = a[e.level].max_chain),
                            (e.strstart = 0),
                            (e.block_start = 0),
                            (e.lookahead = 0),
                            (e.insert = 0),
                            (e.match_length = e.prev_length = 2),
                            (e.match_available = 0),
                            (e.ins_h = 0)),
                          t
                        );
                      }
                      function A(e, t, r, n, i, o) {
                        if (!e) return u;
                        var s = 1;
                        if (
                          (-1 === t && (t = 6),
                          n < 0
                            ? ((s = 0), (n = -n))
                            : 15 < n && ((s = 2), (n -= 16)),
                          i < 1 ||
                            9 < i ||
                            8 !== r ||
                            n < 8 ||
                            15 < n ||
                            t < 0 ||
                            9 < t ||
                            o < 0 ||
                            4 < o)
                        )
                          return f(e, u);
                        8 === n && (n = 9);
                        var a = new C();
                        return (
                          ((e.state = a).strm = e),
                          (a.wrap = s),
                          (a.gzhead = null),
                          (a.w_bits = n),
                          (a.w_size = 1 << a.w_bits),
                          (a.w_mask = a.w_size - 1),
                          (a.hash_bits = i + 7),
                          (a.hash_size = 1 << a.hash_bits),
                          (a.hash_mask = a.hash_size - 1),
                          (a.hash_shift = ~~((a.hash_bits + 3 - 1) / 3)),
                          (a.window = new h.Buf8(2 * a.w_size)),
                          (a.head = new h.Buf16(a.hash_size)),
                          (a.prev = new h.Buf16(a.w_size)),
                          (a.lit_bufsize = 1 << (i + 6)),
                          (a.pending_buf_size = 4 * a.lit_bufsize),
                          (a.pending_buf = new h.Buf8(a.pending_buf_size)),
                          (a.d_buf = +a.lit_bufsize),
                          (a.l_buf = 3 * a.lit_bufsize),
                          (a.level = t),
                          (a.strategy = o),
                          (a.method = r),
                          k(e)
                        );
                      }
                      ((a = [
                        new T(0, 0, 0, 0, function (e, t) {
                          var r = 65535;
                          for (
                            r > e.pending_buf_size - 5 &&
                            (r = e.pending_buf_size - 5);
                            ;

                          ) {
                            if (e.lookahead <= 1) {
                              if ((E(e), 0 === e.lookahead && 0 === t))
                                return 1;
                              if (0 === e.lookahead) break;
                            }
                            ((e.strstart += e.lookahead), (e.lookahead = 0));
                            var n = e.block_start + r;
                            if (
                              (0 === e.strstart || e.strstart >= n) &&
                              ((e.lookahead = e.strstart - n),
                              (e.strstart = n),
                              w(e, !1),
                              0 === e.strm.avail_out)
                            )
                              return 1;
                            if (
                              e.strstart - e.block_start >= e.w_size - g &&
                              (w(e, !1), 0 === e.strm.avail_out)
                            )
                              return 1;
                          }
                          return (
                            (e.insert = 0),
                            4 === t
                              ? (w(e, !0), 0 === e.strm.avail_out ? 3 : 4)
                              : (e.strstart > e.block_start &&
                                  (w(e, !1), e.strm.avail_out),
                                1)
                          );
                        }),
                        new T(4, 4, 8, 4, i),
                        new T(4, 5, 16, 8, i),
                        new T(4, 6, 32, 32, i),
                        new T(4, 4, 16, 16, s),
                        new T(8, 16, 32, 32, s),
                        new T(8, 16, 128, 128, s),
                        new T(8, 32, 128, 256, s),
                        new T(32, 128, 258, 1024, s),
                        new T(32, 258, 258, 4096, s),
                      ]),
                        (t.deflateInit = function (e, t) {
                          return A(e, t, 8, 15, 8, 0);
                        }),
                        (t.deflateInit2 = A),
                        (t.deflateReset = k),
                        (t.deflateResetKeep = P),
                        (t.deflateSetHeader = function (e, t) {
                          return !e || !e.state || 2 !== e.state.wrap
                            ? u
                            : ((e.state.gzhead = t), 0);
                        }),
                        (t.deflate = function (e, t) {
                          var r, n, i, o;
                          if (!e || !e.state || 5 < t || t < 0)
                            return e ? f(e, u) : u;
                          if (
                            ((r = e.state),
                            !e.output ||
                              (!e.input && 0 !== e.avail_in) ||
                              (666 === r.status && 4 !== t))
                          )
                            return f(e, 0 === e.avail_out ? -5 : u);
                          if (
                            ((r.strm = e),
                            (s = r.last_flush),
                            (r.last_flush = t),
                            42 === r.status &&
                              (2 === r.wrap
                                ? ((e.adler = 0),
                                  x(r, 31),
                                  x(r, 139),
                                  x(r, 8),
                                  r.gzhead
                                    ? (x(
                                        r,
                                        (r.gzhead.text ? 1 : 0) +
                                          (r.gzhead.hcrc ? 2 : 0) +
                                          (r.gzhead.extra ? 4 : 0) +
                                          (r.gzhead.name ? 8 : 0) +
                                          (r.gzhead.comment ? 16 : 0),
                                      ),
                                      x(r, 255 & r.gzhead.time),
                                      x(r, (r.gzhead.time >> 8) & 255),
                                      x(r, (r.gzhead.time >> 16) & 255),
                                      x(r, (r.gzhead.time >> 24) & 255),
                                      x(
                                        r,
                                        9 === r.level
                                          ? 2
                                          : 2 <= r.strategy || r.level < 2
                                            ? 4
                                            : 0,
                                      ),
                                      x(r, 255 & r.gzhead.os),
                                      r.gzhead.extra &&
                                        r.gzhead.extra.length &&
                                        (x(r, 255 & r.gzhead.extra.length),
                                        x(
                                          r,
                                          (r.gzhead.extra.length >> 8) & 255,
                                        )),
                                      r.gzhead.hcrc &&
                                        (e.adler = d(
                                          e.adler,
                                          r.pending_buf,
                                          r.pending,
                                          0,
                                        )),
                                      (r.gzindex = 0),
                                      (r.status = 69))
                                    : (x(r, 0),
                                      x(r, 0),
                                      x(r, 0),
                                      x(r, 0),
                                      x(r, 0),
                                      x(
                                        r,
                                        9 === r.level
                                          ? 2
                                          : 2 <= r.strategy || r.level < 2
                                            ? 4
                                            : 0,
                                      ),
                                      x(r, 3),
                                      (r.status = l)))
                                : ((o = (8 + ((r.w_bits - 8) << 4)) << 8),
                                  (o |=
                                    (2 <= r.strategy || r.level < 2
                                      ? 0
                                      : r.level < 6
                                        ? 1
                                        : 6 === r.level
                                          ? 2
                                          : 3) << 6),
                                  0 !== r.strstart && (o |= 32),
                                  (o += 31 - (o % 31)),
                                  (r.status = l),
                                  S(r, o),
                                  0 !== r.strstart &&
                                    (S(r, e.adler >>> 16),
                                    S(r, 65535 & e.adler)),
                                  (e.adler = 1))),
                            69 === r.status)
                          )
                            if (r.gzhead.extra) {
                              for (
                                n = r.pending;
                                r.gzindex < (65535 & r.gzhead.extra.length) &&
                                (r.pending !== r.pending_buf_size ||
                                  (r.gzhead.hcrc &&
                                    r.pending > n &&
                                    (e.adler = d(
                                      e.adler,
                                      r.pending_buf,
                                      r.pending - n,
                                      n,
                                    )),
                                  b(e),
                                  (n = r.pending),
                                  r.pending !== r.pending_buf_size));

                              )
                                (x(r, 255 & r.gzhead.extra[r.gzindex]),
                                  r.gzindex++);
                              (r.gzhead.hcrc &&
                                r.pending > n &&
                                (e.adler = d(
                                  e.adler,
                                  r.pending_buf,
                                  r.pending - n,
                                  n,
                                )),
                                r.gzindex === r.gzhead.extra.length &&
                                  ((r.gzindex = 0), (r.status = 73)));
                            } else r.status = 73;
                          if (73 === r.status)
                            if (r.gzhead.name) {
                              n = r.pending;
                              do {
                                if (
                                  r.pending === r.pending_buf_size &&
                                  (r.gzhead.hcrc &&
                                    r.pending > n &&
                                    (e.adler = d(
                                      e.adler,
                                      r.pending_buf,
                                      r.pending - n,
                                      n,
                                    )),
                                  b(e),
                                  (n = r.pending),
                                  r.pending === r.pending_buf_size)
                                ) {
                                  i = 1;
                                  break;
                                }
                              } while (
                                ((i =
                                  r.gzindex < r.gzhead.name.length
                                    ? 255 &
                                      r.gzhead.name.charCodeAt(r.gzindex++)
                                    : 0),
                                x(r, i),
                                0 !== i)
                              );
                              (r.gzhead.hcrc &&
                                r.pending > n &&
                                (e.adler = d(
                                  e.adler,
                                  r.pending_buf,
                                  r.pending - n,
                                  n,
                                )),
                                0 === i && ((r.gzindex = 0), (r.status = 91)));
                            } else r.status = 91;
                          if (91 === r.status)
                            if (r.gzhead.comment) {
                              n = r.pending;
                              do {
                                if (
                                  r.pending === r.pending_buf_size &&
                                  (r.gzhead.hcrc &&
                                    r.pending > n &&
                                    (e.adler = d(
                                      e.adler,
                                      r.pending_buf,
                                      r.pending - n,
                                      n,
                                    )),
                                  b(e),
                                  (n = r.pending),
                                  r.pending === r.pending_buf_size)
                                ) {
                                  i = 1;
                                  break;
                                }
                              } while (
                                ((i =
                                  r.gzindex < r.gzhead.comment.length
                                    ? 255 &
                                      r.gzhead.comment.charCodeAt(r.gzindex++)
                                    : 0),
                                x(r, i),
                                0 !== i)
                              );
                              (r.gzhead.hcrc &&
                                r.pending > n &&
                                (e.adler = d(
                                  e.adler,
                                  r.pending_buf,
                                  r.pending - n,
                                  n,
                                )),
                                0 === i && (r.status = 103));
                            } else r.status = 103;
                          if (
                            (103 === r.status &&
                              (r.gzhead.hcrc
                                ? (r.pending + 2 > r.pending_buf_size && b(e),
                                  r.pending + 2 <= r.pending_buf_size &&
                                    (x(r, 255 & e.adler),
                                    x(r, (e.adler >> 8) & 255),
                                    (e.adler = 0),
                                    (r.status = l)))
                                : (r.status = l)),
                            0 !== r.pending)
                          ) {
                            if ((b(e), 0 === e.avail_out))
                              return ((r.last_flush = -1), 0);
                          } else if (
                            0 === e.avail_in &&
                            v(t) <= v(s) &&
                            4 !== t
                          )
                            return f(e, -5);
                          if (666 === r.status && 0 !== e.avail_in)
                            return f(e, -5);
                          if (
                            0 !== e.avail_in ||
                            0 !== r.lookahead ||
                            (0 !== t && 666 !== r.status)
                          ) {
                            var s =
                              2 === r.strategy
                                ? (function (e, t) {
                                    for (var r; ; ) {
                                      if (
                                        0 === e.lookahead &&
                                        (E(e), 0 === e.lookahead)
                                      ) {
                                        if (0 === t) return 1;
                                        break;
                                      }
                                      if (
                                        ((e.match_length = 0),
                                        (r = c._tr_tally(
                                          e,
                                          0,
                                          e.window[e.strstart],
                                        )),
                                        e.lookahead--,
                                        e.strstart++,
                                        r && (w(e, !1), 0 === e.strm.avail_out))
                                      )
                                        return 1;
                                    }
                                    return (
                                      (e.insert = 0),
                                      4 === t
                                        ? (w(e, !0),
                                          0 === e.strm.avail_out ? 3 : 4)
                                        : e.last_lit &&
                                            (w(e, !1), 0 === e.strm.avail_out)
                                          ? 1
                                          : 2
                                    );
                                  })(r, t)
                                : 3 === r.strategy
                                  ? (function (e, t) {
                                      for (var r, n, i, o, s = e.window; ; ) {
                                        if (e.lookahead <= m) {
                                          if (
                                            (E(e), e.lookahead <= m && 0 === t)
                                          )
                                            return 1;
                                          if (0 === e.lookahead) break;
                                        }
                                        if (
                                          ((e.match_length = 0),
                                          3 <= e.lookahead &&
                                            0 < e.strstart &&
                                            (n = s[(i = e.strstart - 1)]) ===
                                              s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i])
                                        ) {
                                          for (
                                            o = e.strstart + m;
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            n === s[++i] &&
                                            i < o;

                                          );
                                          ((e.match_length = m - (o - i)),
                                            e.match_length > e.lookahead &&
                                              (e.match_length = e.lookahead));
                                        }
                                        if (
                                          (3 <= e.match_length
                                            ? ((r = c._tr_tally(
                                                e,
                                                1,
                                                e.match_length - 3,
                                              )),
                                              (e.lookahead -= e.match_length),
                                              (e.strstart += e.match_length),
                                              (e.match_length = 0))
                                            : ((r = c._tr_tally(
                                                e,
                                                0,
                                                e.window[e.strstart],
                                              )),
                                              e.lookahead--,
                                              e.strstart++),
                                          r &&
                                            (w(e, !1), 0 === e.strm.avail_out))
                                        )
                                          return 1;
                                      }
                                      return (
                                        (e.insert = 0),
                                        4 === t
                                          ? (w(e, !0),
                                            0 === e.strm.avail_out ? 3 : 4)
                                          : e.last_lit &&
                                              (w(e, !1), 0 === e.strm.avail_out)
                                            ? 1
                                            : 2
                                      );
                                    })(r, t)
                                  : a[r.level].func(r, t);
                            if (
                              ((3 !== s && 4 !== s) || (r.status = 666),
                              1 === s || 3 === s)
                            )
                              return (
                                0 === e.avail_out && (r.last_flush = -1),
                                0
                              );
                            if (
                              2 === s &&
                              (1 === t
                                ? c._tr_align(r)
                                : 5 !== t &&
                                  (c._tr_stored_block(r, 0, 0, !1),
                                  3 === t &&
                                    (y(r.head),
                                    0 === r.lookahead &&
                                      ((r.strstart = 0),
                                      (r.block_start = 0),
                                      (r.insert = 0)))),
                              b(e),
                              0 === e.avail_out)
                            )
                              return ((r.last_flush = -1), 0);
                          }
                          return 4 !== t
                            ? 0
                            : r.wrap <= 0
                              ? 1
                              : (2 === r.wrap
                                  ? (x(r, 255 & e.adler),
                                    x(r, (e.adler >> 8) & 255),
                                    x(r, (e.adler >> 16) & 255),
                                    x(r, (e.adler >> 24) & 255),
                                    x(r, 255 & e.total_in),
                                    x(r, (e.total_in >> 8) & 255),
                                    x(r, (e.total_in >> 16) & 255),
                                    x(r, (e.total_in >> 24) & 255))
                                  : (S(r, e.adler >>> 16),
                                    S(r, 65535 & e.adler)),
                                b(e),
                                0 < r.wrap && (r.wrap = -r.wrap),
                                0 !== r.pending ? 0 : 1);
                        }),
                        (t.deflateEnd = function (e) {
                          var t;
                          return e && e.state
                            ? 42 !== (t = e.state.status) &&
                              69 !== t &&
                              73 !== t &&
                              91 !== t &&
                              103 !== t &&
                              t !== l &&
                              666 !== t
                              ? f(e, u)
                              : ((e.state = null), t === l ? f(e, -3) : 0)
                            : u;
                        }),
                        (t.deflateSetDictionary = function (e, t) {
                          var r,
                            n,
                            i,
                            o,
                            s,
                            a,
                            c,
                            l = t.length;
                          if (!e || !e.state) return u;
                          if (
                            2 === (o = (r = e.state).wrap) ||
                            (1 === o && 42 !== r.status) ||
                            r.lookahead
                          )
                            return u;
                          for (
                            1 === o && (e.adler = p(e.adler, t, l, 0)),
                              r.wrap = 0,
                              l >= r.w_size &&
                                (0 === o &&
                                  (y(r.head),
                                  (r.strstart = 0),
                                  (r.block_start = 0),
                                  (r.insert = 0)),
                                (c = new h.Buf8(r.w_size)),
                                h.arraySet(c, t, l - r.w_size, r.w_size, 0),
                                (t = c),
                                (l = r.w_size)),
                              s = e.avail_in,
                              a = e.next_in,
                              c = e.input,
                              e.avail_in = l,
                              e.next_in = 0,
                              e.input = t,
                              E(r);
                            3 <= r.lookahead;

                          ) {
                            for (
                              n = r.strstart, i = r.lookahead - 2;
                              (r.ins_h =
                                ((r.ins_h << r.hash_shift) ^
                                  r.window[n + 3 - 1]) &
                                r.hash_mask),
                                (r.prev[n & r.w_mask] = r.head[r.ins_h]),
                                (r.head[r.ins_h] = n),
                                n++,
                                --i;

                            );
                            ((r.strstart = n), (r.lookahead = 2), E(r));
                          }
                          return (
                            (r.strstart += r.lookahead),
                            (r.block_start = r.strstart),
                            (r.insert = r.lookahead),
                            (r.lookahead = 0),
                            (r.match_length = r.prev_length = 2),
                            (r.match_available = 0),
                            (e.next_in = a),
                            (e.input = c),
                            (e.avail_in = s),
                            (r.wrap = o),
                            0
                          );
                        }),
                        (t.deflateInfo = "pako deflate (from Nodeca project)"));
                    },
                    2401: (e) => {
                      "use strict";
                      e.exports = function () {
                        ((this.text = 0),
                          (this.time = 0),
                          (this.xflags = 0),
                          (this.os = 0),
                          (this.extra = null),
                          (this.extra_len = 0),
                          (this.name = ""),
                          (this.comment = ""),
                          (this.hcrc = 0),
                          (this.done = !1));
                      };
                    },
                    4264: (e) => {
                      "use strict";
                      e.exports = function (e, t) {
                        var r,
                          n,
                          i,
                          o,
                          s,
                          a,
                          c = e.state,
                          l = e.next_in,
                          u = e.input,
                          h = l + (e.avail_in - 5),
                          p = e.next_out,
                          d = e.output,
                          f = p - (t - e.avail_out),
                          m = p + (e.avail_out - 257),
                          g = c.dmax,
                          v = c.wsize,
                          y = c.whave,
                          b = c.wnext,
                          w = c.window,
                          x = c.hold,
                          S = c.bits,
                          E = c.lencode,
                          T = c.distcode,
                          C = (1 << c.lenbits) - 1,
                          P = (1 << c.distbits) - 1;
                        e: do {
                          for (
                            S < 15 &&
                              ((x += u[l++] << S),
                              (S += 8),
                              (x += u[l++] << S),
                              (S += 8)),
                              r = E[x & C];
                            ;

                          ) {
                            if (
                              ((x >>>= n = r >>> 24),
                              (S -= n),
                              0 == (n = (r >>> 16) & 255))
                            )
                              d[p++] = 65535 & r;
                            else {
                              if (!(16 & n)) {
                                if (0 == (64 & n)) {
                                  r = E[(65535 & r) + (x & ((1 << n) - 1))];
                                  continue;
                                }
                                if (32 & n) {
                                  c.mode = 12;
                                  break e;
                                }
                                ((e.msg = "invalid literal/length code"),
                                  (c.mode = 30));
                                break e;
                              }
                              for (
                                i = 65535 & r,
                                  (n &= 15) &&
                                    (S < n && ((x += u[l++] << S), (S += 8)),
                                    (i += x & ((1 << n) - 1)),
                                    (x >>>= n),
                                    (S -= n)),
                                  S < 15 &&
                                    ((x += u[l++] << S),
                                    (S += 8),
                                    (x += u[l++] << S),
                                    (S += 8)),
                                  r = T[x & P];
                                ;

                              ) {
                                if (
                                  ((x >>>= n = r >>> 24),
                                  (S -= n),
                                  !(16 & (n = (r >>> 16) & 255)))
                                ) {
                                  if (0 == (64 & n)) {
                                    r = T[(65535 & r) + (x & ((1 << n) - 1))];
                                    continue;
                                  }
                                  ((e.msg = "invalid distance code"),
                                    (c.mode = 30));
                                  break e;
                                }
                                if (
                                  ((o = 65535 & r),
                                  S < (n &= 15) &&
                                    ((x += u[l++] << S),
                                    (S += 8) < n &&
                                      ((x += u[l++] << S), (S += 8))),
                                  (o += x & ((1 << n) - 1)) > g)
                                ) {
                                  ((e.msg = "invalid distance too far back"),
                                    (c.mode = 30));
                                  break e;
                                }
                                if (((x >>>= n), (S -= n), o > (n = p - f))) {
                                  if ((n = o - n) > y && c.sane) {
                                    ((e.msg = "invalid distance too far back"),
                                      (c.mode = 30));
                                    break e;
                                  }
                                  if (((a = w), (s = 0) === b)) {
                                    if (((s += v - n), n < i)) {
                                      for (i -= n; (d[p++] = w[s++]), --n; );
                                      ((s = p - o), (a = d));
                                    }
                                  } else if (b < n) {
                                    if (((s += v + b - n), (n -= b) < i)) {
                                      for (i -= n; (d[p++] = w[s++]), --n; );
                                      if (((s = 0), b < i)) {
                                        for (
                                          i -= n = b;
                                          (d[p++] = w[s++]), --n;

                                        );
                                        ((s = p - o), (a = d));
                                      }
                                    }
                                  } else if (((s += b - n), n < i)) {
                                    for (i -= n; (d[p++] = w[s++]), --n; );
                                    ((s = p - o), (a = d));
                                  }
                                  for (; 2 < i; )
                                    ((d[p++] = a[s++]),
                                      (d[p++] = a[s++]),
                                      (d[p++] = a[s++]),
                                      (i -= 3));
                                  i &&
                                    ((d[p++] = a[s++]),
                                    1 < i && (d[p++] = a[s++]));
                                } else {
                                  for (
                                    s = p - o;
                                    (d[p++] = d[s++]),
                                      (d[p++] = d[s++]),
                                      (d[p++] = d[s++]),
                                      2 < (i -= 3);

                                  );
                                  i &&
                                    ((d[p++] = d[s++]),
                                    1 < i && (d[p++] = d[s++]));
                                }
                                break;
                              }
                            }
                            break;
                          }
                        } while (l < h && p < m);
                        ((l -= i = S >> 3),
                          (x &= (1 << (S -= i << 3)) - 1),
                          (e.next_in = l),
                          (e.next_out = p),
                          (e.avail_in = l < h ? h - l + 5 : 5 - (l - h)),
                          (e.avail_out = p < m ? m - p + 257 : 257 - (p - m)),
                          (c.hold = x),
                          (c.bits = S));
                      };
                    },
                    7948: (e, t, r) => {
                      "use strict";
                      var _ = r(4236),
                        I = r(6069),
                        O = r(2869),
                        L = r(4264),
                        H = r(9241),
                        N = -2;
                      function R(e) {
                        return (
                          ((e >>> 24) & 255) +
                          ((e >>> 8) & 65280) +
                          ((65280 & e) << 8) +
                          ((255 & e) << 24)
                        );
                      }
                      function n() {
                        ((this.mode = 0),
                          (this.last = !1),
                          (this.wrap = 0),
                          (this.havedict = !1),
                          (this.flags = 0),
                          (this.dmax = 0),
                          (this.check = 0),
                          (this.total = 0),
                          (this.head = null),
                          (this.wbits = 0),
                          (this.wsize = 0),
                          (this.whave = 0),
                          (this.wnext = 0),
                          (this.window = null),
                          (this.hold = 0),
                          (this.bits = 0),
                          (this.length = 0),
                          (this.offset = 0),
                          (this.extra = 0),
                          (this.lencode = null),
                          (this.distcode = null),
                          (this.lenbits = 0),
                          (this.distbits = 0),
                          (this.ncode = 0),
                          (this.nlen = 0),
                          (this.ndist = 0),
                          (this.have = 0),
                          (this.next = null),
                          (this.lens = new _.Buf16(320)),
                          (this.work = new _.Buf16(288)),
                          (this.lendyn = null),
                          (this.distdyn = null),
                          (this.sane = 0),
                          (this.back = 0),
                          (this.was = 0));
                      }
                      function i(e) {
                        var t;
                        return e && e.state
                          ? ((t = e.state),
                            (e.total_in = e.total_out = t.total = 0),
                            (e.msg = ""),
                            t.wrap && (e.adler = 1 & t.wrap),
                            (t.mode = 1),
                            (t.last = 0),
                            (t.havedict = 0),
                            (t.dmax = 32768),
                            (t.head = null),
                            (t.hold = 0),
                            (t.bits = 0),
                            (t.lencode = t.lendyn = new _.Buf32(852)),
                            (t.distcode = t.distdyn = new _.Buf32(592)),
                            (t.sane = 1),
                            (t.back = -1),
                            0)
                          : N;
                      }
                      function o(e) {
                        var t;
                        return e && e.state
                          ? (((t = e.state).wsize = 0),
                            (t.whave = 0),
                            (t.wnext = 0),
                            i(e))
                          : N;
                      }
                      function s(e, t) {
                        var r, n;
                        return e && e.state
                          ? ((n = e.state),
                            t < 0
                              ? ((r = 0), (t = -t))
                              : ((r = 1 + (t >> 4)), t < 48 && (t &= 15)),
                            t && (t < 8 || 15 < t)
                              ? N
                              : (null !== n.window &&
                                  n.wbits !== t &&
                                  (n.window = null),
                                (n.wrap = r),
                                (n.wbits = t),
                                o(e)))
                          : N;
                      }
                      function a(e, t) {
                        var r;
                        return e
                          ? ((r = new n()),
                            ((e.state = r).window = null),
                            0 !== (t = s(e, t)) && (e.state = null),
                            t)
                          : N;
                      }
                      var D,
                        B,
                        F = !0;
                      function M(e, t, r, n) {
                        var i = e.state;
                        return (
                          null === i.window &&
                            ((i.wsize = 1 << i.wbits),
                            (i.wnext = 0),
                            (i.whave = 0),
                            (i.window = new _.Buf8(i.wsize))),
                          n >= i.wsize
                            ? (_.arraySet(i.window, t, r - i.wsize, i.wsize, 0),
                              (i.wnext = 0),
                              (i.whave = i.wsize))
                            : ((e = i.wsize - i.wnext) > n && (e = n),
                              _.arraySet(i.window, t, r - n, e, i.wnext),
                              (n -= e)
                                ? (_.arraySet(i.window, t, r - n, n, 0),
                                  (i.wnext = n),
                                  (i.whave = i.wsize))
                                : ((i.wnext += e),
                                  i.wnext === i.wsize && (i.wnext = 0),
                                  i.whave < i.wsize && (i.whave += e))),
                          0
                        );
                      }
                      ((t.inflateReset = o),
                        (t.inflateReset2 = s),
                        (t.inflateResetKeep = i),
                        (t.inflateInit = function (e) {
                          return a(e, 15);
                        }),
                        (t.inflateInit2 = a),
                        (t.inflate = function (e, t) {
                          var r,
                            n,
                            i,
                            o,
                            s,
                            a,
                            c,
                            l,
                            u,
                            h,
                            p,
                            d,
                            f,
                            m,
                            g,
                            v,
                            y,
                            b,
                            w,
                            x,
                            S,
                            E,
                            T,
                            C,
                            P = 0,
                            k = new _.Buf8(4),
                            A = [
                              16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3,
                              13, 2, 14, 1, 15,
                            ];
                          if (
                            !e ||
                            !e.state ||
                            !e.output ||
                            (!e.input && 0 !== e.avail_in)
                          )
                            return N;
                          (12 === (r = e.state).mode && (r.mode = 13),
                            (s = e.next_out),
                            (i = e.output),
                            (c = e.avail_out),
                            (o = e.next_in),
                            (n = e.input),
                            (a = e.avail_in),
                            (l = r.hold),
                            (u = r.bits),
                            (h = a),
                            (p = c),
                            (E = 0));
                          e: for (;;)
                            switch (r.mode) {
                              case 1:
                                if (0 === r.wrap) {
                                  r.mode = 13;
                                  break;
                                }
                                for (; u < 16; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                if (2 & r.wrap && 35615 === l) {
                                  ((k[(r.check = 0)] = 255 & l),
                                    (k[1] = (l >>> 8) & 255),
                                    (r.check = O(r.check, k, 2, 0)),
                                    (u = l = 0),
                                    (r.mode = 2));
                                  break;
                                }
                                if (
                                  ((r.flags = 0),
                                  r.head && (r.head.done = !1),
                                  !(1 & r.wrap) ||
                                    (((255 & l) << 8) + (l >> 8)) % 31)
                                ) {
                                  ((e.msg = "incorrect header check"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (8 != (15 & l)) {
                                  ((e.msg = "unknown compression method"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (
                                  ((u -= 4),
                                  (S = 8 + (15 & (l >>>= 4))),
                                  0 === r.wbits)
                                )
                                  r.wbits = S;
                                else if (S > r.wbits) {
                                  ((e.msg = "invalid window size"),
                                    (r.mode = 30));
                                  break;
                                }
                                ((r.dmax = 1 << S),
                                  (e.adler = r.check = 1),
                                  (r.mode = 512 & l ? 10 : 12),
                                  (u = l = 0));
                                break;
                              case 2:
                                for (; u < 16; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                if (((r.flags = l), 8 != (255 & r.flags))) {
                                  ((e.msg = "unknown compression method"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (57344 & r.flags) {
                                  ((e.msg = "unknown header flags set"),
                                    (r.mode = 30));
                                  break;
                                }
                                (r.head && (r.head.text = (l >> 8) & 1),
                                  512 & r.flags &&
                                    ((k[0] = 255 & l),
                                    (k[1] = (l >>> 8) & 255),
                                    (r.check = O(r.check, k, 2, 0))),
                                  (u = l = 0),
                                  (r.mode = 3));
                              case 3:
                                for (; u < 32; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                (r.head && (r.head.time = l),
                                  512 & r.flags &&
                                    ((k[0] = 255 & l),
                                    (k[1] = (l >>> 8) & 255),
                                    (k[2] = (l >>> 16) & 255),
                                    (k[3] = (l >>> 24) & 255),
                                    (r.check = O(r.check, k, 4, 0))),
                                  (u = l = 0),
                                  (r.mode = 4));
                              case 4:
                                for (; u < 16; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                (r.head &&
                                  ((r.head.xflags = 255 & l),
                                  (r.head.os = l >> 8)),
                                  512 & r.flags &&
                                    ((k[0] = 255 & l),
                                    (k[1] = (l >>> 8) & 255),
                                    (r.check = O(r.check, k, 2, 0))),
                                  (u = l = 0),
                                  (r.mode = 5));
                              case 5:
                                if (1024 & r.flags) {
                                  for (; u < 16; ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  ((r.length = l),
                                    r.head && (r.head.extra_len = l),
                                    512 & r.flags &&
                                      ((k[0] = 255 & l),
                                      (k[1] = (l >>> 8) & 255),
                                      (r.check = O(r.check, k, 2, 0))),
                                    (u = l = 0));
                                } else r.head && (r.head.extra = null);
                                r.mode = 6;
                              case 6:
                                if (
                                  1024 & r.flags &&
                                  ((d = (d = r.length) > a ? a : d) &&
                                    (r.head &&
                                      ((S = r.head.extra_len - r.length),
                                      r.head.extra ||
                                        (r.head.extra = new Array(
                                          r.head.extra_len,
                                        )),
                                      _.arraySet(r.head.extra, n, o, d, S)),
                                    512 & r.flags &&
                                      (r.check = O(r.check, n, d, o)),
                                    (a -= d),
                                    (o += d),
                                    (r.length -= d)),
                                  r.length)
                                )
                                  break e;
                                ((r.length = 0), (r.mode = 7));
                              case 7:
                                if (2048 & r.flags) {
                                  if (0 === a) break e;
                                  for (
                                    d = 0;
                                    (S = n[o + d++]),
                                      r.head &&
                                        S &&
                                        r.length < 65536 &&
                                        (r.head.name += String.fromCharCode(S)),
                                      S && d < a;

                                  );
                                  if (
                                    (512 & r.flags &&
                                      (r.check = O(r.check, n, d, o)),
                                    (a -= d),
                                    (o += d),
                                    S)
                                  )
                                    break e;
                                } else r.head && (r.head.name = null);
                                ((r.length = 0), (r.mode = 8));
                              case 8:
                                if (4096 & r.flags) {
                                  if (0 === a) break e;
                                  for (
                                    d = 0;
                                    (S = n[o + d++]),
                                      r.head &&
                                        S &&
                                        r.length < 65536 &&
                                        (r.head.comment +=
                                          String.fromCharCode(S)),
                                      S && d < a;

                                  );
                                  if (
                                    (512 & r.flags &&
                                      (r.check = O(r.check, n, d, o)),
                                    (a -= d),
                                    (o += d),
                                    S)
                                  )
                                    break e;
                                } else r.head && (r.head.comment = null);
                                r.mode = 9;
                              case 9:
                                if (512 & r.flags) {
                                  for (; u < 16; ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  if (l !== (65535 & r.check)) {
                                    ((e.msg = "header crc mismatch"),
                                      (r.mode = 30));
                                    break;
                                  }
                                  u = l = 0;
                                }
                                (r.head &&
                                  ((r.head.hcrc = (r.flags >> 9) & 1),
                                  (r.head.done = !0)),
                                  (e.adler = r.check = 0),
                                  (r.mode = 12));
                                break;
                              case 10:
                                for (; u < 32; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                ((e.adler = r.check = R(l)),
                                  (u = l = 0),
                                  (r.mode = 11));
                              case 11:
                                if (0 === r.havedict)
                                  return (
                                    (e.next_out = s),
                                    (e.avail_out = c),
                                    (e.next_in = o),
                                    (e.avail_in = a),
                                    (r.hold = l),
                                    (r.bits = u),
                                    2
                                  );
                                ((e.adler = r.check = 1), (r.mode = 12));
                              case 12:
                                if (5 === t || 6 === t) break e;
                              case 13:
                                if (r.last) {
                                  ((l >>>= 7 & u), (u -= 7 & u), (r.mode = 27));
                                  break;
                                }
                                for (; u < 3; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                switch (
                                  ((r.last = 1 & l), --u, 3 & (l >>>= 1))
                                ) {
                                  case 0:
                                    r.mode = 14;
                                    break;
                                  case 1:
                                    if (
                                      ((function (e) {
                                        if (F) {
                                          var t;
                                          for (
                                            D = new _.Buf32(512),
                                              B = new _.Buf32(32),
                                              t = 0;
                                            t < 144;

                                          )
                                            e.lens[t++] = 8;
                                          for (; t < 256; ) e.lens[t++] = 9;
                                          for (; t < 280; ) e.lens[t++] = 7;
                                          for (; t < 288; ) e.lens[t++] = 8;
                                          for (
                                            H(1, e.lens, 0, 288, D, 0, e.work, {
                                              bits: 9,
                                            }),
                                              t = 0;
                                            t < 32;

                                          )
                                            e.lens[t++] = 5;
                                          (H(2, e.lens, 0, 32, B, 0, e.work, {
                                            bits: 5,
                                          }),
                                            (F = !1));
                                        }
                                        ((e.lencode = D),
                                          (e.lenbits = 9),
                                          (e.distcode = B),
                                          (e.distbits = 5));
                                      })(r),
                                      (r.mode = 20),
                                      6 !== t)
                                    )
                                      break;
                                    ((l >>>= 2), (u -= 2));
                                    break e;
                                  case 2:
                                    r.mode = 17;
                                    break;
                                  case 3:
                                    ((e.msg = "invalid block type"),
                                      (r.mode = 30));
                                }
                                ((l >>>= 2), (u -= 2));
                                break;
                              case 14:
                                for (l >>>= 7 & u, u -= 7 & u; u < 32; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                if ((65535 & l) != ((l >>> 16) ^ 65535)) {
                                  ((e.msg = "invalid stored block lengths"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (
                                  ((r.length = 65535 & l),
                                  (u = l = 0),
                                  (r.mode = 15),
                                  6 === t)
                                )
                                  break e;
                              case 15:
                                r.mode = 16;
                              case 16:
                                if ((d = r.length)) {
                                  if (
                                    0 === (d = c < (d = a < d ? a : d) ? c : d)
                                  )
                                    break e;
                                  (_.arraySet(i, n, o, d, s),
                                    (a -= d),
                                    (o += d),
                                    (c -= d),
                                    (s += d),
                                    (r.length -= d));
                                  break;
                                }
                                r.mode = 12;
                                break;
                              case 17:
                                for (; u < 14; ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                if (
                                  ((r.nlen = 257 + (31 & l)),
                                  (l >>>= 5),
                                  (u -= 5),
                                  (r.ndist = 1 + (31 & l)),
                                  (l >>>= 5),
                                  (u -= 5),
                                  (r.ncode = 4 + (15 & l)),
                                  (l >>>= 4),
                                  (u -= 4),
                                  286 < r.nlen || 30 < r.ndist)
                                ) {
                                  ((e.msg =
                                    "too many length or distance symbols"),
                                    (r.mode = 30));
                                  break;
                                }
                                ((r.have = 0), (r.mode = 18));
                              case 18:
                                for (; r.have < r.ncode; ) {
                                  for (; u < 3; ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  ((r.lens[A[r.have++]] = 7 & l),
                                    (l >>>= 3),
                                    (u -= 3));
                                }
                                for (; r.have < 19; ) r.lens[A[r.have++]] = 0;
                                if (
                                  ((r.lencode = r.lendyn),
                                  (r.lenbits = 7),
                                  (T = { bits: r.lenbits }),
                                  (E = H(
                                    0,
                                    r.lens,
                                    0,
                                    19,
                                    r.lencode,
                                    0,
                                    r.work,
                                    T,
                                  )),
                                  (r.lenbits = T.bits),
                                  E)
                                ) {
                                  ((e.msg = "invalid code lengths set"),
                                    (r.mode = 30));
                                  break;
                                }
                                ((r.have = 0), (r.mode = 19));
                              case 19:
                                for (; r.have < r.nlen + r.ndist; ) {
                                  for (
                                    ;
                                    (v =
                                      ((P =
                                        r.lencode[
                                          l & ((1 << r.lenbits) - 1)
                                        ]) >>>
                                        16) &
                                      255),
                                      (y = 65535 & P),
                                      !((g = P >>> 24) <= u);

                                  ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  if (y < 16)
                                    ((l >>>= g),
                                      (u -= g),
                                      (r.lens[r.have++] = y));
                                  else {
                                    if (16 === y) {
                                      for (C = g + 2; u < C; ) {
                                        if (0 === a) break e;
                                        (a--, (l += n[o++] << u), (u += 8));
                                      }
                                      if (
                                        ((l >>>= g), (u -= g), 0 === r.have)
                                      ) {
                                        ((e.msg = "invalid bit length repeat"),
                                          (r.mode = 30));
                                        break;
                                      }
                                      ((S = r.lens[r.have - 1]),
                                        (d = 3 + (3 & l)),
                                        (l >>>= 2),
                                        (u -= 2));
                                    } else if (17 === y) {
                                      for (C = g + 3; u < C; ) {
                                        if (0 === a) break e;
                                        (a--, (l += n[o++] << u), (u += 8));
                                      }
                                      ((u -= g),
                                        (S = 0),
                                        (d = 3 + (7 & (l >>>= g))),
                                        (l >>>= 3),
                                        (u -= 3));
                                    } else {
                                      for (C = g + 7; u < C; ) {
                                        if (0 === a) break e;
                                        (a--, (l += n[o++] << u), (u += 8));
                                      }
                                      ((u -= g),
                                        (S = 0),
                                        (d = 11 + (127 & (l >>>= g))),
                                        (l >>>= 7),
                                        (u -= 7));
                                    }
                                    if (r.have + d > r.nlen + r.ndist) {
                                      ((e.msg = "invalid bit length repeat"),
                                        (r.mode = 30));
                                      break;
                                    }
                                    for (; d--; ) r.lens[r.have++] = S;
                                  }
                                }
                                if (30 === r.mode) break;
                                if (0 === r.lens[256]) {
                                  ((e.msg =
                                    "invalid code -- missing end-of-block"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (
                                  ((r.lenbits = 9),
                                  (T = { bits: r.lenbits }),
                                  (E = H(
                                    1,
                                    r.lens,
                                    0,
                                    r.nlen,
                                    r.lencode,
                                    0,
                                    r.work,
                                    T,
                                  )),
                                  (r.lenbits = T.bits),
                                  E)
                                ) {
                                  ((e.msg = "invalid literal/lengths set"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (
                                  ((r.distbits = 6),
                                  (r.distcode = r.distdyn),
                                  (T = { bits: r.distbits }),
                                  (E = H(
                                    2,
                                    r.lens,
                                    r.nlen,
                                    r.ndist,
                                    r.distcode,
                                    0,
                                    r.work,
                                    T,
                                  )),
                                  (r.distbits = T.bits),
                                  E)
                                ) {
                                  ((e.msg = "invalid distances set"),
                                    (r.mode = 30));
                                  break;
                                }
                                if (((r.mode = 20), 6 === t)) break e;
                              case 20:
                                r.mode = 21;
                              case 21:
                                if (6 <= a && 258 <= c) {
                                  ((e.next_out = s),
                                    (e.avail_out = c),
                                    (e.next_in = o),
                                    (e.avail_in = a),
                                    (r.hold = l),
                                    (r.bits = u),
                                    L(e, p),
                                    (s = e.next_out),
                                    (i = e.output),
                                    (c = e.avail_out),
                                    (o = e.next_in),
                                    (n = e.input),
                                    (a = e.avail_in),
                                    (l = r.hold),
                                    (u = r.bits),
                                    12 === r.mode && (r.back = -1));
                                  break;
                                }
                                for (
                                  r.back = 0;
                                  (v =
                                    ((P =
                                      r.lencode[l & ((1 << r.lenbits) - 1)]) >>>
                                      16) &
                                    255),
                                    (y = 65535 & P),
                                    !((g = P >>> 24) <= u);

                                ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                if (v && 0 == (240 & v)) {
                                  for (
                                    b = g, w = v, x = y;
                                    (v =
                                      ((P =
                                        r.lencode[
                                          x + ((l & ((1 << (b + w)) - 1)) >> b)
                                        ]) >>>
                                        16) &
                                      255),
                                      (y = 65535 & P),
                                      !(b + (g = P >>> 24) <= u);

                                  ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  ((l >>>= b), (u -= b), (r.back += b));
                                }
                                if (
                                  ((l >>>= g),
                                  (u -= g),
                                  (r.back += g),
                                  (r.length = y),
                                  0 === v)
                                ) {
                                  r.mode = 26;
                                  break;
                                }
                                if (32 & v) {
                                  ((r.back = -1), (r.mode = 12));
                                  break;
                                }
                                if (64 & v) {
                                  ((e.msg = "invalid literal/length code"),
                                    (r.mode = 30));
                                  break;
                                }
                                ((r.extra = 15 & v), (r.mode = 22));
                              case 22:
                                if (r.extra) {
                                  for (C = r.extra; u < C; ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  ((r.length += l & ((1 << r.extra) - 1)),
                                    (l >>>= r.extra),
                                    (u -= r.extra),
                                    (r.back += r.extra));
                                }
                                ((r.was = r.length), (r.mode = 23));
                              case 23:
                                for (
                                  ;
                                  (v =
                                    ((P =
                                      r.distcode[
                                        l & ((1 << r.distbits) - 1)
                                      ]) >>>
                                      16) &
                                    255),
                                    (y = 65535 & P),
                                    !((g = P >>> 24) <= u);

                                ) {
                                  if (0 === a) break e;
                                  (a--, (l += n[o++] << u), (u += 8));
                                }
                                if (0 == (240 & v)) {
                                  for (
                                    b = g, w = v, x = y;
                                    (v =
                                      ((P =
                                        r.distcode[
                                          x + ((l & ((1 << (b + w)) - 1)) >> b)
                                        ]) >>>
                                        16) &
                                      255),
                                      (y = 65535 & P),
                                      !(b + (g = P >>> 24) <= u);

                                  ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  ((l >>>= b), (u -= b), (r.back += b));
                                }
                                if (
                                  ((l >>>= g), (u -= g), (r.back += g), 64 & v)
                                ) {
                                  ((e.msg = "invalid distance code"),
                                    (r.mode = 30));
                                  break;
                                }
                                ((r.offset = y),
                                  (r.extra = 15 & v),
                                  (r.mode = 24));
                              case 24:
                                if (r.extra) {
                                  for (C = r.extra; u < C; ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  ((r.offset += l & ((1 << r.extra) - 1)),
                                    (l >>>= r.extra),
                                    (u -= r.extra),
                                    (r.back += r.extra));
                                }
                                if (r.offset > r.dmax) {
                                  ((e.msg = "invalid distance too far back"),
                                    (r.mode = 30));
                                  break;
                                }
                                r.mode = 25;
                              case 25:
                                if (0 === c) break e;
                                if (r.offset > (d = p - c)) {
                                  if ((d = r.offset - d) > r.whave && r.sane) {
                                    ((e.msg = "invalid distance too far back"),
                                      (r.mode = 30));
                                    break;
                                  }
                                  ((f =
                                    d > r.wnext
                                      ? ((d -= r.wnext), r.wsize - d)
                                      : r.wnext - d),
                                    d > r.length && (d = r.length),
                                    (m = r.window));
                                } else
                                  ((m = i), (f = s - r.offset), (d = r.length));
                                for (
                                  c -= d = c < d ? c : d, r.length -= d;
                                  (i[s++] = m[f++]), --d;

                                );
                                0 === r.length && (r.mode = 21);
                                break;
                              case 26:
                                if (0 === c) break e;
                                ((i[s++] = r.length), c--, (r.mode = 21));
                                break;
                              case 27:
                                if (r.wrap) {
                                  for (; u < 32; ) {
                                    if (0 === a) break e;
                                    (a--, (l |= n[o++] << u), (u += 8));
                                  }
                                  if (
                                    ((p -= c),
                                    (e.total_out += p),
                                    (r.total += p),
                                    p &&
                                      (e.adler = r.check =
                                        (r.flags ? O : I)(
                                          r.check,
                                          i,
                                          p,
                                          s - p,
                                        )),
                                    (p = c),
                                    (r.flags ? l : R(l)) !== r.check)
                                  ) {
                                    ((e.msg = "incorrect data check"),
                                      (r.mode = 30));
                                    break;
                                  }
                                  u = l = 0;
                                }
                                r.mode = 28;
                              case 28:
                                if (r.wrap && r.flags) {
                                  for (; u < 32; ) {
                                    if (0 === a) break e;
                                    (a--, (l += n[o++] << u), (u += 8));
                                  }
                                  if (l !== (4294967295 & r.total)) {
                                    ((e.msg = "incorrect length check"),
                                      (r.mode = 30));
                                    break;
                                  }
                                  u = l = 0;
                                }
                                r.mode = 29;
                              case 29:
                                E = 1;
                                break e;
                              case 30:
                                E = -3;
                                break e;
                              case 31:
                                return -4;
                              default:
                                return N;
                            }
                          return (
                            (e.next_out = s),
                            (e.avail_out = c),
                            (e.next_in = o),
                            (e.avail_in = a),
                            (r.hold = l),
                            (r.bits = u),
                            (r.wsize ||
                              (p !== e.avail_out &&
                                r.mode < 30 &&
                                (r.mode < 27 || 4 !== t))) &&
                            M(e, e.output, e.next_out, p - e.avail_out)
                              ? ((r.mode = 31), -4)
                              : ((h -= e.avail_in),
                                (p -= e.avail_out),
                                (e.total_in += h),
                                (e.total_out += p),
                                (r.total += p),
                                r.wrap &&
                                  p &&
                                  (e.adler = r.check =
                                    (r.flags ? O : I)(
                                      r.check,
                                      i,
                                      p,
                                      e.next_out - p,
                                    )),
                                (e.data_type =
                                  r.bits +
                                  (r.last ? 64 : 0) +
                                  (12 === r.mode ? 128 : 0) +
                                  (20 === r.mode || 15 === r.mode ? 256 : 0)),
                                (E =
                                  ((0 == h && 0 === p) || 4 === t) && 0 === E
                                    ? -5
                                    : E))
                          );
                        }),
                        (t.inflateEnd = function (e) {
                          if (!e || !e.state) return N;
                          var t = e.state;
                          return (
                            t.window && (t.window = null),
                            (e.state = null),
                            0
                          );
                        }),
                        (t.inflateGetHeader = function (e, t) {
                          var r;
                          return !e || !e.state || 0 == (2 & (r = e.state).wrap)
                            ? N
                            : (((r.head = t).done = !1), 0);
                        }),
                        (t.inflateSetDictionary = function (e, t) {
                          var r,
                            n = t.length;
                          return !e ||
                            !e.state ||
                            (0 !== (r = e.state).wrap && 11 !== r.mode)
                            ? N
                            : 11 === r.mode && I(1, t, n, 0) !== r.check
                              ? -3
                              : M(e, t, n, n)
                                ? ((r.mode = 31), -4)
                                : ((r.havedict = 1), 0);
                        }),
                        (t.inflateInfo = "pako inflate (from Nodeca project)"));
                    },
                    9241: (e, t, r) => {
                      "use strict";
                      var N = r(4236),
                        R = [
                          3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27,
                          31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195,
                          227, 258, 0, 0,
                        ],
                        D = [
                          16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18,
                          18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21,
                          21, 21, 16, 72, 78,
                        ],
                        B = [
                          1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129,
                          193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097,
                          6145, 8193, 12289, 16385, 24577, 0, 0,
                        ],
                        F = [
                          16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21,
                          21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,
                          28, 28, 29, 29, 64, 64,
                        ];
                      e.exports = function (e, t, r, n, i, o, s, a) {
                        for (
                          var c,
                            l,
                            u,
                            h,
                            p,
                            d,
                            f,
                            m,
                            g,
                            v = a.bits,
                            y = 0,
                            b = 0,
                            w = 0,
                            x = 0,
                            S = 0,
                            E = 0,
                            T = 0,
                            C = 0,
                            P = 0,
                            k = 0,
                            A = null,
                            _ = 0,
                            I = new N.Buf16(16),
                            O = new N.Buf16(16),
                            L = null,
                            H = 0,
                            y = 0;
                          y <= 15;
                          y++
                        )
                          I[y] = 0;
                        for (b = 0; b < n; b++) I[t[r + b]]++;
                        for (S = v, x = 15; 1 <= x && 0 === I[x]; x--);
                        if ((x < S && (S = x), 0 === x))
                          return (
                            (i[o++] = 20971520),
                            (i[o++] = 20971520),
                            (a.bits = 1),
                            0
                          );
                        for (w = 1; w < x && 0 === I[w]; w++);
                        for (S < w && (S = w), y = C = 1; y <= 15; y++)
                          if (((C <<= 1), (C -= I[y]) < 0)) return -1;
                        if (0 < C && (0 === e || 1 !== x)) return -1;
                        for (O[1] = 0, y = 1; y < 15; y++)
                          O[y + 1] = O[y] + I[y];
                        for (b = 0; b < n; b++)
                          0 !== t[r + b] && (s[O[t[r + b]]++] = b);
                        if (
                          ((d =
                            0 === e
                              ? ((A = L = s), 19)
                              : 1 === e
                                ? ((A = R),
                                  (_ -= 257),
                                  (L = D),
                                  (H -= 257),
                                  256)
                                : ((A = B), (L = F), -1)),
                          (y = w),
                          (p = o),
                          (T = b = k = 0),
                          (u = -1),
                          (h = (P = 1 << (E = S)) - 1),
                          (1 === e && 852 < P) || (2 === e && 592 < P))
                        )
                          return 1;
                        for (;;) {
                          for (
                            g =
                              s[b] < d
                                ? ((m = 0), s[b])
                                : s[b] > d
                                  ? ((m = L[H + s[b]]), A[_ + s[b]])
                                  : ((m = 96), 0),
                              c = 1 << (f = y - T),
                              w = l = 1 << E;
                            (i[p + (k >> T) + (l -= c)] =
                              (f << 24) | (m << 16) | g | 0),
                              0 !== l;

                          );
                          for (c = 1 << (y - 1); k & c; ) c >>= 1;
                          if (
                            (0 !== c ? ((k &= c - 1), (k += c)) : (k = 0),
                            b++,
                            0 == --I[y])
                          ) {
                            if (y === x) break;
                            y = t[r + s[b]];
                          }
                          if (S < y && (k & h) !== u) {
                            for (
                              p += w, C = 1 << (E = y - (T = 0 === T ? S : T));
                              E + T < x && !((C -= I[E + T]) <= 0);

                            )
                              (E++, (C <<= 1));
                            if (
                              ((P += 1 << E),
                              (1 === e && 852 < P) || (2 === e && 592 < P))
                            )
                              return 1;
                            i[(u = k & h)] =
                              (S << 24) | (E << 16) | (p - o) | 0;
                          }
                        }
                        return (
                          0 !== k &&
                            (i[p + k] = ((y - T) << 24) | (64 << 16) | 0),
                          (a.bits = S),
                          0
                        );
                      };
                    },
                    8898: (e) => {
                      "use strict";
                      e.exports = {
                        2: "need dictionary",
                        1: "stream end",
                        0: "",
                        "-1": "file error",
                        "-2": "stream error",
                        "-3": "data error",
                        "-4": "insufficient memory",
                        "-5": "buffer error",
                        "-6": "incompatible version",
                      };
                    },
                    342: (e, t, r) => {
                      "use strict";
                      var i = r(4236);
                      function n(e) {
                        for (var t = e.length; 0 <= --t; ) e[t] = 0;
                      }
                      var c = [
                          0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3,
                          3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0,
                        ],
                        l = [
                          0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7,
                          8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13,
                        ],
                        s = [
                          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3,
                          7,
                        ],
                        a = [
                          16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2,
                          14, 1, 15,
                        ],
                        u = new Array(576);
                      n(u);
                      var h = new Array(60);
                      n(h);
                      var p = new Array(512);
                      n(p);
                      var d = new Array(256);
                      n(d);
                      var f = new Array(29);
                      n(f);
                      var m,
                        g,
                        v,
                        y = new Array(30);
                      function b(e, t, r, n, i) {
                        ((this.static_tree = e),
                          (this.extra_bits = t),
                          (this.extra_base = r),
                          (this.elems = n),
                          (this.max_length = i),
                          (this.has_stree = e && e.length));
                      }
                      function o(e, t) {
                        ((this.dyn_tree = e),
                          (this.max_code = 0),
                          (this.stat_desc = t));
                      }
                      function w(e) {
                        return e < 256 ? p[e] : p[256 + (e >>> 7)];
                      }
                      function x(e, t) {
                        ((e.pending_buf[e.pending++] = 255 & t),
                          (e.pending_buf[e.pending++] = (t >>> 8) & 255));
                      }
                      function S(e, t, r) {
                        e.bi_valid > 16 - r
                          ? ((e.bi_buf |= (t << e.bi_valid) & 65535),
                            x(e, e.bi_buf),
                            (e.bi_buf = t >> (16 - e.bi_valid)),
                            (e.bi_valid += r - 16))
                          : ((e.bi_buf |= (t << e.bi_valid) & 65535),
                            (e.bi_valid += r));
                      }
                      function E(e, t, r) {
                        S(e, r[2 * t], r[2 * t + 1]);
                      }
                      function T(e, t) {
                        for (
                          var r = 0;
                          (r |= 1 & e), (e >>>= 1), (r <<= 1), 0 < --t;

                        );
                        return r >>> 1;
                      }
                      function C(e, t, r) {
                        for (
                          var n, i = new Array(16), o = 0, s = 1;
                          s <= 15;
                          s++
                        )
                          i[s] = o = (o + r[s - 1]) << 1;
                        for (n = 0; n <= t; n++) {
                          var a = e[2 * n + 1];
                          0 !== a && (e[2 * n] = T(i[a]++, a));
                        }
                      }
                      function P(e) {
                        for (var t = 0; t < 286; t++) e.dyn_ltree[2 * t] = 0;
                        for (t = 0; t < 30; t++) e.dyn_dtree[2 * t] = 0;
                        for (t = 0; t < 19; t++) e.bl_tree[2 * t] = 0;
                        ((e.dyn_ltree[512] = 1),
                          (e.opt_len = e.static_len = 0),
                          (e.last_lit = e.matches = 0));
                      }
                      function k(e) {
                        (8 < e.bi_valid
                          ? x(e, e.bi_buf)
                          : 0 < e.bi_valid &&
                            (e.pending_buf[e.pending++] = e.bi_buf),
                          (e.bi_buf = 0),
                          (e.bi_valid = 0));
                      }
                      function A(e, t, r, n) {
                        var i = 2 * t,
                          o = 2 * r;
                        return e[i] < e[o] || (e[i] === e[o] && n[t] <= n[r]);
                      }
                      function _(e, t, r) {
                        for (
                          var n = e.heap[r], i = r << 1;
                          i <= e.heap_len &&
                          (i < e.heap_len &&
                            A(t, e.heap[i + 1], e.heap[i], e.depth) &&
                            i++,
                          !A(t, n, e.heap[i], e.depth));

                        )
                          ((e.heap[r] = e.heap[i]), (r = i), (i <<= 1));
                        e.heap[r] = n;
                      }
                      function I(e, t, r) {
                        var n,
                          i,
                          o,
                          s,
                          a = 0;
                        if (0 !== e.last_lit)
                          for (
                            ;
                            (n =
                              (e.pending_buf[e.d_buf + 2 * a] << 8) |
                              e.pending_buf[e.d_buf + 2 * a + 1]),
                              (i = e.pending_buf[e.l_buf + a]),
                              a++,
                              0 == n
                                ? E(e, i, t)
                                : (E(e, (o = d[i]) + 256 + 1, t),
                                  0 !== (s = c[o]) && S(e, (i -= f[o]), s),
                                  E(e, (o = w(--n)), r),
                                  0 !== (s = l[o]) && S(e, (n -= y[o]), s)),
                              a < e.last_lit;

                          );
                        E(e, 256, t);
                      }
                      function O(e, m) {
                        var t,
                          r,
                          n,
                          i = m.dyn_tree,
                          o = m.stat_desc.static_tree,
                          s = m.stat_desc.has_stree,
                          a = m.stat_desc.elems,
                          c = -1;
                        for (
                          e.heap_len = 0, e.heap_max = 573, t = 0;
                          t < a;
                          t++
                        )
                          0 !== i[2 * t]
                            ? ((e.heap[++e.heap_len] = c = t), (e.depth[t] = 0))
                            : (i[2 * t + 1] = 0);
                        for (; e.heap_len < 2; )
                          ((i[
                            2 * (n = e.heap[++e.heap_len] = c < 2 ? ++c : 0)
                          ] = 1),
                            (e.depth[n] = 0),
                            e.opt_len--,
                            s && (e.static_len -= o[2 * n + 1]));
                        for (m.max_code = c, t = e.heap_len >> 1; 1 <= t; t--)
                          _(e, i, t);
                        for (
                          n = a;
                          (t = e.heap[1]),
                            (e.heap[1] = e.heap[e.heap_len--]),
                            _(e, i, 1),
                            (r = e.heap[1]),
                            (e.heap[--e.heap_max] = t),
                            (e.heap[--e.heap_max] = r),
                            (i[2 * n] = i[2 * t] + i[2 * r]),
                            (e.depth[n] =
                              (e.depth[t] >= e.depth[r]
                                ? e.depth[t]
                                : e.depth[r]) + 1),
                            (i[2 * t + 1] = i[2 * r + 1] = n),
                            (e.heap[1] = n++),
                            _(e, i, 1),
                            2 <= e.heap_len;

                        );
                        ((e.heap[--e.heap_max] = e.heap[1]),
                          (function (e) {
                            for (
                              var t,
                                r,
                                n,
                                i,
                                o,
                                s = m.dyn_tree,
                                a = m.max_code,
                                c = m.stat_desc.static_tree,
                                l = m.stat_desc.has_stree,
                                u = m.stat_desc.extra_bits,
                                h = m.stat_desc.extra_base,
                                p = m.stat_desc.max_length,
                                d = 0,
                                f = 0;
                              f <= 15;
                              f++
                            )
                              e.bl_count[f] = 0;
                            for (
                              s[2 * e.heap[e.heap_max] + 1] = 0,
                                t = e.heap_max + 1;
                              t < 573;
                              t++
                            )
                              ((f = s[2 * s[2 * (r = e.heap[t]) + 1] + 1] + 1) >
                                p && ((f = p), d++),
                                (s[2 * r + 1] = f),
                                a < r ||
                                  (e.bl_count[f]++,
                                  (i = 0),
                                  h <= r && (i = u[r - h]),
                                  (o = s[2 * r]),
                                  (e.opt_len += o * (f + i)),
                                  l &&
                                    (e.static_len += o * (c[2 * r + 1] + i))));
                            if (0 !== d) {
                              do {
                                for (f = p - 1; 0 === e.bl_count[f]; ) f--;
                              } while (
                                (e.bl_count[f]--,
                                (e.bl_count[f + 1] += 2),
                                e.bl_count[p]--,
                                0 < (d -= 2))
                              );
                              for (f = p; 0 !== f; f--)
                                for (r = e.bl_count[f]; 0 !== r; )
                                  (n = e.heap[--t]) > a ||
                                    (s[2 * n + 1] !== f &&
                                      ((e.opt_len +=
                                        (f - s[2 * n + 1]) * s[2 * n]),
                                      (s[2 * n + 1] = f)),
                                    r--);
                            }
                          })(e),
                          C(i, c, e.bl_count));
                      }
                      function L(e, t, r) {
                        var n,
                          i,
                          o = -1,
                          s = t[1],
                          a = 0,
                          c = 7,
                          l = 4;
                        for (
                          0 === s && ((c = 138), (l = 3)),
                            t[2 * (r + 1) + 1] = 65535,
                            n = 0;
                          n <= r;
                          n++
                        )
                          ((i = s),
                            (s = t[2 * (n + 1) + 1]),
                            (++a < c && i === s) ||
                              (a < l
                                ? (e.bl_tree[2 * i] += a)
                                : 0 !== i
                                  ? (i !== o && e.bl_tree[2 * i]++,
                                    e.bl_tree[32]++)
                                  : a <= 10
                                    ? e.bl_tree[34]++
                                    : e.bl_tree[36]++,
                              (o = i),
                              (l =
                                (a = 0) === s
                                  ? ((c = 138), 3)
                                  : i === s
                                    ? ((c = 6), 3)
                                    : ((c = 7), 4))));
                      }
                      function H(e, t, r) {
                        var n,
                          i,
                          o = -1,
                          s = t[1],
                          a = 0,
                          c = 7,
                          l = 4;
                        for (
                          0 === s && ((c = 138), (l = 3)), n = 0;
                          n <= r;
                          n++
                        )
                          if (
                            ((i = s),
                            (s = t[2 * (n + 1) + 1]),
                            !(++a < c && i === s))
                          ) {
                            if (a < l) for (; E(e, i, e.bl_tree), 0 != --a; );
                            else
                              0 !== i
                                ? (i !== o && (E(e, i, e.bl_tree), a--),
                                  E(e, 16, e.bl_tree),
                                  S(e, a - 3, 2))
                                : a <= 10
                                  ? (E(e, 17, e.bl_tree), S(e, a - 3, 3))
                                  : (E(e, 18, e.bl_tree), S(e, a - 11, 7));
                            ((o = i),
                              (l =
                                (a = 0) === s
                                  ? ((c = 138), 3)
                                  : i === s
                                    ? ((c = 6), 3)
                                    : ((c = 7), 4)));
                          }
                      }
                      n(y);
                      var N = !1;
                      function R(e, t, r, n) {
                        (S(e, 0 + (n ? 1 : 0), 3),
                          (t = t),
                          (r = r),
                          k((e = e)),
                          x(e, r),
                          x(e, ~r),
                          i.arraySet(e.pending_buf, e.window, t, r, e.pending),
                          (e.pending += r));
                      }
                      ((t._tr_init = function (e) {
                        (N ||
                          ((function () {
                            for (
                              var e, t, r, n = new Array(16), i = 0, o = 0;
                              o < 28;
                              o++
                            )
                              for (f[o] = i, e = 0; e < 1 << c[o]; e++)
                                d[i++] = o;
                            for (d[i - 1] = o, o = r = 0; o < 16; o++)
                              for (y[o] = r, e = 0; e < 1 << l[o]; e++)
                                p[r++] = o;
                            for (r >>= 7; o < 30; o++)
                              for (
                                y[o] = r << 7, e = 0;
                                e < 1 << (l[o] - 7);
                                e++
                              )
                                p[256 + r++] = o;
                            for (t = 0; t <= 15; t++) n[t] = 0;
                            for (e = 0; e <= 143; )
                              ((u[2 * e + 1] = 8), e++, n[8]++);
                            for (; e <= 255; )
                              ((u[2 * e + 1] = 9), e++, n[9]++);
                            for (; e <= 279; )
                              ((u[2 * e + 1] = 7), e++, n[7]++);
                            for (; e <= 287; )
                              ((u[2 * e + 1] = 8), e++, n[8]++);
                            for (C(u, 287, n), e = 0; e < 30; e++)
                              ((h[2 * e + 1] = 5), (h[2 * e] = T(e, 5)));
                            ((m = new b(u, c, 257, 286, 15)),
                              (g = new b(h, l, 0, 30, 15)),
                              (v = new b(new Array(0), s, 0, 19, 7)));
                          })(),
                          (N = !0)),
                          (e.l_desc = new o(e.dyn_ltree, m)),
                          (e.d_desc = new o(e.dyn_dtree, g)),
                          (e.bl_desc = new o(e.bl_tree, v)),
                          (e.bi_buf = 0),
                          (e.bi_valid = 0),
                          P(e));
                      }),
                        (t._tr_stored_block = R),
                        (t._tr_flush_block = function (e, t, r, n) {
                          var i,
                            o,
                            s = 0;
                          (0 < e.level
                            ? (2 === e.strm.data_type &&
                                (e.strm.data_type = (function (e) {
                                  for (
                                    var t = 4093624447, r = 0;
                                    r <= 31;
                                    r++, t >>>= 1
                                  )
                                    if (1 & t && 0 !== e.dyn_ltree[2 * r])
                                      return 0;
                                  if (
                                    0 !== e.dyn_ltree[18] ||
                                    0 !== e.dyn_ltree[20] ||
                                    0 !== e.dyn_ltree[26]
                                  )
                                    return 1;
                                  for (r = 32; r < 256; r++)
                                    if (0 !== e.dyn_ltree[2 * r]) return 1;
                                  return 0;
                                })(e)),
                              O(e, e.l_desc),
                              O(e, e.d_desc),
                              (s = (function (e) {
                                var t;
                                for (
                                  L(e, e.dyn_ltree, e.l_desc.max_code),
                                    L(e, e.dyn_dtree, e.d_desc.max_code),
                                    O(e, e.bl_desc),
                                    t = 18;
                                  3 <= t && 0 === e.bl_tree[2 * a[t] + 1];
                                  t--
                                );
                                return (
                                  (e.opt_len += 3 * (t + 1) + 5 + 5 + 4),
                                  t
                                );
                              })(e)),
                              (i = (e.opt_len + 3 + 7) >>> 3),
                              (o = (e.static_len + 3 + 7) >>> 3) <= i &&
                                (i = o))
                            : (i = o = r + 5),
                            r + 4 <= i && -1 !== t
                              ? R(e, t, r, n)
                              : 4 === e.strategy || o === i
                                ? (S(e, 2 + (n ? 1 : 0), 3), I(e, u, h))
                                : (S(e, 4 + (n ? 1 : 0), 3),
                                  (function (e, t, r, n) {
                                    var i;
                                    for (
                                      S(e, t - 257, 5),
                                        S(e, r - 1, 5),
                                        S(e, n - 4, 4),
                                        i = 0;
                                      i < n;
                                      i++
                                    )
                                      S(e, e.bl_tree[2 * a[i] + 1], 3);
                                    (H(e, e.dyn_ltree, t - 1),
                                      H(e, e.dyn_dtree, r - 1));
                                  })(
                                    e,
                                    e.l_desc.max_code + 1,
                                    e.d_desc.max_code + 1,
                                    s + 1,
                                  ),
                                  I(e, e.dyn_ltree, e.dyn_dtree)),
                            P(e),
                            n && k(e));
                        }),
                        (t._tr_tally = function (e, t, r) {
                          return (
                            (e.pending_buf[e.d_buf + 2 * e.last_lit] =
                              (t >>> 8) & 255),
                            (e.pending_buf[e.d_buf + 2 * e.last_lit + 1] =
                              255 & t),
                            (e.pending_buf[e.l_buf + e.last_lit] = 255 & r),
                            e.last_lit++,
                            0 === t
                              ? e.dyn_ltree[2 * r]++
                              : (e.matches++,
                                t--,
                                e.dyn_ltree[2 * (d[r] + 256 + 1)]++,
                                e.dyn_dtree[2 * w(t)]++),
                            e.last_lit === e.lit_bufsize - 1
                          );
                        }),
                        (t._tr_align = function (e) {
                          (S(e, 2, 3),
                            E(e, 256, u),
                            16 === (e = e).bi_valid
                              ? (x(e, e.bi_buf),
                                (e.bi_buf = 0),
                                (e.bi_valid = 0))
                              : 8 <= e.bi_valid &&
                                ((e.pending_buf[e.pending++] = 255 & e.bi_buf),
                                (e.bi_buf >>= 8),
                                (e.bi_valid -= 8)));
                        }));
                    },
                    2292: (e) => {
                      "use strict";
                      e.exports = function () {
                        ((this.input = null),
                          (this.next_in = 0),
                          (this.avail_in = 0),
                          (this.total_in = 0),
                          (this.output = null),
                          (this.next_out = 0),
                          (this.avail_out = 0),
                          (this.total_out = 0),
                          (this.msg = ""),
                          (this.state = null),
                          (this.data_type = 2),
                          (this.adler = 0));
                      };
                    },
                    4155: (e) => {
                      var r,
                        n,
                        e = (e.exports = {});
                      function i() {
                        throw new Error("setTimeout has not been defined");
                      }
                      function o() {
                        throw new Error("clearTimeout has not been defined");
                      }
                      function s(t) {
                        if (r === setTimeout) return setTimeout(t, 0);
                        if ((r === i || !r) && setTimeout)
                          return ((r = setTimeout), setTimeout(t, 0));
                        try {
                          return r(t, 0);
                        } catch (e) {
                          try {
                            return r.call(null, t, 0);
                          } catch (e) {
                            return r.call(this, t, 0);
                          }
                        }
                      }
                      !(function () {
                        try {
                          r = "function" == typeof setTimeout ? setTimeout : i;
                        } catch (e) {
                          r = i;
                        }
                        try {
                          n =
                            "function" == typeof clearTimeout
                              ? clearTimeout
                              : o;
                        } catch (e) {
                          n = o;
                        }
                      })();
                      var a,
                        c = [],
                        l = !1,
                        u = -1;
                      function h() {
                        l &&
                          a &&
                          ((l = !1),
                          a.length ? (c = a.concat(c)) : (u = -1),
                          c.length && p());
                      }
                      function p() {
                        if (!l) {
                          var e = s(h);
                          l = !0;
                          for (var t = c.length; t; ) {
                            for (a = c, c = []; ++u < t; ) a && a[u].run();
                            ((u = -1), (t = c.length));
                          }
                          ((a = null),
                            (l = !1),
                            (function (t) {
                              if (n === clearTimeout) return clearTimeout(t);
                              if ((n === o || !n) && clearTimeout)
                                return ((n = clearTimeout), clearTimeout(t));
                              try {
                                n(t);
                              } catch (e) {
                                try {
                                  return n.call(null, t);
                                } catch (e) {
                                  return n.call(this, t);
                                }
                              }
                            })(e));
                        }
                      }
                      function d(e, t) {
                        ((this.fun = e), (this.array = t));
                      }
                      function t() {}
                      ((e.nextTick = function (e) {
                        var t = new Array(arguments.length - 1);
                        if (1 < arguments.length)
                          for (var r = 1; r < arguments.length; r++)
                            t[r - 1] = arguments[r];
                        (c.push(new d(e, t)), 1 !== c.length || l || s(p));
                      }),
                        (d.prototype.run = function () {
                          this.fun.apply(null, this.array);
                        }),
                        (e.title = "browser"),
                        (e.browser = !0),
                        (e.env = {}),
                        (e.argv = []),
                        (e.version = ""),
                        (e.versions = {}),
                        (e.on = t),
                        (e.addListener = t),
                        (e.once = t),
                        (e.off = t),
                        (e.removeListener = t),
                        (e.removeAllListeners = t),
                        (e.emit = t),
                        (e.prependListener = t),
                        (e.prependOnceListener = t),
                        (e.listeners = function (e) {
                          return [];
                        }),
                        (e.binding = function (e) {
                          throw new Error("process.binding is not supported");
                        }),
                        (e.cwd = function () {
                          return "/";
                        }),
                        (e.chdir = function (e) {
                          throw new Error("process.chdir is not supported");
                        }),
                        (e.umask = function () {
                          return 0;
                        }));
                    },
                    9509: (e, t, r) => {
                      var n = r(8764),
                        i = n.Buffer;
                      function o(e, t) {
                        for (var r in e) t[r] = e[r];
                      }
                      function s(e, t, r) {
                        return i(e, t, r);
                      }
                      (i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow
                        ? (e.exports = n)
                        : (o(n, t), (t.Buffer = s)),
                        o(i, s),
                        (s.from = function (e, t, r) {
                          if ("number" == typeof e)
                            throw new TypeError(
                              "Argument must not be a number",
                            );
                          return i(e, t, r);
                        }),
                        (s.alloc = function (e, t, r) {
                          if ("number" != typeof e)
                            throw new TypeError("Argument must be a number");
                          e = i(e);
                          return (
                            void 0 !== t
                              ? "string" == typeof r
                                ? e.fill(t, r)
                                : e.fill(t)
                              : e.fill(0),
                            e
                          );
                        }),
                        (s.allocUnsafe = function (e) {
                          if ("number" != typeof e)
                            throw new TypeError("Argument must be a number");
                          return i(e);
                        }),
                        (s.allocUnsafeSlow = function (e) {
                          if ("number" != typeof e)
                            throw new TypeError("Argument must be a number");
                          return n.SlowBuffer(e);
                        }));
                    },
                    6099: (e, t, r) => {
                      !(function (h) {
                        ((h.parser = function (e, t) {
                          return new i(e, t);
                        }),
                          (h.SAXParser = i),
                          (h.SAXStream = s),
                          (h.createStream = function (e, t) {
                            return new s(e, t);
                          }),
                          (h.MAX_BUFFER_LENGTH = 65536));
                        var n,
                          p = [
                            "comment",
                            "sgmlDecl",
                            "textNode",
                            "tagName",
                            "doctype",
                            "procInstName",
                            "procInstBody",
                            "entity",
                            "attribName",
                            "attribValue",
                            "cdata",
                            "script",
                          ];
                        function i(e, t) {
                          if (!(this instanceof i)) return new i(e, t);
                          var r = this;
                          (!(function (e) {
                            for (var t = 0, r = p.length; t < r; t++)
                              e[p[t]] = "";
                          })(r),
                            (r.q = r.c = ""),
                            (r.bufferCheckPosition = h.MAX_BUFFER_LENGTH),
                            (r.opt = t || {}),
                            (r.opt.lowercase =
                              r.opt.lowercase || r.opt.lowercasetags),
                            (r.looseCase = r.opt.lowercase
                              ? "toLowerCase"
                              : "toUpperCase"),
                            (r.tags = []),
                            (r.closed = r.closedRoot = r.sawRoot = !1),
                            (r.tag = r.error = null),
                            (r.strict = !!e),
                            (r.noscript = !(!e && !r.opt.noscript)),
                            (r.state = x.BEGIN),
                            (r.strictEntities = r.opt.strictEntities),
                            (r.ENTITIES = r.strictEntities
                              ? Object.create(h.XML_ENTITIES)
                              : Object.create(h.ENTITIES)),
                            (r.attribList = []),
                            r.opt.xmlns && (r.ns = Object.create(l)),
                            (r.trackPosition = !1 !== r.opt.position),
                            r.trackPosition &&
                              (r.position = r.line = r.column = 0),
                            S(r, "onready"));
                        }
                        ((h.EVENTS = [
                          "text",
                          "processinginstruction",
                          "sgmldeclaration",
                          "doctype",
                          "comment",
                          "opentagstart",
                          "attribute",
                          "opentag",
                          "closetag",
                          "opencdata",
                          "cdata",
                          "closecdata",
                          "error",
                          "end",
                          "ready",
                          "script",
                          "opennamespace",
                          "closenamespace",
                        ]),
                          Object.create ||
                            (Object.create = function (e) {
                              function t() {}
                              return ((t.prototype = e), new t());
                            }),
                          Object.keys ||
                            (Object.keys = function (e) {
                              var t,
                                r = [];
                              for (t in e) e.hasOwnProperty(t) && r.push(t);
                              return r;
                            }),
                          (i.prototype = {
                            end: function () {
                              k(this);
                            },
                            write: function (e) {
                              var t = this;
                              if (this.error) throw this.error;
                              if (t.closed)
                                return P(
                                  t,
                                  "Cannot write after close. Assign an onready handler.",
                                );
                              if (null === e) return k(t);
                              "object" == typeof e && (e = e.toString());
                              for (
                                var r, n, i, o, s, a, c = 0, l = "";
                                (l = N(e, c++)), (t.c = l);

                              )
                                switch (
                                  (t.trackPosition &&
                                    (t.position++,
                                    "\n" === l
                                      ? (t.line++, (t.column = 0))
                                      : t.column++),
                                  t.state)
                                ) {
                                  case x.BEGIN:
                                    if (
                                      ((t.state = x.BEGIN_WHITESPACE),
                                      "\ufeff" === l)
                                    )
                                      continue;
                                    H(t, l);
                                    continue;
                                  case x.BEGIN_WHITESPACE:
                                    H(t, l);
                                    continue;
                                  case x.TEXT:
                                    if (t.sawRoot && !t.closedRoot) {
                                      for (
                                        var u = c - 1;
                                        l && "<" !== l && "&" !== l;

                                      )
                                        (l = N(e, c++)) &&
                                          t.trackPosition &&
                                          (t.position++,
                                          "\n" === l
                                            ? (t.line++, (t.column = 0))
                                            : t.column++);
                                      t.textNode += e.substring(u, c - 1);
                                    }
                                    "<" !== l ||
                                    (t.sawRoot && t.closedRoot && !t.strict)
                                      ? (v(l) ||
                                          (t.sawRoot && !t.closedRoot) ||
                                          A(
                                            t,
                                            "Text data outside of root node.",
                                          ),
                                        "&" === l
                                          ? (t.state = x.TEXT_ENTITY)
                                          : (t.textNode += l))
                                      : ((t.state = x.OPEN_WAKA),
                                        (t.startTagPosition = t.position));
                                    continue;
                                  case x.SCRIPT:
                                    "<" === l
                                      ? (t.state = x.SCRIPT_ENDING)
                                      : (t.script += l);
                                    continue;
                                  case x.SCRIPT_ENDING:
                                    "/" === l
                                      ? (t.state = x.CLOSE_TAG)
                                      : ((t.script += "<" + l),
                                        (t.state = x.SCRIPT));
                                    continue;
                                  case x.OPEN_WAKA:
                                    "!" === l
                                      ? ((t.state = x.SGML_DECL),
                                        (t.sgmlDecl = ""))
                                      : v(l) ||
                                        (b(d, l)
                                          ? ((t.state = x.OPEN_TAG),
                                            (t.tagName = l))
                                          : "/" === l
                                            ? ((t.state = x.CLOSE_TAG),
                                              (t.tagName = ""))
                                            : "?" === l
                                              ? ((t.state = x.PROC_INST),
                                                (t.procInstName =
                                                  t.procInstBody =
                                                    ""))
                                              : (A(t, "Unencoded <"),
                                                t.startTagPosition + 1 <
                                                  t.position &&
                                                  ((s =
                                                    t.position -
                                                    t.startTagPosition),
                                                  (l =
                                                    new Array(s).join(" ") +
                                                    l)),
                                                (t.textNode += "<" + l),
                                                (t.state = x.TEXT)));
                                    continue;
                                  case x.SGML_DECL:
                                    "[CDATA[" === (t.sgmlDecl + l).toUpperCase()
                                      ? (E(t, "onopencdata"),
                                        (t.state = x.CDATA),
                                        (t.sgmlDecl = ""),
                                        (t.cdata = ""))
                                      : t.sgmlDecl + l === "--"
                                        ? ((t.state = x.COMMENT),
                                          (t.comment = ""),
                                          (t.sgmlDecl = ""))
                                        : "DOCTYPE" ===
                                            (t.sgmlDecl + l).toUpperCase()
                                          ? ((t.state = x.DOCTYPE),
                                            (t.doctype || t.sawRoot) &&
                                              A(
                                                t,
                                                "Inappropriately located doctype declaration",
                                              ),
                                            (t.doctype = ""),
                                            (t.sgmlDecl = ""))
                                          : ">" === l
                                            ? (E(
                                                t,
                                                "onsgmldeclaration",
                                                t.sgmlDecl,
                                              ),
                                              (t.sgmlDecl = ""),
                                              (t.state = x.TEXT))
                                            : (y(l) &&
                                                (t.state = x.SGML_DECL_QUOTED),
                                              (t.sgmlDecl += l));
                                    continue;
                                  case x.SGML_DECL_QUOTED:
                                    (l === t.q &&
                                      ((t.state = x.SGML_DECL), (t.q = "")),
                                      (t.sgmlDecl += l));
                                    continue;
                                  case x.DOCTYPE:
                                    ">" === l
                                      ? ((t.state = x.TEXT),
                                        E(t, "ondoctype", t.doctype),
                                        (t.doctype = !0))
                                      : ((t.doctype += l),
                                        "[" === l
                                          ? (t.state = x.DOCTYPE_DTD)
                                          : y(l) &&
                                            ((t.state = x.DOCTYPE_QUOTED),
                                            (t.q = l)));
                                    continue;
                                  case x.DOCTYPE_QUOTED:
                                    ((t.doctype += l),
                                      l === t.q &&
                                        ((t.q = ""), (t.state = x.DOCTYPE)));
                                    continue;
                                  case x.DOCTYPE_DTD:
                                    ((t.doctype += l),
                                      "]" === l
                                        ? (t.state = x.DOCTYPE)
                                        : y(l) &&
                                          ((t.state = x.DOCTYPE_DTD_QUOTED),
                                          (t.q = l)));
                                    continue;
                                  case x.DOCTYPE_DTD_QUOTED:
                                    ((t.doctype += l),
                                      l === t.q &&
                                        ((t.state = x.DOCTYPE_DTD),
                                        (t.q = "")));
                                    continue;
                                  case x.COMMENT:
                                    "-" === l
                                      ? (t.state = x.COMMENT_ENDING)
                                      : (t.comment += l);
                                    continue;
                                  case x.COMMENT_ENDING:
                                    "-" === l
                                      ? ((t.state = x.COMMENT_ENDED),
                                        (t.comment = C(t.opt, t.comment)),
                                        t.comment &&
                                          E(t, "oncomment", t.comment),
                                        (t.comment = ""))
                                      : ((t.comment += "-" + l),
                                        (t.state = x.COMMENT));
                                    continue;
                                  case x.COMMENT_ENDED:
                                    ">" !== l
                                      ? (A(t, "Malformed comment"),
                                        (t.comment += "--" + l),
                                        (t.state = x.COMMENT))
                                      : (t.state = x.TEXT);
                                    continue;
                                  case x.CDATA:
                                    "]" === l
                                      ? (t.state = x.CDATA_ENDING)
                                      : (t.cdata += l);
                                    continue;
                                  case x.CDATA_ENDING:
                                    "]" === l
                                      ? (t.state = x.CDATA_ENDING_2)
                                      : ((t.cdata += "]" + l),
                                        (t.state = x.CDATA));
                                    continue;
                                  case x.CDATA_ENDING_2:
                                    ">" === l
                                      ? (t.cdata && E(t, "oncdata", t.cdata),
                                        E(t, "onclosecdata"),
                                        (t.cdata = ""),
                                        (t.state = x.TEXT))
                                      : "]" === l
                                        ? (t.cdata += "]")
                                        : ((t.cdata += "]]" + l),
                                          (t.state = x.CDATA));
                                    continue;
                                  case x.PROC_INST:
                                    "?" === l
                                      ? (t.state = x.PROC_INST_ENDING)
                                      : v(l)
                                        ? (t.state = x.PROC_INST_BODY)
                                        : (t.procInstName += l);
                                    continue;
                                  case x.PROC_INST_BODY:
                                    if (!t.procInstBody && v(l)) continue;
                                    "?" === l
                                      ? (t.state = x.PROC_INST_ENDING)
                                      : (t.procInstBody += l);
                                    continue;
                                  case x.PROC_INST_ENDING:
                                    ">" === l
                                      ? (E(t, "onprocessinginstruction", {
                                          name: t.procInstName,
                                          body: t.procInstBody,
                                        }),
                                        (t.procInstName = t.procInstBody = ""),
                                        (t.state = x.TEXT))
                                      : ((t.procInstBody += "?" + l),
                                        (t.state = x.PROC_INST_BODY));
                                    continue;
                                  case x.OPEN_TAG:
                                    b(f, l)
                                      ? (t.tagName += l)
                                      : ((function (e) {
                                          e.strict ||
                                            (e.tagName =
                                              e.tagName[e.looseCase]());
                                          var t =
                                              e.tags[e.tags.length - 1] || e,
                                            r = (e.tag = {
                                              name: e.tagName,
                                              attributes: {},
                                            });
                                          (e.opt.xmlns && (r.ns = t.ns),
                                            (e.attribList.length = 0),
                                            E(e, "onopentagstart", r));
                                        })(t),
                                        ">" === l
                                          ? O(t)
                                          : "/" === l
                                            ? (t.state = x.OPEN_TAG_SLASH)
                                            : (v(l) ||
                                                A(
                                                  t,
                                                  "Invalid character in tag name",
                                                ),
                                              (t.state = x.ATTRIB)));
                                    continue;
                                  case x.OPEN_TAG_SLASH:
                                    ">" === l
                                      ? (O(t, !0), L(t))
                                      : (A(
                                          t,
                                          "Forward-slash in opening tag not followed by >",
                                        ),
                                        (t.state = x.ATTRIB));
                                    continue;
                                  case x.ATTRIB:
                                    if (v(l)) continue;
                                    ">" === l
                                      ? O(t)
                                      : "/" === l
                                        ? (t.state = x.OPEN_TAG_SLASH)
                                        : b(d, l)
                                          ? ((t.attribName = l),
                                            (t.attribValue = ""),
                                            (t.state = x.ATTRIB_NAME))
                                          : A(t, "Invalid attribute name");
                                    continue;
                                  case x.ATTRIB_NAME:
                                    "=" === l
                                      ? (t.state = x.ATTRIB_VALUE)
                                      : ">" === l
                                        ? (A(t, "Attribute without value"),
                                          (t.attribValue = t.attribName),
                                          I(t),
                                          O(t))
                                        : v(l)
                                          ? (t.state = x.ATTRIB_NAME_SAW_WHITE)
                                          : b(f, l)
                                            ? (t.attribName += l)
                                            : A(t, "Invalid attribute name");
                                    continue;
                                  case x.ATTRIB_NAME_SAW_WHITE:
                                    if ("=" === l) t.state = x.ATTRIB_VALUE;
                                    else {
                                      if (v(l)) continue;
                                      (A(t, "Attribute without value"),
                                        (t.tag.attributes[t.attribName] = ""),
                                        (t.attribValue = ""),
                                        E(t, "onattribute", {
                                          name: t.attribName,
                                          value: "",
                                        }),
                                        (t.attribName = ""),
                                        ">" === l
                                          ? O(t)
                                          : b(d, l)
                                            ? ((t.attribName = l),
                                              (t.state = x.ATTRIB_NAME))
                                            : (A(t, "Invalid attribute name"),
                                              (t.state = x.ATTRIB)));
                                    }
                                    continue;
                                  case x.ATTRIB_VALUE:
                                    if (v(l)) continue;
                                    y(l)
                                      ? ((t.q = l),
                                        (t.state = x.ATTRIB_VALUE_QUOTED))
                                      : (A(t, "Unquoted attribute value"),
                                        (t.state = x.ATTRIB_VALUE_UNQUOTED),
                                        (t.attribValue = l));
                                    continue;
                                  case x.ATTRIB_VALUE_QUOTED:
                                    if (l !== t.q) {
                                      "&" === l
                                        ? (t.state = x.ATTRIB_VALUE_ENTITY_Q)
                                        : (t.attribValue += l);
                                      continue;
                                    }
                                    (I(t),
                                      (t.q = ""),
                                      (t.state = x.ATTRIB_VALUE_CLOSED));
                                    continue;
                                  case x.ATTRIB_VALUE_CLOSED:
                                    v(l)
                                      ? (t.state = x.ATTRIB)
                                      : ">" === l
                                        ? O(t)
                                        : "/" === l
                                          ? (t.state = x.OPEN_TAG_SLASH)
                                          : b(d, l)
                                            ? (A(
                                                t,
                                                "No whitespace between attributes",
                                              ),
                                              (t.attribName = l),
                                              (t.attribValue = ""),
                                              (t.state = x.ATTRIB_NAME))
                                            : A(t, "Invalid attribute name");
                                    continue;
                                  case x.ATTRIB_VALUE_UNQUOTED:
                                    if (">" !== (a = l) && !v(a)) {
                                      "&" === l
                                        ? (t.state = x.ATTRIB_VALUE_ENTITY_U)
                                        : (t.attribValue += l);
                                      continue;
                                    }
                                    (I(t),
                                      ">" === l ? O(t) : (t.state = x.ATTRIB));
                                    continue;
                                  case x.CLOSE_TAG:
                                    if (t.tagName)
                                      ">" === l
                                        ? L(t)
                                        : b(f, l)
                                          ? (t.tagName += l)
                                          : t.script
                                            ? ((t.script += "</" + t.tagName),
                                              (t.tagName = ""),
                                              (t.state = x.SCRIPT))
                                            : (v(l) ||
                                                A(
                                                  t,
                                                  "Invalid tagname in closing tag",
                                                ),
                                              (t.state =
                                                x.CLOSE_TAG_SAW_WHITE));
                                    else {
                                      if (v(l)) continue;
                                      b(d, l)
                                        ? (t.tagName = l)
                                        : t.script
                                          ? ((t.script += "</" + l),
                                            (t.state = x.SCRIPT))
                                          : A(
                                              t,
                                              "Invalid tagname in closing tag.",
                                            );
                                    }
                                    continue;
                                  case x.CLOSE_TAG_SAW_WHITE:
                                    if (v(l)) continue;
                                    ">" === l
                                      ? L(t)
                                      : A(
                                          t,
                                          "Invalid characters in closing tag",
                                        );
                                    continue;
                                  case x.TEXT_ENTITY:
                                  case x.ATTRIB_VALUE_ENTITY_Q:
                                  case x.ATTRIB_VALUE_ENTITY_U:
                                    switch (t.state) {
                                      case x.TEXT_ENTITY:
                                        ((r = x.TEXT), (n = "textNode"));
                                        break;
                                      case x.ATTRIB_VALUE_ENTITY_Q:
                                        ((r = x.ATTRIB_VALUE_QUOTED),
                                          (n = "attribValue"));
                                        break;
                                      case x.ATTRIB_VALUE_ENTITY_U:
                                        ((r = x.ATTRIB_VALUE_UNQUOTED),
                                          (n = "attribValue"));
                                    }
                                    ";" === l
                                      ? ((t[n] +=
                                          ((s = u = o = i = void 0),
                                          (o = (a = t).entity),
                                          (u = o.toLowerCase()),
                                          (s = ""),
                                          a.ENTITIES[o] ||
                                            a.ENTITIES[u] ||
                                            ("#" === (o = u).charAt(0) &&
                                              (s =
                                                "x" === o.charAt(1)
                                                  ? ((o = o.slice(2)),
                                                    (i = parseInt(
                                                      o,
                                                      16,
                                                    )).toString(16))
                                                  : ((o = o.slice(1)),
                                                    (i = parseInt(
                                                      o,
                                                      10,
                                                    )).toString(10))),
                                            (o = o.replace(/^0+/, "")),
                                            isNaN(i) || s.toLowerCase() !== o
                                              ? (A(
                                                  a,
                                                  "Invalid character entity",
                                                ),
                                                "&" + a.entity + ";")
                                              : String.fromCodePoint(i)))),
                                        (t.entity = ""),
                                        (t.state = r))
                                      : b(t.entity.length ? g : m, l)
                                        ? (t.entity += l)
                                        : (A(
                                            t,
                                            "Invalid character in entity name",
                                          ),
                                          (t[n] += "&" + t.entity + l),
                                          (t.entity = ""),
                                          (t.state = r));
                                    continue;
                                  default:
                                    throw new Error(
                                      t,
                                      "Unknown state: " + t.state,
                                    );
                                }
                              return (
                                t.position >= t.bufferCheckPosition &&
                                  (function (e) {
                                    for (
                                      var t = Math.max(h.MAX_BUFFER_LENGTH, 10),
                                        r = 0,
                                        n = 0,
                                        i = p.length;
                                      n < i;
                                      n++
                                    ) {
                                      var o = e[p[n]].length;
                                      if (t < o)
                                        switch (p[n]) {
                                          case "textNode":
                                            T(e);
                                            break;
                                          case "cdata":
                                            (E(e, "oncdata", e.cdata),
                                              (e.cdata = ""));
                                            break;
                                          case "script":
                                            (E(e, "onscript", e.script),
                                              (e.script = ""));
                                            break;
                                          default:
                                            P(
                                              e,
                                              "Max buffer length exceeded: " +
                                                p[n],
                                            );
                                        }
                                      r = Math.max(r, o);
                                    }
                                    var s = h.MAX_BUFFER_LENGTH - r;
                                    e.bufferCheckPosition = s + e.position;
                                  })(t),
                                t
                              );
                            },
                            resume: function () {
                              return ((this.error = null), this);
                            },
                            close: function () {
                              return this.write(null);
                            },
                            flush: function () {
                              (T(this),
                                "" !== this.cdata &&
                                  (E(this, "oncdata", this.cdata),
                                  (this.cdata = "")),
                                "" !== this.script &&
                                  (E(this, "onscript", this.script),
                                  (this.script = "")));
                            },
                          }));
                        try {
                          n = r(2830).Stream;
                        } catch (h) {
                          n = function () {};
                        }
                        var o = h.EVENTS.filter(function (e) {
                          return "error" !== e && "end" !== e;
                        });
                        function s(e, t) {
                          if (!(this instanceof s)) return new s(e, t);
                          (n.apply(this),
                            (this._parser = new i(e, t)),
                            (this.writable = !0),
                            (this.readable = !0));
                          var r = this;
                          ((this._parser.onend = function () {
                            r.emit("end");
                          }),
                            (this._parser.onerror = function (e) {
                              (r.emit("error", e), (r._parser.error = null));
                            }),
                            (this._decoder = null),
                            o.forEach(function (t) {
                              Object.defineProperty(r, "on" + t, {
                                get: function () {
                                  return r._parser["on" + t];
                                },
                                set: function (e) {
                                  if (!e)
                                    return (
                                      r.removeAllListeners(t),
                                      (r._parser["on" + t] = e)
                                    );
                                  r.on(t, e);
                                },
                                enumerable: !0,
                                configurable: !1,
                              });
                            }));
                        }
                        (((s.prototype = Object.create(n.prototype, {
                          constructor: { value: s },
                        })).write = function (e) {
                          var t;
                          return (
                            "function" == typeof Buffer &&
                              "function" == typeof Buffer.isBuffer &&
                              Buffer.isBuffer(e) &&
                              (this._decoder ||
                                ((t = r(2553).s),
                                (this._decoder = new t("utf8"))),
                              (e = this._decoder.write(e))),
                            this._parser.write(e.toString()),
                            this.emit("data", e),
                            !0
                          );
                        }),
                          (s.prototype.end = function (e) {
                            return (
                              e && e.length && this.write(e),
                              this._parser.end(),
                              !0
                            );
                          }),
                          (s.prototype.on = function (t, e) {
                            var r = this;
                            return (
                              r._parser["on" + t] ||
                                -1 === o.indexOf(t) ||
                                (r._parser["on" + t] = function () {
                                  var e =
                                    1 === arguments.length
                                      ? [arguments[0]]
                                      : Array.apply(null, arguments);
                                  (e.splice(0, 0, t), r.emit.apply(r, e));
                                }),
                              n.prototype.on.call(r, t, e)
                            );
                          }));
                        var a = "http://www.w3.org/XML/1998/namespace",
                          c = "http://www.w3.org/2000/xmlns/",
                          l = { xml: a, xmlns: c },
                          d =
                            /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
                          f =
                            /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,
                          m =
                            /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
                          g =
                            /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
                        function v(e) {
                          return (
                            " " === e || "\n" === e || "\r" === e || "\t" === e
                          );
                        }
                        function y(e) {
                          return '"' === e || "'" === e;
                        }
                        function b(e, t) {
                          return e.test(t);
                        }
                        var u,
                          w,
                          e,
                          t,
                          x = 0;
                        for (t in ((h.STATE = {
                          BEGIN: x++,
                          BEGIN_WHITESPACE: x++,
                          TEXT: x++,
                          TEXT_ENTITY: x++,
                          OPEN_WAKA: x++,
                          SGML_DECL: x++,
                          SGML_DECL_QUOTED: x++,
                          DOCTYPE: x++,
                          DOCTYPE_QUOTED: x++,
                          DOCTYPE_DTD: x++,
                          DOCTYPE_DTD_QUOTED: x++,
                          COMMENT_STARTING: x++,
                          COMMENT: x++,
                          COMMENT_ENDING: x++,
                          COMMENT_ENDED: x++,
                          CDATA: x++,
                          CDATA_ENDING: x++,
                          CDATA_ENDING_2: x++,
                          PROC_INST: x++,
                          PROC_INST_BODY: x++,
                          PROC_INST_ENDING: x++,
                          OPEN_TAG: x++,
                          OPEN_TAG_SLASH: x++,
                          ATTRIB: x++,
                          ATTRIB_NAME: x++,
                          ATTRIB_NAME_SAW_WHITE: x++,
                          ATTRIB_VALUE: x++,
                          ATTRIB_VALUE_QUOTED: x++,
                          ATTRIB_VALUE_CLOSED: x++,
                          ATTRIB_VALUE_UNQUOTED: x++,
                          ATTRIB_VALUE_ENTITY_Q: x++,
                          ATTRIB_VALUE_ENTITY_U: x++,
                          CLOSE_TAG: x++,
                          CLOSE_TAG_SAW_WHITE: x++,
                          SCRIPT: x++,
                          SCRIPT_ENDING: x++,
                        }),
                        (h.XML_ENTITIES = {
                          amp: "&",
                          gt: ">",
                          lt: "<",
                          quot: '"',
                          apos: "'",
                        }),
                        (h.ENTITIES = {
                          amp: "&",
                          gt: ">",
                          lt: "<",
                          quot: '"',
                          apos: "'",
                          AElig: 198,
                          Aacute: 193,
                          Acirc: 194,
                          Agrave: 192,
                          Aring: 197,
                          Atilde: 195,
                          Auml: 196,
                          Ccedil: 199,
                          ETH: 208,
                          Eacute: 201,
                          Ecirc: 202,
                          Egrave: 200,
                          Euml: 203,
                          Iacute: 205,
                          Icirc: 206,
                          Igrave: 204,
                          Iuml: 207,
                          Ntilde: 209,
                          Oacute: 211,
                          Ocirc: 212,
                          Ograve: 210,
                          Oslash: 216,
                          Otilde: 213,
                          Ouml: 214,
                          THORN: 222,
                          Uacute: 218,
                          Ucirc: 219,
                          Ugrave: 217,
                          Uuml: 220,
                          Yacute: 221,
                          aacute: 225,
                          acirc: 226,
                          aelig: 230,
                          agrave: 224,
                          aring: 229,
                          atilde: 227,
                          auml: 228,
                          ccedil: 231,
                          eacute: 233,
                          ecirc: 234,
                          egrave: 232,
                          eth: 240,
                          euml: 235,
                          iacute: 237,
                          icirc: 238,
                          igrave: 236,
                          iuml: 239,
                          ntilde: 241,
                          oacute: 243,
                          ocirc: 244,
                          ograve: 242,
                          oslash: 248,
                          otilde: 245,
                          ouml: 246,
                          szlig: 223,
                          thorn: 254,
                          uacute: 250,
                          ucirc: 251,
                          ugrave: 249,
                          uuml: 252,
                          yacute: 253,
                          yuml: 255,
                          copy: 169,
                          reg: 174,
                          nbsp: 160,
                          iexcl: 161,
                          cent: 162,
                          pound: 163,
                          curren: 164,
                          yen: 165,
                          brvbar: 166,
                          sect: 167,
                          uml: 168,
                          ordf: 170,
                          laquo: 171,
                          not: 172,
                          shy: 173,
                          macr: 175,
                          deg: 176,
                          plusmn: 177,
                          sup1: 185,
                          sup2: 178,
                          sup3: 179,
                          acute: 180,
                          micro: 181,
                          para: 182,
                          middot: 183,
                          cedil: 184,
                          ordm: 186,
                          raquo: 187,
                          frac14: 188,
                          frac12: 189,
                          frac34: 190,
                          iquest: 191,
                          times: 215,
                          divide: 247,
                          OElig: 338,
                          oelig: 339,
                          Scaron: 352,
                          scaron: 353,
                          Yuml: 376,
                          fnof: 402,
                          circ: 710,
                          tilde: 732,
                          Alpha: 913,
                          Beta: 914,
                          Gamma: 915,
                          Delta: 916,
                          Epsilon: 917,
                          Zeta: 918,
                          Eta: 919,
                          Theta: 920,
                          Iota: 921,
                          Kappa: 922,
                          Lambda: 923,
                          Mu: 924,
                          Nu: 925,
                          Xi: 926,
                          Omicron: 927,
                          Pi: 928,
                          Rho: 929,
                          Sigma: 931,
                          Tau: 932,
                          Upsilon: 933,
                          Phi: 934,
                          Chi: 935,
                          Psi: 936,
                          Omega: 937,
                          alpha: 945,
                          beta: 946,
                          gamma: 947,
                          delta: 948,
                          epsilon: 949,
                          zeta: 950,
                          eta: 951,
                          theta: 952,
                          iota: 953,
                          kappa: 954,
                          lambda: 955,
                          mu: 956,
                          nu: 957,
                          xi: 958,
                          omicron: 959,
                          pi: 960,
                          rho: 961,
                          sigmaf: 962,
                          sigma: 963,
                          tau: 964,
                          upsilon: 965,
                          phi: 966,
                          chi: 967,
                          psi: 968,
                          omega: 969,
                          thetasym: 977,
                          upsih: 978,
                          piv: 982,
                          ensp: 8194,
                          emsp: 8195,
                          thinsp: 8201,
                          zwnj: 8204,
                          zwj: 8205,
                          lrm: 8206,
                          rlm: 8207,
                          ndash: 8211,
                          mdash: 8212,
                          lsquo: 8216,
                          rsquo: 8217,
                          sbquo: 8218,
                          ldquo: 8220,
                          rdquo: 8221,
                          bdquo: 8222,
                          dagger: 8224,
                          Dagger: 8225,
                          bull: 8226,
                          hellip: 8230,
                          permil: 8240,
                          prime: 8242,
                          Prime: 8243,
                          lsaquo: 8249,
                          rsaquo: 8250,
                          oline: 8254,
                          frasl: 8260,
                          euro: 8364,
                          image: 8465,
                          weierp: 8472,
                          real: 8476,
                          trade: 8482,
                          alefsym: 8501,
                          larr: 8592,
                          uarr: 8593,
                          rarr: 8594,
                          darr: 8595,
                          harr: 8596,
                          crarr: 8629,
                          lArr: 8656,
                          uArr: 8657,
                          rArr: 8658,
                          dArr: 8659,
                          hArr: 8660,
                          forall: 8704,
                          part: 8706,
                          exist: 8707,
                          empty: 8709,
                          nabla: 8711,
                          isin: 8712,
                          notin: 8713,
                          ni: 8715,
                          prod: 8719,
                          sum: 8721,
                          minus: 8722,
                          lowast: 8727,
                          radic: 8730,
                          prop: 8733,
                          infin: 8734,
                          ang: 8736,
                          and: 8743,
                          or: 8744,
                          cap: 8745,
                          cup: 8746,
                          int: 8747,
                          there4: 8756,
                          sim: 8764,
                          cong: 8773,
                          asymp: 8776,
                          ne: 8800,
                          equiv: 8801,
                          le: 8804,
                          ge: 8805,
                          sub: 8834,
                          sup: 8835,
                          nsub: 8836,
                          sube: 8838,
                          supe: 8839,
                          oplus: 8853,
                          otimes: 8855,
                          perp: 8869,
                          sdot: 8901,
                          lceil: 8968,
                          rceil: 8969,
                          lfloor: 8970,
                          rfloor: 8971,
                          lang: 9001,
                          rang: 9002,
                          loz: 9674,
                          spades: 9824,
                          clubs: 9827,
                          hearts: 9829,
                          diams: 9830,
                        }),
                        Object.keys(h.ENTITIES).forEach(function (e) {
                          var t = h.ENTITIES[e],
                            t =
                              "number" == typeof t ? String.fromCharCode(t) : t;
                          h.ENTITIES[e] = t;
                        }),
                        h.STATE))
                          h.STATE[h.STATE[t]] = t;
                        function S(e, t, r) {
                          e[t] && e[t](r);
                        }
                        function E(e, t, r) {
                          (e.textNode && T(e), S(e, t, r));
                        }
                        function T(e) {
                          ((e.textNode = C(e.opt, e.textNode)),
                            e.textNode && S(e, "ontext", e.textNode),
                            (e.textNode = ""));
                        }
                        function C(e, t) {
                          return (
                            e.trim && (t = t.trim()),
                            (t = e.normalize ? t.replace(/\s+/g, " ") : t)
                          );
                        }
                        function P(e, t) {
                          return (
                            T(e),
                            e.trackPosition &&
                              (t +=
                                "\nLine: " +
                                e.line +
                                "\nColumn: " +
                                e.column +
                                "\nChar: " +
                                e.c),
                            (t = new Error(t)),
                            (e.error = t),
                            S(e, "onerror", t),
                            e
                          );
                        }
                        function k(e) {
                          return (
                            e.sawRoot &&
                              !e.closedRoot &&
                              A(e, "Unclosed root tag"),
                            e.state !== x.BEGIN &&
                              e.state !== x.BEGIN_WHITESPACE &&
                              e.state !== x.TEXT &&
                              P(e, "Unexpected end"),
                            T(e),
                            (e.c = ""),
                            (e.closed = !0),
                            S(e, "onend"),
                            i.call(e, e.strict, e.opt),
                            e
                          );
                        }
                        function A(e, t) {
                          if ("object" != typeof e || !(e instanceof i))
                            throw new Error("bad call to strictFail");
                          e.strict && P(e, t);
                        }
                        function _(e, t) {
                          var r = e.indexOf(":") < 0 ? ["", e] : e.split(":"),
                            n = r[0],
                            r = r[1];
                          return (
                            t && "xmlns" === e && ((n = "xmlns"), (r = "")),
                            { prefix: n, local: r }
                          );
                        }
                        function I(e) {
                          var t, r, n;
                          (e.strict ||
                            (e.attribName = e.attribName[e.looseCase]()),
                            -1 !== e.attribList.indexOf(e.attribName) ||
                              e.tag.attributes.hasOwnProperty(e.attribName) ||
                              (e.opt.xmlns
                                ? ((n = (r = _(e.attribName, !0)).prefix),
                                  (t = r.local),
                                  "xmlns" === n &&
                                    ("xml" === t && e.attribValue !== a
                                      ? A(
                                          e,
                                          "xml: prefix must be bound to " +
                                            a +
                                            "\nActual: " +
                                            e.attribValue,
                                        )
                                      : "xmlns" === t && e.attribValue !== c
                                        ? A(
                                            e,
                                            "xmlns: prefix must be bound to " +
                                              c +
                                              "\nActual: " +
                                              e.attribValue,
                                          )
                                        : ((r = e.tag),
                                          (n = e.tags[e.tags.length - 1] || e),
                                          r.ns === n.ns &&
                                            (r.ns = Object.create(n.ns)),
                                          (r.ns[t] = e.attribValue))),
                                  e.attribList.push([
                                    e.attribName,
                                    e.attribValue,
                                  ]))
                                : ((e.tag.attributes[e.attribName] =
                                    e.attribValue),
                                  E(e, "onattribute", {
                                    name: e.attribName,
                                    value: e.attribValue,
                                  }))),
                            (e.attribName = e.attribValue = ""));
                        }
                        function O(t, e) {
                          if (t.opt.xmlns) {
                            var r = t.tag,
                              n = _(t.tagName);
                            ((r.prefix = n.prefix),
                              (r.local = n.local),
                              (r.uri = r.ns[n.prefix] || ""),
                              r.prefix &&
                                !r.uri &&
                                (A(
                                  t,
                                  "Unbound namespace prefix: " +
                                    JSON.stringify(t.tagName),
                                ),
                                (r.uri = n.prefix)));
                            n = t.tags[t.tags.length - 1] || t;
                            r.ns &&
                              n.ns !== r.ns &&
                              Object.keys(r.ns).forEach(function (e) {
                                E(t, "onopennamespace", {
                                  prefix: e,
                                  uri: r.ns[e],
                                });
                              });
                            for (
                              var i = 0, o = t.attribList.length;
                              i < o;
                              i++
                            ) {
                              var s = t.attribList[i],
                                a = s[0],
                                c = s[1],
                                l = _(a, !0),
                                u = l.prefix,
                                s = l.local,
                                l = ("" !== u && r.ns[u]) || "",
                                s = {
                                  name: a,
                                  value: c,
                                  prefix: u,
                                  local: s,
                                  uri: l,
                                };
                              (u &&
                                "xmlns" !== u &&
                                !l &&
                                (A(
                                  t,
                                  "Unbound namespace prefix: " +
                                    JSON.stringify(u),
                                ),
                                (s.uri = u)),
                                (t.tag.attributes[a] = s),
                                E(t, "onattribute", s));
                            }
                            t.attribList.length = 0;
                          }
                          ((t.tag.isSelfClosing = !!e),
                            (t.sawRoot = !0),
                            t.tags.push(t.tag),
                            E(t, "onopentag", t.tag),
                            e ||
                              (t.noscript ||
                              "script" !== t.tagName.toLowerCase()
                                ? (t.state = x.TEXT)
                                : (t.state = x.SCRIPT),
                              (t.tag = null),
                              (t.tagName = "")),
                            (t.attribName = t.attribValue = ""),
                            (t.attribList.length = 0));
                        }
                        function L(r) {
                          if (!r.tagName)
                            return (
                              A(r, "Weird empty close tag."),
                              (r.textNode += "</>"),
                              (r.state = x.TEXT),
                              0
                            );
                          if (r.script) {
                            if ("script" !== r.tagName)
                              return (
                                (r.script += "</" + r.tagName + ">"),
                                (r.tagName = ""),
                                (r.state = x.SCRIPT),
                                0
                              );
                            (E(r, "onscript", r.script), (r.script = ""));
                          }
                          for (
                            var e = r.tags.length,
                              t = r.tagName,
                              n = (t = !r.strict ? t[r.looseCase]() : t);
                            e-- && r.tags[e].name !== n;

                          )
                            A(r, "Unexpected close tag");
                          if (e < 0)
                            return (
                              A(r, "Unmatched closing tag: " + r.tagName),
                              (r.textNode += "</" + r.tagName + ">"),
                              (r.state = x.TEXT),
                              0
                            );
                          r.tagName = t;
                          for (var i = r.tags.length; i-- > e; ) {
                            var o = (r.tag = r.tags.pop());
                            ((r.tagName = r.tag.name),
                              E(r, "onclosetag", r.tagName));
                            var s,
                              a = {};
                            for (s in o.ns) a[s] = o.ns[s];
                            var c = r.tags[r.tags.length - 1] || r;
                            r.opt.xmlns &&
                              o.ns !== c.ns &&
                              Object.keys(o.ns).forEach(function (e) {
                                var t = o.ns[e];
                                E(r, "onclosenamespace", { prefix: e, uri: t });
                              });
                          }
                          (0 === e && (r.closedRoot = !0),
                            (r.tagName = r.attribValue = r.attribName = ""),
                            (r.attribList.length = 0),
                            (r.state = x.TEXT));
                        }
                        function H(e, t) {
                          "<" === t
                            ? ((e.state = x.OPEN_WAKA),
                              (e.startTagPosition = e.position))
                            : v(t) ||
                              (A(e, "Non-whitespace before first tag."),
                              (e.textNode = t),
                              (e.state = x.TEXT));
                        }
                        function N(e, t) {
                          var r = "";
                          return (r = t < e.length ? e.charAt(t) : r);
                        }
                        ((x = h.STATE),
                          String.fromCodePoint ||
                            ((u = String.fromCharCode),
                            (w = Math.floor),
                            (e = function () {
                              var e,
                                t = [],
                                r = -1,
                                n = arguments.length;
                              if (!n) return "";
                              for (var i = ""; ++r < n; ) {
                                var o = Number(arguments[r]);
                                if (
                                  !isFinite(o) ||
                                  o < 0 ||
                                  1114111 < o ||
                                  w(o) !== o
                                )
                                  throw RangeError("Invalid code point: " + o);
                                (o <= 65535
                                  ? t.push(o)
                                  : ((e = 55296 + ((o -= 65536) >> 10)),
                                    t.push(e, (o % 1024) + 56320)),
                                  (r + 1 === n || 16384 < t.length) &&
                                    ((i += u.apply(null, t)), (t.length = 0)));
                              }
                              return i;
                            }),
                            Object.defineProperty
                              ? Object.defineProperty(String, "fromCodePoint", {
                                  value: e,
                                  configurable: !0,
                                  writable: !0,
                                })
                              : (String.fromCodePoint = e)));
                      })(t);
                    },
                    4889: function (e, t, r) {
                      var d = r(4155);
                      !(function (r) {
                        "use strict";
                        var n, t, i, e, o, s, a, c, l, u;
                        function h(e) {
                          delete s[e];
                        }
                        function p(e) {
                          if (a) setTimeout(p, 0, e);
                          else {
                            var r = s[e];
                            if (r) {
                              a = !0;
                              try {
                                !(function () {
                                  var e = r.callback,
                                    t = r.args;
                                  switch (t.length) {
                                    case 0:
                                      e();
                                      break;
                                    case 1:
                                      e(t[0]);
                                      break;
                                    case 2:
                                      e(t[0], t[1]);
                                      break;
                                    case 3:
                                      e(t[0], t[1], t[2]);
                                      break;
                                    default:
                                      e.apply(void 0, t);
                                  }
                                })();
                              } finally {
                                (h(e), (a = !1));
                              }
                            }
                          }
                        }
                        r.setImmediate ||
                          ((o = 1),
                          (a = !(s = {})),
                          (c = r.document),
                          (l =
                            (l =
                              Object.getPrototypeOf &&
                              Object.getPrototypeOf(r)) && l.setTimeout
                              ? l
                              : r),
                          (u =
                            "[object process]" === {}.toString.call(r.process)
                              ? function (e) {
                                  d.nextTick(function () {
                                    p(e);
                                  });
                                }
                              : (function () {
                                    if (r.postMessage && !r.importScripts) {
                                      var e = !0,
                                        t = r.onmessage;
                                      return (
                                        (r.onmessage = function () {
                                          e = !1;
                                        }),
                                        r.postMessage("", "*"),
                                        (r.onmessage = t),
                                        e
                                      );
                                    }
                                  })()
                                ? ((i = "setImmediate$" + Math.random() + "$"),
                                  (e = function (e) {
                                    e.source === r &&
                                      "string" == typeof e.data &&
                                      0 === e.data.indexOf(i) &&
                                      p(+e.data.slice(i.length));
                                  }),
                                  r.addEventListener
                                    ? r.addEventListener("message", e, !1)
                                    : r.attachEvent("onmessage", e),
                                  function (e) {
                                    r.postMessage(i + e, "*");
                                  })
                                : r.MessageChannel
                                  ? (((t =
                                      new MessageChannel()).port1.onmessage =
                                      function (e) {
                                        p(e.data);
                                      }),
                                    function (e) {
                                      t.port2.postMessage(e);
                                    })
                                  : c &&
                                      "onreadystatechange" in
                                        c.createElement("script")
                                    ? ((n = c.documentElement),
                                      function (e) {
                                        var t = c.createElement("script");
                                        ((t.onreadystatechange = function () {
                                          (p(e),
                                            (t.onreadystatechange = null),
                                            n.removeChild(t),
                                            (t = null));
                                        }),
                                          n.appendChild(t));
                                      })
                                    : function (e) {
                                        setTimeout(p, 0, e);
                                      }),
                          (l.setImmediate = function (e) {
                            "function" != typeof e &&
                              (e = new Function("" + e));
                            for (
                              var t = new Array(arguments.length - 1), r = 0;
                              r < t.length;
                              r++
                            )
                              t[r] = arguments[r + 1];
                            return (
                              (s[o] = { callback: e, args: t }),
                              u(o),
                              o++
                            );
                          }),
                          (l.clearImmediate = h));
                      })(
                        "undefined" == typeof self
                          ? void 0 === r.g
                            ? this
                            : r.g
                          : self,
                      );
                    },
                    2830: (e, t, r) => {
                      e.exports = n;
                      var u = r(7187).EventEmitter;
                      function n() {
                        u.call(this);
                      }
                      (r(5717)(n, u),
                        (n.Readable = r(6577)),
                        (n.Writable = r(323)),
                        (n.Duplex = r(8656)),
                        (n.Transform = r(4473)),
                        (n.PassThrough = r(2366)),
                        (n.finished = r(1086)),
                        (n.pipeline = r(6472)),
                        ((n.Stream = n).prototype.pipe = function (t, e) {
                          var r = this;
                          function n(e) {
                            t.writable &&
                              !1 === t.write(e) &&
                              r.pause &&
                              r.pause();
                          }
                          function i() {
                            r.readable && r.resume && r.resume();
                          }
                          (r.on("data", n),
                            t.on("drain", i),
                            t._isStdio ||
                              (e && !1 === e.end) ||
                              (r.on("end", s), r.on("close", a)));
                          var o = !1;
                          function s() {
                            o || ((o = !0), t.end());
                          }
                          function a() {
                            o ||
                              ((o = !0),
                              "function" == typeof t.destroy && t.destroy());
                          }
                          function c(e) {
                            if ((l(), 0 === u.listenerCount(this, "error")))
                              throw e;
                          }
                          function l() {
                            (r.removeListener("data", n),
                              t.removeListener("drain", i),
                              r.removeListener("end", s),
                              r.removeListener("close", a),
                              r.removeListener("error", c),
                              t.removeListener("error", c),
                              r.removeListener("end", l),
                              r.removeListener("close", l),
                              t.removeListener("close", l));
                          }
                          return (
                            r.on("error", c),
                            t.on("error", c),
                            r.on("end", l),
                            r.on("close", l),
                            t.on("close", l),
                            t.emit("pipe", r),
                            t
                          );
                        }));
                    },
                    8106: (e) => {
                      "use strict";
                      var a = {};
                      function t(e, n, t) {
                        t = t || Error;
                        var i,
                          r,
                          o =
                            ((o = i = t),
                            ((r = s).prototype = Object.create(o.prototype)),
                            ((r.prototype.constructor = r).__proto__ = o),
                            s);
                        function s(e, t, r) {
                          return (
                            i.call(
                              this,
                              "string" == typeof n ? n : n(e, t, r),
                            ) || this
                          );
                        }
                        ((o.prototype.name = t.name),
                          (o.prototype.code = e),
                          (a[e] = o));
                      }
                      function c(e, t) {
                        if (Array.isArray(e)) {
                          var r = e.length;
                          return (
                            (e = e.map(function (e) {
                              return String(e);
                            })),
                            2 < r
                              ? "one of "
                                  .concat(t, " ")
                                  .concat(
                                    e.slice(0, r - 1).join(", "),
                                    ", or ",
                                  ) + e[r - 1]
                              : 2 === r
                                ? "one of "
                                    .concat(t, " ")
                                    .concat(e[0], " or ")
                                    .concat(e[1])
                                : "of ".concat(t, " ").concat(e[0])
                          );
                        }
                        return "of ".concat(t, " ").concat(String(e));
                      }
                      (t(
                        "ERR_INVALID_OPT_VALUE",
                        function (e, t) {
                          return (
                            'The value "' +
                            t +
                            '" is invalid for option "' +
                            e +
                            '"'
                          );
                        },
                        TypeError,
                      ),
                        t(
                          "ERR_INVALID_ARG_TYPE",
                          function (e, t, r) {
                            var n, i, o, s;
                            return (
                              "string" == typeof t &&
                              "not " === t.substr(0, "not ".length)
                                ? ((n = "must not be"),
                                  (t = t.replace(/^not /, "")))
                                : (n = "must be"),
                              (o = e),
                              (void 0 === s || s > o.length) && (s = o.length),
                              (" argument" ===
                              o.substring(s - " argument".length, s)
                                ? "The "
                                    .concat(e, " ")
                                    .concat(n, " ")
                                    .concat(c(t, "type"))
                                : ((i =
                                    (i = "number" != typeof i ? 0 : i) +
                                      ".".length >
                                      e.length || -1 === e.indexOf(".", i)
                                      ? "argument"
                                      : "property"),
                                  'The "'
                                    .concat(e, '" ')
                                    .concat(i, " ")
                                    .concat(n, " ")
                                    .concat(c(t, "type")))) +
                                ". Received type ".concat(typeof r)
                            );
                          },
                          TypeError,
                        ),
                        t(
                          "ERR_STREAM_PUSH_AFTER_EOF",
                          "stream.push() after EOF",
                        ),
                        t("ERR_METHOD_NOT_IMPLEMENTED", function (e) {
                          return "The " + e + " method is not implemented";
                        }),
                        t("ERR_STREAM_PREMATURE_CLOSE", "Premature close"),
                        t("ERR_STREAM_DESTROYED", function (e) {
                          return (
                            "Cannot call " + e + " after a stream was destroyed"
                          );
                        }),
                        t(
                          "ERR_MULTIPLE_CALLBACK",
                          "Callback called multiple times",
                        ),
                        t(
                          "ERR_STREAM_CANNOT_PIPE",
                          "Cannot pipe, not readable",
                        ),
                        t("ERR_STREAM_WRITE_AFTER_END", "write after end"),
                        t(
                          "ERR_STREAM_NULL_VALUES",
                          "May not write null values to stream",
                          TypeError,
                        ),
                        t(
                          "ERR_UNKNOWN_ENCODING",
                          function (e) {
                            return "Unknown encoding: " + e;
                          },
                          TypeError,
                        ),
                        t(
                          "ERR_STREAM_UNSHIFT_AFTER_END_EVENT",
                          "stream.unshift() after end event",
                        ),
                        (e.exports.q = a));
                    },
                    8656: (e, t, r) => {
                      "use strict";
                      var n = r(4155),
                        i =
                          Object.keys ||
                          function (e) {
                            var t,
                              r = [];
                            for (t in e) r.push(t);
                            return r;
                          };
                      e.exports = u;
                      var o = r(6577),
                        s = r(323);
                      r(5717)(u, o);
                      for (var a = i(s.prototype), c = 0; c < a.length; c++) {
                        var l = a[c];
                        u.prototype[l] || (u.prototype[l] = s.prototype[l]);
                      }
                      function u(e) {
                        if (!(this instanceof u)) return new u(e);
                        (o.call(this, e),
                          s.call(this, e),
                          (this.allowHalfOpen = !0),
                          e &&
                            (!1 === e.readable && (this.readable = !1),
                            !1 === e.writable && (this.writable = !1),
                            !1 === e.allowHalfOpen &&
                              ((this.allowHalfOpen = !1),
                              this.once("end", h))));
                      }
                      function h() {
                        this._writableState.ended || n.nextTick(p, this);
                      }
                      function p(e) {
                        e.end();
                      }
                      (Object.defineProperty(
                        u.prototype,
                        "writableHighWaterMark",
                        {
                          enumerable: !1,
                          get: function () {
                            return this._writableState.highWaterMark;
                          },
                        },
                      ),
                        Object.defineProperty(u.prototype, "writableBuffer", {
                          enumerable: !1,
                          get: function () {
                            return (
                              this._writableState &&
                              this._writableState.getBuffer()
                            );
                          },
                        }),
                        Object.defineProperty(u.prototype, "writableLength", {
                          enumerable: !1,
                          get: function () {
                            return this._writableState.length;
                          },
                        }),
                        Object.defineProperty(u.prototype, "destroyed", {
                          enumerable: !1,
                          get: function () {
                            return (
                              void 0 !== this._readableState &&
                              void 0 !== this._writableState &&
                              this._readableState.destroyed &&
                              this._writableState.destroyed
                            );
                          },
                          set: function (e) {
                            void 0 !== this._readableState &&
                              void 0 !== this._writableState &&
                              ((this._readableState.destroyed = e),
                              (this._writableState.destroyed = e));
                          },
                        }));
                    },
                    2366: (e, t, r) => {
                      "use strict";
                      e.exports = i;
                      var n = r(4473);
                      function i(e) {
                        if (!(this instanceof i)) return new i(e);
                        n.call(this, e);
                      }
                      (r(5717)(i, n),
                        (i.prototype._transform = function (e, t, r) {
                          r(null, e);
                        }));
                    },
                    6577: (e, t, i) => {
                      "use strict";
                      var n,
                        f = i(4155);
                      (((e.exports = E).ReadableState = S),
                        i(7187).EventEmitter);
                      function m(e, t) {
                        return e.listeners(t).length;
                      }
                      var o,
                        r,
                        s,
                        a = i(3194),
                        h = i(8764).Buffer,
                        p = i.g.Uint8Array || function () {},
                        c = i(5575),
                        g =
                          c && c.debuglog
                            ? c.debuglog("stream")
                            : function () {},
                        l = i(9686),
                        e = i(1029),
                        u = i(94).getHighWaterMark,
                        c = i(8106).q,
                        d = c.ERR_INVALID_ARG_TYPE,
                        v = c.ERR_STREAM_PUSH_AFTER_EOF,
                        y = c.ERR_METHOD_NOT_IMPLEMENTED,
                        b = c.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
                      i(5717)(E, a);
                      var w = e.errorOrDestroy,
                        x = ["error", "close", "destroy", "pause", "resume"];
                      function S(e, t, r) {
                        ((n = n || i(8656)),
                          "boolean" != typeof r && (r = t instanceof n),
                          (this.objectMode = !!(e = e || {}).objectMode),
                          r &&
                            (this.objectMode =
                              this.objectMode || !!e.readableObjectMode),
                          (this.highWaterMark = u(
                            this,
                            e,
                            "readableHighWaterMark",
                            r,
                          )),
                          (this.buffer = new l()),
                          (this.length = 0),
                          (this.pipes = null),
                          (this.pipesCount = 0),
                          (this.flowing = null),
                          (this.ended = !1),
                          (this.endEmitted = !1),
                          (this.reading = !1),
                          (this.sync = !0),
                          (this.needReadable = !1),
                          (this.emittedReadable = !1),
                          (this.readableListening = !1),
                          (this.resumeScheduled = !1),
                          (this.paused = !0),
                          (this.emitClose = !1 !== e.emitClose),
                          (this.autoDestroy = !!e.autoDestroy),
                          (this.destroyed = !1),
                          (this.defaultEncoding = e.defaultEncoding || "utf8"),
                          (this.awaitDrain = 0),
                          (this.readingMore = !1),
                          (this.decoder = null),
                          (this.encoding = null),
                          e.encoding &&
                            ((o = o || i(2553).s),
                            (this.decoder = new o(e.encoding)),
                            (this.encoding = e.encoding)));
                      }
                      function E(e) {
                        if (((n = n || i(8656)), !(this instanceof E)))
                          return new E(e);
                        var t = this instanceof n;
                        ((this._readableState = new S(e, this, t)),
                          (this.readable = !0),
                          e &&
                            ("function" == typeof e.read &&
                              (this._read = e.read),
                            "function" == typeof e.destroy &&
                              (this._destroy = e.destroy)),
                          a.call(this));
                      }
                      function T(e, t, r, n, i) {
                        g("readableAddChunk", t);
                        var o,
                          s,
                          a,
                          c,
                          l,
                          u = e._readableState;
                        if (null === t)
                          ((u.reading = !1),
                            (a = e),
                            (c = u),
                            g("onEofChunk"),
                            c.ended ||
                              (!c.decoder ||
                                ((l = c.decoder.end()) &&
                                  l.length &&
                                  (c.buffer.push(l),
                                  (c.length += c.objectMode ? 1 : l.length))),
                              (c.ended = !0),
                              c.sync
                                ? A(a)
                                : ((c.needReadable = !1),
                                  c.emittedReadable ||
                                    ((c.emittedReadable = !0), _(a)))));
                        else if (
                          (i ||
                            ((a = u),
                            (i = o = t),
                            (o = s =
                              h.isBuffer(i) ||
                              i instanceof p ||
                              "string" == typeof o ||
                              void 0 === o ||
                              a.objectMode
                                ? s
                                : new d(
                                    "chunk",
                                    ["string", "Buffer", "Uint8Array"],
                                    o,
                                  ))),
                          o)
                        )
                          w(e, o);
                        else if (u.objectMode || (t && 0 < t.length))
                          if (
                            ("string" == typeof t ||
                              u.objectMode ||
                              Object.getPrototypeOf(t) === h.prototype ||
                              ((o = t), (t = h.from(o))),
                            n)
                          )
                            u.endEmitted ? w(e, new b()) : C(e, u, t, !0);
                          else if (u.ended) w(e, new v());
                          else {
                            if (u.destroyed) return !1;
                            ((u.reading = !1),
                              u.decoder && !r
                                ? ((t = u.decoder.write(t)),
                                  u.objectMode || 0 !== t.length
                                    ? C(e, u, t, !1)
                                    : I(e, u))
                                : C(e, u, t, !1));
                          }
                        else n || ((u.reading = !1), I(e, u));
                        return (
                          !u.ended &&
                          (u.length < u.highWaterMark || 0 === u.length)
                        );
                      }
                      function C(e, t, r, n) {
                        (t.flowing && 0 === t.length && !t.sync
                          ? ((t.awaitDrain = 0), e.emit("data", r))
                          : ((t.length += t.objectMode ? 1 : r.length),
                            n ? t.buffer.unshift(r) : t.buffer.push(r),
                            t.needReadable && A(e)),
                          I(e, t));
                      }
                      (Object.defineProperty(E.prototype, "destroyed", {
                        enumerable: !1,
                        get: function () {
                          return (
                            void 0 !== this._readableState &&
                            this._readableState.destroyed
                          );
                        },
                        set: function (e) {
                          this._readableState &&
                            (this._readableState.destroyed = e);
                        },
                      }),
                        (E.prototype.destroy = e.destroy),
                        (E.prototype._undestroy = e.undestroy),
                        (E.prototype._destroy = function (e, t) {
                          t(e);
                        }),
                        (E.prototype.push = function (e, t) {
                          var r,
                            n = this._readableState;
                          return (
                            n.objectMode
                              ? (r = !0)
                              : "string" == typeof e &&
                                ((t = t || n.defaultEncoding) !== n.encoding &&
                                  ((e = h.from(e, t)), (t = "")),
                                (r = !0)),
                            T(this, e, t, !1, r)
                          );
                        }),
                        (E.prototype.unshift = function (e) {
                          return T(this, e, null, !0, !1);
                        }),
                        (E.prototype.isPaused = function () {
                          return !1 === this._readableState.flowing;
                        }),
                        (E.prototype.setEncoding = function (e) {
                          var t = new (o = o || i(2553).s)(e);
                          ((this._readableState.decoder = t),
                            (this._readableState.encoding =
                              this._readableState.decoder.encoding));
                          for (
                            var r = this._readableState.buffer.head, n = "";
                            null !== r;

                          )
                            ((n += t.write(r.data)), (r = r.next));
                          return (
                            this._readableState.buffer.clear(),
                            "" !== n && this._readableState.buffer.push(n),
                            (this._readableState.length = n.length),
                            this
                          );
                        }));
                      var P = 1073741824;
                      function k(e, t) {
                        return e <= 0 || (0 === t.length && t.ended)
                          ? 0
                          : t.objectMode
                            ? 1
                            : e != e
                              ? (t.flowing && t.length ? t.buffer.head.data : t)
                                  .length
                              : (e > t.highWaterMark &&
                                  (t.highWaterMark =
                                    (P <= (r = e)
                                      ? (r = P)
                                      : (r--,
                                        (r |= r >>> 1),
                                        (r |= r >>> 2),
                                        (r |= r >>> 4),
                                        (r |= r >>> 8),
                                        (r |= r >>> 16),
                                        r++),
                                    r)),
                                e <= t.length
                                  ? e
                                  : t.ended
                                    ? t.length
                                    : ((t.needReadable = !0), 0));
                        var r;
                      }
                      function A(e) {
                        var t = e._readableState;
                        (g("emitReadable", t.needReadable, t.emittedReadable),
                          (t.needReadable = !1),
                          t.emittedReadable ||
                            (g("emitReadable", t.flowing),
                            (t.emittedReadable = !0),
                            f.nextTick(_, e)));
                      }
                      function _(e) {
                        var t = e._readableState;
                        (g("emitReadable_", t.destroyed, t.length, t.ended),
                          t.destroyed ||
                            (!t.length && !t.ended) ||
                            (e.emit("readable"), (t.emittedReadable = !1)),
                          (t.needReadable =
                            !t.flowing &&
                            !t.ended &&
                            t.length <= t.highWaterMark),
                          R(e));
                      }
                      function I(e, t) {
                        t.readingMore ||
                          ((t.readingMore = !0), f.nextTick(O, e, t));
                      }
                      function O(e, t) {
                        for (
                          ;
                          !t.reading &&
                          !t.ended &&
                          (t.length < t.highWaterMark ||
                            (t.flowing && 0 === t.length));

                        ) {
                          var r = t.length;
                          if (
                            (g("maybeReadMore read 0"),
                            e.read(0),
                            r === t.length)
                          )
                            break;
                        }
                        t.readingMore = !1;
                      }
                      function L(e) {
                        var t = e._readableState;
                        ((t.readableListening =
                          0 < e.listenerCount("readable")),
                          t.resumeScheduled && !t.paused
                            ? (t.flowing = !0)
                            : 0 < e.listenerCount("data") && e.resume());
                      }
                      function H(e) {
                        (g("readable nexttick read 0"), e.read(0));
                      }
                      function N(e, t) {
                        (g("resume", t.reading),
                          t.reading || e.read(0),
                          (t.resumeScheduled = !1),
                          e.emit("resume"),
                          R(e),
                          t.flowing && !t.reading && e.read(0));
                      }
                      function R(e) {
                        var t = e._readableState;
                        for (
                          g("flow", t.flowing);
                          t.flowing && null !== e.read();

                        );
                      }
                      function D(e, t) {
                        return 0 === t.length
                          ? null
                          : (t.objectMode
                              ? (r = t.buffer.shift())
                              : !e || e >= t.length
                                ? ((r = t.decoder
                                    ? t.buffer.join("")
                                    : 1 === t.buffer.length
                                      ? t.buffer.first()
                                      : t.buffer.concat(t.length)),
                                  t.buffer.clear())
                                : (r = t.buffer.consume(e, t.decoder)),
                            r);
                        var r;
                      }
                      function B(e) {
                        var t = e._readableState;
                        (g("endReadable", t.endEmitted),
                          t.endEmitted ||
                            ((t.ended = !0), f.nextTick(F, t, e)));
                      }
                      function F(e, t) {
                        (g("endReadableNT", e.endEmitted, e.length),
                          !e.endEmitted &&
                            0 === e.length &&
                            ((e.endEmitted = !0),
                            (t.readable = !1),
                            t.emit("end"),
                            e.autoDestroy) &&
                            (!(e = t._writableState) ||
                              (e.autoDestroy && e.finished)) &&
                            t.destroy());
                      }
                      function M(e, t) {
                        for (var r = 0, n = e.length; r < n; r++)
                          if (e[r] === t) return r;
                        return -1;
                      }
                      ((E.prototype.read = function (e) {
                        (g("read", e), (e = parseInt(e, 10)));
                        var t = this._readableState,
                          r = e;
                        if (
                          (0 !== e && (t.emittedReadable = !1),
                          0 === e &&
                            t.needReadable &&
                            ((0 !== t.highWaterMark
                              ? t.length >= t.highWaterMark
                              : 0 < t.length) ||
                              t.ended))
                        )
                          return (
                            g("read: emitReadable", t.length, t.ended),
                            (0 === t.length && t.ended ? B : A)(this),
                            null
                          );
                        if (0 === (e = k(e, t)) && t.ended)
                          return (0 === t.length && B(this), null);
                        var n = t.needReadable;
                        return (
                          g("need readable", n),
                          (0 === t.length || t.length - e < t.highWaterMark) &&
                            g("length less than watermark", (n = !0)),
                          t.ended || t.reading
                            ? g("reading or ended", (n = !1))
                            : n &&
                              (g("do read"),
                              (t.reading = !0),
                              (t.sync = !0),
                              0 === t.length && (t.needReadable = !0),
                              this._read(t.highWaterMark),
                              (t.sync = !1),
                              t.reading || (e = k(r, t))),
                          null === (n = 0 < e ? D(e, t) : null)
                            ? ((t.needReadable = t.length <= t.highWaterMark),
                              (e = 0))
                            : ((t.length -= e), (t.awaitDrain = 0)),
                          0 === t.length &&
                            (t.ended || (t.needReadable = !0),
                            r !== e && t.ended && B(this)),
                          null !== n && this.emit("data", n),
                          n
                        );
                      }),
                        (E.prototype._read = function (e) {
                          w(this, new y("_read()"));
                        }),
                        (E.prototype.pipe = function (n, e) {
                          var i = this,
                            o = this._readableState;
                          switch (o.pipesCount) {
                            case 0:
                              o.pipes = n;
                              break;
                            case 1:
                              o.pipes = [o.pipes, n];
                              break;
                            default:
                              o.pipes.push(n);
                          }
                          ((o.pipesCount += 1),
                            g("pipe count=%d opts=%j", o.pipesCount, e));
                          var t =
                            (e && !1 === e.end) ||
                            n === f.stdout ||
                            n === f.stderr
                              ? d
                              : s;
                          function s() {
                            (g("onend"), n.end());
                          }
                          (o.endEmitted ? f.nextTick(t) : i.once("end", t),
                            n.on("unpipe", function e(t, r) {
                              (g("onunpipe"),
                                t === i &&
                                  r &&
                                  !1 === r.hasUnpiped &&
                                  ((r.hasUnpiped = !0),
                                  g("cleanup"),
                                  n.removeListener("close", h),
                                  n.removeListener("finish", p),
                                  n.removeListener("drain", a),
                                  n.removeListener("error", u),
                                  n.removeListener("unpipe", e),
                                  i.removeListener("end", s),
                                  i.removeListener("end", d),
                                  i.removeListener("data", l),
                                  (c = !0),
                                  !o.awaitDrain ||
                                    (n._writableState &&
                                      !n._writableState.needDrain) ||
                                    a()));
                            }));
                          var r,
                            a =
                              ((r = i),
                              function () {
                                var e = r._readableState;
                                (g("pipeOnDrain", e.awaitDrain),
                                  e.awaitDrain && e.awaitDrain--,
                                  0 === e.awaitDrain &&
                                    m(r, "data") &&
                                    ((e.flowing = !0), R(r)));
                              });
                          n.on("drain", a);
                          var c = !1;
                          function l(e) {
                            g("ondata");
                            e = n.write(e);
                            (g("dest.write", e),
                              !1 === e &&
                                (((1 === o.pipesCount && o.pipes === n) ||
                                  (1 < o.pipesCount && -1 !== M(o.pipes, n))) &&
                                  !c &&
                                  (g(
                                    "false write response, pause",
                                    o.awaitDrain,
                                  ),
                                  o.awaitDrain++),
                                i.pause()));
                          }
                          function u(e) {
                            (g("onerror", e),
                              d(),
                              n.removeListener("error", u),
                              0 === m(n, "error") && w(n, e));
                          }
                          function h() {
                            (n.removeListener("finish", p), d());
                          }
                          function p() {
                            (g("onfinish"), n.removeListener("close", h), d());
                          }
                          function d() {
                            (g("unpipe"), i.unpipe(n));
                          }
                          return (
                            i.on("data", l),
                            (e = u),
                            "function" == typeof (t = n).prependListener
                              ? t.prependListener("error", e)
                              : t._events && t._events.error
                                ? Array.isArray(t._events.error)
                                  ? t._events.error.unshift(e)
                                  : (t._events.error = [e, t._events.error])
                                : t.on("error", e),
                            n.once("close", h),
                            n.once("finish", p),
                            n.emit("pipe", i),
                            o.flowing || (g("pipe resume"), i.resume()),
                            n
                          );
                        }),
                        (E.prototype.unpipe = function (e) {
                          var t = this._readableState,
                            r = { hasUnpiped: !1 };
                          if (0 === t.pipesCount) return this;
                          if (1 === t.pipesCount)
                            return (
                              (e && e !== t.pipes) ||
                                ((e = e || t.pipes),
                                (t.pipes = null),
                                (t.pipesCount = 0),
                                (t.flowing = !1),
                                e && e.emit("unpipe", this, r)),
                              this
                            );
                          if (!e) {
                            var n = t.pipes,
                              i = t.pipesCount;
                            ((t.pipes = null),
                              (t.pipesCount = 0),
                              (t.flowing = !1));
                            for (var o = 0; o < i; o++)
                              n[o].emit("unpipe", this, { hasUnpiped: !1 });
                            return this;
                          }
                          var s = M(t.pipes, e);
                          return (
                            -1 === s ||
                              (t.pipes.splice(s, 1),
                              --t.pipesCount,
                              1 === t.pipesCount && (t.pipes = t.pipes[0]),
                              e.emit("unpipe", this, r)),
                            this
                          );
                        }),
                        (E.prototype.addListener = E.prototype.on =
                          function (e, t) {
                            var r = a.prototype.on.call(this, e, t),
                              t = this._readableState;
                            return (
                              "data" === e
                                ? ((t.readableListening =
                                    0 < this.listenerCount("readable")),
                                  !1 !== t.flowing && this.resume())
                                : "readable" === e &&
                                  (t.endEmitted ||
                                    t.readableListening ||
                                    ((t.readableListening = t.needReadable =
                                      !0),
                                    (t.flowing = !1),
                                    (t.emittedReadable = !1),
                                    g("on readable", t.length, t.reading),
                                    t.length
                                      ? A(this)
                                      : t.reading || f.nextTick(H, this))),
                              r
                            );
                          }),
                        (E.prototype.removeListener = function (e, t) {
                          t = a.prototype.removeListener.call(this, e, t);
                          return ("readable" === e && f.nextTick(L, this), t);
                        }),
                        (E.prototype.removeAllListeners = function (e) {
                          var t = a.prototype.removeAllListeners.apply(
                            this,
                            arguments,
                          );
                          return (
                            ("readable" !== e && void 0 !== e) ||
                              f.nextTick(L, this),
                            t
                          );
                        }),
                        (E.prototype.resume = function () {
                          var e,
                            t,
                            r = this._readableState;
                          return (
                            r.flowing ||
                              (g("resume"),
                              (r.flowing = !r.readableListening),
                              (e = this),
                              (t = r).resumeScheduled ||
                                ((t.resumeScheduled = !0),
                                f.nextTick(N, e, t))),
                            (r.paused = !1),
                            this
                          );
                        }),
                        (E.prototype.pause = function () {
                          return (
                            g(
                              "call pause flowing=%j",
                              this._readableState.flowing,
                            ),
                            !1 !== this._readableState.flowing &&
                              (g("pause"),
                              (this._readableState.flowing = !1),
                              this.emit("pause")),
                            (this._readableState.paused = !0),
                            this
                          );
                        }),
                        (E.prototype.wrap = function (t) {
                          var e,
                            r = this,
                            n = this._readableState,
                            i = !1;
                          for (e in (t.on("end", function () {
                            var e;
                            (g("wrapped end"),
                              n.decoder &&
                                !n.ended &&
                                (e = n.decoder.end()) &&
                                e.length &&
                                r.push(e),
                              r.push(null));
                          }),
                          t.on("data", function (e) {
                            (g("wrapped data"),
                              n.decoder && (e = n.decoder.write(e)),
                              (n.objectMode && null == e) ||
                                ((n.objectMode || (e && e.length)) &&
                                  (r.push(e) || ((i = !0), t.pause()))));
                          }),
                          t))
                            void 0 === this[e] &&
                              "function" == typeof t[e] &&
                              (this[e] = (function (e) {
                                return function () {
                                  return t[e].apply(t, arguments);
                                };
                              })(e));
                          for (var o = 0; o < x.length; o++)
                            t.on(x[o], this.emit.bind(this, x[o]));
                          return (
                            (this._read = function (e) {
                              (g("wrapped _read", e),
                                i && ((i = !1), t.resume()));
                            }),
                            this
                          );
                        }),
                        "function" == typeof Symbol &&
                          (E.prototype[Symbol.asyncIterator] = function () {
                            return (r = void 0 === r ? i(828) : r)(this);
                          }),
                        Object.defineProperty(
                          E.prototype,
                          "readableHighWaterMark",
                          {
                            enumerable: !1,
                            get: function () {
                              return this._readableState.highWaterMark;
                            },
                          },
                        ),
                        Object.defineProperty(E.prototype, "readableBuffer", {
                          enumerable: !1,
                          get: function () {
                            return (
                              this._readableState && this._readableState.buffer
                            );
                          },
                        }),
                        Object.defineProperty(E.prototype, "readableFlowing", {
                          enumerable: !1,
                          get: function () {
                            return this._readableState.flowing;
                          },
                          set: function (e) {
                            this._readableState &&
                              (this._readableState.flowing = e);
                          },
                        }),
                        (E._fromList = D),
                        Object.defineProperty(E.prototype, "readableLength", {
                          enumerable: !1,
                          get: function () {
                            return this._readableState.length;
                          },
                        }),
                        "function" == typeof Symbol &&
                          (E.from = function (e, t) {
                            return (s = void 0 === s ? i(1265) : s)(E, e, t);
                          }));
                    },
                    4473: (e, t, r) => {
                      "use strict";
                      e.exports = c;
                      var e = r(8106).q,
                        n = e.ERR_METHOD_NOT_IMPLEMENTED,
                        i = e.ERR_MULTIPLE_CALLBACK,
                        o = e.ERR_TRANSFORM_ALREADY_TRANSFORMING,
                        s = e.ERR_TRANSFORM_WITH_LENGTH_0,
                        a = r(8656);
                      function c(e) {
                        if (!(this instanceof c)) return new c(e);
                        (a.call(this, e),
                          (this._transformState = {
                            afterTransform: function (e, t) {
                              var r = this._transformState;
                              r.transforming = !1;
                              var n = r.writecb;
                              if (null === n)
                                return this.emit("error", new i());
                              ((r.writechunk = null),
                                (r.writecb = null) != t && this.push(t),
                                n(e),
                                ((e = this._readableState).reading = !1),
                                (e.needReadable ||
                                  e.length < e.highWaterMark) &&
                                  this._read(e.highWaterMark));
                            }.bind(this),
                            needTransform: !1,
                            transforming: !1,
                            writecb: null,
                            writechunk: null,
                            writeencoding: null,
                          }),
                          (this._readableState.needReadable = !0),
                          (this._readableState.sync = !1),
                          e &&
                            ("function" == typeof e.transform &&
                              (this._transform = e.transform),
                            "function" == typeof e.flush &&
                              (this._flush = e.flush)),
                          this.on("prefinish", l));
                      }
                      function l() {
                        var r = this;
                        "function" != typeof this._flush ||
                        this._readableState.destroyed
                          ? u(this, null, null)
                          : this._flush(function (e, t) {
                              u(r, e, t);
                            });
                      }
                      function u(e, t, r) {
                        if (t) return e.emit("error", t);
                        if ((null != r && e.push(r), e._writableState.length))
                          throw new s();
                        if (e._transformState.transforming) throw new o();
                        return e.push(null);
                      }
                      (r(5717)(c, a),
                        (c.prototype.push = function (e, t) {
                          return (
                            (this._transformState.needTransform = !1),
                            a.prototype.push.call(this, e, t)
                          );
                        }),
                        (c.prototype._transform = function (e, t, r) {
                          r(new n("_transform()"));
                        }),
                        (c.prototype._write = function (e, t, r) {
                          var n = this._transformState;
                          ((n.writecb = r),
                            (n.writechunk = e),
                            (n.writeencoding = t),
                            n.transforming ||
                              ((t = this._readableState),
                              (n.needTransform ||
                                t.needReadable ||
                                t.length < t.highWaterMark) &&
                                this._read(t.highWaterMark)));
                        }),
                        (c.prototype._read = function (e) {
                          var t = this._transformState;
                          null === t.writechunk || t.transforming
                            ? (t.needTransform = !0)
                            : ((t.transforming = !0),
                              this._transform(
                                t.writechunk,
                                t.writeencoding,
                                t.afterTransform,
                              ));
                        }),
                        (c.prototype._destroy = function (e, t) {
                          a.prototype._destroy.call(this, e, function (e) {
                            t(e);
                          });
                        }));
                    },
                    323: (e, t, n) => {
                      "use strict";
                      var i,
                        h = n(4155);
                      function u(e) {
                        var t = this;
                        ((this.next = null),
                          (this.entry = null),
                          (this.finish = function () {
                            !(function (e, t) {
                              var r = e.entry;
                              for (e.entry = null; r; ) {
                                var n = r.callback;
                                (t.pendingcb--, n(void 0), (r = r.next));
                              }
                              t.corkedRequestsFree.next = e;
                            })(t, e);
                          }));
                      }
                      (e.exports = T).WritableState = E;
                      var r,
                        o = { deprecate: n(4927) },
                        s = n(3194),
                        p = n(8764).Buffer,
                        d = n.g.Uint8Array || function () {},
                        a = n(1029),
                        c = n(94).getHighWaterMark,
                        e = n(8106).q,
                        f = e.ERR_INVALID_ARG_TYPE,
                        l = e.ERR_METHOD_NOT_IMPLEMENTED,
                        m = e.ERR_MULTIPLE_CALLBACK,
                        g = e.ERR_STREAM_CANNOT_PIPE,
                        v = e.ERR_STREAM_DESTROYED,
                        y = e.ERR_STREAM_NULL_VALUES,
                        b = e.ERR_STREAM_WRITE_AFTER_END,
                        w = e.ERR_UNKNOWN_ENCODING,
                        x = a.errorOrDestroy;
                      function S() {}
                      function E(e, t, r) {
                        ((i = i || n(8656)),
                          "boolean" != typeof r && (r = t instanceof i),
                          (this.objectMode = !!(e = e || {}).objectMode),
                          r &&
                            (this.objectMode =
                              this.objectMode || !!e.writableObjectMode),
                          (this.highWaterMark = c(
                            this,
                            e,
                            "writableHighWaterMark",
                            r,
                          )),
                          (this.finalCalled = !1),
                          (this.needDrain = !1),
                          (this.ending = !1),
                          (this.ended = !1),
                          (this.finished = !1));
                        r = (this.destroyed = !1) === e.decodeStrings;
                        ((this.decodeStrings = !r),
                          (this.defaultEncoding = e.defaultEncoding || "utf8"),
                          (this.length = 0),
                          (this.writing = !1),
                          (this.corked = 0),
                          (this.sync = !0),
                          (this.bufferProcessing = !1),
                          (this.onwrite = function (e) {
                            !(function (e, t) {
                              var r,
                                n,
                                i,
                                o,
                                s = e._writableState,
                                a = s.sync,
                                c = s.writecb;
                              if ("function" != typeof c) throw new m();
                              (((o = s).writing = !1),
                                (o.writecb = null),
                                (o.length -= o.writelen),
                                (o.writelen = 0),
                                t
                                  ? ((r = e),
                                    (i = a),
                                    (o = t),
                                    (t = c),
                                    --(n = s).pendingcb,
                                    i
                                      ? (h.nextTick(t, o),
                                        h.nextTick(I, r, n),
                                        (r._writableState.errorEmitted = !0),
                                        x(r, o))
                                      : (t(o),
                                        (r._writableState.errorEmitted = !0),
                                        x(r, o),
                                        I(r, n)))
                                  : ((n = A(s) || e.destroyed) ||
                                      s.corked ||
                                      s.bufferProcessing ||
                                      !s.bufferedRequest ||
                                      k(e, s),
                                    a
                                      ? h.nextTick(P, e, s, n, c)
                                      : P(e, s, n, c)));
                            })(t, e);
                          }),
                          (this.writecb = null),
                          (this.writelen = 0),
                          (this.bufferedRequest = null),
                          (this.lastBufferedRequest = null),
                          (this.pendingcb = 0),
                          (this.prefinished = !1),
                          (this.errorEmitted = !1),
                          (this.emitClose = !1 !== e.emitClose),
                          (this.autoDestroy = !!e.autoDestroy),
                          (this.bufferedRequestCount = 0),
                          (this.corkedRequestsFree = new u(this)));
                      }
                      function T(e) {
                        var t = this instanceof (i = i || n(8656));
                        if (!t && !r.call(T, this)) return new T(e);
                        ((this._writableState = new E(e, this, t)),
                          (this.writable = !0),
                          e &&
                            ("function" == typeof e.write &&
                              (this._write = e.write),
                            "function" == typeof e.writev &&
                              (this._writev = e.writev),
                            "function" == typeof e.destroy &&
                              (this._destroy = e.destroy),
                            "function" == typeof e.final &&
                              (this._final = e.final)),
                          s.call(this));
                      }
                      function C(e, t, r, n, i, o, s) {
                        ((t.writelen = n),
                          (t.writecb = s),
                          (t.writing = !0),
                          (t.sync = !0),
                          t.destroyed
                            ? t.onwrite(new v("write"))
                            : r
                              ? e._writev(i, t.onwrite)
                              : e._write(i, o, t.onwrite),
                          (t.sync = !1));
                      }
                      function P(e, t, r, n) {
                        var i;
                        (r ||
                          ((i = e),
                          0 === (r = t).length &&
                            r.needDrain &&
                            ((r.needDrain = !1), i.emit("drain"))),
                          t.pendingcb--,
                          n(),
                          I(e, t));
                      }
                      function k(e, t) {
                        t.bufferProcessing = !0;
                        var r = t.bufferedRequest;
                        if (e._writev && r && r.next) {
                          var n = t.bufferedRequestCount,
                            i = new Array(n),
                            n = t.corkedRequestsFree;
                          n.entry = r;
                          for (var o = 0, s = !0; r; )
                            ((i[o] = r).isBuf || (s = !1),
                              (r = r.next),
                              (o += 1));
                          ((i.allBuffers = s),
                            C(e, t, !0, t.length, i, "", n.finish),
                            t.pendingcb++,
                            (t.lastBufferedRequest = null),
                            n.next
                              ? ((t.corkedRequestsFree = n.next),
                                (n.next = null))
                              : (t.corkedRequestsFree = new u(t)),
                            (t.bufferedRequestCount = 0));
                        } else {
                          for (; r; ) {
                            var a = r.chunk,
                              c = r.encoding,
                              l = r.callback;
                            if (
                              (C(
                                e,
                                t,
                                !1,
                                t.objectMode ? 1 : a.length,
                                a,
                                c,
                                l,
                              ),
                              (r = r.next),
                              t.bufferedRequestCount--,
                              t.writing)
                            )
                              break;
                          }
                          null === r && (t.lastBufferedRequest = null);
                        }
                        ((t.bufferedRequest = r), (t.bufferProcessing = !1));
                      }
                      function A(e) {
                        return (
                          e.ending &&
                          0 === e.length &&
                          null === e.bufferedRequest &&
                          !e.finished &&
                          !e.writing
                        );
                      }
                      function _(t, r) {
                        t._final(function (e) {
                          (r.pendingcb--,
                            e && x(t, e),
                            (r.prefinished = !0),
                            t.emit("prefinish"),
                            I(t, r));
                        });
                      }
                      function I(e, t) {
                        var r,
                          n,
                          i = A(t);
                        return (
                          i &&
                            ((r = e),
                            (n = t).prefinished ||
                              n.finalCalled ||
                              ("function" != typeof r._final || n.destroyed
                                ? ((n.prefinished = !0), r.emit("prefinish"))
                                : (n.pendingcb++,
                                  (n.finalCalled = !0),
                                  h.nextTick(_, r, n))),
                            0 === t.pendingcb &&
                              ((t.finished = !0),
                              e.emit("finish"),
                              t.autoDestroy)) &&
                            (!(t = e._readableState) ||
                              (t.autoDestroy && t.endEmitted)) &&
                            e.destroy(),
                          i
                        );
                      }
                      (n(5717)(T, s),
                        (E.prototype.getBuffer = function () {
                          for (var e = this.bufferedRequest, t = []; e; )
                            (t.push(e), (e = e.next));
                          return t;
                        }),
                        (function () {
                          try {
                            Object.defineProperty(E.prototype, "buffer", {
                              get: o.deprecate(
                                function () {
                                  return this.getBuffer();
                                },
                                "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.",
                                "DEP0003",
                              ),
                            });
                          } catch (e) {}
                        })(),
                        "function" == typeof Symbol &&
                        Symbol.hasInstance &&
                        "function" ==
                          typeof Function.prototype[Symbol.hasInstance]
                          ? ((r = Function.prototype[Symbol.hasInstance]),
                            Object.defineProperty(T, Symbol.hasInstance, {
                              value: function (e) {
                                return (
                                  !!r.call(this, e) ||
                                  (this === T &&
                                    e &&
                                    e._writableState instanceof E)
                                );
                              },
                            }))
                          : (r = function (e) {
                              return e instanceof this;
                            }),
                        (T.prototype.pipe = function () {
                          x(this, new g());
                        }),
                        (T.prototype.write = function (e, t, r) {
                          var n,
                            i,
                            o,
                            s,
                            a,
                            c = this._writableState,
                            l = !1,
                            u =
                              !c.objectMode &&
                              ((u = e), p.isBuffer(u) || u instanceof d);
                          return (
                            u && !p.isBuffer(e) && ((a = e), (e = p.from(a))),
                            "function" == typeof t && ((r = t), (t = null)),
                            (t = u ? "buffer" : t || c.defaultEncoding),
                            "function" != typeof r && (r = S),
                            c.ending
                              ? ((i = this),
                                (o = r),
                                (s = new b()),
                                x(i, s),
                                h.nextTick(o, s))
                              : (!u &&
                                  ((a = this),
                                  (i = c),
                                  (o = r),
                                  null === (s = e)
                                    ? (n = new y())
                                    : "string" == typeof s ||
                                      i.objectMode ||
                                      (n = new f(
                                        "chunk",
                                        ["string", "Buffer"],
                                        s,
                                      )),
                                  n && (x(a, n), h.nextTick(o, n), !0))) ||
                                (c.pendingcb++,
                                (l = (function (e, t, r, n, i, o) {
                                  r ||
                                    ((a = n),
                                    (c = i),
                                    (a =
                                      t.objectMode ||
                                      !1 === t.decodeStrings ||
                                      "string" != typeof a
                                        ? a
                                        : p.from(a, c)),
                                    n !== a &&
                                      ((r = !0), (i = "buffer"), (n = a)));
                                  var s = t.objectMode ? 1 : n.length;
                                  t.length += s;
                                  var a,
                                    c = t.length < t.highWaterMark;
                                  return (
                                    c || (t.needDrain = !0),
                                    t.writing || t.corked
                                      ? ((a = t.lastBufferedRequest),
                                        (t.lastBufferedRequest = {
                                          chunk: n,
                                          encoding: i,
                                          isBuf: r,
                                          callback: o,
                                          next: null,
                                        }),
                                        a
                                          ? (a.next = t.lastBufferedRequest)
                                          : (t.bufferedRequest =
                                              t.lastBufferedRequest),
                                        (t.bufferedRequestCount += 1))
                                      : C(e, t, !1, s, n, i, o),
                                    c
                                  );
                                })(this, c, u, e, t, r))),
                            l
                          );
                        }),
                        (T.prototype.cork = function () {
                          this._writableState.corked++;
                        }),
                        (T.prototype.uncork = function () {
                          var e = this._writableState;
                          e.corked &&
                            (e.corked--,
                            e.writing ||
                              e.corked ||
                              e.bufferProcessing ||
                              !e.bufferedRequest ||
                              k(this, e));
                        }),
                        (T.prototype.setDefaultEncoding = function (e) {
                          if (
                            ("string" == typeof e && (e = e.toLowerCase()),
                            !(
                              -1 <
                              [
                                "hex",
                                "utf8",
                                "utf-8",
                                "ascii",
                                "binary",
                                "base64",
                                "ucs2",
                                "ucs-2",
                                "utf16le",
                                "utf-16le",
                                "raw",
                              ].indexOf((e + "").toLowerCase())
                            ))
                          )
                            throw new w(e);
                          return (
                            (this._writableState.defaultEncoding = e),
                            this
                          );
                        }),
                        Object.defineProperty(T.prototype, "writableBuffer", {
                          enumerable: !1,
                          get: function () {
                            return (
                              this._writableState &&
                              this._writableState.getBuffer()
                            );
                          },
                        }),
                        Object.defineProperty(
                          T.prototype,
                          "writableHighWaterMark",
                          {
                            enumerable: !1,
                            get: function () {
                              return this._writableState.highWaterMark;
                            },
                          },
                        ),
                        (T.prototype._write = function (e, t, r) {
                          r(new l("_write()"));
                        }),
                        (T.prototype._writev = null),
                        (T.prototype.end = function (e, t, r) {
                          var n = this._writableState;
                          return (
                            "function" == typeof e
                              ? ((r = e), (t = e = null))
                              : "function" == typeof t && ((r = t), (t = null)),
                            null != e && this.write(e, t),
                            n.corked && ((n.corked = 1), this.uncork()),
                            n.ending ||
                              ((t = this),
                              (r = r),
                              ((n = n).ending = !0),
                              I(t, n),
                              r &&
                                (n.finished
                                  ? h.nextTick(r)
                                  : t.once("finish", r)),
                              (n.ended = !0),
                              (t.writable = !1)),
                            this
                          );
                        }),
                        Object.defineProperty(T.prototype, "writableLength", {
                          enumerable: !1,
                          get: function () {
                            return this._writableState.length;
                          },
                        }),
                        Object.defineProperty(T.prototype, "destroyed", {
                          enumerable: !1,
                          get: function () {
                            return (
                              void 0 !== this._writableState &&
                              this._writableState.destroyed
                            );
                          },
                          set: function (e) {
                            this._writableState &&
                              (this._writableState.destroyed = e);
                          },
                        }),
                        (T.prototype.destroy = a.destroy),
                        (T.prototype._undestroy = a.undestroy),
                        (T.prototype._destroy = function (e, t) {
                          t(e);
                        }));
                    },
                    828: (e, t, r) => {
                      "use strict";
                      var o = r(4155);
                      function i(e, t, r) {
                        return (
                          t in e
                            ? Object.defineProperty(e, t, {
                                value: r,
                                enumerable: !0,
                                configurable: !0,
                                writable: !0,
                              })
                            : (e[t] = r),
                          e
                        );
                      }
                      var s = r(1086),
                        a = Symbol("lastResolve"),
                        c = Symbol("lastReject"),
                        l = Symbol("error"),
                        u = Symbol("ended"),
                        h = Symbol("lastPromise"),
                        p = Symbol("handlePromise"),
                        d = Symbol("stream");
                      function f(e, t) {
                        return { value: e, done: t };
                      }
                      function m(e) {
                        var t,
                          r = e[a];
                        null === r ||
                          (null !== (t = e[d].read()) &&
                            ((e[h] = null),
                            (e[a] = null),
                            (e[c] = null),
                            r(f(t, !1))));
                      }
                      var n = Object.getPrototypeOf(function () {}),
                        g = Object.setPrototypeOf(
                          (i(
                            (r = {
                              get stream() {
                                return this[d];
                              },
                              next: function () {
                                var r = this,
                                  e = this[l];
                                if (null !== e) return Promise.reject(e);
                                if (this[u])
                                  return Promise.resolve(f(void 0, !0));
                                if (this[d].destroyed)
                                  return new Promise(function (e, t) {
                                    o.nextTick(function () {
                                      r[l] ? t(r[l]) : e(f(void 0, !0));
                                    });
                                  });
                                var t,
                                  n,
                                  i,
                                  e = this[h];
                                if (e)
                                  t = new Promise(
                                    ((n = e),
                                    (i = this),
                                    function (e, t) {
                                      n.then(function () {
                                        i[u] ? e(f(void 0, !0)) : i[p](e, t);
                                      }, t);
                                    }),
                                  );
                                else {
                                  e = this[d].read();
                                  if (null !== e)
                                    return Promise.resolve(f(e, !1));
                                  t = new Promise(this[p]);
                                }
                                return (this[h] = t);
                              },
                            }),
                            Symbol.asyncIterator,
                            function () {
                              return this;
                            },
                          ),
                          i(r, "return", function () {
                            var e = this;
                            return new Promise(function (t, r) {
                              e[d].destroy(null, function (e) {
                                e ? r(e) : t(f(void 0, !0));
                              });
                            });
                          }),
                          r),
                          n,
                        );
                      e.exports = function (e) {
                        var t,
                          n = Object.create(
                            g,
                            (i((t = {}), d, { value: e, writable: !0 }),
                            i(t, a, { value: null, writable: !0 }),
                            i(t, c, { value: null, writable: !0 }),
                            i(t, l, { value: null, writable: !0 }),
                            i(t, u, {
                              value: e._readableState.endEmitted,
                              writable: !0,
                            }),
                            i(t, p, {
                              value: function (e, t) {
                                var r = n[d].read();
                                r
                                  ? ((n[h] = null),
                                    (n[a] = null),
                                    (n[c] = null),
                                    e(f(r, !1)))
                                  : ((n[a] = e), (n[c] = t));
                              },
                              writable: !0,
                            }),
                            t),
                          );
                        return (
                          (n[h] = null),
                          s(e, function (e) {
                            if (e && "ERR_STREAM_PREMATURE_CLOSE" !== e.code) {
                              var t = n[c];
                              return (
                                null !== t &&
                                  ((n[h] = null),
                                  (n[a] = null),
                                  (n[c] = null),
                                  t(e)),
                                void (n[l] = e)
                              );
                            }
                            e = n[a];
                            (null !== e &&
                              ((n[h] = null),
                              (n[a] = null),
                              e(f(void 0, !(n[c] = null)))),
                              (n[u] = !0));
                          }),
                          e.on(
                            "readable",
                            function (e) {
                              o.nextTick(m, e);
                            }.bind(null, n),
                          ),
                          n
                        );
                      };
                    },
                    9686: (e, t, r) => {
                      "use strict";
                      function o(t, e) {
                        var r,
                          n = Object.keys(t);
                        return (
                          Object.getOwnPropertySymbols &&
                            ((r = Object.getOwnPropertySymbols(t)),
                            e &&
                              (r = r.filter(function (e) {
                                return Object.getOwnPropertyDescriptor(t, e)
                                  .enumerable;
                              })),
                            n.push.apply(n, r)),
                          n
                        );
                      }
                      var s = r(8764).Buffer,
                        n = r(5575).inspect,
                        r = (n && n.custom) || "inspect";
                      function i() {
                        (!(function (e) {
                          if (!(e instanceof i))
                            throw new TypeError(
                              "Cannot call a class as a function",
                            );
                        })(this),
                          (this.head = null),
                          (this.tail = null),
                          (this.length = 0));
                      }
                      e.exports =
                        ((function (e, t) {
                          for (var r = 0; r < t.length; r++) {
                            var n = t[r];
                            ((n.enumerable = n.enumerable || !1),
                              (n.configurable = !0),
                              "value" in n && (n.writable = !0),
                              Object.defineProperty(e, n.key, n));
                          }
                        })(i.prototype, [
                          {
                            key: "push",
                            value: function (e) {
                              e = { data: e, next: null };
                              (0 < this.length
                                ? (this.tail.next = e)
                                : (this.head = e),
                                (this.tail = e),
                                ++this.length);
                            },
                          },
                          {
                            key: "unshift",
                            value: function (e) {
                              e = { data: e, next: this.head };
                              (0 === this.length && (this.tail = e),
                                (this.head = e),
                                ++this.length);
                            },
                          },
                          {
                            key: "shift",
                            value: function () {
                              if (0 !== this.length) {
                                var e = this.head.data;
                                return (
                                  1 === this.length
                                    ? (this.head = this.tail = null)
                                    : (this.head = this.head.next),
                                  --this.length,
                                  e
                                );
                              }
                            },
                          },
                          {
                            key: "clear",
                            value: function () {
                              ((this.head = this.tail = null),
                                (this.length = 0));
                            },
                          },
                          {
                            key: "join",
                            value: function (e) {
                              if (0 === this.length) return "";
                              for (
                                var t = this.head, r = "" + t.data;
                                (t = t.next);

                              )
                                r += e + t.data;
                              return r;
                            },
                          },
                          {
                            key: "concat",
                            value: function (e) {
                              if (0 === this.length) return s.alloc(0);
                              for (
                                var t,
                                  r,
                                  n = s.allocUnsafe(e >>> 0),
                                  i = this.head,
                                  o = 0;
                                i;

                              )
                                ((t = i.data),
                                  (r = o),
                                  s.prototype.copy.call(t, n, r),
                                  (o += i.data.length),
                                  (i = i.next));
                              return n;
                            },
                          },
                          {
                            key: "consume",
                            value: function (e, t) {
                              var r;
                              return (
                                e < this.head.data.length
                                  ? ((r = this.head.data.slice(0, e)),
                                    (this.head.data = this.head.data.slice(e)))
                                  : (r =
                                      e === this.head.data.length
                                        ? this.shift()
                                        : t
                                          ? this._getString(e)
                                          : this._getBuffer(e)),
                                r
                              );
                            },
                          },
                          {
                            key: "first",
                            value: function () {
                              return this.head.data;
                            },
                          },
                          {
                            key: "_getString",
                            value: function (e) {
                              var t = this.head,
                                r = 1,
                                n = t.data;
                              for (e -= n.length; (t = t.next); ) {
                                var i = t.data,
                                  o = e > i.length ? i.length : e;
                                if (
                                  (o === i.length
                                    ? (n += i)
                                    : (n += i.slice(0, e)),
                                  0 == (e -= o))
                                ) {
                                  o === i.length
                                    ? (++r,
                                      t.next
                                        ? (this.head = t.next)
                                        : (this.head = this.tail = null))
                                    : ((this.head = t).data = i.slice(o));
                                  break;
                                }
                                ++r;
                              }
                              return ((this.length -= r), n);
                            },
                          },
                          {
                            key: "_getBuffer",
                            value: function (e) {
                              var t = s.allocUnsafe(e),
                                r = this.head,
                                n = 1;
                              for (
                                r.data.copy(t), e -= r.data.length;
                                (r = r.next);

                              ) {
                                var i = r.data,
                                  o = e > i.length ? i.length : e;
                                if (
                                  (i.copy(t, t.length - e, 0, o), 0 == (e -= o))
                                ) {
                                  o === i.length
                                    ? (++n,
                                      r.next
                                        ? (this.head = r.next)
                                        : (this.head = this.tail = null))
                                    : ((this.head = r).data = i.slice(o));
                                  break;
                                }
                                ++n;
                              }
                              return ((this.length -= n), t);
                            },
                          },
                          {
                            key: r,
                            value: function (e, t) {
                              return n(
                                this,
                                (function (n) {
                                  for (var e = 1; e < arguments.length; e++) {
                                    var i =
                                      null != arguments[e] ? arguments[e] : {};
                                    e % 2
                                      ? o(Object(i), !0).forEach(function (e) {
                                          var t, r;
                                          ((t = n),
                                            (e = i[(r = e)]),
                                            r in t
                                              ? Object.defineProperty(t, r, {
                                                  value: e,
                                                  enumerable: !0,
                                                  configurable: !0,
                                                  writable: !0,
                                                })
                                              : (t[r] = e));
                                        })
                                      : Object.getOwnPropertyDescriptors
                                        ? Object.defineProperties(
                                            n,
                                            Object.getOwnPropertyDescriptors(i),
                                          )
                                        : o(Object(i)).forEach(function (e) {
                                            Object.defineProperty(
                                              n,
                                              e,
                                              Object.getOwnPropertyDescriptor(
                                                i,
                                                e,
                                              ),
                                            );
                                          });
                                  }
                                  return n;
                                })({}, t, { depth: 0, customInspect: !1 }),
                              );
                            },
                          },
                        ]),
                        i);
                    },
                    1029: (e, t, r) => {
                      "use strict";
                      var o = r(4155);
                      function s(e, t) {
                        (c(e, t), a(e));
                      }
                      function a(e) {
                        (e._writableState && !e._writableState.emitClose) ||
                          (e._readableState && !e._readableState.emitClose) ||
                          e.emit("close");
                      }
                      function c(e, t) {
                        e.emit("error", t);
                      }
                      e.exports = {
                        destroy: function (e, t) {
                          var r = this,
                            n =
                              this._readableState &&
                              this._readableState.destroyed,
                            i =
                              this._writableState &&
                              this._writableState.destroyed;
                          return (
                            n || i
                              ? t
                                ? t(e)
                                : e &&
                                  (this._writableState
                                    ? this._writableState.errorEmitted ||
                                      ((this._writableState.errorEmitted = !0),
                                      o.nextTick(c, this, e))
                                    : o.nextTick(c, this, e))
                              : (this._readableState &&
                                  (this._readableState.destroyed = !0),
                                this._writableState &&
                                  (this._writableState.destroyed = !0),
                                this._destroy(e || null, function (e) {
                                  !t && e
                                    ? r._writableState
                                      ? r._writableState.errorEmitted
                                        ? o.nextTick(a, r)
                                        : ((r._writableState.errorEmitted = !0),
                                          o.nextTick(s, r, e))
                                      : o.nextTick(s, r, e)
                                    : t
                                      ? (o.nextTick(a, r), t(e))
                                      : o.nextTick(a, r);
                                })),
                            this
                          );
                        },
                        undestroy: function () {
                          (this._readableState &&
                            ((this._readableState.destroyed = !1),
                            (this._readableState.reading = !1),
                            (this._readableState.ended = !1),
                            (this._readableState.endEmitted = !1)),
                            this._writableState &&
                              ((this._writableState.destroyed = !1),
                              (this._writableState.ended = !1),
                              (this._writableState.ending = !1),
                              (this._writableState.finalCalled = !1),
                              (this._writableState.prefinished = !1),
                              (this._writableState.finished = !1),
                              (this._writableState.errorEmitted = !1)));
                        },
                        errorOrDestroy: function (e, t) {
                          var r = e._readableState,
                            n = e._writableState;
                          (r && r.autoDestroy) || (n && n.autoDestroy)
                            ? e.destroy(t)
                            : e.emit("error", t);
                        },
                      };
                    },
                    1086: (e, t, r) => {
                      "use strict";
                      var g = r(8106).q.ERR_STREAM_PREMATURE_CLOSE;
                      function v() {}
                      e.exports = function e(t, r, n) {
                        if ("function" == typeof r) return e(t, null, r);
                        var i, o;
                        ((i = n || v),
                          (o = !1),
                          (n = function () {
                            if (!o) {
                              o = !0;
                              for (
                                var e = arguments.length,
                                  t = new Array(e),
                                  r = 0;
                                r < e;
                                r++
                              )
                                t[r] = arguments[r];
                              i.apply(this, t);
                            }
                          }));
                        function s() {
                          t.writable || f();
                        }
                        function a() {
                          ((m = !(h = !1)), p || n.call(t));
                        }
                        function c(e) {
                          n.call(t, e);
                        }
                        function l() {
                          var e;
                          return h && !m
                            ? ((t._readableState && t._readableState.ended) ||
                                (e = new g()),
                              n.call(t, e))
                            : p && !d
                              ? ((t._writableState && t._writableState.ended) ||
                                  (e = new g()),
                                n.call(t, e))
                              : void 0;
                        }
                        function u() {
                          t.req.on("finish", f);
                        }
                        var h =
                            (r = r || {}).readable ||
                            (!1 !== r.readable && t.readable),
                          p = r.writable || (!1 !== r.writable && t.writable),
                          d = t._writableState && t._writableState.finished,
                          f = function () {
                            ((d = !(p = !1)), h || n.call(t));
                          },
                          m = t._readableState && t._readableState.endEmitted;
                        return (
                          t.setHeader && "function" == typeof t.abort
                            ? (t.on("complete", f),
                              t.on("abort", l),
                              t.req ? u() : t.on("request", u))
                            : p &&
                              !t._writableState &&
                              (t.on("end", s), t.on("close", s)),
                          t.on("end", a),
                          t.on("finish", f),
                          !1 !== r.error && t.on("error", c),
                          t.on("close", l),
                          function () {
                            (t.removeListener("complete", f),
                              t.removeListener("abort", l),
                              t.removeListener("request", u),
                              t.req && t.req.removeListener("finish", f),
                              t.removeListener("end", s),
                              t.removeListener("close", s),
                              t.removeListener("finish", f),
                              t.removeListener("end", a),
                              t.removeListener("error", c),
                              t.removeListener("close", l));
                          }
                        );
                      };
                    },
                    1265: (e) => {
                      e.exports = function () {
                        throw new Error(
                          "Readable.from is not available in the browser",
                        );
                      };
                    },
                    6472: (e, t, c) => {
                      "use strict";
                      var l,
                        r = c(8106).q,
                        a = r.ERR_MISSING_ARGS,
                        u = r.ERR_STREAM_DESTROYED;
                      function h(e) {
                        if (e) throw e;
                      }
                      function p(e) {
                        e();
                      }
                      function d(e, t) {
                        return e.pipe(t);
                      }
                      e.exports = function () {
                        for (
                          var e = arguments.length, n = new Array(e), t = 0;
                          t < e;
                          t++
                        )
                          n[t] = arguments[t];
                        var i,
                          r,
                          o =
                            !(r = n).length ||
                            "function" != typeof r[r.length - 1]
                              ? h
                              : r.pop();
                        if ((n = Array.isArray(n[0]) ? n[0] : n).length < 2)
                          throw new a("streams");
                        var s = n.map(function (e, t) {
                          var r = t < n.length - 1;
                          return (function (t, e, r, n) {
                            var i, o;
                            ((i = n), (o = !1));
                            var s = !(n = function () {
                              o || ((o = !0), i.apply(void 0, arguments));
                            });
                            (t.on("close", function () {
                              s = !0;
                            }),
                              (l = void 0 === l ? c(1086) : l)(
                                t,
                                { readable: e, writable: r },
                                function (e) {
                                  return e ? n(e) : ((s = !0), void n());
                                },
                              ));
                            var a = !1;
                            return function (e) {
                              if (!s && !a)
                                return (
                                  (a = !0),
                                  t.setHeader && "function" == typeof t.abort
                                    ? t.abort()
                                    : "function" == typeof t.destroy
                                      ? t.destroy()
                                      : void n(e || new u("pipe"))
                                );
                            };
                          })(e, r, 0 < t, function (e) {
                            ((i = i || e),
                              e && s.forEach(p),
                              r || (s.forEach(p), o(i)));
                          });
                        });
                        return n.reduce(d);
                      };
                    },
                    94: (e, t, r) => {
                      "use strict";
                      var i = r(8106).q.ERR_INVALID_OPT_VALUE;
                      e.exports = {
                        getHighWaterMark: function (e, t, r, n) {
                          t =
                            null != t.highWaterMark
                              ? t.highWaterMark
                              : n
                                ? t[r]
                                : null;
                          if (null == t) return e.objectMode ? 16 : 16384;
                          if (!isFinite(t) || Math.floor(t) !== t || t < 0)
                            throw new i(n ? r : "highWaterMark", t);
                          return Math.floor(t);
                        },
                      };
                    },
                    3194: (e, t, r) => {
                      e.exports = r(7187).EventEmitter;
                    },
                    2553: (e, t, r) => {
                      "use strict";
                      var n = r(9509).Buffer,
                        i =
                          n.isEncoding ||
                          function (e) {
                            switch ((e = "" + e) && e.toLowerCase()) {
                              case "hex":
                              case "utf8":
                              case "utf-8":
                              case "ascii":
                              case "binary":
                              case "base64":
                              case "ucs2":
                              case "ucs-2":
                              case "utf16le":
                              case "utf-16le":
                              case "raw":
                                return !0;
                              default:
                                return !1;
                            }
                          };
                      function o(e) {
                        var t;
                        switch (
                          ((this.encoding = (function (e) {
                            var t = (function (e) {
                              if (!e) return "utf8";
                              for (var t; ; )
                                switch (e) {
                                  case "utf8":
                                  case "utf-8":
                                    return "utf8";
                                  case "ucs2":
                                  case "ucs-2":
                                  case "utf16le":
                                  case "utf-16le":
                                    return "utf16le";
                                  case "latin1":
                                  case "binary":
                                    return "latin1";
                                  case "base64":
                                  case "ascii":
                                  case "hex":
                                    return e;
                                  default:
                                    if (t) return;
                                    ((e = ("" + e).toLowerCase()), (t = !0));
                                }
                            })(e);
                            if (
                              "string" != typeof t &&
                              (n.isEncoding === i || !i(e))
                            )
                              throw new Error("Unknown encoding: " + e);
                            return t || e;
                          })(e)),
                          this.encoding)
                        ) {
                          case "utf16le":
                            ((this.text = c), (this.end = l), (t = 4));
                            break;
                          case "utf8":
                            ((this.fillLast = a), (t = 4));
                            break;
                          case "base64":
                            ((this.text = u), (this.end = h), (t = 3));
                            break;
                          default:
                            return ((this.write = p), void (this.end = d));
                        }
                        ((this.lastNeed = 0),
                          (this.lastTotal = 0),
                          (this.lastChar = n.allocUnsafe(t)));
                      }
                      function s(e) {
                        return e <= 127
                          ? 0
                          : e >> 5 == 6
                            ? 2
                            : e >> 4 == 14
                              ? 3
                              : e >> 3 == 30
                                ? 4
                                : e >> 6 == 2
                                  ? -1
                                  : -2;
                      }
                      function a(e) {
                        var t,
                          r = this.lastTotal - this.lastNeed,
                          n =
                            ((n = this),
                            128 != (192 & (t = e)[0])
                              ? ((n.lastNeed = 0), "�")
                              : 1 < n.lastNeed && 1 < t.length
                                ? 128 != (192 & t[1])
                                  ? ((n.lastNeed = 1), "�")
                                  : 2 < n.lastNeed &&
                                      2 < t.length &&
                                      128 != (192 & t[2])
                                    ? ((n.lastNeed = 2), "�")
                                    : void 0
                                : void 0);
                        return void 0 !== n
                          ? n
                          : this.lastNeed <= e.length
                            ? (e.copy(this.lastChar, r, 0, this.lastNeed),
                              this.lastChar.toString(
                                this.encoding,
                                0,
                                this.lastTotal,
                              ))
                            : (e.copy(this.lastChar, r, 0, e.length),
                              void (this.lastNeed -= e.length));
                      }
                      function c(e, t) {
                        if ((e.length - t) % 2 != 0)
                          return (
                            (this.lastNeed = 1),
                            (this.lastTotal = 2),
                            (this.lastChar[0] = e[e.length - 1]),
                            e.toString("utf16le", t, e.length - 1)
                          );
                        var r = e.toString("utf16le", t);
                        if (r) {
                          t = r.charCodeAt(r.length - 1);
                          if (55296 <= t && t <= 56319)
                            return (
                              (this.lastNeed = 2),
                              (this.lastTotal = 4),
                              (this.lastChar[0] = e[e.length - 2]),
                              (this.lastChar[1] = e[e.length - 1]),
                              r.slice(0, -1)
                            );
                        }
                        return r;
                      }
                      function l(e) {
                        var t = e && e.length ? this.write(e) : "";
                        if (this.lastNeed) {
                          e = this.lastTotal - this.lastNeed;
                          return t + this.lastChar.toString("utf16le", 0, e);
                        }
                        return t;
                      }
                      function u(e, t) {
                        var r = (e.length - t) % 3;
                        return 0 == r
                          ? e.toString("base64", t)
                          : ((this.lastNeed = 3 - r),
                            (this.lastTotal = 3),
                            1 == r
                              ? (this.lastChar[0] = e[e.length - 1])
                              : ((this.lastChar[0] = e[e.length - 2]),
                                (this.lastChar[1] = e[e.length - 1])),
                            e.toString("base64", t, e.length - r));
                      }
                      function h(e) {
                        e = e && e.length ? this.write(e) : "";
                        return this.lastNeed
                          ? e +
                              this.lastChar.toString(
                                "base64",
                                0,
                                3 - this.lastNeed,
                              )
                          : e;
                      }
                      function p(e) {
                        return e.toString(this.encoding);
                      }
                      function d(e) {
                        return e && e.length ? this.write(e) : "";
                      }
                      (((t.s = o).prototype.write = function (e) {
                        if (0 === e.length) return "";
                        var t, r;
                        if (this.lastNeed) {
                          if (void 0 === (t = this.fillLast(e))) return "";
                          ((r = this.lastNeed), (this.lastNeed = 0));
                        } else r = 0;
                        return r < e.length
                          ? t
                            ? t + this.text(e, r)
                            : this.text(e, r)
                          : t || "";
                      }),
                        (o.prototype.end = function (e) {
                          e = e && e.length ? this.write(e) : "";
                          return this.lastNeed ? e + "�" : e;
                        }),
                        (o.prototype.text = function (e, t) {
                          var r = (function (e, t, r) {
                            var n = t.length - 1;
                            if (n < r) return 0;
                            var i = s(t[n]);
                            return 0 <= i
                              ? (0 < i && (e.lastNeed = i - 1), i)
                              : --n < r || -2 === i
                                ? 0
                                : 0 <= (i = s(t[n]))
                                  ? (0 < i && (e.lastNeed = i - 2), i)
                                  : !(--n < r || -2 === i) && 0 <= (i = s(t[n]))
                                    ? (0 < i &&
                                        (2 === i
                                          ? (i = 0)
                                          : (e.lastNeed = i - 3)),
                                      i)
                                    : 0;
                          })(this, e, t);
                          if (!this.lastNeed) return e.toString("utf8", t);
                          this.lastTotal = r;
                          r = e.length - (r - this.lastNeed);
                          return (
                            e.copy(this.lastChar, 0, r),
                            e.toString("utf8", t, r)
                          );
                        }),
                        (o.prototype.fillLast = function (e) {
                          if (this.lastNeed <= e.length)
                            return (
                              e.copy(
                                this.lastChar,
                                this.lastTotal - this.lastNeed,
                                0,
                                this.lastNeed,
                              ),
                              this.lastChar.toString(
                                this.encoding,
                                0,
                                this.lastTotal,
                              )
                            );
                          (e.copy(
                            this.lastChar,
                            this.lastTotal - this.lastNeed,
                            0,
                            e.length,
                          ),
                            (this.lastNeed -= e.length));
                        }));
                    },
                    5457: (e, t, r) => {
                      "use strict";
                      r.d(t, {
                        vw: () => o,
                        rq: () => i,
                        EL: () => a,
                        NY: () => s,
                      });
                      let n = 0;
                      const i = (e) => Math.floor((e / 25.4) * 72 * 20),
                        o = (e) => Math.floor(72 * e * 20),
                        s = () => ++n,
                        a = () =>
                          (() => {
                            let e = "",
                              t = 21;
                            for (; t--; )
                              e +=
                                "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[
                                  (64 * Math.random()) | 0
                                ];
                            return e;
                          })().toLowerCase();
                    },
                    5575: (e, t, r) => {
                      "use strict";
                      (r.r(t),
                        r.d(t, {
                          convertInchesToTwip: () => n.vw,
                          convertMillimetersToTwip: () => n.rq,
                          dateTimeValue: () => i.sF,
                          decimalNumber: () => i.vH,
                          eighthPointMeasureValue: () => i.LV,
                          hexColorValue: () => i.dg,
                          hpsMeasureValue: () => i.KR,
                          longHexNumber: () => i.mA,
                          measurementOrPercentValue: () => i.aB,
                          percentageValue: () => i.wp,
                          pointMeasureValue: () => i.gg,
                          positiveUniversalMeasureValue: () => i._p,
                          shortHexNumber: () => i.G0,
                          signedHpsMeasureValue: () => i.Rg,
                          signedTwipsMeasureValue: () => i.xb,
                          twipsMeasureValue: () => i.Jd,
                          uCharHexNumber: () => i.xD,
                          uniqueId: () => n.EL,
                          uniqueNumericId: () => n.NY,
                          universalMeasureValue: () => i.KC,
                          unsignedDecimalNumber: () => i.f$,
                        }));
                      var n = r(5457),
                        i = r(6595);
                    },
                    6595: (e, t, r) => {
                      "use strict";
                      r.d(t, {
                        G0: () => a,
                        Jd: () => g,
                        KC: () => l,
                        KR: () => f,
                        LV: () => b,
                        Rg: () => m,
                        _p: () => h,
                        aB: () => y,
                        dg: () => p,
                        f$: () => i,
                        gg: () => w,
                        mA: () => s,
                        sF: () => x,
                        vH: () => n,
                        wp: () => v,
                        xD: () => c,
                        xb: () => d,
                      });
                      const n = (e) => {
                          if (isNaN(e))
                            throw new Error(
                              `Invalid value '${e}' specified. Must be an integer.`,
                            );
                          return Math.floor(e);
                        },
                        i = (e) => {
                          var t = n(e);
                          if (t < 0)
                            throw new Error(
                              `Invalid value '${e}' specified. Must be a positive integer.`,
                            );
                          return t;
                        },
                        o = (e, t) => {
                          t *= 2;
                          if (e.length !== t || isNaN(Number("0x" + e)))
                            throw new Error(
                              `Invalid hex value '${e}'. Expected ${t} digit hex value`,
                            );
                          return e;
                        },
                        s = (e) => o(e, 4),
                        a = (e) => o(e, 2),
                        c = (e) => o(e, 1),
                        l = (e) => {
                          var t = e.slice(-2);
                          if (!u.includes(t))
                            throw new Error(
                              `Invalid unit '${t}' specified. Valid units are ` +
                                u.join(", "),
                            );
                          e = e.substring(0, e.length - 2);
                          if (isNaN(Number(e)))
                            throw new Error(
                              `Invalid value '${e}' specified. Expected a valid number.`,
                            );
                          return "" + Number(e) + t;
                        },
                        u = ["mm", "cm", "in", "pt", "pc", "pi"],
                        h = (e) => {
                          e = l(e);
                          if (parseFloat(e) < 0)
                            throw new Error(
                              `Invalid value '${e}' specified. Expected a positive number.`,
                            );
                          return e;
                        },
                        p = (e) => {
                          if ("auto" === e) return e;
                          e = "#" === e.charAt(0) ? e.substring(1) : e;
                          return o(e, 3);
                        },
                        d = (e) => ("string" == typeof e ? l : n)(e),
                        f = (e) => ("string" == typeof e ? h : i)(e),
                        m = (e) => ("string" == typeof e ? l : n)(e),
                        g = (e) => ("string" == typeof e ? h : i)(e),
                        v = (e) => {
                          if ("%" !== e.slice(-1))
                            throw new Error(
                              `Invalid value '${e}'. Expected percentage value (eg '55%')`,
                            );
                          e = e.substring(0, e.length - 1);
                          if (isNaN(Number(e)))
                            throw new Error(
                              `Invalid value '${e}' specified. Expected a valid number.`,
                            );
                          return Number(e) + "%";
                        },
                        y = (e) =>
                          ("number" == typeof e
                            ? n
                            : "%" === e.slice(-1)
                              ? v
                              : l)(e),
                        b = i,
                        w = i,
                        x = (e) => e.toISOString();
                    },
                    4927: (e, t, r) => {
                      function n(e) {
                        try {
                          if (!r.g.localStorage) return;
                        } catch (e) {
                          return;
                        }
                        var t = r.g.localStorage[e];
                        return null != t && "true" === String(t).toLowerCase();
                      }
                      e.exports = function (e, t) {
                        if (n("noDeprecation")) return e;
                        var r = !1;
                        return function () {
                          if (!r) {
                            if (n("throwDeprecation")) throw new Error(t);
                            (n("traceDeprecation")
                              ? console.trace(t)
                              : console.warn(t),
                              (r = !0));
                          }
                          return e.apply(this, arguments);
                        };
                      };
                    },
                    9881: (e) => {
                      e.exports = {
                        isArray: function (e) {
                          return Array.isArray
                            ? Array.isArray(e)
                            : "[object Array]" ===
                                Object.prototype.toString.call(e);
                        },
                      };
                    },
                    7888: (e, t, r) => {
                      var n = r(1229),
                        i = r(1388),
                        o = r(6501),
                        r = r(4673);
                      e.exports = {
                        xml2js: n,
                        xml2json: i,
                        js2xml: o,
                        json2xml: r,
                      };
                    },
                    6501: (e, t, r) => {
                      var c,
                        l,
                        n = r(4740),
                        u = r(9881).isArray;
                      function h(e, t, r) {
                        return (
                          (!r && e.spaces ? "\n" : "") +
                          Array(t + 1).join(e.spaces)
                        );
                      }
                      function p(e, t, r) {
                        if (t.ignoreAttributes) return "";
                        var n,
                          i,
                          o,
                          s,
                          a = [];
                        for (n in (e =
                          "attributesFn" in t ? t.attributesFn(e, l, c) : e))
                          e.hasOwnProperty(n) &&
                            null !== e[n] &&
                            void 0 !== e[n] &&
                            ((s =
                              t.noQuotesForNativeAttributes &&
                              "string" != typeof e[n]
                                ? ""
                                : '"'),
                            (i = (i = "" + e[n]).replace(/"/g, "&quot;")),
                            (o =
                              "attributeNameFn" in t
                                ? t.attributeNameFn(n, i, l, c)
                                : n),
                            a.push(
                              t.spaces && t.indentAttributes
                                ? h(t, r + 1, !1)
                                : " ",
                            ),
                            a.push(
                              o +
                                "=" +
                                s +
                                ("attributeValueFn" in t
                                  ? t.attributeValueFn(i, n, l, c)
                                  : i) +
                                s,
                            ));
                        return (
                          e &&
                            Object.keys(e).length &&
                            t.spaces &&
                            t.indentAttributes &&
                            a.push(h(t, r, !1)),
                          a.join("")
                        );
                      }
                      function d(e, t, r) {
                        return (
                          (c = e),
                          (l = "xml"),
                          t.ignoreDeclaration
                            ? ""
                            : "<?xml" + p(e[t.attributesKey], t, r) + "?>"
                        );
                      }
                      function f(e, t, r) {
                        if (t.ignoreInstruction) return "";
                        for (var n in e) if (e.hasOwnProperty(n)) break;
                        var i =
                          "instructionNameFn" in t
                            ? t.instructionNameFn(n, e[n], l, c)
                            : n;
                        if ("object" == typeof e[n])
                          return (
                            "<?" +
                            (l = i) +
                            p((c = e)[n][t.attributesKey], t, r) +
                            "?>"
                          );
                        r = e[n] || "";
                        return (
                          "<?" +
                          i +
                          ((r =
                            "instructionFn" in t
                              ? t.instructionFn(r, n, l, c)
                              : r)
                            ? " " + r
                            : "") +
                          "?>"
                        );
                      }
                      function m(e, t) {
                        return t.ignoreComment
                          ? ""
                          : "\x3c!--" +
                              ("commentFn" in t ? t.commentFn(e, l, c) : e) +
                              "--\x3e";
                      }
                      function g(e, t) {
                        return t.ignoreCdata
                          ? ""
                          : "<![CDATA[" +
                              ("cdataFn" in t
                                ? t.cdataFn(e, l, c)
                                : e.replace("]]>", "]]]]><![CDATA[>")) +
                              "]]>";
                      }
                      function v(e, t) {
                        return t.ignoreDoctype
                          ? ""
                          : "<!DOCTYPE " +
                              ("doctypeFn" in t ? t.doctypeFn(e, l, c) : e) +
                              ">";
                      }
                      function y(e, t) {
                        return t.ignoreText
                          ? ""
                          : ((e = (e = (e = "" + e).replace(/&amp;/g, "&"))
                              .replace(/&/g, "&amp;")
                              .replace(/</g, "&lt;")
                              .replace(/>/g, "&gt;")),
                            "textFn" in t ? t.textFn(e, l, c) : e);
                      }
                      function b(e, t, r) {
                        for (var n in e)
                          if (e.hasOwnProperty(n))
                            switch (n) {
                              case t.parentKey:
                              case t.attributesKey:
                                break;
                              case t.textKey:
                                if (t.indentText || r) return !0;
                                break;
                              case t.cdataKey:
                                if (t.indentCdata || r) return !0;
                                break;
                              case t.instructionKey:
                                if (t.indentInstruction || r) return !0;
                                break;
                              case t.doctypeKey:
                              case t.commentKey:
                              default:
                                return !0;
                            }
                        return !1;
                      }
                      function w(e, t, r, n) {
                        var i,
                          o,
                          s,
                          a = [];
                        for (o in e)
                          if (e.hasOwnProperty(o))
                            for (
                              s = u(e[o]) ? e[o] : [e[o]], i = 0;
                              i < s.length;
                              ++i
                            ) {
                              switch (o) {
                                case t.declarationKey:
                                  a.push(d(s[i], t, r));
                                  break;
                                case t.instructionKey:
                                  a.push(
                                    (t.indentInstruction ? h(t, r, n) : "") +
                                      f(s[i], t, r),
                                  );
                                  break;
                                case t.attributesKey:
                                case t.parentKey:
                                  break;
                                case t.textKey:
                                  a.push(
                                    (t.indentText ? h(t, r, n) : "") +
                                      y(s[i], t),
                                  );
                                  break;
                                case t.cdataKey:
                                  a.push(
                                    (t.indentCdata ? h(t, r, n) : "") +
                                      g(s[i], t),
                                  );
                                  break;
                                case t.doctypeKey:
                                  a.push(h(t, r, n) + v(s[i], t));
                                  break;
                                case t.commentKey:
                                  a.push(h(t, r, n) + m(s[i], t));
                                  break;
                                default:
                                  a.push(
                                    h(t, r, n) +
                                      (function (e, t, r, n, i) {
                                        ((c = e), (l = t));
                                        var o =
                                          "elementNameFn" in r
                                            ? r.elementNameFn(t, e)
                                            : t;
                                        if (null == e || "" === e)
                                          return ("fullTagEmptyElementFn" in
                                            r &&
                                            r.fullTagEmptyElementFn(t, e)) ||
                                            r.fullTagEmptyElement
                                            ? "<" + o + "></" + o + ">"
                                            : "<" + o + "/>";
                                        var s = [];
                                        if (t) {
                                          if (
                                            (s.push("<" + o),
                                            "object" != typeof e)
                                          )
                                            return (
                                              s.push(
                                                ">" + y(e, r) + "</" + o + ">",
                                              ),
                                              s.join("")
                                            );
                                          if (
                                            (e[r.attributesKey] &&
                                              s.push(
                                                p(e[r.attributesKey], r, n),
                                              ),
                                            !(
                                              b(e, r, !0) ||
                                              (e[r.attributesKey] &&
                                                "preserve" ===
                                                  e[r.attributesKey][
                                                    "xml:space"
                                                  ]) ||
                                              ("fullTagEmptyElementFn" in r
                                                ? r.fullTagEmptyElementFn(t, e)
                                                : r.fullTagEmptyElement)
                                            ))
                                          )
                                            return (s.push("/>"), s.join(""));
                                          s.push(">");
                                        }
                                        return (
                                          s.push(w(e, r, n + 1, !1)),
                                          (c = e),
                                          (l = t) &&
                                            s.push(
                                              (i ? h(r, n, !1) : "") +
                                                "</" +
                                                o +
                                                ">",
                                            ),
                                          s.join("")
                                        );
                                      })(s[i], o, t, r, b(s[i], t)),
                                  );
                              }
                              n = n && !a.length;
                            }
                        return a.join("");
                      }
                      e.exports = function (e, t) {
                        t = (function (e) {
                          e = n.copyOptions(e);
                          return (
                            n.ensureFlagExists("ignoreDeclaration", e),
                            n.ensureFlagExists("ignoreInstruction", e),
                            n.ensureFlagExists("ignoreAttributes", e),
                            n.ensureFlagExists("ignoreText", e),
                            n.ensureFlagExists("ignoreComment", e),
                            n.ensureFlagExists("ignoreCdata", e),
                            n.ensureFlagExists("ignoreDoctype", e),
                            n.ensureFlagExists("compact", e),
                            n.ensureFlagExists("indentText", e),
                            n.ensureFlagExists("indentCdata", e),
                            n.ensureFlagExists("indentAttributes", e),
                            n.ensureFlagExists("indentInstruction", e),
                            n.ensureFlagExists("fullTagEmptyElement", e),
                            n.ensureFlagExists(
                              "noQuotesForNativeAttributes",
                              e,
                            ),
                            n.ensureSpacesExists(e),
                            "number" == typeof e.spaces &&
                              (e.spaces = Array(e.spaces + 1).join(" ")),
                            n.ensureKeyExists("declaration", e),
                            n.ensureKeyExists("instruction", e),
                            n.ensureKeyExists("attributes", e),
                            n.ensureKeyExists("text", e),
                            n.ensureKeyExists("comment", e),
                            n.ensureKeyExists("cdata", e),
                            n.ensureKeyExists("doctype", e),
                            n.ensureKeyExists("type", e),
                            n.ensureKeyExists("name", e),
                            n.ensureKeyExists("elements", e),
                            n.checkFnExists("doctype", e),
                            n.checkFnExists("instruction", e),
                            n.checkFnExists("cdata", e),
                            n.checkFnExists("comment", e),
                            n.checkFnExists("text", e),
                            n.checkFnExists("instructionName", e),
                            n.checkFnExists("elementName", e),
                            n.checkFnExists("attributeName", e),
                            n.checkFnExists("attributeValue", e),
                            n.checkFnExists("attributes", e),
                            n.checkFnExists("fullTagEmptyElement", e),
                            e
                          );
                        })(t);
                        var r = [];
                        return (
                          (c = e),
                          (l = "_root_"),
                          t.compact
                            ? r.push(w(e, t, 0, !0))
                            : (e[t.declarationKey] &&
                                r.push(d(e[t.declarationKey], t, 0)),
                              e[t.elementsKey] &&
                                e[t.elementsKey].length &&
                                r.push(
                                  (function o(e, i, s, a) {
                                    return e.reduce(function (e, t) {
                                      var r = h(i, s, a && !e);
                                      switch (t.type) {
                                        case "element":
                                          return (
                                            e +
                                            r +
                                            (function (e, t, r) {
                                              l = (c = e).name;
                                              var n = [],
                                                i =
                                                  "elementNameFn" in t
                                                    ? t.elementNameFn(e.name, e)
                                                    : e.name;
                                              return (
                                                n.push("<" + i),
                                                e[t.attributesKey] &&
                                                  n.push(
                                                    p(e[t.attributesKey], t, r),
                                                  ),
                                                (e[t.elementsKey] &&
                                                  e[t.elementsKey].length) ||
                                                (e[t.attributesKey] &&
                                                  "preserve" ===
                                                    e[t.attributesKey][
                                                      "xml:space"
                                                    ]) ||
                                                ("fullTagEmptyElementFn" in t
                                                  ? t.fullTagEmptyElementFn(
                                                      e.name,
                                                      e,
                                                    )
                                                  : t.fullTagEmptyElement)
                                                  ? (n.push(">"),
                                                    e[t.elementsKey] &&
                                                      e[t.elementsKey].length &&
                                                      (n.push(
                                                        o(
                                                          e[t.elementsKey],
                                                          t,
                                                          r + 1,
                                                        ),
                                                      ),
                                                      (l = (c = e).name)),
                                                    n.push(
                                                      t.spaces &&
                                                        (function (e, t) {
                                                          var r;
                                                          if (
                                                            e.elements &&
                                                            e.elements.length
                                                          )
                                                            for (
                                                              r = 0;
                                                              r <
                                                              e.elements.length;
                                                              ++r
                                                            )
                                                              switch (
                                                                e.elements[r][
                                                                  t.typeKey
                                                                ]
                                                              ) {
                                                                case "text":
                                                                  if (
                                                                    t.indentText
                                                                  )
                                                                    return 1;
                                                                  break;
                                                                case "cdata":
                                                                  if (
                                                                    t.indentCdata
                                                                  )
                                                                    return 1;
                                                                  break;
                                                                case "instruction":
                                                                  if (
                                                                    t.indentInstruction
                                                                  )
                                                                    return 1;
                                                                  break;
                                                                default:
                                                                  return 1;
                                                              }
                                                        })(e, t)
                                                        ? "\n" +
                                                            Array(r + 1).join(
                                                              t.spaces,
                                                            )
                                                        : "",
                                                    ),
                                                    n.push("</" + i + ">"))
                                                  : n.push("/>"),
                                                n.join("")
                                              );
                                            })(t, i, s)
                                          );
                                        case "comment":
                                          return e + r + m(t[i.commentKey], i);
                                        case "doctype":
                                          return e + r + v(t[i.doctypeKey], i);
                                        case "cdata":
                                          return (
                                            e +
                                            (i.indentCdata ? r : "") +
                                            g(t[i.cdataKey], i)
                                          );
                                        case "text":
                                          return (
                                            e +
                                            (i.indentText ? r : "") +
                                            y(t[i.textKey], i)
                                          );
                                        case "instruction":
                                          var n = {};
                                          return (
                                            (n[t[i.nameKey]] = t[
                                              i.attributesKey
                                            ]
                                              ? t
                                              : t[i.instructionKey]),
                                            e +
                                              (i.indentInstruction ? r : "") +
                                              f(n, i, s)
                                          );
                                      }
                                    }, "");
                                  })(e[t.elementsKey], t, 0, !r.length),
                                )),
                          r.join("")
                        );
                      };
                    },
                    4673: (e, t, r) => {
                      var n = r(6501);
                      e.exports = function (e, t) {
                        var r = null;
                        if (
                          "string" ==
                          typeof (e = e instanceof Buffer ? e.toString() : e)
                        )
                          try {
                            r = JSON.parse(e);
                          } catch (e) {
                            throw new Error("The JSON structure is invalid");
                          }
                        else r = e;
                        return n(r, t);
                      };
                    },
                    4740: (e, t, r) => {
                      var n = r(9881).isArray;
                      e.exports = {
                        copyOptions: function (e) {
                          var t,
                            r = {};
                          for (t in e) e.hasOwnProperty(t) && (r[t] = e[t]);
                          return r;
                        },
                        ensureFlagExists: function (e, t) {
                          (e in t && "boolean" == typeof t[e]) || (t[e] = !1);
                        },
                        ensureSpacesExists: function (e) {
                          ("spaces" in e &&
                            ("number" == typeof e.spaces ||
                              "string" == typeof e.spaces)) ||
                            (e.spaces = 0);
                        },
                        ensureAlwaysArrayExists: function (e) {
                          ("alwaysArray" in e &&
                            ("boolean" == typeof e.alwaysArray ||
                              n(e.alwaysArray))) ||
                            (e.alwaysArray = !1);
                        },
                        ensureKeyExists: function (e, t) {
                          (e + "Key" in t && "string" == typeof t[e + "Key"]) ||
                            (t[e + "Key"] = t.compact ? "_" + e : e);
                        },
                        checkFnExists: function (e, t) {
                          return e + "Fn" in t;
                        },
                      };
                    },
                    1229: (e, t, r) => {
                      var o,
                        s,
                        i = r(6099),
                        a = r(4740),
                        c = r(9881).isArray;
                      function n(e) {
                        var t = Number(e);
                        if (!isNaN(t)) return t;
                        t = e.toLowerCase();
                        return "true" === t || ("false" !== t && e);
                      }
                      function l(e, t) {
                        var r, n;
                        if (o.compact) {
                          if (
                            (!s[o[e + "Key"]] &&
                              (c(o.alwaysArray)
                                ? -1 !== o.alwaysArray.indexOf(o[e + "Key"])
                                : o.alwaysArray) &&
                              (s[o[e + "Key"]] = []),
                            s[o[e + "Key"]] &&
                              !c(s[o[e + "Key"]]) &&
                              (s[o[e + "Key"]] = [s[o[e + "Key"]]]),
                            e + "Fn" in o &&
                              "string" == typeof t &&
                              (t = o[e + "Fn"](t, s)),
                            "instruction" === e &&
                              ("instructionFn" in o ||
                                "instructionNameFn" in o))
                          )
                            for (r in t)
                              t.hasOwnProperty(r) &&
                                ("instructionFn" in o
                                  ? (t[r] = o.instructionFn(t[r], r, s))
                                  : ((n = t[r]),
                                    delete t[r],
                                    (t[o.instructionNameFn(r, n, s)] = n)));
                          c(s[o[e + "Key"]])
                            ? s[o[e + "Key"]].push(t)
                            : (s[o[e + "Key"]] = t);
                        } else {
                          s[o.elementsKey] || (s[o.elementsKey] = []);
                          var i = {};
                          if ("instruction" === (i[o.typeKey] = e)) {
                            for (r in t) if (t.hasOwnProperty(r)) break;
                            ((i[o.nameKey] =
                              "instructionNameFn" in o
                                ? o.instructionNameFn(r, t, s)
                                : r),
                              o.instructionHasAttributes
                                ? ((i[o.attributesKey] = t[r][o.attributesKey]),
                                  "instructionFn" in o &&
                                    (i[o.attributesKey] = o.instructionFn(
                                      i[o.attributesKey],
                                      r,
                                      s,
                                    )))
                                : ("instructionFn" in o &&
                                    (t[r] = o.instructionFn(t[r], r, s)),
                                  (i[o.instructionKey] = t[r])));
                          } else
                            (e + "Fn" in o && (t = o[e + "Fn"](t, s)),
                              (i[o[e + "Key"]] = t));
                          (o.addParent && (i[o.parentKey] = s),
                            s[o.elementsKey].push(i));
                        }
                      }
                      function u(e) {
                        var t, r;
                        if (
                          ("attributesFn" in o &&
                            e &&
                            (e = o.attributesFn(e, s)),
                          (o.trim ||
                            "attributeValueFn" in o ||
                            "attributeNameFn" in o ||
                            o.nativeTypeAttributes) &&
                            e)
                        )
                          for (t in e)
                            e.hasOwnProperty(t) &&
                              (o.trim && (e[t] = e[t].trim()),
                              o.nativeTypeAttributes && (e[t] = n(e[t])),
                              "attributeValueFn" in o &&
                                (e[t] = o.attributeValueFn(e[t], t, s)),
                              "attributeNameFn" in o) &&
                              ((r = e[t]),
                              delete e[t],
                              (e[o.attributeNameFn(t, e[t], s)] = r));
                        return e;
                      }
                      function h(e) {
                        var t,
                          r = {};
                        if (
                          e.body &&
                          ("xml" === e.name.toLowerCase() ||
                            o.instructionHasAttributes)
                        ) {
                          for (
                            var n,
                              i =
                                /([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;
                            null !== (n = i.exec(e.body));

                          )
                            r[n[1]] = n[2] || n[3] || n[4];
                          r = u(r);
                        }
                        "xml" === e.name.toLowerCase()
                          ? o.ignoreDeclaration ||
                            ((s[o.declarationKey] = {}),
                            Object.keys(r).length &&
                              (s[o.declarationKey][o.attributesKey] = r),
                            o.addParent &&
                              (s[o.declarationKey][o.parentKey] = s))
                          : o.ignoreInstruction ||
                            (o.trim && (e.body = e.body.trim()),
                            (t = {}),
                            o.instructionHasAttributes && Object.keys(r).length
                              ? ((t[e.name] = {}),
                                (t[e.name][o.attributesKey] = r))
                              : (t[e.name] = e.body),
                            l("instruction", t));
                      }
                      function p(e, t) {
                        if (
                          ("object" == typeof e &&
                            ((t = e.attributes), (e = e.name)),
                          (t = u(t)),
                          "elementNameFn" in o && (e = o.elementNameFn(e, s)),
                          o.compact)
                        ) {
                          var r,
                            n = {};
                          if (!o.ignoreAttributes && t && Object.keys(t).length)
                            for (r in ((n[o.attributesKey] = {}), t))
                              t.hasOwnProperty(r) &&
                                (n[o.attributesKey][r] = t[r]);
                          (e in s ||
                            (c(o.alwaysArray)
                              ? -1 === o.alwaysArray.indexOf(e)
                              : !o.alwaysArray) ||
                            (s[e] = []),
                            s[e] && !c(s[e]) && (s[e] = [s[e]]),
                            c(s[e]) ? s[e].push(n) : (s[e] = n));
                        } else
                          (s[o.elementsKey] || (s[o.elementsKey] = []),
                            ((n = {})[o.typeKey] = "element"),
                            (n[o.nameKey] = e),
                            !o.ignoreAttributes &&
                              t &&
                              Object.keys(t).length &&
                              (n[o.attributesKey] = t),
                            o.alwaysChildren && (n[o.elementsKey] = []),
                            s[o.elementsKey].push(n));
                        ((n[o.parentKey] = s), (s = n));
                      }
                      function d(e) {
                        o.ignoreText ||
                          ((e.trim() || o.captureSpacesBetweenElements) &&
                            (o.trim && (e = e.trim()),
                            o.nativeType && (e = n(e)),
                            l(
                              "text",
                              (e = o.sanitize
                                ? e
                                    .replace(/&/g, "&amp;")
                                    .replace(/</g, "&lt;")
                                    .replace(/>/g, "&gt;")
                                : e),
                            )));
                      }
                      function f(e) {
                        o.ignoreComment ||
                          l("comment", (e = o.trim ? e.trim() : e));
                      }
                      function m(e) {
                        var t = s[o.parentKey];
                        (o.addParent || delete s[o.parentKey], (s = t));
                      }
                      function g(e) {
                        o.ignoreCdata ||
                          l("cdata", (e = o.trim ? e.trim() : e));
                      }
                      function v(e) {
                        o.ignoreDoctype ||
                          ((e = e.replace(/^ /, "")),
                          l("doctype", (e = o.trim ? e.trim() : e)));
                      }
                      function y(e) {
                        e.note = e;
                      }
                      e.exports = function (e, t) {
                        var r = i.parser(!0, {}),
                          n = {};
                        return (
                          (s = n),
                          (o = a.copyOptions(t)),
                          a.ensureFlagExists("ignoreDeclaration", o),
                          a.ensureFlagExists("ignoreInstruction", o),
                          a.ensureFlagExists("ignoreAttributes", o),
                          a.ensureFlagExists("ignoreText", o),
                          a.ensureFlagExists("ignoreComment", o),
                          a.ensureFlagExists("ignoreCdata", o),
                          a.ensureFlagExists("ignoreDoctype", o),
                          a.ensureFlagExists("compact", o),
                          a.ensureFlagExists("alwaysChildren", o),
                          a.ensureFlagExists("addParent", o),
                          a.ensureFlagExists("trim", o),
                          a.ensureFlagExists("nativeType", o),
                          a.ensureFlagExists("nativeTypeAttributes", o),
                          a.ensureFlagExists("sanitize", o),
                          a.ensureFlagExists("instructionHasAttributes", o),
                          a.ensureFlagExists("captureSpacesBetweenElements", o),
                          a.ensureAlwaysArrayExists(o),
                          a.ensureKeyExists("declaration", o),
                          a.ensureKeyExists("instruction", o),
                          a.ensureKeyExists("attributes", o),
                          a.ensureKeyExists("text", o),
                          a.ensureKeyExists("comment", o),
                          a.ensureKeyExists("cdata", o),
                          a.ensureKeyExists("doctype", o),
                          a.ensureKeyExists("type", o),
                          a.ensureKeyExists("name", o),
                          a.ensureKeyExists("elements", o),
                          a.ensureKeyExists("parent", o),
                          a.checkFnExists("doctype", o),
                          a.checkFnExists("instruction", o),
                          a.checkFnExists("cdata", o),
                          a.checkFnExists("comment", o),
                          a.checkFnExists("text", o),
                          a.checkFnExists("instructionName", o),
                          a.checkFnExists("elementName", o),
                          a.checkFnExists("attributeName", o),
                          a.checkFnExists("attributeValue", o),
                          a.checkFnExists("attributes", o),
                          (r.opt = { strictEntities: !0 }),
                          (r.onopentag = p),
                          (r.ontext = d),
                          (r.oncomment = f),
                          (r.onclosetag = m),
                          (r.onerror = y),
                          (r.oncdata = g),
                          (r.ondoctype = v),
                          (r.onprocessinginstruction = h),
                          r.write(e).close(),
                          n[o.elementsKey] &&
                            ((e = n[o.elementsKey]),
                            delete n[o.elementsKey],
                            (n[o.elementsKey] = e),
                            delete n.text),
                          n
                        );
                      };
                    },
                    1388: (e, t, r) => {
                      var n = r(4740),
                        i = r(1229);
                      e.exports = function (e, t) {
                        var r;
                        return (
                          (t = n.copyOptions(t)),
                          n.ensureSpacesExists(t),
                          (t = i(e, (e = t))),
                          (r =
                            "compact" in e && e.compact ? "_parent" : "parent"),
                          ("addParent" in e && e.addParent
                            ? JSON.stringify(
                                t,
                                function (e, t) {
                                  return e === r ? "_" : t;
                                },
                                e.spaces,
                              )
                            : JSON.stringify(t, null, e.spaces)
                          )
                            .replace(/\u2028/g, "\\u2028")
                            .replace(/\u2029/g, "\\u2029")
                        );
                      };
                    },
                    255: (e) => {
                      var r = {
                        "&": "&amp;",
                        '"': "&quot;",
                        "'": "&apos;",
                        "<": "&lt;",
                        ">": "&gt;",
                      };
                      e.exports = function (e) {
                        return e && e.replace
                          ? e.replace(/([&"<>'])/g, function (e, t) {
                              return r[t];
                            })
                          : e;
                      };
                    },
                    3479: (e, t, r) => {
                      var p = r(4155),
                        u = r(255),
                        d = r(2830).Stream;
                      function f(e, t, r) {
                        r = r || 0;
                        var n,
                          i = ((i = t), new Array(r || 0).join(i || "")),
                          o = e;
                        if (
                          "object" == typeof e &&
                          (o = e[(n = Object.keys(e)[0])]) &&
                          o._elem
                        )
                          return (
                            (o._elem.name = n),
                            (o._elem.icount = r),
                            (o._elem.indent = t),
                            (o._elem.indents = i),
                            (o._elem.interrupt = o)._elem
                          );
                        var s,
                          a = [],
                          c = [];
                        function l(r) {
                          Object.keys(r).forEach(function (e) {
                            var t;
                            a.push(((t = r[e]), e + '="' + u(t) + '"'));
                          });
                        }
                        switch (typeof o) {
                          case "object":
                            if (null === o) break;
                            (o._attr && l(o._attr),
                              o._cdata &&
                                c.push(
                                  ("<![CDATA[" + o._cdata).replace(
                                    /\]\]>/g,
                                    "]]]]><![CDATA[>",
                                  ) + "]]>",
                                ),
                              o.forEach &&
                                ((s = !1),
                                c.push(""),
                                o.forEach(function (e) {
                                  "object" == typeof e
                                    ? "_attr" == Object.keys(e)[0]
                                      ? l(e._attr)
                                      : c.push(f(e, t, r + 1))
                                    : (c.pop(), (s = !0), c.push(u(e)));
                                }),
                                s || c.push("")));
                            break;
                          default:
                            c.push(u(o));
                        }
                        return {
                          name: n,
                          interrupt: !1,
                          attributes: a,
                          content: c,
                          icount: r,
                          indents: i,
                          indent: t,
                        };
                      }
                      function m(t, r, n) {
                        if ("object" != typeof r) return t(!1, r);
                        var i = r.interrupt ? 1 : r.content.length;
                        function o() {
                          for (; r.content.length; ) {
                            var e = r.content.shift();
                            if (void 0 !== e) {
                              if (s(e)) return;
                              m(t, e);
                            }
                          }
                          (t(
                            !1,
                            (1 < i ? r.indents : "") +
                              (r.name ? "</" + r.name + ">" : "") +
                              (r.indent && !n ? "\n" : ""),
                          ),
                            n && n());
                        }
                        function s(e) {
                          return (
                            e.interrupt &&
                            ((e.interrupt.append = t),
                            (e.interrupt.end = o),
                            (e.interrupt = !1),
                            t(!0),
                            1)
                          );
                        }
                        if (
                          (t(
                            !1,
                            r.indents +
                              (r.name ? "<" + r.name : "") +
                              (r.attributes.length
                                ? " " + r.attributes.join(" ")
                                : "") +
                              (i ? (r.name ? ">" : "") : r.name ? "/>" : "") +
                              (r.indent && 1 < i ? "\n" : ""),
                          ),
                          !i)
                        )
                          return t(!1, r.indent ? "\n" : "");
                        s(r) || o();
                      }
                      ((e.exports = function (n, e) {
                        var t,
                          i = (e = "object" != typeof e ? { indent: e } : e)
                            .stream
                            ? new d()
                            : null,
                          o = "",
                          s = !1,
                          r = e.indent
                            ? !0 === e.indent
                              ? "    "
                              : e.indent
                            : "",
                          a = !0;
                        function c(e) {
                          a ? p.nextTick(e) : e();
                        }
                        function l(e, t) {
                          var r;
                          (void 0 !== t && (o += t),
                            e && !s && ((i = i || new d()), (s = !0)),
                            e &&
                              s &&
                              ((r = o),
                              c(function () {
                                i.emit("data", r);
                              }),
                              (o = "")));
                        }
                        function u(e, t) {
                          m(l, f(e, r, r ? 1 : 0), t);
                        }
                        function h() {
                          var e;
                          i &&
                            ((e = o),
                            c(function () {
                              (i.emit("data", e),
                                i.emit("end"),
                                (i.readable = !1),
                                i.emit("close"));
                            }));
                        }
                        return (
                          c(function () {
                            a = !1;
                          }),
                          e.declaration &&
                            ((e = {
                              version: "1.0",
                              encoding: (t = e.declaration).encoding || "UTF-8",
                            }),
                            t.standalone && (e.standalone = t.standalone),
                            u({ "?xml": { _attr: e } }),
                            (o = o.replace("/>", "?>"))),
                          n && n.forEach
                            ? n.forEach(function (e, t) {
                                var r;
                                u(e, (r = t + 1 === n.length ? h : r));
                              })
                            : u(n, h),
                          i ? ((i.readable = !0), i) : o
                        );
                      }),
                        (e.exports.element = e.exports.Element =
                          function () {
                            return {
                              _elem: f(Array.prototype.slice.call(arguments)),
                              push: function (e) {
                                if (!this.append)
                                  throw new Error("not assigned to a parent!");
                                var t = this,
                                  r = this._elem.indent;
                                m(
                                  this.append,
                                  f(e, r, this._elem.icount + (r ? 1 : 0)),
                                  function () {
                                    t.append(!0);
                                  },
                                );
                              },
                              close: function (e) {
                                (void 0 !== e && this.push(e),
                                  this.end && this.end());
                              },
                            };
                          }));
                    },
                  },
                  n = {};
                function va(e) {
                  var t = n[e];
                  if (void 0 !== t) return t.exports;
                  t = n[e] = { exports: {} };
                  return (r[e].call(t.exports, t, t.exports, va), t.exports);
                }
                ((va.d = (e, t) => {
                  for (var r in t)
                    va.o(t, r) &&
                      !va.o(e, r) &&
                      Object.defineProperty(e, r, {
                        enumerable: !0,
                        get: t[r],
                      });
                }),
                  (va.g = (function () {
                    if ("object" == typeof globalThis) return globalThis;
                    try {
                      return this || new Function("return this")();
                    } catch (e) {
                      if ("object" == typeof window) return window;
                    }
                  })()),
                  (va.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
                  (va.r = (e) => {
                    ("undefined" != typeof Symbol &&
                      Symbol.toStringTag &&
                      Object.defineProperty(e, Symbol.toStringTag, {
                        value: "Module",
                      }),
                      Object.defineProperty(e, "__esModule", { value: !0 }));
                  }));
                var ya = {};
                return (
                  (() => {
                    "use strict";
                    (va.r(ya),
                      va.d(ya, {
                        AbstractNumbering: () => Yo,
                        Alignment: () => L,
                        AlignmentAttributes: () => O,
                        AlignmentType: () => d,
                        Attributes: () => o,
                        BaseEmphasisMark: () => Y,
                        BaseXmlComponent: () => n,
                        Body: () => En,
                        Bookmark: () => Kr,
                        BookmarkEnd: () => qr,
                        BookmarkStart: () => Gr,
                        Border: () => R,
                        BorderElement: () => H,
                        BorderStyle: () => f,
                        Column: () => Cn,
                        ColumnAttributes: () => Tn,
                        ColumnBreak: () => Pr,
                        Columns: () => rn,
                        ColumnsAttributes: () => tn,
                        Comment: () => Sr,
                        CommentRangeEnd: () => wr,
                        CommentRangeStart: () => br,
                        CommentReference: () => xr,
                        Comments: () => Er,
                        ConcreteHyperlink: () => jr,
                        ConcreteNumbering: () => es,
                        DeletedTextRun: () => ta,
                        DocGridAttributes: () => nn,
                        Document: () => Fs,
                        DocumentAttributes: () => Pn,
                        DocumentBackground: () => An,
                        DocumentBackgroundAttributes: () => kn,
                        DocumentDefaults: () => Rs,
                        DocumentGrid: () => on,
                        DocumentGridType: () => He,
                        DotEmphasisMark: () => J,
                        Drawing: () => cr,
                        DropCapType: () => ze,
                        EMPTY_OBJECT: () => i,
                        EmphasisMark: () => Z,
                        EmphasisMarkType: () => x,
                        ExternalHyperlink: () => zr,
                        File: () => Fs,
                        FootNoteReferenceRunAttributes: () => qs,
                        FootNotes: () => Ho,
                        Footer: () => Gs,
                        FooterWrapper: () => Eo,
                        FootnoteReference: () => Vs,
                        FootnoteReferenceRun: () => Xs,
                        FrameAnchorType: () => We,
                        FrameProperties: () => Dn,
                        FramePropertiesAttributes: () => Rn,
                        FrameWrap: () => $e,
                        GridSpan: () => Mi,
                        Header: () => Ks,
                        HeaderFooterReference: () => en,
                        HeaderFooterReferenceType: () => Oe,
                        HeaderFooterType: () => Le,
                        HeaderWrapper: () => Bo,
                        HeadingLevel: () => Te,
                        HeightRule: () => et,
                        HorizontalPosition: () => ut,
                        HorizontalPositionAlign: () => g,
                        HorizontalPositionRelativeFrom: () => ye,
                        HpsMeasureElement: () => P,
                        HyperlinkType: () => _e,
                        IgnoreIfEmptyXmlComponent: () => t,
                        ImageRun: () => lr,
                        ImportDotx: () => ma,
                        ImportedRootElementAttributes: () => c,
                        ImportedXmlComponent: () => a,
                        Indent: () => F,
                        InitializableXmlComponent: () => p,
                        InsertedTextRun: () => Qs,
                        InternalHyperlink: () => Ur,
                        LeaderType: () => Pe,
                        Level: () => qo,
                        LevelBase: () => Go,
                        LevelForOverride: () => Vo,
                        LevelFormat: () => rt,
                        LevelOverride: () => rs,
                        LevelSuffix: () => nt,
                        LineNumberAttributes: () => sn,
                        LineNumberRestartFormat: () => Ne,
                        LineNumberType: () => an,
                        LineRuleType: () => Ee,
                        Math: () => Mn,
                        MathAccentCharacter: () => Gn,
                        MathAngledBrackets: () => Ii,
                        MathBase: () => qn,
                        MathCurlyBrackets: () => _i,
                        MathDegree: () => fi,
                        MathDenominator: () => zn,
                        MathFraction: () => $n,
                        MathFunction: () => xi,
                        MathFunctionName: () => bi,
                        MathFunctionProperties: () => wi,
                        MathIntegral: () => ii,
                        MathLimitLocation: () => Xn,
                        MathNAryProperties: () => ei,
                        MathNumerator: () => Wn,
                        MathPreSubSuperScript: () => pi,
                        MathPreSubSuperScriptProperties: () => hi,
                        MathRadical: () => yi,
                        MathRadicalProperties: () => vi,
                        MathRoundBrackets: () => ki,
                        MathRun: () => Un,
                        MathSquareBrackets: () => Ai,
                        MathSubScript: () => ci,
                        MathSubScriptElement: () => ti,
                        MathSubScriptProperties: () => ai,
                        MathSubSuperScript: () => ui,
                        MathSubSuperScriptProperties: () => li,
                        MathSum: () => ni,
                        MathSuperScript: () => si,
                        MathSuperScriptElement: () => ri,
                        MathSuperScriptProperties: () => oi,
                        Media: () => Fo,
                        NumberFormat: () => y,
                        NumberProperties: () => Nr,
                        NumberValueElement: () => A,
                        Numbering: () => os,
                        OnOffElement: () => C,
                        OutlineLevel: () => Vr,
                        OverlapType: () => Ze,
                        Packer: () => ua,
                        PageBorderDisplay: () => Re,
                        PageBorderOffsetFrom: () => De,
                        PageBorderZOrder: () => Be,
                        PageBorders: () => ln,
                        PageBreak: () => Cr,
                        PageBreakBefore: () => kr,
                        PageMargin: () => hn,
                        PageMarginAttributes: () => un,
                        PageNumber: () => E,
                        PageNumberSeparator: () => Fe,
                        PageNumberType: () => dn,
                        PageNumberTypeAttributes: () => pn,
                        PageOrientation: () => Me,
                        PageReference: () => Qr,
                        PageSize: () => mn,
                        PageSizeAttributes: () => fn,
                        PageTextDirection: () => vn,
                        PageTextDirectionType: () => je,
                        Paragraph: () => Fn,
                        ParagraphProperties: () => Bn,
                        ParagraphPropertiesDefaults: () => Hs,
                        PrettifyType: () => la,
                        RelativeHorizontalPosition: () => Qe,
                        RelativeVerticalPosition: () => Ye,
                        Run: () => de,
                        RunFonts: () => oe,
                        RunProperties: () => ue,
                        RunPropertiesChange: () => he,
                        RunPropertiesDefaults: () => Ns,
                        SectionProperties: () => Sn,
                        SectionType: () => Ue,
                        SectionTypeAttributes: () => yn,
                        SequentialIdentifier: () => hr,
                        Shading: () => X,
                        ShadingType: () => w,
                        SimpleField: () => fr,
                        SimpleMailMergeField: () => mr,
                        SimplePos: () => st,
                        SpaceType: () => b,
                        Spacing: () => _r,
                        StringContainer: () => I,
                        StringEnumValueElement: () => _,
                        StringValueElement: () => k,
                        Style: () => Ir,
                        StyleForCharacter: () => vs,
                        StyleForParagraph: () => gs,
                        StyleLevel: () => $s,
                        Styles: () => Ls,
                        SymbolRun: () => ve,
                        TDirection: () => Wi,
                        Tab: () => pr,
                        TabAttributes: () => Lr,
                        TabStop: () => Or,
                        TabStopItem: () => Hr,
                        TabStopPosition: () => ke,
                        TabStopType: () => Ce,
                        Table: () => eo,
                        TableAnchorType: () => Xe,
                        TableBorders: () => Vi,
                        TableCell: () => Ki,
                        TableCellBorders: () => Bi,
                        TableFloatOptionsAttributes: () => Xi,
                        TableFloatProperties: () => Qi,
                        TableLayout: () => Zi,
                        TableLayoutType: () => Je,
                        TableOfContents: () => Ws,
                        TableProperties: () => Ji,
                        TableRow: () => io,
                        TableRowHeight: () => ro,
                        TableRowHeightAttributes: () => to,
                        TableRowProperties: () => no,
                        TableWidthElement: () => Ri,
                        TextDirection: () => Ve,
                        TextRun: () => fe,
                        TextWrappingSide: () => xe,
                        TextWrappingType: () => we,
                        ThematicBreak: () => D,
                        Type: () => bn,
                        Underline: () => le,
                        UnderlineType: () => S,
                        VerticalAlign: () => Ie,
                        VerticalAlignAttributes: () => Yr,
                        VerticalAlignElement: () => Zr,
                        VerticalMerge: () => Ui,
                        VerticalMergeType: () => qe,
                        VerticalPosition: () => pt,
                        VerticalPositionAlign: () => v,
                        VerticalPositionRelativeFrom: () => be,
                        WORKAROUND: () => Ms,
                        WORKAROUND2: () => Mo,
                        WORKAROUND3: () => l,
                        WORKAROUND4: () => di,
                        WidthType: () => Ke,
                        WrapNone: () => zt,
                        WrapSquare: () => $t,
                        WrapTight: () => Gt,
                        WrapTopAndBottom: () => Vt,
                        XmlAttributeComponent: () => r,
                        XmlComponent: () => e,
                        convertInchesToTwip: () => ga.convertInchesToTwip,
                        convertMillimetersToTwip: () =>
                          ga.convertMillimetersToTwip,
                        convertToXmlComponent: () => h,
                        dateTimeValue: () => ga.dateTimeValue,
                        decimalNumber: () => ga.decimalNumber,
                        eighthPointMeasureValue: () =>
                          ga.eighthPointMeasureValue,
                        hexColorValue: () => ga.hexColorValue,
                        hpsMeasureValue: () => ga.hpsMeasureValue,
                        longHexNumber: () => ga.longHexNumber,
                        measurementOrPercentValue: () =>
                          ga.measurementOrPercentValue,
                        percentageValue: () => ga.percentageValue,
                        pointMeasureValue: () => ga.pointMeasureValue,
                        positiveUniversalMeasureValue: () =>
                          ga.positiveUniversalMeasureValue,
                        sectionMarginDefaults: () => wn,
                        sectionPageSizeDefaults: () => xn,
                        shortHexNumber: () => ga.shortHexNumber,
                        signedHpsMeasureValue: () => ga.signedHpsMeasureValue,
                        signedTwipsMeasureValue: () =>
                          ga.signedTwipsMeasureValue,
                        twipsMeasureValue: () => ga.twipsMeasureValue,
                        uCharHexNumber: () => ga.uCharHexNumber,
                        uniqueId: () => ga.uniqueId,
                        uniqueNumericId: () => ga.uniqueNumericId,
                        universalMeasureValue: () => ga.universalMeasureValue,
                        unsignedDecimalNumber: () => ga.unsignedDecimalNumber,
                      }));
                    class n {
                      constructor(e) {
                        this.rootKey = e;
                      }
                    }
                    const i = Object.seal({});
                    class e extends n {
                      constructor(e) {
                        (super(e), (this.root = new Array()));
                      }
                      prepForXml(t) {
                        var e,
                          r = this.root
                            .map((e) => (e instanceof n ? e.prepForXml(t) : e))
                            .filter((e) => void 0 !== e);
                        return {
                          [this.rootKey]: r.length
                            ? 1 === r.length &&
                              null !== (e = r[0]) &&
                              void 0 !== e &&
                              e._attr
                              ? r[0]
                              : r
                            : i,
                        };
                      }
                      addChildElement(e) {
                        return (this.root.push(e), this);
                      }
                    }
                    class t extends e {
                      prepForXml(e) {
                        e = super.prepForXml(e);
                        if (
                          e &&
                          ("object" != typeof e[this.rootKey] ||
                            Object.keys(e[this.rootKey]).length)
                        )
                          return e;
                      }
                    }
                    class r extends n {
                      constructor(e) {
                        (super("_attr"), (this.root = e));
                      }
                      prepForXml(e) {
                        const r = {};
                        return (
                          Object.keys(this.root).forEach((e) => {
                            var t = this.root[e];
                            void 0 !== t &&
                              ((e = (this.xmlKeys && this.xmlKeys[e]) || e),
                              (r[e] = t));
                          }),
                          { _attr: r }
                        );
                      }
                    }
                    class o extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            val: "w:val",
                            color: "w:color",
                            fill: "w:fill",
                            space: "w:space",
                            sz: "w:sz",
                            type: "w:type",
                            rsidR: "w:rsidR",
                            rsidRPr: "w:rsidRPr",
                            rsidSect: "w:rsidSect",
                            w: "w:w",
                            h: "w:h",
                            top: "w:top",
                            right: "w:right",
                            bottom: "w:bottom",
                            left: "w:left",
                            header: "w:header",
                            footer: "w:footer",
                            gutter: "w:gutter",
                            linePitch: "w:linePitch",
                            pos: "w:pos",
                          }));
                      }
                    }
                    var u = va(7888);
                    const h = (e) => {
                      switch (e.type) {
                        case void 0:
                        case "element":
                          const r = new a(e.name, e.attributes),
                            n = e.elements || [];
                          for (const e of n) {
                            var t = h(e);
                            void 0 !== t && r.push(t);
                          }
                          return r;
                        case "text":
                          return e.text;
                        default:
                          return;
                      }
                    };
                    class s extends r {}
                    class a extends e {
                      static fromXmlString(e) {
                        e = (0, u.xml2js)(e, { compact: !1 });
                        return h(e);
                      }
                      constructor(e, t) {
                        (super(e), t && this.root.push(new s(t)));
                      }
                      push(e) {
                        this.root.push(e);
                      }
                    }
                    class c extends e {
                      constructor(e) {
                        (super(""), (this._attr = e));
                      }
                      prepForXml(e) {
                        return { _attr: this._attr };
                      }
                    }
                    const l = "";
                    class p extends e {
                      constructor(e, t) {
                        (super(e), t && (this.root = t.root));
                      }
                    }
                    var d,
                      f,
                      m,
                      g,
                      v,
                      y,
                      b,
                      w,
                      x,
                      S,
                      E,
                      T = va(6595);
                    class C extends e {
                      constructor(e, t = !0) {
                        (super(e),
                          !0 !== t && this.root.push(new o({ val: t })));
                      }
                    }
                    class P extends e {
                      constructor(e, t) {
                        (super(e),
                          this.root.push(new o({ val: (0, T.KR)(t) })));
                      }
                    }
                    class k extends e {
                      constructor(e, t) {
                        (super(e), this.root.push(new o({ val: t })));
                      }
                    }
                    class A extends e {
                      constructor(e, t) {
                        (super(e), this.root.push(new o({ val: t })));
                      }
                    }
                    class _ extends e {
                      constructor(e, t) {
                        (super(e), this.root.push(new o({ val: t })));
                      }
                    }
                    class I extends e {
                      constructor(e, t) {
                        (super(e), this.root.push(t));
                      }
                    }
                    (((da = d = d || {}).START = "start"),
                      (da.CENTER = "center"),
                      (da.END = "end"),
                      (da.BOTH = "both"),
                      (da.MEDIUM_KASHIDA = "mediumKashida"),
                      (da.DISTRIBUTE = "distribute"),
                      (da.NUM_TAB = "numTab"),
                      (da.HIGH_KASHIDA = "highKashida"),
                      (da.LOW_KASHIDA = "lowKashida"),
                      (da.THAI_DISTRIBUTE = "thaiDistribute"),
                      (da.LEFT = "left"),
                      (da.RIGHT = "right"),
                      (da.JUSTIFIED = "both"));
                    class O extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class L extends e {
                      constructor(e) {
                        (super("w:jc"), this.root.push(new O({ val: e })));
                      }
                    }
                    class H extends e {
                      constructor(
                        e,
                        { color: t, size: r, space: n, style: i },
                      ) {
                        (super(e),
                          this.root.push(
                            new N({
                              style: i,
                              color: void 0 === t ? void 0 : (0, T.dg)(t),
                              size: void 0 === r ? void 0 : (0, T.LV)(r),
                              space: void 0 === n ? void 0 : (0, T.gg)(n),
                            }),
                          ));
                      }
                    }
                    class N extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            style: "w:val",
                            color: "w:color",
                            size: "w:sz",
                            space: "w:space",
                          }));
                      }
                    }
                    (((da = f = f || {}).SINGLE = "single"),
                      (da.DASH_DOT_STROKED = "dashDotStroked"),
                      (da.DASHED = "dashed"),
                      (da.DASH_SMALL_GAP = "dashSmallGap"),
                      (da.DOT_DASH = "dotDash"),
                      (da.DOT_DOT_DASH = "dotDotDash"),
                      (da.DOTTED = "dotted"),
                      (da.DOUBLE = "double"),
                      (da.DOUBLE_WAVE = "doubleWave"),
                      (da.INSET = "inset"),
                      (da.NIL = "nil"),
                      (da.NONE = "none"),
                      (da.OUTSET = "outset"),
                      (da.THICK = "thick"),
                      (da.THICK_THIN_LARGE_GAP = "thickThinLargeGap"),
                      (da.THICK_THIN_MEDIUM_GAP = "thickThinMediumGap"),
                      (da.THICK_THIN_SMALL_GAP = "thickThinSmallGap"),
                      (da.THIN_THICK_LARGE_GAP = "thinThickLargeGap"),
                      (da.THIN_THICK_MEDIUM_GAP = "thinThickMediumGap"),
                      (da.THIN_THICK_SMALL_GAP = "thinThickSmallGap"),
                      (da.THIN_THICK_THIN_LARGE_GAP = "thinThickThinLargeGap"),
                      (da.THIN_THICK_THIN_MEDIUM_GAP =
                        "thinThickThinMediumGap"),
                      (da.THIN_THICK_THIN_SMALL_GAP = "thinThickThinSmallGap"),
                      (da.THREE_D_EMBOSS = "threeDEmboss"),
                      (da.THREE_D_ENGRAVE = "threeDEngrave"),
                      (da.TRIPLE = "triple"),
                      (da.WAVE = "wave"));
                    class R extends t {
                      constructor(e) {
                        (super("w:pBdr"),
                          e.top && this.root.push(new H("w:top", e.top)),
                          e.bottom &&
                            this.root.push(new H("w:bottom", e.bottom)),
                          e.left && this.root.push(new H("w:left", e.left)),
                          e.right && this.root.push(new H("w:right", e.right)));
                      }
                    }
                    class D extends e {
                      constructor() {
                        super("w:pBdr");
                        var e = new H("w:bottom", {
                          color: "auto",
                          space: 1,
                          style: f.SINGLE,
                          size: 6,
                        });
                        this.root.push(e);
                      }
                    }
                    class B extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            start: "w:start",
                            end: "w:end",
                            left: "w:left",
                            right: "w:right",
                            hanging: "w:hanging",
                            firstLine: "w:firstLine",
                          }));
                      }
                    }
                    class F extends e {
                      constructor({
                        start: e,
                        end: t,
                        left: r,
                        right: n,
                        hanging: i,
                        firstLine: o,
                      }) {
                        (super("w:ind"),
                          this.root.push(
                            new B({
                              start: void 0 === e ? void 0 : (0, T.xb)(e),
                              end: void 0 === t ? void 0 : (0, T.xb)(t),
                              left: void 0 === r ? void 0 : (0, T.xb)(r),
                              right: void 0 === n ? void 0 : (0, T.xb)(n),
                              hanging: void 0 === i ? void 0 : (0, T.Jd)(i),
                              firstLine: void 0 === o ? void 0 : (0, T.Jd)(o),
                            }),
                          ));
                      }
                    }
                    class M extends e {
                      constructor() {
                        super("w:br");
                      }
                    }
                    (((da = m = m || {}).BEGIN = "begin"),
                      (da.END = "end"),
                      (da.SEPARATE = "separate"));
                    class j extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            type: "w:fldCharType",
                            dirty: "w:dirty",
                          }));
                      }
                    }
                    class U extends e {
                      constructor(e) {
                        (super("w:fldChar"),
                          this.root.push(new j({ type: m.BEGIN, dirty: e })));
                      }
                    }
                    class z extends e {
                      constructor(e) {
                        (super("w:fldChar"),
                          this.root.push(
                            new j({ type: m.SEPARATE, dirty: e }),
                          ));
                      }
                    }
                    class W extends e {
                      constructor(e) {
                        (super("w:fldChar"),
                          this.root.push(new j({ type: m.END, dirty: e })));
                      }
                    }
                    (((da = g = g || {}).CENTER = "center"),
                      (da.INSIDE = "inside"),
                      (da.LEFT = "left"),
                      (da.OUTSIDE = "outside"),
                      (da.RIGHT = "right"),
                      ((da = v = v || {}).BOTTOM = "bottom"),
                      (da.CENTER = "center"),
                      (da.INSIDE = "inside"),
                      (da.OUTSIDE = "outside"),
                      (da.TOP = "top"),
                      ((da = y = y || {}).DECIMAL = "decimal"),
                      (da.UPPER_ROMAN = "upperRoman"),
                      (da.LOWER_ROMAN = "lowerRoman"),
                      (da.UPPER_LETTER = "upperLetter"),
                      (da.LOWER_LETTER = "lowerLetter"),
                      (da.ORDINAL = "ordinal"),
                      (da.CARDINAL_TEXT = "cardinalText"),
                      (da.ORDINAL_TEXT = "ordinalText"),
                      (da.HEX = "hex"),
                      (da.CHICAGO = "chicago"),
                      (da.IDEOGRAPH_DIGITAL = "ideographDigital"),
                      (da.JAPANESE_COUNTING = "japaneseCounting"),
                      (da.AIUEO = "aiueo"),
                      (da.IROHA = "iroha"),
                      (da.DECIMAL_FULL_WIDTH = "decimalFullWidth"),
                      (da.DECIMAL_HALF_WIDTH = "decimalHalfWidth"),
                      (da.JAPANESE_LEGAL = "japaneseLegal"),
                      (da.JAPANESE_DIGITAL_TEN_THOUSAND =
                        "japaneseDigitalTenThousand"),
                      (da.DECIMAL_ENCLOSED_CIRCLE = "decimalEnclosedCircle"),
                      (da.DECIMAL_FULL_WIDTH_2 = "decimalFullWidth2"),
                      (da.AIUEO_FULL_WIDTH = "aiueoFullWidth"),
                      (da.IROHA_FULL_WIDTH = "irohaFullWidth"),
                      (da.DECIMAL_ZERO = "decimalZero"),
                      (da.BULLET = "bullet"),
                      (da.GANADA = "ganada"),
                      (da.CHOSUNG = "chosung"),
                      (da.DECIMAL_ENCLOSED_FULL_STOP =
                        "decimalEnclosedFullstop"),
                      (da.DECIMAL_ENCLOSED_PAREN = "decimalEnclosedParen"),
                      (da.DECIMAL_ENCLOSED_CIRCLE_CHINESE =
                        "decimalEnclosedCircleChinese"),
                      (da.IDEOGRAPH_ENCLOSED_CIRCLE =
                        "ideographEnclosedCircle"),
                      (da.IDEOGRAPH_TRADITIONAL = "ideographTraditional"),
                      (da.IDEOGRAPH_ZODIAC = "ideographZodiac"),
                      (da.IDEOGRAPH_ZODIAC_TRADITIONAL =
                        "ideographZodiacTraditional"),
                      (da.TAIWANESE_COUNTING = "taiwaneseCounting"),
                      (da.IDEOGRAPH_LEGAL_TRADITIONAL =
                        "ideographLegalTraditional"),
                      (da.TAIWANESE_COUNTING_THOUSAND =
                        "taiwaneseCountingThousand"),
                      (da.TAIWANESE_DIGITAL = "taiwaneseDigital"),
                      (da.CHINESE_COUNTING = "chineseCounting"),
                      (da.CHINESE_LEGAL_SIMPLIFIED = "chineseLegalSimplified"),
                      (da.CHINESE_COUNTING_TEN_THOUSAND =
                        "chineseCountingThousand"),
                      (da.KOREAN_DIGITAL = "koreanDigital"),
                      (da.KOREAN_COUNTING = "koreanCounting"),
                      (da.KOREAN_LEGAL = "koreanLegal"),
                      (da.KOREAN_DIGITAL_2 = "koreanDigital2"),
                      (da.VIETNAMESE_COUNTING = "vietnameseCounting"),
                      (da.RUSSIAN_LOWER = "russianLower"),
                      (da.RUSSIAN_UPPER = "russianUpper"),
                      (da.NONE = "none"),
                      (da.NUMBER_IN_DASH = "numberInDash"),
                      (da.HEBREW_1 = "hebrew1"),
                      (da.HEBREW_2 = "hebrew2"),
                      (da.ARABIC_ALPHA = "arabicAlpha"),
                      (da.ARABIC_ABJAD = "arabicAbjad"),
                      (da.HINDI_VOWELS = "hindiVowels"),
                      (da.HINDI_CONSONANTS = "hindiConsonants"),
                      (da.HINDI_NUMBERS = "hindiNumbers"),
                      (da.HINDI_COUNTING = "hindiCounting"),
                      (da.THAI_LETTERS = "thaiLetters"),
                      (da.THAI_NUMBERS = "thaiNumbers"),
                      (da.THAI_COUNTING = "thaiCounting"),
                      (da.BAHT_TEXT = "bahtText"),
                      (da.DOLLAR_TEXT = "dollarText"),
                      ((da = b = b || {}).DEFAULT = "default"),
                      (da.PRESERVE = "preserve"));
                    class $ extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { space: "xml:space" }));
                      }
                    }
                    class K extends e {
                      constructor() {
                        (super("w:instrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("PAGE"));
                      }
                    }
                    class G extends e {
                      constructor() {
                        (super("w:instrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("NUMPAGES"));
                      }
                    }
                    class q extends e {
                      constructor() {
                        (super("w:instrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("SECTIONPAGES"));
                      }
                    }
                    class V extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            fill: "w:fill",
                            color: "w:color",
                            type: "w:val",
                          }));
                      }
                    }
                    class X extends e {
                      constructor({ fill: e, color: t, type: r }) {
                        (super("w:shd"),
                          this.root.push(
                            new V({
                              fill: void 0 === e ? void 0 : (0, T.dg)(e),
                              color: void 0 === t ? void 0 : (0, T.dg)(t),
                              type: r,
                            }),
                          ));
                      }
                    }
                    (((da = w = w || {}).CLEAR = "clear"),
                      (da.DIAGONAL_CROSS = "diagCross"),
                      (da.DIAGONAL_STRIPE = "diagStripe"),
                      (da.HORIZONTAL_CROSS = "horzCross"),
                      (da.HORIZONTAL_STRIPE = "horzStripe"),
                      (da.NIL = "nil"),
                      (da.PERCENT_5 = "pct5"),
                      (da.PERCENT_10 = "pct10"),
                      (da.PERCENT_12 = "pct12"),
                      (da.PERCENT_15 = "pct15"),
                      (da.PERCENT_20 = "pct20"),
                      (da.PERCENT_25 = "pct25"),
                      (da.PERCENT_30 = "pct30"),
                      (da.PERCENT_35 = "pct35"),
                      (da.PERCENT_37 = "pct37"),
                      (da.PERCENT_40 = "pct40"),
                      (da.PERCENT_45 = "pct45"),
                      (da.PERCENT_50 = "pct50"),
                      (da.PERCENT_55 = "pct55"),
                      (da.PERCENT_60 = "pct60"),
                      (da.PERCENT_62 = "pct62"),
                      (da.PERCENT_65 = "pct65"),
                      (da.PERCENT_70 = "pct70"),
                      (da.PERCENT_75 = "pct75"),
                      (da.PERCENT_80 = "pct80"),
                      (da.PERCENT_85 = "pct85"),
                      (da.PERCENT_87 = "pct87"),
                      (da.PERCENT_90 = "pct90"),
                      (da.PERCENT_95 = "pct95"),
                      (da.REVERSE_DIAGONAL_STRIPE = "reverseDiagStripe"),
                      (da.SOLID = "solid"),
                      (da.THIN_DIAGONAL_CROSS = "thinDiagCross"),
                      (da.THIN_DIAGONAL_STRIPE = "thinDiagStripe"),
                      (da.THIN_HORIZONTAL_CROSS = "thinHorzCross"),
                      (da.THIN_REVERSE_DIAGONAL_STRIPE =
                        "thinReverseDiagStripe"),
                      (da.THIN_VERTICAL_STRIPE = "thinVertStripe"),
                      (da.VERTICAL_STRIPE = "vertStripe"));
                    class Q extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            id: "w:id",
                            author: "w:author",
                            date: "w:date",
                          }));
                      }
                    }
                    (x = x || {}).DOT = "dot";
                    class Y extends e {
                      constructor(e) {
                        (super("w:em"), this.root.push(new o({ val: e })));
                      }
                    }
                    class Z extends Y {
                      constructor(e = x.DOT) {
                        super(e);
                      }
                    }
                    class J extends Y {
                      constructor() {
                        super(x.DOT);
                      }
                    }
                    class ee extends e {
                      constructor(e) {
                        (super("w:spacing"),
                          this.root.push(new o({ val: (0, T.xb)(e) })));
                      }
                    }
                    class te extends e {
                      constructor(e) {
                        (super("w:color"),
                          this.root.push(new o({ val: (0, T.dg)(e) })));
                      }
                    }
                    class re extends e {
                      constructor(e) {
                        (super("w:highlight"),
                          this.root.push(new o({ val: e })));
                      }
                    }
                    class ne extends e {
                      constructor(e) {
                        (super("w:highlightCs"),
                          this.root.push(new o({ val: e })));
                      }
                    }
                    class ie extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            ascii: "w:ascii",
                            cs: "w:cs",
                            eastAsia: "w:eastAsia",
                            hAnsi: "w:hAnsi",
                            hint: "w:hint",
                          }));
                      }
                    }
                    class oe extends e {
                      constructor(e, t) {
                        if ((super("w:rFonts"), "string" == typeof e)) {
                          var r = e;
                          this.root.push(
                            new ie({
                              ascii: r,
                              cs: r,
                              eastAsia: r,
                              hAnsi: r,
                              hint: t,
                            }),
                          );
                        } else {
                          const t = e;
                          this.root.push(new ie(t));
                        }
                      }
                    }
                    class se extends e {
                      constructor(e) {
                        (super("w:vertAlign"),
                          this.root.push(new o({ val: e })));
                      }
                    }
                    class ae extends se {
                      constructor() {
                        super("superscript");
                      }
                    }
                    class ce extends se {
                      constructor() {
                        super("subscript");
                      }
                    }
                    (((da = S = S || {}).SINGLE = "single"),
                      (da.WORDS = "words"),
                      (da.DOUBLE = "double"),
                      (da.THICK = "thick"),
                      (da.DOTTED = "dotted"),
                      (da.DOTTEDHEAVY = "dottedHeavy"),
                      (da.DASH = "dash"),
                      (da.DASHEDHEAVY = "dashedHeavy"),
                      (da.DASHLONG = "dashLong"),
                      (da.DASHLONGHEAVY = "dashLongHeavy"),
                      (da.DOTDASH = "dotDash"),
                      (da.DASHDOTHEAVY = "dashDotHeavy"),
                      (da.DOTDOTDASH = "dotDotDash"),
                      (da.DASHDOTDOTHEAVY = "dashDotDotHeavy"),
                      (da.WAVE = "wave"),
                      (da.WAVYHEAVY = "wavyHeavy"),
                      (da.WAVYDOUBLE = "wavyDouble"),
                      (da.NONE = "none"));
                    class le extends e {
                      constructor(e = S.SINGLE, t) {
                        (super("w:u"),
                          this.root.push(
                            new o({
                              val: e,
                              color: void 0 === t ? void 0 : (0, T.dg)(t),
                            }),
                          ));
                      }
                    }
                    class ue extends t {
                      constructor(e) {
                        var t, r;
                        (super("w:rPr"),
                          e &&
                            (void 0 !== e.bold &&
                              this.push(new C("w:b", e.bold)),
                            ((void 0 === e.boldComplexScript &&
                              void 0 !== e.bold) ||
                              e.boldComplexScript) &&
                              this.push(
                                new C(
                                  "w:bCs",
                                  null !== (t = e.boldComplexScript) &&
                                  void 0 !== t
                                    ? t
                                    : e.bold,
                                ),
                              ),
                            void 0 !== e.italics &&
                              this.push(new C("w:i", e.italics)),
                            ((void 0 === e.italicsComplexScript &&
                              void 0 !== e.italics) ||
                              e.italicsComplexScript) &&
                              this.push(
                                new C(
                                  "w:iCs",
                                  null !== (r = e.italicsComplexScript) &&
                                  void 0 !== r
                                    ? r
                                    : e.italics,
                                ),
                              ),
                            e.underline &&
                              this.push(
                                new le(e.underline.type, e.underline.color),
                              ),
                            e.emphasisMark &&
                              this.push(new Z(e.emphasisMark.type)),
                            e.color && this.push(new te(e.color)),
                            void 0 !== e.size &&
                              this.push(new P("w:sz", e.size)),
                            (r =
                              void 0 === e.sizeComplexScript ||
                              !0 === e.sizeComplexScript
                                ? e.size
                                : e.sizeComplexScript) &&
                              this.push(new P("w:szCs", r)),
                            void 0 !== e.rightToLeft &&
                              this.push(new C("w:rtl", e.rightToLeft)),
                            void 0 !== e.smallCaps
                              ? this.push(new C("w:smallCaps", e.smallCaps))
                              : void 0 !== e.allCaps &&
                                this.push(new C("w:caps", e.allCaps)),
                            void 0 !== e.strike &&
                              this.push(new C("w:strike", e.strike)),
                            void 0 !== e.doubleStrike &&
                              this.push(new C("w:dstrike", e.doubleStrike)),
                            e.subScript && this.push(new ce()),
                            e.superScript && this.push(new ae()),
                            e.style && this.push(new k("w:rStyle", e.style)),
                            e.font &&
                              ("string" != typeof e.font && "name" in e.font
                                ? this.push(new oe(e.font.name, e.font.hint))
                                : this.push(new oe(e.font))),
                            e.highlight && this.push(new re(e.highlight)),
                            (r =
                              void 0 === e.highlightComplexScript ||
                              !0 === e.highlightComplexScript
                                ? e.highlight
                                : e.highlightComplexScript) &&
                              this.push(new ne(r)),
                            e.characterSpacing &&
                              this.push(new ee(e.characterSpacing)),
                            void 0 !== e.emboss &&
                              this.push(new C("w:emboss", e.emboss)),
                            void 0 !== e.imprint &&
                              this.push(new C("w:imprint", e.imprint)),
                            e.shading && this.push(new X(e.shading)),
                            e.revision && this.push(new he(e.revision)),
                            e.border && this.push(new H("w:bdr", e.border)),
                            e.vanish && this.push(new C("w:vanish", e.vanish)),
                            e.specVanish &&
                              this.push(new C("w:specVanish", e.vanish)),
                            void 0 !== e.scale &&
                              this.push(new A("w:w", e.scale))));
                      }
                      push(e) {
                        this.root.push(e);
                      }
                    }
                    class he extends e {
                      constructor(e) {
                        (super("w:rPrChange"),
                          this.root.push(
                            new Q({ id: e.id, author: e.author, date: e.date }),
                          ),
                          this.addChildElement(new ue(e)));
                      }
                    }
                    class pe extends e {
                      constructor(e) {
                        var t;
                        return (
                          super("w:t"),
                          "string" == typeof e
                            ? (this.root.push(new $({ space: b.PRESERVE })),
                              this.root.push(e))
                            : (this.root.push(
                                new $({
                                  space:
                                    null !== (t = e.space) && void 0 !== t
                                      ? t
                                      : b.DEFAULT,
                                }),
                              ),
                              this.root.push(e.text)),
                          this
                        );
                      }
                    }
                    (((da = E = E || {}).CURRENT = "CURRENT"),
                      (da.TOTAL_PAGES = "TOTAL_PAGES"),
                      (da.TOTAL_PAGES_IN_SECTION = "TOTAL_PAGES_IN_SECTION"));
                    class de extends e {
                      constructor(t) {
                        if (
                          (super("w:r"),
                          (this.properties = new ue(t)),
                          this.root.push(this.properties),
                          t.break)
                        )
                          for (let e = 0; e < t.break; e++)
                            this.root.push(new M());
                        if (t.children)
                          for (const e of t.children)
                            if ("string" != typeof e) this.root.push(e);
                            else
                              switch (e) {
                                case E.CURRENT:
                                  (this.root.push(new U()),
                                    this.root.push(new K()),
                                    this.root.push(new z()),
                                    this.root.push(new W()));
                                  break;
                                case E.TOTAL_PAGES:
                                  (this.root.push(new U()),
                                    this.root.push(new G()),
                                    this.root.push(new z()),
                                    this.root.push(new W()));
                                  break;
                                case E.TOTAL_PAGES_IN_SECTION:
                                  (this.root.push(new U()),
                                    this.root.push(new q()),
                                    this.root.push(new z()),
                                    this.root.push(new W()));
                                  break;
                                default:
                                  this.root.push(new pe(e));
                              }
                        else t.text && this.root.push(new pe(t.text));
                      }
                    }
                    class fe extends de {
                      constructor(e) {
                        if ("string" == typeof e)
                          return (super({}), this.root.push(new pe(e)), this);
                        super(e);
                      }
                    }
                    class me extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            char: "w:char",
                            symbolfont: "w:font",
                          }));
                      }
                    }
                    class ge extends e {
                      constructor(e = "", t = "Wingdings") {
                        (super("w:sym"),
                          this.root.push(new me({ char: e, symbolfont: t })));
                      }
                    }
                    class ve extends de {
                      constructor(e) {
                        if ("string" == typeof e)
                          return (super({}), this.root.push(new ge(e)), this);
                        (super(e),
                          this.root.push(new ge(e.char, e.symbolfont)));
                      }
                    }
                    var ye,
                      be,
                      we,
                      xe,
                      Se,
                      Ee,
                      Te,
                      Ce,
                      Pe,
                      ke,
                      Ae,
                      _e,
                      Ie,
                      Oe,
                      Le,
                      He,
                      Ne,
                      Re,
                      De,
                      Be,
                      Fe,
                      Me,
                      je,
                      Ue,
                      ze,
                      We,
                      $e,
                      Ke,
                      Ge,
                      qe,
                      Ve,
                      Xe,
                      Qe,
                      Ye,
                      Ze,
                      Je,
                      et,
                      tt,
                      rt,
                      nt,
                      it = va(5457);
                    (((da = ye = ye || {}).CHARACTER = "character"),
                      (da.COLUMN = "column"),
                      (da.INSIDE_MARGIN = "insideMargin"),
                      (da.LEFT_MARGIN = "leftMargin"),
                      (da.MARGIN = "margin"),
                      (da.OUTSIDE_MARGIN = "outsideMargin"),
                      (da.PAGE = "page"),
                      (da.RIGHT_MARGIN = "rightMargin"),
                      ((da = be = be || {}).BOTTOM_MARGIN = "bottomMargin"),
                      (da.INSIDE_MARGIN = "insideMargin"),
                      (da.LINE = "line"),
                      (da.MARGIN = "margin"),
                      (da.OUTSIDE_MARGIN = "outsideMargin"),
                      (da.PAGE = "page"),
                      (da.PARAGRAPH = "paragraph"),
                      (da.TOP_MARGIN = "topMargin"));
                    class ot extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { x: "x", y: "y" }));
                      }
                    }
                    class st extends e {
                      constructor() {
                        (super("wp:simplePos"),
                          this.root.push(new ot({ x: 0, y: 0 })));
                      }
                    }
                    class at extends e {
                      constructor(e) {
                        (super("wp:align"), this.root.push(e));
                      }
                    }
                    class ct extends e {
                      constructor(e) {
                        (super("wp:posOffset"), this.root.push(e.toString()));
                      }
                    }
                    class lt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { relativeFrom: "relativeFrom" }));
                      }
                    }
                    class ut extends e {
                      constructor(e) {
                        if (
                          (super("wp:positionH"),
                          this.root.push(
                            new lt({ relativeFrom: e.relative || ye.PAGE }),
                          ),
                          e.align)
                        )
                          this.root.push(new at(e.align));
                        else {
                          if (void 0 === e.offset)
                            throw new Error(
                              "There is no configuration provided for floating position (Align or offset)",
                            );
                          this.root.push(new ct(e.offset));
                        }
                      }
                    }
                    class ht extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { relativeFrom: "relativeFrom" }));
                      }
                    }
                    class pt extends e {
                      constructor(e) {
                        if (
                          (super("wp:positionV"),
                          this.root.push(
                            new ht({ relativeFrom: e.relative || be.PAGE }),
                          ),
                          e.align)
                        )
                          this.root.push(new at(e.align));
                        else {
                          if (void 0 === e.offset)
                            throw new Error(
                              "There is no configuration provided for floating position (Align or offset)",
                            );
                          this.root.push(new ct(e.offset));
                        }
                      }
                    }
                    class dt extends r {
                      constructor() {
                        (super(...arguments), (this.xmlKeys = { uri: "uri" }));
                      }
                    }
                    class ft extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            embed: "r:embed",
                            cstate: "cstate",
                          }));
                      }
                    }
                    class mt extends e {
                      constructor(e) {
                        (super("a:blip"),
                          this.root.push(
                            new ft({
                              embed: `rId{${e.fileName}}`,
                              cstate: "none",
                            }),
                          ));
                      }
                    }
                    class gt extends e {
                      constructor() {
                        super("a:srcRect");
                      }
                    }
                    class vt extends e {
                      constructor() {
                        super("a:fillRect");
                      }
                    }
                    class yt extends e {
                      constructor() {
                        (super("a:stretch"), this.root.push(new vt()));
                      }
                    }
                    class bt extends e {
                      constructor(e) {
                        (super("pic:blipFill"),
                          this.root.push(new mt(e)),
                          this.root.push(new gt()),
                          this.root.push(new yt()));
                      }
                    }
                    class wt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            noChangeAspect: "noChangeAspect",
                            noChangeArrowheads: "noChangeArrowheads",
                          }));
                      }
                    }
                    class xt extends e {
                      constructor() {
                        (super("a:picLocks"),
                          this.root.push(
                            new wt({
                              noChangeAspect: 1,
                              noChangeArrowheads: 1,
                            }),
                          ));
                      }
                    }
                    class St extends e {
                      constructor() {
                        (super("pic:cNvPicPr"), this.root.push(new xt()));
                      }
                    }
                    class Et extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            id: "id",
                            name: "name",
                            descr: "descr",
                          }));
                      }
                    }
                    class Tt extends e {
                      constructor() {
                        (super("pic:cNvPr"),
                          this.root.push(
                            new Et({ id: 0, name: "", descr: "" }),
                          ));
                      }
                    }
                    class Ct extends e {
                      constructor() {
                        (super("pic:nvPicPr"),
                          this.root.push(new Tt()),
                          this.root.push(new St()));
                      }
                    }
                    class Pt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { xmlns: "xmlns:pic" }));
                      }
                    }
                    class kt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { cx: "cx", cy: "cy" }));
                      }
                    }
                    class At extends e {
                      constructor(e, t) {
                        (super("a:ext"),
                          (this.attributes = new kt({ cx: e, cy: t })),
                          this.root.push(this.attributes));
                      }
                    }
                    class _t extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { x: "x", y: "y" }));
                      }
                    }
                    class It extends e {
                      constructor() {
                        (super("a:off"),
                          this.root.push(new _t({ x: 0, y: 0 })));
                      }
                    }
                    class Ot extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            flipVertical: "flipV",
                            flipHorizontal: "flipH",
                            rotation: "rot",
                          }));
                      }
                    }
                    class Lt extends e {
                      constructor(e) {
                        var t;
                        (super("a:xfrm"),
                          this.root.push(
                            new Ot({
                              flipVertical:
                                null === (t = e.flip) || void 0 === t
                                  ? void 0
                                  : t.vertical,
                              flipHorizontal:
                                null === (t = e.flip) || void 0 === t
                                  ? void 0
                                  : t.horizontal,
                              rotation: e.rotation,
                            }),
                          ),
                          (this.extents = new At(e.emus.x, e.emus.y)),
                          this.root.push(new It()),
                          this.root.push(this.extents));
                      }
                    }
                    class Ht extends e {
                      constructor() {
                        super("a:avLst");
                      }
                    }
                    class Nt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { prst: "prst" }));
                      }
                    }
                    class Rt extends e {
                      constructor() {
                        (super("a:prstGeom"),
                          this.root.push(new Nt({ prst: "rect" })),
                          this.root.push(new Ht()));
                      }
                    }
                    class Dt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { bwMode: "bwMode" }));
                      }
                    }
                    class Bt extends e {
                      constructor(e) {
                        (super("pic:spPr"),
                          this.root.push(new Dt({ bwMode: "auto" })),
                          (this.form = new Lt(e)),
                          this.root.push(this.form),
                          this.root.push(new Rt()));
                      }
                    }
                    class Ft extends e {
                      constructor(e, t) {
                        (super("pic:pic"),
                          this.root.push(
                            new Pt({
                              xmlns:
                                "http://schemas.openxmlformats.org/drawingml/2006/picture",
                            }),
                          ),
                          this.root.push(new Ct()),
                          this.root.push(new bt(e)),
                          this.root.push(new Bt(t)));
                      }
                    }
                    class Mt extends e {
                      constructor(e, t) {
                        (super("a:graphicData"),
                          this.root.push(
                            new dt({
                              uri: "http://schemas.openxmlformats.org/drawingml/2006/picture",
                            }),
                          ),
                          (this.pic = new Ft(e, t)),
                          this.root.push(this.pic));
                      }
                    }
                    class jt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { a: "xmlns:a" }));
                      }
                    }
                    class Ut extends e {
                      constructor(e, t) {
                        (super("a:graphic"),
                          this.root.push(
                            new jt({
                              a: "http://schemas.openxmlformats.org/drawingml/2006/main",
                            }),
                          ),
                          (this.data = new Mt(e, t)),
                          this.root.push(this.data));
                      }
                    }
                    (((da = we = we || {})[(da.NONE = 0)] = "NONE"),
                      (da[(da.SQUARE = 1)] = "SQUARE"),
                      (da[(da.TIGHT = 2)] = "TIGHT"),
                      (da[(da.TOP_AND_BOTTOM = 3)] = "TOP_AND_BOTTOM"),
                      ((da = xe = xe || {}).BOTH_SIDES = "bothSides"),
                      (da.LEFT = "left"),
                      (da.RIGHT = "right"),
                      (da.LARGEST = "largest"));
                    class zt extends e {
                      constructor() {
                        super("wp:wrapNone");
                      }
                    }
                    class Wt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            distT: "distT",
                            distB: "distB",
                            distL: "distL",
                            distR: "distR",
                            wrapText: "wrapText",
                          }));
                      }
                    }
                    class $t extends e {
                      constructor(
                        e,
                        t = { top: 0, bottom: 0, left: 0, right: 0 },
                      ) {
                        (super("wp:wrapSquare"),
                          this.root.push(
                            new Wt({
                              wrapText: e.side || xe.BOTH_SIDES,
                              distT: t.top,
                              distB: t.bottom,
                              distL: t.left,
                              distR: t.right,
                            }),
                          ));
                      }
                    }
                    class Kt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { distT: "distT", distB: "distB" }));
                      }
                    }
                    class Gt extends e {
                      constructor(e = { top: 0, bottom: 0 }) {
                        (super("wp:wrapTight"),
                          this.root.push(
                            new Kt({ distT: e.top, distB: e.bottom }),
                          ));
                      }
                    }
                    class qt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { distT: "distT", distB: "distB" }));
                      }
                    }
                    class Vt extends e {
                      constructor(e = { top: 0, bottom: 0 }) {
                        (super("wp:wrapTopAndBottom"),
                          this.root.push(
                            new qt({ distT: e.top, distB: e.bottom }),
                          ));
                      }
                    }
                    class Xt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            id: "id",
                            name: "name",
                            description: "descr",
                            title: "title",
                          }));
                      }
                    }
                    class Qt extends e {
                      constructor(
                        { name: e, description: t, title: r } = {
                          name: "",
                          description: "",
                          title: "",
                        },
                      ) {
                        (super("wp:docPr"),
                          this.root.push(
                            new Xt({
                              id: (0, it.NY)(),
                              name: e,
                              description: t,
                              title: r,
                            }),
                          ));
                      }
                    }
                    class Yt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { b: "b", l: "l", r: "r", t: "t" }));
                      }
                    }
                    class Zt extends e {
                      constructor() {
                        (super("wp:effectExtent"),
                          this.root.push(new Yt({ b: 0, l: 0, r: 0, t: 0 })));
                      }
                    }
                    class Jt extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { cx: "cx", cy: "cy" }));
                      }
                    }
                    class er extends e {
                      constructor(e, t) {
                        (super("wp:extent"),
                          (this.attributes = new Jt({ cx: e, cy: t })),
                          this.root.push(this.attributes));
                      }
                    }
                    class tr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            xmlns: "xmlns:a",
                            noChangeAspect: "noChangeAspect",
                          }));
                      }
                    }
                    class rr extends e {
                      constructor() {
                        (super("a:graphicFrameLocks"),
                          this.root.push(
                            new tr({
                              xmlns:
                                "http://schemas.openxmlformats.org/drawingml/2006/main",
                              noChangeAspect: 1,
                            }),
                          ));
                      }
                    }
                    class nr extends e {
                      constructor() {
                        (super("wp:cNvGraphicFramePr"),
                          this.root.push(new rr()));
                      }
                    }
                    class ir extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            distT: "distT",
                            distB: "distB",
                            distL: "distL",
                            distR: "distR",
                            allowOverlap: "allowOverlap",
                            behindDoc: "behindDoc",
                            layoutInCell: "layoutInCell",
                            locked: "locked",
                            relativeHeight: "relativeHeight",
                            simplePos: "simplePos",
                          }));
                      }
                    }
                    class or extends e {
                      constructor(e, t, r) {
                        super("wp:anchor");
                        var n = Object.assign(
                          {
                            allowOverlap: !0,
                            behindDocument: !1,
                            lockAnchor: !1,
                            layoutInCell: !0,
                            verticalPosition: {},
                            horizontalPosition: {},
                          },
                          r.floating,
                        );
                        if (
                          (this.root.push(
                            new ir({
                              distT: (n.margins && n.margins.top) || 0,
                              distB: (n.margins && n.margins.bottom) || 0,
                              distL: (n.margins && n.margins.left) || 0,
                              distR: (n.margins && n.margins.right) || 0,
                              simplePos: "0",
                              allowOverlap: !0 === n.allowOverlap ? "1" : "0",
                              behindDoc: !0 === n.behindDocument ? "1" : "0",
                              locked: !0 === n.lockAnchor ? "1" : "0",
                              layoutInCell: !0 === n.layoutInCell ? "1" : "0",
                              relativeHeight: n.zIndex || t.emus.y,
                            }),
                          ),
                          this.root.push(new st()),
                          this.root.push(new ut(n.horizontalPosition)),
                          this.root.push(new pt(n.verticalPosition)),
                          this.root.push(new er(t.emus.x, t.emus.y)),
                          this.root.push(new Zt()),
                          void 0 !== r.floating && void 0 !== r.floating.wrap)
                        )
                          switch (r.floating.wrap.type) {
                            case we.SQUARE:
                              this.root.push(
                                new $t(r.floating.wrap, r.floating.margins),
                              );
                              break;
                            case we.TIGHT:
                              this.root.push(new Gt(r.floating.margins));
                              break;
                            case we.TOP_AND_BOTTOM:
                              this.root.push(new Vt(r.floating.margins));
                              break;
                            default:
                              we.NONE;
                              this.root.push(new zt());
                          }
                        else this.root.push(new zt());
                        (this.root.push(new Qt(r.docProperties)),
                          this.root.push(new nr()),
                          this.root.push(new Ut(e, t)));
                      }
                    }
                    class sr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            distT: "distT",
                            distB: "distB",
                            distL: "distL",
                            distR: "distR",
                          }));
                      }
                    }
                    class ar extends e {
                      constructor({
                        mediaData: e,
                        transform: t,
                        docProperties: r,
                      }) {
                        (super("wp:inline"),
                          this.root.push(
                            new sr({ distT: 0, distB: 0, distL: 0, distR: 0 }),
                          ),
                          (this.extent = new er(t.emus.x, t.emus.y)),
                          (this.graphic = new Ut(e, t)),
                          this.root.push(this.extent),
                          this.root.push(new Zt()),
                          this.root.push(new Qt(r)),
                          this.root.push(new nr()),
                          this.root.push(this.graphic));
                      }
                    }
                    class cr extends e {
                      constructor(e, t = {}) {
                        (super("w:drawing"),
                          t.floating
                            ? this.root.push(new or(e, e.transformation, t))
                            : ((this.inline = new ar({
                                mediaData: e,
                                transform: e.transformation,
                                docProperties: t.docProperties,
                              })),
                              this.root.push(this.inline)));
                      }
                    }
                    class lr extends de {
                      constructor(e) {
                        (super({}), (this.key = (0, it.EL)() + ".png"));
                        var t =
                          "string" == typeof e.data
                            ? this.convertDataURIToBinary(e.data)
                            : e.data;
                        this.imageData = {
                          stream: t,
                          fileName: this.key,
                          transformation: {
                            pixels: {
                              x: Math.round(e.transformation.width),
                              y: Math.round(e.transformation.height),
                            },
                            emus: {
                              x: Math.round(9525 * e.transformation.width),
                              y: Math.round(9525 * e.transformation.height),
                            },
                            flip: e.transformation.flip,
                            rotation: e.transformation.rotation
                              ? 6e4 * e.transformation.rotation
                              : void 0,
                          },
                        };
                        e = new cr(this.imageData, {
                          floating: e.floating,
                          docProperties: e.altText,
                        });
                        this.root.push(e);
                      }
                      prepForXml(e) {
                        return (
                          e.file.Media.addImage(this.key, this.imageData),
                          super.prepForXml(e)
                        );
                      }
                      convertDataURIToBinary(e) {
                        if ("function" != typeof atob)
                          return new (va(8764).Buffer)(e, "base64");
                        {
                          const va = e.indexOf(";base64,"),
                            t = -1 === va ? 0 : va + ";base64,".length;
                          return new Uint8Array(
                            atob(e.substring(t))
                              .split("")
                              .map((e) => e.charCodeAt(0)),
                          );
                        }
                      }
                    }
                    class ur extends e {
                      constructor(e) {
                        (super("w:instrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("SEQ " + e));
                      }
                    }
                    class hr extends de {
                      constructor(e) {
                        (super({}),
                          this.root.push(new U(!0)),
                          this.root.push(new ur(e)),
                          this.root.push(new z()),
                          this.root.push(new W()));
                      }
                    }
                    class pr extends e {
                      constructor() {
                        super("w:tab");
                      }
                    }
                    class dr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { instr: "w:instr" }));
                      }
                    }
                    class fr extends e {
                      constructor(e, t) {
                        (super("w:fldSimple"),
                          this.root.push(new dr({ instr: e })),
                          void 0 !== t && this.root.push(new fe(t)));
                      }
                    }
                    class mr extends fr {
                      constructor(e) {
                        super(` MERGEFIELD ${e} `, `«${e}»`);
                      }
                    }
                    class gr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            id: "w:id",
                            initials: "w:initials",
                            author: "w:author",
                            date: "w:date",
                          }));
                      }
                    }
                    class vr extends r {
                      constructor() {
                        (super(...arguments), (this.xmlKeys = { id: "w:id" }));
                      }
                    }
                    class yr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            "xmlns:cx": "xmlns:cx",
                            "xmlns:cx1": "xmlns:cx1",
                            "xmlns:cx2": "xmlns:cx2",
                            "xmlns:cx3": "xmlns:cx3",
                            "xmlns:cx4": "xmlns:cx4",
                            "xmlns:cx5": "xmlns:cx5",
                            "xmlns:cx6": "xmlns:cx6",
                            "xmlns:cx7": "xmlns:cx7",
                            "xmlns:cx8": "xmlns:cx8",
                            "xmlns:mc": "xmlns:mc",
                            "xmlns:aink": "xmlns:aink",
                            "xmlns:am3d": "xmlns:am3d",
                            "xmlns:o": "xmlns:o",
                            "xmlns:r": "xmlns:r",
                            "xmlns:m": "xmlns:m",
                            "xmlns:v": "xmlns:v",
                            "xmlns:wp14": "xmlns:wp14",
                            "xmlns:wp": "xmlns:wp",
                            "xmlns:w10": "xmlns:w10",
                            "xmlns:w": "xmlns:w",
                            "xmlns:w14": "xmlns:w14",
                            "xmlns:w15": "xmlns:w15",
                            "xmlns:w16cex": "xmlns:w16cex",
                            "xmlns:w16cid": "xmlns:w16cid",
                            "xmlns:w16": "xmlns:w16",
                            "xmlns:w16sdtdh": "xmlns:w16sdtdh",
                            "xmlns:w16se": "xmlns:w16se",
                            "xmlns:wpg": "xmlns:wpg",
                            "xmlns:wpi": "xmlns:wpi",
                            "xmlns:wne": "xmlns:wne",
                            "xmlns:wps": "xmlns:wps",
                          }));
                      }
                    }
                    class br extends e {
                      constructor(e) {
                        (super("w:commentRangeStart"),
                          this.root.push(new vr({ id: e })));
                      }
                    }
                    class wr extends e {
                      constructor(e) {
                        (super("w:commentRangeEnd"),
                          this.root.push(new vr({ id: e })));
                      }
                    }
                    class xr extends e {
                      constructor(e) {
                        (super("w:commentReference"),
                          this.root.push(new vr({ id: e })));
                      }
                    }
                    class Sr extends e {
                      constructor({
                        id: e,
                        initials: t,
                        author: r,
                        date: n = new Date(),
                        text: i,
                      }) {
                        (super("w:comment"),
                          this.root.push(
                            new gr({
                              id: e,
                              initials: t,
                              author: r,
                              date: n.toISOString(),
                            }),
                          ),
                          this.root.push(new Fn({ children: [new fe(i)] })));
                      }
                    }
                    class Er extends e {
                      constructor({ children: e }) {
                        (super("w:comments"),
                          this.root.push(
                            new yr({
                              "xmlns:cx":
                                "http://schemas.microsoft.com/office/drawing/2014/chartex",
                              "xmlns:cx1":
                                "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",
                              "xmlns:cx2":
                                "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",
                              "xmlns:cx3":
                                "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",
                              "xmlns:cx4":
                                "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",
                              "xmlns:cx5":
                                "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",
                              "xmlns:cx6":
                                "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",
                              "xmlns:cx7":
                                "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",
                              "xmlns:cx8":
                                "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",
                              "xmlns:mc":
                                "http://schemas.openxmlformats.org/markup-compatibility/2006",
                              "xmlns:aink":
                                "http://schemas.microsoft.com/office/drawing/2016/ink",
                              "xmlns:am3d":
                                "http://schemas.microsoft.com/office/drawing/2017/model3d",
                              "xmlns:o":
                                "urn:schemas-microsoft-com:office:office",
                              "xmlns:r":
                                "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                              "xmlns:m":
                                "http://schemas.openxmlformats.org/officeDocument/2006/math",
                              "xmlns:v": "urn:schemas-microsoft-com:vml",
                              "xmlns:wp14":
                                "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                              "xmlns:wp":
                                "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                              "xmlns:w10":
                                "urn:schemas-microsoft-com:office:word",
                              "xmlns:w":
                                "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                              "xmlns:w14":
                                "http://schemas.microsoft.com/office/word/2010/wordml",
                              "xmlns:w15":
                                "http://schemas.microsoft.com/office/word/2012/wordml",
                              "xmlns:w16cex":
                                "http://schemas.microsoft.com/office/word/2018/wordml/cex",
                              "xmlns:w16cid":
                                "http://schemas.microsoft.com/office/word/2016/wordml/cid",
                              "xmlns:w16":
                                "http://schemas.microsoft.com/office/word/2018/wordml",
                              "xmlns:w16sdtdh":
                                "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",
                              "xmlns:w16se":
                                "http://schemas.microsoft.com/office/word/2015/wordml/symex",
                              "xmlns:wpg":
                                "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                              "xmlns:wpi":
                                "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                              "xmlns:wne":
                                "http://schemas.microsoft.com/office/word/2006/wordml",
                              "xmlns:wps":
                                "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                            }),
                          ));
                        for (const t of e) this.root.push(new Sr(t));
                      }
                    }
                    (((da = Se = Se || {}).COLUMN = "column"),
                      (da.PAGE = "page"));
                    class Tr extends e {
                      constructor(e) {
                        (super("w:br"), this.root.push(new o({ type: e })));
                      }
                    }
                    class Cr extends de {
                      constructor() {
                        (super({}), this.root.push(new Tr(Se.PAGE)));
                      }
                    }
                    class Pr extends de {
                      constructor() {
                        (super({}), this.root.push(new Tr(Se.COLUMN)));
                      }
                    }
                    class kr extends e {
                      constructor() {
                        super("w:pageBreakBefore");
                      }
                    }
                    (((da = Ee = Ee || {}).AT_LEAST = "atLeast"),
                      (da.EXACTLY = "exactly"),
                      (da.EXACT = "exact"),
                      (da.AUTO = "auto"));
                    class Ar extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            after: "w:after",
                            before: "w:before",
                            line: "w:line",
                            lineRule: "w:lineRule",
                          }));
                      }
                    }
                    class _r extends e {
                      constructor(e) {
                        (super("w:spacing"), this.root.push(new Ar(e)));
                      }
                    }
                    (((da = Te = Te || {}).HEADING_1 = "Heading1"),
                      (da.HEADING_2 = "Heading2"),
                      (da.HEADING_3 = "Heading3"),
                      (da.HEADING_4 = "Heading4"),
                      (da.HEADING_5 = "Heading5"),
                      (da.HEADING_6 = "Heading6"),
                      (da.TITLE = "Title"));
                    class Ir extends e {
                      constructor(e) {
                        (super("w:pStyle"), this.root.push(new o({ val: e })));
                      }
                    }
                    class Or extends e {
                      constructor(e) {
                        super("w:tabs");
                        for (const t of e) this.root.push(new Hr(t));
                      }
                    }
                    (((da = Ce = Ce || {}).LEFT = "left"),
                      (da.RIGHT = "right"),
                      (da.CENTER = "center"),
                      (da.BAR = "bar"),
                      (da.CLEAR = "clear"),
                      (da.DECIMAL = "decimal"),
                      (da.END = "end"),
                      (da.NUM = "num"),
                      (da.START = "start"),
                      ((da = Pe = Pe || {}).DOT = "dot"),
                      (da.HYPHEN = "hyphen"),
                      (da.MIDDLE_DOT = "middleDot"),
                      (da.NONE = "none"),
                      (da.UNDERSCORE = "underscore"),
                      (ke = ke || {}),
                      (ke[(ke.MAX = 9026)] = "MAX"));
                    class Lr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            val: "w:val",
                            pos: "w:pos",
                            leader: "w:leader",
                          }));
                      }
                    }
                    class Hr extends e {
                      constructor({ type: e, position: t, leader: r }) {
                        (super("w:tab"),
                          this.root.push(
                            new Lr({ val: e, pos: t, leader: r }),
                          ));
                      }
                    }
                    class Nr extends e {
                      constructor(e, t) {
                        (super("w:numPr"),
                          this.root.push(new Rr(t)),
                          this.root.push(new Dr(e)));
                      }
                    }
                    class Rr extends e {
                      constructor(e) {
                        if ((super("w:ilvl"), 9 < e))
                          throw new Error(
                            "Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7",
                          );
                        this.root.push(new o({ val: e }));
                      }
                    }
                    class Dr extends e {
                      constructor(e) {
                        (super("w:numId"),
                          this.root.push(
                            new o({ val: "string" == typeof e ? `{${e}}` : e }),
                          ));
                      }
                    }
                    class Br extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            id: "Id",
                            type: "Type",
                            target: "Target",
                            targetMode: "TargetMode",
                          }));
                      }
                    }
                    (Ae = Ae || {}).EXTERNAL = "External";
                    class Fr extends e {
                      constructor(e, t, r, n) {
                        (super("Relationship"),
                          this.root.push(
                            new Br({
                              id: e,
                              type: t,
                              target: r,
                              targetMode: n,
                            }),
                          ));
                      }
                    }
                    class Mr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            id: "r:id",
                            history: "w:history",
                            anchor: "w:anchor",
                          }));
                      }
                    }
                    (((da = _e = _e || {}).INTERNAL = "INTERNAL"),
                      (da.EXTERNAL = "EXTERNAL"));
                    class jr extends e {
                      constructor(e, t, r) {
                        (super("w:hyperlink"), (this.linkId = t));
                        ((r = {
                          history: 1,
                          anchor: r || void 0,
                          id: r ? void 0 : "rId" + this.linkId,
                        }),
                          (r = new Mr(r)));
                        (this.root.push(r),
                          e.forEach((e) => {
                            this.root.push(e);
                          }));
                      }
                    }
                    class Ur extends jr {
                      constructor(e) {
                        super(e.children, (0, it.EL)(), e.anchor);
                      }
                    }
                    class zr extends e {
                      constructor(e) {
                        (super("w:externalHyperlink"), (this.options = e));
                      }
                    }
                    class Wr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { id: "w:id", name: "w:name" }));
                      }
                    }
                    class $r extends r {
                      constructor() {
                        (super(...arguments), (this.xmlKeys = { id: "w:id" }));
                      }
                    }
                    class Kr {
                      constructor(e) {
                        var t = (0, it.NY)();
                        ((this.start = new Gr(e.id, t)),
                          (this.children = e.children),
                          (this.end = new qr(t)));
                      }
                    }
                    class Gr extends e {
                      constructor(e, t) {
                        super("w:bookmarkStart");
                        t = new Wr({ name: e, id: t });
                        this.root.push(t);
                      }
                    }
                    class qr extends e {
                      constructor(e) {
                        super("w:bookmarkEnd");
                        e = new $r({ id: e });
                        this.root.push(e);
                      }
                    }
                    class Vr extends e {
                      constructor(e) {
                        (super("w:outlineLvl"),
                          (this.level = e),
                          this.root.push(new o({ val: e })));
                      }
                    }
                    class Xr extends e {
                      constructor(e, t = {}) {
                        (super("w:instrText"),
                          this.root.push(new $({ space: b.PRESERVE })));
                        let r = "PAGEREF " + e;
                        (t.hyperlink && (r += " \\h"),
                          t.useRelativePosition && (r += " \\p"),
                          this.root.push(r));
                      }
                    }
                    class Qr extends de {
                      constructor(e, t = {}) {
                        super({ children: [new U(!0), new Xr(e, t), new W()] });
                      }
                    }
                    (((da = Ie = Ie || {}).BOTTOM = "bottom"),
                      (da.CENTER = "center"),
                      (da.TOP = "top"));
                    class Yr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { verticalAlign: "w:val" }));
                      }
                    }
                    class Zr extends e {
                      constructor(e) {
                        (super("w:vAlign"),
                          this.root.push(new Yr({ verticalAlign: e })));
                      }
                    }
                    (((da = Oe = Oe || {}).DEFAULT = "default"),
                      (da.FIRST = "first"),
                      (da.EVEN = "even"));
                    class Jr extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { type: "w:type", id: "r:id" }));
                      }
                    }
                    (((da = Le = Le || {}).HEADER = "w:headerReference"),
                      (da.FOOTER = "w:footerReference"));
                    class en extends e {
                      constructor(e, t) {
                        (super(e),
                          this.root.push(
                            new Jr({
                              type: t.type || Oe.DEFAULT,
                              id: "rId" + t.id,
                            }),
                          ));
                      }
                    }
                    class tn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            space: "w:space",
                            count: "w:num",
                            separate: "w:sep",
                            equalWidth: "w:equalWidth",
                          }));
                      }
                    }
                    class rn extends e {
                      constructor({
                        space: e,
                        count: t,
                        separate: r,
                        equalWidth: n,
                        children: i,
                      }) {
                        (super("w:cols"),
                          this.root.push(
                            new tn({
                              space: void 0 === e ? void 0 : (0, T.Jd)(e),
                              count: void 0 === t ? void 0 : (0, T.vH)(t),
                              separate: r,
                              equalWidth: n,
                            }),
                          ),
                          !n && i && i.forEach((e) => this.addChildElement(e)));
                      }
                    }
                    (((da = He = He || {}).DEFAULT = "default"),
                      (da.LINES = "lines"),
                      (da.LINES_AND_CHARS = "linesAndChars"),
                      (da.SNAP_TO_CHARS = "snapToChars"));
                    class nn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            type: "w:type",
                            linePitch: "w:linePitch",
                            charSpace: "w:charSpace",
                          }));
                      }
                    }
                    class on extends e {
                      constructor(e, t, r) {
                        (super("w:docGrid"),
                          this.root.push(
                            new nn({
                              type: r,
                              linePitch: (0, T.vH)(e),
                              charSpace: t ? (0, T.vH)(t) : void 0,
                            }),
                          ));
                      }
                    }
                    (((da = Ne = Ne || {}).NEW_PAGE = "newPage"),
                      (da.NEW_SECTION = "newSection"),
                      (da.CONTINUOUS = "continuous"));
                    class sn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            countBy: "w:countBy",
                            start: "w:start",
                            restart: "w:restart",
                            distance: "w:distance",
                          }));
                      }
                    }
                    class an extends e {
                      constructor({
                        countBy: e,
                        start: t,
                        restart: r,
                        distance: n,
                      }) {
                        (super("w:lnNumType"),
                          this.root.push(
                            new sn({
                              countBy: void 0 === e ? void 0 : (0, T.vH)(e),
                              start: void 0 === t ? void 0 : (0, T.vH)(t),
                              restart: r,
                              distance: void 0 === n ? void 0 : (0, T.Jd)(n),
                            }),
                          ));
                      }
                    }
                    (((da = Re = Re || {}).ALL_PAGES = "allPages"),
                      (da.FIRST_PAGE = "firstPage"),
                      (da.NOT_FIRST_PAGE = "notFirstPage"),
                      ((da = De = De || {}).PAGE = "page"),
                      (da.TEXT = "text"),
                      ((da = Be = Be || {}).BACK = "back"),
                      (da.FRONT = "front"));
                    class cn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            display: "w:display",
                            offsetFrom: "w:offsetFrom",
                            zOrder: "w:zOrder",
                          }));
                      }
                    }
                    class ln extends t {
                      constructor(e) {
                        if ((super("w:pgBorders"), !e)) return this;
                        (e.pageBorders
                          ? this.root.push(
                              new cn({
                                display: e.pageBorders.display,
                                offsetFrom: e.pageBorders.offsetFrom,
                                zOrder: e.pageBorders.zOrder,
                              }),
                            )
                          : this.root.push(new cn({})),
                          e.pageBorderTop &&
                            this.root.push(new H("w:top", e.pageBorderTop)),
                          e.pageBorderLeft &&
                            this.root.push(new H("w:left", e.pageBorderLeft)),
                          e.pageBorderBottom &&
                            this.root.push(
                              new H("w:bottom", e.pageBorderBottom),
                            ),
                          e.pageBorderRight &&
                            this.root.push(
                              new H("w:right", e.pageBorderRight),
                            ));
                      }
                    }
                    class un extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            top: "w:top",
                            right: "w:right",
                            bottom: "w:bottom",
                            left: "w:left",
                            header: "w:header",
                            footer: "w:footer",
                            gutter: "w:gutter",
                          }));
                      }
                    }
                    class hn extends e {
                      constructor(e, t, r, n, i, o, s) {
                        (super("w:pgMar"),
                          this.root.push(
                            new un({
                              top: (0, T.xb)(e),
                              right: (0, T.Jd)(t),
                              bottom: (0, T.xb)(r),
                              left: (0, T.Jd)(n),
                              header: (0, T.Jd)(i),
                              footer: (0, T.Jd)(o),
                              gutter: (0, T.Jd)(s),
                            }),
                          ));
                      }
                    }
                    (((da = Fe = Fe || {}).HYPHEN = "hyphen"),
                      (da.PERIOD = "period"),
                      (da.COLON = "colon"),
                      (da.EM_DASH = "emDash"),
                      (da.EN_DASH = "endash"));
                    class pn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            start: "w:start",
                            formatType: "w:fmt",
                            separator: "w:chapSep",
                          }));
                      }
                    }
                    class dn extends e {
                      constructor({ start: e, formatType: t, separator: r }) {
                        (super("w:pgNumType"),
                          this.root.push(
                            new pn({
                              start: void 0 === e ? void 0 : (0, T.vH)(e),
                              formatType: t,
                              separator: r,
                            }),
                          ));
                      }
                    }
                    (((da = Me = Me || {}).PORTRAIT = "portrait"),
                      (da.LANDSCAPE = "landscape"));
                    class fn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            width: "w:w",
                            height: "w:h",
                            orientation: "w:orient",
                          }));
                      }
                    }
                    class mn extends e {
                      constructor(e, t, r) {
                        super("w:pgSz");
                        var n = r === Me.LANDSCAPE,
                          e = (0, T.Jd)(e),
                          t = (0, T.Jd)(t);
                        this.root.push(
                          new fn({
                            width: n ? t : e,
                            height: n ? e : t,
                            orientation: r,
                          }),
                        );
                      }
                    }
                    (((da = je = je || {}).LEFT_TO_RIGHT_TOP_TO_BOTTOM =
                      "lrTb"),
                      (da.TOP_TO_BOTTOM_RIGHT_TO_LEFT = "tbRl"));
                    class gn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class vn extends e {
                      constructor(e) {
                        (super("w:textDirection"),
                          this.root.push(new gn({ val: e })));
                      }
                    }
                    (((da = Ue = Ue || {}).NEXT_PAGE = "nextPage"),
                      (da.NEXT_COLUMN = "nextColumn"),
                      (da.CONTINUOUS = "continuous"),
                      (da.EVEN_PAGE = "evenPage"),
                      (da.ODD_PAGE = "oddPage"));
                    class yn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class bn extends e {
                      constructor(e) {
                        (super("w:type"), this.root.push(new yn({ val: e })));
                      }
                    }
                    const wn = {
                        TOP: "1in",
                        RIGHT: "1in",
                        BOTTOM: "1in",
                        LEFT: "1in",
                        HEADER: 708,
                        FOOTER: 708,
                        GUTTER: 0,
                      },
                      xn = {
                        WIDTH: 11906,
                        HEIGHT: 16838,
                        ORIENTATION: Me.PORTRAIT,
                      };
                    class Sn extends e {
                      constructor({
                        page: {
                          size: {
                            width: e = xn.WIDTH,
                            height: t = xn.HEIGHT,
                            orientation: r = xn.ORIENTATION,
                          } = {},
                          margin: {
                            top: n = wn.TOP,
                            right: i = wn.RIGHT,
                            bottom: o = wn.BOTTOM,
                            left: s = wn.LEFT,
                            header: a = wn.HEADER,
                            footer: c = wn.FOOTER,
                            gutter: l = wn.GUTTER,
                          } = {},
                          pageNumbers: u = {},
                          borders: h,
                          textDirection: p,
                        } = {},
                        grid: {
                          linePitch: d = 360,
                          charSpace: f,
                          type: m,
                        } = {},
                        headerWrapperGroup: g = {},
                        footerWrapperGroup: v = {},
                        lineNumbers: y,
                        titlePage: b,
                        verticalAlign: w,
                        column: x,
                        type: S,
                      } = {}) {
                        (super("w:sectPr"),
                          this.addHeaderFooterGroup(Le.HEADER, g),
                          this.addHeaderFooterGroup(Le.FOOTER, v),
                          S && this.root.push(new bn(S)),
                          this.root.push(new mn(e, t, r)),
                          this.root.push(new hn(n, i, o, s, a, c, l)),
                          h && this.root.push(new ln(h)),
                          y && this.root.push(new an(y)),
                          this.root.push(new dn(u)),
                          x && this.root.push(new rn(x)),
                          w && this.root.push(new Zr(w)),
                          void 0 !== b && this.root.push(new C("w:titlePg", b)),
                          p && this.root.push(new vn(p)),
                          this.root.push(new on(d, f, m)));
                      }
                      addHeaderFooterGroup(e, t) {
                        (t.default &&
                          this.root.push(
                            new en(e, {
                              type: Oe.DEFAULT,
                              id: t.default.View.ReferenceId,
                            }),
                          ),
                          t.first &&
                            this.root.push(
                              new en(e, {
                                type: Oe.FIRST,
                                id: t.first.View.ReferenceId,
                              }),
                            ),
                          t.even &&
                            this.root.push(
                              new en(e, {
                                type: Oe.EVEN,
                                id: t.even.View.ReferenceId,
                              }),
                            ));
                      }
                    }
                    class En extends e {
                      constructor() {
                        (super("w:body"), (this.sections = []));
                      }
                      addSection(e) {
                        var t = this.sections.pop();
                        (this.root.push(this.createSectionParagraph(t)),
                          this.sections.push(new Sn(e)));
                      }
                      prepForXml(e) {
                        return (
                          1 === this.sections.length &&
                            (this.root.splice(0, 1),
                            this.root.push(this.sections.pop())),
                          super.prepForXml(e)
                        );
                      }
                      push(e) {
                        this.root.push(e);
                      }
                      createSectionParagraph(e) {
                        const t = new Fn({}),
                          r = new Bn({});
                        return (r.push(e), t.addChildElement(r), t);
                      }
                    }
                    class Tn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { width: "w:w", space: "w:space" }));
                      }
                    }
                    class Cn extends e {
                      constructor({ width: e, space: t }) {
                        (super("w:col"),
                          this.root.push(
                            new Tn({
                              width: (0, T.Jd)(e),
                              space: void 0 === t ? void 0 : (0, T.Jd)(t),
                            }),
                          ));
                      }
                    }
                    class Pn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            wpc: "xmlns:wpc",
                            mc: "xmlns:mc",
                            o: "xmlns:o",
                            r: "xmlns:r",
                            m: "xmlns:m",
                            v: "xmlns:v",
                            wp14: "xmlns:wp14",
                            wp: "xmlns:wp",
                            w10: "xmlns:w10",
                            w: "xmlns:w",
                            w14: "xmlns:w14",
                            w15: "xmlns:w15",
                            wpg: "xmlns:wpg",
                            wpi: "xmlns:wpi",
                            wne: "xmlns:wne",
                            wps: "xmlns:wps",
                            Ignorable: "mc:Ignorable",
                            cp: "xmlns:cp",
                            dc: "xmlns:dc",
                            dcterms: "xmlns:dcterms",
                            dcmitype: "xmlns:dcmitype",
                            xsi: "xmlns:xsi",
                            type: "xsi:type",
                            cx: "xmlns:cx",
                            cx1: "xmlns:cx1",
                            cx2: "xmlns:cx2",
                            cx3: "xmlns:cx3",
                            cx4: "xmlns:cx4",
                            cx5: "xmlns:cx5",
                            cx6: "xmlns:cx6",
                            cx7: "xmlns:cx7",
                            cx8: "xmlns:cx8",
                            aink: "xmlns:aink",
                            am3d: "xmlns:am3d",
                            w16cex: "xmlns:w16cex",
                            w16cid: "xmlns:w16cid",
                            w16: "xmlns:w16",
                            w16sdtdh: "xmlns:w16sdtdh",
                            w16se: "xmlns:w16se",
                          }));
                      }
                    }
                    class kn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            color: "w:color",
                            themeColor: "w:themeColor",
                            themeShade: "w:themeShade",
                            themeTint: "w:themeTint",
                          }));
                      }
                    }
                    class An extends e {
                      constructor(e) {
                        (super("w:background"),
                          this.root.push(
                            new kn({
                              color:
                                void 0 === e.color
                                  ? void 0
                                  : (0, T.dg)(e.color),
                              themeColor: e.themeColor,
                              themeShade:
                                void 0 === e.themeShade
                                  ? void 0
                                  : (0, T.xD)(e.themeShade),
                              themeTint:
                                void 0 === e.themeTint
                                  ? void 0
                                  : (0, T.xD)(e.themeTint),
                            }),
                          ));
                      }
                    }
                    class _n extends e {
                      constructor(e) {
                        (super("w:document"),
                          this.root.push(
                            new Pn({
                              wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
                              mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                              o: "urn:schemas-microsoft-com:office:office",
                              r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                              m: "http://schemas.openxmlformats.org/officeDocument/2006/math",
                              v: "urn:schemas-microsoft-com:vml",
                              wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                              wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                              w10: "urn:schemas-microsoft-com:office:word",
                              w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                              w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                              w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                              wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                              wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                              wne: "http://schemas.microsoft.com/office/word/2006/wordml",
                              wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                              cx: "http://schemas.microsoft.com/office/drawing/2014/chartex",
                              cx1: "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",
                              cx2: "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",
                              cx3: "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",
                              cx4: "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",
                              cx5: "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",
                              cx6: "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",
                              cx7: "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",
                              cx8: "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",
                              aink: "http://schemas.microsoft.com/office/drawing/2016/ink",
                              am3d: "http://schemas.microsoft.com/office/drawing/2017/model3d",
                              w16cex:
                                "http://schemas.microsoft.com/office/word/2018/wordml/cex",
                              w16cid:
                                "http://schemas.microsoft.com/office/word/2016/wordml/cid",
                              w16: "http://schemas.microsoft.com/office/word/2018/wordml",
                              w16sdtdh:
                                "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",
                              w16se:
                                "http://schemas.microsoft.com/office/word/2015/wordml/symex",
                              Ignorable: "w14 w15 wp14",
                            }),
                          ),
                          (this.body = new En()),
                          e.background && this.root.push(new An(e.background)),
                          this.root.push(this.body));
                      }
                      add(e) {
                        return (this.body.push(e), this);
                      }
                      get Body() {
                        return this.body;
                      }
                    }
                    class In extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { xmlns: "xmlns" }));
                      }
                    }
                    class On extends e {
                      constructor() {
                        (super("Relationships"),
                          this.root.push(
                            new In({
                              xmlns:
                                "http://schemas.openxmlformats.org/package/2006/relationships",
                            }),
                          ));
                      }
                      addRelationship(e) {
                        this.root.push(e);
                      }
                      createRelationship(e, t, r, n) {
                        n = new Fr("rId" + e, t, r, n);
                        return (this.addRelationship(n), n);
                      }
                      get RelationshipCount() {
                        return this.root.length - 1;
                      }
                    }
                    class Ln {
                      constructor(e) {
                        ((this.document = new _n(e)),
                          (this.relationships = new On()));
                      }
                      get View() {
                        return this.document;
                      }
                      get Relationships() {
                        return this.relationships;
                      }
                    }
                    class Hn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class Nn extends e {
                      constructor() {
                        (super("w:wordWrap"),
                          this.root.push(new Hn({ val: 0 })));
                      }
                    }
                    (((da = ze = ze || {}).NONE = "none"),
                      (da.DROP = "drop"),
                      (da.MARGIN = "margin"),
                      ((da = We = We || {}).MARGIN = "margin"),
                      (da.PAGE = "page"),
                      (da.TEXT = "text"),
                      ((da = $e = $e || {}).AROUND = "around"),
                      (da.AUTO = "auto"),
                      (da.NONE = "none"),
                      (da.NOT_BESIDE = "notBeside"),
                      (da.THROUGH = "through"),
                      (da.TIGHT = "tight"));
                    class Rn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            anchorLock: "w:anchorLock",
                            dropCap: "w:dropCap",
                            width: "w:w",
                            height: "w:h",
                            x: "w:x",
                            y: "w:y",
                            anchorHorizontal: "w:hAnchor",
                            anchorVertical: "w:vAnchor",
                            spaceHorizontal: "w:hSpace",
                            spaceVertical: "w:vSpace",
                            rule: "w:hRule",
                            alignmentX: "w:xAlign",
                            alignmentY: "w:yAlign",
                            lines: "w:lines",
                            wrap: "w:wrap",
                          }));
                      }
                    }
                    class Dn extends e {
                      constructor(e) {
                        var t;
                        (super("w:framePr"),
                          this.root.push(
                            new Rn({
                              anchorLock: e.anchorLock,
                              dropCap: e.dropCap,
                              width: e.width,
                              height: e.height,
                              x: e.position ? e.position.x : void 0,
                              y: e.position ? e.position.y : void 0,
                              anchorHorizontal: e.anchor.horizontal,
                              anchorVertical: e.anchor.vertical,
                              spaceHorizontal:
                                null === (t = e.space) || void 0 === t
                                  ? void 0
                                  : t.horizontal,
                              spaceVertical:
                                null === (t = e.space) || void 0 === t
                                  ? void 0
                                  : t.vertical,
                              rule: e.rule,
                              alignmentX: e.alignment ? e.alignment.x : void 0,
                              alignmentY: e.alignment ? e.alignment.y : void 0,
                              lines: e.lines,
                              wrap: e.wrap,
                            }),
                          ));
                      }
                    }
                    class Bn extends t {
                      constructor(e) {
                        if (
                          (super("w:pPr"), (this.numberingReferences = []), !e)
                        )
                          return this;
                        (e.heading && this.push(new Ir(e.heading)),
                          e.bullet && this.push(new Ir("ListParagraph")),
                          e.numbering &&
                            (e.style ||
                              e.heading ||
                              e.numbering.custom ||
                              this.push(new Ir("ListParagraph"))),
                          e.style && this.push(new Ir(e.style)),
                          void 0 !== e.keepNext &&
                            this.push(new C("w:keepNext", e.keepNext)),
                          void 0 !== e.keepLines &&
                            this.push(new C("w:keepLines", e.keepLines)),
                          e.pageBreakBefore && this.push(new kr()),
                          e.frame && this.push(new Dn(e.frame)),
                          void 0 !== e.widowControl &&
                            this.push(new C("w:widowControl", e.widowControl)),
                          e.bullet && this.push(new Nr(1, e.bullet.level)),
                          e.numbering &&
                            (this.numberingReferences.push({
                              reference: e.numbering.reference,
                              instance:
                                null !== (t = e.numbering.instance) &&
                                void 0 !== t
                                  ? t
                                  : 0,
                            }),
                            this.push(
                              new Nr(
                                e.numbering.reference +
                                  "-" +
                                  (null !== (t = e.numbering.instance) &&
                                  void 0 !== t
                                    ? t
                                    : 0),
                                e.numbering.level,
                              ),
                            )),
                          e.border && this.push(new R(e.border)),
                          e.thematicBreak && this.push(new D()),
                          e.shading && this.push(new X(e.shading)),
                          e.wordWrap && this.push(new Nn()));
                        var t = [
                          ...(e.rightTabStop
                            ? [{ type: Ce.RIGHT, position: e.rightTabStop }]
                            : []),
                          ...(e.tabStops || []),
                          ...(e.leftTabStop
                            ? [{ type: Ce.LEFT, position: e.leftTabStop }]
                            : []),
                        ];
                        (0 < t.length && this.push(new Or(t)),
                          void 0 !== e.bidirectional &&
                            this.push(new C("w:bidi", e.bidirectional)),
                          e.spacing && this.push(new _r(e.spacing)),
                          e.indent && this.push(new F(e.indent)),
                          void 0 !== e.contextualSpacing &&
                            this.push(
                              new C("w:contextualSpacing", e.contextualSpacing),
                            ),
                          e.alignment && this.push(new L(e.alignment)),
                          void 0 !== e.outlineLevel &&
                            this.push(new Vr(e.outlineLevel)),
                          void 0 !== e.suppressLineNumbers &&
                            this.push(
                              new C(
                                "w:suppressLineNumbers",
                                e.suppressLineNumbers,
                              ),
                            ));
                      }
                      push(e) {
                        this.root.push(e);
                      }
                      prepForXml(e) {
                        if (e.viewWrapper instanceof Ln)
                          for (const t of this.numberingReferences)
                            e.file.Numbering.createConcreteNumberingInstance(
                              t.reference,
                              t.instance,
                            );
                        return super.prepForXml(e);
                      }
                    }
                    class Fn extends e {
                      constructor(e) {
                        if ((super("w:p"), "string" == typeof e))
                          return (
                            (this.properties = new Bn({})),
                            this.root.push(this.properties),
                            this.root.push(new fe(e)),
                            this
                          );
                        if (
                          ((this.properties = new Bn(e)),
                          this.root.push(this.properties),
                          e.text && this.root.push(new fe(e.text)),
                          e.children)
                        )
                          for (const t of e.children)
                            if (t instanceof Kr) {
                              this.root.push(t.start);
                              for (const e of t.children) this.root.push(e);
                              this.root.push(t.end);
                            } else this.root.push(t);
                      }
                      prepForXml(e) {
                        for (const n of this.root) {
                          var t, r;
                          n instanceof zr &&
                            ((t = this.root.indexOf(n)),
                            (r = new jr(n.options.children, (0, it.EL)())),
                            e.viewWrapper.Relationships.createRelationship(
                              r.linkId,
                              "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",
                              n.options.link,
                              Ae.EXTERNAL,
                            ),
                            (this.root[t] = r));
                        }
                        return super.prepForXml(e);
                      }
                      addRunToFront(e) {
                        return (this.root.splice(1, 0, e), this);
                      }
                    }
                    class Mn extends e {
                      constructor(e) {
                        super("m:oMath");
                        for (const t of e.children) this.root.push(t);
                      }
                    }
                    class jn extends e {
                      constructor(e) {
                        (super("m:t"), this.root.push(e));
                      }
                    }
                    class Un extends e {
                      constructor(e) {
                        (super("m:r"), this.root.push(new jn(e)));
                      }
                    }
                    class zn extends e {
                      constructor(e) {
                        super("m:den");
                        for (const t of e) this.root.push(t);
                      }
                    }
                    class Wn extends e {
                      constructor(e) {
                        super("m:num");
                        for (const t of e) this.root.push(t);
                      }
                    }
                    class $n extends e {
                      constructor(e) {
                        (super("m:f"),
                          this.root.push(new Wn(e.numerator)),
                          this.root.push(new zn(e.denominator)));
                      }
                    }
                    class Kn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { accent: "m:val" }));
                      }
                    }
                    class Gn extends e {
                      constructor(e) {
                        (super("m:chr"), this.root.push(new Kn({ accent: e })));
                      }
                    }
                    class qn extends e {
                      constructor(e) {
                        super("m:e");
                        for (const t of e) this.root.push(t);
                      }
                    }
                    class Vn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { value: "m:val" }));
                      }
                    }
                    class Xn extends e {
                      constructor() {
                        (super("m:limLoc"),
                          this.root.push(new Vn({ value: "undOvr" })));
                      }
                    }
                    class Qn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { hide: "m:val" }));
                      }
                    }
                    class Yn extends e {
                      constructor() {
                        (super("m:subHide"),
                          this.root.push(new Qn({ hide: 1 })));
                      }
                    }
                    class Zn extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { hide: "m:val" }));
                      }
                    }
                    class Jn extends e {
                      constructor() {
                        (super("m:supHide"),
                          this.root.push(new Zn({ hide: 1 })));
                      }
                    }
                    class ei extends e {
                      constructor(e, t, r) {
                        (super("m:naryPr"),
                          e && this.root.push(new Gn(e)),
                          this.root.push(new Xn()),
                          t || this.root.push(new Jn()),
                          r || this.root.push(new Yn()));
                      }
                    }
                    class ti extends e {
                      constructor(e) {
                        super("m:sub");
                        for (const t of e) this.root.push(t);
                      }
                    }
                    class ri extends e {
                      constructor(e) {
                        super("m:sup");
                        for (const t of e) this.root.push(t);
                      }
                    }
                    class ni extends e {
                      constructor(e) {
                        (super("m:nary"),
                          this.root.push(
                            new ei("∑", !!e.superScript, !!e.subScript),
                          ),
                          e.subScript && this.root.push(new ti(e.subScript)),
                          e.superScript &&
                            this.root.push(new ri(e.superScript)),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class ii extends e {
                      constructor(e) {
                        (super("m:nary"),
                          this.root.push(
                            new ei("", !!e.superScript, !!e.subScript),
                          ),
                          e.subScript && this.root.push(new ti(e.subScript)),
                          e.superScript &&
                            this.root.push(new ri(e.superScript)),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class oi extends e {
                      constructor() {
                        super("m:sSupPr");
                      }
                    }
                    class si extends e {
                      constructor(e) {
                        (super("m:sSup"),
                          this.root.push(new oi()),
                          this.root.push(new qn(e.children)),
                          this.root.push(new ri(e.superScript)));
                      }
                    }
                    class ai extends e {
                      constructor() {
                        super("m:sSubPr");
                      }
                    }
                    class ci extends e {
                      constructor(e) {
                        (super("m:sSub"),
                          this.root.push(new ai()),
                          this.root.push(new qn(e.children)),
                          this.root.push(new ti(e.subScript)));
                      }
                    }
                    class li extends e {
                      constructor() {
                        super("m:sSubSupPr");
                      }
                    }
                    class ui extends e {
                      constructor(e) {
                        (super("m:sSubSup"),
                          this.root.push(new li()),
                          this.root.push(new qn(e.children)),
                          this.root.push(new ti(e.subScript)),
                          this.root.push(new ri(e.superScript)));
                      }
                    }
                    class hi extends e {
                      constructor() {
                        super("m:sPrePr");
                      }
                    }
                    class pi extends e {
                      constructor(e) {
                        (super("m:sPre"),
                          this.root.push(new hi()),
                          this.root.push(new qn(e.children)),
                          this.root.push(new ti(e.subScript)),
                          this.root.push(new ri(e.superScript)));
                      }
                    }
                    const di = "";
                    class fi extends e {
                      constructor(e) {
                        if ((super("m:deg"), e))
                          for (const t of e) this.root.push(t);
                      }
                    }
                    class mi extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { hide: "m:val" }));
                      }
                    }
                    class gi extends e {
                      constructor() {
                        (super("m:degHide"),
                          this.root.push(new mi({ hide: 1 })));
                      }
                    }
                    class vi extends e {
                      constructor(e) {
                        (super("m:radPr"), e || this.root.push(new gi()));
                      }
                    }
                    class yi extends e {
                      constructor(e) {
                        (super("m:rad"),
                          this.root.push(new vi(!!e.degree)),
                          this.root.push(new fi(e.degree)),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class bi extends e {
                      constructor(e) {
                        super("m:fName");
                        for (const t of e) this.root.push(t);
                      }
                    }
                    class wi extends e {
                      constructor() {
                        super("m:funcPr");
                      }
                    }
                    class xi extends e {
                      constructor(e) {
                        (super("m:func"),
                          this.root.push(new wi()),
                          this.root.push(new bi(e.name)),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class Si extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { character: "m:val" }));
                      }
                    }
                    class Ei extends e {
                      constructor(e) {
                        (super("m:begChr"),
                          this.root.push(new Si({ character: e })));
                      }
                    }
                    class Ti extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { character: "m:val" }));
                      }
                    }
                    class Ci extends e {
                      constructor(e) {
                        (super("m:endChr"),
                          this.root.push(new Ti({ character: e })));
                      }
                    }
                    class Pi extends e {
                      constructor(e) {
                        (super("m:dPr"),
                          e &&
                            (this.root.push(new Ei(e.beginningCharacter)),
                            this.root.push(new Ci(e.endingCharacter))));
                      }
                    }
                    class ki extends e {
                      constructor(e) {
                        (super("m:d"),
                          this.root.push(new Pi()),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class Ai extends e {
                      constructor(e) {
                        (super("m:d"),
                          this.root.push(
                            new Pi({
                              beginningCharacter: "[",
                              endingCharacter: "]",
                            }),
                          ),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class _i extends e {
                      constructor(e) {
                        (super("m:d"),
                          this.root.push(
                            new Pi({
                              beginningCharacter: "{",
                              endingCharacter: "}",
                            }),
                          ),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class Ii extends e {
                      constructor(e) {
                        (super("m:d"),
                          this.root.push(
                            new Pi({
                              beginningCharacter: "〈",
                              endingCharacter: "〉",
                            }),
                          ),
                          this.root.push(new qn(e.children)));
                      }
                    }
                    class Oi extends e {
                      constructor(e) {
                        super("w:tblGrid");
                        for (const t of e) this.root.push(new Hi(t));
                      }
                    }
                    class Li extends r {
                      constructor() {
                        (super(...arguments), (this.xmlKeys = { w: "w:w" }));
                      }
                    }
                    class Hi extends e {
                      constructor(e) {
                        (super("w:gridCol"),
                          void 0 !== e &&
                            this.root.push(new Li({ w: (0, T.Jd)(e) })));
                      }
                    }
                    (((da = Ke = Ke || {}).AUTO = "auto"),
                      (da.DXA = "dxa"),
                      (da.NIL = "nil"),
                      (da.PERCENTAGE = "pct"));
                    class Ni extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { type: "w:type", size: "w:w" }));
                      }
                    }
                    class Ri extends e {
                      constructor(e, { type: t = Ke.AUTO, size: r }) {
                        super(e);
                        let n = r;
                        (t === Ke.PERCENTAGE &&
                          "number" == typeof r &&
                          (n = r + "%"),
                          this.root.push(
                            new Ni({ type: t, size: (0, T.aB)(n) }),
                          ));
                      }
                    }
                    (((da = Ge = Ge || {}).TABLE = "w:tblCellMar"),
                      (da.TABLE_CELL = "w:tcMar"));
                    class Di extends t {
                      constructor(
                        e,
                        {
                          marginUnitType: t = Ke.DXA,
                          top: r,
                          left: n,
                          bottom: i,
                          right: o,
                        },
                      ) {
                        (super(e),
                          void 0 !== r &&
                            this.root.push(
                              new Ri("w:top", { type: t, size: r }),
                            ),
                          void 0 !== n &&
                            this.root.push(
                              new Ri("w:left", { type: t, size: n }),
                            ),
                          void 0 !== i &&
                            this.root.push(
                              new Ri("w:bottom", { type: t, size: i }),
                            ),
                          void 0 !== o &&
                            this.root.push(
                              new Ri("w:right", { type: t, size: o }),
                            ));
                      }
                    }
                    class Bi extends t {
                      constructor(e) {
                        (super("w:tcBorders"),
                          e.top && this.root.push(new H("w:top", e.top)),
                          e.start && this.root.push(new H("w:start", e.start)),
                          e.left && this.root.push(new H("w:left", e.left)),
                          e.bottom &&
                            this.root.push(new H("w:bottom", e.bottom)),
                          e.end && this.root.push(new H("w:end", e.end)),
                          e.right && this.root.push(new H("w:right", e.right)));
                      }
                    }
                    class Fi extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class Mi extends e {
                      constructor(e) {
                        (super("w:gridSpan"),
                          this.root.push(new Fi({ val: (0, T.vH)(e) })));
                      }
                    }
                    (((da = qe = qe || {}).CONTINUE = "continue"),
                      (da.RESTART = "restart"));
                    class ji extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class Ui extends e {
                      constructor(e) {
                        (super("w:vMerge"), this.root.push(new ji({ val: e })));
                      }
                    }
                    (((da = Ve = Ve || {}).BOTTOM_TO_TOP_LEFT_TO_RIGHT =
                      "btLr"),
                      (da.LEFT_TO_RIGHT_TOP_TO_BOTTOM = "lrTb"),
                      (da.TOP_TO_BOTTOM_RIGHT_TO_LEFT = "tbRl"));
                    class zi extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class Wi extends e {
                      constructor(e) {
                        (super("w:textDirection"),
                          this.root.push(new zi({ val: e })));
                      }
                    }
                    class $i extends t {
                      constructor(e) {
                        (super("w:tcPr"),
                          e.width && this.root.push(new Ri("w:tcW", e.width)),
                          e.columnSpan && this.root.push(new Mi(e.columnSpan)),
                          e.verticalMerge
                            ? this.root.push(new Ui(e.verticalMerge))
                            : e.rowSpan &&
                              1 < e.rowSpan &&
                              this.root.push(new Ui(qe.RESTART)),
                          e.borders && this.root.push(new Bi(e.borders)),
                          e.shading && this.root.push(new X(e.shading)),
                          e.margins &&
                            this.root.push(new Di(Ge.TABLE_CELL, e.margins)),
                          e.textDirection &&
                            this.root.push(new Wi(e.textDirection)),
                          e.verticalAlign &&
                            this.root.push(new Zr(e.verticalAlign)));
                      }
                    }
                    class Ki extends e {
                      constructor(e) {
                        (super("w:tc"),
                          (this.options = e),
                          this.root.push(new $i(e)));
                        for (const t of e.children) this.root.push(t);
                      }
                      prepForXml(e) {
                        return (
                          this.root[this.root.length - 1] instanceof Fn ||
                            this.root.push(new Fn({})),
                          super.prepForXml(e)
                        );
                      }
                    }
                    const Gi = { style: f.NONE, size: 0, color: "auto" },
                      qi = { style: f.SINGLE, size: 4, color: "auto" };
                    class Vi extends e {
                      constructor(e) {
                        (super("w:tblBorders"),
                          e.top
                            ? this.root.push(new H("w:top", e.top))
                            : this.root.push(new H("w:top", qi)),
                          e.left
                            ? this.root.push(new H("w:left", e.left))
                            : this.root.push(new H("w:left", qi)),
                          e.bottom
                            ? this.root.push(new H("w:bottom", e.bottom))
                            : this.root.push(new H("w:bottom", qi)),
                          e.right
                            ? this.root.push(new H("w:right", e.right))
                            : this.root.push(new H("w:right", qi)),
                          e.insideHorizontal
                            ? this.root.push(
                                new H("w:insideH", e.insideHorizontal),
                              )
                            : this.root.push(new H("w:insideH", qi)),
                          e.insideVertical
                            ? this.root.push(
                                new H("w:insideV", e.insideVertical),
                              )
                            : this.root.push(new H("w:insideV", qi)));
                      }
                    }
                    ((Vi.NONE = {
                      top: Gi,
                      bottom: Gi,
                      left: Gi,
                      right: Gi,
                      insideHorizontal: Gi,
                      insideVertical: Gi,
                    }),
                      ((da = Xe = Xe || {}).MARGIN = "margin"),
                      (da.PAGE = "page"),
                      (da.TEXT = "text"),
                      ((da = Qe = Qe || {}).CENTER = "center"),
                      (da.INSIDE = "inside"),
                      (da.LEFT = "left"),
                      (da.OUTSIDE = "outside"),
                      (da.RIGHT = "right"),
                      ((da = Ye = Ye || {}).CENTER = "center"),
                      (da.INSIDE = "inside"),
                      (da.BOTTOM = "bottom"),
                      (da.OUTSIDE = "outside"),
                      (da.INLINE = "inline"),
                      (da.TOP = "top"),
                      ((da = Ze = Ze || {}).NEVER = "never"),
                      (da.OVERLAP = "overlap"));
                    class Xi extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            horizontalAnchor: "w:horzAnchor",
                            verticalAnchor: "w:vertAnchor",
                            absoluteHorizontalPosition: "w:tblpX",
                            relativeHorizontalPosition: "w:tblpXSpec",
                            absoluteVerticalPosition: "w:tblpY",
                            relativeVerticalPosition: "w:tblpYSpec",
                            bottomFromText: "w:bottomFromText",
                            topFromText: "w:topFromText",
                            leftFromText: "w:leftFromText",
                            rightFromText: "w:rightFromText",
                          }));
                      }
                    }
                    class Qi extends e {
                      constructor(e) {
                        var {
                            leftFromText: t,
                            rightFromText: r,
                            topFromText: n,
                            bottomFromText: i,
                            absoluteHorizontalPosition: o,
                            absoluteVerticalPosition: s,
                          } = e,
                          e = (function (e, t) {
                            var r = {};
                            for (i in e)
                              Object.prototype.hasOwnProperty.call(e, i) &&
                                t.indexOf(i) < 0 &&
                                (r[i] = e[i]);
                            if (
                              null != e &&
                              "function" == typeof Object.getOwnPropertySymbols
                            )
                              for (
                                var n = 0, i = Object.getOwnPropertySymbols(e);
                                n < i.length;
                                n++
                              )
                                t.indexOf(i[n]) < 0 &&
                                  Object.prototype.propertyIsEnumerable.call(
                                    e,
                                    i[n],
                                  ) &&
                                  (r[i[n]] = e[i[n]]);
                            return r;
                          })(e, [
                            "leftFromText",
                            "rightFromText",
                            "topFromText",
                            "bottomFromText",
                            "absoluteHorizontalPosition",
                            "absoluteVerticalPosition",
                          ]);
                        (super("w:tblpPr"),
                          this.root.push(
                            new Xi(
                              Object.assign(
                                {
                                  leftFromText:
                                    void 0 === t ? void 0 : (0, T.Jd)(t),
                                  rightFromText:
                                    void 0 === r ? void 0 : (0, T.Jd)(r),
                                  topFromText:
                                    void 0 === n ? void 0 : (0, T.Jd)(n),
                                  bottomFromText:
                                    void 0 === i ? void 0 : (0, T.Jd)(i),
                                  absoluteHorizontalPosition:
                                    void 0 === o ? void 0 : (0, T.xb)(o),
                                  absoluteVerticalPosition:
                                    void 0 === s ? void 0 : (0, T.xb)(s),
                                },
                                e,
                              ),
                            ),
                          ),
                          e.overlap &&
                            this.root.push(new _("w:tblOverlap", e.overlap)));
                      }
                    }
                    (((da = Je = Je || {}).AUTOFIT = "autofit"),
                      (da.FIXED = "fixed"));
                    class Yi extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { type: "w:type" }));
                      }
                    }
                    class Zi extends e {
                      constructor(e) {
                        (super("w:tblLayout"),
                          this.root.push(new Yi({ type: e })));
                      }
                    }
                    class Ji extends t {
                      constructor(e) {
                        (super("w:tblPr"),
                          e.style &&
                            this.root.push(new k("w:tblStyle", e.style)),
                          e.float && this.root.push(new Qi(e.float)),
                          void 0 !== e.visuallyRightToLeft &&
                            this.root.push(
                              new C("w:bidiVisual", e.visuallyRightToLeft),
                            ),
                          e.width && this.root.push(new Ri("w:tblW", e.width)),
                          e.alignment && this.root.push(new L(e.alignment)),
                          e.indent &&
                            this.root.push(new Ri("w:tblInd", e.indent)),
                          e.borders && this.root.push(new Vi(e.borders)),
                          e.shading && this.root.push(new X(e.shading)),
                          e.layout && this.root.push(new Zi(e.layout)),
                          e.cellMargin &&
                            this.root.push(new Di(Ge.TABLE, e.cellMargin)));
                      }
                    }
                    class eo extends e {
                      constructor({
                        rows: i,
                        width: e,
                        columnWidths: t = Array(
                          Math.max(...i.map((e) => e.CellCount)),
                        ).fill(100),
                        margins: r,
                        indent: n,
                        float: o,
                        layout: s,
                        style: a,
                        borders: c,
                        alignment: l,
                        visuallyRightToLeft: u,
                      }) {
                        (super("w:tbl"),
                          this.root.push(
                            new Ji({
                              borders: null != c ? c : {},
                              width: null != e ? e : { size: 100 },
                              indent: n,
                              float: o,
                              layout: s,
                              style: a,
                              alignment: l,
                              cellMargin: r,
                              visuallyRightToLeft: u,
                            }),
                          ),
                          this.root.push(new Oi(t)));
                        for (const e of i) this.root.push(e);
                        i.forEach((e, n) => {
                          if (n !== i.length - 1) {
                            let r = 0;
                            e.cells.forEach((e) => {
                              var t;
                              (e.options.rowSpan &&
                                1 < e.options.rowSpan &&
                                ((t = new Ki({
                                  rowSpan: e.options.rowSpan - 1,
                                  columnSpan: e.options.columnSpan,
                                  borders: e.options.borders,
                                  children: [],
                                  verticalMerge: qe.CONTINUE,
                                })),
                                i[n + 1].addCellToColumnIndex(t, r)),
                                (r += e.options.columnSpan || 1));
                            });
                          }
                        });
                      }
                    }
                    (((da = et = et || {}).AUTO = "auto"),
                      (da.ATLEAST = "atLeast"),
                      (da.EXACT = "exact"));
                    class to extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { value: "w:val", rule: "w:hRule" }));
                      }
                    }
                    class ro extends e {
                      constructor(e, t) {
                        (super("w:trHeight"),
                          this.root.push(
                            new to({ value: (0, T.Jd)(e), rule: t }),
                          ));
                      }
                    }
                    class no extends t {
                      constructor(e) {
                        (super("w:trPr"),
                          void 0 !== e.cantSplit &&
                            this.root.push(new C("w:cantSplit", e.cantSplit)),
                          void 0 !== e.tableHeader &&
                            this.root.push(new C("w:tblHeader", e.tableHeader)),
                          e.height &&
                            this.root.push(
                              new ro(e.height.value, e.height.rule),
                            ));
                      }
                    }
                    class io extends e {
                      constructor(e) {
                        (super("w:tr"),
                          (this.options = e),
                          this.root.push(new no(e)));
                        for (const t of e.children) this.root.push(t);
                      }
                      get CellCount() {
                        return this.options.children.length;
                      }
                      get cells() {
                        return this.root.filter((e) => e instanceof Ki);
                      }
                      addCellToIndex(e, t) {
                        this.root.splice(t + 1, 0, e);
                      }
                      addCellToColumnIndex(e, t) {
                        t = this.columnIndexToRootIndex(t, !0);
                        this.addCellToIndex(e, t - 1);
                      }
                      rootIndexToColumnIndex(t) {
                        if (t < 1 || t >= this.root.length)
                          throw new Error(
                            "cell 'rootIndex' should between 1 to " +
                              (this.root.length - 1),
                          );
                        let r = 0;
                        for (let e = 1; e < t; e++)
                          r += this.root[e].options.columnSpan || 1;
                        return r;
                      }
                      columnIndexToRootIndex(e, t = !1) {
                        if (e < 0)
                          throw new Error(
                            "cell 'columnIndex' should not less than zero",
                          );
                        let r = 0,
                          n = 1;
                        for (; r <= e; ) {
                          if (n >= this.root.length) {
                            if (t) return this.root.length;
                            throw new Error(
                              "cell 'columnIndex' should not great than " +
                                (r - 1),
                            );
                          }
                          const e = this.root[n];
                          ((n += 1), (r += (e && e.options.columnSpan) || 1));
                        }
                        return n - 1;
                      }
                    }
                    class oo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { xmlns: "xmlns", vt: "xmlns:vt" }));
                      }
                    }
                    class so extends e {
                      constructor() {
                        (super("Properties"),
                          this.root.push(
                            new oo({
                              xmlns:
                                "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
                              vt: "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",
                            }),
                          ));
                      }
                    }
                    class ao extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { xmlns: "xmlns" }));
                      }
                    }
                    class co extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            contentType: "ContentType",
                            extension: "Extension",
                          }));
                      }
                    }
                    class lo extends e {
                      constructor(e, t) {
                        (super("Default"),
                          this.root.push(
                            new co({ contentType: e, extension: t }),
                          ));
                      }
                    }
                    class uo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            contentType: "ContentType",
                            partName: "PartName",
                          }));
                      }
                    }
                    class ho extends e {
                      constructor(e, t) {
                        (super("Override"),
                          this.root.push(
                            new uo({ contentType: e, partName: t }),
                          ));
                      }
                    }
                    class po extends e {
                      constructor() {
                        (super("Types"),
                          this.root.push(
                            new ao({
                              xmlns:
                                "http://schemas.openxmlformats.org/package/2006/content-types",
                            }),
                          ),
                          this.root.push(new lo("image/png", "png")),
                          this.root.push(new lo("image/jpeg", "jpeg")),
                          this.root.push(new lo("image/jpeg", "jpg")),
                          this.root.push(new lo("image/bmp", "bmp")),
                          this.root.push(new lo("image/gif", "gif")),
                          this.root.push(
                            new lo(
                              "application/vnd.openxmlformats-package.relationships+xml",
                              "rels",
                            ),
                          ),
                          this.root.push(new lo("application/xml", "xml")),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",
                              "/word/document.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml",
                              "/word/styles.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-package.core-properties+xml",
                              "/docProps/core.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.custom-properties+xml",
                              "/docProps/custom.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.extended-properties+xml",
                              "/docProps/app.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml",
                              "/word/numbering.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml",
                              "/word/footnotes.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml",
                              "/word/settings.xml",
                            ),
                          ),
                          this.root.push(
                            new ho(
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml",
                              "/word/comments.xml",
                            ),
                          ));
                      }
                      addFooter(e) {
                        this.root.push(
                          new ho(
                            "application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",
                            `/word/footer${e}.xml`,
                          ),
                        );
                      }
                      addHeader(e) {
                        this.root.push(
                          new ho(
                            "application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",
                            `/word/header${e}.xml`,
                          ),
                        );
                      }
                    }
                    class fo extends e {
                      constructor(e) {
                        (super("cp:coreProperties"),
                          this.root.push(
                            new Pn({
                              cp: "http://schemas.openxmlformats.org/package/2006/metadata/core-properties",
                              dc: "http://purl.org/dc/elements/1.1/",
                              dcterms: "http://purl.org/dc/terms/",
                              dcmitype: "http://purl.org/dc/dcmitype/",
                              xsi: "http://www.w3.org/2001/XMLSchema-instance",
                            }),
                          ),
                          e.title && this.root.push(new I("dc:title", e.title)),
                          e.subject &&
                            this.root.push(new I("dc:subject", e.subject)),
                          e.creator &&
                            this.root.push(new I("dc:creator", e.creator)),
                          e.keywords &&
                            this.root.push(new I("cp:keywords", e.keywords)),
                          e.description &&
                            this.root.push(
                              new I("dc:description", e.description),
                            ),
                          e.lastModifiedBy &&
                            this.root.push(
                              new I("cp:lastModifiedBy", e.lastModifiedBy),
                            ),
                          e.revision &&
                            this.root.push(
                              new I("cp:revision", String(e.revision)),
                            ),
                          this.root.push(new mo("dcterms:created")),
                          this.root.push(new mo("dcterms:modified")));
                      }
                    }
                    class mo extends e {
                      constructor(e) {
                        (super(e),
                          this.root.push(new Pn({ type: "dcterms:W3CDTF" })),
                          this.root.push((0, T.sF)(new Date())));
                      }
                    }
                    class go extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { xmlns: "xmlns", vt: "xmlns:vt" }));
                      }
                    }
                    class vo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            fmtid: "fmtid",
                            pid: "pid",
                            name: "name",
                          }));
                      }
                    }
                    class yo extends e {
                      constructor(e, t) {
                        (super("property"),
                          this.root.push(
                            new vo({
                              fmtid: "{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",
                              pid: e.toString(),
                              name: t.name,
                            }),
                          ),
                          this.root.push(new bo(t.value)));
                      }
                    }
                    class bo extends e {
                      constructor(e) {
                        (super("vt:lpwstr"), this.root.push(e));
                      }
                    }
                    class wo extends e {
                      constructor(e) {
                        (super("Properties"),
                          (this.properties = []),
                          this.root.push(
                            new go({
                              xmlns:
                                "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",
                              vt: "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",
                            }),
                          ),
                          (this.nextId = 2));
                        for (const t of e) this.addCustomProperty(t);
                      }
                      prepForXml(e) {
                        return (
                          this.properties.forEach((e) => this.root.push(e)),
                          super.prepForXml(e)
                        );
                      }
                      addCustomProperty(e) {
                        this.properties.push(new yo(this.nextId++, e));
                      }
                    }
                    class xo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            wpc: "xmlns:wpc",
                            mc: "xmlns:mc",
                            o: "xmlns:o",
                            r: "xmlns:r",
                            m: "xmlns:m",
                            v: "xmlns:v",
                            wp14: "xmlns:wp14",
                            wp: "xmlns:wp",
                            w10: "xmlns:w10",
                            w: "xmlns:w",
                            w14: "xmlns:w14",
                            w15: "xmlns:w15",
                            wpg: "xmlns:wpg",
                            wpi: "xmlns:wpi",
                            wne: "xmlns:wne",
                            wps: "xmlns:wps",
                            cp: "xmlns:cp",
                            dc: "xmlns:dc",
                            dcterms: "xmlns:dcterms",
                            dcmitype: "xmlns:dcmitype",
                            xsi: "xmlns:xsi",
                            type: "xsi:type",
                          }));
                      }
                    }
                    class So extends p {
                      constructor(e, t) {
                        (super("w:ftr", t),
                          (this.refId = e),
                          t ||
                            this.root.push(
                              new xo({
                                wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
                                mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                                o: "urn:schemas-microsoft-com:office:office",
                                r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                                m: "http://schemas.openxmlformats.org/officeDocument/2006/math",
                                v: "urn:schemas-microsoft-com:vml",
                                wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                                wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                                w10: "urn:schemas-microsoft-com:office:word",
                                w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                                w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                                w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                                wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                                wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                                wne: "http://schemas.microsoft.com/office/word/2006/wordml",
                                wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                              }),
                            ));
                      }
                      get ReferenceId() {
                        return this.refId;
                      }
                      add(e) {
                        this.root.push(e);
                      }
                    }
                    class Eo {
                      constructor(e, t, r) {
                        ((this.media = e),
                          (this.footer = new So(t, r)),
                          (this.relationships = new On()));
                      }
                      add(e) {
                        this.footer.add(e);
                      }
                      addChildElement(e) {
                        this.footer.addChildElement(e);
                      }
                      get View() {
                        return this.footer;
                      }
                      get Relationships() {
                        return this.relationships;
                      }
                      get Media() {
                        return this.media;
                      }
                    }
                    class To extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { type: "w:type", id: "w:id" }));
                      }
                    }
                    class Co extends e {
                      constructor() {
                        super("w:footnoteRef");
                      }
                    }
                    class Po extends de {
                      constructor() {
                        (super({ style: "FootnoteReference" }),
                          this.root.push(new Co()));
                      }
                    }
                    (((da = tt = tt || {}).SEPERATOR = "separator"),
                      (da.CONTINUATION_SEPERATOR = "continuationSeparator"));
                    class ko extends e {
                      constructor(t) {
                        (super("w:footnote"),
                          this.root.push(new To({ type: t.type, id: t.id })));
                        for (let e = 0; e < t.children.length; e++) {
                          const r = t.children[e];
                          (0 === e && r.addRunToFront(new Po()),
                            this.root.push(r));
                        }
                      }
                    }
                    class Ao extends e {
                      constructor() {
                        super("w:continuationSeparator");
                      }
                    }
                    class _o extends de {
                      constructor() {
                        (super({}), this.root.push(new Ao()));
                      }
                    }
                    class Io extends e {
                      constructor() {
                        super("w:separator");
                      }
                    }
                    class Oo extends de {
                      constructor() {
                        (super({}), this.root.push(new Io()));
                      }
                    }
                    class Lo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            wpc: "xmlns:wpc",
                            mc: "xmlns:mc",
                            o: "xmlns:o",
                            r: "xmlns:r",
                            m: "xmlns:m",
                            v: "xmlns:v",
                            wp14: "xmlns:wp14",
                            wp: "xmlns:wp",
                            w10: "xmlns:w10",
                            w: "xmlns:w",
                            w14: "xmlns:w14",
                            w15: "xmlns:w15",
                            wpg: "xmlns:wpg",
                            wpi: "xmlns:wpi",
                            wne: "xmlns:wne",
                            wps: "xmlns:wps",
                            Ignorable: "mc:Ignorable",
                          }));
                      }
                    }
                    class Ho extends e {
                      constructor() {
                        (super("w:footnotes"),
                          this.root.push(
                            new Lo({
                              wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
                              mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                              o: "urn:schemas-microsoft-com:office:office",
                              r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                              m: "http://schemas.openxmlformats.org/officeDocument/2006/math",
                              v: "urn:schemas-microsoft-com:vml",
                              wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                              wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                              w10: "urn:schemas-microsoft-com:office:word",
                              w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                              w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                              w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                              wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                              wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                              wne: "http://schemas.microsoft.com/office/word/2006/wordml",
                              wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                              Ignorable: "w14 w15 wp14",
                            }),
                          ));
                        var e = new ko({
                          id: -1,
                          type: tt.SEPERATOR,
                          children: [
                            new Fn({
                              spacing: {
                                after: 0,
                                line: 240,
                                lineRule: Ee.AUTO,
                              },
                              children: [new Oo()],
                            }),
                          ],
                        });
                        this.root.push(e);
                        e = new ko({
                          id: 0,
                          type: tt.CONTINUATION_SEPERATOR,
                          children: [
                            new Fn({
                              spacing: {
                                after: 0,
                                line: 240,
                                lineRule: Ee.AUTO,
                              },
                              children: [new _o()],
                            }),
                          ],
                        });
                        this.root.push(e);
                      }
                      createFootNote(e, t) {
                        t = new ko({ id: e, children: t });
                        this.root.push(t);
                      }
                    }
                    class No {
                      constructor() {
                        ((this.footnotess = new Ho()),
                          (this.relationships = new On()));
                      }
                      get View() {
                        return this.footnotess;
                      }
                      get Relationships() {
                        return this.relationships;
                      }
                    }
                    class Ro extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            wpc: "xmlns:wpc",
                            mc: "xmlns:mc",
                            o: "xmlns:o",
                            r: "xmlns:r",
                            m: "xmlns:m",
                            v: "xmlns:v",
                            wp14: "xmlns:wp14",
                            wp: "xmlns:wp",
                            w10: "xmlns:w10",
                            w: "xmlns:w",
                            w14: "xmlns:w14",
                            w15: "xmlns:w15",
                            wpg: "xmlns:wpg",
                            wpi: "xmlns:wpi",
                            wne: "xmlns:wne",
                            wps: "xmlns:wps",
                            cp: "xmlns:cp",
                            dc: "xmlns:dc",
                            dcterms: "xmlns:dcterms",
                            dcmitype: "xmlns:dcmitype",
                            xsi: "xmlns:xsi",
                            type: "xsi:type",
                            cx: "xmlns:cx",
                            cx1: "xmlns:cx1",
                            cx2: "xmlns:cx2",
                            cx3: "xmlns:cx3",
                            cx4: "xmlns:cx4",
                            cx5: "xmlns:cx5",
                            cx6: "xmlns:cx6",
                            cx7: "xmlns:cx7",
                            cx8: "xmlns:cx8",
                            w16cid: "xmlns:w16cid",
                            w16se: "xmlns:w16se",
                          }));
                      }
                    }
                    class Do extends p {
                      constructor(e, t) {
                        (super("w:hdr", t),
                          (this.refId = e),
                          t ||
                            this.root.push(
                              new Ro({
                                wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
                                mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                                o: "urn:schemas-microsoft-com:office:office",
                                r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                                m: "http://schemas.openxmlformats.org/officeDocument/2006/math",
                                v: "urn:schemas-microsoft-com:vml",
                                wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                                wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                                w10: "urn:schemas-microsoft-com:office:word",
                                w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                                w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                                w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                                wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                                wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                                wne: "http://schemas.microsoft.com/office/word/2006/wordml",
                                wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                                cx: "http://schemas.microsoft.com/office/drawing/2014/chartex",
                                cx1: "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",
                                cx2: "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",
                                cx3: "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",
                                cx4: "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",
                                cx5: "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",
                                cx6: "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",
                                cx7: "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",
                                cx8: "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",
                                w16cid:
                                  "http://schemas.microsoft.com/office/word/2016/wordml/cid",
                                w16se:
                                  "http://schemas.microsoft.com/office/word/2015/wordml/symex",
                              }),
                            ));
                      }
                      get ReferenceId() {
                        return this.refId;
                      }
                      add(e) {
                        this.root.push(e);
                      }
                    }
                    class Bo {
                      constructor(e, t, r) {
                        ((this.media = e),
                          (this.header = new Do(t, r)),
                          (this.relationships = new On()));
                      }
                      add(e) {
                        return (this.header.add(e), this);
                      }
                      addChildElement(e) {
                        this.header.addChildElement(e);
                      }
                      get View() {
                        return this.header;
                      }
                      get Relationships() {
                        return this.relationships;
                      }
                      get Media() {
                        return this.media;
                      }
                    }
                    class Fo {
                      constructor() {
                        this.map = new Map();
                      }
                      addMedia(e, t) {
                        var r = (0, it.EL)() + ".png",
                          t = {
                            stream:
                              "string" == typeof e
                                ? this.convertDataURIToBinary(e)
                                : e,
                            fileName: r,
                            transformation: {
                              pixels: {
                                x: Math.round(t.width),
                                y: Math.round(t.height),
                              },
                              emus: {
                                x: Math.round(9525 * t.width),
                                y: Math.round(9525 * t.height),
                              },
                              flip: t.flip,
                              rotation: t.rotation ? 6e4 * t.rotation : void 0,
                            },
                          };
                        return (this.map.set(r, t), t);
                      }
                      addImage(e, t) {
                        this.map.set(e, t);
                      }
                      get Array() {
                        return Array.from(this.map.values());
                      }
                      convertDataURIToBinary(e) {
                        var t = e.indexOf(";base64,") + ";base64,".length;
                        return "function" == typeof atob
                          ? new Uint8Array(
                              atob(e.substring(t))
                                .split("")
                                .map((e) => e.charCodeAt(0)),
                            )
                          : new (va(8764).Buffer)(e, "base64");
                      }
                    }
                    const Mo = "";
                    (((da = rt = rt || {}).DECIMAL = "decimal"),
                      (da.UPPER_ROMAN = "upperRoman"),
                      (da.LOWER_ROMAN = "lowerRoman"),
                      (da.UPPER_LETTER = "upperLetter"),
                      (da.LOWER_LETTER = "lowerLetter"),
                      (da.ORDINAL = "ordinal"),
                      (da.CARDINAL_TEXT = "cardinalText"),
                      (da.ORDINAL_TEXT = "ordinalText"),
                      (da.HEX = "hex"),
                      (da.CHICAGO = "chicago"),
                      (da.IDEOGRAPH__DIGITAL = "ideographDigital"),
                      (da.JAPANESE_COUNTING = "japaneseCounting"),
                      (da.AIUEO = "aiueo"),
                      (da.IROHA = "iroha"),
                      (da.DECIMAL_FULL_WIDTH = "decimalFullWidth"),
                      (da.DECIMAL_HALF_WIDTH = "decimalHalfWidth"),
                      (da.JAPANESE_LEGAL = "japaneseLegal"),
                      (da.JAPANESE_DIGITAL_TEN_THOUSAND =
                        "japaneseDigitalTenThousand"),
                      (da.DECIMAL_ENCLOSED_CIRCLE = "decimalEnclosedCircle"),
                      (da.DECIMAL_FULL_WIDTH2 = "decimalFullWidth2"),
                      (da.AIUEO_FULL_WIDTH = "aiueoFullWidth"),
                      (da.IROHA_FULL_WIDTH = "irohaFullWidth"),
                      (da.DECIMAL_ZERO = "decimalZero"),
                      (da.BULLET = "bullet"),
                      (da.GANADA = "ganada"),
                      (da.CHOSUNG = "chosung"),
                      (da.DECIMAL_ENCLOSED_FULLSTOP =
                        "decimalEnclosedFullstop"),
                      (da.DECIMAL_ENCLOSED_PARENTHESES =
                        "decimalEnclosedParen"),
                      (da.DECIMAL_ENCLOSED_CIRCLE_CHINESE =
                        "decimalEnclosedCircleChinese"),
                      (da.IDEOGRAPH_ENCLOSED_CIRCLE =
                        "ideographEnclosedCircle"),
                      (da.IDEOGRAPH_TRADITIONAL = "ideographTraditional"),
                      (da.IDEOGRAPH_ZODIAC = "ideographZodiac"),
                      (da.IDEOGRAPH_ZODIAC_TRADITIONAL =
                        "ideographZodiacTraditional"),
                      (da.TAIWANESE_COUNTING = "taiwaneseCounting"),
                      (da.IDEOGRAPH_LEGAL_TRADITIONAL =
                        "ideographLegalTraditional"),
                      (da.TAIWANESE_COUNTING_THOUSAND =
                        "taiwaneseCountingThousand"),
                      (da.TAIWANESE_DIGITAL = "taiwaneseDigital"),
                      (da.CHINESE_COUNTING = "chineseCounting"),
                      (da.CHINESE_LEGAL_SIMPLIFIED = "chineseLegalSimplified"),
                      (da.CHINESE_COUNTING_THOUSAND =
                        "chineseCountingThousand"),
                      (da.KOREAN_DIGITAL = "koreanDigital"),
                      (da.KOREAN_COUNTING = "koreanCounting"),
                      (da.KOREAN_LEGAL = "koreanLegal"),
                      (da.KOREAN_DIGITAL2 = "koreanDigital2"),
                      (da.VIETNAMESE_COUNTING = "vietnameseCounting"),
                      (da.RUSSIAN_LOWER = "russianLower"),
                      (da.RUSSIAN_UPPER = "russianUpper"),
                      (da.NONE = "none"),
                      (da.NUMBER_IN_DASH = "numberInDash"),
                      (da.HEBREW1 = "hebrew1"),
                      (da.HEBREW2 = "hebrew2"),
                      (da.ARABIC_ALPHA = "arabicAlpha"),
                      (da.ARABIC_ABJAD = "arabicAbjad"),
                      (da.HINDI_VOWELS = "hindiVowels"),
                      (da.HINDI_CONSONANTS = "hindiConsonants"),
                      (da.HINDI_NUMBERS = "hindiNumbers"),
                      (da.HINDI_COUNTING = "hindiCounting"),
                      (da.THAI_LETTERS = "thaiLetters"),
                      (da.THAI_NUMBERS = "thaiNumbers"),
                      (da.THAI_COUNTING = "thaiCounting"),
                      (da.BAHT_TEXT = "bahtText"),
                      (da.DOLLAR_TEXT = "dollarText"),
                      (da.CUSTOM = "custom"));
                    class jo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            ilvl: "w:ilvl",
                            tentative: "w15:tentative",
                          }));
                      }
                    }
                    class Uo extends e {
                      constructor(e) {
                        (super("w:numFmt"), this.root.push(new o({ val: e })));
                      }
                    }
                    class zo extends e {
                      constructor(e) {
                        (super("w:lvlText"), this.root.push(new o({ val: e })));
                      }
                    }
                    class Wo extends e {
                      constructor(e) {
                        (super("w:lvlJc"), this.root.push(new o({ val: e })));
                      }
                    }
                    (((da = nt = nt || {}).NOTHING = "nothing"),
                      (da.SPACE = "space"),
                      (da.TAB = "tab"));
                    class $o extends e {
                      constructor(e) {
                        (super("w:suff"), this.root.push(new o({ val: e })));
                      }
                    }
                    class Ko extends e {
                      constructor() {
                        super("w:isLgl");
                      }
                    }
                    class Go extends e {
                      constructor({
                        level: e,
                        format: t,
                        text: r,
                        alignment: n = d.START,
                        start: i = 1,
                        style: o,
                        suffix: s,
                        isLegalNumberingStyle: a,
                      }) {
                        if (
                          (super("w:lvl"),
                          this.root.push(new A("w:start", (0, T.vH)(i))),
                          t && this.root.push(new Uo(t)),
                          s && this.root.push(new $o(s)),
                          a && this.root.push(new Ko()),
                          r && this.root.push(new zo(r)),
                          this.root.push(new Wo(n)),
                          (this.paragraphProperties = new Bn(o && o.paragraph)),
                          (this.runProperties = new ue(o && o.run)),
                          this.root.push(this.paragraphProperties),
                          this.root.push(this.runProperties),
                          9 < e)
                        )
                          throw new Error(
                            "Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7",
                          );
                        this.root.push(
                          new jo({ ilvl: (0, T.vH)(e), tentative: 1 }),
                        );
                      }
                    }
                    class qo extends Go {}
                    class Vo extends Go {}
                    class Xo extends e {
                      constructor(e) {
                        (super("w:multiLevelType"),
                          this.root.push(new o({ val: e })));
                      }
                    }
                    class Qo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            abstractNumId: "w:abstractNumId",
                            restartNumberingAfterBreak:
                              "w15:restartNumberingAfterBreak",
                          }));
                      }
                    }
                    class Yo extends e {
                      constructor(e, t) {
                        (super("w:abstractNum"),
                          this.root.push(
                            new Qo({
                              abstractNumId: (0, T.vH)(e),
                              restartNumberingAfterBreak: 0,
                            }),
                          ),
                          this.root.push(new Xo("hybridMultilevel")),
                          (this.id = e));
                        for (const e of t) this.root.push(new qo(e));
                      }
                    }
                    class Zo extends e {
                      constructor(e) {
                        (super("w:abstractNumId"),
                          this.root.push(new o({ val: e })));
                      }
                    }
                    class Jo extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { numId: "w:numId" }));
                      }
                    }
                    class es extends e {
                      constructor(e) {
                        (super("w:num"),
                          (this.numId = e.numId),
                          (this.reference = e.reference),
                          (this.instance = e.instance),
                          this.root.push(new Jo({ numId: (0, T.vH)(e.numId) })),
                          this.root.push(new Zo((0, T.vH)(e.abstractNumId))),
                          e.overrideLevel &&
                            this.root.push(
                              new rs(
                                e.overrideLevel.num,
                                e.overrideLevel.start,
                              ),
                            ));
                      }
                    }
                    class ts extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { ilvl: "w:ilvl" }));
                      }
                    }
                    class rs extends e {
                      constructor(e, t) {
                        (super("w:lvlOverride"),
                          this.root.push(new ts({ ilvl: e })),
                          void 0 !== t && this.root.push(new is(t)));
                      }
                    }
                    class ns extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class is extends e {
                      constructor(e) {
                        (super("w:startOverride"),
                          this.root.push(new ns({ val: e })));
                      }
                    }
                    class os extends e {
                      constructor(e) {
                        (super("w:numbering"),
                          (this.abstractNumberingMap = new Map()),
                          (this.concreteNumberingMap = new Map()),
                          (this.referenceConfigMap = new Map()),
                          this.root.push(
                            new Pn({
                              wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
                              mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                              o: "urn:schemas-microsoft-com:office:office",
                              r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                              m: "http://schemas.openxmlformats.org/officeDocument/2006/math",
                              v: "urn:schemas-microsoft-com:vml",
                              wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                              wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                              w10: "urn:schemas-microsoft-com:office:word",
                              w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                              w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                              w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                              wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                              wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                              wne: "http://schemas.microsoft.com/office/word/2006/wordml",
                              wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                              Ignorable: "w14 w15 wp14",
                            }),
                          ));
                        const t = new Yo((0, it.NY)(), [
                          {
                            level: 0,
                            format: rt.BULLET,
                            text: "●",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: (0, it.vw)(0.5),
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 1,
                            format: rt.BULLET,
                            text: "○",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: (0, it.vw)(1),
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 2,
                            format: rt.BULLET,
                            text: "■",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 2160,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 3,
                            format: rt.BULLET,
                            text: "●",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 2880,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 4,
                            format: rt.BULLET,
                            text: "○",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 3600,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 5,
                            format: rt.BULLET,
                            text: "■",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 4320,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 6,
                            format: rt.BULLET,
                            text: "●",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 5040,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 7,
                            format: rt.BULLET,
                            text: "●",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 5760,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                          {
                            level: 8,
                            format: rt.BULLET,
                            text: "●",
                            alignment: d.LEFT,
                            style: {
                              paragraph: {
                                indent: {
                                  left: 6480,
                                  hanging: (0, it.vw)(0.25),
                                },
                              },
                            },
                          },
                        ]);
                        (this.concreteNumberingMap.set(
                          "default-bullet-numbering",
                          new es({
                            numId: 1,
                            abstractNumId: t.id,
                            reference: "default-bullet-numbering",
                            instance: 0,
                            overrideLevel: { num: 0, start: 1 },
                          }),
                        ),
                          this.abstractNumberingMap.set(
                            "default-bullet-numbering",
                            t,
                          ));
                        for (const t of e.config)
                          (this.abstractNumberingMap.set(
                            t.reference,
                            new Yo((0, it.NY)(), t.levels),
                          ),
                            this.referenceConfigMap.set(t.reference, t.levels));
                      }
                      prepForXml(e) {
                        for (const e of this.abstractNumberingMap.values())
                          this.root.push(e);
                        for (const e of this.concreteNumberingMap.values())
                          this.root.push(e);
                        return super.prepForXml(e);
                      }
                      createConcreteNumberingInstance(e, t) {
                        var r,
                          n,
                          i = this.abstractNumberingMap.get(e);
                        i &&
                          (this.concreteNumberingMap.has((r = e + "-" + t)) ||
                            ((n =
                              (n = this.referenceConfigMap.get(e)) &&
                              n[0].start),
                            (n = {
                              numId: (0, it.NY)(),
                              abstractNumId: i.id,
                              reference: e,
                              instance: t,
                              overrideLevel:
                                n && Number.isInteger(n)
                                  ? { num: 0, start: n }
                                  : { num: 0, start: 1 },
                            }),
                            this.concreteNumberingMap.set(r, new es(n))));
                      }
                      get ConcreteNumbering() {
                        return Array.from(this.concreteNumberingMap.values());
                      }
                      get ReferenceConfig() {
                        return Array.from(this.referenceConfigMap.values());
                      }
                    }
                    class ss extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            version: "w:val",
                            name: "w:name",
                            uri: "w:uri",
                          }));
                      }
                    }
                    class as extends e {
                      constructor(e) {
                        (super("w:compatSetting"),
                          this.root.push(
                            new ss({
                              version: e,
                              uri: "http://schemas.microsoft.com/office/word",
                              name: "compatibilityMode",
                            }),
                          ));
                      }
                    }
                    class cs extends e {
                      constructor(e) {
                        (super("w:compat"),
                          e.version && this.root.push(new as(e.version)),
                          e.useSingleBorderforContiguousCells &&
                            this.root.push(
                              new C(
                                "w:useSingleBorderforContiguousCells",
                                e.useSingleBorderforContiguousCells,
                              ),
                            ),
                          e.wordPerfectJustification &&
                            this.root.push(
                              new C(
                                "w:wpJustification",
                                e.wordPerfectJustification,
                              ),
                            ),
                          e.noTabStopForHangingIndent &&
                            this.root.push(
                              new C(
                                "w:noTabHangInd",
                                e.noTabStopForHangingIndent,
                              ),
                            ),
                          e.noLeading &&
                            this.root.push(new C("w:noLeading", e.noLeading)),
                          e.spaceForUnderline &&
                            this.root.push(
                              new C("w:spaceForUL", e.spaceForUnderline),
                            ),
                          e.noColumnBalance &&
                            this.root.push(
                              new C("w:noColumnBalance", e.noColumnBalance),
                            ),
                          e.balanceSingleByteDoubleByteWidth &&
                            this.root.push(
                              new C(
                                "w:balanceSingleByteDoubleByteWidth",
                                e.balanceSingleByteDoubleByteWidth,
                              ),
                            ),
                          e.noExtraLineSpacing &&
                            this.root.push(
                              new C(
                                "w:noExtraLineSpacing",
                                e.noExtraLineSpacing,
                              ),
                            ),
                          e.doNotLeaveBackslashAlone &&
                            this.root.push(
                              new C(
                                "w:doNotLeaveBackslashAlone",
                                e.doNotLeaveBackslashAlone,
                              ),
                            ),
                          e.underlineTrailingSpaces &&
                            this.root.push(
                              new C(
                                "w:ulTrailSpace",
                                e.underlineTrailingSpaces,
                              ),
                            ),
                          e.doNotExpandShiftReturn &&
                            this.root.push(
                              new C(
                                "w:doNotExpandShiftReturn",
                                e.doNotExpandShiftReturn,
                              ),
                            ),
                          e.spacingInWholePoints &&
                            this.root.push(
                              new C(
                                "w:spacingInWholePoints",
                                e.spacingInWholePoints,
                              ),
                            ),
                          e.lineWrapLikeWord6 &&
                            this.root.push(
                              new C("w:lineWrapLikeWord6", e.lineWrapLikeWord6),
                            ),
                          e.printBodyTextBeforeHeader &&
                            this.root.push(
                              new C(
                                "w:printBodyTextBeforeHeader",
                                e.printBodyTextBeforeHeader,
                              ),
                            ),
                          e.printColorsBlack &&
                            this.root.push(
                              new C("w:printColBlack", e.printColorsBlack),
                            ),
                          e.spaceWidth &&
                            this.root.push(
                              new C("w:wpSpaceWidth", e.spaceWidth),
                            ),
                          e.showBreaksInFrames &&
                            this.root.push(
                              new C(
                                "w:showBreaksInFrames",
                                e.showBreaksInFrames,
                              ),
                            ),
                          e.subFontBySize &&
                            this.root.push(
                              new C("w:subFontBySize", e.subFontBySize),
                            ),
                          e.suppressBottomSpacing &&
                            this.root.push(
                              new C(
                                "w:suppressBottomSpacing",
                                e.suppressBottomSpacing,
                              ),
                            ),
                          e.suppressTopSpacing &&
                            this.root.push(
                              new C(
                                "w:suppressTopSpacing",
                                e.suppressTopSpacing,
                              ),
                            ),
                          e.suppressSpacingAtTopOfPage &&
                            this.root.push(
                              new C(
                                "w:suppressSpacingAtTopOfPage",
                                e.suppressSpacingAtTopOfPage,
                              ),
                            ),
                          e.suppressTopSpacingWP &&
                            this.root.push(
                              new C(
                                "w:suppressTopSpacingWP",
                                e.suppressTopSpacingWP,
                              ),
                            ),
                          e.suppressSpBfAfterPgBrk &&
                            this.root.push(
                              new C(
                                "w:suppressSpBfAfterPgBrk",
                                e.suppressSpBfAfterPgBrk,
                              ),
                            ),
                          e.swapBordersFacingPages &&
                            this.root.push(
                              new C(
                                "w:swapBordersFacingPages",
                                e.swapBordersFacingPages,
                              ),
                            ),
                          e.convertMailMergeEsc &&
                            this.root.push(
                              new C(
                                "w:convMailMergeEsc",
                                e.convertMailMergeEsc,
                              ),
                            ),
                          e.truncateFontHeightsLikeWP6 &&
                            this.root.push(
                              new C(
                                "w:truncateFontHeightsLikeWP6",
                                e.truncateFontHeightsLikeWP6,
                              ),
                            ),
                          e.macWordSmallCaps &&
                            this.root.push(
                              new C("w:mwSmallCaps", e.macWordSmallCaps),
                            ),
                          e.usePrinterMetrics &&
                            this.root.push(
                              new C("w:usePrinterMetrics", e.usePrinterMetrics),
                            ),
                          e.doNotSuppressParagraphBorders &&
                            this.root.push(
                              new C(
                                "w:doNotSuppressParagraphBorders",
                                e.doNotSuppressParagraphBorders,
                              ),
                            ),
                          e.wrapTrailSpaces &&
                            this.root.push(
                              new C("w:wrapTrailSpaces", e.wrapTrailSpaces),
                            ),
                          e.footnoteLayoutLikeWW8 &&
                            this.root.push(
                              new C(
                                "w:footnoteLayoutLikeWW8",
                                e.footnoteLayoutLikeWW8,
                              ),
                            ),
                          e.shapeLayoutLikeWW8 &&
                            this.root.push(
                              new C(
                                "w:shapeLayoutLikeWW8",
                                e.shapeLayoutLikeWW8,
                              ),
                            ),
                          e.alignTablesRowByRow &&
                            this.root.push(
                              new C(
                                "w:alignTablesRowByRow",
                                e.alignTablesRowByRow,
                              ),
                            ),
                          e.forgetLastTabAlignment &&
                            this.root.push(
                              new C(
                                "w:forgetLastTabAlignment",
                                e.forgetLastTabAlignment,
                              ),
                            ),
                          e.adjustLineHeightInTable &&
                            this.root.push(
                              new C(
                                "w:adjustLineHeightInTable",
                                e.adjustLineHeightInTable,
                              ),
                            ),
                          e.autoSpaceLikeWord95 &&
                            this.root.push(
                              new C(
                                "w:autoSpaceLikeWord95",
                                e.autoSpaceLikeWord95,
                              ),
                            ),
                          e.noSpaceRaiseLower &&
                            this.root.push(
                              new C("w:noSpaceRaiseLower", e.noSpaceRaiseLower),
                            ),
                          e.doNotUseHTMLParagraphAutoSpacing &&
                            this.root.push(
                              new C(
                                "w:doNotUseHTMLParagraphAutoSpacing",
                                e.doNotUseHTMLParagraphAutoSpacing,
                              ),
                            ),
                          e.layoutRawTableWidth &&
                            this.root.push(
                              new C(
                                "w:layoutRawTableWidth",
                                e.layoutRawTableWidth,
                              ),
                            ),
                          e.layoutTableRowsApart &&
                            this.root.push(
                              new C(
                                "w:layoutTableRowsApart",
                                e.layoutTableRowsApart,
                              ),
                            ),
                          e.useWord97LineBreakRules &&
                            this.root.push(
                              new C(
                                "w:useWord97LineBreakRules",
                                e.useWord97LineBreakRules,
                              ),
                            ),
                          e.doNotBreakWrappedTables &&
                            this.root.push(
                              new C(
                                "w:doNotBreakWrappedTables",
                                e.doNotBreakWrappedTables,
                              ),
                            ),
                          e.doNotSnapToGridInCell &&
                            this.root.push(
                              new C(
                                "w:doNotSnapToGridInCell",
                                e.doNotSnapToGridInCell,
                              ),
                            ),
                          e.selectFieldWithFirstOrLastCharacter &&
                            this.root.push(
                              new C(
                                "w:selectFldWithFirstOrLastChar",
                                e.selectFieldWithFirstOrLastCharacter,
                              ),
                            ),
                          e.applyBreakingRules &&
                            this.root.push(
                              new C(
                                "w:applyBreakingRules",
                                e.applyBreakingRules,
                              ),
                            ),
                          e.doNotWrapTextWithPunctuation &&
                            this.root.push(
                              new C(
                                "w:doNotWrapTextWithPunct",
                                e.doNotWrapTextWithPunctuation,
                              ),
                            ),
                          e.doNotUseEastAsianBreakRules &&
                            this.root.push(
                              new C(
                                "w:doNotUseEastAsianBreakRules",
                                e.doNotUseEastAsianBreakRules,
                              ),
                            ),
                          e.useWord2002TableStyleRules &&
                            this.root.push(
                              new C(
                                "w:useWord2002TableStyleRules",
                                e.useWord2002TableStyleRules,
                              ),
                            ),
                          e.growAutofit &&
                            this.root.push(
                              new C("w:growAutofit", e.growAutofit),
                            ),
                          e.useFELayout &&
                            this.root.push(
                              new C("w:useFELayout", e.useFELayout),
                            ),
                          e.useNormalStyleForList &&
                            this.root.push(
                              new C(
                                "w:useNormalStyleForList",
                                e.useNormalStyleForList,
                              ),
                            ),
                          e.doNotUseIndentAsNumberingTabStop &&
                            this.root.push(
                              new C(
                                "w:doNotUseIndentAsNumberingTabStop",
                                e.doNotUseIndentAsNumberingTabStop,
                              ),
                            ),
                          e.useAlternateEastAsianLineBreakRules &&
                            this.root.push(
                              new C(
                                "w:useAltKinsokuLineBreakRules",
                                e.useAlternateEastAsianLineBreakRules,
                              ),
                            ),
                          e.allowSpaceOfSameStyleInTable &&
                            this.root.push(
                              new C(
                                "w:allowSpaceOfSameStyleInTable",
                                e.allowSpaceOfSameStyleInTable,
                              ),
                            ),
                          e.doNotSuppressIndentation &&
                            this.root.push(
                              new C(
                                "w:doNotSuppressIndentation",
                                e.doNotSuppressIndentation,
                              ),
                            ),
                          e.doNotAutofitConstrainedTables &&
                            this.root.push(
                              new C(
                                "w:doNotAutofitConstrainedTables",
                                e.doNotAutofitConstrainedTables,
                              ),
                            ),
                          e.autofitToFirstFixedWidthCell &&
                            this.root.push(
                              new C(
                                "w:autofitToFirstFixedWidthCell",
                                e.autofitToFirstFixedWidthCell,
                              ),
                            ),
                          e.underlineTabInNumberingList &&
                            this.root.push(
                              new C(
                                "w:underlineTabInNumList",
                                e.underlineTabInNumberingList,
                              ),
                            ),
                          e.displayHangulFixedWidth &&
                            this.root.push(
                              new C(
                                "w:displayHangulFixedWidth",
                                e.displayHangulFixedWidth,
                              ),
                            ),
                          e.splitPgBreakAndParaMark &&
                            this.root.push(
                              new C(
                                "w:splitPgBreakAndParaMark",
                                e.splitPgBreakAndParaMark,
                              ),
                            ),
                          e.doNotVerticallyAlignCellWithSp &&
                            this.root.push(
                              new C(
                                "w:doNotVertAlignCellWithSp",
                                e.doNotVerticallyAlignCellWithSp,
                              ),
                            ),
                          e.doNotBreakConstrainedForcedTable &&
                            this.root.push(
                              new C(
                                "w:doNotBreakConstrainedForcedTable",
                                e.doNotBreakConstrainedForcedTable,
                              ),
                            ),
                          e.ignoreVerticalAlignmentInTextboxes &&
                            this.root.push(
                              new C(
                                "w:doNotVertAlignInTxbx",
                                e.ignoreVerticalAlignmentInTextboxes,
                              ),
                            ),
                          e.useAnsiKerningPairs &&
                            this.root.push(
                              new C(
                                "w:useAnsiKerningPairs",
                                e.useAnsiKerningPairs,
                              ),
                            ),
                          e.cachedColumnBalance &&
                            this.root.push(
                              new C(
                                "w:cachedColBalance",
                                e.cachedColumnBalance,
                              ),
                            ));
                      }
                    }
                    class ls extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            wpc: "xmlns:wpc",
                            mc: "xmlns:mc",
                            o: "xmlns:o",
                            r: "xmlns:r",
                            m: "xmlns:m",
                            v: "xmlns:v",
                            wp14: "xmlns:wp14",
                            wp: "xmlns:wp",
                            w10: "xmlns:w10",
                            w: "xmlns:w",
                            w14: "xmlns:w14",
                            w15: "xmlns:w15",
                            wpg: "xmlns:wpg",
                            wpi: "xmlns:wpi",
                            wne: "xmlns:wne",
                            wps: "xmlns:wps",
                            Ignorable: "mc:Ignorable",
                          }));
                      }
                    }
                    class us extends e {
                      constructor(e) {
                        var t;
                        (super("w:settings"),
                          this.root.push(
                            new ls({
                              wpc: "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
                              mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                              o: "urn:schemas-microsoft-com:office:office",
                              r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                              m: "http://schemas.openxmlformats.org/officeDocument/2006/math",
                              v: "urn:schemas-microsoft-com:vml",
                              wp14: "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",
                              wp: "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
                              w10: "urn:schemas-microsoft-com:office:word",
                              w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                              w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                              w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                              wpg: "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",
                              wpi: "http://schemas.microsoft.com/office/word/2010/wordprocessingInk",
                              wne: "http://schemas.microsoft.com/office/word/2006/wordml",
                              wps: "http://schemas.microsoft.com/office/word/2010/wordprocessingShape",
                              Ignorable: "w14 w15 wp14",
                            }),
                          ),
                          this.root.push(new C("w:displayBackgroundShape", !0)),
                          void 0 !== e.trackRevisions &&
                            this.root.push(
                              new C("w:trackRevisions", e.trackRevisions),
                            ),
                          void 0 !== e.evenAndOddHeaders &&
                            this.root.push(
                              new C("w:evenAndOddHeaders", e.evenAndOddHeaders),
                            ),
                          void 0 !== e.updateFields &&
                            this.root.push(
                              new C("w:updateFields", e.updateFields),
                            ),
                          this.root.push(
                            new cs(
                              Object.assign(
                                Object.assign(
                                  {},
                                  null !== (t = e.compatibility) && void 0 !== t
                                    ? t
                                    : {},
                                ),
                                {
                                  version:
                                    null !==
                                      (e =
                                        null !==
                                          (t =
                                            null === (t = e.compatibility) ||
                                            void 0 === t
                                              ? void 0
                                              : t.version) && void 0 !== t
                                          ? t
                                          : e.compatibilityModeVersion) &&
                                    void 0 !== e
                                      ? e
                                      : 15,
                                },
                              ),
                            ),
                          ));
                      }
                    }
                    class hs extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = { val: "w:val" }));
                      }
                    }
                    class ps extends e {
                      constructor(e) {
                        (super("w:name"), this.root.push(new hs({ val: e })));
                      }
                    }
                    class ds extends e {
                      constructor(e) {
                        (super("w:uiPriority"),
                          this.root.push(new hs({ val: (0, T.vH)(e) })));
                      }
                    }
                    class fs extends r {
                      constructor() {
                        (super(...arguments),
                          (this.xmlKeys = {
                            type: "w:type",
                            styleId: "w:styleId",
                            default: "w:default",
                            customStyle: "w:customStyle",
                          }));
                      }
                    }
                    class ms extends e {
                      constructor(e, t) {
                        (super("w:style"),
                          this.root.push(new fs(e)),
                          t.name && this.root.push(new ps(t.name)),
                          t.basedOn &&
                            this.root.push(new k("w:basedOn", t.basedOn)),
                          t.next && this.root.push(new k("w:next", t.next)),
                          t.link && this.root.push(new k("w:link", t.link)),
                          void 0 !== t.uiPriority &&
                            this.root.push(new ds(t.uiPriority)),
                          void 0 !== t.semiHidden &&
                            this.root.push(new C("w:semiHidden", t.semiHidden)),
                          void 0 !== t.unhideWhenUsed &&
                            this.root.push(
                              new C("w:unhideWhenUsed", t.unhideWhenUsed),
                            ),
                          void 0 !== t.quickFormat &&
                            this.root.push(new C("w:qFormat", t.quickFormat)));
                      }
                    }
                    class gs extends ms {
                      constructor(e) {
                        (super({ type: "paragraph", styleId: e.id }, e),
                          (this.paragraphProperties = new Bn(e.paragraph)),
                          (this.runProperties = new ue(e.run)),
                          this.root.push(this.paragraphProperties),
                          this.root.push(this.runProperties));
                      }
                    }
                    class vs extends ms {
                      constructor(e) {
                        (super(
                          { type: "character", styleId: e.id },
                          Object.assign(
                            { uiPriority: 99, unhideWhenUsed: !0 },
                            e,
                          ),
                        ),
                          (this.runProperties = new ue(e.run)),
                          this.root.push(this.runProperties));
                      }
                    }
                    class ys extends gs {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            basedOn: "Normal",
                            next: "Normal",
                            quickFormat: !0,
                          }),
                        );
                      }
                    }
                    class bs extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Title",
                            name: "Title",
                          }),
                        );
                      }
                    }
                    class ws extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Heading1",
                            name: "Heading 1",
                          }),
                        );
                      }
                    }
                    class xs extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Heading2",
                            name: "Heading 2",
                          }),
                        );
                      }
                    }
                    class Ss extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Heading3",
                            name: "Heading 3",
                          }),
                        );
                      }
                    }
                    class Es extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Heading4",
                            name: "Heading 4",
                          }),
                        );
                      }
                    }
                    class Ts extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Heading5",
                            name: "Heading 5",
                          }),
                        );
                      }
                    }
                    class Cs extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Heading6",
                            name: "Heading 6",
                          }),
                        );
                      }
                    }
                    class Ps extends ys {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Strong",
                            name: "Strong",
                          }),
                        );
                      }
                    }
                    class ks extends gs {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "ListParagraph",
                            name: "List Paragraph",
                            basedOn: "Normal",
                            quickFormat: !0,
                          }),
                        );
                      }
                    }
                    class As extends gs {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "FootnoteText",
                            name: "footnote text",
                            link: "FootnoteTextChar",
                            basedOn: "Normal",
                            uiPriority: 99,
                            semiHidden: !0,
                            unhideWhenUsed: !0,
                            paragraph: {
                              spacing: {
                                after: 0,
                                line: 240,
                                lineRule: Ee.AUTO,
                              },
                            },
                            run: { size: 20 },
                          }),
                        );
                      }
                    }
                    class _s extends vs {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "FootnoteReference",
                            name: "footnote reference",
                            basedOn: "DefaultParagraphFont",
                            semiHidden: !0,
                            run: { superScript: !0 },
                          }),
                        );
                      }
                    }
                    class Is extends vs {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "FootnoteTextChar",
                            name: "Footnote Text Char",
                            basedOn: "DefaultParagraphFont",
                            link: "FootnoteText",
                            semiHidden: !0,
                            run: { size: 20 },
                          }),
                        );
                      }
                    }
                    class Os extends vs {
                      constructor(e) {
                        super(
                          Object.assign(Object.assign({}, e), {
                            id: "Hyperlink",
                            name: "Hyperlink",
                            basedOn: "DefaultParagraphFont",
                            run: {
                              color: "0563C1",
                              underline: { type: S.SINGLE },
                            },
                          }),
                        );
                      }
                    }
                    class Ls extends e {
                      constructor(e) {
                        if (
                          (super("w:styles"),
                          e.initialStyles && this.root.push(e.initialStyles),
                          e.importedStyles)
                        )
                          for (const t of e.importedStyles) this.root.push(t);
                        if (e.paragraphStyles)
                          for (const r of e.paragraphStyles)
                            this.root.push(new gs(r));
                        if (e.characterStyles)
                          for (const n of e.characterStyles)
                            this.root.push(new vs(n));
                      }
                    }
                    class Hs extends e {
                      constructor(e) {
                        (super("w:pPrDefault"), this.root.push(new Bn(e)));
                      }
                    }
                    class Ns extends e {
                      constructor(e) {
                        (super("w:rPrDefault"), this.root.push(new ue(e)));
                      }
                    }
                    class Rs extends e {
                      constructor(e) {
                        (super("w:docDefaults"),
                          (this.runPropertiesDefaults = new Ns(e.run)),
                          (this.paragraphPropertiesDefaults = new Hs(
                            e.paragraph,
                          )),
                          this.root.push(this.runPropertiesDefaults),
                          this.root.push(this.paragraphPropertiesDefaults));
                      }
                    }
                    class Ds {
                      newInstance(e) {
                        e = (0, u.xml2js)(e, { compact: !1 });
                        let t;
                        for (const n of e.elements || [])
                          "w:styles" === n.name && (t = n);
                        if (void 0 === t)
                          throw new Error("can not find styles element");
                        const r = t.elements || [];
                        return new Ls({
                          initialStyles: new c(t.attributes),
                          importedStyles: r.map((e) => h(e)),
                        });
                      }
                    }
                    class Bs {
                      newInstance(e = {}) {
                        var t;
                        return {
                          initialStyles: new Pn({
                            mc: "http://schemas.openxmlformats.org/markup-compatibility/2006",
                            r: "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
                            w: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
                            w14: "http://schemas.microsoft.com/office/word/2010/wordml",
                            w15: "http://schemas.microsoft.com/office/word/2012/wordml",
                            Ignorable: "w14 w15",
                          }),
                          importedStyles: [
                            new Rs(
                              null !== (t = e.document) && void 0 !== t
                                ? t
                                : {},
                            ),
                            new bs(
                              Object.assign({ run: { size: 56 } }, e.title),
                            ),
                            new ws(
                              Object.assign(
                                { run: { color: "2E74B5", size: 32 } },
                                e.heading1,
                              ),
                            ),
                            new xs(
                              Object.assign(
                                { run: { color: "2E74B5", size: 26 } },
                                e.heading2,
                              ),
                            ),
                            new Ss(
                              Object.assign(
                                { run: { color: "1F4D78", size: 24 } },
                                e.heading3,
                              ),
                            ),
                            new Es(
                              Object.assign(
                                { run: { color: "2E74B5", italics: !0 } },
                                e.heading4,
                              ),
                            ),
                            new Ts(
                              Object.assign(
                                { run: { color: "2E74B5" } },
                                e.heading5,
                              ),
                            ),
                            new Cs(
                              Object.assign(
                                { run: { color: "1F4D78" } },
                                e.heading6,
                              ),
                            ),
                            new Ps(
                              Object.assign({ run: { bold: !0 } }, e.strong),
                            ),
                            new ks(e.listParagraph || {}),
                            new Os(e.hyperlink || {}),
                            new _s(e.footnoteReference || {}),
                            new As(e.footnoteText || {}),
                            new Is(e.footnoteTextChar || {}),
                          ],
                        };
                      }
                    }
                    class Fs {
                      constructor(e, t = {}) {
                        var r;
                        if (
                          ((this.currentRelationshipId = 1),
                          (this.headers = []),
                          (this.footers = []),
                          (this.coreProperties = new fo(
                            Object.assign(Object.assign({}, e), {
                              creator:
                                null !== (r = e.creator) && void 0 !== r
                                  ? r
                                  : "Un-named",
                              revision:
                                null !== (r = e.revision) && void 0 !== r
                                  ? r
                                  : 1,
                              lastModifiedBy:
                                null !== (r = e.lastModifiedBy) && void 0 !== r
                                  ? r
                                  : "Un-named",
                            }),
                          )),
                          (this.numbering = new os(
                            e.numbering || { config: [] },
                          )),
                          (this.comments = new Er(
                            null !== (r = e.comments) && void 0 !== r
                              ? r
                              : { children: [] },
                          )),
                          (this.fileRelationships = new On()),
                          (this.customProperties = new wo(
                            null !== (r = e.customProperties) && void 0 !== r
                              ? r
                              : [],
                          )),
                          (this.appProperties = new so()),
                          (this.footnotesWrapper = new No()),
                          (this.contentTypes = new po()),
                          (this.documentWrapper = new Ln({
                            background: e.background,
                          })),
                          (this.settings = new us({
                            compatibilityModeVersion:
                              e.compatabilityModeVersion,
                            compatibility: e.compatibility,
                            evenAndOddHeaders: !!e.evenAndOddHeaderAndFooters,
                            trackRevisions:
                              null === (r = e.features) || void 0 === r
                                ? void 0
                                : r.trackRevisions,
                            updateFields:
                              null === (r = e.features) || void 0 === r
                                ? void 0
                                : r.updateFields,
                          })),
                          (this.media =
                            t.template && t.template.media
                              ? t.template.media
                              : new Fo()),
                          t.template &&
                            (this.currentRelationshipId =
                              t.template.currentRelationshipId + 1),
                          t.template && e.externalStyles)
                        )
                          throw Error(
                            "can not use both template and external styles",
                          );
                        if (t.template && t.template.styles) {
                          const e = new Ds();
                          this.styles = e.newInstance(t.template.styles);
                        } else if (e.externalStyles) {
                          const t = new Ds();
                          this.styles = t.newInstance(e.externalStyles);
                        } else if (e.styles) {
                          const t = new Bs().newInstance(e.styles.default);
                          this.styles = new Ls(
                            Object.assign(Object.assign({}, t), e.styles),
                          );
                        } else {
                          const e = new Bs();
                          this.styles = new Ls(e.newInstance());
                        }
                        if (
                          (this.addDefaultRelationships(),
                          t.template && t.template.headers)
                        )
                          for (const e of t.template.headers)
                            this.addHeaderToDocument(e.header, e.type);
                        if (t.template && t.template.footers)
                          for (const e of t.template.footers)
                            this.addFooterToDocument(e.footer, e.type);
                        for (const t of e.sections) this.addSection(t);
                        if (e.footnotes)
                          for (const t in e.footnotes)
                            this.footnotesWrapper.View.createFootNote(
                              parseFloat(t),
                              e.footnotes[t].children,
                            );
                      }
                      addSection({
                        headers: e = {},
                        footers: t = {},
                        children: r,
                        properties: n,
                      }) {
                        this.documentWrapper.View.Body.addSection(
                          Object.assign(Object.assign({}, n), {
                            headerWrapperGroup: {
                              default: e.default
                                ? this.createHeader(e.default)
                                : void 0,
                              first: e.first
                                ? this.createHeader(e.first)
                                : void 0,
                              even: e.even ? this.createHeader(e.even) : void 0,
                            },
                            footerWrapperGroup: {
                              default: t.default
                                ? this.createFooter(t.default)
                                : void 0,
                              first: t.first
                                ? this.createFooter(t.first)
                                : void 0,
                              even: t.even ? this.createFooter(t.even) : void 0,
                            },
                          }),
                        );
                        for (const e of r) this.documentWrapper.View.add(e);
                      }
                      createHeader(e) {
                        const t = new Bo(
                          this.media,
                          this.currentRelationshipId++,
                        );
                        for (const r of e.options.children) t.add(r);
                        return (this.addHeaderToDocument(t), t);
                      }
                      createFooter(e) {
                        const t = new Eo(
                          this.media,
                          this.currentRelationshipId++,
                        );
                        for (const r of e.options.children) t.add(r);
                        return (this.addFooterToDocument(t), t);
                      }
                      addHeaderToDocument(e, t = Oe.DEFAULT) {
                        (this.headers.push({ header: e, type: t }),
                          this.documentWrapper.Relationships.createRelationship(
                            e.View.ReferenceId,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",
                            `header${this.headers.length}.xml`,
                          ),
                          this.contentTypes.addHeader(this.headers.length));
                      }
                      addFooterToDocument(e, t = Oe.DEFAULT) {
                        (this.footers.push({ footer: e, type: t }),
                          this.documentWrapper.Relationships.createRelationship(
                            e.View.ReferenceId,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",
                            `footer${this.footers.length}.xml`,
                          ),
                          this.contentTypes.addFooter(this.footers.length));
                      }
                      addDefaultRelationships() {
                        (this.fileRelationships.createRelationship(
                          1,
                          "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",
                          "word/document.xml",
                        ),
                          this.fileRelationships.createRelationship(
                            2,
                            "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",
                            "docProps/core.xml",
                          ),
                          this.fileRelationships.createRelationship(
                            3,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",
                            "docProps/app.xml",
                          ),
                          this.fileRelationships.createRelationship(
                            4,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",
                            "docProps/custom.xml",
                          ),
                          this.documentWrapper.Relationships.createRelationship(
                            this.currentRelationshipId++,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",
                            "styles.xml",
                          ),
                          this.documentWrapper.Relationships.createRelationship(
                            this.currentRelationshipId++,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",
                            "numbering.xml",
                          ),
                          this.documentWrapper.Relationships.createRelationship(
                            this.currentRelationshipId++,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",
                            "footnotes.xml",
                          ),
                          this.documentWrapper.Relationships.createRelationship(
                            this.currentRelationshipId++,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",
                            "settings.xml",
                          ),
                          this.documentWrapper.Relationships.createRelationship(
                            this.currentRelationshipId++,
                            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",
                            "comments.xml",
                          ));
                      }
                      get Document() {
                        return this.documentWrapper;
                      }
                      get Styles() {
                        return this.styles;
                      }
                      get CoreProperties() {
                        return this.coreProperties;
                      }
                      get Numbering() {
                        return this.numbering;
                      }
                      get Media() {
                        return this.media;
                      }
                      get FileRelationships() {
                        return this.fileRelationships;
                      }
                      get Headers() {
                        return this.headers.map((e) => e.header);
                      }
                      get Footers() {
                        return this.footers.map((e) => e.footer);
                      }
                      get ContentTypes() {
                        return this.contentTypes;
                      }
                      get CustomProperties() {
                        return this.customProperties;
                      }
                      get AppProperties() {
                        return this.appProperties;
                      }
                      get FootNotes() {
                        return this.footnotesWrapper;
                      }
                      get Settings() {
                        return this.settings;
                      }
                      get Comments() {
                        return this.comments;
                      }
                    }
                    const Ms = "";
                    class js extends e {
                      constructor(e = {}) {
                        (super("w:instrText"),
                          (this.properties = e),
                          this.root.push(new $({ space: b.PRESERVE })));
                        let t = "TOC";
                        (this.properties.captionLabel &&
                          (t = `${t} \\a "${this.properties.captionLabel}"`),
                          this.properties.entriesFromBookmark &&
                            (t = `${t} \\b "${this.properties.entriesFromBookmark}"`),
                          this.properties.captionLabelIncludingNumbers &&
                            (t = `${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),
                          this.properties.sequenceAndPageNumbersSeparator &&
                            (t = `${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),
                          this.properties.tcFieldIdentifier &&
                            (t = `${t} \\f "${this.properties.tcFieldIdentifier}"`),
                          this.properties.hyperlink && (t += " \\h"),
                          this.properties.tcFieldLevelRange &&
                            (t = `${t} \\l "${this.properties.tcFieldLevelRange}"`),
                          this.properties.pageNumbersEntryLevelsRange &&
                            (t = `${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),
                          this.properties.headingStyleRange &&
                            (t = `${t} \\o "${this.properties.headingStyleRange}"`),
                          this.properties.entryAndPageNumberSeparator &&
                            (t = `${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),
                          this.properties.seqFieldIdentifierForPrefix &&
                            (t = `${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),
                          this.properties.stylesWithLevels &&
                            this.properties.stylesWithLevels.length &&
                            (t = `${t} \\t "${this.properties.stylesWithLevels
                              .map((e) => e.styleName + "," + e.level)
                              .join(",")}"`),
                          this.properties.useAppliedParagraphOutlineLevel &&
                            (t += " \\u"),
                          this.properties.preserveTabInEntries && (t += " \\w"),
                          this.properties.preserveNewLineInEntries &&
                            (t += " \\x"),
                          this.properties.hideTabAndPageNumbersInWebView &&
                            (t += " \\z"),
                          this.root.push(t));
                      }
                    }
                    class Us extends e {
                      constructor() {
                        super("w:sdtContent");
                      }
                    }
                    class zs extends e {
                      constructor(e) {
                        (super("w:sdtPr"), this.root.push(new k("w:alias", e)));
                      }
                    }
                    class Ws extends e {
                      constructor(e = "Table of Contents", t) {
                        (super("w:sdt"), this.root.push(new zs(e)));
                        const r = new Us(),
                          n = new Fn({
                            children: [
                              new de({
                                children: [new U(!0), new js(t), new z()],
                              }),
                            ],
                          });
                        r.addChildElement(n);
                        t = new Fn({
                          children: [new de({ children: [new W()] })],
                        });
                        (r.addChildElement(t), this.root.push(r));
                      }
                    }
                    class $s {
                      constructor(e, t) {
                        ((this.styleName = e), (this.level = t));
                      }
                    }
                    class Ks {
                      constructor(e = { children: [] }) {
                        this.options = e;
                      }
                    }
                    class Gs {
                      constructor(e = { children: [] }) {
                        this.options = e;
                      }
                    }
                    class qs extends r {
                      constructor() {
                        (super(...arguments), (this.xmlKeys = { id: "w:id" }));
                      }
                    }
                    class Vs extends e {
                      constructor(e) {
                        (super("w:footnoteReference"),
                          this.root.push(new qs({ id: e })));
                      }
                    }
                    class Xs extends de {
                      constructor(e) {
                        (super({ style: "FootnoteReference" }),
                          this.root.push(new Vs(e)));
                      }
                    }
                    class Qs extends e {
                      constructor(e) {
                        (super("w:ins"),
                          this.root.push(
                            new Q({ id: e.id, author: e.author, date: e.date }),
                          ),
                          this.addChildElement(new fe(e)));
                      }
                    }
                    class Ys extends e {
                      constructor() {
                        (super("w:delInstrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("PAGE"));
                      }
                    }
                    class Zs extends e {
                      constructor() {
                        (super("w:delInstrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("NUMPAGES"));
                      }
                    }
                    class Js extends e {
                      constructor() {
                        (super("w:delInstrText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push("SECTIONPAGES"));
                      }
                    }
                    class ea extends e {
                      constructor(e) {
                        (super("w:delText"),
                          this.root.push(new $({ space: b.PRESERVE })),
                          this.root.push(e));
                      }
                    }
                    class ta extends e {
                      constructor(e) {
                        (super("w:del"),
                          this.root.push(
                            new Q({ id: e.id, author: e.author, date: e.date }),
                          ),
                          (this.deletedTextRunWrapper = new ra(e)),
                          this.addChildElement(this.deletedTextRunWrapper));
                      }
                    }
                    class ra extends e {
                      constructor(t) {
                        if (
                          (super("w:r"), this.root.push(new ue(t)), t.children)
                        )
                          for (const e of t.children)
                            if ("string" != typeof e) this.root.push(e);
                            else
                              switch (e) {
                                case E.CURRENT:
                                  (this.root.push(new U()),
                                    this.root.push(new Ys()),
                                    this.root.push(new z()),
                                    this.root.push(new W()));
                                  break;
                                case E.TOTAL_PAGES:
                                  (this.root.push(new U()),
                                    this.root.push(new Zs()),
                                    this.root.push(new z()),
                                    this.root.push(new W()));
                                  break;
                                case E.TOTAL_PAGES_IN_SECTION:
                                  (this.root.push(new U()),
                                    this.root.push(new Js()),
                                    this.root.push(new z()),
                                    this.root.push(new W()));
                                  break;
                                default:
                                  this.root.push(new ea(e));
                              }
                        else t.text && this.root.push(new ea(t.text));
                        if (t.break)
                          for (let e = 0; e < t.break; e++)
                            this.root.splice(1, 0, new M());
                      }
                    }
                    var na = va(6085),
                      ia = va(3479);
                    class oa {
                      format(e, t = {}) {
                        t = e.prepForXml(t);
                        if (t) return t;
                        throw Error("XMLComponent did not format correctly");
                      }
                    }
                    class sa {
                      replace(e, t, r) {
                        let n = e;
                        return (
                          t.forEach((e, t) => {
                            n = n.replace(
                              new RegExp(`{${e.fileName}}`, "g"),
                              (r + t).toString(),
                            );
                          }),
                          n
                        );
                      }
                      getMediaData(t, e) {
                        return e.Array.filter(
                          (e) => 0 < t.search(`{${e.fileName}}`),
                        );
                      }
                    }
                    class aa {
                      replace(e, t) {
                        let r = e;
                        for (const e of t)
                          r = r.replace(
                            new RegExp(`{${e.reference}-${e.instance}}`, "g"),
                            e.numId.toString(),
                          );
                        return r;
                      }
                    }
                    function ca(e, s, a, c) {
                      return new (a = a || Promise)(function (r, t) {
                        function n(e) {
                          try {
                            o(c.next(e));
                          } catch (e) {
                            t(e);
                          }
                        }
                        function i(e) {
                          try {
                            o(c.throw(e));
                          } catch (e) {
                            t(e);
                          }
                        }
                        function o(e) {
                          var t;
                          e.done
                            ? r(e.value)
                            : ((t = e.value) instanceof a
                                ? t
                                : new a(function (e) {
                                    e(t);
                                  })
                              ).then(n, i);
                        }
                        o((c = c.apply(e, s || [])).next());
                      });
                    }
                    var la;
                    (((da = la = la || {}).NONE = ""),
                      (da.WITH_2_BLANKS = "  "),
                      (da.WITH_4_BLANKS = "    "),
                      (da.WITH_TAB = "\t"));
                    class ua {
                      static toString(t, r) {
                        return ca(this, void 0, void 0, function* () {
                          const e = this.compiler.compile(t, r);
                          return yield e.generateAsync({
                            type: "string",
                            mimeType:
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                            compression: "DEFLATE",
                          });
                        });
                      }
                      static toBuffer(t, r) {
                        return ca(this, void 0, void 0, function* () {
                          const e = this.compiler.compile(t, r);
                          return yield e.generateAsync({
                            type: "nodebuffer",
                            mimeType:
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                            compression: "DEFLATE",
                          });
                        });
                      }
                      static toBase64String(t, r) {
                        return ca(this, void 0, void 0, function* () {
                          const e = this.compiler.compile(t, r);
                          return yield e.generateAsync({
                            type: "base64",
                            mimeType:
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                            compression: "DEFLATE",
                          });
                        });
                      }
                      static toBlob(t, r) {
                        return ca(this, void 0, void 0, function* () {
                          const e = this.compiler.compile(t, r);
                          return yield e.generateAsync({
                            type: "blob",
                            mimeType:
                              "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                            compression: "DEFLATE",
                          });
                        });
                      }
                      static toStream(e, t) {
                        return this.compiler.compile(e, t).generateNodeStream({
                          type: "nodebuffer",
                          streamFiles: !0,
                          mimeType:
                            "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                          compression: "DEFLATE",
                        });
                      }
                    }
                    ua.compiler = new (class {
                      constructor() {
                        ((this.formatter = new oa()),
                          (this.imageReplacer = new sa()),
                          (this.numberingReplacer = new aa()));
                      }
                      compile(e, t) {
                        const r = new na(),
                          n = this.xmlifyFile(e, t),
                          i = new Map(Object.entries(n));
                        for (const [, e] of i)
                          if (Array.isArray(e))
                            for (const t of e) r.file(t.path, t.data);
                          else r.file(e.path, e.data);
                        for (const t of e.Media.Array) {
                          const e = t.stream;
                          r.file("word/media/" + t.fileName, e);
                        }
                        return r;
                      }
                      xmlifyFile(n, i) {
                        const r =
                            n.Document.Relationships.RelationshipCount + 1,
                          e = ia(
                            this.formatter.format(n.Document.View, {
                              viewWrapper: n.Document,
                              file: n,
                            }),
                            {
                              indent: i,
                              declaration: {
                                standalone: "yes",
                                encoding: "UTF-8",
                              },
                            },
                          ),
                          t = this.imageReplacer.getMediaData(e, n.Media);
                        return {
                          Relationships: {
                            data:
                              (t.forEach((e, t) => {
                                n.Document.Relationships.createRelationship(
                                  r + t,
                                  "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
                                  "media/" + e.fileName,
                                );
                              }),
                              ia(
                                this.formatter.format(
                                  n.Document.Relationships,
                                  { viewWrapper: n.Document, file: n },
                                ),
                                {
                                  indent: i,
                                  declaration: { encoding: "UTF-8" },
                                },
                              )),
                            path: "word/_rels/document.xml.rels",
                          },
                          Document: {
                            data:
                              ((o = this.imageReplacer.replace(e, t, r)),
                              this.numberingReplacer.replace(
                                o,
                                n.Numbering.ConcreteNumbering,
                              )),
                            path: "word/document.xml",
                          },
                          Styles: {
                            data:
                              ((o = ia(
                                this.formatter.format(n.Styles, {
                                  viewWrapper: n.Document,
                                  file: n,
                                }),
                                {
                                  indent: i,
                                  declaration: {
                                    standalone: "yes",
                                    encoding: "UTF-8",
                                  },
                                },
                              )),
                              this.numberingReplacer.replace(
                                o,
                                n.Numbering.ConcreteNumbering,
                              )),
                            path: "word/styles.xml",
                          },
                          Properties: {
                            data: ia(
                              this.formatter.format(n.CoreProperties, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              {
                                indent: i,
                                declaration: {
                                  standalone: "yes",
                                  encoding: "UTF-8",
                                },
                              },
                            ),
                            path: "docProps/core.xml",
                          },
                          Numbering: {
                            data: ia(
                              this.formatter.format(n.Numbering, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              {
                                indent: i,
                                declaration: {
                                  standalone: "yes",
                                  encoding: "UTF-8",
                                },
                              },
                            ),
                            path: "word/numbering.xml",
                          },
                          FileRelationships: {
                            data: ia(
                              this.formatter.format(n.FileRelationships, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              { indent: i, declaration: { encoding: "UTF-8" } },
                            ),
                            path: "_rels/.rels",
                          },
                          HeaderRelationships: n.Headers.map((r, e) => {
                            var t = ia(
                              this.formatter.format(r.View, {
                                viewWrapper: r,
                                file: n,
                              }),
                              { indent: i, declaration: { encoding: "UTF-8" } },
                            );
                            return (
                              this.imageReplacer
                                .getMediaData(t, n.Media)
                                .forEach((e, t) => {
                                  r.Relationships.createRelationship(
                                    t,
                                    "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
                                    "media/" + e.fileName,
                                  );
                                }),
                              {
                                data: ia(
                                  this.formatter.format(r.Relationships, {
                                    viewWrapper: r,
                                    file: n,
                                  }),
                                  {
                                    indent: i,
                                    declaration: { encoding: "UTF-8" },
                                  },
                                ),
                                path: `word/_rels/header${e + 1}.xml.rels`,
                              }
                            );
                          }),
                          FooterRelationships: n.Footers.map((r, e) => {
                            var t = ia(
                              this.formatter.format(r.View, {
                                viewWrapper: r,
                                file: n,
                              }),
                              { indent: i, declaration: { encoding: "UTF-8" } },
                            );
                            return (
                              this.imageReplacer
                                .getMediaData(t, n.Media)
                                .forEach((e, t) => {
                                  r.Relationships.createRelationship(
                                    t,
                                    "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
                                    "media/" + e.fileName,
                                  );
                                }),
                              {
                                data: ia(
                                  this.formatter.format(r.Relationships, {
                                    viewWrapper: r,
                                    file: n,
                                  }),
                                  {
                                    indent: i,
                                    declaration: { encoding: "UTF-8" },
                                  },
                                ),
                                path: `word/_rels/footer${e + 1}.xml.rels`,
                              }
                            );
                          }),
                          Headers: n.Headers.map((e, t) => {
                            var r = ia(
                                this.formatter.format(e.View, {
                                  viewWrapper: e,
                                  file: n,
                                }),
                                {
                                  indent: i,
                                  declaration: { encoding: "UTF-8" },
                                },
                              ),
                              e = this.imageReplacer.getMediaData(r, n.Media),
                              e = this.imageReplacer.replace(r, e, 0);
                            return {
                              data: this.numberingReplacer.replace(
                                e,
                                n.Numbering.ConcreteNumbering,
                              ),
                              path: `word/header${t + 1}.xml`,
                            };
                          }),
                          Footers: n.Footers.map((e, t) => {
                            var r = ia(
                                this.formatter.format(e.View, {
                                  viewWrapper: e,
                                  file: n,
                                }),
                                {
                                  indent: i,
                                  declaration: { encoding: "UTF-8" },
                                },
                              ),
                              e = this.imageReplacer.getMediaData(r, n.Media),
                              e = this.imageReplacer.replace(r, e, 0);
                            return {
                              data: this.numberingReplacer.replace(
                                e,
                                n.Numbering.ConcreteNumbering,
                              ),
                              path: `word/footer${t + 1}.xml`,
                            };
                          }),
                          ContentTypes: {
                            data: ia(
                              this.formatter.format(n.ContentTypes, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              { indent: i, declaration: { encoding: "UTF-8" } },
                            ),
                            path: "[Content_Types].xml",
                          },
                          CustomProperties: {
                            data: ia(
                              this.formatter.format(n.CustomProperties, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              {
                                indent: i,
                                declaration: {
                                  standalone: "yes",
                                  encoding: "UTF-8",
                                },
                              },
                            ),
                            path: "docProps/custom.xml",
                          },
                          AppProperties: {
                            data: ia(
                              this.formatter.format(n.AppProperties, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              {
                                indent: i,
                                declaration: {
                                  standalone: "yes",
                                  encoding: "UTF-8",
                                },
                              },
                            ),
                            path: "docProps/app.xml",
                          },
                          FootNotes: {
                            data: ia(
                              this.formatter.format(n.FootNotes.View, {
                                viewWrapper: n.FootNotes,
                                file: n,
                              }),
                              { indent: i, declaration: { encoding: "UTF-8" } },
                            ),
                            path: "word/footnotes.xml",
                          },
                          FootNotesRelationships: {
                            data: ia(
                              this.formatter.format(n.FootNotes.Relationships, {
                                viewWrapper: n.FootNotes,
                                file: n,
                              }),
                              { indent: i, declaration: { encoding: "UTF-8" } },
                            ),
                            path: "word/_rels/footnotes.xml.rels",
                          },
                          Settings: {
                            data: ia(
                              this.formatter.format(n.Settings, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              {
                                indent: i,
                                declaration: {
                                  standalone: "yes",
                                  encoding: "UTF-8",
                                },
                              },
                            ),
                            path: "word/settings.xml",
                          },
                          Comments: {
                            data: ia(
                              this.formatter.format(n.Comments, {
                                viewWrapper: n.Document,
                                file: n,
                              }),
                              {
                                indent: i,
                                declaration: {
                                  standalone: "yes",
                                  encoding: "UTF-8",
                                },
                              },
                            ),
                            path: "word/comments.xml",
                          },
                        };
                        var o;
                      }
                    })();
                    function ha(e, s, a, c) {
                      return new (a = a || Promise)(function (r, t) {
                        function n(e) {
                          try {
                            o(c.next(e));
                          } catch (e) {
                            t(e);
                          }
                        }
                        function i(e) {
                          try {
                            o(c.throw(e));
                          } catch (e) {
                            t(e);
                          }
                        }
                        function o(e) {
                          var t;
                          e.done
                            ? r(e.value)
                            : ((t = e.value) instanceof a
                                ? t
                                : new a(function (e) {
                                    e(t);
                                  })
                              ).then(n, i);
                        }
                        o((c = c.apply(e, s || [])).next());
                      });
                    }
                    var pa, da;
                    const fa = {
                      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header":
                        "header",
                      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer":
                        "footer",
                      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":
                        "image",
                      "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink":
                        "hyperlink",
                    };
                    (((da = pa = pa || {}).HEADER = "header"),
                      (da.FOOTER = "footer"),
                      (da.IMAGE = "image"),
                      (da.HYPERLINK = "hyperlink"));
                    class ma {
                      extract(s) {
                        return ha(this, void 0, void 0, function* () {
                          const e = yield na.loadAsync(s),
                            t =
                              yield e.files["word/document.xml"].async("text"),
                            r =
                              yield e.files[
                                "word/_rels/document.xml.rels"
                              ].async("text"),
                            n = this.extractDocumentRefs(t),
                            i = this.findReferenceFiles(r),
                            o = new Fo();
                          return {
                            headers: yield this.createHeaders(e, n, i, o, 0),
                            footers: yield this.createFooters(
                              e,
                              n,
                              i,
                              o,
                              n.headers.length,
                            ),
                            currentRelationshipId:
                              n.footers.length + n.headers.length,
                            styles:
                              yield e.files["word/styles.xml"].async("text"),
                            titlePageIsDefined:
                              this.checkIfTitlePageIsDefined(t),
                            media: o,
                          };
                        });
                      }
                      createFooters(s, t, a, c, l) {
                        return ha(this, void 0, void 0, function* () {
                          var e = t.footers
                            .map((i, o) =>
                              ha(this, void 0, void 0, function* () {
                                var e = a.find((e) => e.id === i.id);
                                if (null === e || !e)
                                  throw new Error(
                                    "Can not find target file for id " + i.id,
                                  );
                                const t =
                                    yield s.files["word/" + e.target].async(
                                      "text",
                                    ),
                                  r = (0, u.xml2js)(t, {
                                    compact: !1,
                                    captureSpacesBetweenElements: !0,
                                  });
                                if (r.elements) {
                                  var n = r.elements.reduce((e, t) =>
                                      "w:ftr" === t.name ? t : e,
                                    ),
                                    n = h(n),
                                    n = new Eo(c, l + o, n);
                                  return (
                                    yield this.addRelationshipToWrapper(
                                      e,
                                      s,
                                      n,
                                      c,
                                    ),
                                    { type: i.type, footer: n }
                                  );
                                }
                              }),
                            )
                            .filter((e) => !!e);
                          return Promise.all(e);
                        });
                      }
                      createHeaders(s, t, a, c, l) {
                        return ha(this, void 0, void 0, function* () {
                          var e = t.headers
                            .map((i, o) =>
                              ha(this, void 0, void 0, function* () {
                                var e = a.find((e) => e.id === i.id);
                                if (null === e || !e)
                                  throw new Error(
                                    "Can not find target file for id " + i.id,
                                  );
                                const t =
                                    yield s.files["word/" + e.target].async(
                                      "text",
                                    ),
                                  r = (0, u.xml2js)(t, {
                                    compact: !1,
                                    captureSpacesBetweenElements: !0,
                                  });
                                if (r.elements) {
                                  var n = r.elements.reduce((e, t) =>
                                      "w:hdr" === t.name ? t : e,
                                    ),
                                    n = h(n),
                                    n = new Bo(c, l + o, n);
                                  return (
                                    yield this.addRelationshipToWrapper(
                                      e,
                                      s,
                                      n,
                                      c,
                                    ),
                                    { type: i.type, header: n }
                                  );
                                }
                              }),
                            )
                            .filter((e) => !!e);
                          return Promise.all(e);
                        });
                      }
                      addRelationshipToWrapper(i, o, s, a) {
                        return ha(this, void 0, void 0, function* () {
                          const e = o.files[`word/_rels/${i.target}.rels`];
                          if (e) {
                            const t = yield e.async("text"),
                              r = this.findReferenceFiles(t).filter(
                                (e) => e.type === pa.IMAGE,
                              ),
                              n = this.findReferenceFiles(t).filter(
                                (e) => e.type === pa.HYPERLINK,
                              );
                            for (const i of r) {
                              const e = na.support.arraybuffer
                                  ? "arraybuffer"
                                  : "nodebuffer",
                                t = yield o.files["word/" + i.target].async(e),
                                r = a.addMedia(t, { width: 100, height: 100 });
                              s.Relationships.createRelationship(
                                i.id,
                                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
                                "media/" + r.fileName,
                              );
                            }
                            for (const i of n)
                              s.Relationships.createRelationship(
                                i.id,
                                "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",
                                i.target,
                                Ae.EXTERNAL,
                              );
                          }
                        });
                      }
                      findReferenceFiles(e) {
                        const t = (0, u.xml2js)(e, { compact: !0 });
                        return (
                          Array.isArray(t.Relationships.Relationship)
                            ? t.Relationships.Relationship
                            : [t.Relationships.Relationship]
                        )
                          .map((e) => {
                            if (void 0 === e._attributes)
                              throw Error(
                                "relationship element has no attributes",
                              );
                            return {
                              id: this.parseRefId(e._attributes.Id),
                              type: fa[e._attributes.Type],
                              target: e._attributes.Target,
                            };
                          })
                          .filter((e) => null !== e.type);
                      }
                      extractDocumentRefs(e) {
                        var t = (0, u.xml2js)(e, { compact: !0 })["w:document"][
                            "w:body"
                          ]["w:sectPr"],
                          e = t["w:headerReference"];
                        let r;
                        r = void 0 === e ? [] : Array.isArray(e) ? e : [e];
                        ((e = r.map((e) => {
                          if (void 0 === e._attributes)
                            throw Error(
                              "header reference element has no attributes",
                            );
                          return {
                            type: e._attributes["w:type"],
                            id: this.parseRefId(e._attributes["r:id"]),
                          };
                        })),
                          (t = t["w:footerReference"]));
                        let n;
                        return (
                          (n = void 0 === t ? [] : Array.isArray(t) ? t : [t]),
                          {
                            headers: e,
                            footers: n.map((e) => {
                              if (void 0 === e._attributes)
                                throw Error(
                                  "footer reference element has no attributes",
                                );
                              return {
                                type: e._attributes["w:type"],
                                id: this.parseRefId(e._attributes["r:id"]),
                              };
                            }),
                          }
                        );
                      }
                      checkIfTitlePageIsDefined(e) {
                        return (
                          void 0 !==
                          (0, u.xml2js)(e, { compact: !0 })["w:document"][
                            "w:body"
                          ]["w:sectPr"]["w:titlePg"]
                        );
                      }
                      parseRefId(e) {
                        e = /^rId(\d+)$/.exec(e);
                        if (null === e) throw new Error("Invalid ref id");
                        return parseInt(e[1], 10);
                      }
                    }
                    var ga = va(5575);
                  })(),
                  ya
                );
              })())()));
        },
        162: function (e, t, r) {
          var n;
          void 0 ===
            (n =
              "function" ==
              typeof (n = function () {
                "use strict";
                function c(e, t, r) {
                  var n = new XMLHttpRequest();
                  (n.open("GET", e),
                    (n.responseType = "blob"),
                    (n.onload = function () {
                      i(n.response, t, r);
                    }),
                    (n.onerror = function () {
                      console.error("could not download file");
                    }),
                    n.send());
                }
                function s(e) {
                  var t = new XMLHttpRequest();
                  t.open("HEAD", e, !1);
                  try {
                    t.send();
                  } catch (e) {}
                  return 200 <= t.status && t.status <= 299;
                }
                function a(t) {
                  try {
                    t.dispatchEvent(new MouseEvent("click"));
                  } catch (e) {
                    var r = document.createEvent("MouseEvents");
                    (r.initMouseEvent(
                      "click",
                      !0,
                      !0,
                      window,
                      0,
                      0,
                      0,
                      80,
                      20,
                      !1,
                      !1,
                      !1,
                      !1,
                      0,
                      null,
                    ),
                      t.dispatchEvent(r));
                  }
                }
                var l =
                    "object" == typeof window && window.window === window
                      ? window
                      : "object" == typeof self && self.self === self
                        ? self
                        : "object" == typeof r.g && r.g.global === r.g
                          ? r.g
                          : void 0,
                  u =
                    l.navigator &&
                    /Macintosh/.test(navigator.userAgent) &&
                    /AppleWebKit/.test(navigator.userAgent) &&
                    !/Safari/.test(navigator.userAgent),
                  i =
                    l.saveAs ||
                    ("object" != typeof window || window !== l
                      ? function () {}
                      : "download" in HTMLAnchorElement.prototype && !u
                        ? function (e, t, r) {
                            var n = l.URL || l.webkitURL,
                              i = document.createElement("a");
                            ((t = t || e.name || "download"),
                              (i.download = t),
                              (i.rel = "noopener"),
                              "string" == typeof e
                                ? ((i.href = e),
                                  i.origin === location.origin
                                    ? a(i)
                                    : s(i.href)
                                      ? c(e, t, r)
                                      : a(i, (i.target = "_blank")))
                                : ((i.href = n.createObjectURL(e)),
                                  setTimeout(function () {
                                    n.revokeObjectURL(i.href);
                                  }, 4e4),
                                  setTimeout(function () {
                                    a(i);
                                  }, 0)));
                          }
                        : "msSaveOrOpenBlob" in navigator
                          ? function (e, t, r) {
                              var n, i, o;
                              ((t = t || e.name || "download"),
                                "string" != typeof e
                                  ? navigator.msSaveOrOpenBlob(
                                      ((i = e),
                                      void 0 === (o = r)
                                        ? (o = { autoBom: !1 })
                                        : "object" != typeof o &&
                                          (console.warn(
                                            "Deprecated: Expected third argument to be a object",
                                          ),
                                          (o = { autoBom: !o })),
                                      o.autoBom &&
                                      /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(
                                        i.type,
                                      )
                                        ? new Blob(["\ufeff", i], {
                                            type: i.type,
                                          })
                                        : i),
                                      t,
                                    )
                                  : s(e)
                                    ? c(e, t, r)
                                    : (((n = document.createElement("a")).href =
                                        e),
                                      (n.target = "_blank"),
                                      setTimeout(function () {
                                        a(n);
                                      })));
                            }
                          : function (e, t, r, n) {
                              if (
                                ((n = n || open("", "_blank")) &&
                                  (n.document.title =
                                    n.document.body.innerText =
                                      "downloading..."),
                                "string" == typeof e)
                              )
                                return c(e, t, r);
                              var i,
                                o,
                                s,
                                t = "application/octet-stream" === e.type,
                                r =
                                  /constructor/i.test(l.HTMLElement) ||
                                  l.safari,
                                a = /CriOS\/[\d]+/.test(navigator.userAgent);
                              (a || (t && r) || u) &&
                              "undefined" != typeof FileReader
                                ? (((i = new FileReader()).onloadend =
                                    function () {
                                      var e = i.result,
                                        e = a
                                          ? e
                                          : e.replace(
                                              /^data:[^;]*;/,
                                              "data:attachment/file;",
                                            );
                                      (n
                                        ? (n.location.href = e)
                                        : (location = e),
                                        (n = null));
                                    }),
                                  i.readAsDataURL(e))
                                : ((o = l.URL || l.webkitURL),
                                  (s = o.createObjectURL(e)),
                                  n ? (n.location = s) : (location.href = s),
                                  (n = null),
                                  setTimeout(function () {
                                    o.revokeObjectURL(s);
                                  }, 4e4));
                            });
                ((l.saveAs = i.saveAs = i), (e.exports = i));
              })
                ? n.apply(t, [])
                : n) || (e.exports = n);
        },
        379: (e) => {
          "use strict";
          var l = [];
          function u(e) {
            for (var t = -1, r = 0; r < l.length; r++)
              if (l[r].identifier === e) {
                t = r;
                break;
              }
            return t;
          }
          function a(e, t) {
            for (var r = {}, n = [], i = 0; i < e.length; i++) {
              var o = e[i],
                s = t.base ? o[0] + t.base : o[0],
                a = r[s] || 0,
                c = "".concat(s, " ").concat(a);
              r[s] = a + 1;
              var a = u(c),
                o = {
                  css: o[1],
                  media: o[2],
                  sourceMap: o[3],
                  supports: o[4],
                  layer: o[5],
                };
              (-1 !== a
                ? (l[a].references++, l[a].updater(o))
                : ((o = (function (t, e) {
                    var r = e.domAPI(e);
                    return (
                      r.update(t),
                      function (e) {
                        e
                          ? (e.css === t.css &&
                              e.media === t.media &&
                              e.sourceMap === t.sourceMap &&
                              e.supports === t.supports &&
                              e.layer === t.layer) ||
                            r.update((t = e))
                          : r.remove();
                      }
                    );
                  })(o, t)),
                  (t.byIndex = i),
                  l.splice(i, 0, { identifier: c, updater: o, references: 1 })),
                n.push(c));
            }
            return n;
          }
          e.exports = function (e, o) {
            var s = a((e = e || []), (o = o || {}));
            return function (e) {
              e = e || [];
              for (var t = 0; t < s.length; t++) {
                var r = u(s[t]);
                l[r].references--;
              }
              for (var e = a(e, o), n = 0; n < s.length; n++) {
                var i = u(s[n]);
                0 === l[i].references && (l[i].updater(), l.splice(i, 1));
              }
              s = e;
            };
          };
        },
        569: (e) => {
          "use strict";
          var r = {};
          e.exports = function (e, t) {
            e = (function (e) {
              if (void 0 === r[e]) {
                var t = document.querySelector(e);
                if (
                  window.HTMLIFrameElement &&
                  t instanceof window.HTMLIFrameElement
                )
                  try {
                    t = t.contentDocument.head;
                  } catch (e) {
                    t = null;
                  }
                r[e] = t;
              }
              return r[e];
            })(e);
            if (!e)
              throw new Error(
                "Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.",
              );
            e.appendChild(t);
          };
        },
        216: (e) => {
          "use strict";
          e.exports = function (e) {
            var t = document.createElement("style");
            return (
              e.setAttributes(t, e.attributes),
              e.insert(t, e.options),
              t
            );
          };
        },
        565: (e, t, r) => {
          "use strict";
          e.exports = function (e) {
            var t = r.nc;
            t && e.setAttribute("nonce", t);
          };
        },
        795: (e) => {
          "use strict";
          e.exports = function (t) {
            var r = t.insertStyleElement(t);
            return {
              update: function (e) {
                !(function (e, t, r) {
                  var n = "";
                  (r.supports && (n += "@supports (".concat(r.supports, ") {")),
                    r.media && (n += "@media ".concat(r.media, " {")));
                  var i = void 0 !== r.layer;
                  (i &&
                    (n += "@layer".concat(
                      0 < r.layer.length ? " ".concat(r.layer) : "",
                      " {",
                    )),
                    (n += r.css),
                    i && (n += "}"),
                    r.media && (n += "}"),
                    r.supports && (n += "}"));
                  r = r.sourceMap;
                  (r &&
                    "undefined" != typeof btoa &&
                    (n +=
                      "\n/*# sourceMappingURL=data:application/json;base64,".concat(
                        btoa(unescape(encodeURIComponent(JSON.stringify(r)))),
                        " */",
                      )),
                    t.styleTagTransform(n, e, t.options));
                })(r, t, e);
              },
              remove: function () {
                var e;
                null !== (e = r).parentNode && e.parentNode.removeChild(e);
              },
            };
          };
        },
        589: (e) => {
          "use strict";
          e.exports = function (e, t) {
            if (t.styleSheet) t.styleSheet.cssText = e;
            else {
              for (; t.firstChild; ) t.removeChild(t.firstChild);
              t.appendChild(document.createTextNode(e));
            }
          };
        },
      },
      n = {};
    function c(e) {
      var t = n[e];
      if (void 0 !== t) return t.exports;
      t = n[e] = { id: e, exports: {} };
      return (r[e].call(t.exports, t, t.exports, c), t.exports);
    }
    ((c.n = (e) => {
      var t = e && e.__esModule ? () => e.default : () => e;
      return (c.d(t, { a: t }), t);
    }),
      (c.d = (e, t) => {
        for (var r in t)
          c.o(t, r) &&
            !c.o(e, r) &&
            Object.defineProperty(e, r, { enumerable: !0, get: t[r] });
      }),
      (c.g = (function () {
        if ("object" == typeof globalThis) return globalThis;
        try {
          return this || new Function("return this")();
        } catch (e) {
          if ("object" == typeof window) return window;
        }
      })()),
      (c.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
      (c.nc = void 0),
      (() => {
        "use strict";
        var e = c(379),
          t = c.n(e),
          r = c(795),
          n = c.n(r),
          i = c(569),
          o = c.n(i),
          s = c(565),
          a = c.n(s),
          e = c(216),
          r = c.n(e),
          i = c(589),
          s = c.n(i),
          e = c(103),
          i = {};
        ((i.styleTagTransform = s()),
          (i.setAttributes = a()),
          (i.insert = o().bind(null, "head")),
          (i.domAPI = n()),
          (i.insertStyleElement = r()),
          t()(e.Z, i),
          e.Z && e.Z.locals && e.Z.locals,
          ((H5P = H5P || {}).ExportableTextArea = c(426).Z));
      })());
  })(),
  ((H5P = H5P || {}).Transition = (function () {
    Transition = {
      transitionEndEventNames: {
        WebkitTransition: "webkitTransitionEnd",
        transition: "transitionend",
        MozTransition: "transitionend",
        OTransition: "oTransitionEnd",
        msTransition: "MSTransitionEnd",
      },
      cache: [],
      getVendorPropertyName: function (e) {
        if (void 0 !== Transition.cache[e]) return Transition.cache[e];
        var t = document.createElement("div");
        if (e in t.style) Transition.cache[e] = e;
        else {
          var r = ["Moz", "Webkit", "O", "ms"],
            n = e.charAt(0).toUpperCase() + e.substr(1);
          if (e in t.style) Transition.cache[e] = e;
          else
            for (var i = 0; i < r.length; ++i) {
              var o = r[i] + n;
              if (o in t.style) {
                Transition.cache[e] = o;
                break;
              }
            }
        }
        return Transition.cache[e];
      },
      getTransitionEndEventName: function () {
        return (
          Transition.transitionEndEventNames[
            Transition.getVendorPropertyName("transition")
          ] || void 0
        );
      },
      onTransitionEnd: function (e, t, r) {
        ((r = r || 1e3),
          (Transition.transitionEndEventName =
            Transition.transitionEndEventName ||
            Transition.getTransitionEndEventName()));
        function n() {
          i ||
            (e.off(Transition.transitionEndEventName, t),
            (i = !0),
            clearTimeout(o),
            t());
        }
        var i = !1,
          o = setTimeout(function () {
            n();
          }, r);
        e.on(Transition.transitionEndEventName, function () {
          n();
        });
      },
    };
    function n(e, t) {
      var r;
      t >= e.length ||
        ((r = e[t]),
        H5P.Transition.onTransitionEnd(
          r.$element,
          function () {
            (r.end && r.end(), !0 !== r.break && n(e, t + 1));
          },
          r.timeout || void 0,
        ));
    }
    return (
      (Transition.sequence = function (e) {
        n(e, 0);
      }),
      Transition
    );
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelHelpTextDialog = (function (u) {
    var h = 0;
    function e(e, t, r) {
      H5P.EventDispatcher.call(this);
      var n = this,
        i = "joubel-help-text-header-" + ++h,
        o = "joubel-help-text-body-" + h,
        s = u("<div>", {
          class: "joubel-help-text-dialog-box",
          role: "dialog",
          "aria-labelledby": i,
          "aria-describedby": o,
        });
      u("<div>", { class: "joubel-help-text-dialog-background" }).appendTo(s);
      var a = u("<div>", {
        class: "joubel-help-text-dialog-container",
      }).appendTo(s);
      (u("<div>", {
        class: "joubel-help-text-header",
        id: i,
        role: "header",
        html: e,
      }).appendTo(a),
        u("<div>", {
          class: "joubel-help-text-body",
          id: o,
          html: t,
          role: "document",
          tabindex: 0,
        }).appendTo(a));
      function c() {
        (s.remove(), n.trigger("closed"));
      }
      var l = u("<div>", {
        class: "joubel-help-text-remove",
        role: "button",
        title: r,
        tabindex: 1,
        click: c,
        keydown: function (e) {
          -1 !== [32, 13].indexOf(e.which) && (e.preventDefault(), c());
        },
      }).appendTo(a);
      ((n.getElement = function () {
        return s;
      }),
        (n.focus = function () {
          l.focus();
        }));
    }
    return ((e.prototype = Object.create(
      H5P.EventDispatcher.prototype,
    )).constructor = e);
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelMessageDialog = (function (o) {
    return function (e, t) {
      function r() {
        (n.remove(), clearTimeout(i), e.off("click.messageDialog"));
      }
      var n = o("<div/>", { class: "joubel-message-dialog", text: t }).appendTo(
          e,
        ),
        i = setTimeout(r, 3e3);
      return (e.on("click.messageDialog", r), n);
    };
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelProgressCircle = (function (a) {
    function e(t, e, r, n) {
      ((r = r || "#f0f0f0"), (n = n || "#ffffff"));
      var i = this.hexToRgb((e = e || "#1a73d9"));
      try {
        if ("" === (t = Number(t))) throw "is empty";
        if (isNaN(t)) throw "is not a number";
      } catch (e) {
        t = "err";
      }
      100 < t && (t = 100);
      var o =
          "rgb(" +
          parseInt(i.r, 10) +
          "," +
          parseInt(i.g, 10) +
          "," +
          parseInt(i.b, 10) +
          ")",
        s = a("<div/>", { class: "joubel-progress-circle-wrapper" }),
        e = a("<div/>", {
          class: "joubel-progress-circle-active-border",
        }).appendTo(s),
        i = a("<div/>", { class: "joubel-progress-circle-circle" }).appendTo(e);
      a("<span/>", {
        text: t + "%",
        class: "joubel-progress-circle-percentage",
      }).appendTo(i);
      t *= 3.6;
      return (
        (t <= 180
          ? e.css(
              "background-image",
              "linear-gradient(" +
                (90 + t) +
                "deg, transparent 50%, " +
                r +
                " 50%),linear-gradient(90deg, " +
                r +
                " 50%, transparent 50%)",
            )
          : e.css(
              "background-image",
              "linear-gradient(" +
                (t - 90) +
                "deg, transparent 50%, " +
                o +
                " 50%),linear-gradient(90deg, " +
                r +
                " 50%, transparent 50%)",
            )
        )
          .css("border", "2px solid" + n)
          .css("background-color", o),
        (this.$activeBorder = e),
        (this.$backgroundCircle = i),
        (this.$wrapper = s),
        this.initResizeFunctionality(),
        s
      );
    }
    return (
      (e.prototype.initResizeFunctionality = function () {
        var e = this;
        (a(window).resize(function () {
          setTimeout(function () {
            e.resize();
          });
        }),
          setTimeout(function () {
            e.resize();
          }, 0));
      }),
      (e.prototype.resize = function () {
        var e,
          t,
          r,
          n = this.$wrapper.parent();
        void 0 !== n &&
          n &&
          ((r = parseInt(n.css("font-size"), 10)),
          (t =
            (e =
              parseInt(r / 4.5, 10) % 2 == 0
                ? parseInt(r / 4.5, 10) + 4
                : parseInt(r / 4.5, 10) + 5) / 2),
          this.$activeBorder.css({
            width: (n = 3.75 * r),
            height: (r = 3.75 * r),
          }),
          this.$backgroundCircle.css({
            width: n - e,
            height: r - e,
            top: t,
            left: t,
          }));
      }),
      (e.prototype.hexToRgb = function (e) {
        e = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);
        return e
          ? {
              r: parseInt(e[1], 16),
              g: parseInt(e[2], 16),
              b: parseInt(e[3], 16),
            }
          : null;
      }),
      e
    );
  })(H5P.jQuery)),
  ((H5P = H5P || {}).SimpleRoundedButton = (function (r) {
    return function (e) {
      var t = r("<div>", {
        class: "joubel-simple-rounded-button",
        title: e,
        role: "button",
        tabindex: "0",
      }).keydown(function (e) {
        -1 !== [32, 13].indexOf(e.which) &&
          (r(this).click(), e.preventDefault());
      });
      return (
        r("<span>", {
          class: "joubel-simple-rounded-button-text",
          html: e,
        }).appendTo(t),
        t
      );
    };
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelSpeechBubble = (function (o) {
    var s,
      a,
      c,
      l,
      u,
      h,
      p = !!navigator.userAgent.match(/iPod|iPhone|iPad/g);
    function d(e) {
      var t = e.closest(".h5p-frame");
      return (t = !t.length ? e.closest(".h5p-container") : t);
    }
    function f() {
      m(s, a, h, c, l);
    }
    function m(e, t, r, n, i) {
      var o = (function (e, t) {
          ((e = e[0].getBoundingClientRect()),
            (t = t[0].getBoundingClientRect()));
          return {
            top: t.top - e.top,
            right: e.right - t.right,
            bottom: e.bottom - t.bottom,
            left: t.left - e.left,
            innerWidth: t.width,
            innerHeight: t.height,
            outerWidth: e.width,
            outerHeight: e.height,
          };
        })(d(t), t),
        s = o.bottom > o.top ? "bottom" : "top",
        a = 0.9 * o.outerWidth,
        r = r < a ? r : a,
        a = (function (e, t) {
          var r = {},
            n = e / 2;
          ((r.top = t.top + t.innerHeight),
            (r.bottom = t.bottom + t.innerHeight + 9),
            t.left < n
              ? (r.left = 3)
              : t.left + n > t.outerWidth
                ? (r.left = t.outerWidth - e - 3)
                : (r.left = t.left - n + t.innerWidth / 2));
          return r;
        })(r, o),
        t = (function (e, t, r, n) {
          var i = {},
            e = e - 20;
          ((i.left = r.left - t.left + n / 2 - 6), i.left < 9 && (i.left = 9));
          i.left > e && (i.left = e);
          return ((i.top = -6), (i.bottom = -6), i);
        })(r, a, o, t.width());
      e.css(
        ((e = r),
        (r = a),
        (a = 16),
        "top" === s
          ? {
              width: e + "px",
              bottom: r.bottom + "px",
              left: r.left + "px",
              fontSize: a + "px",
              top: "",
            }
          : {
              width: e + "px",
              top: r.top + "px",
              left: r.left + "px",
              fontSize: a + "px",
              bottom: "",
            }),
      );
      ((t = t),
        (t =
          "top" === s
            ? { bottom: t.bottom + "px", left: t.left + "px", top: "" }
            : { top: t.top + "px", left: t.left + "px", bottom: "" }));
      (n.css(t), i.css(t));
    }
    H5P.externalDispatcher.on("domHidden", function (e) {
      void 0 !== s && 0 !== e.data.$dom.find(a).length && g();
    });
    var g = function () {
      (H5P.$body.off("mousedown.speechBubble"),
        H5P.$window.off("resize", "", f),
        a.parents(".h5p-dialog").off("mousedown.speechBubble"),
        p && H5P.$body.css("cursor", ""),
        void 0 !== s &&
          (s.removeClass("show"),
          clearTimeout(u),
          (u = setTimeout(function () {
            (s.remove(), (s = void 0));
          }, 500))));
    };
    function v(e) {
      e.target !== a[0] && (g(), (a = void 0));
    }
    return function (e, t, r) {
      ((h = r = r || 400),
        (a = e),
        (this.isCurrent = function (e) {
          return e.is(a);
        }),
        (this.remove = function () {
          g();
        }),
        void 0 !== s && g());
      var n,
        i = d(e);
      return (
        (n = s) &&
          (clearTimeout(u),
          n.removeClass("show"),
          setTimeout(function () {
            n && (n.remove(), (n = void 0));
          }, 500)),
        (c = o('<div class="joubel-speech-bubble-tail"></div>')),
        (l = o('<div class="joubel-speech-bubble-inner-tail"></div>')),
        (t = o(
          '<div class="joubel-speech-bubble-inner"><div class="joubel-speech-bubble-text">' +
            t +
            "</div></div>",
        ).prepend(l)),
        (s = o('<div class="joubel-speech-bubble" aria-live="assertive">')
          .append([c, t])
          .appendTo(i)),
        setTimeout(function () {
          s.addClass("show");
        }, 0),
        m(s, a, r, c, l),
        H5P.$body.on("mousedown.speechBubble", v),
        H5P.$window.on("resize", "", f),
        e.parents(".h5p-dialog").on("mousedown.speechBubble", v),
        p && H5P.$body.css("cursor", "pointer"),
        this
      );
    };
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelThrobber = (function (e) {
    return function () {
      return e("<div/>", { class: "h5p-throbber" });
    };
  })(H5P.jQuery)),
  /*!@license H5P.JoubelUI-1.3/js/joubel-tip.js by Joubel licensed under unknown license*/ (H5P.JoubelTip =
    (function (a) {
      var c = a("<div/>");
      return function (t, r) {
        var n,
          e = c.html(t).text().trim();
        if ("" !== e) {
          r = a.extend(
            { tipLabel: e, helpIcon: !1, showSpeechBubble: !0, tabcontrol: !1 },
            r,
          );
          var i = a("<div/>", {
            class:
              "joubel-tip-container" + (r.showSpeechBubble ? "" : " be-quiet"),
            "aria-label": r.tipLabel,
            "aria-expanded": !1,
            role: "button",
            tabindex: r.tabcontrol ? -1 : 0,
            click: function (e) {
              (o(), e.preventDefault());
            },
            keydown: function (e) {
              32 === e.which || 13 === e.which
                ? (o(), e.stopPropagation(), e.preventDefault())
                : o(!1);
            },
            html:
              '<span class="joubel-icon-tip-normal ' +
              (r.helpIcon ? " help-icon" : "") +
              '"><span class="h5p-icon-shadow"></span><span class="h5p-icon-speech-bubble"></span><span class="h5p-icon-info"></span></span>',
          });
          const s = a("<div>", {
            class: "hidden-but-read",
            "aria-live": "polite",
            appendTo: i,
          });
          var o = function (e) {
            void 0 !== n && n.isCurrent(i)
              ? (n.remove(),
                (n = void 0),
                i.attr("aria-expanded", !1),
                s.html(""))
              : !1 !== e &&
                r.showSpeechBubble &&
                ((n = H5P.JoubelSpeechBubble(i, t)),
                i.attr("aria-expanded", !0),
                s.html(t));
          };
          return i;
        }
      };
    })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelSlider = (function (t) {
    function e(e) {
      (H5P.EventDispatcher.call(this),
        (this.$slider = t(
          "<div>",
          t.extend({ class: "h5p-joubel-ui-slider" }, e),
        )),
        (this.$slides = []),
        (this.currentIndex = 0),
        (this.numSlides = 0));
    }
    return (
      (((e.prototype = Object.create(
        H5P.EventDispatcher.prototype,
      )).constructor = e).prototype.addSlide = function (e) {
        (e
          .addClass("h5p-joubel-ui-slide")
          .css({ left: 100 * this.numSlides + "%" }),
          this.$slider.append(e),
          this.$slides.push(e),
          this.numSlides++,
          1 === this.numSlides && e.addClass("current"));
      }),
      (e.prototype.attach = function (e) {
        e.append(this.$slider);
      }),
      (e.prototype.move = function (e) {
        var t = this;
        (0 === e && t.trigger("first-slide"),
          e + 1 === t.numSlides && t.trigger("last-slide"),
          t.trigger("move"));
        var r = t.$slides[this.currentIndex];
        (H5P.Transition.onTransitionEnd(this.$slider, function () {
          (r.removeClass("current"), t.trigger("moved"));
        }),
          this.$slides[e].addClass("current"));
        var n = "translateX(" + 100 * -e + "%)";
        (this.$slider.css({
          "-webkit-transform": n,
          "-moz-transform": n,
          "-ms-transform": n,
          transform: n,
        }),
          (this.currentIndex = e));
      }),
      (e.prototype.remove = function () {
        this.$slider.remove();
      }),
      (e.prototype.next = function () {
        this.currentIndex + 1 >= this.numSlides ||
          this.move(this.currentIndex + 1);
      }),
      (e.prototype.previous = function () {
        this.move(this.currentIndex - 1);
      }),
      (e.prototype.first = function () {
        this.move(0);
      }),
      (e.prototype.last = function () {
        this.move(this.numSlides - 1);
      }),
      e
    );
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelScoreBar = (function (s) {
    var a = 0;
    return function (e, t, r, n) {
      var i = this;
      function o(e) {
        return t ? t.replace(":num", e).replace(":total", i.maxScore) : "";
      }
      ((i.maxScore = e),
        (i.score = 0),
        a++,
        (i.STAR_MARKUP =
          '<svg tabindex="-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 63.77 53.87" aria-hidden="true" focusable="false"><title>star</title><filter tabindex="-1" id="h5p-joubelui-score-bar-star-inner-shadow-' +
          a +
          '" x0="-50%" y0="-50%" width="200%" height="200%"><feGaussianBlur in="SourceAlpha" stdDeviation="3" result="blur"></feGaussianBlur><feOffset dy="2" dx="4"></feOffset><feComposite in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowDiff"></feComposite><feFlood flood-color="#ffe95c" flood-opacity="1"></feFlood><feComposite in2="shadowDiff" operator="in"></feComposite><feComposite in2="SourceGraphic" operator="over" result="firstfilter"></feComposite><feGaussianBlur in="firstfilter" stdDeviation="3" result="blur2"></feGaussianBlur><feOffset dy="-2" dx="-4"></feOffset><feComposite in2="firstfilter" operator="arithmetic" k2="-1" k3="1" result="shadowDiff"></feComposite><feFlood flood-color="#ffe95c" flood-opacity="1"></feFlood><feComposite in2="shadowDiff" operator="in"></feComposite><feComposite in2="firstfilter" operator="over"></feComposite></filter><path tabindex="-1" class="h5p-joubelui-score-bar-star-shadow" d="M35.08,43.41V9.16H20.91v0L9.51,10.85,9,10.93C2.8,12.18,0,17,0,21.25a11.22,11.22,0,0,0,3,7.48l8.73,8.53-1.07,6.16Z"/><g tabindex="-1"><path tabindex="-1" class="h5p-joubelui-score-bar-star-border" d="M61.36,22.8,49.72,34.11l2.78,16a2.6,2.6,0,0,1,.05.64c0,.85-.37,1.6-1.33,1.6A2.74,2.74,0,0,1,49.94,52L35.58,44.41,21.22,52a2.93,2.93,0,0,1-1.28.37c-.91,0-1.33-.75-1.33-1.6,0-.21.05-.43.05-.64l2.78-16L9.8,22.8A2.57,2.57,0,0,1,9,21.25c0-1,1-1.33,1.81-1.49l16.07-2.35L34.09,2.83c.27-.59.85-1.33,1.55-1.33s1.28.69,1.55,1.33l7.21,14.57,16.07,2.35c.75.11,1.81.53,1.81,1.49A3.07,3.07,0,0,1,61.36,22.8Z"/><path tabindex="-1" class="h5p-joubelui-score-bar-star-fill" d="M61.36,22.8,49.72,34.11l2.78,16a2.6,2.6,0,0,1,.05.64c0,.85-.37,1.6-1.33,1.6A2.74,2.74,0,0,1,49.94,52L35.58,44.41,21.22,52a2.93,2.93,0,0,1-1.28.37c-.91,0-1.33-.75-1.33-1.6,0-.21.05-.43.05-.64l2.78-16L9.8,22.8A2.57,2.57,0,0,1,9,21.25c0-1,1-1.33,1.81-1.49l16.07-2.35L34.09,2.83c.27-.59.85-1.33,1.55-1.33s1.28.69,1.55,1.33l7.21,14.57,16.07,2.35c.75.11,1.81.53,1.81,1.49A3.07,3.07,0,0,1,61.36,22.8Z"/><path tabindex="-1" filter="url(#h5p-joubelui-score-bar-star-inner-shadow-' +
          a +
          ')" class="h5p-joubelui-score-bar-star-fill-full-score" d="M61.36,22.8,49.72,34.11l2.78,16a2.6,2.6,0,0,1,.05.64c0,.85-.37,1.6-1.33,1.6A2.74,2.74,0,0,1,49.94,52L35.58,44.41,21.22,52a2.93,2.93,0,0,1-1.28.37c-.91,0-1.33-.75-1.33-1.6,0-.21.05-.43.05-.64l2.78-16L9.8,22.8A2.57,2.57,0,0,1,9,21.25c0-1,1-1.33,1.81-1.49l16.07-2.35L34.09,2.83c.27-.59.85-1.33,1.55-1.33s1.28.69,1.55,1.33l7.21,14.57,16.07,2.35c.75.11,1.81.53,1.81,1.49A3.07,3.07,0,0,1,61.36,22.8Z"/></g></svg>'),
        (i.appendTo = function (e) {
          i.$scoreBar.appendTo(e);
        }),
        (i.setScore = function (e) {
          e !== i.score &&
            ((i.score = e > i.maxScore ? i.maxScore : e), i.updateVisuals());
        }),
        (i.incrementScore = function (e) {
          i.setScore(i.score + (e || 1));
        }),
        (i.setMaxScore = function (e) {
          i.maxScore = e;
        }),
        (i.updateVisuals = function () {
          (i.$progress.html(o(i.score)),
            i.$scoreCounter.text(i.score),
            i.$maxScore.text(i.maxScore),
            setTimeout(function () {
              (i.$progress.css({ width: (i.score / i.maxScore) * 100 + "%" }),
                H5P.Transition.onTransitionEnd(
                  i.$progress,
                  function () {
                    (i.$scoreBar.toggleClass(
                      "h5p-joubelui-score-bar-full-score",
                      i.score === i.maxScore,
                    ),
                      i.$scoreBar.toggleClass(
                        "h5p-joubelui-score-bar-animation-active",
                        i.score === i.maxScore,
                      ),
                      i.$scoreBar.one("animationend", function () {
                        i.$scoreBar.removeClass(
                          "h5p-joubelui-score-bar-animation-active",
                        );
                      }));
                  },
                  600,
                ));
            }, 300));
        }),
        (i.reset = function () {
          i.$scoreBar.removeClass("h5p-joubelui-score-bar-full-score");
        }),
        (function () {
          i.$scoreBar = s("<div>", { class: "h5p-joubelui-score-bar" });
          var e = s("<div>", {
            class: "h5p-joubelui-score-bar-visuals",
            appendTo: i.$scoreBar,
          });
          ((i.$progressWrapper = s("<div>", {
            class: "h5p-joubelui-score-bar-progress-wrapper",
            appendTo: e,
          })),
            (i.$progress = s("<div>", {
              class: "h5p-joubelui-score-bar-progress",
              html: o(i.score),
              appendTo: i.$progressWrapper,
            })),
            s("<div>", {
              class: "h5p-joubelui-score-bar-star",
              html: i.STAR_MARKUP,
            }).appendTo(e));
          e = s("<div>", {
            class: "h5p-joubelui-score-numeric",
            appendTo: i.$scoreBar,
            "aria-hidden": !0,
          });
          ((i.$scoreCounter = s("<span>", {
            class:
              "h5p-joubelui-score-number h5p-joubelui-score-number-counter",
            text: 0,
            appendTo: e,
          })),
            s("<span>", {
              class: "h5p-joubelui-score-number-separator",
              text: "/",
              appendTo: e,
            }),
            (i.$maxScore = s("<span>", {
              class: "h5p-joubelui-score-number h5p-joubelui-score-max",
              text: i.maxScore,
              appendTo: e,
            })),
            r &&
              (H5P.JoubelUI.createTip(r, {
                tipLabel: n || r,
                helpIcon: !0,
              }).appendTo(i.$scoreBar),
              i.$scoreBar.addClass("h5p-score-bar-has-help")));
        })());
    };
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelProgressbar = (function (r) {
    function e(e, t) {
      H5P.EventDispatcher.call(this);
      ((this.options = r.extend({ progressText: "Slide :num of :total" }, t)),
        (this.currentStep = 0),
        (this.steps = e),
        (this.$progressbar = r("<div>", { class: "h5p-joubelui-progressbar" })),
        (this.$background = r("<div>", {
          class: "h5p-joubelui-progressbar-background",
        }).appendTo(this.$progressbar)));
    }
    return (
      (((e.prototype = Object.create(
        H5P.EventDispatcher.prototype,
      )).constructor = e).prototype.updateAria = function () {
        var e;
        this.options.disableAria ||
          (this.$currentStatus ||
            (this.$currentStatus = r("<div>", {
              class: "h5p-joubelui-progressbar-slide-status-text",
              "aria-live": "assertive",
            }).appendTo(this.$progressbar)),
          (e = this.options.progressText
            .replace(":num", this.currentStep)
            .replace(":total", this.steps)),
          this.$currentStatus.html(e));
      }),
      (e.prototype.appendTo = function (e) {
        this.$progressbar.appendTo(e);
      }),
      (e.prototype.setProgress = function (e) {
        e > this.steps ||
          e < 0 ||
          ((this.currentStep = e),
          this.$background.css({
            width: (this.currentStep / this.steps) * 100 + "%",
          }),
          this.updateAria());
      }),
      (e.prototype.next = function () {
        this.setProgress(this.currentStep + 1);
      }),
      (e.prototype.reset = function () {
        this.setProgress(0);
      }),
      (e.prototype.isLastStep = function () {
        return this.steps === this.currentStep;
      }),
      e
    );
  })(H5P.jQuery)),
  ((H5P = H5P || {}).JoubelUI = (function (r) {
    function e() {}
    var t;
    return (
      (e.createTip = function (e, t) {
        return new H5P.JoubelTip(e, t);
      }),
      (e.createMessageDialog = function (e, t) {
        return new H5P.JoubelMessageDialog(e, t);
      }),
      (e.createHelpTextDialog = function (e, t, r) {
        return new H5P.JoubelHelpTextDialog(e, t, r);
      }),
      (e.createProgressCircle = function (e, t, r, n) {
        return new H5P.JoubelProgressCircle(e, t, r, n);
      }),
      (e.createThrobber = function () {
        return new H5P.JoubelThrobber();
      }),
      (e.createSimpleRoundedButton = function (e) {
        return new H5P.SimpleRoundedButton(e);
      }),
      (e.createSlider = function (e) {
        return new H5P.JoubelSlider(e);
      }),
      (e.createScoreBar = function (e, t, r, n) {
        return new H5P.JoubelScoreBar(e, t, r, n);
      }),
      (e.createProgressbar = function (e, t) {
        return new H5P.JoubelProgressbar(e, t);
      }),
      (e.createButton = function (e) {
        var t = "button";
        return (
          e.href ? (t = "a") : (e.type = "button"),
          e.class
            ? (e.class += " h5p-joubelui-button")
            : (e.class = "h5p-joubelui-button"),
          r("<" + t + "/>", e)
        );
      }),
      H5P.isFramed &&
        !H5P.hasiOSiframeScrollFix &&
        /iPad|iPhone|iPod/.test(navigator.userAgent) &&
        ((H5P.hasiOSiframeScrollFix = !0),
        (t = HTMLElement.prototype.focus),
        (HTMLElement.prototype.focus = function () {
          (this instanceof HTMLAnchorElement ||
            this instanceof HTMLInputElement ||
            this instanceof HTMLSelectElement ||
            this instanceof HTMLTextAreaElement ||
            this instanceof HTMLButtonElement ||
            this instanceof HTMLIFrameElement ||
            this instanceof HTMLAreaElement) &&
            !this.getAttribute("role") &&
            t.call(this);
        })),
      e
    );
  })(H5P.jQuery)),
  /*!@license H5P.CoursePresentation-1.25/dist/h5p-course-presentation.js by Joubel licensed under MIT*/ (() => {
    var r = {
        46: (e) => {
          e.exports = function (e, t) {
            ((this.index = e), (this.parent = t));
          };
        },
        575: (e, t, r) => {
          const s = r(46),
            a = H5P.EventDispatcher;
          function n(n, t) {
            const i = this;
            (a.call(i), (i.children = []));
            function o(t) {
              for (let e = t; e < i.children.length; e++)
                i.children[e].index = e;
            }
            if (
              ((i.addChild = function (e, t) {
                void 0 === t && (t = i.children.length);
                var r = new s(t, i);
                return (
                  t === i.children.length
                    ? i.children.push(r)
                    : (i.children.splice(t, 0, r), o(t)),
                  n.call(r, e),
                  r
                );
              }),
              (i.removeChild = function (e) {
                (i.children.splice(e, 1), o(e));
              }),
              (i.moveChild = function (e, t) {
                var r = i.children.splice(e, 1)[0];
                (i.children.splice(t, 0, r), o(t < e ? t : e));
              }),
              t)
            )
              for (let e = 0; e < t.length; e++) i.addChild(t[e]);
          }
          ((n.prototype = Object.create(a.prototype)),
            (e.exports = n.prototype.constructor = n));
        },
      },
      n = {};
    function se(e) {
      var t = n[e];
      if (void 0 !== t) return t.exports;
      t = n[e] = { exports: {} };
      return (r[e](t, t.exports, se), t.exports);
    }
    ((se.n = (e) => {
      var t = e && e.__esModule ? () => e.default : () => e;
      return (se.d(t, { a: t }), t);
    }),
      (se.d = (e, t) => {
        for (var r in t)
          se.o(t, r) &&
            !se.o(e, r) &&
            Object.defineProperty(e, r, { enumerable: !0, get: t[r] });
      }),
      (se.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
      (() => {
        "use strict";
        function n(e) {
          return e.concat.apply([], e);
        }
        function c(e) {
          return "function" == typeof e;
        }
        function o(e, t) {
          return -1 !== e.indexOf(t);
        }
        function i(e, t) {
          return void 0 !== e ? e : t;
        }
        function y(e, t, r) {
          (e.click(function (e) {
            t.call(r || this, e);
          }),
            e.keydown(function (e) {
              o([13, 32], e.which) &&
                (e.preventDefault(), t.call(r || this, e));
            }));
        }
        var l,
          a,
          e = se(575),
          s = se.n(e),
          b = H5P.jQuery,
          u = H5P.EventDispatcher,
          h = H5P.JoubelUI,
          r = null !== navigator.userAgent.match(/iPad/i),
          p = null !== navigator.userAgent.match(/iPad|iPod|iPhone/i),
          d = b("<div>");
        const f =
          ((t.prototype.updateSummarySlide = function (e, t) {
            var r,
              n,
              i,
              o,
              s = this,
              a =
                void 0 === this.cp.editor &&
                void 0 !== this.$summarySlide &&
                e >= this.cp.slides.length - 1,
              e = !this.cp.showSummarySlide && this.cp.hasAnswerElements;
            a &&
              (s.cp.presentation.keywordListEnabled &&
                s.cp.presentation.keywordListAlwaysShow &&
                s.cp.hideKeywords(),
              this.$summarySlide.children().remove(),
              (a = s.cp.getSlideScores(t)),
              (t = s.outputScoreStats(a)),
              b(t).appendTo(s.$summarySlide),
              e ||
                ((r = s.totalScores(a)),
                isNaN(r.totalPercentage) ||
                  ((a = h.createScoreBar(r.totalMaxScore, "", "", "")).setScore(
                    r.totalScore,
                  ),
                  (n = b(".h5p-summary-total-score", s.$summarySlide)),
                  a.appendTo(n),
                  setTimeout(function () {
                    n.append(
                      b("<div/>", {
                        "aria-live": "polite",
                        class: "hidden-but-read",
                        html:
                          s.cp.l10n.summary +
                          ". " +
                          s.cp.l10n.accessibilityTotalScore
                            .replace("@score", r.totalScore)
                            .replace("@maxScore", r.totalMaxScore),
                      }),
                    );
                  }, 100)),
                1 == s.cp.enableTwitterShare &&
                  ((i = b(".h5p-summary-twitter-message", s.$summarySlide)),
                  this.addTwitterScoreLinkTo(i, r)),
                1 == s.cp.enableFacebookShare &&
                  ((i = b(".h5p-summary-facebook-message", s.$summarySlide)),
                  this.addFacebookScoreLinkTo(i, r)),
                1 == s.cp.enableGoogleShare &&
                  ((o = b(".h5p-summary-google-message", s.$summarySlide)),
                  this.addGoogleScoreLinkTo(o)),
                s.$summarySlide
                  .find(".h5p-td > .h5p-slide-link")
                  .each(function () {
                    var t = b(this);
                    t.click(function (e) {
                      (s.cp.jumpToSlide(parseInt(t.data("slide"), 10) - 1),
                        e.preventDefault());
                    });
                  })),
              (o = b(".h5p-summary-footer", s.$summarySlide)),
              this.cp.showSummarySlideSolutionButton &&
                h.createButton({
                  class: "h5p-show-solutions",
                  html: s.cp.l10n.showSolutions,
                  on: {
                    click: function () {
                      s.toggleSolutionMode(!0);
                    },
                  },
                  appendTo: o,
                }),
              this.cp.showSummarySlideRetryButton &&
                h.createButton({
                  class: "h5p-cp-retry-button",
                  html: s.cp.l10n.retry,
                  on: {
                    click: function () {
                      s.cp.resetTask();
                    },
                  },
                  appendTo: o,
                }),
              s.cp.hasAnswerElements &&
                h.createButton({
                  class: "h5p-eta-export",
                  html: s.cp.l10n.exportAnswers,
                  on: {
                    click: function () {
                      H5P.ExportableTextArea.Exporter.run(
                        s.cp.slides,
                        s.cp.elementInstances,
                      );
                    },
                  },
                  appendTo: o,
                }));
          }),
          (t.prototype.outputScoreStats = function (e) {
            if (void 0 === e)
              return (
                this.$summarySlide.addClass("h5p-summary-only-export"),
                '<div class="h5p-summary-footer"></div>'
              );
            for (
              var t = this, r = 0, n = 0, i = "", o = 0, s = "", a = 0;
              a < e.length;
              a += 1
            )
              ((s = this.getSlideDescription(e[a])),
                (o = Math.round((e[a].score / e[a].maxScore) * 100)),
                isNaN(o) && (o = 0),
                (i +=
                  '<tr><td class="h5p-td h5p-summary-task-title"><a href="#" class="h5p-slide-link"  aria-label=" ' +
                  t.cp.l10n.slide +
                  " " +
                  e[a].slide +
                  ": " +
                  s.replace(/(<([^>]+)>)/gi, "") +
                  " " +
                  o +
                  '%" data-slide="' +
                  e[a].slide +
                  '">' +
                  t.cp.l10n.slide +
                  " " +
                  e[a].slide +
                  ": " +
                  s.replace(/(<([^>]+)>)/gi, "") +
                  '</a></td><td class="h5p-td h5p-summary-score-bar"><p class="hidden-but-read">' +
                  o +
                  "%</p><p>" +
                  e[a].score +
                  "<span>/</span>" +
                  e[a].maxScore +
                  "</p></td></tr>"),
                (r += e[a].score),
                (n += e[a].maxScore));
            this.cp.isSolutionMode || t.cp.triggerXAPICompleted(r, n);
            var c =
                t.cp.enableTwitterShare ||
                t.cp.enableFacebookShare ||
                t.cp.enableGoogleShare
                  ? '<span class="h5p-show-results-text">' +
                    t.cp.l10n.shareResult +
                    "</span>"
                  : "",
              l =
                1 == t.cp.enableTwitterShare
                  ? '<span class="h5p-summary-twitter-message" aria-label="' +
                    t.cp.l10n.shareTwitter +
                    '"></span>'
                  : "",
              u =
                1 == t.cp.enableFacebookShare
                  ? '<span class="h5p-summary-facebook-message" aria-label="' +
                    t.cp.l10n.shareFacebook +
                    '"></span>'
                  : "",
              h =
                1 == t.cp.enableGoogleShare
                  ? '<span class="h5p-summary-google-message" aria-label="' +
                    t.cp.l10n.shareGoogle +
                    '"></span>'
                  : "";
            return (
              '<div class="h5p-summary-table-holder"><div class="h5p-summary-table-pages"><table class="h5p-score-table"><thead><tr><th class="h5p-summary-table-header slide">' +
              t.cp.l10n.slide +
              '</th><th class="h5p-summary-table-header score">' +
              t.cp.l10n.score +
              "<span>/</span>" +
              t.cp.l10n.total.toLowerCase() +
              "</th></tr></thead><tbody>" +
              i +
              '</tbody></table></div><div class="h5p-summary-total-table"><div class="h5p-summary-social">' +
              c +
              u +
              l +
              h +
              '</div><div class="h5p-summary-total-score"><p>' +
              t.cp.l10n.totalScore +
              '</p></div></div></div><div class="h5p-summary-footer"></div>'
            );
          }),
          (t.prototype.getSlideDescription = function (e) {
            var t,
              r,
              n,
              i = this.cp.slides[e.slide - 1].elements;
            return (
              1 < e.indexes.length
                ? (t = this.cp.l10n.summaryMultipleTaskText)
                : void 0 !== i[e.indexes[0]] &&
                  i[0] &&
                  ((i = i[e.indexes[0]].action),
                  "function" ==
                  typeof this.cp.elementInstances[e.slide - 1][e.indexes[0]]
                    .getTitle
                    ? (t =
                        this.cp.elementInstances[e.slide - 1][
                          e.indexes[0]
                        ].getTitle())
                    : void 0 !== i.library &&
                      i.library &&
                      ((r = i.library
                        .split(" ")[0]
                        .split(".")[1]
                        .split(/(?=[A-Z])/)),
                      (n = ""),
                      r.forEach(function (e, t) {
                        (0 !== t && (e = e.toLowerCase()),
                          (n += e),
                          t <= r.length - 1 && (n += " "));
                      }),
                      (t = n))),
              t
            );
          }),
          (t.prototype.addTwitterScoreLinkTo = function (e, t) {
            var r = this,
              n = r.cp.twitterShareStatement || "",
              i = r.cp.twitterShareHashtags || "",
              o = (o = r.cp.twitterShareUrl || "").replace(
                "@currentpageurl",
                window.location.href,
              ),
              n = n
                .replace("@score", t.totalScore)
                .replace("@maxScore", t.totalMaxScore)
                .replace("@percentage", t.totalPercentage + "%")
                .replace("@currentpageurl", window.location.href),
              i = i.trim().replace(" ", "");
            ((n = encodeURIComponent(n)),
              (i = encodeURIComponent(i)),
              (o = encodeURIComponent(o)));
            var s = "https://twitter.com/intent/tweet?";
            ((s += 0 < n.length ? "text=" + n + "&" : ""),
              (s += 0 < o.length ? "url=" + o + "&" : ""),
              (s += 0 < i.length ? "hashtags=" + i : ""));
            var a = window.innerWidth / 2,
              c = window.innerHeight / 2;
            (e.attr("tabindex", "0").attr("role", "button"),
              y(e, function () {
                return (
                  window.open(
                    s,
                    r.cp.l10n.shareTwitter,
                    "width=800,height=300,left=" + a + ",top=" + c,
                  ),
                  !1
                );
              }));
          }),
          (t.prototype.addFacebookScoreLinkTo = function (e, t) {
            var r = this,
              n = r.cp.facebookShareUrl || "",
              i = r.cp.facebookShareQuote || "",
              n = n.replace("@currentpageurl", window.location.href),
              i = i
                .replace("@currentpageurl", window.location.href)
                .replace("@percentage", t.totalPercentage + "%")
                .replace("@score", t.totalScore)
                .replace("@maxScore", t.totalMaxScore);
            ((n = encodeURIComponent(n)), (i = encodeURIComponent(i)));
            var o = "https://www.facebook.com/sharer/sharer.php?";
            ((o += 0 < n.length ? "u=" + n + "&" : ""),
              (o += 0 < i.length ? "quote=" + i : ""));
            var s = window.innerWidth / 2,
              a = window.innerHeight / 2;
            (e.attr("tabindex", "0").attr("role", "button"),
              y(e, function () {
                return (
                  window.open(
                    o,
                    r.cp.l10n.shareFacebook,
                    "width=800,height=300,left=" + s + ",top=" + a,
                  ),
                  !1
                );
              }));
          }),
          (t.prototype.addGoogleScoreLinkTo = function (e) {
            var t = this,
              r = (r = t.cp.googleShareUrl || "").replace(
                "@currentpageurl",
                window.location.href,
              );
            r = encodeURIComponent(r);
            var n = "https://plus.google.com/share?";
            n += 0 < r.length ? "url=" + r : "";
            var i = window.innerWidth / 2,
              o = window.innerHeight / 2;
            (e.attr("tabindex", "0").attr("role", "button"),
              y(e, function () {
                return (
                  window.open(
                    n,
                    t.cp.l10n.shareGoogle,
                    "width=401,height=437,left=" + i + ",top=" + o,
                  ),
                  !1
                );
              }));
          }),
          (t.prototype.totalScores = function (e) {
            if (void 0 === e)
              return { totalScore: 0, totalMaxScore: 0, totalPercentage: 0 };
            for (var t = 0, r = 0, n = 0; n < e.length; n += 1)
              ((t += e[n].score), (r += e[n].maxScore));
            var i = Math.round((t / r) * 100);
            return {
              totalScore: t,
              totalMaxScore: r,
              totalPercentage: (i = isNaN(i) ? 0 : i),
            };
          }),
          (t.prototype.toggleSolutionMode = function (e) {
            (this.cp.isSolutionMode = e)
              ? ((e = this.cp.showSolutions()),
                this.cp.setProgressBarFeedback(e),
                this.cp.$footer.addClass("h5p-footer-solution-mode"),
                this.setFooterSolutionModeText(this.cp.l10n.solutionModeText))
              : (this.cp.$footer.removeClass("h5p-footer-solution-mode"),
                this.setFooterSolutionModeText(),
                this.cp.setProgressBarFeedback());
          }),
          (t.prototype.setFooterSolutionModeText = function (e) {
            void 0 !== e && e
              ? this.cp.$exitSolutionModeText.html(e)
              : this.cp.$exitSolutionModeText &&
                this.cp.$exitSolutionModeText.html("");
          }),
          t);
        function t(e, t) {
          ((this.$summarySlide = t), (this.cp = e));
        }
        function m() {}
        function g(e) {
          const n = e.length;
          return function t() {
            const r = Array.prototype.slice.call(arguments, 0);
            return r.length >= n
              ? e.apply(null, r)
              : function () {
                  var e = Array.prototype.slice.call(arguments, 0);
                  return t.apply(null, r.concat(e));
                };
          };
        }
        const v =
            ((l = H5P.jQuery),
            (a = 0),
            (m.supported = function () {
              return "function" == typeof window.print;
            }),
            (m.print = function (e, t, r) {
              e.trigger("printing", { finished: !1, allSlides: r });
              var n = l(".h5p-slide.h5p-current"),
                i = n.height(),
                o = n.width() / 670,
                s = l(".h5p-slide");
              s.css({
                height: i / o + "px",
                width: "670px",
                fontSize: Math.floor(100 / o) + "%",
              });
              var a = t.height();
              (t.css("height", "auto"),
                s.toggleClass("doprint", !0 === r),
                n.addClass("doprint"),
                setTimeout(function () {
                  (window.print(),
                    s.css({ height: "", width: "", fontSize: "" }),
                    t.css("height", a + "px"),
                    e.trigger("printing", { finished: !0 }));
                }, 500));
            }),
            (m.showDialog = function (e, t, r) {
              var n = this,
                i = a++,
                o = "h5p-cp-print-dialog-".concat(i, "-title"),
                i = "h5p-cp-print-dialog-".concat(i, "-ingress"),
                s = l(
                  '<div class="h5p-popup-dialog h5p-print-dialog">\n                      <div role="dialog" aria-labelledby="'
                    .concat(o, '" aria-describedby="')
                    .concat(
                      i,
                      '" tabindex="-1" class="h5p-inner">\n                        <h2 id="',
                    )
                    .concat(o, '">')
                    .concat(
                      e.printTitle,
                      '</h2>\n                        <div class="h5p-scroll-content"></div>\n                        <div class="h5p-close" role="button" tabindex="0" title="',
                    )
                    .concat(
                      H5P.t("close"),
                      '">\n                      </div>\n                    </div>',
                    ),
                )
                  .insertAfter(t)
                  .click(function () {
                    n.close();
                  })
                  .children(".h5p-inner")
                  .click(function () {
                    return !1;
                  })
                  .end();
              y(s.find(".h5p-close"), function () {
                return n.close();
              });
              t = s.find(".h5p-scroll-content");
              return (
                t.append(
                  l("<div>", {
                    class: "h5p-cp-print-ingress",
                    id: i,
                    html: e.printIngress,
                  }),
                ),
                H5P.JoubelUI.createButton({
                  html: e.printAllSlides,
                  class: "h5p-cp-print-all-slides",
                  click: function () {
                    (n.close(), r(!0));
                  },
                }).appendTo(t),
                H5P.JoubelUI.createButton({
                  html: e.printCurrentSlide,
                  class: "h5p-cp-print-current-slide",
                  click: function () {
                    (n.close(), r(!1));
                  },
                }).appendTo(t),
                (this.open = function () {
                  setTimeout(function () {
                    (s.addClass("h5p-open"),
                      H5P.jQuery(n).trigger("dialog-opened", [s]));
                  }, 1);
                }),
                (this.close = function () {
                  (s.removeClass("h5p-open"),
                    setTimeout(function () {
                      s.remove();
                    }, 200));
                }),
                this.open(),
                s
              );
            }),
            m),
          w = g(function (e, t) {
            t.forEach(e);
          }),
          x =
            (g(function (e, t) {
              return t.map(e);
            }),
            g(function (e, t) {
              return t.filter(e);
            })),
          S =
            (g(function (e, t) {
              return t.some(e);
            }),
            g(function (e, t) {
              return -1 != t.indexOf(e);
            })),
          E = g(function (t, e) {
            return x((e) => !S(e, t), e);
          }),
          T = g((e, t) => t.getAttribute(e)),
          C = g((e, t, r) => r.setAttribute(e, t)),
          P = g((e, t) => t.removeAttribute(e)),
          k = g((e, t) => t.hasAttribute(e)),
          A =
            (g((e, t, r) => r.getAttribute(e) === t),
            g((e, t) => {
              var r = T(e, t);
              C(e, ("true" !== r).toString(), t);
            }),
            g((e, t) => e.appendChild(t)),
            g((e, t) => t.querySelector(e)),
            g((e, t) => {
              return (
                (e = t.querySelectorAll(e)),
                Array.prototype.slice.call(e)
              );
            }),
            g((e, t) => e.removeChild(t)),
            g((e, t) => t.classList.contains(e)),
            g((e, t) => t.classList.add(e))),
          _ = g((e, t) => t.classList.remove(e)),
          I = A("hidden"),
          O = _("hidden"),
          L =
            (g((e, t) => (e ? O : I)(t)),
            g((e, t, r) => {
              r.classList[t ? "add" : "remove"](e);
            }),
            P("tabindex")),
          H = (w(L), C("tabindex", "0")),
          N = C("tabindex", "-1"),
          R = k("tabindex");
        class D {
          constructor(e) {
            (Object.assign(this, {
              listeners: {},
              on: function (e, t, r) {
                r = { listener: t, scope: r };
                return (
                  (this.listeners[e] = this.listeners[e] || []),
                  this.listeners[e].push(r),
                  this
                );
              },
              fire: function (e, t) {
                return (this.listeners[e] || []).every(function (e) {
                  return !1 !== e.listener.call(e.scope || this, t);
                });
              },
              propagate: function (e, r) {
                let n = this;
                e.forEach((t) => r.on(t, (e) => n.fire(t, e)));
              },
            }),
              (this.plugins = e || []),
              (this.elements = []),
              (this.negativeTabIndexAllowed = !1),
              this.on("nextElement", this.nextElement, this),
              this.on("previousElement", this.previousElement, this),
              this.on("firstElement", this.firstElement, this),
              this.on("lastElement", this.lastElement, this),
              this.initPlugins());
          }
          addElement(e) {
            (this.elements.push(e),
              this.firesEvent("addElement", e),
              1 === this.elements.length && this.setTabbable(e));
          }
          insertElementAt(e, t) {
            (this.elements.splice(t, 0, e),
              this.firesEvent("addElement", e),
              1 === this.elements.length && this.setTabbable(e));
          }
          removeElement(e) {
            ((this.elements = E([e], this.elements)),
              R(e) &&
                (this.setUntabbable(e),
                this.elements[0] && this.setTabbable(this.elements[0])),
              this.firesEvent("removeElement", e));
          }
          count() {
            return this.elements.length;
          }
          firesEvent(e, t) {
            var r = this.elements.indexOf(t);
            return this.fire(e, {
              element: t,
              index: r,
              elements: this.elements,
              oldElement: this.tabbableElement,
            });
          }
          nextElement({ index: e }) {
            const t = e === this.elements.length - 1,
              r = this.elements[t ? 0 : e + 1];
            (this.setTabbable(r), r.focus());
          }
          firstElement() {
            const e = this.elements[0];
            (this.setTabbable(e), e.focus());
          }
          lastElement() {
            const e = this.elements[this.elements.length - 1];
            (this.setTabbable(e), e.focus());
          }
          setTabbableByIndex(e) {
            e = this.elements[e];
            e && this.setTabbable(e);
          }
          setTabbable(e) {
            (w(this.setUntabbable.bind(this), this.elements),
              H(e),
              (this.tabbableElement = e));
          }
          setUntabbable(e) {
            e !== document.activeElement &&
              (this.negativeTabIndexAllowed ? N : L)(e);
          }
          previousElement({ index: e }) {
            const t = 0 === e,
              r = this.elements[t ? this.elements.length - 1 : e - 1];
            (this.setTabbable(r), r.focus());
          }
          useNegativeTabIndex() {
            ((this.negativeTabIndexAllowed = !0),
              this.elements.forEach((e) => {
                e.hasAttribute("tabindex") || N(e);
              }));
          }
          initPlugins() {
            this.plugins.forEach(function (e) {
              void 0 !== e.init && e.init(this);
            }, this);
          }
        }
        class B {
          constructor() {
            this.selectability = !0;
          }
          init(e) {
            ((this.boundHandleKeyDown = this.handleKeyDown.bind(this)),
              (this.controls = e),
              this.controls.on("addElement", this.listenForKeyDown, this),
              this.controls.on(
                "removeElement",
                this.removeKeyDownListener,
                this,
              ));
          }
          listenForKeyDown({ element: e }) {
            e.addEventListener("keydown", this.boundHandleKeyDown);
          }
          removeKeyDownListener({ element: e }) {
            e.removeEventListener("keydown", this.boundHandleKeyDown);
          }
          handleKeyDown(e) {
            switch (e.which) {
              case 27:
                (this.close(e.target), e.preventDefault(), e.stopPropagation());
                break;
              case 35:
                (this.lastElement(e.target),
                  e.preventDefault(),
                  e.stopPropagation());
                break;
              case 36:
                (this.firstElement(e.target),
                  e.preventDefault(),
                  e.stopPropagation());
                break;
              case 13:
              case 32:
                (this.select(e.target),
                  e.preventDefault(),
                  e.stopPropagation());
                break;
              case 37:
              case 38:
                this.hasChromevoxModifiers(e) ||
                  (this.previousElement(e.target),
                  e.preventDefault(),
                  e.stopPropagation());
                break;
              case 39:
              case 40:
                this.hasChromevoxModifiers(e) ||
                  (this.nextElement(e.target),
                  e.preventDefault(),
                  e.stopPropagation());
            }
          }
          hasChromevoxModifiers(e) {
            return e.shiftKey || e.ctrlKey;
          }
          previousElement(e) {
            !1 !== this.controls.firesEvent("beforePreviousElement", e) &&
              (this.controls.firesEvent("previousElement", e),
              this.controls.firesEvent("afterPreviousElement", e));
          }
          nextElement(e) {
            !1 !== this.controls.firesEvent("beforeNextElement", e) &&
              (this.controls.firesEvent("nextElement", e),
              this.controls.firesEvent("afterNextElement", e));
          }
          select(e) {
            this.selectability &&
              !1 !== this.controls.firesEvent("before-select", e) &&
              (this.controls.firesEvent("select", e),
              this.controls.firesEvent("after-select", e));
          }
          firstElement(e) {
            !1 !== this.controls.firesEvent("beforeFirstElement", e) &&
              (this.controls.firesEvent("firstElement", e),
              this.controls.firesEvent("afterFirstElement", e));
          }
          lastElement(e) {
            !1 !== this.controls.firesEvent("beforeLastElement", e) &&
              (this.controls.firesEvent("lastElement", e),
              this.controls.firesEvent("afterLastElement", e));
          }
          disableSelectability() {
            this.selectability = !1;
          }
          enableSelectability() {
            this.selectability = !0;
          }
          close(e) {
            !1 !== this.controls.firesEvent("before-close", e) &&
              (this.controls.firesEvent("close", e),
              this.controls.firesEvent("after-close", e));
          }
        }
        function F(e, t, r) {
          return (
            t in e
              ? Object.defineProperty(e, t, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (e[t] = r),
            e
          );
        }
        var M,
          j = "not-answered",
          U = "answered",
          z = "has-only-correct",
          W = "has-incorrect";
        function $(e) {
          ((this.cp = e),
            (this.answeredLabels =
              (F((e = {}), j, this.cp.l10n.containsNotCompleted + "."),
              F(e, U, this.cp.l10n.containsCompleted + "."),
              F(e, z, this.cp.l10n.containsOnlyCorrect + "."),
              F(e, W, this.cp.l10n.containsIncorrectAnswers + "."),
              F(e, "none", ""),
              e)),
            this.initProgressbar(this.cp.slidesWithSolutions),
            this.initFooter(),
            this.initTaskAnsweredListener(),
            this.toggleNextAndPreviousButtonDisabled(
              this.cp.getCurrentSlideIndex(),
            ));
        }
        const K =
          ((M = H5P.jQuery),
          ($.prototype.initTaskAnsweredListener = function () {
            var i = this;
            this.cp.elementInstances.forEach(function (e, n) {
              e.filter(function (e) {
                return c(e.on);
              }).forEach(function (e) {
                e.on("xAPI", function (e) {
                  var t,
                    r = e.getVerb();
                  (o(["interacted", "answered", "attempted"], r)
                    ? ((t = i.cp.slideHasAnsweredTask(n)),
                      i.setTaskAnswered(n, t))
                    : "completed" === r && e.setVerb("answered"),
                    void 0 === e.data.statement.context.extensions &&
                      (e.data.statement.context.extensions = {}),
                    (e.data.statement.context.extensions[
                      "http://id.tincanapi.com/extension/ending-point"
                    ] = n + 1));
                });
              });
            });
          }),
          ($.prototype.initProgressbar = function (e) {
            var t = this,
              r = (t.cp.previousState && t.cp.previousState.progress) || 0;
            ((this.progresbarKeyboardControls = new D([new B()])),
              (this.progresbarKeyboardControls.negativeTabIndexAllowed = !0),
              this.progresbarKeyboardControls.on("select", function (e) {
                t.displaySlide(M(e.element).data("slideNumber"));
              }),
              this.progresbarKeyboardControls.on(
                "beforeNextElement",
                function (e) {
                  return e.index !== e.elements.length - 1;
                },
              ),
              this.progresbarKeyboardControls.on(
                "beforePreviousElement",
                function (e) {
                  return 0 !== e.index;
                },
              ),
              void 0 !== this.cp.progressbarParts &&
                this.cp.progressbarParts &&
                this.cp.progressbarParts.forEach(function (e) {
                  (t.progresbarKeyboardControls.removeElement(
                    e.children("a").get(0),
                  ),
                    e.remove());
                }),
              (t.cp.progressbarParts = []));
            for (
              var n = function (e) {
                  e.preventDefault();
                  e = M(this).data("slideNumber");
                  (t.progresbarKeyboardControls.setTabbableByIndex(e),
                    t.displaySlide(e),
                    t.cp.focus());
                },
                i = 0;
              i < this.cp.slides.length;
              i += 1
            ) {
              var o = this.cp.slides[i],
                s = this.createSlideTitle(i),
                a = M("<div>", {
                  class: "h5p-progressbar-part",
                  id: "progressbar-part-" + i,
                  role: "tab",
                  "aria-label": s,
                  "aria-controls": "slide-" + i,
                  "aria-selected": !1,
                }).appendTo(t.cp.$progressbar),
                s = M("<a>", {
                  href: "#",
                  html:
                    '<span class="h5p-progressbar-part-title hidden-but-read">' +
                    s +
                    "</span>",
                  tabindex: "-1",
                })
                  .data("slideNumber", i)
                  .click(n)
                  .appendTo(a);
              (this.progresbarKeyboardControls.addElement(s.get(0)),
                this.isSummarySlide(i) &&
                  a.addClass("progressbar-part-summary-slide"),
                p || H5P.Tooltip(a.get(0), { position: "top" }),
                0 === i && a.addClass("h5p-progressbar-part-show"),
                i === r &&
                  a
                    .addClass("h5p-progressbar-part-selected")
                    .attr("aria-selected", !0),
                t.cp.progressbarParts.push(a),
                this.updateSlideTitle(i),
                this.cp.slides.length <= 60 &&
                  o.elements &&
                  0 < o.elements.length &&
                  ((a = e[i] && 0 < e[i].length),
                  (o = !!(
                    t.cp.previousState &&
                    t.cp.previousState.answered &&
                    t.cp.previousState.answered[i]
                  )),
                  a &&
                    (M("<div>", {
                      class: "h5p-progressbar-part-has-task",
                    }).appendTo(s),
                    this.setTaskAnswered(i, o))));
            }
          }),
          ($.prototype.displaySlide = function (t) {
            var r = this;
            this.cp.jumpToSlide(t, !1, function () {
              var e = r.cp.getCurrentSlideIndex();
              (r.updateSlideTitle(t, { isCurrent: !0 }),
                r.updateSlideTitle(e, { isCurrent: !1 }),
                r.toggleNextAndPreviousButtonDisabled(t));
            });
          }),
          ($.prototype.createSlideTitle = function (e) {
            var t = this.cp.slides[e];
            return t.keywords && 0 < t.keywords.length
              ? t.keywords[0].main
              : this.isSummarySlide(e)
                ? this.cp.l10n.summary
                : this.cp.l10n.slide + " " + (e + 1);
          }),
          ($.prototype.isSummarySlide = function (e) {
            return !(
              void 0 !== this.cp.editor ||
              e !== this.cp.slides.length - 1 ||
              !this.cp.showSummarySlide
            );
          }),
          ($.prototype.initFooter = function () {
            var e = this,
              t = this,
              r = this.cp.$footer,
              n = M("<div/>", { class: "h5p-footer-left-adjusted" }).appendTo(
                r,
              ),
              i = M("<div/>", { class: "h5p-footer-center-adjusted" }).appendTo(
                r,
              ),
              r = M("<div/>", {
                role: "toolbar",
                class: "h5p-footer-right-adjusted",
              }).appendTo(r);
            ((this.cp.$keywordsButton = M("<div/>", {
              class: "h5p-footer-button h5p-footer-toggle-keywords",
              "aria-expanded": "false",
              "aria-label": this.cp.l10n.showKeywords,
              role: "button",
              tabindex: "0",
              html: '<span class="h5p-icon-menu"></span><span class="current-slide-title"></span>',
            }).appendTo(n)),
              H5P.Tooltip(this.cp.$keywordsButton.get(0)),
              y(this.cp.$keywordsButton, function (e) {
                t.cp.presentation.keywordListAlwaysShow ||
                  (t.cp.toggleKeywords(), e.stopPropagation());
              }),
              (!this.cp.presentation.keywordListAlwaysShow &&
                this.cp.initKeywords) ||
                this.cp.$keywordsButton.hide(),
              this.cp.presentation.keywordListEnabled ||
                this.cp.$keywordsWrapper.add(this.$keywordsButton).hide(),
              this.updateFooterKeyword(0),
              (this.cp.$prevSlideButton = M("<div/>", {
                class: "h5p-footer-button h5p-footer-previous-slide",
                "aria-label": this.cp.l10n.prevSlide,
                role: "button",
                tabindex: "-1",
                "aria-disabled": "true",
              }).appendTo(i)),
              new H5P.Tooltip(this.cp.$prevSlideButton.get(0), {
                position: "left",
              }),
              y(this.cp.$prevSlideButton, function () {
                return e.cp.previousSlide(void 0, !1);
              }));
            n = M("<div/>", { class: "h5p-footer-slide-count" }).appendTo(i);
            ((this.cp.$footerCurrentSlide = M("<div/>", {
              html: "1",
              class: "h5p-footer-slide-count-current",
              title: this.cp.l10n.currentSlide,
              "aria-hidden": "true",
            }).appendTo(n)),
              (this.cp.$footerCounter = M("<div/>", {
                class: "hidden-but-read",
                html: this.cp.l10n.slideCount
                  .replace("@index", "1")
                  .replace("@total", this.cp.slides.length.toString()),
              }).appendTo(i)),
              M("<div/>", {
                html: "/",
                class: "h5p-footer-slide-count-delimiter",
                "aria-hidden": "true",
              }).appendTo(n),
              (this.cp.$footerMaxSlide = M("<div/>", {
                html: this.cp.slides.length,
                class: "h5p-footer-slide-count-max",
                title: this.cp.l10n.lastSlide,
                "aria-hidden": "true",
              }).appendTo(n)),
              (this.cp.$nextSlideButton = M("<div/>", {
                class: "h5p-footer-button h5p-footer-next-slide",
                "aria-label": this.cp.l10n.nextSlide,
                role: "button",
                tabindex: "0",
              }).appendTo(i)),
              H5P.Tooltip(this.cp.$nextSlideButton.get(0), {
                position: "right",
              }),
              y(this.cp.$nextSlideButton, function () {
                return e.cp.nextSlide(void 0, !1);
              }),
              void 0 === this.cp.editor &&
                ((this.cp.$exitSolutionModeButton = M("<div/>", {
                  role: "button",
                  class: "h5p-footer-exit-solution-mode",
                  "aria-label": this.cp.l10n.solutionModeTitle,
                  tabindex: "0",
                }).appendTo(r)),
                H5P.Tooltip(this.cp.$exitSolutionModeButton.get(0)),
                y(this.cp.$exitSolutionModeButton, function () {
                  return t.cp.jumpToSlide(t.cp.slides.length - 1);
                }),
                this.cp.enablePrintButton &&
                  v.supported() &&
                  ((this.cp.$printButton = M("<div/>", {
                    class: "h5p-footer-button h5p-footer-print",
                    "aria-label": this.cp.l10n.printTitle,
                    role: "button",
                    tabindex: "0",
                  }).appendTo(r)),
                  H5P.Tooltip(this.cp.$printButton.get(0)),
                  y(this.cp.$printButton, function () {
                    return t.openPrintDialog();
                  })),
                H5P.fullscreenSupported &&
                  ((this.cp.$fullScreenButton = M("<div/>", {
                    class: "h5p-footer-button h5p-footer-toggle-full-screen",
                    "aria-label": this.cp.l10n.fullscreen,
                    role: "button",
                    tabindex: "0",
                  })),
                  H5P.Tooltip(this.cp.$fullScreenButton.get(0), {
                    position: "left",
                  }),
                  y(this.cp.$fullScreenButton, function () {
                    return t.cp.toggleFullScreen();
                  }),
                  this.cp.$fullScreenButton.appendTo(r))),
              (this.cp.$exitSolutionModeText = M("<div/>", {
                html: "",
                class: "h5p-footer-exit-solution-mode-text",
              }).appendTo(this.cp.$exitSolutionModeButton)));
          }),
          ($.prototype.openPrintDialog = function () {
            var t = this,
              r = M(".h5p-wrapper");
            v.showDialog(this.cp.l10n, r, function (e) {
              v.print(t.cp, r, e);
            })
              .children('[role="dialog"]')
              .focus();
          }),
          ($.prototype.updateProgressBar = function (e, t, r) {
            for (var n = this, i = 0; i < n.cp.progressbarParts.length; i += 1)
              i < e + 1
                ? n.cp.progressbarParts[i].addClass("h5p-progressbar-part-show")
                : n.cp.progressbarParts[i].removeClass(
                    "h5p-progressbar-part-show",
                  );
            (n.progresbarKeyboardControls.setTabbableByIndex(e),
              n.cp.progressbarParts[e]
                .addClass("h5p-progressbar-part-selected")
                .attr("aria-selected", !0)
                .siblings()
                .removeClass("h5p-progressbar-part-selected")
                .attr("aria-selected", !1),
              void 0 !== t
                ? r || n.cp.editor
                : n.cp.progressbarParts.forEach(function (e, t) {
                    n.setTaskAnswered(t, !1);
                  }));
          }),
          ($.prototype.setTaskAnswered = function (e, t) {
            (this.cp.progressbarParts[e]
              .find(".h5p-progressbar-part-has-task")
              .toggleClass("h5p-answered", t),
              this.updateSlideTitle(e, { state: t ? U : j }));
          }),
          ($.prototype.updateSlideTitle = function (e) {
            var t = (
              1 < arguments.length && void 0 !== arguments[1]
                ? arguments[1]
                : {}
            ).state;
            this.setSlideTitle(e, { state: i(t, this.getAnsweredState(e)) });
          }),
          ($.prototype.setSlideTitle = function (e, t) {
            var r = t.state,
              t = void 0 === r ? "none" : r,
              r = this.cp.progressbarParts[e].find(
                ".h5p-progressbar-part-title",
              ),
              e = this.answeredLabels[t].replace(
                "@slideName",
                this.createSlideTitle(e),
              );
            r.html("".concat(e));
          }),
          ($.prototype.getAnsweredState = function (e) {
            var t = this.cp.progressbarParts[e],
              r = this.slideHasInteraction(e),
              e = this.cp.slideHasAnsweredTask(e);
            return r
              ? 0 < t.find(".h5p-is-correct").length
                ? z
                : 0 < t.find(".h5p-is-wrong").length
                  ? W
                  : e
                    ? U
                    : j
              : "none";
          }),
          ($.prototype.slideHasInteraction = function (e) {
            return (
              0 <
              this.cp.progressbarParts[e].find(".h5p-progressbar-part-has-task")
                .length
            );
          }),
          ($.prototype.updateFooter = function (e) {
            (this.cp.$footerCurrentSlide.html(e + 1),
              this.cp.$footerMaxSlide.html(this.cp.slides.length),
              this.cp.$footerCounter.html(
                this.cp.l10n.slideCount
                  .replace("@index", (e + 1).toString())
                  .replace("@total", this.cp.slides.length.toString()),
              ),
              this.cp.isSolutionMode && e === this.cp.slides.length - 1
                ? this.cp.$footer.addClass("summary-slide")
                : this.cp.$footer.removeClass("summary-slide"),
              this.toggleNextAndPreviousButtonDisabled(e),
              this.updateFooterKeyword(e));
          }),
          ($.prototype.toggleNextAndPreviousButtonDisabled = function (e) {
            var t = this.cp.slides.length - 1;
            (this.cp.$prevSlideButton.attr(
              "aria-disabled",
              (0 === e).toString(),
            ),
              this.cp.$nextSlideButton.attr(
                "aria-disabled",
                (e === t).toString(),
              ),
              this.cp.$prevSlideButton.attr("tabindex", 0 === e ? "-1" : "0"),
              this.cp.$nextSlideButton.attr("tabindex", e === t ? "-1" : "0"));
          }),
          ($.prototype.updateFooterKeyword = function (e) {
            var t = this.cp.slides[e],
              r = "";
            (t && t.keywords && t.keywords[0] && (r = t.keywords[0].main),
              !this.cp.isEditor() &&
                this.cp.showSummarySlide &&
                e >= this.cp.slides.length - 1 &&
                (r = this.cp.l10n.summary),
              this.cp.$keywordsButton
                .children(".current-slide-title")
                .html(i(r, "")));
          }),
          $);
        function G(i) {
          function r(e, t, r) {
            var n = i.$slidesWrapper
              .children()
              .filter(":not(.h5p-summary-slide)");
            (void 0 !== r && (n = n.eq(r)),
              e && "" !== e
                ? n
                    .addClass("has-background")
                    .css("background-image", "")
                    .css("background-color", e)
                : t &&
                  t.path &&
                  n
                    .addClass("has-background")
                    .css("background-color", "")
                    .css(
                      "background-image",
                      "url(" + H5P.getPath(t.path, i.contentId) + ")",
                    ));
          }
          var e = i.presentation,
            t = (e = b.extend(
              !0,
              {
                globalBackgroundSelector: {
                  fillGlobalBackground: "",
                  imageGlobalBackground: {},
                },
                slides: [
                  {
                    slideBackgroundSelector: {
                      fillSlideBackground: "",
                      imageSlideBackground: {},
                    },
                  },
                ],
              },
              e,
            )).globalBackgroundSelector;
          (r(t.fillGlobalBackground, t.imageGlobalBackground),
            e.slides.forEach(function (e, t) {
              e = e.slideBackgroundSelector;
              e && r(e.fillSlideBackground, e.imageSlideBackground, t);
            }));
        }
        function q(e) {
          return parseInt(e.dataset.index);
        }
        var V =
            (((e = Y.prototype).init = function (e) {
              var t = this;
              return (
                (this.menuItemElements = e.map(function (e) {
                  return t.createMenuItemElement(e);
                })),
                this.menuItemElements.forEach(function (e) {
                  return t.menuElement.appendChild(e);
                }),
                this.menuItemElements.forEach(function (e) {
                  return t.controls.addElement(e);
                }),
                this.setCurrentSlideIndex(this.state.currentIndex),
                this.menuItemElements
              );
            }),
            (e.on = function (e, t) {
              this.eventDispatcher.on(e, t);
            }),
            (e.getElement = function () {
              return this.menuElement;
            }),
            (e.removeAllMenuItemElements = function () {
              var t = this;
              (this.menuItemElements.forEach(function (e) {
                (t.controls.removeElement(e), t.menuElement.removeChild(e));
              }),
                (this.menuItemElements = []));
            }),
            (e.createMenuElement = function () {
              var e = (this.menuElement = document.createElement("ol"));
              return (
                e.setAttribute("role", "menu"),
                e.classList.add("list-unstyled"),
                e
              );
            }),
            (e.createMenuItemElement = function (e) {
              var t = this,
                r = document.createElement("li");
              return (
                r.setAttribute("role", "menuitem"),
                r.addEventListener("click", function (e) {
                  t.onMenuItemSelect(q(e.currentTarget));
                }),
                this.applyConfigToMenuItemElement(r, e),
                r
              );
            }),
            (e.applyConfigToMenuItemElement = function (e, t) {
              ((e.innerHTML = '<div class="h5p-keyword-subtitle">'
                .concat(t.subtitle, '</div><span class="h5p-keyword-title">')
                .concat(t.title, "</span>")),
                (e.dataset.index = t.index));
            }),
            (e.onMenuItemSelect = function (e) {
              (this.setCurrentSlideIndex(e),
                this.eventDispatcher.trigger("select", { index: e }));
            }),
            (e.setCurrentSlideIndex = function (e) {
              var t = this.getElementByIndex(this.menuItemElements, e);
              t &&
                ((this.state.currentIndex = e),
                this.updateCurrentlySelected(this.menuItemElements, this.state),
                this.controls.setTabbable(t));
            }),
            (e.updateCurrentlySelected = function (e, r) {
              var n = this;
              e.forEach(function (e) {
                var t = r.currentIndex === q(e);
                (e.classList.toggle("h5p-current", t),
                  t && e.appendChild(n.currentSlideMarkerElement));
              });
            }),
            (e.scrollToKeywords = function (e) {
              var t = this.getFirstElementAfter(e);
              t &&
                ((t =
                  (e = b(this.menuElement)).scrollTop() +
                  b(t).position().top -
                  8),
                r ? e.scrollTop(t) : e.stop().animate({ scrollTop: t }, 250));
            }),
            (e.getFirstElementAfter = function (t) {
              return this.menuItemElements.filter(function (e) {
                return q(e) >= t;
              })[0];
            }),
            (e.getElementByIndex = function (e, t) {
              return e.filter(function (e) {
                return q(e) === t;
              })[0];
            }),
            (e.createCurrentSlideMarkerElement = function () {
              var e = document.createElement("div");
              return (
                e.classList.add("hidden-but-read"),
                (e.innerHTML = this.l10n.currentSlide),
                e
              );
            }),
            Y),
          X =
            (((e = Q.prototype).attach = function (e) {
              e.html("").addClass("h5p-go-to-slide").append(this.$element);
            }),
            (e.on = function (e, t) {
              this.eventDispatcher.on(e, t);
            }),
            Q);
        function Q(e, t) {
          var r = this,
            n = e.title,
            i = e.goToSlide,
            o = void 0 === i ? 1 : i,
            s = e.invisible,
            a = e.goToSlideType,
            i = void 0 === a ? "specified" : a,
            c = t.l10n,
            e = t.currentIndex;
          this.eventDispatcher = new u();
          ((a = "h5p-press-to-go"), (t = 0));
          if (s) ((n = void 0), (t = -1));
          else {
            if (!n)
              switch (i) {
                case "specified":
                  n = c.goToSlide.replace(":num", o.toString());
                  break;
                case "next":
                  n = c.goToSlide.replace(":num", c.nextSlide);
                  break;
                case "previous":
                  n = c.goToSlide.replace(":num", c.prevSlide);
              }
            a += " h5p-visible";
          }
          var l = o - 1;
          ("next" === i ? (l = e + 1) : "previous" === i && (l = e - 1),
            (this.$element = b("<a/>", {
              href: "#",
              class: a,
              tabindex: t,
              title: n,
            })),
            y(this.$element, function (e) {
              (r.eventDispatcher.trigger("navigate", l), e.preventDefault());
            }));
        }
        function Y(e) {
          var t = this,
            r = e.l10n,
            e = e.currentIndex;
          ((this.l10n = r),
            (this.state = { currentIndex: i(e, 0) }),
            (this.eventDispatcher = new u()),
            (this.controls = new D([new B()])),
            this.controls.on("select", function (e) {
              t.onMenuItemSelect(q(e.element));
            }),
            this.controls.on("close", function () {
              return t.eventDispatcher.trigger("close");
            }),
            (this.menuElement = this.createMenuElement()),
            (this.currentSlideMarkerElement =
              this.createCurrentSlideMarkerElement()));
        }
        function Z(e) {
          var t,
            r,
            n = this;
          (void 0 === e.action
            ? ((n.instance = new X(e, {
                l10n: n.parent.parent.l10n,
                currentIndex: n.parent.index,
              })),
              n.parent.parent.isEditor() ||
                n.instance.on("navigate", function (e) {
                  e = e.data;
                  n.parent.parent.jumpToSlide(e);
                }))
            : ((t = n.parent.parent.isEditor()
                ? H5P.jQuery.extend(
                    !0,
                    {},
                    e.action,
                    n.parent.parent.elementsOverride,
                  )
                : H5P.jQuery.extend(
                    !0,
                    e.action,
                    n.parent.parent.elementsOverride,
                  )),
              (r = n.parent.parent.elementInstances[n.parent.index]
                ? n.parent.parent.elementInstances[n.parent.index].length
                : 0),
              n.parent.parent.previousState &&
                n.parent.parent.previousState.answers &&
                n.parent.parent.previousState.answers[n.parent.index] &&
                n.parent.parent.previousState.answers[n.parent.index][r] &&
                (t.userDatas = {
                  state:
                    n.parent.parent.previousState.answers[n.parent.index][r],
                }),
              (t.params = t.params || {}),
              (n.instance = H5P.newRunnable(
                t,
                n.parent.parent.contentId,
                void 0,
                !0,
                { parent: n.parent.parent },
              )),
              void 0 !== n.instance.preventResize &&
                (n.instance.preventResize = !0)),
            void 0 === n.parent.parent.elementInstances[n.parent.index]
              ? (n.parent.parent.elementInstances[n.parent.index] = [
                  n.instance,
                ])
              : n.parent.parent.elementInstances[n.parent.index].push(
                  n.instance,
                ),
            void 0 !== n.instance.showCPComments ||
            n.instance.isTask ||
            (void 0 === n.instance.isTask &&
              void 0 !== n.instance.showSolutions)
              ? ((n.instance.coursePresentationIndexOnSlide =
                  n.parent.parent.elementInstances[n.parent.index].length - 1),
                void 0 ===
                  n.parent.parent.slidesWithSolutions[n.parent.index] &&
                  (n.parent.parent.slidesWithSolutions[n.parent.index] = []),
                n.parent.parent.slidesWithSolutions[n.parent.index].push(
                  n.instance,
                ))
              : e.solution &&
                (void 0 ===
                  n.parent.parent.showCommentsAfterSolution[n.parent.index] &&
                  (n.parent.parent.showCommentsAfterSolution[n.parent.index] =
                    []),
                n.parent.parent.showCommentsAfterSolution[n.parent.index].push(
                  n.instance,
                )),
            void 0 !== n.instance.exportAnswers &&
              n.instance.exportAnswers &&
              (n.parent.parent.hasAnswerElements = !0),
            n.parent.parent.isTask ||
              n.parent.parent.hideSummarySlide ||
              ((n.instance.isTask ||
                (void 0 === n.instance.isTask &&
                  void 0 !== n.instance.showSolutions)) &&
                (n.parent.parent.isTask = !0)));
        }
        function J(t, e) {
          var r,
            n = Object.keys(t);
          return (
            Object.getOwnPropertySymbols &&
              ((r = Object.getOwnPropertySymbols(t)),
              e &&
                (r = r.filter(function (e) {
                  return Object.getOwnPropertyDescriptor(t, e).enumerable;
                })),
              n.push.apply(n, r)),
            n
          );
        }
        function ee(n) {
          for (var e = 1; e < arguments.length; e++) {
            var i = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? J(Object(i), !0).forEach(function (e) {
                  var t, r;
                  ((t = n),
                    (e = i[(r = e)]),
                    r in t
                      ? Object.defineProperty(t, r, {
                          value: e,
                          enumerable: !0,
                          configurable: !0,
                          writable: !0,
                        })
                      : (t[r] = e));
                })
              : Object.getOwnPropertyDescriptors
                ? Object.defineProperties(
                    n,
                    Object.getOwnPropertyDescriptors(i),
                  )
                : J(Object(i)).forEach(function (e) {
                    Object.defineProperty(
                      n,
                      e,
                      Object.getOwnPropertyDescriptor(i, e),
                    );
                  });
          }
          return n;
        }
        function te(t) {
          var r,
            n = this;
          (s().call(n, Z, t.elements),
            (n.getElement = function () {
              return (r =
                r ||
                H5P.jQuery(
                  te.createHTML(ee(ee({}, t), {}, { index: n.index })),
                ));
            }),
            (n.setCurrent = function () {
              this.parent.$current = r.addClass("h5p-current");
            }),
            (n.appendElements = function () {
              for (var e = 0; e < n.children.length; e++)
                n.parent.attachElement(
                  t.elements[e],
                  n.children[e].instance,
                  r,
                  n.index,
                );
              ((n.parent.elementsAttached[n.index] = !0),
                n.parent.trigger(
                  "domChanged",
                  {
                    $target: r,
                    library: "CoursePresentation",
                    key: "newSlide",
                  },
                  { bubbles: !0, external: !0 },
                ));
            }));
        }
        te.createHTML = function (e) {
          return (
            '<div role="tabpanel" id="slide-' +
            e.index +
            '" class="h5p-slide"> <div role="document" tabindex="0" ' +
            (void 0 !== e.background
              ? ' style="background:' + e.background + '"'
              : "") +
            "></div></div>"
          );
        };
        const re = te;
        function ne(e, t) {
          (null == t || t > e.length) && (t = e.length);
          for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
          return n;
        }
        function ie(e) {
          return (ie =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        function oe(e, t, r) {
          var n = this;
          ((this.presentation = e.presentation),
            (this.slides = this.presentation.slides),
            (this.contentId = t),
            (this.elementInstances = []),
            (this.elementsAttached = []),
            (this.slidesWithSolutions = []),
            (this.showCommentsAfterSolution = []),
            (this.hasAnswerElements = !1),
            (this.ignoreResize = !1),
            (this.isTask = !1),
            (this.standalone = !0),
            (this.isReportingEnabled = !1),
            (this.popups = {}),
            r.cpEditor && (this.editor = r.cpEditor),
            r &&
              ((this.previousState = r.previousState),
              (this.standalone = r.standalone),
              (this.isReportingEnabled =
                r.isReportingEnabled || r.isScoringEnabled)),
            (this.currentSlideIndex =
              this.previousState && this.previousState.progress
                ? this.previousState.progress
                : 0),
            (this.presentation.keywordListEnabled =
              void 0 === e.presentation.keywordListEnabled ||
              e.presentation.keywordListEnabled),
            (this.l10n = b.extend(
              {
                slide: "Slide",
                score: "Score",
                yourScore: "Your score",
                maxScore: "Max score",
                total: "Total",
                totalScore: "Total Score",
                showSolutions: "Show solutions",
                summary: "summary",
                retry: "Retry",
                exportAnswers: "Export text",
                close: "Close",
                hideKeywords: "Hide sidebar navigation menu",
                showKeywords: "Show sidebar navigation menu",
                fullscreen: "Fullscreen",
                exitFullscreen: "Exit fullscreen",
                prevSlide: "Previous slide",
                nextSlide: "Next slide",
                currentSlide: "Current slide",
                lastSlide: "Last slide",
                solutionModeTitle: "Exit solution mode",
                solutionModeText: "Solution Mode",
                summaryMultipleTaskText: "Multiple tasks",
                scoreMessage: "You achieved:",
                shareFacebook: "Share on Facebook",
                shareTwitter: "Share on Twitter",
                shareGoogle: "Share on Google+",
                goToSlide: "Go to slide :num",
                solutionsButtonTitle: "Show comments",
                printTitle: "Print",
                printIngress: "How would you like to print this presentation?",
                printAllSlides: "Print all slides",
                printCurrentSlide: "Print current slide",
                noTitle: "No title",
                accessibilitySlideNavigationExplanation:
                  "Use left and right arrow to change slide in that direction whenever canvas is selected.",
                accessibilityProgressBarLabel: "Choose slide to display",
                containsNotCompleted:
                  "@slideName contains not completed interaction",
                containsCompleted: "@slideName contains completed interaction",
                slideCount: "Slide @index of @total",
                accessibilityCanvasLabel:
                  "Presentation canvas. Use left and right arrow to move between slides.",
                containsOnlyCorrect: "@slideName only has correct answers",
                containsIncorrectAnswers: "@slideName has incorrect answers",
                shareResult: "Share Result",
                accessibilityTotalScore:
                  "You got @score of @maxScore points in total",
                accessibilityEnteredFullscreen: "Entered fullscreen",
                accessibilityExitedFullscreen: "Exited fullscreen",
                confirmDialogHeader: "Submit your answers",
                confirmDialogText:
                  "This will submit your results, do you want to continue?",
                confirmDialogConfirmText: "Submit and see results",
                slideshowNavigationLabel: "Slideshow navigation",
              },
              void 0 !== e.l10n ? e.l10n : {},
            )),
            e.override &&
              ((this.activeSurface = !!e.override.activeSurface),
              (this.hideSummarySlide = !!e.override.hideSummarySlide),
              (this.enablePrintButton = !!e.override.enablePrintButton),
              (this.showSummarySlideSolutionButton =
                void 0 === e.override.summarySlideSolutionButton ||
                e.override.summarySlideSolutionButton),
              (this.showSummarySlideRetryButton =
                void 0 === e.override.summarySlideRetryButton ||
                e.override.summarySlideRetryButton),
              e.override.social &&
                ((this.enableTwitterShare =
                  !!e.override.social.showTwitterShare),
                (this.enableFacebookShare =
                  !!e.override.social.showFacebookShare),
                (this.enableGoogleShare = !!e.override.social.showGoogleShare),
                (this.twitterShareStatement =
                  e.override.social.twitterShare.statement),
                (this.twitterShareHashtags =
                  e.override.social.twitterShare.hashtags),
                (this.twitterShareUrl = e.override.social.twitterShare.url),
                (this.facebookShareUrl = e.override.social.facebookShare.url),
                (this.facebookShareQuote =
                  e.override.social.facebookShare.quote),
                (this.googleShareUrl = e.override.social.googleShareUrl))),
            (this.keywordMenu = new V({
              l10n: this.l10n,
              currentIndex:
                void 0 !== this.previousState ? this.previousState.progress : 0,
            })),
            this.setElementsOverride(e.override),
            s().call(this, re, e.presentation.slides),
            this.on("resize", this.resize, this),
            this.on("printing", function (e) {
              ((n.ignoreResize = !e.data.finished),
                e.data.finished
                  ? n.resize()
                  : e.data.allSlides && n.attachAllElements());
            }));
        }
        ((((oe.prototype = Object.create(s().prototype)).constructor =
          oe).prototype.getCurrentState = function () {
          var r = this,
            e = this.previousState || {};
          ((e.progress = this.getCurrentSlideIndex()),
            e.answers || (e.answers = []),
            (e.answered = this.elementInstances.map(function (e, t) {
              return r.slideHasAnsweredTask(t);
            })));
          for (var t = 0; t < this.elementInstances.length; t++)
            if (this.elementInstances[t])
              for (var n = 0; n < this.elementInstances[t].length; n++) {
                var i = this.elementInstances[t][n];
                (i.getCurrentState instanceof Function ||
                  "function" == typeof i.getCurrentState) &&
                  (e.answers[t] || (e.answers[t] = []),
                  (e.answers[t][n] = i.getCurrentState()));
              }
          return e;
        }),
          (oe.prototype.slideHasAnsweredTask = function (e) {
            return (this.slidesWithSolutions[e] || [])
              .filter(function (e) {
                return c(e.getAnswerGiven);
              })
              .some(function (e) {
                return e.getAnswerGiven();
              });
          }),
          (oe.prototype.attach = function (e) {
            var t = this,
              o = this;
            void 0 !== this.isRoot &&
              this.isRoot() &&
              this.setActivityStarted();
            var r =
              '<div class="h5p-keymap-explanation hidden-but-read">' +
              this.l10n.accessibilitySlideNavigationExplanation +
              '</div><div class="h5p-fullscreen-announcer hidden-but-read" aria-live="polite"></div><div class="h5p-wrapper" tabindex="0" role="region" aria-roledescription="carousel" aria-label="' +
              this.l10n.accessibilityCanvasLabel +
              '">  <div class="h5p-current-slide-announcer hidden-but-read" aria-live="polite"></div>  <div tabindex="-1"></div>  <div class="h5p-box-wrapper">    <div class="h5p-presentation-wrapper">      <div class="h5p-keywords-wrapper"></div>     <div class="h5p-slides-wrapper"></div>    </div>  </div>  <nav class="h5p-cp-navigation" aria-label="' +
              this.l10n.slideshowNavigationLabel +
              '">    <div class="h5p-progressbar" role="tablist" aria-label="' +
              this.l10n.accessibilityProgressBarLabel +
              '"></div>  </nav>  <div class="h5p-footer"></div></div>';
            (e
              .attr("role", "application")
              .addClass("h5p-course-presentation")
              .html(r),
              (this.$container = e),
              (this.$slideAnnouncer = e.find(".h5p-current-slide-announcer")),
              (this.$fullscreenAnnouncer = e.find(".h5p-fullscreen-announcer")),
              (this.$slideTop = this.$slideAnnouncer.next()),
              (this.$wrapper = e.children(".h5p-wrapper")),
              this.activeSurface &&
                this.$wrapper.addClass(
                  "h5p-course-presentation-active-surface",
                ),
              this.$wrapper
                .focus(function () {
                  o.initKeyEvents();
                })
                .blur(function () {
                  void 0 !== o.keydown &&
                    (H5P.jQuery("body").unbind("keydown", o.keydown),
                    delete o.keydown);
                })
                .click(function (e) {
                  var t = H5P.jQuery(e.target),
                    r = o.belongsToTagName(
                      e.target,
                      ["input", "textarea", "a", "button"],
                      e.currentTarget,
                    ),
                    n = -1 !== e.target.tabIndex,
                    i = t.closest(".h5p-popup-container"),
                    e = 0 !== i.length;
                  (r ||
                    n ||
                    o.editor ||
                    (e
                      ? 1 ===
                        (e = t.closest("[tabindex]")).closest(
                          ".h5p-popup-container",
                        ).length
                        ? e
                        : i.find(".h5p-close-popup")
                      : o.$wrapper
                    ).focus(),
                    o.presentation.keywordListEnabled &&
                      !o.presentation.keywordListAlwaysShow &&
                      o.presentation.keywordListAutoHide &&
                      !t.is("textarea, .h5p-icon-pencil, span") &&
                      o.hideKeywords());
                }),
              this.on("exitFullScreen", function () {
                (t.$footer.removeClass("footer-full-screen"),
                  t.$fullScreenButton.attr("aria-label", t.l10n.fullscreen),
                  t.$fullscreenAnnouncer.html(
                    t.l10n.accessibilityExitedFullscreen,
                  ));
              }),
              this.on("enterFullScreen", function () {
                t.$fullscreenAnnouncer.html(
                  t.l10n.accessibilityEnteredFullscreen,
                );
              }));
            e = parseInt(this.$wrapper.css("width"));
            this.width = 0 !== e ? e : 640;
            e = parseInt(this.$wrapper.css("height"));
            ((this.height = 0 !== e ? e : 400),
              (this.ratio = 16 / 9),
              (this.fontSize = 16),
              (this.$boxWrapper = this.$wrapper.children(".h5p-box-wrapper")));
            var n,
              e = this.$boxWrapper.children(".h5p-presentation-wrapper");
            ((this.$slidesWrapper = e.children(".h5p-slides-wrapper")),
              (this.$keywordsWrapper = e.children(".h5p-keywords-wrapper")),
              (this.$progressbar = this.$wrapper.find(".h5p-progressbar")),
              (this.$footer = this.$wrapper.children(".h5p-footer")),
              (this.initKeywords =
                void 0 === this.presentation.keywordListEnabled ||
                !0 === this.presentation.keywordListEnabled ||
                void 0 !== this.editor),
              this.activeSurface &&
                void 0 === this.editor &&
                ((this.initKeywords = !1),
                this.$boxWrapper.css("height", "100%")),
              (this.isSolutionMode = !1),
              this.createSlides(),
              (this.elementsAttached[this.currentSlideIndex] = !0),
              (this.showSummarySlide = !1),
              this.hideSummarySlide
                ? (this.showSummarySlide = !this.hideSummarySlide)
                : this.slidesWithSolutions.forEach(function (e) {
                    o.showSummarySlide = e.length;
                  }),
              void 0 === this.editor &&
                (this.showSummarySlide || this.hasAnswerElements) &&
                (this.slides.push((i = { elements: [], keywords: [] })),
                (n = H5P.jQuery(re.createHTML(i)).appendTo(
                  this.$slidesWrapper,
                )).addClass("h5p-summary-slide"),
                this.isCurrentSlide(this.slides.length - 1) &&
                  (this.$current = n)));
            var i = this.getKeywordMenuConfig();
            (0 < i.length || this.isEditor()
              ? (this.keywordMenu.init(i),
                this.keywordMenu.on("select", function (e) {
                  return t.keywordClick(e.data.index);
                }),
                this.keywordMenu.on("close", function () {
                  return t.hideKeywords();
                }),
                this.keywordMenu.on("select", function () {
                  t.$currentKeyword = t.$keywords.children(".h5p-current");
                }),
                (this.$keywords = b(this.keywordMenu.getElement()).appendTo(
                  this.$keywordsWrapper,
                )),
                (this.$currentKeyword =
                  this.$keywords.children(".h5p-current")),
                void 0 !== this.presentation.keywordListOpacity &&
                  this.setKeywordsOpacity(this.presentation.keywordListOpacity),
                this.presentation.keywordListAlwaysShow && this.showKeywords())
              : (this.$keywordsWrapper.remove(), (this.initKeywords = !1)),
              void 0 === this.editor && this.activeSurface
                ? (this.$progressbar.add(this.$footer).remove(),
                  H5P.fullscreenSupported &&
                    ((this.$fullScreenButton = H5P.jQuery("<div/>", {
                      class: "h5p-toggle-full-screen",
                      "aria-label": this.l10n.fullscreen,
                      role: "button",
                      tabindex: 0,
                      appendTo: this.$wrapper,
                    })),
                    H5P.Tooltip(this.$fullScreenButton.get(0), {
                      position: "left",
                    }),
                    y(this.$fullScreenButton, function () {
                      return o.toggleFullScreen();
                    })))
                : (this.initTouchEvents(),
                  (this.navigationLine = new K(this)),
                  (this.previousState && this.previousState.progress) ||
                    this.setSlideNumberAnnouncer(0, !1),
                  (this.summarySlideObject = new f(this, n))),
              G(this),
              this.previousState &&
                this.previousState.progress &&
                this.jumpToSlide(
                  this.previousState.progress,
                  !1,
                  null,
                  !1,
                  !0,
                ));
          }),
          (oe.prototype.belongsToTagName = function (e, t, r) {
            if (!e) return !1;
            ((r = r || document.body),
              (t = (t = "string" == typeof t ? [t] : t).map(function (e) {
                return e.toLowerCase();
              })));
            var n = e.tagName.toLowerCase();
            return (
              -1 !== t.indexOf(n) ||
              (r !== e && this.belongsToTagName(e.parentNode, t, r))
            );
          }),
          (oe.prototype.updateKeywordMenuFromSlides = function () {
            this.keywordMenu.removeAllMenuItemElements();
            var e = this.getKeywordMenuConfig();
            return b(this.keywordMenu.init(e));
          }),
          (oe.prototype.getKeywordMenuConfig = function () {
            var r = this;
            return this.slides
              .map(function (e, t) {
                return {
                  title: r.createSlideTitle(e),
                  subtitle: "".concat(r.l10n.slide, " ").concat(t + 1),
                  index: t,
                };
              })
              .filter(function (e) {
                return null !== e.title;
              });
          }),
          (oe.prototype.createSlideTitle = function (e) {
            var t = this.isEditor() ? this.l10n.noTitle : null;
            return this.hasKeywords(e) ? e.keywords[0].main : t;
          }),
          (oe.prototype.isEditor = function () {
            return void 0 !== this.editor;
          }),
          (oe.prototype.hasKeywords = function (e) {
            return void 0 !== e.keywords && 0 < e.keywords.length;
          }),
          (oe.prototype.createSlides = function () {
            for (var e = 0; e < this.children.length; e++) {
              var t = e === this.currentSlideIndex;
              (this.children[e].getElement().appendTo(this.$slidesWrapper),
                t && this.children[e].setCurrent(),
                (this.isEditor() || 0 === e || 1 === e || t) &&
                  this.children[e].appendElements());
            }
          }),
          (oe.prototype.hasScoreData = function (e) {
            return (
              "undefined" !== ie(e) &&
              "function" == typeof e.getScore &&
              "function" == typeof e.getMaxScore
            );
          }),
          (oe.prototype.getScore = function () {
            var r = this;
            return n(r.slidesWithSolutions).reduce(function (e, t) {
              return e + (r.hasScoreData(t) ? t.getScore() : 0);
            }, 0);
          }),
          (oe.prototype.getMaxScore = function () {
            var r = this;
            return n(r.slidesWithSolutions).reduce(function (e, t) {
              return e + (r.hasScoreData(t) ? t.getMaxScore() : 0);
            }, 0);
          }),
          (oe.prototype.setProgressBarFeedback = function (e) {
            var n = this;
            void 0 !== e && e
              ? e.forEach(function (e) {
                  var t,
                    r = n.progressbarParts[e.slide - 1].find(
                      ".h5p-progressbar-part-has-task",
                    );
                  r.hasClass("h5p-answered") &&
                    ((t = e.score >= e.maxScore),
                    r.addClass(t ? "h5p-is-correct" : "h5p-is-wrong"),
                    n.navigationLine.updateSlideTitle(e.slide - 1));
                })
              : this.progressbarParts.forEach(function (e) {
                  e.find(".h5p-progressbar-part-has-task")
                    .removeClass("h5p-is-correct")
                    .removeClass("h5p-is-wrong");
                });
          }),
          (oe.prototype.toggleKeywords = function () {
            this[
              this.$keywordsWrapper.hasClass("h5p-open")
                ? "hideKeywords"
                : "showKeywords"
            ]();
          }),
          (oe.prototype.hideKeywords = function () {
            this.$keywordsWrapper.hasClass("h5p-open") &&
              (void 0 !== this.$keywordsButton &&
                (this.$keywordsButton.attr(
                  "aria-label",
                  this.l10n.showKeywords,
                ),
                this.$keywordsButton.attr("aria-expanded", "false"),
                this.$keywordsButton.focus()),
              this.$keywordsWrapper.removeClass("h5p-open"));
          }),
          (oe.prototype.showKeywords = function () {
            this.$keywordsWrapper.hasClass("h5p-open") ||
              (void 0 !== this.$keywordsButton &&
                (this.$keywordsButton.attr(
                  "aria-label",
                  this.l10n.hideKeywords,
                ),
                this.$keywordsButton.attr("aria-expanded", "true")),
              this.$keywordsWrapper.addClass("h5p-open"),
              this.presentation.keywordListAlwaysShow ||
                this.$keywordsWrapper.find('li[tabindex="0"]').focus());
          }),
          (oe.prototype.setKeywordsOpacity = function (e) {
            var t, r, n;
            "" !== this.$keywordsWrapper.css("background-color") &&
              ((r = this.$keywordsWrapper
                .css("background-color")
                .match(/\d+/g)),
              (n = 3),
              (r = (t =
                (function (e) {
                  if (Array.isArray(e)) return e;
                })(r) ||
                (function (e, t) {
                  var r =
                    null == e
                      ? null
                      : ("undefined" != typeof Symbol && e[Symbol.iterator]) ||
                        e["@@iterator"];
                  if (null != r) {
                    var n,
                      i,
                      o = [],
                      s = !0,
                      a = !1;
                    try {
                      for (
                        r = r.call(e);
                        !(s = (n = r.next()).done) &&
                        (o.push(n.value), !t || o.length !== t);
                        s = !0
                      );
                    } catch (e) {
                      ((a = !0), (i = e));
                    } finally {
                      try {
                        s || null == r.return || r.return();
                      } finally {
                        if (a) throw i;
                      }
                    }
                    return o;
                  }
                })(r, n) ||
                (function (e, t) {
                  if (e) {
                    if ("string" == typeof e) return ne(e, t);
                    var r = Object.prototype.toString.call(e).slice(8, -1);
                    return "Map" ===
                      (r =
                        "Object" === r && e.constructor
                          ? e.constructor.name
                          : r) || "Set" === r
                      ? Array.from(e)
                      : "Arguments" === r ||
                          /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
                        ? ne(e, t)
                        : void 0;
                  }
                })(r, n) ||
                (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.",
                  );
                })())[0]),
              (n = t[1]),
              (t = t[2]),
              this.$keywordsWrapper.css(
                "background-color",
                "rgba("
                  .concat(r, ", ")
                  .concat(n, ", ")
                  .concat(t, ", ")
                  .concat(e / 100, ")"),
              ));
          }),
          (oe.prototype.fitCT = function () {
            void 0 === this.editor &&
              this.$current.find(".h5p-ct").each(function () {
                for (
                  var e = 100, t = H5P.jQuery(this), r = t.parent().height();
                  t.outerHeight() > r &&
                  (t.css({ fontSize: --e + "%", lineHeight: e + 65 + "%" }),
                  !(e < 0));

                );
              });
          }),
          (oe.prototype.resize = function () {
            var e =
              this.$container.hasClass("h5p-fullscreen") ||
              this.$container.hasClass("h5p-semi-fullscreen");
            if (!this.ignoreResize) {
              this.$wrapper.css("width", "auto");
              var t = this.$container.width(),
                r = {};
              !e ||
                (t / (n = this.$container.height()) > this.ratio &&
                  ((t = n * this.ratio), (r.width = t + "px")));
              var n = t / this.width;
              ((r.height = t / this.ratio + "px"),
                (r.fontSize = this.fontSize * n + "px"),
                void 0 !== this.editor &&
                  this.editor.setContainerEm(this.fontSize * n * 0.75),
                this.$wrapper.css(r),
                (this.swipeThreshold = 100 * n));
              var i = this.elementInstances[this.$current.index()];
              if (void 0 !== i)
                for (
                  var o = this.slides[this.$current.index()].elements, s = 0;
                  s < i.length;
                  s++
                ) {
                  var a = i[s];
                  (void 0 !== a.preventResize && !1 !== a.preventResize) ||
                    void 0 === a.$ ||
                    o[s].displayAsButton ||
                    H5P.trigger(a, "resize");
                }
              this.fitCT();
            }
          }),
          (oe.prototype.toggleFullScreen = function () {
            H5P.isFullscreen ||
            this.$container.hasClass("h5p-fullscreen") ||
            this.$container.hasClass("h5p-semi-fullscreen")
              ? void 0 !== H5P.exitFullScreen &&
                void 0 !== H5P.fullScreenBrowserPrefix
                ? H5P.exitFullScreen()
                : void 0 === H5P.fullScreenBrowserPrefix
                  ? H5P.jQuery(".h5p-disable-fullscreen").click()
                  : "" === H5P.fullScreenBrowserPrefix
                    ? window.top.document.exitFullScreen()
                    : "ms" === H5P.fullScreenBrowserPrefix
                      ? window.top.document.msExitFullscreen()
                      : window.top.document[
                          H5P.fullScreenBrowserPrefix + "CancelFullScreen"
                        ]()
              : (this.$footer.addClass("footer-full-screen"),
                this.$fullScreenButton.attr(
                  "aria-label",
                  this.l10n.exitFullscreen,
                ),
                H5P.fullScreen(this.$container, this),
                void 0 === H5P.fullScreenBrowserPrefix &&
                  H5P.jQuery(".h5p-disable-fullscreen").hide());
          }),
          (oe.prototype.focus = function () {
            this.$wrapper.focus();
          }),
          (oe.prototype.keywordClick = function (e) {
            (this.shouldHideKeywordsAfterSelect() && this.hideKeywords(),
              this.jumpToSlide(e, !0));
          }),
          (oe.prototype.shouldHideKeywordsAfterSelect = function () {
            return (
              this.presentation.keywordListEnabled &&
              !this.presentation.keywordListAlwaysShow &&
              this.presentation.keywordListAutoHide &&
              void 0 === this.editor
            );
          }),
          (oe.prototype.setElementsOverride = function (e) {
            ((this.elementsOverride = { params: {} }),
              e &&
                ((this.elementsOverride.params.behaviour = {}),
                e.showSolutionButton &&
                  (this.elementsOverride.params.behaviour.enableSolutionsButton =
                    "on" === e.showSolutionButton),
                e.retryButton &&
                  (this.elementsOverride.params.behaviour.enableRetry =
                    "on" === e.retryButton)));
          }),
          (oe.prototype.attachElements = function (e, t) {
            if (void 0 === this.elementsAttached[t]) {
              var r = this.slides[t],
                n = this.elementInstances[t];
              if (void 0 !== r.elements)
                for (var i = 0; i < r.elements.length; i++)
                  this.attachElement(r.elements[i], n[i], e, t);
              (this.trigger(
                "domChanged",
                { $target: e, library: "CoursePresentation", key: "newSlide" },
                { bubbles: !0, external: !0 },
              ),
                (this.elementsAttached[t] = !0));
            }
          }),
          (oe.prototype.attachElement = function (e, t, r, n) {
            var i = void 0 !== e.displayAsButton && e.displayAsButton,
              o =
                void 0 !== e.buttonSize
                  ? "h5p-element-button-" + e.buttonSize
                  : "",
              s = H5P.jQuery("<div>", {
                class:
                  "h5p-element" +
                  (i ? " h5p-element-button-wrapper" : "") +
                  (o.length ? " " + o : ""),
              })
                .css({
                  left: e.x + "%",
                  top: e.y + "%",
                  width: e.width + "%",
                  height: e.height + "%",
                })
                .appendTo(r.children('[role="document"]').first()),
              r = void 0 === e.backgroundOpacity || 0 === e.backgroundOpacity;
            return (
              s.toggleClass("h5p-transparent", r),
              i
                ? this.createInteractionButton(e, t).appendTo(s)
                : ((i =
                    e.action && e.action.library
                      ? this.getLibraryTypePmz(e.action.library)
                      : "other"),
                  (i = H5P.jQuery("<div>", {
                    class: "h5p-element-outer ".concat(i, "-outer-element"),
                  })
                    .css({
                      background:
                        "rgba(255,255,255," +
                        (void 0 === e.backgroundOpacity
                          ? 0
                          : e.backgroundOpacity / 100) +
                        ")",
                    })
                    .appendTo(s)),
                  (i = H5P.jQuery("<div>", {
                    class: "h5p-element-inner",
                  }).appendTo(i)),
                  t.on("set-size", function (e) {
                    for (var t in e.data) s.get(0).style[t] = e.data[t];
                  }),
                  t.attach(i),
                  void 0 !== e.action &&
                    "H5P.InteractiveVideo" === e.action.library.substr(0, 20) &&
                    ((i = function () {
                      (t.$container.addClass("h5p-fullscreen"),
                        t.controls.$fullscreen &&
                          t.controls.$fullscreen.remove(),
                        (t.hasFullScreen = !0),
                        t.controls.$play.hasClass("h5p-pause")
                          ? t.$controls.addClass("h5p-autohide")
                          : t.enableAutoHide());
                    }),
                    void 0 !== t.controls ? i() : t.on("controls", i)),
                  this.setOverflowTabIndex()),
              void 0 !== this.editor
                ? this.editor.processElement(e, s, n, t)
                : (e.solution && this.addElementSolutionButton(e, t, s),
                  (this.hasAnswerElements =
                    this.hasAnswerElements || void 0 !== t.exportAnswers)),
              s
            );
          }),
          (oe.prototype.disableTabIndexes = function () {
            var r = this.$container.find(".h5p-popup-container");
            this.$tabbables = this.$container
              .find(
                "a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]",
              )
              .filter(function () {
                var e = b(this),
                  t = b.contains(r.get(0), e.get(0));
                if (e.data("tabindex")) return !0;
                if (t) return !1;
                t = e.attr("tabindex");
                return (e.data("tabindex", t), e.attr("tabindex", "-1"), !0);
              });
          }),
          (oe.prototype.restoreTabIndexes = function () {
            this.$tabbables &&
              this.$tabbables.each(function () {
                var e = b(this),
                  t = e.data("tabindex");
                e.hasClass("ui-slider-handle")
                  ? (e.attr("tabindex", 0), e.removeData("tabindex"))
                  : void 0 !== t
                    ? (e.attr("tabindex", t), e.removeData("tabindex"))
                    : e.removeAttr("tabindex");
              });
          }),
          (oe.prototype.createInteractionButton = function (e, t) {
            var r = this,
              n = e.action.metadata ? e.action.metadata.title : "";
            "" === n &&
              (n =
                (e.action.params && e.action.params.contentName) ||
                e.action.library.split(" ")[0].split(".")[1]);
            var i = this.getLibraryTypePmz(e.action.library),
              o = b("<div>", {
                role: "button",
                tabindex: 0,
                "aria-label": n,
                "aria-popup": !0,
                "aria-expanded": !1,
                class: "h5p-element-button h5p-element-button-"
                  .concat(e.buttonSize, " ")
                  .concat(i, "-button"),
              }),
              s = b('<div class="h5p-button-element"></div>');
            t.attach(s);
            var a = "h5p-advancedtext" === i ? { x: e.x, y: e.y } : null;
            return (
              y(o, function () {
                var e;
                (o.attr("aria-expanded", "true"),
                  r.showInteractionPopup(
                    t,
                    o,
                    s,
                    i,
                    ((e = o),
                    function () {
                      return e.attr("aria-expanded", "false");
                    }),
                    a,
                  ));
              }),
              void 0 !== e.action &&
                "H5P.InteractiveVideo" === e.action.library.substr(0, 20) &&
                t.on("controls", function () {
                  t.controls.$fullscreen && t.controls.$fullscreen.remove();
                }),
              o
            );
          }),
          (oe.prototype.showInteractionPopup = function (e, t, r, n, i) {
            function o() {
              e.trigger("resize");
            }
            var s = this,
              a =
                5 < arguments.length && void 0 !== arguments[5]
                  ? arguments[5]
                  : null;
            this.isEditor() ||
              (this.on("exitFullScreen", o),
              this.showPopup({
                popupContent: r,
                $focusOnClose: t,
                parentPosition: a,
                remove: function () {
                  ((0 < arguments.length &&
                    void 0 !== arguments[0] &&
                    arguments[0]) ||
                    r.detach(),
                    s.off("exitFullScreen", o),
                    i());
                },
                classes: n,
                instance: e,
                keepInDOM: "h5p-interactivevideo" === n,
              }),
              H5P.trigger(e, "resize"),
              "h5p-image" === n && this.resizePopupImage(r),
              setTimeout(function () {
                var e = r.find(":input").add(r.find("[tabindex]"));
                e.length ? e[0].focus() : (r.attr("tabindex", 0), r.focus());
              }, 200),
              c(e.setActivityStarted) &&
                c(e.getScore) &&
                e.setActivityStarted());
          }),
          (oe.prototype.getLibraryTypePmz = function (e) {
            return e.split(" ")[0].replace(/[\W]/g, "-").toLowerCase();
          }),
          (oe.prototype.resizePopupImage = function (r) {
            function e(e, t) {
              t / n < 18.5 ||
                ((e = e / t), r.css({ width: (t = 18.5 * n) * e, height: t }));
            }
            var n = Number(r.css("fontSize").replace("px", "")),
              t = r.find("img");
            t.height()
              ? e(t.width(), t.height())
              : t.one("load", function () {
                  e(this.width, this.height);
                });
          }),
          (oe.prototype.addElementSolutionButton = function (n, e, i) {
            var o = this;
            ((e.showCPComments = function () {
              var t, r, e;
              0 === i.children(".h5p-element-solution").length &&
                ((e = n.solution), 0 < d.html(e).text().trim().length) &&
                ((t = b("<div/>", {
                  role: "button",
                  tabindex: 0,
                  title: o.l10n.solutionsButtonTitle,
                  "aria-haspopup": "dialog",
                  "aria-expanded": !1,
                  class: "h5p-element-solution",
                })
                  .append(
                    '<span class="joubel-icon-comment-normal"><span class="h5p-icon-shadow"></span><span class="h5p-icon-speech-bubble"></span><span class="h5p-icon-question"></span></span>',
                  )
                  .appendTo(i)),
                (r = { x: n.x, y: n.y }),
                n.displayAsButton ||
                  ((r.x += n.width - 4), (r.y += n.height - 12)),
                y(t, function (e) {
                  (o.showPopup({
                    popupContent: n.solution,
                    $focusOnClose: t,
                    parentPosition: r,
                    updateAriaExpanded: !0,
                  }),
                    t.attr("aria-expanded", !0),
                    e.stopPropagation());
                }));
            }),
              void 0 !== n.alwaysDisplayComments &&
                n.alwaysDisplayComments &&
                e.showCPComments());
          }),
          (oe.prototype.showPopup = function (e) {
            var t,
              r = this,
              n = e.popupContent,
              i = e.$focusOnClose,
              o = e.parentPosition,
              s = void 0 === o ? null : o,
              a = e.remove,
              c = e.classes,
              l = void 0 === c ? "h5p-popup-comment-field" : c,
              u = e.instance,
              o = e.keepInDOM,
              h = void 0 !== o && o,
              p = e.updateAriaExpanded,
              d = this;
            this.popupId = void 0 === this.popupId ? 0 : this.popupId + 1;
            function f(e) {
              t
                ? (t = !1)
                : (d.restoreTabIndexes(),
                  i.focus(),
                  p && i.attr("aria-expanded", !1),
                  void 0 !== a &&
                    setTimeout(function () {
                      a(h);
                    }, 100),
                  e.preventDefault(),
                  m.addClass("h5p-animate"),
                  m.find(".h5p-popup-container").addClass("h5p-animate"),
                  setTimeout(function () {
                    h ? m.hide() : m.remove();
                  }, 100));
            }
            var m, g;
            void 0 ===
              (m =
                h && u && d.popups[u.subContentId]
                  ? d.popups[u.subContentId]
                  : m) &&
              ((v = (m = b(
                '<div class="h5p-popup-overlay ' +
                  l +
                  '"><div class="h5p-popup-container" role="dialog"aria-modal="true" aria-live="true" aria-labelledby="popup-title-' +
                  this.popupId +
                  '"> <div role="button" tabindex="0" class="h5p-close-popup" title="' +
                  this.l10n.close +
                  '"></div><div class="h5p-popup-wrapper" role="document"></div></div></div>',
              )).find(".h5p-popup-wrapper")),
              n instanceof H5P.jQuery ? v.append(n) : v.html(n),
              (g = ""),
              v.children().each(function (e, t) {
                (t.setAttribute("id", "popup-content-" + r.popupId + "-" + e),
                  (g += "popup-content-" + r.popupId + "-" + e + " "));
              }),
              m.find(".h5p-popup-container").attr("aria-describedby", g),
              u && u.subContentId && (d.popups[u.subContentId] = m));
            var v,
              c = m.find(".h5p-popup-container");
            return (
              (o = m),
              (e = c),
              (l = s) &&
                (e.css({ visibility: "hidden" }),
                o.prependTo(r.$wrapper),
                (n = e.height()),
                (v = e.width()),
                (s = n * (100 / (u = o.height()))),
                50 < (n = v * (100 / o.width())) && 50 < s
                  ? o.detach()
                  : (s < n &&
                      s < 45 &&
                      ((n = Math.sqrt(n * s)), e.css({ width: n + "%" })),
                    90 < n ? (n = 90) : n < 22 && (n = 22),
                    (v = l.x),
                    l.x > (n = 100 - n - 5) ? (v = n) : l.x < 5 && (v = 5),
                    (u = 100 - (s = e.height() * (100 / u)) - 10),
                    (s = l.y),
                    l.y > u ? (s = u) : l.y < 10 && (s = 10),
                    o.detach(),
                    e.css({ left: v + "%", top: s + "%" }))),
              m.addClass("h5p-animate"),
              c.css({ visibility: "" }).addClass("h5p-animate"),
              0 === m.parent().length ? m.prependTo(this.$wrapper) : m.show(),
              m
                .removeClass("h5p-animate")
                .click(f)
                .find(".h5p-popup-container")
                .removeClass("h5p-animate")
                .click(function () {
                  t = !0;
                })
                .keydown(function (e) {
                  27 === e.which && f(e);
                })
                .find(".h5p-close-popup")
                .focus(),
              this.disableTabIndexes(),
              y(m.find(".h5p-close-popup"), f),
              m
            );
          }),
          (oe.prototype.checkForSolutions = function (e) {
            return void 0 !== e.showSolutions || void 0 !== e.showCPComments;
          }),
          (oe.prototype.initKeyEvents = function () {
            var t, r;
            void 0 !== this.keydown ||
              this.activeSurface ||
              ((r = !1),
              ((t = this).keydown = function (e) {
                r ||
                  ((((37 !== e.keyCode && 33 !== e.keyCode) ||
                    !t.previousSlide(void 0, !1)) &&
                    ((39 !== e.keyCode && 34 !== e.keyCode) ||
                      !t.nextSlide(void 0, !1))) ||
                    (e.preventDefault(), (r = !0)),
                  r &&
                    setTimeout(function () {
                      r = !1;
                    }, 300));
              }),
              H5P.jQuery("body").keydown(this.keydown));
          }),
          (oe.prototype.initTouchEvents = function () {
            function n(e) {
              return {
                "-webkit-transform": e,
                "-moz-transform": e,
                "-ms-transform": e,
                transform: e,
              };
            }
            var i,
              o,
              s,
              a,
              c,
              l,
              u = this,
              h = !1,
              p = !1,
              t = n("");
            this.$slidesWrapper
              .bind("touchstart", function (e) {
                ((p = !1),
                  (s = i = e.originalEvent.touches[0].pageX),
                  (o = e.originalEvent.touches[0].pageY));
                e = u.$slidesWrapper.width();
                ((a = 0 === u.currentSlideIndex ? 0 : -e),
                  (c = u.currentSlideIndex + 1 >= u.slides.length ? 0 : e),
                  (h = !(l = null)));
              })
              .bind("touchmove", function (e) {
                var t = e.originalEvent.touches;
                (h &&
                  (u.$current.prev().addClass("h5p-touch-move"),
                  u.$current.next().addClass("h5p-touch-move"),
                  (h = !1)),
                  (s = t[0].pageX));
                var r = i - s;
                (null === l &&
                  (l =
                    Math.abs(o - e.originalEvent.touches[0].pageY) >
                    Math.abs(r)),
                  1 !== t.length ||
                    l ||
                    (e.preventDefault(),
                    p ||
                      (r < 0
                        ? u.$current
                            .prev()
                            .css(n("translateX(" + (a - r) + "px"))
                        : u.$current
                            .next()
                            .css(n("translateX(" + (c - r) + "px)")),
                      u.$current.css(n("translateX(" + -r + "px)")))));
              })
              .bind("touchend", function () {
                if (!l) {
                  var e = i - s;
                  if (
                    (e > u.swipeThreshold && u.nextSlide(void 0, !1)) ||
                    (e < -u.swipeThreshold && u.previousSlide(void 0, !1))
                  )
                    return;
                }
                u.$slidesWrapper
                  .children()
                  .css(t)
                  .removeClass("h5p-touch-move");
              });
          }),
          (oe.prototype.updateTouchPopup = function (e, t, r, n) {
            var i;
            arguments.length <= 0
              ? void 0 !== this.touchPopup && this.touchPopup.remove()
              : ((i = ""),
                void 0 !== this.$keywords &&
                void 0 !==
                  this.$keywords
                    .children(":eq(" + t + ")")
                    .find("span")
                    .html()
                  ? (i += this.$keywords
                      .children(":eq(" + t + ")")
                      .find("span")
                      .html())
                  : (i += this.l10n.slide + " " + (t + 1)),
                void 0 === this.editor &&
                  t >= this.slides.length - 1 &&
                  (i = this.l10n.showSolutions),
                void 0 === this.touchPopup
                  ? (this.touchPopup = H5P.jQuery("<div/>", {
                      class: "h5p-touch-popup",
                    }).insertAfter(e))
                  : this.touchPopup.insertAfter(e),
                n - 0.15 * e.parent().height() < 0
                  ? (n = 0)
                  : (n -= 0.15 * e.parent().height()),
                this.touchPopup.css({
                  "max-width": e.width() - r,
                  left: r,
                  top: n,
                }),
                this.touchPopup.html(i));
          }),
          (oe.prototype.previousSlide = function (e) {
            var t =
                !(1 < arguments.length && void 0 !== arguments[1]) ||
                arguments[1],
              r = this.$current.prev();
            return (
              !!r.length &&
              (t
                ? this.processJumpToSlide(r.index(), e, !1)
                : this.jumpToSlide(r.index(), e, null, !1))
            );
          }),
          (oe.prototype.nextSlide = function (e) {
            var t =
                !(1 < arguments.length && void 0 !== arguments[1]) ||
                arguments[1],
              r = this.$current.next();
            return (
              !!r.length &&
              (t
                ? this.processJumpToSlide(r.index(), e, !1)
                : this.jumpToSlide(r.index(), e, null, !1))
            );
          }),
          (oe.prototype.isCurrentSlide = function (e) {
            return this.currentSlideIndex === e;
          }),
          (oe.prototype.getCurrentSlideIndex = function () {
            return this.currentSlideIndex;
          }),
          (oe.prototype.attachAllElements = function () {
            for (
              var e = this.$slidesWrapper.children(), t = 0;
              t < this.slides.length;
              t++
            )
              this.attachElements(e.eq(t), t);
            void 0 !== this.summarySlideObject &&
              this.summarySlideObject.updateSummarySlide(
                this.slides.length - 1,
                !0,
              );
          }),
          (oe.prototype.processJumpToSlide = function (e, t, r) {
            var n = this;
            if (
              (void 0 === this.editor &&
                this.contentId &&
                (((c =
                  this.createXAPIEventTemplate(
                    "progressed",
                  )).data.statement.object.definition.extensions[
                  "http://id.tincanapi.com/extension/ending-point"
                ] = e + 1),
                this.trigger(c)),
              !this.$current.hasClass("h5p-animate"))
            ) {
              var i = this.$current.addClass("h5p-animate"),
                o = n.$slidesWrapper.children(),
                s = o.filter(":lt(" + e + ")");
              this.$current = o.eq(e).addClass("h5p-animate");
              var a = this.currentSlideIndex;
              ((this.currentSlideIndex = e),
                this.attachElements(this.$current, e));
              var c = this.$current.next();
              return (
                c.length && this.attachElements(c, e + 1),
                this.setOverflowTabIndex(),
                setTimeout(function () {
                  (i.removeClass("h5p-current"),
                    o
                      .css({
                        "-webkit-transform": "",
                        "-moz-transform": "",
                        "-ms-transform": "",
                        transform: "",
                      })
                      .removeClass("h5p-touch-move")
                      .removeClass("h5p-previous"),
                    s.addClass("h5p-previous"),
                    n.$current.addClass("h5p-current"),
                    n.trigger("changedSlide", n.$current.index()));
                }, 1),
                setTimeout(function () {
                  if (
                    (n.$slidesWrapper.children().removeClass("h5p-animate"),
                    void 0 === n.editor)
                  ) {
                    var e = n.elementInstances[n.currentSlideIndex],
                      t = n.slides[n.currentSlideIndex].elements;
                    if (void 0 !== e)
                      for (var r = 0; r < e.length; r++)
                        t[r].displayAsButton ||
                          "function" != typeof e[r].setActivityStarted ||
                          "function" != typeof e[r].getScore ||
                          e[r].setActivityStarted();
                  }
                }, 250),
                void 0 !== this.$keywords &&
                  (this.keywordMenu.setCurrentSlideIndex(e),
                  (this.$currentKeyword = this.$keywords.find(".h5p-current")),
                  t || this.keywordMenu.scrollToKeywords(e)),
                n.presentation.keywordListEnabled &&
                  n.presentation.keywordListAlwaysShow &&
                  n.showKeywords(),
                n.navigationLine &&
                  (n.navigationLine.updateProgressBar(
                    e,
                    a,
                    this.isSolutionMode,
                  ),
                  n.navigationLine.updateFooter(e),
                  this.setSlideNumberAnnouncer(e, r)),
                n.summarySlideObject &&
                  n.summarySlideObject.updateSummarySlide(e, !0),
                void 0 !== this.editor &&
                  void 0 !== this.editor.dnb &&
                  (this.editor.dnb.setContainer(this.$current),
                  this.editor.dnb.blurAll()),
                this.trigger("resize"),
                this.fitCT(),
                !0
              );
            }
          }),
          (oe.prototype.jumpToSlide = function (e) {
            var t = this,
              r =
                1 < arguments.length && void 0 !== arguments[1] && arguments[1],
              n =
                2 < arguments.length && void 0 !== arguments[2]
                  ? arguments[2]
                  : null,
              i =
                3 < arguments.length && void 0 !== arguments[3] && arguments[3];
            if (
              this.standalone &&
              this.showSummarySlide &&
              e === this.slides.length - 1 &&
              !this.isSolutionMode &&
              this.isReportingEnabled &&
              !(4 < arguments.length && void 0 !== arguments[4] && arguments[4])
            ) {
              if (this.currentSlideIndex === this.slides.length - 1) return !1;
              var o = (function (e) {
                e = new H5P.ConfirmationDialog(e).appendTo(document.body);
                return (
                  e.getElement().classList.add("h5p-cp-confirmation-dialog"),
                  e.show(),
                  e
                );
              })({
                headerText: this.l10n.confirmDialogHeader,
                dialogText: this.l10n.confirmDialogText,
                confirmText: this.l10n.confirmDialogConfirmationText,
              });
              (o.on("canceled", function () {
                return !1;
              }),
                o.on("confirmed", function () {
                  (t.processJumpToSlide(e, r, i), n && n());
                }));
            } else (this.processJumpToSlide(e, r, i), n && n());
          }),
          (oe.prototype.setOverflowTabIndex = function () {
            void 0 !== this.$current &&
              this.$current.find(".h5p-element-inner").each(function () {
                var e,
                  t = b(this);
                this.classList.contains("h5p-table") &&
                  (e = t.find(".h5p-table").outerHeight());
                var r = t.closest(".h5p-element-outer").innerHeight();
                void 0 !== e && null !== r && r < e && t.attr("tabindex", 0);
              });
          }),
          (oe.prototype.setSlideNumberAnnouncer = function (e) {
            var t =
                1 < arguments.length && void 0 !== arguments[1] && arguments[1],
              r = "";
            if (!this.navigationLine) return r;
            var n = this.slides[e];
            (n.keywords &&
              0 < n.keywords.length &&
              !this.navigationLine.isSummarySlide(e) &&
              (r += this.l10n.slide + " " + (e + 1) + ": "),
              (r += this.navigationLine.createSlideTitle(e)),
              this.$slideAnnouncer.html(r),
              t && this.$slideTop.focus());
          }),
          (oe.prototype.resetTask = function () {
            this.summarySlideObject.toggleSolutionMode(!1);
            for (var e = 0; e < this.slidesWithSolutions.length; e++)
              if (void 0 !== this.slidesWithSolutions[e])
                for (var t = 0; t < this.slidesWithSolutions[e].length; t++) {
                  var r = this.slidesWithSolutions[e][t];
                  r.resetTask && r.resetTask();
                }
            (this.navigationLine.updateProgressBar(0),
              this.jumpToSlide(0, !1),
              this.$container.find(".h5p-popup-overlay").remove());
          }),
          (oe.prototype.showSolutions = function () {
            for (
              var e = !1, t = [], r = !1, n = 0;
              n < this.slidesWithSolutions.length;
              n++
            ) {
              if (void 0 !== this.slidesWithSolutions[n]) {
                (this.elementsAttached[n] ||
                  this.attachElements(
                    this.$slidesWrapper.children(":eq(" + n + ")"),
                    n,
                  ),
                  e || (this.jumpToSlide(n, !1), (e = !0)));
                for (
                  var i = 0, o = 0, s = [], a = 0;
                  a < this.slidesWithSolutions[n].length;
                  a++
                ) {
                  var c = this.slidesWithSolutions[n][a];
                  (void 0 !== c.addSolutionButton && c.addSolutionButton(),
                    c.showSolutions && c.showSolutions(),
                    c.showCPComments && c.showCPComments(),
                    void 0 !== c.getMaxScore &&
                      ((o += c.getMaxScore()),
                      (i += c.getScore()),
                      (r = !0),
                      s.push(c.coursePresentationIndexOnSlide)));
                }
                t.push({ indexes: s, slide: n + 1, score: i, maxScore: o });
              }
              if (this.showCommentsAfterSolution[n])
                for (
                  var l = 0;
                  l < this.showCommentsAfterSolution[n].length;
                  l++
                )
                  "function" ==
                    typeof this.showCommentsAfterSolution[n][l]
                      .showCPComments &&
                    this.showCommentsAfterSolution[n][l].showCPComments();
            }
            if (r) return t;
          }),
          (oe.prototype.getSlideScores = function (e) {
            for (
              var t = !0 === e, r = [], n = !1, i = 0;
              i < this.slidesWithSolutions.length;
              i++
            )
              if (void 0 !== this.slidesWithSolutions[i]) {
                (this.elementsAttached[i] ||
                  this.attachElements(
                    this.$slidesWrapper.children(":eq(" + i + ")"),
                    i,
                  ),
                  t || (this.jumpToSlide(i, !1), (t = !0)));
                for (
                  var o = 0, s = 0, a = [], c = 0;
                  c < this.slidesWithSolutions[i].length;
                  c++
                ) {
                  var l = this.slidesWithSolutions[i][c];
                  void 0 !== l.getMaxScore &&
                    ((s += l.getMaxScore()),
                    (o += l.getScore()),
                    (n = !0),
                    a.push(l.coursePresentationIndexOnSlide));
                }
                r.push({ indexes: a, slide: i + 1, score: o, maxScore: s });
              }
            if (n) return r;
          }),
          (oe.prototype.getCopyrights = function () {
            var e,
              t,
              r = new H5P.ContentCopyrights();
            this.presentation &&
              this.presentation.globalBackgroundSelector &&
              this.presentation.globalBackgroundSelector
                .imageGlobalBackground &&
              ((e =
                this.presentation.globalBackgroundSelector
                  .imageGlobalBackground),
              (t = new H5P.MediaCopyright(e.copyright)).setThumbnail(
                new H5P.Thumbnail(
                  H5P.getPath(e.path, this.contentId),
                  e.width,
                  e.height,
                ),
              ),
              r.addMedia(t));
            for (var n = 0; n < this.slides.length; n++) {
              var i,
                o,
                s = new H5P.ContentCopyrights();
              if (
                (s.setLabel(this.l10n.slide + " " + (n + 1)),
                this.slides[n] &&
                  this.slides[n].slideBackgroundSelector &&
                  this.slides[n].slideBackgroundSelector.imageSlideBackground &&
                  ((i =
                    this.slides[n].slideBackgroundSelector
                      .imageSlideBackground),
                  (o = new H5P.MediaCopyright(i.copyright)).setThumbnail(
                    new H5P.Thumbnail(
                      H5P.getPath(i.path, this.contentId),
                      i.width,
                      i.height,
                    ),
                  ),
                  s.addMedia(o)),
                void 0 !== this.elementInstances[n])
              )
                for (var a = 0; a < this.elementInstances[n].length; a++) {
                  var c,
                    l,
                    u,
                    h = this.elementInstances[n][a];
                  this.slides[n].elements[a].action &&
                    ((c = this.slides[n].elements[a].action.params),
                    (u = this.slides[n].elements[a].action.metadata),
                    (l = void 0) ===
                      (l =
                        void 0 !== h.getCopyrights ? h.getCopyrights() : l) &&
                      ((l = new H5P.ContentCopyrights()),
                      H5P.findCopyrights(l, c, this.contentId, {
                        metadata: u,
                        machineName: h.libraryInfo.machineName,
                      })),
                    (u = a + 1),
                    void 0 !== c.contentName
                      ? (u += ": " + c.contentName)
                      : void 0 !== h.getTitle
                        ? (u += ": " + h.getTitle())
                        : c.l10n && c.l10n.name && (u += ": " + c.l10n.name),
                    l.setLabel(u),
                    s.addContent(l));
                }
              r.addContent(s);
            }
            return r;
          }),
          (oe.prototype.getXAPIData = function () {
            var e = this.createXAPIEventTemplate("answered"),
              t = e.getVerifiedStatementValue(["object", "definition"]);
            H5P.jQuery.extend(t, {
              interactionType: "compound",
              type: "http://adlnet.gov/expapi/activities/cmi.interaction",
            });
            var r = this.getScore(),
              t = this.getMaxScore();
            e.setScoredResult(r, t, this, !0, r === t);
            t = n(this.slidesWithSolutions)
              .map(function (e) {
                if (e && e.getXAPIData) return e.getXAPIData();
              })
              .filter(function (e) {
                return !!e;
              });
            return { statement: e.data.statement, children: t };
          }),
          (oe.prototype.getContext = function () {
            return { type: "slide", value: this.currentSlideIndex + 1 };
          }));
        e = oe;
        (((H5P = H5P || {}).Tooltip = H5P.Tooltip || function () {}),
          (H5P.CoursePresentation = e));
      })());
  })() /*!@license H5P.InteractiveBook-1.7/dist/h5p-interactive-book.js by Joubel licensed under MIT*/,
  (() => {
    var r = {
        9552: (e) => {
          "use strict";
          e.exports = {
            aliceblue: [240, 248, 255],
            antiquewhite: [250, 235, 215],
            aqua: [0, 255, 255],
            aquamarine: [127, 255, 212],
            azure: [240, 255, 255],
            beige: [245, 245, 220],
            bisque: [255, 228, 196],
            black: [0, 0, 0],
            blanchedalmond: [255, 235, 205],
            blue: [0, 0, 255],
            blueviolet: [138, 43, 226],
            brown: [165, 42, 42],
            burlywood: [222, 184, 135],
            cadetblue: [95, 158, 160],
            chartreuse: [127, 255, 0],
            chocolate: [210, 105, 30],
            coral: [255, 127, 80],
            cornflowerblue: [100, 149, 237],
            cornsilk: [255, 248, 220],
            crimson: [220, 20, 60],
            cyan: [0, 255, 255],
            darkblue: [0, 0, 139],
            darkcyan: [0, 139, 139],
            darkgoldenrod: [184, 134, 11],
            darkgray: [169, 169, 169],
            darkgreen: [0, 100, 0],
            darkgrey: [169, 169, 169],
            darkkhaki: [189, 183, 107],
            darkmagenta: [139, 0, 139],
            darkolivegreen: [85, 107, 47],
            darkorange: [255, 140, 0],
            darkorchid: [153, 50, 204],
            darkred: [139, 0, 0],
            darksalmon: [233, 150, 122],
            darkseagreen: [143, 188, 143],
            darkslateblue: [72, 61, 139],
            darkslategray: [47, 79, 79],
            darkslategrey: [47, 79, 79],
            darkturquoise: [0, 206, 209],
            darkviolet: [148, 0, 211],
            deeppink: [255, 20, 147],
            deepskyblue: [0, 191, 255],
            dimgray: [105, 105, 105],
            dimgrey: [105, 105, 105],
            dodgerblue: [30, 144, 255],
            firebrick: [178, 34, 34],
            floralwhite: [255, 250, 240],
            forestgreen: [34, 139, 34],
            fuchsia: [255, 0, 255],
            gainsboro: [220, 220, 220],
            ghostwhite: [248, 248, 255],
            gold: [255, 215, 0],
            goldenrod: [218, 165, 32],
            gray: [128, 128, 128],
            green: [0, 128, 0],
            greenyellow: [173, 255, 47],
            grey: [128, 128, 128],
            honeydew: [240, 255, 240],
            hotpink: [255, 105, 180],
            indianred: [205, 92, 92],
            indigo: [75, 0, 130],
            ivory: [255, 255, 240],
            khaki: [240, 230, 140],
            lavender: [230, 230, 250],
            lavenderblush: [255, 240, 245],
            lawngreen: [124, 252, 0],
            lemonchiffon: [255, 250, 205],
            lightblue: [173, 216, 230],
            lightcoral: [240, 128, 128],
            lightcyan: [224, 255, 255],
            lightgoldenrodyellow: [250, 250, 210],
            lightgray: [211, 211, 211],
            lightgreen: [144, 238, 144],
            lightgrey: [211, 211, 211],
            lightpink: [255, 182, 193],
            lightsalmon: [255, 160, 122],
            lightseagreen: [32, 178, 170],
            lightskyblue: [135, 206, 250],
            lightslategray: [119, 136, 153],
            lightslategrey: [119, 136, 153],
            lightsteelblue: [176, 196, 222],
            lightyellow: [255, 255, 224],
            lime: [0, 255, 0],
            limegreen: [50, 205, 50],
            linen: [250, 240, 230],
            magenta: [255, 0, 255],
            maroon: [128, 0, 0],
            mediumaquamarine: [102, 205, 170],
            mediumblue: [0, 0, 205],
            mediumorchid: [186, 85, 211],
            mediumpurple: [147, 112, 219],
            mediumseagreen: [60, 179, 113],
            mediumslateblue: [123, 104, 238],
            mediumspringgreen: [0, 250, 154],
            mediumturquoise: [72, 209, 204],
            mediumvioletred: [199, 21, 133],
            midnightblue: [25, 25, 112],
            mintcream: [245, 255, 250],
            mistyrose: [255, 228, 225],
            moccasin: [255, 228, 181],
            navajowhite: [255, 222, 173],
            navy: [0, 0, 128],
            oldlace: [253, 245, 230],
            olive: [128, 128, 0],
            olivedrab: [107, 142, 35],
            orange: [255, 165, 0],
            orangered: [255, 69, 0],
            orchid: [218, 112, 214],
            palegoldenrod: [238, 232, 170],
            palegreen: [152, 251, 152],
            paleturquoise: [175, 238, 238],
            palevioletred: [219, 112, 147],
            papayawhip: [255, 239, 213],
            peachpuff: [255, 218, 185],
            peru: [205, 133, 63],
            pink: [255, 192, 203],
            plum: [221, 160, 221],
            powderblue: [176, 224, 230],
            purple: [128, 0, 128],
            rebeccapurple: [102, 51, 153],
            red: [255, 0, 0],
            rosybrown: [188, 143, 143],
            royalblue: [65, 105, 225],
            saddlebrown: [139, 69, 19],
            salmon: [250, 128, 114],
            sandybrown: [244, 164, 96],
            seagreen: [46, 139, 87],
            seashell: [255, 245, 238],
            sienna: [160, 82, 45],
            silver: [192, 192, 192],
            skyblue: [135, 206, 235],
            slateblue: [106, 90, 205],
            slategray: [112, 128, 144],
            slategrey: [112, 128, 144],
            snow: [255, 250, 250],
            springgreen: [0, 255, 127],
            steelblue: [70, 130, 180],
            tan: [210, 180, 140],
            teal: [0, 128, 128],
            thistle: [216, 191, 216],
            tomato: [255, 99, 71],
            turquoise: [64, 224, 208],
            violet: [238, 130, 238],
            wheat: [245, 222, 179],
            white: [255, 255, 255],
            whitesmoke: [245, 245, 245],
            yellow: [255, 255, 0],
            yellowgreen: [154, 205, 50],
          };
        },
        6855: (e, t, r) => {
          var n,
            s = r(9552),
            i = r(521),
            a = Object.hasOwnProperty,
            o = Object.create(null);
          for (n in s) a.call(s, n) && (o[s[n]] = n);
          var c = (e.exports = { to: {}, get: {} });
          function l(e, t, r) {
            return Math.min(Math.max(t, e), r);
          }
          function u(e) {
            e = Math.round(e).toString(16).toUpperCase();
            return e.length < 2 ? "0" + e : e;
          }
          ((c.get = function (e) {
            var t, r;
            switch (e.substring(0, 3).toLowerCase()) {
              case "hsl":
                ((t = c.get.hsl(e)), (r = "hsl"));
                break;
              case "hwb":
                ((t = c.get.hwb(e)), (r = "hwb"));
                break;
              default:
                ((t = c.get.rgb(e)), (r = "rgb"));
            }
            return t ? { model: r, value: t } : null;
          }),
            (c.get.rgb = function (e) {
              if (!e) return null;
              var t,
                r,
                n,
                i = [0, 0, 0, 1];
              if ((t = e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i))) {
                for (n = t[2], t = t[1], r = 0; r < 3; r++) {
                  var o = 2 * r;
                  i[r] = parseInt(t.slice(o, 2 + o), 16);
                }
                n && (i[3] = parseInt(n, 16) / 255);
              } else if ((t = e.match(/^#([a-f0-9]{3,4})$/i))) {
                for (n = (t = t[1])[3], r = 0; r < 3; r++)
                  i[r] = parseInt(t[r] + t[r], 16);
                n && (i[3] = parseInt(n + n, 16) / 255);
              } else if (
                (t = e.match(
                  /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,
                ))
              ) {
                for (r = 0; r < 3; r++) i[r] = parseInt(t[r + 1], 0);
                t[4] &&
                  (t[5]
                    ? (i[3] = 0.01 * parseFloat(t[4]))
                    : (i[3] = parseFloat(t[4])));
              } else {
                if (
                  !(t = e.match(
                    /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,
                  ))
                )
                  return (t = e.match(/^(\w+)$/))
                    ? "transparent" === t[1]
                      ? [0, 0, 0, 0]
                      : a.call(s, t[1])
                        ? (((i = s[t[1]])[3] = 1), i)
                        : null
                    : null;
                for (r = 0; r < 3; r++)
                  i[r] = Math.round(2.55 * parseFloat(t[r + 1]));
                t[4] &&
                  (t[5]
                    ? (i[3] = 0.01 * parseFloat(t[4]))
                    : (i[3] = parseFloat(t[4])));
              }
              for (r = 0; r < 3; r++) i[r] = l(i[r], 0, 255);
              return ((i[3] = l(i[3], 0, 1)), i);
            }),
            (c.get.hsl = function (e) {
              if (!e) return null;
              var t = e.match(
                /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,
              );
              if (t) {
                e = parseFloat(t[4]);
                return [
                  ((parseFloat(t[1]) % 360) + 360) % 360,
                  l(parseFloat(t[2]), 0, 100),
                  l(parseFloat(t[3]), 0, 100),
                  l(isNaN(e) ? 1 : e, 0, 1),
                ];
              }
              return null;
            }),
            (c.get.hwb = function (e) {
              if (!e) return null;
              var t = e.match(
                /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,
              );
              if (t) {
                e = parseFloat(t[4]);
                return [
                  ((parseFloat(t[1]) % 360) + 360) % 360,
                  l(parseFloat(t[2]), 0, 100),
                  l(parseFloat(t[3]), 0, 100),
                  l(isNaN(e) ? 1 : e, 0, 1),
                ];
              }
              return null;
            }),
            (c.to.hex = function () {
              var e = i(arguments);
              return (
                "#" +
                u(e[0]) +
                u(e[1]) +
                u(e[2]) +
                (e[3] < 1 ? u(Math.round(255 * e[3])) : "")
              );
            }),
            (c.to.rgb = function () {
              var e = i(arguments);
              return e.length < 4 || 1 === e[3]
                ? "rgb(" +
                    Math.round(e[0]) +
                    ", " +
                    Math.round(e[1]) +
                    ", " +
                    Math.round(e[2]) +
                    ")"
                : "rgba(" +
                    Math.round(e[0]) +
                    ", " +
                    Math.round(e[1]) +
                    ", " +
                    Math.round(e[2]) +
                    ", " +
                    e[3] +
                    ")";
            }),
            (c.to.rgb.percent = function () {
              var e = i(arguments),
                t = Math.round((e[0] / 255) * 100),
                r = Math.round((e[1] / 255) * 100),
                n = Math.round((e[2] / 255) * 100);
              return e.length < 4 || 1 === e[3]
                ? "rgb(" + t + "%, " + r + "%, " + n + "%)"
                : "rgba(" + t + "%, " + r + "%, " + n + "%, " + e[3] + ")";
            }),
            (c.to.hsl = function () {
              var e = i(arguments);
              return e.length < 4 || 1 === e[3]
                ? "hsl(" + e[0] + ", " + e[1] + "%, " + e[2] + "%)"
                : "hsla(" +
                    e[0] +
                    ", " +
                    e[1] +
                    "%, " +
                    e[2] +
                    "%, " +
                    e[3] +
                    ")";
            }),
            (c.to.hwb = function () {
              var e = i(arguments),
                t = "";
              return (
                4 <= e.length && 1 !== e[3] && (t = ", " + e[3]),
                "hwb(" + e[0] + ", " + e[1] + "%, " + e[2] + "%" + t + ")"
              );
            }),
            (c.to.keyword = function (e) {
              return o[e.slice(0, 3)];
            }));
        },
        7124: (r, n, e) => {
          const i = e(6855),
            o = e(7747),
            s = ["keyword", "gray", "hex"],
            a = {};
          for (const r of Object.keys(o))
            a[[...o[r].labels].sort().join("")] = r;
          const c = {};
          function l(e, t) {
            if (!(this instanceof l)) return new l(e, t);
            if ((t = t && t in s ? null : t) && !(t in o))
              throw new Error("Unknown model: " + t);
            let r, n;
            if (null == e)
              ((this.model = "rgb"),
                (this.color = [0, 0, 0]),
                (this.valpha = 1));
            else if (e instanceof l)
              ((this.model = e.model),
                (this.color = [...e.color]),
                (this.valpha = e.valpha));
            else if ("string" == typeof e) {
              const t = i.get(e);
              if (null === t)
                throw new Error("Unable to parse color from string: " + e);
              ((this.model = t.model),
                (n = o[this.model].channels),
                (this.color = t.value.slice(0, n)),
                (this.valpha = "number" == typeof t.value[n] ? t.value[n] : 1));
            } else if (0 < e.length) {
              ((this.model = t || "rgb"), (n = o[this.model].channels));
              const r = Array.prototype.slice.call(e, 0, n);
              ((this.color = h(r, n)),
                (this.valpha = "number" == typeof e[n] ? e[n] : 1));
            } else if ("number" == typeof e)
              ((this.model = "rgb"),
                (this.color = [(e >> 16) & 255, (e >> 8) & 255, 255 & e]),
                (this.valpha = 1));
            else {
              this.valpha = 1;
              const t = Object.keys(e);
              "alpha" in e &&
                (t.splice(t.indexOf("alpha"), 1),
                (this.valpha = "number" == typeof e.alpha ? e.alpha : 0));
              const i = t.sort().join("");
              if (!(i in a))
                throw new Error(
                  "Unable to parse color from object: " + JSON.stringify(e),
                );
              this.model = a[i];
              const s = o[this.model]["labels"],
                c = [];
              for (r = 0; r < s.length; r++) c.push(e[s[r]]);
              this.color = h(c);
            }
            if (c[this.model])
              for (n = o[this.model].channels, r = 0; r < n; r++) {
                const e = c[this.model][r];
                e && (this.color[r] = e(this.color[r]));
              }
            ((this.valpha = Math.max(0, Math.min(1, this.valpha))),
              Object.freeze && Object.freeze(this));
          }
          l.prototype = {
            toString() {
              return this.string();
            },
            toJSON() {
              return this[this.model]();
            },
            string(e) {
              let t = this.model in i.to ? this : this.rgb();
              t = t.round("number" == typeof e ? e : 1);
              e = 1 === t.valpha ? t.color : [...t.color, this.valpha];
              return i.to[t.model](e);
            },
            percentString(e) {
              ((e = this.rgb().round("number" == typeof e ? e : 1)),
                (e = 1 === e.valpha ? e.color : [...e.color, this.valpha]));
              return i.to.rgb.percent(e);
            },
            array() {
              return 1 === this.valpha
                ? [...this.color]
                : [...this.color, this.valpha];
            },
            object() {
              const t = {},
                r = o[this.model]["channels"],
                n = o[this.model]["labels"];
              for (let e = 0; e < r; e++) t[n[e]] = this.color[e];
              return (1 !== this.valpha && (t.alpha = this.valpha), t);
            },
            unitArray() {
              const e = this.rgb().color;
              return (
                (e[0] /= 255),
                (e[1] /= 255),
                (e[2] /= 255),
                1 !== this.valpha && e.push(this.valpha),
                e
              );
            },
            unitObject() {
              const e = this.rgb().object();
              return (
                (e.r /= 255),
                (e.g /= 255),
                (e.b /= 255),
                1 !== this.valpha && (e.alpha = this.valpha),
                e
              );
            },
            round(e) {
              return (
                (e = Math.max(e || 0, 0)),
                new l(
                  [
                    ...this.color.map(
                      ((t = e),
                      function (e) {
                        return Number(e.toFixed(t));
                      }),
                    ),
                    this.valpha,
                  ],
                  this.model,
                )
              );
              var t;
            },
            alpha(e) {
              return void 0 !== e
                ? new l(
                    [...this.color, Math.max(0, Math.min(1, e))],
                    this.model,
                  )
                : this.valpha;
            },
            red: t("rgb", 0, u(255)),
            green: t("rgb", 1, u(255)),
            blue: t("rgb", 2, u(255)),
            hue: t(
              ["hsl", "hsv", "hsl", "hwb", "hcg"],
              0,
              (e) => ((e % 360) + 360) % 360,
            ),
            saturationl: t("hsl", 1, u(100)),
            lightness: t("hsl", 2, u(100)),
            saturationv: t("hsv", 1, u(100)),
            value: t("hsv", 2, u(100)),
            chroma: t("hcg", 1, u(100)),
            gray: t("hcg", 2, u(100)),
            white: t("hwb", 1, u(100)),
            wblack: t("hwb", 2, u(100)),
            cyan: t("cmyk", 0, u(100)),
            magenta: t("cmyk", 1, u(100)),
            yellow: t("cmyk", 2, u(100)),
            black: t("cmyk", 3, u(100)),
            x: t("xyz", 0, u(95.047)),
            y: t("xyz", 1, u(100)),
            z: t("xyz", 2, u(108.833)),
            l: t("lab", 0, u(100)),
            a: t("lab", 1),
            b: t("lab", 2),
            keyword(e) {
              return void 0 !== e
                ? new l(e)
                : o[this.model].keyword(this.color);
            },
            hex(e) {
              return void 0 !== e
                ? new l(e)
                : i.to.hex(this.rgb().round().color);
            },
            hexa(e) {
              if (void 0 !== e) return new l(e);
              e = this.rgb().round().color;
              let t = Math.round(255 * this.valpha)
                .toString(16)
                .toUpperCase();
              return (1 === t.length && (t = "0" + t), i.to.hex(e) + t);
            },
            rgbNumber() {
              var e = this.rgb().color;
              return ((255 & e[0]) << 16) | ((255 & e[1]) << 8) | (255 & e[2]);
            },
            luminosity() {
              const e = this.rgb().color,
                t = [];
              for (var [r, n] of e.entries()) {
                const e = n / 255;
                t[r] = e <= 0.04045 ? e / 12.92 : ((0.055 + e) / 1.055) ** 2.4;
              }
              return 0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2];
            },
            contrast(e) {
              var t = this.luminosity(),
                e = e.luminosity();
              return e < t ? (t + 0.05) / (e + 0.05) : (e + 0.05) / (t + 0.05);
            },
            level(e) {
              e = this.contrast(e);
              return 7 <= e ? "AAA" : 4.5 <= e ? "AA" : "";
            },
            isDark() {
              var e = this.rgb().color;
              return (2126 * e[0] + 7152 * e[1] + 722 * e[2]) / 1e4 < 128;
            },
            isLight() {
              return !this.isDark();
            },
            negate() {
              const t = this.rgb();
              for (let e = 0; e < 3; e++) t.color[e] = 255 - t.color[e];
              return t;
            },
            lighten(e) {
              const t = this.hsl();
              return ((t.color[2] += t.color[2] * e), t);
            },
            darken(e) {
              const t = this.hsl();
              return ((t.color[2] -= t.color[2] * e), t);
            },
            saturate(e) {
              const t = this.hsl();
              return ((t.color[1] += t.color[1] * e), t);
            },
            desaturate(e) {
              const t = this.hsl();
              return ((t.color[1] -= t.color[1] * e), t);
            },
            whiten(e) {
              const t = this.hwb();
              return ((t.color[1] += t.color[1] * e), t);
            },
            blacken(e) {
              const t = this.hwb();
              return ((t.color[2] += t.color[2] * e), t);
            },
            grayscale() {
              var e = this.rgb().color,
                e = 0.3 * e[0] + 0.59 * e[1] + 0.11 * e[2];
              return l.rgb(e, e, e);
            },
            fade(e) {
              return this.alpha(this.valpha - this.valpha * e);
            },
            opaquer(e) {
              return this.alpha(this.valpha + this.valpha * e);
            },
            rotate(e) {
              const t = this.hsl();
              let r = t.color[0];
              return (
                (r = (r + e) % 360),
                (r = r < 0 ? 360 + r : r),
                (t.color[0] = r),
                t
              );
            },
            mix(e, t) {
              if (!e || !e.rgb)
                throw new Error(
                  'Argument to "mix" was not a Color instance, but rather an instance of ' +
                    typeof e,
                );
              const r = e.rgb(),
                n = this.rgb(),
                i = void 0 === t ? 0.5 : t,
                o = 2 * i - 1,
                s = r.alpha() - n.alpha(),
                a = (1 + (o * s == -1 ? o : (o + s) / (1 + o * s))) / 2,
                c = 1 - a;
              return l.rgb(
                a * r.red() + c * n.red(),
                a * r.green() + c * n.green(),
                a * r.blue() + c * n.blue(),
                r.alpha() * i + n.alpha() * (1 - i),
              );
            },
          };
          for (const r of Object.keys(o))
            if (!s.includes(r)) {
              const n = o[r]["channels"];
              ((l.prototype[r] = function (...e) {
                return this.model === r
                  ? new l(this)
                  : 0 < e.length
                    ? new l(e, r)
                    : new l(
                        [
                          ...((e = o[this.model][r].raw(this.color)),
                          Array.isArray(e) ? e : [e]),
                          this.valpha,
                        ],
                        r,
                      );
              }),
                (l[r] = function (...e) {
                  let t = e[0];
                  return ("number" == typeof t && (t = h(e, n)), new l(t, r));
                }));
            }
          function t(r, n, i) {
            for (const e of (r = Array.isArray(r) ? r : [r]))
              (c[e] || (c[e] = []))[n] = i;
            return (
              (r = r[0]),
              function (e) {
                let t;
                return (
                  void 0 !== e
                    ? (i && (e = i(e)), (t = this[r]()), (t.color[n] = e))
                    : ((t = this[r]().color[n]), i && (t = i(t))),
                  t
                );
              }
            );
          }
          function u(t) {
            return function (e) {
              return Math.max(0, Math.min(t, e));
            };
          }
          function h(t, r) {
            for (let e = 0; e < r; e++) "number" != typeof t[e] && (t[e] = 0);
            return t;
          }
          r.exports = l;
        },
        5043: (e, t, r) => {
          const s = r(1086),
            a = {};
          for (const e of Object.keys(s)) a[s[e]] = e;
          const c = {
            rgb: { channels: 3, labels: "rgb" },
            hsl: { channels: 3, labels: "hsl" },
            hsv: { channels: 3, labels: "hsv" },
            hwb: { channels: 3, labels: "hwb" },
            cmyk: { channels: 4, labels: "cmyk" },
            xyz: { channels: 3, labels: "xyz" },
            lab: { channels: 3, labels: "lab" },
            lch: { channels: 3, labels: "lch" },
            hex: { channels: 1, labels: ["hex"] },
            keyword: { channels: 1, labels: ["keyword"] },
            ansi16: { channels: 1, labels: ["ansi16"] },
            ansi256: { channels: 1, labels: ["ansi256"] },
            hcg: { channels: 3, labels: ["h", "c", "g"] },
            apple: { channels: 3, labels: ["r16", "g16", "b16"] },
            gray: { channels: 1, labels: ["gray"] },
          };
          e.exports = c;
          for (const e of Object.keys(c)) {
            if (!("channels" in c[e]))
              throw new Error("missing channels property: " + e);
            if (!("labels" in c[e]))
              throw new Error("missing channel labels property: " + e);
            if (c[e].labels.length !== c[e].channels)
              throw new Error("channel and label counts mismatch: " + e);
            const { channels: t, labels: r } = c[e];
            (delete c[e].channels,
              delete c[e].labels,
              Object.defineProperty(c[e], "channels", { value: t }),
              Object.defineProperty(c[e], "labels", { value: r }));
          }
          ((c.rgb.hsl = function (e) {
            var t = e[0] / 255,
              r = e[1] / 255,
              n = e[2] / 255,
              i = Math.min(t, r, n),
              o = Math.max(t, r, n),
              e = o - i;
            let s;
            (o === i
              ? (s = 0)
              : t === o
                ? (s = (r - n) / e)
                : r === o
                  ? (s = 2 + (n - t) / e)
                  : n === o && (s = 4 + (t - r) / e),
              (s = Math.min(60 * s, 360)),
              s < 0 && (s += 360));
            r = (i + o) / 2;
            return [
              s,
              100 * (o === i ? 0 : r <= 0.5 ? e / (o + i) : e / (2 - o - i)),
              100 * r,
            ];
          }),
            (c.rgb.hsv = function (e) {
              let t, r, n, i, o;
              function s(e) {
                return (u - e) / 6 / h + 0.5;
              }
              const a = e[0] / 255,
                c = e[1] / 255,
                l = e[2] / 255,
                u = Math.max(a, c, l),
                h = u - Math.min(a, c, l);
              return (
                0 == h
                  ? ((i = 0), (o = 0))
                  : ((o = h / u),
                    (t = s(a)),
                    (r = s(c)),
                    (n = s(l)),
                    a === u
                      ? (i = n - r)
                      : c === u
                        ? (i = 1 / 3 + t - n)
                        : l === u && (i = 2 / 3 + r - t),
                    i < 0 ? (i += 1) : 1 < i && --i),
                [360 * i, 100 * o, 100 * u]
              );
            }),
            (c.rgb.hwb = function (e) {
              var t = e[0],
                r = e[1],
                n = e[2];
              return [
                c.rgb.hsl(e)[0],
                100 * ((1 / 255) * Math.min(t, Math.min(r, n))),
                100 * (n = 1 - (1 / 255) * Math.max(t, Math.max(r, n))),
              ];
            }),
            (c.rgb.cmyk = function (e) {
              var t = e[0] / 255,
                r = e[1] / 255,
                n = e[2] / 255,
                e = Math.min(1 - t, 1 - r, 1 - n);
              return [
                100 * ((1 - t - e) / (1 - e) || 0),
                100 * ((1 - r - e) / (1 - e) || 0),
                100 * ((1 - n - e) / (1 - e) || 0),
                100 * e,
              ];
            }),
            (c.rgb.keyword = function (e) {
              const t = a[e];
              if (t) return t;
              let r,
                n = 1 / 0;
              for (const t of Object.keys(s)) {
                const a = s[t],
                  o =
                    ((i = a),
                    (e[0] - i[0]) ** 2 +
                      (e[1] - i[1]) ** 2 +
                      (e[2] - i[2]) ** 2);
                o < n && ((n = o), (r = t));
              }
              var i;
              return r;
            }),
            (c.keyword.rgb = function (e) {
              return s[e];
            }),
            (c.rgb.xyz = function (e) {
              let t = e[0] / 255,
                r = e[1] / 255,
                n = e[2] / 255;
              return (
                (t = 0.04045 < t ? ((t + 0.055) / 1.055) ** 2.4 : t / 12.92),
                (r = 0.04045 < r ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92),
                (n = 0.04045 < n ? ((n + 0.055) / 1.055) ** 2.4 : n / 12.92),
                [
                  100 * (0.4124 * t + 0.3576 * r + 0.1805 * n),
                  100 * (0.2126 * t + 0.7152 * r + 0.0722 * n),
                  100 * (0.0193 * t + 0.1192 * r + 0.9505 * n),
                ]
              );
            }),
            (c.rgb.lab = function (e) {
              e = c.rgb.xyz(e);
              let t = e[0],
                r = e[1],
                n = e[2];
              return (
                (t /= 95.047),
                (r /= 100),
                (n /= 108.883),
                (t = 0.008856 < t ? t ** (1 / 3) : 7.787 * t + 16 / 116),
                (r = 0.008856 < r ? r ** (1 / 3) : 7.787 * r + 16 / 116),
                (n = 0.008856 < n ? n ** (1 / 3) : 7.787 * n + 16 / 116),
                [116 * r - 16, 500 * (t - r), 200 * (r - n)]
              );
            }),
            (c.hsl.rgb = function (e) {
              var t = e[0] / 360,
                r = e[1] / 100,
                e = e[2] / 100;
              let n, i, o;
              if (0 == r) return ((o = 255 * e), [o, o, o]);
              const s = 2 * e - (n = e < 0.5 ? e * (1 + r) : e + r - e * r),
                a = [0, 0, 0];
              for (let e = 0; e < 3; e++)
                ((i = t + (1 / 3) * -(e - 1)),
                  i < 0 && i++,
                  1 < i && i--,
                  (o =
                    6 * i < 1
                      ? s + 6 * (n - s) * i
                      : 2 * i < 1
                        ? n
                        : 3 * i < 2
                          ? s + (n - s) * (2 / 3 - i) * 6
                          : s),
                  (a[e] = 255 * o));
              return a;
            }),
            (c.hsl.hsv = function (e) {
              var t = e[0],
                r = e[1] / 100,
                n = e[2] / 100,
                i = r,
                e = Math.max(n, 0.01);
              return (
                (r *= (n *= 2) <= 1 ? n : 2 - n),
                (i *= e <= 1 ? e : 2 - e),
                [
                  t,
                  100 * (0 == n ? (2 * i) / (e + i) : (2 * r) / (n + r)),
                  ((n + r) / 2) * 100,
                ]
              );
            }),
            (c.hsv.rgb = function (e) {
              var t = e[0] / 60,
                r = e[1] / 100,
                n = e[2] / 100,
                e = Math.floor(t) % 6,
                t = t - Math.floor(t),
                i = 255 * n * (1 - r),
                o = 255 * n * (1 - r * t),
                s = 255 * n * (1 - r * (1 - t));
              switch (((n *= 255), e)) {
                case 0:
                  return [n, s, i];
                case 1:
                  return [o, n, i];
                case 2:
                  return [i, n, s];
                case 3:
                  return [i, o, n];
                case 4:
                  return [s, i, n];
                case 5:
                  return [n, i, o];
              }
            }),
            (c.hsv.hsl = function (e) {
              var t = e[0],
                r = e[1] / 100,
                n = e[2] / 100,
                i = Math.max(n, 0.01),
                e = (2 - r) * n,
                n = (2 - r) * i,
                i = r * i;
              return [
                t,
                100 * ((i /= n <= 1 ? n : 2 - n) || 0),
                100 * (e /= 2),
              ];
            }),
            (c.hwb.rgb = function (e) {
              var t = e[0] / 360;
              let r = e[1] / 100,
                n = e[2] / 100;
              e = r + n;
              let i;
              1 < e && ((r /= e), (n /= e));
              var e = Math.floor(6 * t),
                o = 1 - n;
              ((i = 6 * t - e), 0 != (1 & e) && (i = 1 - i));
              var s = r + i * (o - r);
              let a, c, l;
              switch (e) {
                default:
                case 6:
                case 0:
                  ((a = o), (c = s), (l = r));
                  break;
                case 1:
                  ((a = s), (c = o), (l = r));
                  break;
                case 2:
                  ((a = r), (c = o), (l = s));
                  break;
                case 3:
                  ((a = r), (c = s), (l = o));
                  break;
                case 4:
                  ((a = s), (c = r), (l = o));
                  break;
                case 5:
                  ((a = o), (c = r), (l = s));
              }
              return [255 * a, 255 * c, 255 * l];
            }),
            (c.cmyk.rgb = function (e) {
              var t = e[0] / 100,
                r = e[1] / 100,
                n = e[2] / 100,
                e = e[3] / 100;
              return [
                255 * (1 - Math.min(1, t * (1 - e) + e)),
                255 * (1 - Math.min(1, r * (1 - e) + e)),
                255 * (1 - Math.min(1, n * (1 - e) + e)),
              ];
            }),
            (c.xyz.rgb = function (e) {
              var t = e[0] / 100,
                r = e[1] / 100,
                e = e[2] / 100;
              let n, i, o;
              return (
                (n = 3.2406 * t + -1.5372 * r + -0.4986 * e),
                (i = -0.9689 * t + 1.8758 * r + 0.0415 * e),
                (o = 0.0557 * t + -0.204 * r + 1.057 * e),
                (n =
                  0.0031308 < n ? 1.055 * n ** (1 / 2.4) - 0.055 : 12.92 * n),
                (i =
                  0.0031308 < i ? 1.055 * i ** (1 / 2.4) - 0.055 : 12.92 * i),
                (o =
                  0.0031308 < o ? 1.055 * o ** (1 / 2.4) - 0.055 : 12.92 * o),
                (n = Math.min(Math.max(0, n), 1)),
                (i = Math.min(Math.max(0, i), 1)),
                (o = Math.min(Math.max(0, o), 1)),
                [255 * n, 255 * i, 255 * o]
              );
            }),
            (c.xyz.lab = function (e) {
              let t = e[0],
                r = e[1],
                n = e[2];
              return (
                (t /= 95.047),
                (r /= 100),
                (n /= 108.883),
                (t = 0.008856 < t ? t ** (1 / 3) : 7.787 * t + 16 / 116),
                (r = 0.008856 < r ? r ** (1 / 3) : 7.787 * r + 16 / 116),
                (n = 0.008856 < n ? n ** (1 / 3) : 7.787 * n + 16 / 116),
                [116 * r - 16, 500 * (t - r), 200 * (r - n)]
              );
            }),
            (c.lab.xyz = function (e) {
              let t, r, n;
              ((r = (e[0] + 16) / 116),
                (t = e[1] / 500 + r),
                (n = r - e[2] / 200));
              var i = r ** 3,
                o = t ** 3,
                e = n ** 3;
              return (
                (r = 0.008856 < i ? i : (r - 16 / 116) / 7.787),
                (t = 0.008856 < o ? o : (t - 16 / 116) / 7.787),
                (n = 0.008856 < e ? e : (n - 16 / 116) / 7.787),
                (t *= 95.047),
                (r *= 100),
                (n *= 108.883),
                [t, r, n]
              );
            }),
            (c.lab.lch = function (e) {
              var t = e[0],
                r = e[1],
                e = e[2];
              let n;
              return (
                (n = (360 * Math.atan2(e, r)) / 2 / Math.PI),
                n < 0 && (n += 360),
                [t, Math.sqrt(r * r + e * e), n]
              );
            }),
            (c.lch.lab = function (e) {
              var t = e[0],
                r = e[1],
                e = (e[2] / 360) * 2 * Math.PI;
              return [t, r * Math.cos(e), r * Math.sin(e)];
            }),
            (c.rgb.ansi16 = function (e, t = null) {
              var [r, n, i] = e,
                t = null === t ? c.rgb.hsv(e)[2] : t;
              if (0 === (t = Math.round(t / 50))) return 30;
              let o =
                30 +
                ((Math.round(i / 255) << 2) |
                  (Math.round(n / 255) << 1) |
                  Math.round(r / 255));
              return (2 === t && (o += 60), o);
            }),
            (c.hsv.ansi16 = function (e) {
              return c.rgb.ansi16(c.hsv.rgb(e), e[2]);
            }),
            (c.rgb.ansi256 = function (e) {
              var t = e[0],
                r = e[1],
                e = e[2];
              return t === r && r === e
                ? t < 8
                  ? 16
                  : 248 < t
                    ? 231
                    : Math.round(((t - 8) / 247) * 24) + 232
                : 16 +
                    36 * Math.round((t / 255) * 5) +
                    6 * Math.round((r / 255) * 5) +
                    Math.round((e / 255) * 5);
            }),
            (c.ansi16.rgb = function (e) {
              let t = e % 10;
              if (0 === t || 7 === t)
                return (
                  50 < e && (t += 3.5),
                  (t = (t / 10.5) * 255),
                  [t, t, t]
                );
              e = 0.5 * (1 + ~~(50 < e));
              return [
                (1 & t) * e * 255,
                ((t >> 1) & 1) * e * 255,
                ((t >> 2) & 1) * e * 255,
              ];
            }),
            (c.ansi256.rgb = function (e) {
              if (232 <= e) {
                const t = 10 * (e - 232) + 8;
                return [t, t, t];
              }
              let t;
              return (
                (e -= 16),
                [
                  (Math.floor(e / 36) / 5) * 255,
                  (Math.floor((t = e % 36) / 6) / 5) * 255,
                  ((t % 6) / 5) * 255,
                ]
              );
            }),
            (c.rgb.hex = function (e) {
              e = (
                ((255 & Math.round(e[0])) << 16) +
                ((255 & Math.round(e[1])) << 8) +
                (255 & Math.round(e[2]))
              )
                .toString(16)
                .toUpperCase();
              return "000000".substring(e.length) + e;
            }),
            (c.hex.rgb = function (e) {
              e = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
              if (!e) return [0, 0, 0];
              let t = e[0];
              3 === e[0].length &&
                (t = t
                  .split("")
                  .map((e) => e + e)
                  .join(""));
              e = parseInt(t, 16);
              return [(e >> 16) & 255, (e >> 8) & 255, 255 & e];
            }),
            (c.rgb.hcg = function (e) {
              var t = e[0] / 255,
                r = e[1] / 255,
                n = e[2] / 255,
                i = Math.max(Math.max(t, r), n),
                o = Math.min(Math.min(t, r), n),
                e = i - o,
                r =
                  e <= 0
                    ? 0
                    : i === t
                      ? ((r - n) / e) % 6
                      : i === r
                        ? 2 + (n - t) / e
                        : 4 + (t - r) / e;
              return (
                (r /= 6),
                [360 * (r %= 1), 100 * e, 100 * (e < 1 ? o / (1 - e) : 0)]
              );
            }),
            (c.hsl.hcg = function (e) {
              var t = e[1] / 100,
                r = e[2] / 100,
                t = r < 0.5 ? 2 * t * r : 2 * t * (1 - r);
              let n = t < 1 ? (r - 0.5 * t) / (1 - t) : 0;
              return [e[0], 100 * t, 100 * n];
            }),
            (c.hsv.hcg = function (e) {
              var t = e[1] / 100,
                r = e[2] / 100,
                t = t * r;
              let n = t < 1 ? (r - t) / (1 - t) : 0;
              return [e[0], 100 * t, 100 * n];
            }),
            (c.hcg.rgb = function (e) {
              var t = e[0] / 360,
                r = e[1] / 100,
                e = e[2] / 100;
              if (0 == r) return [255 * e, 255 * e, 255 * e];
              const n = [0, 0, 0],
                i = (t % 1) * 6,
                o = i % 1,
                s = 1 - o;
              switch (Math.floor(i)) {
                case 0:
                  ((n[0] = 1), (n[1] = o), (n[2] = 0));
                  break;
                case 1:
                  ((n[0] = s), (n[1] = 1), (n[2] = 0));
                  break;
                case 2:
                  ((n[0] = 0), (n[1] = 1), (n[2] = o));
                  break;
                case 3:
                  ((n[0] = 0), (n[1] = s), (n[2] = 1));
                  break;
                case 4:
                  ((n[0] = o), (n[1] = 0), (n[2] = 1));
                  break;
                default:
                  ((n[0] = 1), (n[1] = 0), (n[2] = s));
              }
              return (
                (e = (1 - r) * e),
                [
                  255 * (r * n[0] + e),
                  255 * (r * n[1] + e),
                  255 * (r * n[2] + e),
                ]
              );
            }),
            (c.hcg.hsv = function (e) {
              var t = e[1] / 100,
                r = t + (e[2] / 100) * (1 - t);
              let n = 0 < r ? t / r : 0;
              return [e[0], 100 * n, 100 * r];
            }),
            (c.hcg.hsl = function (e) {
              var t = e[1] / 100,
                r = (e[2] / 100) * (1 - t) + 0.5 * t;
              let n = 0;
              return (
                0 < r && r < 0.5
                  ? (n = t / (2 * r))
                  : 0.5 <= r && r < 1 && (n = t / (2 * (1 - r))),
                [e[0], 100 * n, 100 * r]
              );
            }),
            (c.hcg.hwb = function (e) {
              var t = e[1] / 100,
                r = t + (e[2] / 100) * (1 - t);
              return [e[0], 100 * (r - t), 100 * (1 - r)];
            }),
            (c.hwb.hcg = function (e) {
              var t = e[1] / 100,
                r = 1 - e[2] / 100,
                t = r - t;
              let n = t < 1 ? (r - t) / (1 - t) : 0;
              return [e[0], 100 * t, 100 * n];
            }),
            (c.apple.rgb = function (e) {
              return [
                (e[0] / 65535) * 255,
                (e[1] / 65535) * 255,
                (e[2] / 65535) * 255,
              ];
            }),
            (c.rgb.apple = function (e) {
              return [
                (e[0] / 255) * 65535,
                (e[1] / 255) * 65535,
                (e[2] / 255) * 65535,
              ];
            }),
            (c.gray.rgb = function (e) {
              return [
                (e[0] / 100) * 255,
                (e[0] / 100) * 255,
                (e[0] / 100) * 255,
              ];
            }),
            (c.gray.hsl = function (e) {
              return [0, 0, e[0]];
            }),
            (c.gray.hsv = c.gray.hsl),
            (c.gray.hwb = function (e) {
              return [0, 100, e[0]];
            }),
            (c.gray.cmyk = function (e) {
              return [0, 0, 0, e[0]];
            }),
            (c.gray.lab = function (e) {
              return [e[0], 0, 0];
            }),
            (c.gray.hex = function (e) {
              ((e = 255 & Math.round((e[0] / 100) * 255)),
                (e = ((e << 16) + (e << 8) + e).toString(16).toUpperCase()));
              return "000000".substring(e.length) + e;
            }),
            (c.rgb.gray = function (e) {
              return [((e[0] + e[1] + e[2]) / 3 / 255) * 100];
            }));
        },
        7747: (e, t, r) => {
          const n = r(5043),
            i = r(8074),
            c = {};
          (Object.keys(n).forEach((s) => {
            ((c[s] = {}),
              Object.defineProperty(c[s], "channels", { value: n[s].channels }),
              Object.defineProperty(c[s], "labels", { value: n[s].labels }));
            const a = i(s);
            Object.keys(a).forEach((e) => {
              var r,
                n,
                t = a[e];
              function i(...e) {
                var t = e[0];
                return null == t ? t : (1 < t.length && (e = t), r(e));
              }
              function o(...e) {
                var t = e[0];
                if (null == t) return t;
                1 < t.length && (e = t);
                const r = n(e);
                if ("object" == typeof r)
                  for (let e = r.length, t = 0; t < e; t++)
                    r[t] = Math.round(r[t]);
                return r;
              }
              ((c[s][e] =
                ("conversion" in (n = t) && (o.conversion = n.conversion), o)),
                (c[s][e].raw =
                  ("conversion" in (r = t) && (i.conversion = r.conversion),
                  i)));
            });
          }),
            (e.exports = c));
        },
        8074: (e, t, r) => {
          const a = r(5043);
          function s(e, t) {
            const r = [t[e].parent, e];
            let n = a[t[e].parent][e],
              i = t[e].parent;
            for (; t[i].parent; )
              (r.unshift(t[i].parent),
                (n = (function (t, r) {
                  return function (e) {
                    return r(t(e));
                  };
                })(a[t[i].parent][i], n)),
                (i = t[i].parent));
            return ((n.conversion = r), n);
          }
          e.exports = function (r) {
            const n = (function (r) {
                const n = (function () {
                    const r = {},
                      n = Object.keys(a);
                    for (let e = n.length, t = 0; t < e; t++)
                      r[n[t]] = { distance: -1, parent: null };
                    return r;
                  })(),
                  i = [r];
                for (n[r].distance = 0; i.length; ) {
                  const r = i.pop(),
                    o = Object.keys(a[r]);
                  for (let e = o.length, t = 0; t < e; t++) {
                    const a = o[t],
                      s = n[a];
                    -1 === s.distance &&
                      ((s.distance = n[r].distance + 1),
                      (s.parent = r),
                      i.unshift(a));
                  }
                }
                return n;
              })(r),
              i = {},
              o = Object.keys(n);
            for (let e = o.length, t = 0; t < e; t++) {
              const r = o[t];
              null !== n[r].parent && (i[r] = s(r, n));
            }
            return i;
          };
        },
        1086: (e) => {
          "use strict";
          e.exports = {
            aliceblue: [240, 248, 255],
            antiquewhite: [250, 235, 215],
            aqua: [0, 255, 255],
            aquamarine: [127, 255, 212],
            azure: [240, 255, 255],
            beige: [245, 245, 220],
            bisque: [255, 228, 196],
            black: [0, 0, 0],
            blanchedalmond: [255, 235, 205],
            blue: [0, 0, 255],
            blueviolet: [138, 43, 226],
            brown: [165, 42, 42],
            burlywood: [222, 184, 135],
            cadetblue: [95, 158, 160],
            chartreuse: [127, 255, 0],
            chocolate: [210, 105, 30],
            coral: [255, 127, 80],
            cornflowerblue: [100, 149, 237],
            cornsilk: [255, 248, 220],
            crimson: [220, 20, 60],
            cyan: [0, 255, 255],
            darkblue: [0, 0, 139],
            darkcyan: [0, 139, 139],
            darkgoldenrod: [184, 134, 11],
            darkgray: [169, 169, 169],
            darkgreen: [0, 100, 0],
            darkgrey: [169, 169, 169],
            darkkhaki: [189, 183, 107],
            darkmagenta: [139, 0, 139],
            darkolivegreen: [85, 107, 47],
            darkorange: [255, 140, 0],
            darkorchid: [153, 50, 204],
            darkred: [139, 0, 0],
            darksalmon: [233, 150, 122],
            darkseagreen: [143, 188, 143],
            darkslateblue: [72, 61, 139],
            darkslategray: [47, 79, 79],
            darkslategrey: [47, 79, 79],
            darkturquoise: [0, 206, 209],
            darkviolet: [148, 0, 211],
            deeppink: [255, 20, 147],
            deepskyblue: [0, 191, 255],
            dimgray: [105, 105, 105],
            dimgrey: [105, 105, 105],
            dodgerblue: [30, 144, 255],
            firebrick: [178, 34, 34],
            floralwhite: [255, 250, 240],
            forestgreen: [34, 139, 34],
            fuchsia: [255, 0, 255],
            gainsboro: [220, 220, 220],
            ghostwhite: [248, 248, 255],
            gold: [255, 215, 0],
            goldenrod: [218, 165, 32],
            gray: [128, 128, 128],
            green: [0, 128, 0],
            greenyellow: [173, 255, 47],
            grey: [128, 128, 128],
            honeydew: [240, 255, 240],
            hotpink: [255, 105, 180],
            indianred: [205, 92, 92],
            indigo: [75, 0, 130],
            ivory: [255, 255, 240],
            khaki: [240, 230, 140],
            lavender: [230, 230, 250],
            lavenderblush: [255, 240, 245],
            lawngreen: [124, 252, 0],
            lemonchiffon: [255, 250, 205],
            lightblue: [173, 216, 230],
            lightcoral: [240, 128, 128],
            lightcyan: [224, 255, 255],
            lightgoldenrodyellow: [250, 250, 210],
            lightgray: [211, 211, 211],
            lightgreen: [144, 238, 144],
            lightgrey: [211, 211, 211],
            lightpink: [255, 182, 193],
            lightsalmon: [255, 160, 122],
            lightseagreen: [32, 178, 170],
            lightskyblue: [135, 206, 250],
            lightslategray: [119, 136, 153],
            lightslategrey: [119, 136, 153],
            lightsteelblue: [176, 196, 222],
            lightyellow: [255, 255, 224],
            lime: [0, 255, 0],
            limegreen: [50, 205, 50],
            linen: [250, 240, 230],
            magenta: [255, 0, 255],
            maroon: [128, 0, 0],
            mediumaquamarine: [102, 205, 170],
            mediumblue: [0, 0, 205],
            mediumorchid: [186, 85, 211],
            mediumpurple: [147, 112, 219],
            mediumseagreen: [60, 179, 113],
            mediumslateblue: [123, 104, 238],
            mediumspringgreen: [0, 250, 154],
            mediumturquoise: [72, 209, 204],
            mediumvioletred: [199, 21, 133],
            midnightblue: [25, 25, 112],
            mintcream: [245, 255, 250],
            mistyrose: [255, 228, 225],
            moccasin: [255, 228, 181],
            navajowhite: [255, 222, 173],
            navy: [0, 0, 128],
            oldlace: [253, 245, 230],
            olive: [128, 128, 0],
            olivedrab: [107, 142, 35],
            orange: [255, 165, 0],
            orangered: [255, 69, 0],
            orchid: [218, 112, 214],
            palegoldenrod: [238, 232, 170],
            palegreen: [152, 251, 152],
            paleturquoise: [175, 238, 238],
            palevioletred: [219, 112, 147],
            papayawhip: [255, 239, 213],
            peachpuff: [255, 218, 185],
            peru: [205, 133, 63],
            pink: [255, 192, 203],
            plum: [221, 160, 221],
            powderblue: [176, 224, 230],
            purple: [128, 0, 128],
            rebeccapurple: [102, 51, 153],
            red: [255, 0, 0],
            rosybrown: [188, 143, 143],
            royalblue: [65, 105, 225],
            saddlebrown: [139, 69, 19],
            salmon: [250, 128, 114],
            sandybrown: [244, 164, 96],
            seagreen: [46, 139, 87],
            seashell: [255, 245, 238],
            sienna: [160, 82, 45],
            silver: [192, 192, 192],
            skyblue: [135, 206, 235],
            slateblue: [106, 90, 205],
            slategray: [112, 128, 144],
            slategrey: [112, 128, 144],
            snow: [255, 250, 250],
            springgreen: [0, 255, 127],
            steelblue: [70, 130, 180],
            tan: [210, 180, 140],
            teal: [0, 128, 128],
            thistle: [216, 191, 216],
            tomato: [255, 99, 71],
            turquoise: [64, 224, 208],
            violet: [238, 130, 238],
            wheat: [245, 222, 179],
            white: [255, 255, 255],
            whitesmoke: [245, 245, 245],
            yellow: [255, 255, 0],
            yellowgreen: [154, 205, 50],
          };
        },
        5089: (e, t, r) => {
          var n = r(930),
            i = r(9268),
            o = TypeError;
          e.exports = function (e) {
            if (n(e)) return e;
            throw o(i(e) + " is not a function");
          };
        },
        1449: (e, t, r) => {
          var n = r(1956),
            i = r(9268),
            o = TypeError;
          e.exports = function (e) {
            if (n(e)) return e;
            throw o(i(e) + " is not a constructor");
          };
        },
        1378: (e, t, r) => {
          var n = r(930),
            i = String,
            o = TypeError;
          e.exports = function (e) {
            if ("object" == typeof e || n(e)) return e;
            throw o("Can't set " + i(e) + " as a prototype");
          };
        },
        8669: (e, t, r) => {
          var n = r(211),
            i = r(4710),
            r = r(7826).f,
            o = n("unscopables"),
            s = Array.prototype;
          (null == s[o] && r(s, o, { configurable: !0, value: i(null) }),
            (e.exports = function (e) {
              s[o][e] = !0;
            }));
        },
        9966: (e, t, r) => {
          "use strict";
          var n = r(3448).charAt;
          e.exports = function (e, t, r) {
            return t + (r ? n(e, t).length : 1);
          };
        },
        6112: (e, t, r) => {
          var n = r(8759),
            i = String,
            o = TypeError;
          e.exports = function (e) {
            if (n(e)) return e;
            throw o(i(e) + " is not an object");
          };
        },
        1005: (e, t, r) => {
          r = r(3677);
          e.exports = r(function () {
            var e;
            "function" == typeof ArrayBuffer &&
              ((e = new ArrayBuffer(8)),
              Object.isExtensible(e) &&
                Object.defineProperty(e, "a", { value: 8 }));
          });
        },
        1984: (e, t, r) => {
          "use strict";
          var n = r(8062).forEach,
            r = r(2802)("forEach");
          e.exports = r
            ? [].forEach
            : function (e) {
                return n(this, e, 1 < arguments.length ? arguments[1] : void 0);
              };
        },
        1842: (e, t, r) => {
          "use strict";
          var p = r(8516),
            d = r(9413),
            f = r(3060),
            m = r(7850),
            g = r(2814),
            v = r(1956),
            y = r(2871),
            b = r(9720),
            w = r(3546),
            x = r(1667),
            S = Array;
          e.exports = function (e) {
            var t = f(e),
              r = v(this),
              e = arguments.length,
              n = 1 < e ? arguments[1] : void 0,
              i = void 0 !== n;
            i && (n = p(n, 2 < e ? arguments[2] : void 0));
            var o,
              s,
              a,
              c,
              l,
              u,
              e = x(t),
              h = 0;
            if (!e || (this === S && g(e)))
              for (o = y(t), s = r ? new this(o) : S(o); h < o; h++)
                ((u = i ? n(t[h], h) : t[h]), b(s, h, u));
            else
              for (
                l = (c = w(t, e)).next, s = r ? new this() : [];
                !(a = d(l, c)).done;
                h++
              )
                ((u = i ? m(c, n, [a.value, h], !0) : a.value), b(s, h, u));
            return ((s.length = h), s);
          };
        },
        6198: (e, t, r) => {
          function n(a) {
            return function (e, t, r) {
              var n,
                i = c(e),
                o = u(i),
                s = l(r, o);
              if (a && t != t) {
                for (; s < o; ) if ((n = i[s++]) != n) return !0;
              } else
                for (; s < o; s++)
                  if ((a || s in i) && i[s] === t) return a || s || 0;
              return !a && -1;
            };
          }
          var c = r(4088),
            l = r(7740),
            u = r(2871);
          e.exports = { includes: n(!0), indexOf: n(!1) };
        },
        8062: (e, t, r) => {
          function n(p) {
            var d = 1 == p,
              f = 2 == p,
              m = 3 == p,
              g = 4 == p,
              v = 6 == p,
              y = 7 == p,
              b = 5 == p || v;
            return function (e, t, r, n) {
              for (
                var i,
                  o,
                  s = S(e),
                  a = x(s),
                  c = w(t, r),
                  l = E(a),
                  u = 0,
                  n = n || T,
                  h = d ? n(e, l) : f || y ? n(e, 0) : void 0;
                u < l;
                u++
              )
                if ((b || u in a) && ((o = c((i = a[u]), u, s)), p))
                  if (d) h[u] = o;
                  else if (o)
                    switch (p) {
                      case 3:
                        return !0;
                      case 5:
                        return i;
                      case 6:
                        return u;
                      case 2:
                        C(h, i);
                    }
                  else
                    switch (p) {
                      case 4:
                        return !1;
                      case 7:
                        C(h, i);
                    }
              return v ? -1 : m || g ? g : h;
            };
          }
          var w = r(8516),
            i = r(8240),
            x = r(5974),
            S = r(3060),
            E = r(2871),
            T = r(5574),
            C = i([].push);
          e.exports = {
            forEach: n(0),
            map: n(1),
            filter: n(2),
            some: n(3),
            every: n(4),
            find: n(5),
            findIndex: n(6),
            filterReject: n(7),
          };
        },
        9955: (e, t, r) => {
          var n = r(3677),
            i = r(211),
            o = r(1448),
            s = i("species");
          e.exports = function (t) {
            return (
              51 <= o ||
              !n(function () {
                var e = [];
                return (
                  ((e.constructor = {})[s] = function () {
                    return { foo: 1 };
                  }),
                  1 !== e[t](Boolean).foo
                );
              })
            );
          };
        },
        2802: (e, t, r) => {
          "use strict";
          var n = r(3677);
          e.exports = function (e, t) {
            var r = [][e];
            return (
              !!r &&
              n(function () {
                r.call(
                  null,
                  t ||
                    function () {
                      return 1;
                    },
                  1,
                );
              })
            );
          };
        },
        3329: (e, t, r) => {
          var c = r(7740),
            l = r(2871),
            u = r(9720),
            h = Array,
            p = Math.max;
          e.exports = function (e, t, r) {
            for (
              var n = l(e),
                i = c(t, n),
                o = c(void 0 === r ? n : r, n),
                s = h(p(o - i, 0)),
                a = 0;
              i < o;
              i++, a++
            )
              u(s, a, e[i]);
            return ((s.length = a), s);
          };
        },
        745: (e, t, r) => {
          r = r(8240);
          e.exports = r([].slice);
        },
        8789: (e, t, r) => {
          var n = r(6526),
            i = r(1956),
            o = r(8759),
            s = r(211)("species"),
            a = Array;
          e.exports = function (e) {
            var t;
            return (
              n(e) &&
                ((t = e.constructor),
                ((i(t) && (t === a || n(t.prototype))) ||
                  (o(t) && null === (t = t[s]))) &&
                  (t = void 0)),
              void 0 === t ? a : t
            );
          };
        },
        5574: (e, t, r) => {
          var n = r(8789);
          e.exports = function (e, t) {
            return new (n(e))(0 === t ? 0 : t);
          };
        },
        7850: (e, t, r) => {
          var i = r(6112),
            o = r(6737);
          e.exports = function (e, t, r, n) {
            try {
              return n ? t(i(r)[0], r[1]) : t(r);
            } catch (t) {
              o(e, "throw", t);
            }
          };
        },
        8939: (e, t, r) => {
          var i = r(211)("iterator"),
            o = !1;
          try {
            var n = 0,
              s = {
                next: function () {
                  return { done: !!n++ };
                },
                return: function () {
                  o = !0;
                },
              };
            ((s[i] = function () {
              return this;
            }),
              Array.from(s, function () {
                throw 2;
              }));
          } catch (e) {}
          e.exports = function (e, t) {
            if (!t && !o) return !1;
            var r = !1;
            try {
              var n = {};
              ((n[i] = function () {
                return {
                  next: function () {
                    return { done: (r = !0) };
                  },
                };
              }),
                e(n));
            } catch (e) {}
            return r;
          };
        },
        2306: (e, t, r) => {
          var r = r(8240),
            n = r({}.toString),
            i = r("".slice);
          e.exports = function (e) {
            return i(n(e), 8, -1);
          };
        },
        375: (e, t, r) => {
          var n = r(2371),
            i = r(930),
            o = r(2306),
            s = r(211)("toStringTag"),
            a = Object,
            c =
              "Arguments" ==
              o(
                (function () {
                  return arguments;
                })(),
              );
          e.exports = n
            ? o
            : function (e) {
                var t;
                return void 0 === e
                  ? "Undefined"
                  : null === e
                    ? "Null"
                    : "string" ==
                        typeof (e = (function (e, t) {
                          try {
                            return e[t];
                          } catch (e) {}
                        })((t = a(e)), s))
                      ? e
                      : c
                        ? o(t)
                        : "Object" == (e = o(t)) && i(t.callee)
                          ? "Arguments"
                          : e;
              };
        },
        8474: (e, t, r) => {
          var c = r(9606),
            l = r(6095),
            u = r(4399),
            h = r(7826);
          e.exports = function (e, t, r) {
            for (var n = l(t), i = h.f, o = u.f, s = 0; s < n.length; s++) {
              var a = n[s];
              c(e, a) || (r && c(r, a)) || i(e, a, o(t, a));
            }
          };
        },
        7209: (e, t, r) => {
          r = r(3677);
          e.exports = !r(function () {
            function e() {}
            return (
              (e.prototype.constructor = null),
              Object.getPrototypeOf(new e()) !== e.prototype
            );
          });
        },
        471: (e, t, r) => {
          "use strict";
          function i() {
            return this;
          }
          var o = r(3083).IteratorPrototype,
            s = r(4710),
            a = r(5736),
            c = r(914),
            l = r(7719);
          e.exports = function (e, t, r, n) {
            t += " Iterator";
            return (
              (e.prototype = s(o, { next: a(+!n, r) })),
              c(e, t, !1, !0),
              (l[t] = i),
              e
            );
          };
        },
        2585: (e, t, r) => {
          var n = r(5283),
            i = r(7826),
            o = r(5736);
          e.exports = n
            ? function (e, t, r) {
                return i.f(e, t, o(1, r));
              }
            : function (e, t, r) {
                return ((e[t] = r), e);
              };
        },
        5736: (e) => {
          e.exports = function (e, t) {
            return {
              enumerable: !(1 & e),
              configurable: !(2 & e),
              writable: !(4 & e),
              value: t,
            };
          };
        },
        9720: (e, t, r) => {
          "use strict";
          var n = r(2258),
            i = r(7826),
            o = r(5736);
          e.exports = function (e, t, r) {
            t = n(t);
            t in e ? i.f(e, t, o(0, r)) : (e[t] = r);
          };
        },
        1343: (e, t, r) => {
          var s = r(930),
            a = r(7826),
            c = r(3712),
            l = r(9444);
          e.exports = function (e, t, r, n) {
            var i = (n = n || {}).enumerable,
              o = void 0 !== n.name ? n.name : t;
            if ((s(r) && c(r, o, n), n.global)) i ? (e[t] = r) : l(t, r);
            else {
              try {
                n.unsafe ? e[t] && (i = !0) : delete e[t];
              } catch (e) {}
              i
                ? (e[t] = r)
                : a.f(e, t, {
                    value: r,
                    enumerable: !1,
                    configurable: !n.nonConfigurable,
                    writable: !n.nonWritable,
                  });
            }
            return e;
          };
        },
        9444: (e, t, r) => {
          var n = r(2086),
            i = Object.defineProperty;
          e.exports = function (t, r) {
            try {
              i(n, t, { value: r, configurable: !0, writable: !0 });
            } catch (e) {
              n[t] = r;
            }
            return r;
          };
        },
        8432: (e, t, r) => {
          "use strict";
          function g() {
            return this;
          }
          var v = r(1695),
            y = r(9413),
            b = r(3296),
            n = r(4398),
            w = r(930),
            x = r(471),
            S = r(2130),
            E = r(7530),
            T = r(914),
            C = r(2585),
            P = r(1343),
            i = r(211),
            k = r(7719),
            r = r(3083),
            A = n.PROPER,
            _ = n.CONFIGURABLE,
            I = r.IteratorPrototype,
            O = r.BUGGY_SAFARI_ITERATORS,
            L = i("iterator"),
            H = "values";
          e.exports = function (e, t, r, n, i, o, s) {
            x(r, t, n);
            function a(e) {
              if (e === i && m) return m;
              if (!O && e in d) return d[e];
              switch (e) {
                case "keys":
                case H:
                case "entries":
                  return function () {
                    return new r(this, e);
                  };
              }
              return function () {
                return new r(this);
              };
            }
            var c,
              l,
              u,
              h = t + " Iterator",
              p = !1,
              d = e.prototype,
              f = d[L] || d["@@iterator"] || (i && d[i]),
              m = (!O && f) || a(i),
              n = ("Array" == t && d.entries) || f;
            if (
              (n &&
                (c = S(n.call(new e()))) !== Object.prototype &&
                c.next &&
                (b || S(c) === I || (E ? E(c, I) : w(c[L]) || P(c, L, g)),
                T(c, h, !0, !0),
                b && (k[h] = g)),
              A &&
                i == H &&
                f &&
                f.name !== H &&
                (!b && _
                  ? C(d, "name", H)
                  : ((p = !0),
                    (m = function () {
                      return y(f, this);
                    }))),
              i)
            )
              if (
                ((l = {
                  values: a(H),
                  keys: o ? m : a("keys"),
                  entries: a("entries"),
                }),
                s)
              )
                for (u in l) (!O && !p && u in d) || P(d, u, l[u]);
              else v({ target: t, proto: !0, forced: O || p }, l);
            return (
              (b && !s) || d[L] === m || P(d, L, m, { name: i }),
              (k[t] = m),
              l
            );
          };
        },
        4145: (e, t, r) => {
          var n = r(9775),
            i = r(9606),
            o = r(9251),
            s = r(7826).f;
          e.exports = function (e) {
            var t = n.Symbol || (n.Symbol = {});
            i(t, e) || s(t, e, { value: o.f(e) });
          };
        },
        5283: (e, t, r) => {
          r = r(3677);
          e.exports = !r(function () {
            return (
              7 !=
              Object.defineProperty({}, 1, {
                get: function () {
                  return 7;
                },
              })[1]
            );
          });
        },
        821: (e, t, r) => {
          var n = r(2086),
            r = r(8759),
            i = n.document,
            o = r(i) && r(i.createElement);
          e.exports = function (e) {
            return o ? i.createElement(e) : {};
          };
        },
        7620: (e) => {
          var t = TypeError;
          e.exports = function (e) {
            if (9007199254740991 < e) throw t("Maximum allowed index exceeded");
            return e;
          };
        },
        933: (e) => {
          e.exports = {
            CSSRuleList: 0,
            CSSStyleDeclaration: 0,
            CSSValueList: 0,
            ClientRectList: 0,
            DOMRectList: 0,
            DOMStringList: 0,
            DOMTokenList: 1,
            DataTransferItemList: 0,
            FileList: 0,
            HTMLAllCollection: 0,
            HTMLCollection: 0,
            HTMLFormElement: 0,
            HTMLSelectElement: 0,
            MediaList: 0,
            MimeTypeArray: 0,
            NamedNodeMap: 0,
            NodeList: 1,
            PaintRequestList: 0,
            Plugin: 0,
            PluginArray: 0,
            SVGLengthList: 0,
            SVGNumberList: 0,
            SVGPathSegList: 0,
            SVGPointList: 0,
            SVGStringList: 0,
            SVGTransformList: 0,
            SourceBufferList: 0,
            StyleSheetList: 0,
            TextTrackCueList: 0,
            TextTrackList: 0,
            TouchList: 0,
          };
        },
        3526: (e, t, r) => {
          ((r = r(821)("span").classList),
            (r = r && r.constructor && r.constructor.prototype));
          e.exports = r === Object.prototype ? void 0 : r;
        },
        4999: (e, t, r) => {
          r = r(563);
          e.exports = r("navigator", "userAgent") || "";
        },
        1448: (e, t, r) => {
          var n,
            i,
            o = r(2086),
            s = r(4999),
            r = o.process,
            o = o.Deno,
            o = (r && r.versions) || (o && o.version),
            o = o && o.v8;
          (!(i = o
            ? 0 < (n = o.split("."))[0] && n[0] < 4
              ? 1
              : +(n[0] + n[1])
            : i) &&
            s &&
            (!(n = s.match(/Edge\/(\d+)/)) || 74 <= n[1]) &&
            (n = s.match(/Chrome\/(\d+)/)) &&
            (i = +n[1]),
            (e.exports = i));
        },
        8684: (e) => {
          e.exports = [
            "constructor",
            "hasOwnProperty",
            "isPrototypeOf",
            "propertyIsEnumerable",
            "toLocaleString",
            "toString",
            "valueOf",
          ];
        },
        1695: (e, t, r) => {
          var l = r(2086),
            u = r(4399).f,
            h = r(2585),
            p = r(1343),
            d = r(9444),
            f = r(8474),
            m = r(7189);
          e.exports = function (e, t) {
            var r,
              n,
              i,
              o,
              s = e.target,
              a = e.global,
              c = e.stat;
            if ((r = a ? l : c ? l[s] || d(s, {}) : (l[s] || {}).prototype))
              for (n in t) {
                if (
                  ((i = t[n]),
                  (o = e.dontCallGetSet ? (o = u(r, n)) && o.value : r[n]),
                  !m(a ? n : s + (c ? "." : "#") + n, e.forced) && void 0 !== o)
                ) {
                  if (typeof i == typeof o) continue;
                  f(i, o);
                }
                ((e.sham || (o && o.sham)) && h(i, "sham", !0), p(r, n, i, e));
              }
          };
        },
        3677: (e) => {
          e.exports = function (e) {
            try {
              return !!e();
            } catch (e) {
              return !0;
            }
          };
        },
        2331: (e, t, r) => {
          "use strict";
          r(2077);
          var c = r(8240),
            l = r(1343),
            u = r(4861),
            h = r(3677),
            p = r(211),
            d = r(2585),
            f = p("species"),
            m = RegExp.prototype;
          e.exports = function (r, e, t, n) {
            var s,
              i = p(r),
              a = !h(function () {
                var e = {};
                return (
                  (e[i] = function () {
                    return 7;
                  }),
                  7 != ""[r](e)
                );
              }),
              o =
                a &&
                !h(function () {
                  var e = !1,
                    t = /a/;
                  return (
                    "split" === r &&
                      (((t = {}).constructor = {}),
                      (t.constructor[f] = function () {
                        return t;
                      }),
                      (t.flags = ""),
                      (t[i] = /./[i])),
                    (t.exec = function () {
                      return ((e = !0), null);
                    }),
                    t[i](""),
                    !e
                  );
                });
            ((a && o && !t) ||
              ((s = c(/./[i])),
              (e = e(i, ""[r], function (e, t, r, n, i) {
                var o = c(e),
                  e = t.exec;
                return e === u || e === m.exec
                  ? a && !i
                    ? { done: !0, value: s(t, r, n) }
                    : { done: !0, value: o(r, t, n) }
                  : { done: !1 };
              })),
              l(String.prototype, r, e[0]),
              l(m, i, e[1])),
              n && d(m[i], "sham", !0));
          };
        },
        6910: (e, t, r) => {
          r = r(3677);
          e.exports = !r(function () {
            return Object.isExtensible(Object.preventExtensions({}));
          });
        },
        7258: (e, t, r) => {
          var n = r(6059),
            r = Function.prototype,
            i = r.apply,
            o = r.call;
          e.exports =
            ("object" == typeof Reflect && Reflect.apply) ||
            (n
              ? o.bind(i)
              : function () {
                  return o.apply(i, arguments);
                });
        },
        8516: (e, t, r) => {
          var n = r(8240),
            i = r(5089),
            o = r(6059),
            s = n(n.bind);
          e.exports = function (e, t) {
            return (
              i(e),
              void 0 === t
                ? e
                : o
                  ? s(e, t)
                  : function () {
                      return e.apply(t, arguments);
                    }
            );
          };
        },
        6059: (e, t, r) => {
          r = r(3677);
          e.exports = !r(function () {
            var e = function () {}.bind();
            return "function" != typeof e || e.hasOwnProperty("prototype");
          });
        },
        2395: (e, t, r) => {
          "use strict";
          var n = r(8240),
            o = r(5089),
            s = r(8759),
            a = r(9606),
            c = r(745),
            r = r(6059),
            l = Function,
            u = n([].concat),
            h = n([].join),
            p = {};
          e.exports = r
            ? l.bind
            : function (t) {
                var r = o(this),
                  e = r.prototype,
                  n = c(arguments, 1),
                  i = function () {
                    var e = u(n, c(arguments));
                    return this instanceof i
                      ? (function (e, t, r) {
                          if (!a(p, t)) {
                            for (var n = [], i = 0; i < t; i++)
                              n[i] = "a[" + i + "]";
                            p[t] = l("C,a", "return new C(" + h(n, ",") + ")");
                          }
                          return p[t](e, r);
                        })(r, e.length, e)
                      : r.apply(t, e);
                  };
                return (s(e) && (i.prototype = e), i);
              };
        },
        9413: (e, t, r) => {
          var r = r(6059),
            n = Function.prototype.call;
          e.exports = r
            ? n.bind(n)
            : function () {
                return n.apply(n, arguments);
              };
        },
        4398: (e, t, r) => {
          var n = r(5283),
            i = r(9606),
            o = Function.prototype,
            s = n && Object.getOwnPropertyDescriptor,
            r = i(o, "name"),
            i = r && "something" === function () {}.name,
            o = r && (!n || s(o, "name").configurable);
          e.exports = { EXISTS: r, PROPER: i, CONFIGURABLE: o };
        },
        8240: (e, t, r) => {
          var n = r(6059),
            i = Function.prototype,
            r = i.bind,
            o = i.call,
            s = n && r.bind(o, o);
          e.exports = n
            ? function (e) {
                return e && s(e);
              }
            : function (e) {
                return (
                  e &&
                  function () {
                    return o.apply(e, arguments);
                  }
                );
              };
        },
        563: (e, t, r) => {
          var n = r(2086),
            i = r(930);
          e.exports = function (e, t) {
            return arguments.length < 2
              ? ((r = n[e]), i(r) ? r : void 0)
              : n[e] && n[e][t];
            var r;
          };
        },
        1667: (e, t, r) => {
          var n = r(375),
            i = r(2964),
            o = r(7719),
            s = r(211)("iterator");
          e.exports = function (e) {
            if (null != e) return i(e, s) || i(e, "@@iterator") || o[n(e)];
          };
        },
        3546: (e, t, r) => {
          var n = r(9413),
            i = r(5089),
            o = r(6112),
            s = r(9268),
            a = r(1667),
            c = TypeError;
          e.exports = function (e, t) {
            var r = arguments.length < 2 ? a(e) : t;
            if (i(r)) return o(n(r, e));
            throw c(s(e) + " is not iterable");
          };
        },
        2964: (e, t, r) => {
          var n = r(5089);
          e.exports = function (e, t) {
            t = e[t];
            return null == t ? void 0 : n(t);
          };
        },
        8509: (e, t, r) => {
          var n = r(8240),
            i = r(3060),
            p = Math.floor,
            d = n("".charAt),
            f = n("".replace),
            m = n("".slice),
            g = /\$([$&'`]|\d{1,2}|<[^>]*>)/g,
            v = /\$([$&'`]|\d{1,2})/g;
          e.exports = function (o, s, a, c, l, e) {
            var u = a + o.length,
              h = c.length,
              t = v;
            return (
              void 0 !== l && ((l = i(l)), (t = g)),
              f(e, t, function (e, t) {
                var r;
                switch (d(t, 0)) {
                  case "$":
                    return "$";
                  case "&":
                    return o;
                  case "`":
                    return m(s, 0, a);
                  case "'":
                    return m(s, u);
                  case "<":
                    r = l[m(t, 1, -1)];
                    break;
                  default:
                    var n = +t;
                    if (0 == n) return e;
                    if (h < n) {
                      var i = p(n / 10);
                      return 0 !== i && i <= h
                        ? void 0 === c[i - 1]
                          ? d(t, 1)
                          : c[i - 1] + d(t, 1)
                        : e;
                    }
                    r = c[n - 1];
                }
                return void 0 === r ? "" : r;
              })
            );
          };
        },
        2086: (e, t, r) => {
          function n(e) {
            return e && e.Math == Math && e;
          }
          e.exports =
            n("object" == typeof globalThis && globalThis) ||
            n("object" == typeof window && window) ||
            n("object" == typeof self && self) ||
            n("object" == typeof r.g && r.g) ||
            (function () {
              return this;
            })() ||
            Function("return this")();
        },
        9606: (e, t, r) => {
          var n = r(8240),
            i = r(3060),
            o = n({}.hasOwnProperty);
          e.exports =
            Object.hasOwn ||
            function (e, t) {
              return o(i(e), t);
            };
        },
        7153: (e) => {
          e.exports = {};
        },
        5963: (e, t, r) => {
          r = r(563);
          e.exports = r("document", "documentElement");
        },
        6761: (e, t, r) => {
          var n = r(5283),
            i = r(3677),
            o = r(821);
          e.exports =
            !n &&
            !i(function () {
              return (
                7 !=
                Object.defineProperty(o("div"), "a", {
                  get: function () {
                    return 7;
                  },
                }).a
              );
            });
        },
        5974: (e, t, r) => {
          var n = r(8240),
            i = r(3677),
            o = r(2306),
            s = Object,
            a = n("".split);
          e.exports = i(function () {
            return !s("z").propertyIsEnumerable(0);
          })
            ? function (e) {
                return "String" == o(e) ? a(e, "") : s(e);
              }
            : s;
        },
        9277: (e, t, r) => {
          var n = r(8240),
            i = r(930),
            r = r(4489),
            o = n(Function.toString);
          (i(r.inspectSource) ||
            (r.inspectSource = function (e) {
              return o(e);
            }),
            (e.exports = r.inspectSource));
        },
        2423: (e, t, r) => {
          function n(e) {
            l(e, g, { value: { objectID: "O" + v++, weakData: {} } });
          }
          var s = r(1695),
            a = r(8240),
            i = r(7153),
            o = r(8759),
            c = r(9606),
            l = r(7826).f,
            u = r(62),
            h = r(3226),
            p = r(3813),
            d = r(5422),
            f = r(6910),
            m = !1,
            g = d("meta"),
            v = 0,
            y = (e.exports = {
              enable: function () {
                ((y.enable = function () {}), (m = !0));
                var i = u.f,
                  o = a([].splice),
                  e = {};
                ((e[g] = 1),
                  i(e).length &&
                    ((u.f = function (e) {
                      for (var t = i(e), r = 0, n = t.length; r < n; r++)
                        if (t[r] === g) {
                          o(t, r, 1);
                          break;
                        }
                      return t;
                    }),
                    s(
                      { target: "Object", stat: !0, forced: !0 },
                      { getOwnPropertyNames: h.f },
                    )));
              },
              fastKey: function (e, t) {
                if (!o(e))
                  return "symbol" == typeof e
                    ? e
                    : ("string" == typeof e ? "S" : "P") + e;
                if (!c(e, g)) {
                  if (!p(e)) return "F";
                  if (!t) return "E";
                  n(e);
                }
                return e[g].objectID;
              },
              getWeakData: function (e, t) {
                if (!c(e, g)) {
                  if (!p(e)) return !0;
                  if (!t) return !1;
                  n(e);
                }
                return e[g].weakData;
              },
              onFreeze: function (e) {
                return (f && m && p(e) && !c(e, g) && n(e), e);
              },
            });
          i[g] = !0;
        },
        3278: (e, t, r) => {
          var n,
            i,
            o,
            s,
            a,
            c,
            l,
            u,
            h = r(9316),
            p = r(2086),
            d = r(8240),
            f = r(8759),
            m = r(2585),
            g = r(9606),
            v = r(4489),
            y = r(8944),
            r = r(7153),
            b = "Object already initialized",
            w = p.TypeError,
            p = p.WeakMap;
          ((l =
            h || v.state
              ? ((n = v.state || (v.state = new p())),
                (i = d(n.get)),
                (o = d(n.has)),
                (s = d(n.set)),
                (a = function (e, t) {
                  if (o(n, e)) throw new w(b);
                  return ((t.facade = e), s(n, e, t), t);
                }),
                (c = function (e) {
                  return i(n, e) || {};
                }),
                function (e) {
                  return o(n, e);
                })
              : ((r[(u = y("state"))] = !0),
                (a = function (e, t) {
                  if (g(e, u)) throw new w(b);
                  return ((t.facade = e), m(e, u, t), t);
                }),
                (c = function (e) {
                  return g(e, u) ? e[u] : {};
                }),
                function (e) {
                  return g(e, u);
                })),
            (e.exports = {
              set: a,
              get: c,
              has: l,
              enforce: function (e) {
                return l(e) ? c(e) : a(e, {});
              },
              getterFor: function (r) {
                return function (e) {
                  var t;
                  if (!f(e) || (t = c(e)).type !== r)
                    throw w("Incompatible receiver, " + r + " required");
                  return t;
                };
              },
            }));
        },
        2814: (e, t, r) => {
          var n = r(211),
            i = r(7719),
            o = n("iterator"),
            s = Array.prototype;
          e.exports = function (e) {
            return void 0 !== e && (i.Array === e || s[o] === e);
          };
        },
        6526: (e, t, r) => {
          var n = r(2306);
          e.exports =
            Array.isArray ||
            function (e) {
              return "Array" == n(e);
            };
        },
        930: (e) => {
          e.exports = function (e) {
            return "function" == typeof e;
          };
        },
        1956: (e, t, r) => {
          function n() {}
          function i(e) {
            if (!c(e)) return !1;
            try {
              return (d(n, p, e), !0);
            } catch (e) {
              return !1;
            }
          }
          function o(e) {
            if (!c(e)) return !1;
            switch (l(e)) {
              case "AsyncFunction":
              case "GeneratorFunction":
              case "AsyncGeneratorFunction":
                return !1;
            }
            try {
              return g || !!m(f, h(e));
            } catch (e) {
              return !0;
            }
          }
          var s = r(8240),
            a = r(3677),
            c = r(930),
            l = r(375),
            u = r(563),
            h = r(9277),
            p = [],
            d = u("Reflect", "construct"),
            f = /^\s*(?:class|function)\b/,
            m = s(f.exec),
            g = !f.exec(n);
          ((o.sham = !0),
            (e.exports =
              !d ||
              a(function () {
                var e;
                return (
                  i(i.call) ||
                  !i(Object) ||
                  !i(function () {
                    e = !0;
                  }) ||
                  e
                );
              })
                ? o
                : i));
        },
        7189: (e, t, r) => {
          function n(e, t) {
            return (e = c[a(e)]) == u || (e != l && (o(t) ? i(t) : !!t));
          }
          var i = r(3677),
            o = r(930),
            s = /#|\.prototype\./,
            a = (n.normalize = function (e) {
              return String(e).replace(s, ".").toLowerCase();
            }),
            c = (n.data = {}),
            l = (n.NATIVE = "N"),
            u = (n.POLYFILL = "P");
          e.exports = n;
        },
        8759: (e, t, r) => {
          var n = r(930);
          e.exports = function (e) {
            return "object" == typeof e ? null !== e : n(e);
          };
        },
        3296: (e) => {
          e.exports = !1;
        },
        7994: (e, t, r) => {
          var n = r(8759),
            i = r(2306),
            o = r(211)("match");
          e.exports = function (e) {
            var t;
            return n(e) && (void 0 !== (t = e[o]) ? !!t : "RegExp" == i(e));
          };
        },
        2071: (e, t, r) => {
          var n = r(563),
            i = r(930),
            o = r(5516),
            r = r(1876),
            s = Object;
          e.exports = r
            ? function (e) {
                return "symbol" == typeof e;
              }
            : function (e) {
                var t = n("Symbol");
                return i(t) && o(t.prototype, s(e));
              };
        },
        6737: (e, t, r) => {
          var o = r(9413),
            s = r(6112),
            a = r(2964);
          e.exports = function (e, t, r) {
            var n, i;
            s(e);
            try {
              if (!(n = a(e, "return"))) {
                if ("throw" === t) throw r;
                return r;
              }
              n = o(n, e);
            } catch (e) {
              ((i = !0), (n = e));
            }
            if ("throw" === t) throw r;
            if (i) throw n;
            return (s(n), r);
          };
        },
        3083: (e, t, r) => {
          "use strict";
          var n,
            i = r(3677),
            o = r(930),
            s = r(4710),
            a = r(2130),
            c = r(1343),
            l = r(211),
            u = r(3296),
            h = l("iterator"),
            r = !1;
          ([].keys &&
            ("next" in (l = [].keys())
              ? (l = a(a(l))) !== Object.prototype && (n = l)
              : (r = !0)),
            null == n ||
            i(function () {
              var e = {};
              return n[h].call(e) !== e;
            })
              ? (n = {})
              : u && (n = s(n)),
            o(n[h]) ||
              c(n, h, function () {
                return this;
              }),
            (e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: r }));
        },
        7719: (e) => {
          e.exports = {};
        },
        2871: (e, t, r) => {
          var n = r(4005);
          e.exports = function (e) {
            return n(e.length);
          };
        },
        3712: (e, t, r) => {
          var n = r(3677),
            i = r(930),
            o = r(9606),
            s = r(5283),
            a = r(4398).CONFIGURABLE,
            c = r(9277),
            r = r(3278),
            l = r.enforce,
            u = r.get,
            h = Object.defineProperty,
            p =
              s &&
              !n(function () {
                return 8 !== h(function () {}, "length", { value: 8 }).length;
              }),
            d = String(String).split("String"),
            e = (e.exports = function (e, t, r) {
              ("Symbol(" === String(t).slice(0, 7) &&
                (t = "[" + String(t).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"),
                r && r.getter && (t = "get " + t),
                r && r.setter && (t = "set " + t),
                (!o(e, "name") || (a && e.name !== t)) &&
                  (s
                    ? h(e, "name", { value: t, configurable: !0 })
                    : (e.name = t)),
                p &&
                  r &&
                  o(r, "arity") &&
                  e.length !== r.arity &&
                  h(e, "length", { value: r.arity }));
              try {
                r && o(r, "constructor") && r.constructor
                  ? s && h(e, "prototype", { writable: !1 })
                  : e.prototype && (e.prototype = void 0);
              } catch (e) {}
              r = l(e);
              return (
                o(r, "source") ||
                  (r.source = d.join("string" == typeof t ? t : "")),
                e
              );
            });
          Function.prototype.toString = e(function () {
            return (i(this) && u(this).source) || c(this);
          }, "toString");
        },
        5681: (e) => {
          var t = Math.ceil,
            r = Math.floor;
          e.exports =
            Math.trunc ||
            function (e) {
              e = +e;
              return (0 < e ? r : t)(e);
            };
        },
        3441: (e, t, r) => {
          r = r(3193);
          e.exports = r && !!Symbol.for && !!Symbol.keyFor;
        },
        3193: (e, t, r) => {
          var n = r(1448),
            r = r(3677);
          e.exports =
            !!Object.getOwnPropertySymbols &&
            !r(function () {
              var e = Symbol();
              return (
                !String(e) ||
                !(Object(e) instanceof Symbol) ||
                (!Symbol.sham && n && n < 41)
              );
            });
        },
        9316: (e, t, r) => {
          var n = r(2086),
            i = r(930),
            r = r(9277),
            n = n.WeakMap;
          e.exports = i(n) && /native code/.test(r(n));
        },
        8675: (e, t, r) => {
          "use strict";
          var p = r(5283),
            n = r(8240),
            d = r(9413),
            i = r(3677),
            f = r(8779),
            m = r(6952),
            g = r(7446),
            v = r(3060),
            y = r(5974),
            o = Object.assign,
            s = Object.defineProperty,
            b = n([].concat);
          e.exports =
            !o ||
            i(function () {
              if (
                p &&
                1 !==
                  o(
                    { b: 1 },
                    o(
                      s({}, "a", {
                        enumerable: !0,
                        get: function () {
                          s(this, "b", { value: 3, enumerable: !1 });
                        },
                      }),
                      { b: 2 },
                    ),
                  ).b
              )
                return !0;
              var e = {},
                t = {},
                r = Symbol(),
                n = "abcdefghijklmnopqrst";
              return (
                (e[r] = 7),
                n.split("").forEach(function (e) {
                  t[e] = e;
                }),
                7 != o({}, e)[r] || f(o({}, t)).join("") != n
              );
            })
              ? function (e, t) {
                  for (
                    var r = v(e), n = arguments.length, i = 1, o = m.f, s = g.f;
                    i < n;

                  )
                    for (
                      var a,
                        c = y(arguments[i++]),
                        l = o ? b(f(c), o(c)) : f(c),
                        u = l.length,
                        h = 0;
                      h < u;

                    )
                      ((a = l[h++]), (p && !d(s, c, a)) || (r[a] = c[a]));
                  return r;
                }
              : o;
        },
        4710: (e, t, r) => {
          function n() {}
          function i(e) {
            (e.write(m("")), e.close());
            var t = e.parentWindow.Object;
            return ((e = null), t);
          }
          var o,
            s = r(6112),
            a = r(7711),
            c = r(8684),
            l = r(7153),
            u = r(5963),
            h = r(821),
            r = r(8944),
            p = "prototype",
            d = "script",
            f = r("IE_PROTO"),
            m = function (e) {
              return "<" + d + ">" + e + "</" + d + ">";
            },
            g = function () {
              try {
                o = new ActiveXObject("htmlfile");
              } catch (e) {}
              var e, t, r;
              g =
                "undefined" == typeof document || (document.domain && o)
                  ? i(o)
                  : ((t = h("iframe")),
                    (r = "java" + d + ":"),
                    (t.style.display = "none"),
                    u.appendChild(t),
                    (t.src = String(r)),
                    (e = t.contentWindow.document).open(),
                    e.write(m("document.F=Object")),
                    e.close(),
                    e.F);
              for (var n = c.length; n--; ) delete g[p][c[n]];
              return g();
            };
          ((l[f] = !0),
            (e.exports =
              Object.create ||
              function (e, t) {
                var r;
                return (
                  null !== e
                    ? ((n[p] = s(e)), (r = new n()), (n[p] = null), (r[f] = e))
                    : (r = g()),
                  void 0 === t ? r : a.f(r, t)
                );
              }));
        },
        7711: (e, t, r) => {
          var n = r(5283),
            i = r(8202),
            a = r(7826),
            c = r(6112),
            l = r(4088),
            u = r(8779);
          t.f =
            n && !i
              ? Object.defineProperties
              : function (e, t) {
                  c(e);
                  for (var r, n = l(t), i = u(t), o = i.length, s = 0; s < o; )
                    a.f(e, (r = i[s++]), n[r]);
                  return e;
                };
        },
        7826: (e, t, r) => {
          var n = r(5283),
            i = r(6761),
            o = r(8202),
            s = r(6112),
            a = r(2258),
            c = TypeError,
            l = Object.defineProperty,
            u = Object.getOwnPropertyDescriptor,
            h = "enumerable",
            p = "configurable",
            d = "writable";
          t.f = n
            ? o
              ? function (e, t, r) {
                  var n;
                  return (
                    s(e),
                    (t = a(t)),
                    s(r),
                    "function" == typeof e &&
                      "prototype" === t &&
                      "value" in r &&
                      d in r &&
                      !r[d] &&
                      (n = u(e, t)) &&
                      n[d] &&
                      ((e[t] = r.value),
                      (r = {
                        configurable: (p in r ? r : n)[p],
                        enumerable: (h in r ? r : n)[h],
                        writable: !1,
                      })),
                    l(e, t, r)
                  );
                }
              : l
            : function (e, t, r) {
                if ((s(e), (t = a(t)), s(r), i))
                  try {
                    return l(e, t, r);
                  } catch (e) {}
                if ("get" in r || "set" in r)
                  throw c("Accessors not supported");
                return ("value" in r && (e[t] = r.value), e);
              };
        },
        4399: (e, t, r) => {
          var n = r(5283),
            i = r(9413),
            o = r(7446),
            s = r(5736),
            a = r(4088),
            c = r(2258),
            l = r(9606),
            u = r(6761),
            h = Object.getOwnPropertyDescriptor;
          t.f = n
            ? h
            : function (e, t) {
                if (((e = a(e)), (t = c(t)), u))
                  try {
                    return h(e, t);
                  } catch (e) {}
                if (l(e, t)) return s(!i(o.f, e, t), e[t]);
              };
        },
        3226: (e, t, r) => {
          var n = r(2306),
            i = r(4088),
            o = r(62).f,
            s = r(3329),
            a =
              "object" == typeof window && window && Object.getOwnPropertyNames
                ? Object.getOwnPropertyNames(window)
                : [];
          e.exports.f = function (e) {
            return a && "Window" == n(e)
              ? (function (e) {
                  try {
                    return o(e);
                  } catch (e) {
                    return s(a);
                  }
                })(e)
              : o(i(e));
          };
        },
        62: (e, t, r) => {
          var n = r(1352),
            i = r(8684).concat("length", "prototype");
          t.f =
            Object.getOwnPropertyNames ||
            function (e) {
              return n(e, i);
            };
        },
        6952: (e, t) => {
          t.f = Object.getOwnPropertySymbols;
        },
        2130: (e, t, r) => {
          var n = r(9606),
            i = r(930),
            o = r(3060),
            s = r(8944),
            r = r(7209),
            a = s("IE_PROTO"),
            c = Object,
            l = c.prototype;
          e.exports = r
            ? c.getPrototypeOf
            : function (e) {
                var t = o(e);
                if (n(t, a)) return t[a];
                e = t.constructor;
                return i(e) && t instanceof e
                  ? e.prototype
                  : t instanceof c
                    ? l
                    : null;
              };
        },
        3813: (e, t, r) => {
          var n = r(3677),
            i = r(8759),
            o = r(2306),
            s = r(1005),
            a = Object.isExtensible,
            n = n(function () {
              a(1);
            });
          e.exports =
            n || s
              ? function (e) {
                  return (
                    !!i(e) && (!s || "ArrayBuffer" != o(e)) && (!a || a(e))
                  );
                }
              : a;
        },
        5516: (e, t, r) => {
          r = r(8240);
          e.exports = r({}.isPrototypeOf);
        },
        1352: (e, t, r) => {
          var n = r(8240),
            s = r(9606),
            a = r(4088),
            c = r(6198).indexOf,
            l = r(7153),
            u = n([].push);
          e.exports = function (e, t) {
            var r,
              n = a(e),
              i = 0,
              o = [];
            for (r in n) !s(l, r) && s(n, r) && u(o, r);
            for (; t.length > i; ) s(n, (r = t[i++])) && (~c(o, r) || u(o, r));
            return o;
          };
        },
        8779: (e, t, r) => {
          var n = r(1352),
            i = r(8684);
          e.exports =
            Object.keys ||
            function (e) {
              return n(e, i);
            };
        },
        7446: (e, t) => {
          "use strict";
          var r = {}.propertyIsEnumerable,
            n = Object.getOwnPropertyDescriptor,
            i = n && !r.call({ 1: 2 }, 1);
          t.f = i
            ? function (e) {
                e = n(this, e);
                return !!e && e.enumerable;
              }
            : r;
        },
        7530: (e, t, r) => {
          var i = r(8240),
            o = r(6112),
            s = r(1378);
          e.exports =
            Object.setPrototypeOf ||
            ("__proto__" in {}
              ? (function () {
                  var r,
                    n = !1,
                    e = {};
                  try {
                    ((r = i(
                      Object.getOwnPropertyDescriptor(
                        Object.prototype,
                        "__proto__",
                      ).set,
                    ))(e, []),
                      (n = e instanceof Array));
                  } catch (r) {}
                  return function (e, t) {
                    return (o(e), s(t), n ? r(e, t) : (e.__proto__ = t), e);
                  };
                })()
              : void 0);
        },
        999: (e, t, r) => {
          "use strict";
          var n = r(2371),
            i = r(375);
          e.exports = n
            ? {}.toString
            : function () {
                return "[object " + i(this) + "]";
              };
        },
        7999: (e, t, r) => {
          var i = r(9413),
            o = r(930),
            s = r(8759),
            a = TypeError;
          e.exports = function (e, t) {
            var r, n;
            if ("string" === t && o((r = e.toString)) && !s((n = i(r, e))))
              return n;
            if (o((r = e.valueOf)) && !s((n = i(r, e)))) return n;
            if ("string" !== t && o((r = e.toString)) && !s((n = i(r, e))))
              return n;
            throw a("Can't convert object to primitive value");
          };
        },
        6095: (e, t, r) => {
          var n = r(563),
            i = r(8240),
            o = r(62),
            s = r(6952),
            a = r(6112),
            c = i([].concat);
          e.exports =
            n("Reflect", "ownKeys") ||
            function (e) {
              var t = o.f(a(e)),
                r = s.f;
              return r ? c(t, r(e)) : t;
            };
        },
        9775: (e, t, r) => {
          r = r(2086);
          e.exports = r;
        },
        1189: (e, t, r) => {
          var n = r(9413),
            i = r(6112),
            o = r(930),
            s = r(2306),
            a = r(4861),
            c = TypeError;
          e.exports = function (e, t) {
            var r = e.exec;
            if (o(r)) {
              r = n(r, e, t);
              return (null !== r && i(r), r);
            }
            if ("RegExp" === s(e)) return n(a, e, t);
            throw c("RegExp#exec called on incompatible receiver");
          };
        },
        4861: (e, t, r) => {
          "use strict";
          var f = r(9413),
            n = r(8240),
            m = r(4059),
            g = r(4276),
            i = r(4930),
            o = r(9197),
            v = r(4710),
            y = r(3278).get,
            s = r(2582),
            r = r(2910),
            b = o("native-string-replace", String.prototype.replace),
            w = RegExp.prototype.exec,
            x = w,
            S = n("".charAt),
            E = n("".indexOf),
            T = n("".replace),
            C = n("".slice),
            P =
              ((o = /b*/g),
              f(w, (n = /a/), "a"),
              f(w, o, "a"),
              0 !== n.lastIndex || 0 !== o.lastIndex),
            k = i.BROKEN_CARET,
            A = void 0 !== /()??/.exec("")[1];
          ((P || A || k || s || r) &&
            (x = function (e) {
              var t,
                r,
                n,
                i,
                o,
                s,
                a = this,
                c = y(a),
                l = m(e),
                u = c.raw;
              if (u)
                return (
                  (u.lastIndex = a.lastIndex),
                  (d = f(x, u, l)),
                  (a.lastIndex = u.lastIndex),
                  d
                );
              var h = c.groups,
                p = k && a.sticky,
                e = f(g, a),
                u = a.source,
                d = 0,
                c = l;
              if (
                (p &&
                  ((e = T(e, "y", "")),
                  -1 === E(e, "g") && (e += "g"),
                  (c = C(l, a.lastIndex)),
                  0 < a.lastIndex &&
                    (!a.multiline ||
                      (a.multiline && "\n" !== S(l, a.lastIndex - 1))) &&
                    ((u = "(?: " + u + ")"), (c = " " + c), d++),
                  (t = new RegExp("^(?:" + u + ")", e))),
                A && (t = new RegExp("^" + u + "$(?!\\s)", e)),
                P && (r = a.lastIndex),
                (n = f(w, p ? t : a, c)),
                p
                  ? n
                    ? ((n.input = C(n.input, d)),
                      (n[0] = C(n[0], d)),
                      (n.index = a.lastIndex),
                      (a.lastIndex += n[0].length))
                    : (a.lastIndex = 0)
                  : P &&
                    n &&
                    (a.lastIndex = a.global ? n.index + n[0].length : r),
                A &&
                  n &&
                  1 < n.length &&
                  f(b, n[0], t, function () {
                    for (i = 1; i < arguments.length - 2; i++)
                      void 0 === arguments[i] && (n[i] = void 0);
                  }),
                n && h)
              )
                for (n.groups = o = v(null), i = 0; i < h.length; i++)
                  o[(s = h[i])[0]] = n[s[1]];
              return n;
            }),
            (e.exports = x));
        },
        4276: (e, t, r) => {
          "use strict";
          var n = r(6112);
          e.exports = function () {
            var e = n(this),
              t = "";
            return (
              e.hasIndices && (t += "d"),
              e.global && (t += "g"),
              e.ignoreCase && (t += "i"),
              e.multiline && (t += "m"),
              e.dotAll && (t += "s"),
              e.unicode && (t += "u"),
              e.unicodeSets && (t += "v"),
              e.sticky && (t += "y"),
              t
            );
          };
        },
        9028: (e, t, r) => {
          var n = r(9413),
            i = r(9606),
            o = r(5516),
            s = r(4276),
            a = RegExp.prototype;
          e.exports = function (e) {
            var t = e.flags;
            return void 0 !== t || "flags" in a || i(e, "flags") || !o(a, e)
              ? t
              : n(s, e);
          };
        },
        4930: (e, t, r) => {
          var n = r(3677),
            i = r(2086).RegExp,
            o = n(function () {
              var e = i("a", "y");
              return ((e.lastIndex = 2), null != e.exec("abcd"));
            }),
            r =
              o ||
              n(function () {
                return !i("a", "y").sticky;
              }),
            n =
              o ||
              n(function () {
                var e = i("^r", "gy");
                return ((e.lastIndex = 2), null != e.exec("str"));
              });
          e.exports = { BROKEN_CARET: n, MISSED_STICKY: r, UNSUPPORTED_Y: o };
        },
        2582: (e, t, r) => {
          var n = r(3677),
            i = r(2086).RegExp;
          e.exports = n(function () {
            var e = i(".", "s");
            return !(e.dotAll && e.exec("\n") && "s" === e.flags);
          });
        },
        2910: (e, t, r) => {
          var n = r(3677),
            i = r(2086).RegExp;
          e.exports = n(function () {
            var e = i("(?<a>b)", "g");
            return (
              "b" !== e.exec("b").groups.a || "bc" !== "b".replace(e, "$<a>c")
            );
          });
        },
        9586: (e) => {
          var t = TypeError;
          e.exports = function (e) {
            if (null == e) throw t("Can't call method on " + e);
            return e;
          };
        },
        914: (e, t, r) => {
          var n = r(7826).f,
            i = r(9606),
            o = r(211)("toStringTag");
          e.exports = function (e, t, r) {
            (e = e && !r ? e.prototype : e) &&
              !i(e, o) &&
              n(e, o, { configurable: !0, value: t });
          };
        },
        8944: (e, t, r) => {
          var n = r(9197),
            i = r(5422),
            o = n("keys");
          e.exports = function (e) {
            return o[e] || (o[e] = i(e));
          };
        },
        4489: (e, t, r) => {
          var n = r(2086),
            i = r(9444),
            r = "__core-js_shared__",
            r = n[r] || i(r, {});
          e.exports = r;
        },
        9197: (e, t, r) => {
          var n = r(3296),
            i = r(4489);
          (e.exports = function (e, t) {
            return i[e] || (i[e] = void 0 !== t ? t : {});
          })("versions", []).push({
            version: "3.23.3",
            mode: n ? "pure" : "global",
            copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)",
            license: "https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE",
            source: "https://github.com/zloirock/core-js",
          });
        },
        8515: (e, t, r) => {
          var n = r(6112),
            i = r(1449),
            o = r(211)("species");
          e.exports = function (e, t) {
            var r,
              e = n(e).constructor;
            return void 0 === e || null == (r = n(e)[o]) ? t : i(r);
          };
        },
        3448: (e, t, r) => {
          function n(o) {
            return function (e, t) {
              var r,
                n = a(c(e)),
                i = s(t),
                e = n.length;
              return i < 0 || e <= i
                ? o
                  ? ""
                  : void 0
                : (t = u(n, i)) < 55296 ||
                    56319 < t ||
                    i + 1 === e ||
                    (r = u(n, i + 1)) < 56320 ||
                    57343 < r
                  ? o
                    ? l(n, i)
                    : t
                  : o
                    ? h(n, i, i + 2)
                    : r - 56320 + ((t - 55296) << 10) + 65536;
            };
          }
          var i = r(8240),
            s = r(9502),
            a = r(4059),
            c = r(9586),
            l = i("".charAt),
            u = i("".charCodeAt),
            h = i("".slice);
          e.exports = { codeAt: n(!1), charAt: n(!0) };
        },
        338: (e, t, r) => {
          var n = r(9413),
            i = r(563),
            o = r(211),
            s = r(1343);
          e.exports = function () {
            var e = i("Symbol"),
              t = e && e.prototype,
              r = t && t.valueOf,
              e = o("toPrimitive");
            t &&
              !t[e] &&
              s(
                t,
                e,
                function (e) {
                  return n(r, this);
                },
                { arity: 1 },
              );
          };
        },
        7740: (e, t, r) => {
          var n = r(9502),
            i = Math.max,
            o = Math.min;
          e.exports = function (e, t) {
            e = n(e);
            return e < 0 ? i(e + t, 0) : o(e, t);
          };
        },
        4088: (e, t, r) => {
          var n = r(5974),
            i = r(9586);
          e.exports = function (e) {
            return n(i(e));
          };
        },
        9502: (e, t, r) => {
          var n = r(5681);
          e.exports = function (e) {
            e = +e;
            return e != e || 0 == e ? 0 : n(e);
          };
        },
        4005: (e, t, r) => {
          var n = r(9502),
            i = Math.min;
          e.exports = function (e) {
            return 0 < e ? i(n(e), 9007199254740991) : 0;
          };
        },
        3060: (e, t, r) => {
          var n = r(9586),
            i = Object;
          e.exports = function (e) {
            return i(n(e));
          };
        },
        1288: (e, t, r) => {
          var n = r(9413),
            i = r(8759),
            o = r(2071),
            s = r(2964),
            a = r(7999),
            r = r(211),
            c = TypeError,
            l = r("toPrimitive");
          e.exports = function (e, t) {
            if (!i(e) || o(e)) return e;
            var r = s(e, l);
            if (r) {
              if (
                ((r = n(r, e, (t = void 0 === t ? "default" : t))),
                !i(r) || o(r))
              )
                return r;
              throw c("Can't convert object to primitive value");
            }
            return a(e, (t = void 0 === t ? "number" : t));
          };
        },
        2258: (e, t, r) => {
          var n = r(1288),
            i = r(2071);
          e.exports = function (e) {
            e = n(e, "string");
            return i(e) ? e : e + "";
          };
        },
        2371: (e, t, r) => {
          var n = {};
          ((n[r(211)("toStringTag")] = "z"),
            (e.exports = "[object z]" === String(n)));
        },
        4059: (e, t, r) => {
          var n = r(375),
            i = String;
          e.exports = function (e) {
            if ("Symbol" === n(e))
              throw TypeError("Cannot convert a Symbol value to a string");
            return i(e);
          };
        },
        9268: (e) => {
          var t = String;
          e.exports = function (e) {
            try {
              return t(e);
            } catch (e) {
              return "Object";
            }
          };
        },
        5422: (e, t, r) => {
          var r = r(8240),
            n = 0,
            i = Math.random(),
            o = r((1).toString);
          e.exports = function (e) {
            return "Symbol(" + (void 0 === e ? "" : e) + ")_" + o(++n + i, 36);
          };
        },
        1876: (e, t, r) => {
          r = r(3193);
          e.exports = r && !Symbol.sham && "symbol" == typeof Symbol.iterator;
        },
        8202: (e, t, r) => {
          var n = r(5283),
            r = r(3677);
          e.exports =
            n &&
            r(function () {
              return (
                42 !=
                Object.defineProperty(function () {}, "prototype", {
                  value: 42,
                  writable: !1,
                }).prototype
              );
            });
        },
        9251: (e, t, r) => {
          r = r(211);
          t.f = r;
        },
        211: (e, t, r) => {
          var n = r(2086),
            i = r(9197),
            o = r(9606),
            s = r(5422),
            a = r(3193),
            c = r(1876),
            l = i("wks"),
            u = n.Symbol,
            h = u && u.for,
            p = c ? u : (u && u.withoutSetter) || s;
          e.exports = function (e) {
            var t;
            return (
              (o(l, e) && (a || "string" == typeof l[e])) ||
                ((t = "Symbol." + e),
                a && o(u, e) ? (l[e] = u[e]) : (l[e] = (c && h ? h : p)(t))),
              l[e]
            );
          };
        },
        3938: (e, t, r) => {
          "use strict";
          var n = r(1695),
            i = r(3677),
            l = r(6526),
            u = r(8759),
            h = r(3060),
            p = r(2871),
            d = r(7620),
            f = r(9720),
            m = r(5574),
            o = r(9955),
            s = r(211),
            r = r(1448),
            g = s("isConcatSpreadable"),
            i =
              51 <= r ||
              !i(function () {
                var e = [];
                return ((e[g] = !1), e.concat()[0] !== e);
              }),
            o = o("concat");
          n(
            { target: "Array", proto: !0, arity: 1, forced: !i || !o },
            {
              concat: function (e) {
                for (
                  var t,
                    r,
                    n,
                    i = h(this),
                    o = m(i, 0),
                    s = 0,
                    a = -1,
                    c = arguments.length;
                  a < c;
                  a++
                )
                  if (
                    (function (e) {
                      if (!u(e)) return !1;
                      var t = e[g];
                      return void 0 !== t ? !!t : l(e);
                    })((n = -1 === a ? i : arguments[a]))
                  )
                    for (r = p(n), d(s + r), t = 0; t < r; t++, s++)
                      t in n && f(o, s, n[t]);
                  else (d(s + 1), f(o, s++, n));
                return ((o.length = s), o);
              },
            },
          );
        },
        8010: (e, t, r) => {
          "use strict";
          var n = r(1695),
            i = r(8062).filter;
          n(
            { target: "Array", proto: !0, forced: !r(9955)("filter") },
            {
              filter: function (e) {
                return i(this, e, 1 < arguments.length ? arguments[1] : void 0);
              },
            },
          );
        },
        5610: (e, t, r) => {
          var n = r(1695),
            i = r(1842);
          n(
            {
              target: "Array",
              stat: !0,
              forced: !r(8939)(function (e) {
                Array.from(e);
              }),
            },
            { from: i },
          );
        },
        5769: (e, t, r) => {
          "use strict";
          var n = r(4088),
            i = r(8669),
            o = r(7719),
            s = r(3278),
            a = r(7826).f,
            c = r(8432),
            l = r(3296),
            r = r(5283),
            u = "Array Iterator",
            h = s.set,
            p = s.getterFor(u);
          e.exports = c(
            Array,
            "Array",
            function (e, t) {
              h(this, { type: u, target: n(e), index: 0, kind: t });
            },
            function () {
              var e = p(this),
                t = e.target,
                r = e.kind,
                n = e.index++;
              return !t || n >= t.length
                ? { value: (e.target = void 0), done: !0 }
                : "keys" == r
                  ? { value: n, done: !1 }
                  : "values" == r
                    ? { value: t[n], done: !1 }
                    : { value: [n, t[n]], done: !1 };
            },
            "values",
          );
          o = o.Arguments = o.Array;
          if (
            (i("keys"),
            i("values"),
            i("entries"),
            !l && r && "values" !== o.name)
          )
            try {
              a(o, "name", { value: "values" });
            } catch (e) {}
        },
        5613: (e, t, r) => {
          "use strict";
          var n = r(1695),
            i = r(8240),
            o = r(5974),
            s = r(4088),
            r = r(2802),
            a = i([].join),
            o = o != Object,
            r = r("join", ",");
          n(
            { target: "Array", proto: !0, forced: o || !r },
            {
              join: function (e) {
                return a(s(this), void 0 === e ? "," : e);
              },
            },
          );
        },
        1013: (e, t, r) => {
          "use strict";
          var n = r(1695),
            i = r(8062).map;
          n(
            { target: "Array", proto: !0, forced: !r(9955)("map") },
            {
              map: function (e) {
                return i(this, e, 1 < arguments.length ? arguments[1] : void 0);
              },
            },
          );
        },
        2410: (e, t, r) => {
          "use strict";
          var n = r(1695),
            l = r(6526),
            u = r(1956),
            h = r(8759),
            p = r(7740),
            d = r(2871),
            f = r(4088),
            m = r(9720),
            i = r(211),
            o = r(9955),
            g = r(745),
            o = o("slice"),
            v = i("species"),
            y = Array,
            b = Math.max;
          n(
            { target: "Array", proto: !0, forced: !o },
            {
              slice: function (e, t) {
                var r,
                  n,
                  i,
                  o = f(this),
                  s = d(o),
                  a = p(e, s),
                  c = p(void 0 === t ? s : t, s);
                if (
                  l(o) &&
                  ((r = o.constructor),
                  (r =
                    (u(r) && (r === y || l(r.prototype))) ||
                    (h(r) && null === (r = r[v]))
                      ? void 0
                      : r) === y || void 0 === r)
                )
                  return g(o, a, c);
                for (
                  n = new (void 0 === r ? y : r)(b(c - a, 0)), i = 0;
                  a < c;
                  a++, i++
                )
                  a in o && m(n, i, o[a]);
                return ((n.length = i), n);
              },
            },
          );
        },
        3352: (e, t, r) => {
          var n = r(5283),
            i = r(4398).EXISTS,
            o = r(8240),
            s = r(7826).f,
            r = Function.prototype,
            a = o(r.toString),
            c =
              /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,
            l = o(c.exec);
          n &&
            !i &&
            s(r, "name", {
              configurable: !0,
              get: function () {
                try {
                  return l(c, a(this))[1];
                } catch (e) {
                  return "";
                }
              },
            });
        },
        5735: (e, t, r) => {
          function i(e, t) {
            var r = m(arguments),
              n = t;
            if ((d(t) || void 0 !== e) && !f(e))
              return (
                h(t) ||
                  (t = function (e, t) {
                    if ((p(n) && (t = c(n, this, e, t)), !f(t))) return t;
                  }),
                (r[1] = t),
                a(g, null, r)
              );
          }
          function o(e, t, r) {
            var n = y(r, t - 1),
              t = y(r, t + 1);
            return (v(E, e) && !v(T, t)) || (v(T, e) && !v(E, n))
              ? "\\u" + x(b(e, 0), 16)
              : e;
          }
          var n = r(1695),
            s = r(563),
            a = r(7258),
            c = r(9413),
            l = r(8240),
            u = r(3677),
            h = r(6526),
            p = r(930),
            d = r(8759),
            f = r(2071),
            m = r(745),
            r = r(3193),
            g = s("JSON", "stringify"),
            v = l(/./.exec),
            y = l("".charAt),
            b = l("".charCodeAt),
            w = l("".replace),
            x = l((1).toString),
            S = /[\uD800-\uDFFF]/g,
            E = /^[\uD800-\uDBFF]$/,
            T = /^[\uDC00-\uDFFF]$/,
            C =
              !r ||
              u(function () {
                var e = s("Symbol")();
                return (
                  "[null]" != g([e]) ||
                  "{}" != g({ a: e }) ||
                  "{}" != g(Object(e))
                );
              }),
            P = u(function () {
              return (
                '"\\udf06\\ud834"' !== g("\udf06\ud834") ||
                '"\\udead"' !== g("\udead")
              );
            });
          g &&
            n(
              { target: "JSON", stat: !0, arity: 3, forced: C || P },
              {
                stringify: function (e, t, r) {
                  var n = m(arguments),
                    n = a(C ? i : g, null, n);
                  return P && "string" == typeof n ? w(n, S, o) : n;
                },
              },
            );
        },
        8410: (e, t, r) => {
          var n = r(1695),
            r = r(8675);
          n(
            {
              target: "Object",
              stat: !0,
              arity: 2,
              forced: Object.assign !== r,
            },
            { assign: r },
          );
        },
        4844: (e, t, r) => {
          var n = r(1695),
            i = r(6910),
            o = r(3677),
            s = r(8759),
            a = r(2423).onFreeze,
            c = Object.freeze;
          n(
            {
              target: "Object",
              stat: !0,
              forced: o(function () {
                c(1);
              }),
              sham: !i,
            },
            {
              freeze: function (e) {
                return c && s(e) ? c(a(e)) : e;
              },
            },
          );
        },
        252: (e, t, r) => {
          var n = r(1695),
            i = r(3677),
            o = r(4088),
            s = r(4399).f,
            r = r(5283),
            i = i(function () {
              s(1);
            });
          n(
            { target: "Object", stat: !0, forced: !r || i, sham: !r },
            {
              getOwnPropertyDescriptor: function (e, t) {
                return s(o(e), t);
              },
            },
          );
        },
        4009: (e, t, r) => {
          var n = r(1695),
            i = r(5283),
            c = r(6095),
            l = r(4088),
            u = r(4399),
            h = r(9720);
          n(
            { target: "Object", stat: !0, sham: !i },
            {
              getOwnPropertyDescriptors: function (e) {
                for (
                  var t, r, n = l(e), i = u.f, o = c(n), s = {}, a = 0;
                  o.length > a;

                )
                  void 0 !== (r = i(n, (t = o[a++]))) && h(s, t, r);
                return s;
              },
            },
          );
        },
        883: (e, t, r) => {
          var n = r(1695),
            i = r(3193),
            o = r(3677),
            s = r(6952),
            a = r(3060);
          n(
            {
              target: "Object",
              stat: !0,
              forced:
                !i ||
                o(function () {
                  s.f(1);
                }),
            },
            {
              getOwnPropertySymbols: function (e) {
                var t = s.f;
                return t ? t(a(e)) : [];
              },
            },
          );
        },
        2274: (e, t, r) => {
          var n = r(1695),
            i = r(3677),
            o = r(3060),
            s = r(2130),
            r = r(7209);
          n(
            {
              target: "Object",
              stat: !0,
              forced: i(function () {
                s(1);
              }),
              sham: !r,
            },
            {
              getPrototypeOf: function (e) {
                return s(o(e));
              },
            },
          );
        },
        2571: (e, t, r) => {
          var n = r(1695),
            i = r(3060),
            o = r(8779);
          n(
            {
              target: "Object",
              stat: !0,
              forced: r(3677)(function () {
                o(1);
              }),
            },
            {
              keys: function (e) {
                return o(i(e));
              },
            },
          );
        },
        3238: (e, t, r) => {
          var n = r(2371),
            i = r(1343),
            r = r(999);
          n || i(Object.prototype, "toString", r, { unsafe: !0 });
        },
        3214: (e, t, r) => {
          var n = r(1695),
            i = r(563),
            o = r(7258),
            s = r(2395),
            a = r(1449),
            c = r(6112),
            l = r(8759),
            u = r(4710),
            r = r(3677),
            h = i("Reflect", "construct"),
            p = Object.prototype,
            d = [].push,
            f = r(function () {
              function e() {}
              return !(h(function () {}, [], e) instanceof e);
            }),
            m = !r(function () {
              h(function () {});
            }),
            r = f || m;
          n(
            { target: "Reflect", stat: !0, forced: r, sham: r },
            {
              construct: function (e, t) {
                (a(e), c(t));
                var r = arguments.length < 3 ? e : a(arguments[2]);
                if (m && !f) return h(e, t, r);
                if (e == r) {
                  switch (t.length) {
                    case 0:
                      return new e();
                    case 1:
                      return new e(t[0]);
                    case 2:
                      return new e(t[0], t[1]);
                    case 3:
                      return new e(t[0], t[1], t[2]);
                    case 4:
                      return new e(t[0], t[1], t[2], t[3]);
                  }
                  var n = [null];
                  return (o(d, n, t), new (o(s, e, n))());
                }
                ((n = r.prototype), (r = u(l(n) ? n : p)), (n = o(e, r, t)));
                return l(n) ? n : r;
              },
            },
          );
        },
        2077: (e, t, r) => {
          "use strict";
          var n = r(1695),
            r = r(4861);
          n(
            { target: "RegExp", proto: !0, forced: /./.exec !== r },
            { exec: r },
          );
        },
        895: (e, t, r) => {
          "use strict";
          var n = r(4398).PROPER,
            i = r(1343),
            o = r(6112),
            s = r(4059),
            a = r(3677),
            c = r(9028),
            r = "toString",
            l = RegExp.prototype[r],
            a = a(function () {
              return "/a/b" != l.call({ source: "a", flags: "b" });
            }),
            n = n && l.name != r;
          (a || n) &&
            i(
              RegExp.prototype,
              r,
              function () {
                var e = o(this);
                return "/" + s(e.source) + "/" + s(c(e));
              },
              { unsafe: !0 },
            );
        },
        7460: (e, t, r) => {
          "use strict";
          var n = r(3448).charAt,
            i = r(4059),
            o = r(3278),
            r = r(8432),
            s = "String Iterator",
            a = o.set,
            c = o.getterFor(s);
          r(
            String,
            "String",
            function (e) {
              a(this, { type: s, string: i(e), index: 0 });
            },
            function () {
              var e = c(this),
                t = e.string,
                r = e.index;
              return r >= t.length
                ? { value: void 0, done: !0 }
                : ((r = n(t, r)),
                  (e.index += r.length),
                  { value: r, done: !1 });
            },
          );
        },
        911: (e, t, r) => {
          "use strict";
          var S = r(7258),
            i = r(9413),
            n = r(8240),
            o = r(2331),
            s = r(3677),
            E = r(6112),
            T = r(930),
            C = r(9502),
            P = r(4005),
            k = r(4059),
            a = r(9586),
            A = r(9966),
            c = r(2964),
            _ = r(8509),
            I = r(1189),
            l = r(211)("replace"),
            O = Math.max,
            L = Math.min,
            H = n([].concat),
            N = n([].push),
            R = n("".indexOf),
            D = n("".slice),
            n = "$0" === "a".replace(/./, "$0"),
            u = !!/./[l] && "" === /./[l]("a", "$0");
          o(
            "replace",
            function (e, b, w) {
              var x = u ? "$" : "$0";
              return [
                function (e, t) {
                  var r = a(this),
                    n = null == e ? void 0 : c(e, l);
                  return n ? i(n, e, r, t) : i(b, k(r), e, t);
                },
                function (e, t) {
                  var r = E(this),
                    n = k(e);
                  if (
                    "string" == typeof t &&
                    -1 === R(t, x) &&
                    -1 === R(t, "$<")
                  ) {
                    e = w(b, r, n, t);
                    if (e.done) return e.value;
                  }
                  var i = T(t);
                  i || (t = k(t));
                  var o,
                    s = r.global;
                  s && ((o = r.unicode), (r.lastIndex = 0));
                  for (var a = []; ; ) {
                    var c = I(r, n);
                    if (null === c) break;
                    if ((N(a, c), !s)) break;
                    "" === k(c[0]) && (r.lastIndex = A(n, P(r.lastIndex), o));
                  }
                  for (var l, u = "", h = 0, p = 0; p < a.length; p++) {
                    for (
                      var d = k((c = a[p])[0]),
                        f = O(L(C(c.index), n.length), 0),
                        m = [],
                        g = 1;
                      g < c.length;
                      g++
                    )
                      N(m, void 0 === (l = c[g]) ? l : String(l));
                    var v,
                      y = c.groups,
                      y = i
                        ? ((v = H([d], m, f, n)),
                          void 0 !== y && N(v, y),
                          k(S(t, void 0, v)))
                        : _(d, n, f, m, y, t);
                    h <= f && ((u += D(n, h, f) + y), (h = f + d.length));
                  }
                  return u + D(n, h);
                },
              ];
            },
            !!s(function () {
              var e = /./;
              return (
                (e.exec = function () {
                  var e = [];
                  return ((e.groups = { a: "7" }), e);
                }),
                "7" !== "".replace(e, "$<a>")
              );
            }) ||
              !n ||
              u,
          );
        },
        2482: (e, t, r) => {
          "use strict";
          var u = r(7258),
            h = r(9413),
            n = r(8240),
            i = r(2331),
            p = r(7994),
            v = r(6112),
            d = r(9586),
            y = r(8515),
            b = r(9966),
            w = r(4005),
            x = r(4059),
            o = r(2964),
            S = r(3329),
            E = r(1189),
            T = r(4861),
            s = r(4930),
            r = r(3677),
            C = s.UNSUPPORTED_Y,
            P = Math.min,
            k = [].push,
            A = n(/./.exec),
            _ = n(k),
            I = n("".slice);
          i(
            "split",
            function (i, f, m) {
              var g =
                "c" == "abbc".split(/(b)*/)[1] ||
                4 != "test".split(/(?:)/, -1).length ||
                2 != "ab".split(/(?:ab)*/).length ||
                4 != ".".split(/(.?)(.?)/).length ||
                1 < ".".split(/()()/).length ||
                "".split(/.?/).length
                  ? function (e, t) {
                      var r = x(d(this)),
                        n = void 0 === t ? 4294967295 : t >>> 0;
                      if (0 == n) return [];
                      if (void 0 === e) return [r];
                      if (!p(e)) return h(f, r, e, n);
                      for (
                        var i,
                          o,
                          s,
                          a = [],
                          t =
                            (e.ignoreCase ? "i" : "") +
                            (e.multiline ? "m" : "") +
                            (e.unicode ? "u" : "") +
                            (e.sticky ? "y" : ""),
                          c = 0,
                          l = new RegExp(e.source, t + "g");
                        (i = h(T, l, r)) &&
                        !(
                          (o = l.lastIndex) > c &&
                          (_(a, I(r, c, i.index)),
                          1 < i.length &&
                            i.index < r.length &&
                            u(k, a, S(i, 1)),
                          (s = i[0].length),
                          (c = o),
                          n <= a.length)
                        );

                      )
                        l.lastIndex === i.index && l.lastIndex++;
                      return (
                        c === r.length
                          ? (!s && A(l, "")) || _(a, "")
                          : _(a, I(r, c)),
                        n < a.length ? S(a, 0, n) : a
                      );
                    }
                  : "0".split(void 0, 0).length
                    ? function (e, t) {
                        return void 0 === e && 0 === t ? [] : h(f, this, e, t);
                      }
                    : f;
              return [
                function (e, t) {
                  var r = d(this),
                    n = null == e ? void 0 : o(e, i);
                  return n ? h(n, e, r, t) : h(g, x(r), e, t);
                },
                function (e, t) {
                  var r = v(this),
                    n = x(e),
                    i = m(g, r, n, t, g !== f);
                  if (i.done) return i.value;
                  var e = y(r, RegExp),
                    o = r.unicode,
                    i =
                      (r.ignoreCase ? "i" : "") +
                      (r.multiline ? "m" : "") +
                      (r.unicode ? "u" : "") +
                      (C ? "g" : "y"),
                    s = new e(C ? "^(?:" + r.source + ")" : r, i),
                    a = void 0 === t ? 4294967295 : t >>> 0;
                  if (0 == a) return [];
                  if (0 === n.length) return null === E(s, n) ? [n] : [];
                  for (var c = 0, l = 0, u = []; l < n.length; ) {
                    s.lastIndex = C ? 0 : l;
                    var h,
                      p = E(s, C ? I(n, l) : n);
                    if (
                      null === p ||
                      (h = P(w(s.lastIndex + (C ? l : 0)), n.length)) === c
                    )
                      l = b(n, l, o);
                    else {
                      if ((_(u, I(n, c, l)), u.length === a)) return u;
                      for (var d = 1; d <= p.length - 1; d++)
                        if ((_(u, p[d]), u.length === a)) return u;
                      l = c = h;
                    }
                  }
                  return (_(u, I(n, c)), u);
                },
              ];
            },
            !!r(function () {
              var e = /(?:)/,
                t = e.exec;
              e.exec = function () {
                return t.apply(this, arguments);
              };
              e = "ab".split(e);
              return 2 !== e.length || "a" !== e[0] || "b" !== e[1];
            }),
            C,
          );
        },
        4211: (e, t, r) => {
          "use strict";
          function n(e, t) {
            var r = (ie[e] = C(Y));
            return (
              V(r, { type: q, tag: e, description: t }),
              m || (r.description = t),
              r
            );
          }
          function i(e, t, r) {
            return (
              e === Q && i(oe, t, r),
              w(e),
              (t = S(t)),
              w(r),
              y(ie, t)
                ? (r.enumerable
                    ? (y(e, G) && e[G][t] && (e[G][t] = !1),
                      (r = C(r, { enumerable: T(0, !1) })))
                    : (y(e, G) || ee(e, G, T(1, {})), (e[G][t] = !0)),
                  ae(e, t, r))
                : ee(e, t, r)
            );
          }
          function o(t, e) {
            w(t);
            var r = x(e),
              e = P(r).concat(l(r));
            return (
              K(e, function (e) {
                (m && !p(s, r, e)) || i(t, e, r[e]);
              }),
              t
            );
          }
          function s(e) {
            var t = S(e),
              e = p(re, this, t);
            return (
              !(this === Q && y(ie, t) && !y(oe, t)) &&
              (!(e || !y(this, t) || !y(ie, t) || (y(this, G) && this[G][t])) ||
                e)
            );
          }
          function a(e, t) {
            var r = x(e),
              e = S(t);
            if (r !== Q || !y(ie, e) || y(oe, e)) {
              t = J(r, e);
              return (
                !t || !y(ie, e) || (y(r, G) && r[G][e]) || (t.enumerable = !0),
                t
              );
            }
          }
          function c(e) {
            var e = te(x(e)),
              t = [];
            return (
              K(e, function (e) {
                y(ie, e) || y(B, e) || ne(t, e);
              }),
              t
            );
          }
          function l(e) {
            var t = e === Q,
              e = te(t ? oe : x(e)),
              r = [];
            return (
              K(e, function (e) {
                !y(ie, e) || (t && !y(Q, e)) || ne(r, ie[e]);
              }),
              r
            );
          }
          var u = r(1695),
            h = r(2086),
            p = r(9413),
            d = r(8240),
            f = r(3296),
            m = r(5283),
            g = r(3193),
            v = r(3677),
            y = r(9606),
            b = r(5516),
            w = r(6112),
            x = r(4088),
            S = r(2258),
            E = r(4059),
            T = r(5736),
            C = r(4710),
            P = r(8779),
            k = r(62),
            A = r(3226),
            _ = r(6952),
            I = r(4399),
            O = r(7826),
            L = r(7711),
            H = r(7446),
            N = r(1343),
            R = r(9197),
            D = r(8944),
            B = r(7153),
            F = r(5422),
            M = r(211),
            j = r(9251),
            U = r(4145),
            z = r(338),
            W = r(914),
            $ = r(3278),
            K = r(8062).forEach,
            G = D("hidden"),
            q = "Symbol",
            D = "prototype",
            V = $.set,
            X = $.getterFor(q),
            Q = Object[D],
            $ = h.Symbol,
            Y = $ && $[D],
            Z = h.TypeError,
            h = h.QObject,
            J = I.f,
            ee = O.f,
            te = A.f,
            re = H.f,
            ne = d([].push),
            ie = R("symbols"),
            oe = R("op-symbols"),
            R = R("wks"),
            se = !h || !h[D] || !h[D].findChild,
            ae =
              m &&
              v(function () {
                return (
                  7 !=
                  C(
                    ee({}, "a", {
                      get: function () {
                        return ee(this, "a", { value: 7 }).a;
                      },
                    }),
                  ).a
                );
              })
                ? function (e, t, r) {
                    var n = J(Q, t);
                    (n && delete Q[t],
                      ee(e, t, r),
                      n && e !== Q && ee(Q, t, n));
                  }
                : ee;
          (g ||
            (N(
              (Y = ($ = function () {
                if (b(Y, this)) throw Z("Symbol is not a constructor");
                var e =
                    arguments.length && void 0 !== arguments[0]
                      ? E(arguments[0])
                      : void 0,
                  t = F(e),
                  r = function (e) {
                    (this === Q && p(r, oe, e),
                      y(this, G) && y(this[G], t) && (this[G][t] = !1),
                      ae(this, t, T(1, e)));
                  };
                return (
                  m && se && ae(Q, t, { configurable: !0, set: r }),
                  n(t, e)
                );
              })[D]),
              "toString",
              function () {
                return X(this).tag;
              },
            ),
            N($, "withoutSetter", function (e) {
              return n(F(e), e);
            }),
            (H.f = s),
            (O.f = i),
            (L.f = o),
            (I.f = a),
            (k.f = A.f = c),
            (_.f = l),
            (j.f = function (e) {
              return n(M(e), e);
            }),
            m &&
              (ee(Y, "description", {
                configurable: !0,
                get: function () {
                  return X(this).description;
                },
              }),
              f || N(Q, "propertyIsEnumerable", s, { unsafe: !0 }))),
            u(
              { global: !0, constructor: !0, wrap: !0, forced: !g, sham: !g },
              { Symbol: $ },
            ),
            K(P(R), function (e) {
              U(e);
            }),
            u(
              { target: q, stat: !0, forced: !g },
              {
                useSetter: function () {
                  se = !0;
                },
                useSimple: function () {
                  se = !1;
                },
              },
            ),
            u(
              { target: "Object", stat: !0, forced: !g, sham: !m },
              {
                create: function (e, t) {
                  return void 0 === t ? C(e) : o(C(e), t);
                },
                defineProperty: i,
                defineProperties: o,
                getOwnPropertyDescriptor: a,
              },
            ),
            u(
              { target: "Object", stat: !0, forced: !g },
              { getOwnPropertyNames: c },
            ),
            z(),
            W($, q),
            (B[G] = !0));
        },
        2189: (e, t, r) => {
          "use strict";
          var n,
            i,
            o,
            s,
            a,
            c,
            l,
            u = r(1695),
            h = r(5283),
            p = r(2086),
            d = r(8240),
            f = r(9606),
            m = r(930),
            g = r(5516),
            v = r(4059),
            y = r(7826).f,
            r = r(8474),
            b = p.Symbol,
            w = b && b.prototype;
          !h ||
            !m(b) ||
            ("description" in w && void 0 === b().description) ||
            ((n = {}),
            r(
              (r = function () {
                var e =
                    arguments.length < 1 || void 0 === arguments[0]
                      ? void 0
                      : v(arguments[0]),
                  t = g(w, this) ? new b(e) : void 0 === e ? b() : b(e);
                return ("" === e && (n[t] = !0), t);
              }),
              b,
            ),
            ((r.prototype = w).constructor = r),
            (i = "Symbol(test)" == String(b("test"))),
            (o = d(w.toString)),
            (s = d(w.valueOf)),
            (a = /^Symbol\((.*)\)[^)]+$/),
            (c = d("".replace)),
            (l = d("".slice)),
            y(w, "description", {
              configurable: !0,
              get: function () {
                var e = s(this),
                  t = o(e);
                if (f(n, e)) return "";
                t = i ? l(t, 7, -1) : c(t, a, "$1");
                return "" === t ? void 0 : t;
              },
            }),
            u({ global: !0, constructor: !0, forced: !0 }, { Symbol: r }));
        },
        8028: (e, t, r) => {
          var n = r(1695),
            i = r(563),
            o = r(9606),
            s = r(4059),
            a = r(9197),
            r = r(3441),
            c = a("string-to-symbol-registry"),
            l = a("symbol-to-string-registry");
          n(
            { target: "Symbol", stat: !0, forced: !r },
            {
              for: function (e) {
                var t = s(e);
                if (o(c, t)) return c[t];
                e = i("Symbol")(t);
                return ((c[t] = e), (l[e] = t), e);
              },
            },
          );
        },
        1047: (e, t, r) => {
          r(4145)("iterator");
        },
        5901: (e, t, r) => {
          (r(4211), r(8028), r(9819), r(5735), r(883));
        },
        9819: (e, t, r) => {
          var n = r(1695),
            i = r(9606),
            o = r(2071),
            s = r(9268),
            a = r(9197),
            r = r(3441),
            c = a("symbol-to-string-registry");
          n(
            { target: "Symbol", stat: !0, forced: !r },
            {
              keyFor: function (e) {
                if (!o(e)) throw TypeError(s(e) + " is not a symbol");
                if (i(c, e)) return c[e];
              },
            },
          );
        },
        5849: (e, t, r) => {
          function n(t) {
            if (t && t.forEach !== c)
              try {
                l(t, "forEach", c);
              } catch (e) {
                t.forEach = c;
              }
          }
          var i,
            o = r(2086),
            s = r(933),
            a = r(3526),
            c = r(1984),
            l = r(2585);
          for (i in s) s[i] && n(o[i] && o[i].prototype);
          n(a);
        },
        4078: (e, t, r) => {
          function n(e, t) {
            if (e) {
              if (e[u] !== p)
                try {
                  l(e, u, p);
                } catch (t) {
                  e[u] = p;
                }
              if ((e[h] || l(e, h, t), s[t]))
                for (var r in c)
                  if (e[r] !== c[r])
                    try {
                      l(e, r, c[r]);
                    } catch (t) {
                      e[r] = c[r];
                    }
            }
          }
          var i,
            o = r(2086),
            s = r(933),
            a = r(3526),
            c = r(5769),
            l = r(2585),
            r = r(211),
            u = r("iterator"),
            h = r("toStringTag"),
            p = c.values;
          for (i in s) n(o[i] && o[i].prototype, i);
          n(a, "DOMTokenList");
        },
        2062: () => {
          var c = function (e) {
            return ((e = +e), isNaN(e) || e == 1 / 0 || e == -1 / 0 ? 0 : e);
          };
          (Element.prototype.scroll ||
            (Element.prototype.scroll = function () {
              var e,
                t = arguments.length,
                r = this.ownerDocument,
                n = r.defaultView,
                i = "BackCompat" == r.compatMode,
                o = document.getElementsByTagName("BODY")[0],
                s = {};
              if (r == window.document && n && 0 !== t) {
                if (1 === t) {
                  var a = arguments[0];
                  if ("object" != typeof a)
                    throw "Failed to execute 'scrollBy' on 'Element': parameter 1 ('options') is not an object.";
                  ("left" in a && (s.left = c(a.left)),
                    "top" in a && (s.top = c(a.top)),
                    (e = "left" in s ? s.left : this.scrollLeft),
                    (a = "top" in s ? s.top : this.scrollTop));
                } else
                  ((s.left = e = c(arguments[0])),
                    (s.top = a = c(arguments[1])));
                this != document.documentElement
                  ? this != o ||
                    !i ||
                    (function (e) {
                      e = o || document.getElementsByTagName("BODY")[0];
                      var t = window.getComputedStyle(e),
                        r = window.getComputedStyle(e.parent),
                        n = t.overflowX,
                        i = t.overflowY,
                        e = r.overflowX,
                        r = r.overflowY;
                      return (
                        ("table-column" == t.display ||
                          "table-column-group" == t.display) &&
                        "visible" != e &&
                        "clip" != e &&
                        "visible" != r &&
                        "clip" != r &&
                        "visible" != n &&
                        "clip" != n &&
                        "visible" != i &&
                        "clip" != i
                      );
                    })()
                    ? ((this.scrollLeft = e), (this.scrollTop = a))
                    : n.scroll(s.left, s.top)
                  : i ||
                    n.scroll(
                      "scrollX" in n
                        ? n.scrollX
                        : "pageXOffset" in n
                          ? n.pageXOffset
                          : this.scrollLeft,
                      a,
                    );
              }
            }),
            Element.prototype.scrollTo ||
              (Element.prototype.scrollTo = Element.prototype.scroll),
            Element.prototype.scrollBy ||
              (Element.prototype.scrollBy = function () {
                var e = arguments.length,
                  t = {};
                if (0 !== e) {
                  if (1 === e) {
                    e = arguments[0];
                    if ("object" != typeof e)
                      throw "Failed to execute 'scrollBy' on 'Element': parameter 1 ('options') is not an object.";
                    ("left" in e && (t.left = c(e.left)),
                      "top" in e && (t.top = c(e.top)));
                  } else
                    ((t.left = c(arguments[0])), (t.top = c(arguments[1])));
                  ((t.left =
                    "left" in t ? t.left + this.scrollLeft : this.scrollLeft),
                    (t.top =
                      "top" in t ? t.top + this.scrollTop : this.scrollTop),
                    this.scroll(t));
                }
              }));
        },
        7190: (e) => {
          e.exports = function (e) {
            return (
              !(!e || "string" == typeof e) &&
              (e instanceof Array ||
                Array.isArray(e) ||
                (0 <= e.length &&
                  (e.splice instanceof Function ||
                    (Object.getOwnPropertyDescriptor(e, e.length - 1) &&
                      "String" !== e.constructor.name))))
            );
          };
        },
        7159: (e, t, r) => {
          var n = [r(5998)];
          void 0 ===
            (r =
              "function" ==
              typeof (r = function (p) {
                function s(e) {
                  this.init(e);
                }
                ((s.prototype = {
                  value: 0,
                  size: 100,
                  startAngle: -Math.PI,
                  thickness: "auto",
                  fill: { gradient: ["#3aeabb", "#fdd250"] },
                  emptyFill: "rgba(0, 0, 0, .1)",
                  animation: { duration: 1200, easing: "circleProgressEasing" },
                  animationStartValue: 0,
                  reverse: !1,
                  lineCap: "butt",
                  insertMode: "prepend",
                  constructor: s,
                  el: null,
                  canvas: null,
                  ctx: null,
                  radius: 0,
                  arcFill: null,
                  lastFrameValue: 0,
                  init: function (e) {
                    (p.extend(this, e),
                      (this.radius = this.size / 2),
                      this.initWidget(),
                      this.initFill(),
                      this.draw(),
                      this.el.trigger("circle-inited"));
                  },
                  initWidget: function () {
                    this.canvas ||
                      (this.canvas = p("<canvas>")[
                        "prepend" == this.insertMode ? "prependTo" : "appendTo"
                      ](this.el)[0]);
                    var e,
                      t = this.canvas;
                    ((t.width = this.size),
                      (t.height = this.size),
                      (this.ctx = t.getContext("2d")),
                      1 < window.devicePixelRatio &&
                        ((e = window.devicePixelRatio),
                        (t.style.width = t.style.height = this.size + "px"),
                        (t.width = t.height = this.size * e),
                        this.ctx.scale(e, e)));
                  },
                  initFill: function () {
                    var t,
                      r = this,
                      e = this.fill,
                      n = this.ctx,
                      i = this.size;
                    if (!e) throw Error("The fill is not specified!");
                    if (
                      ((e = "string" == typeof e ? { color: e } : e).color &&
                        (this.arcFill = e.color),
                      e.gradient)
                    ) {
                      var o = e.gradient;
                      if (1 == o.length) this.arcFill = o[0];
                      else if (1 < o.length) {
                        for (
                          var s = e.gradientAngle || 0,
                            s = e.gradientDirection || [
                              (i / 2) * (1 - Math.cos(s)),
                              (i / 2) * (1 + Math.sin(s)),
                              (i / 2) * (1 + Math.cos(s)),
                              (i / 2) * (1 - Math.sin(s)),
                            ],
                            a = n.createLinearGradient.apply(n, s),
                            c = 0;
                          c < o.length;
                          c++
                        ) {
                          var l = o[c],
                            u = c / (o.length - 1);
                          (p.isArray(l) && ((u = l[1]), (l = l[0])),
                            a.addColorStop(u, l));
                        }
                        this.arcFill = a;
                      }
                    }
                    function h() {
                      var e = p("<canvas>")[0];
                      ((e.width = r.size),
                        (e.height = r.size),
                        e.getContext("2d").drawImage(t, 0, 0, i, i),
                        (r.arcFill = r.ctx.createPattern(e, "no-repeat")),
                        r.drawFrame(r.lastFrameValue));
                    }
                    e.image &&
                      (e.image instanceof Image
                        ? (t = e.image)
                        : ((t = new Image()).src = e.image),
                      t.complete ? h() : (t.onload = h));
                  },
                  draw: function () {
                    this.animation
                      ? this.drawAnimated(this.value)
                      : this.drawFrame(this.value);
                  },
                  drawFrame: function (e) {
                    ((this.lastFrameValue = e),
                      this.ctx.clearRect(0, 0, this.size, this.size),
                      this.drawEmptyArc(e),
                      this.drawArc(e));
                  },
                  drawArc: function (e) {
                    var t, r, n, i;
                    0 !== e &&
                      ((t = this.ctx),
                      (r = this.radius),
                      (n = this.getThickness()),
                      (i = this.startAngle),
                      t.save(),
                      t.beginPath(),
                      this.reverse
                        ? t.arc(r, r, r - n / 2, i - 2 * Math.PI * e, i)
                        : t.arc(r, r, r - n / 2, i, i + 2 * Math.PI * e),
                      (t.lineWidth = n),
                      (t.lineCap = this.lineCap),
                      (t.strokeStyle = this.arcFill),
                      t.stroke(),
                      t.restore());
                  },
                  drawEmptyArc: function (e) {
                    var t = this.ctx,
                      r = this.radius,
                      n = this.getThickness(),
                      i = this.startAngle;
                    e < 1 &&
                      (t.save(),
                      t.beginPath(),
                      e <= 0
                        ? t.arc(r, r, r - n / 2, 0, 2 * Math.PI)
                        : this.reverse
                          ? t.arc(r, r, r - n / 2, i, i - 2 * Math.PI * e)
                          : t.arc(r, r, r - n / 2, i + 2 * Math.PI * e, i),
                      (t.lineWidth = n),
                      (t.strokeStyle = this.emptyFill),
                      t.stroke(),
                      t.restore());
                  },
                  drawAnimated: function (r) {
                    var n = this,
                      i = this.el,
                      e = p(this.canvas);
                    (e.stop(!0, !1),
                      i.trigger("circle-animation-start"),
                      e
                        .css({ animationProgress: 0 })
                        .animate(
                          { animationProgress: 1 },
                          p.extend({}, this.animation, {
                            step: function (e) {
                              var t = n.animationStartValue * (1 - e) + r * e;
                              (n.drawFrame(t),
                                i.trigger("circle-animation-progress", [e, t]));
                            },
                          }),
                        )
                        .promise()
                        .always(function () {
                          i.trigger("circle-animation-end");
                        }));
                  },
                  getThickness: function () {
                    return p.isNumeric(this.thickness)
                      ? this.thickness
                      : this.size / 14;
                  },
                  getValue: function () {
                    return this.value;
                  },
                  setValue: function (e) {
                    (this.animation &&
                      (this.animationStartValue = this.lastFrameValue),
                      (this.value = e),
                      this.draw());
                  },
                }),
                  (p.circleProgress = { defaults: s.prototype }),
                  (p.easing.circleProgressEasing = function (e) {
                    return e < 0.5
                      ? 0.5 * (e *= 2) * e * e
                      : 1 - 0.5 * (e = 2 - 2 * e) * e * e;
                  }),
                  (p.fn.circleProgress = function (i, e) {
                    var o = "circle-progress",
                      t = this.data(o);
                    if ("widget" == i) {
                      if (!t)
                        throw Error(
                          'Calling "widget" method on not initialized instance is forbidden',
                        );
                      return t.canvas;
                    }
                    if ("value" != i)
                      return this.each(function () {
                        var e,
                          t = p(this),
                          r = t.data(o),
                          n = p.isPlainObject(i) ? i : {};
                        r
                          ? r.init(n)
                          : ("string" ==
                              typeof (e = p.extend({}, t.data())).fill &&
                              (e.fill = JSON.parse(e.fill)),
                            "string" == typeof e.animation &&
                              (e.animation = JSON.parse(e.animation)),
                            ((n = p.extend(e, n)).el = t),
                            (r = new s(n)),
                            t.data(o, r));
                      });
                    if (!t)
                      throw Error(
                        'Calling "value" method on not initialized instance is forbidden',
                      );
                    if (void 0 === e) return t.getValue();
                    var r = e;
                    return this.each(function () {
                      p(this).data(o).setValue(r);
                    });
                  }));
              })
                ? r.apply(t, n)
                : r) || (e.exports = r);
        },
        521: (e, t, r) => {
          "use strict";
          var o = r(7190),
            s = Array.prototype.concat,
            a = Array.prototype.slice,
            n = (e.exports = function (e) {
              for (var t = [], r = 0, n = e.length; r < n; r++) {
                var i = e[r];
                o(i) ? (t = s.call(t, a.call(i))) : t.push(i);
              }
              return t;
            });
          n.wrap = function (e) {
            return function () {
              return e(n(arguments));
            };
          };
        },
        5998: (e) => {
          "use strict";
          e.exports = H5P.jQuery;
        },
      },
      n = {};
    function Q(e) {
      var t = n[e];
      if (void 0 !== t) return t.exports;
      t = n[e] = { exports: {} };
      return (r[e](t, t.exports, Q), t.exports);
    }
    ((Q.n = (e) => {
      var t = e && e.__esModule ? () => e.default : () => e;
      return (Q.d(t, { a: t }), t);
    }),
      (Q.d = (e, t) => {
        for (var r in t)
          Q.o(t, r) &&
            !Q.o(e, r) &&
            Object.defineProperty(e, r, { enumerable: !0, get: t[r] });
      }),
      (Q.g = (function () {
        if ("object" == typeof globalThis) return globalThis;
        try {
          return this || new Function("return this")();
        } catch (e) {
          if ("object" == typeof window) return window;
        }
      })()),
      (Q.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
      (() => {
        "use strict";
        function e(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        (Q(3214),
          Q(8410),
          Q(2571),
          Q(5901),
          Q(252),
          Q(4009),
          Q(2189),
          Q(1047),
          Q(5769),
          Q(7460),
          Q(4078),
          Q(3238),
          Q(5849),
          Q(1013),
          Q(8010),
          Q(3938),
          Q(2410),
          Q(2077),
          Q(911),
          Q(2274),
          Q(2482),
          Q(5613),
          Q(895));
        const h =
          ((X = t),
          (r = [
            {
              key: "extractFragmentsFromURL",
              value: function (e, t) {
                if (!t.location.hash) return {};
                var r = {};
                return (
                  t.location.hash
                    .replace("#", "")
                    .split("&")
                    .forEach(function (e) {
                      -1 !== e.indexOf("=") &&
                        ((e = e.split("=")), (r[e[0]] = e[1]));
                    }),
                  "function" != typeof e || e(r) ? r : {}
                );
              },
            },
            {
              key: "createFragmentsString",
              value: function (e) {
                var t,
                  r = [];
                for (t in e) r.push("".concat(t, "=").concat(e[t]));
                return "#".concat(r.join("&"));
              },
            },
            {
              key: "areFragmentsEqual",
              value: function (e, t) {
                var r,
                  n =
                    2 < arguments.length && void 0 !== arguments[2]
                      ? arguments[2]
                      : [];
                for (r in e)
                  if (e.hasOwnProperty(r)) {
                    if (0 < n.length && -1 === n.indexOf(r)) continue;
                    if (!t[r] || e[r].toString() !== t[r].toString()) return !1;
                  }
                return !0;
              },
            },
          ]),
          null && e(X.prototype, null),
          e(X, r),
          Object.defineProperty(X, "prototype", { writable: !1 }),
          t);
        function t() {
          !(function (e) {
            if (!(e instanceof t))
              throw new TypeError("Cannot call a class as a function");
          })(this);
        }
        function i(e) {
          return (i =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        function a(e, t) {
          (null == t || t > e.length) && (t = e.length);
          for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
          return n;
        }
        function c(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        function l(e, t) {
          return (l = Object.setPrototypeOf
            ? Object.setPrototypeOf.bind()
            : function (e, t) {
                return ((e.__proto__ = t), e);
              })(e, t);
        }
        function u(e) {
          return (u = Object.setPrototypeOf
            ? Object.getPrototypeOf.bind()
            : function (e) {
                return e.__proto__ || Object.getPrototypeOf(e);
              })(e);
        }
        (Q(4844), Q(3352), Q(5610));
        const p = (function () {
          !(function (e, t) {
            if ("function" != typeof t && null !== t)
              throw new TypeError(
                "Super expression must either be null or a function",
              );
            ((e.prototype = Object.create(t && t.prototype, {
              constructor: { value: e, writable: !0, configurable: !0 },
            })),
              Object.defineProperty(e, "prototype", { writable: !1 }),
              t && l(e, t));
          })(s, H5P.EventDispatcher);
          var e,
            r,
            n,
            o =
              ((r = s),
              (n = (function () {
                if ("undefined" == typeof Reflect || !Reflect.construct)
                  return !1;
                if (Reflect.construct.sham) return !1;
                if ("function" == typeof Proxy) return !0;
                try {
                  return (
                    Boolean.prototype.valueOf.call(
                      Reflect.construct(Boolean, [], function () {}),
                    ),
                    !0
                  );
                } catch (e) {
                  return !1;
                }
              })()),
              function () {
                var e,
                  t = u(r);
                return (function (e, t) {
                  if (t && ("object" === i(t) || "function" == typeof t))
                    return t;
                  if (void 0 !== t)
                    throw new TypeError(
                      "Derived constructors may only return object or undefined",
                    );
                  return (function (e) {
                    if (void 0 === e)
                      throw new ReferenceError(
                        "this hasn't been initialised - super() hasn't been called",
                      );
                    return e;
                  })(e);
                })(
                  this,
                  n
                    ? ((e = u(this).constructor),
                      Reflect.construct(t, arguments, e))
                    : t.apply(this, arguments),
                );
              });
          function s(e, t, r, n) {
            var i;
            return (
              (function (e) {
                if (!(e instanceof s))
                  throw new TypeError("Cannot call a class as a function");
              })(this),
              ((i = o.call(this)).id = t),
              (i.parent = n),
              (i.behaviour = e.behaviour),
              (i.content = document.createElement("ul")),
              i.content.classList.add("navigation-list"),
              (i.container = i.addSideBar()),
              (i.l10n = e.l10n),
              (i.chapters = i.findAllChapters(e.chapters)),
              (i.chapterNodes = i.getChapterNodes()),
              r &&
                ((i.titleElem = i.addMainTitle(r)),
                i.container.appendChild(i.titleElem)),
              i.chapterNodes.forEach(function (e) {
                i.content.appendChild(e);
              }),
              20 < i.chapters.length &&
                i.content.classList.add("large-navigation-list"),
              i.container.appendChild(i.content),
              i.addTransformListener(),
              i.initializeNavigationControls(),
              i
            );
          }
          return (
            c((e = s).prototype, [
              {
                key: "initializeNavigationControls",
                value: function () {
                  var i = this,
                    o = Object.freeze({ UP: 38, DOWN: 40 });
                  this.chapterNodes.forEach(function (e, r) {
                    e.querySelector(
                      ".h5p-interactive-book-navigation-chapter-button",
                    ).addEventListener("keydown", function (e) {
                      switch (e.keyCode) {
                        case o.UP:
                          (i.setFocusToChapterItem(r, -1), e.preventDefault());
                          break;
                        case o.DOWN:
                          (i.setFocusToChapterItem(r, 1), e.preventDefault());
                      }
                    });
                    for (
                      var n = e.querySelectorAll(
                          ".h5p-interactive-book-navigation-section",
                        ),
                        t = 0;
                      t < n.length;
                      t++
                    )
                      !(function (t) {
                        n[t]
                          .querySelector(".section-button")
                          .addEventListener("keydown", function (e) {
                            switch (e.keyCode) {
                              case o.UP:
                                (i.setFocusToSectionItem(r, t, -1),
                                  e.preventDefault());
                                break;
                              case o.DOWN:
                                (i.setFocusToSectionItem(r, t, 1),
                                  e.preventDefault());
                            }
                          });
                      })(t);
                  });
                },
              },
              {
                key: "focus",
                value: function () {
                  this.content.querySelector("button").focus();
                },
              },
              {
                key: "setFocusToChapterItem",
                value: function (e) {
                  var t =
                      1 < arguments.length && void 0 !== arguments[1]
                        ? arguments[1]
                        : 0,
                    r = e + t;
                  if (
                    (r < 0
                      ? (r = this.chapterNodes.length - 1)
                      : r > this.chapterNodes.length - 1 && (r = 0),
                    t)
                  ) {
                    var n = 0 < t ? e : r,
                      e = this.chapterNodes[n];
                    if (
                      !e.classList.contains(
                        "h5p-interactive-book-navigation-closed",
                      )
                    ) {
                      e = e.querySelectorAll(
                        ".h5p-interactive-book-navigation-section",
                      );
                      if (e.length) {
                        var i = 0 < t ? 0 : e.length - 1;
                        return void this.setFocusToSectionItem(n, i);
                      }
                    }
                  }
                  i = this.chapterNodes[r].querySelector(
                    ".h5p-interactive-book-navigation-chapter-button",
                  );
                  this.setFocusToItem(i, r);
                },
              },
              {
                key: "setFocusToSectionItem",
                value: function (e, t) {
                  var r =
                      2 < arguments.length && void 0 !== arguments[2]
                        ? arguments[2]
                        : 0,
                    n = this.chapterNodes[e].querySelectorAll(
                      ".h5p-interactive-book-navigation-section",
                    ),
                    r = t + r;
                  r > n.length - 1
                    ? this.setFocusToChapterItem(e + 1)
                    : r < 0
                      ? this.setFocusToChapterItem(e)
                      : ((r = n[r].querySelector(".section-button")),
                        this.setFocusToItem(r, e));
                },
              },
              {
                key: "setFocusToItem",
                value: function (e, o) {
                  var t =
                    2 < arguments.length &&
                    void 0 !== arguments[2] &&
                    arguments[2];
                  (this.chapterNodes.forEach(function (e, t) {
                    var r = e.querySelector(
                      ".h5p-interactive-book-navigation-chapter-button",
                    );
                    (t === o
                      ? r.classList.add(
                          "h5p-interactive-book-navigation-current",
                        )
                      : r.classList.remove(
                          "h5p-interactive-book-navigation-current",
                        ),
                      r.setAttribute("tabindex", "-1"));
                    for (
                      var n = e.querySelectorAll(
                          ".h5p-interactive-book-navigation-section",
                        ),
                        i = 0;
                      i < n.length;
                      i++
                    )
                      n[i]
                        .querySelector(".section-button")
                        .setAttribute("tabindex", "-1");
                  }),
                    e.setAttribute("tabindex", "0"),
                    (this.focusedChapter = o),
                    t || e.focus());
                },
              },
              {
                key: "addSideBar",
                value: function () {
                  var e = document.createElement("div");
                  return (
                    (e.id = "h5p-interactive-book-navigation-menu"),
                    e.classList.add("h5p-interactive-book-navigation"),
                    e
                  );
                },
              },
              {
                key: "addMainTitle",
                value: function (e) {
                  var t = document.createElement("h2");
                  (t.classList.add("navigation-title"),
                    (t.innerHTML = e),
                    t.setAttribute("title", e));
                  e = document.createElement("div");
                  return (
                    e.classList.add(
                      "h5p-interactive-book-navigation-maintitle",
                    ),
                    e.appendChild(t),
                    e
                  );
                },
              },
              {
                key: "findSectionsInChapter",
                value: function (e) {
                  for (
                    var t = [], r = e.params.content, n = 0;
                    n < r.length;
                    n++
                  ) {
                    var i = r[n].content,
                      o =
                        "H5P.Link" === i.library.split(" ")[0]
                          ? i.params.title || "New link"
                          : i.metadata.title;
                    t.push({
                      title: o,
                      id: i.subContentId
                        ? "h5p-interactive-book-section-".concat(i.subContentId)
                        : void 0,
                    });
                  }
                  return t;
                },
              },
              {
                key: "findAllChapters",
                value: function (e) {
                  for (var t = [], r = 0; r < e.length; r++) {
                    var n = this.findSectionsInChapter(e[r]),
                      i = e[r].metadata.title,
                      o = "h5p-interactive-book-chapter-".concat(
                        e[r].subContentId,
                      );
                    t.push({ sections: n, title: i, id: o, isSummary: !1 });
                  }
                  return (
                    this.parent.hasSummary() &&
                      t.push({
                        sections: [],
                        title: this.l10n.summaryHeader,
                        id: "h5p-interactive-book-chapter-summary",
                        isSummary: !0,
                      }),
                    t
                  );
                },
              },
              {
                key: "toggleChapter",
                value: function (e, t) {
                  t =
                    void 0 !== t
                      ? t
                      : !e.classList.contains(
                          "h5p-interactive-book-navigation-closed",
                        );
                  var r = e.querySelector(
                      ".h5p-interactive-book-navigation-sectionlist",
                    ),
                    n = e.getElementsByClassName(
                      "h5p-interactive-book-navigation-chapter-accordion",
                    )[0];
                  (e
                    .querySelector(
                      ".h5p-interactive-book-navigation-chapter-button",
                    )
                    .setAttribute("aria-expanded", (!t).toString()),
                    !0 === t
                      ? (e.classList.add(
                          "h5p-interactive-book-navigation-closed",
                        ),
                        n &&
                          (n.classList.remove("icon-expanded"),
                          n.classList.add("icon-collapsed"),
                          r &&
                            (r.setAttribute("aria-hidden", !0),
                            r.setAttribute("tabindex", "-1"))))
                      : (e.classList.remove(
                          "h5p-interactive-book-navigation-closed",
                        ),
                        n &&
                          (n.classList.remove("icon-collapsed"),
                          n.classList.add("icon-expanded"),
                          r &&
                            (r.removeAttribute("aria-hidden"),
                            r.removeAttribute("tabindex")))));
                },
              },
              {
                key: "redirectHandler",
                value: function (r) {
                  var e,
                    n = this;
                  (this.chapterNodes.forEach(function (e, t) {
                    n.toggleChapter(e, t !== r);
                  }),
                    this.parent.trigger("resize"),
                    r !== this.focusedChapter &&
                      ((e = this.chapterNodes[r].querySelector(
                        ".h5p-interactive-book-navigation-chapter-button",
                      )),
                      this.setFocusToItem(e, r, !0)));
                },
              },
              {
                key: "resetIndicators",
                value: function () {
                  var o = this;
                  this.chapterNodes.forEach(function (e, t) {
                    o.updateChapterProgressIndicator(t, "BLANK");
                    var r,
                      n = (function (e, t) {
                        var r =
                          ("undefined" != typeof Symbol &&
                            e[Symbol.iterator]) ||
                          e["@@iterator"];
                        if (!r) {
                          if (
                            Array.isArray(e) ||
                            (r = (function (e) {
                              if (e) {
                                if ("string" == typeof e) return a(e, void 0);
                                var t = Object.prototype.toString
                                  .call(e)
                                  .slice(8, -1);
                                return "Map" ===
                                  (t =
                                    "Object" === t && e.constructor
                                      ? e.constructor.name
                                      : t) || "Set" === t
                                  ? Array.from(e)
                                  : "Arguments" === t ||
                                      /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(
                                        t,
                                      )
                                    ? a(e, void 0)
                                    : void 0;
                              }
                            })(e)) ||
                            (t && e && "number" == typeof e.length)
                          ) {
                            r && (e = r);
                            var n = 0,
                              t = function () {};
                            return {
                              s: t,
                              n: function () {
                                return n >= e.length
                                  ? { done: !0 }
                                  : { done: !1, value: e[n++] };
                              },
                              e: function (e) {
                                throw e;
                              },
                              f: t,
                            };
                          }
                          throw new TypeError(
                            "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.",
                          );
                        }
                        var i,
                          o = !0,
                          s = !1;
                        return {
                          s: function () {
                            r = r.call(e);
                          },
                          n: function () {
                            var e = r.next();
                            return ((o = e.done), e);
                          },
                          e: function (e) {
                            ((s = !0), (i = e));
                          },
                          f: function () {
                            try {
                              o || null == r.return || r.return();
                            } finally {
                              if (s) throw i;
                            }
                          },
                        };
                      })(
                        e.getElementsByClassName(
                          "h5p-interactive-book-navigation-section",
                        ),
                      );
                    try {
                      for (n.s(); !(r = n.n()).done; ) {
                        var i = r.value.querySelector(
                          ".h5p-interactive-book-navigation-section-icon",
                        );
                        i &&
                          (i.classList.remove("icon-question-answered"),
                          i.classList.add("icon-chapter-blank"));
                      }
                    } catch (e) {
                      n.e(e);
                    } finally {
                      n.f();
                    }
                  });
                },
              },
              {
                key: "updateChapterProgressIndicator",
                value: function (e, t) {
                  this.behaviour.progressIndicators &&
                    !this.chapters[e].isSummary &&
                    ((e = this.chapterNodes[e].getElementsByClassName(
                      "h5p-interactive-book-navigation-chapter-progress",
                    )[0]),
                    "BLANK" === t
                      ? (e.classList.remove("icon-chapter-started"),
                        e.classList.remove("icon-chapter-done"),
                        e.classList.add("icon-chapter-blank"))
                      : "DONE" === t
                        ? (e.classList.remove("icon-chapter-blank"),
                          e.classList.remove("icon-chapter-started"),
                          e.classList.add("icon-chapter-done"))
                        : "STARTED" === t &&
                          (e.classList.remove("icon-chapter-blank"),
                          e.classList.remove("icon-chapter-done"),
                          e.classList.add("icon-chapter-started")));
                },
              },
              {
                key: "setSectionMarker",
                value: function (e, t) {
                  t = this.chapterNodes[e].querySelector(
                    ".h5p-interactive-book-navigation-section-" +
                      t +
                      " .h5p-interactive-book-navigation-section-icon",
                  );
                  t &&
                    (t.classList.remove("icon-chapter-blank"),
                    t.classList.add("icon-question-answered"));
                },
              },
              {
                key: "getNodesFromChapter",
                value: function (e, n) {
                  var i = this,
                    t = document.createElement("li"),
                    r = "h5p-interactive-book-sectionlist-" + n;
                  if (
                    (t.classList.add("h5p-interactive-book-navigation-chapter"),
                    e.isSummary)
                  ) {
                    t.classList.add(
                      "h5p-interactive-book-navigation-summary-button",
                    );
                    var o = this.parent.chapters[n].instance.summaryMenuButton;
                    return (
                      o.classList.add(
                        "h5p-interactive-book-navigation-chapter-button",
                      ),
                      t.appendChild(o),
                      t
                    );
                  }
                  var s = document.createElement("div");
                  s.classList.add(
                    "h5p-interactive-book-navigation-chapter-accordion",
                  );
                  var a = document.createElement("div");
                  (a.classList.add(
                    "h5p-interactive-book-navigation-chapter-title-text",
                  ),
                    (a.innerHTML = e.title),
                    a.setAttribute("title", e.title));
                  var c = document.createElement("div");
                  this.behaviour.progressIndicators &&
                    (c.classList.add("icon-chapter-blank"),
                    c.classList.add(
                      "h5p-interactive-book-navigation-chapter-progress",
                    ));
                  o = document.createElement("button");
                  (o.setAttribute("tabindex", 0 === n ? "0" : "-1"),
                    o.classList.add(
                      "h5p-interactive-book-navigation-chapter-button",
                    ),
                    this.parent.activeChapter !== n
                      ? (s.classList.add("icon-collapsed"),
                        o.setAttribute("aria-expanded", "false"))
                      : (s.classList.add("icon-expanded"),
                        o.setAttribute("aria-expanded", "true")),
                    o.setAttribute("aria-controls", r),
                    (o.onclick = function (e) {
                      var t = !e.currentTarget
                          .querySelector(
                            ".h5p-interactive-book-navigation-chapter-accordion",
                          )
                          .classList.contains("hidden"),
                        r =
                          "true" ===
                          e.currentTarget.getAttribute("aria-expanded");
                      (i.isOpenOnMobile() && i.parent.trigger("toggleMenu"),
                        (!i.isOpenOnMobile() && t && r) ||
                          ((r = {
                            h5pbookid: i.parent.contentId,
                            chapter: i.chapters[n].id,
                            section: 0,
                          }),
                          i.parent.trigger("newChapter", r)),
                        t &&
                          (i.toggleChapter(e.currentTarget.parentElement),
                          i.parent.trigger("resize")));
                    }),
                    o.appendChild(s),
                    o.appendChild(a),
                    o.appendChild(c),
                    t.appendChild(o),
                    this.parent.activeChapter === n
                      ? t
                          .querySelector(
                            ".h5p-interactive-book-navigation-chapter-button",
                          )
                          .classList.add(
                            "h5p-interactive-book-navigation-current",
                          )
                      : this.toggleChapter(t, !0));
                  var l = document.createElement("ul");
                  (l.classList.add(
                    "h5p-interactive-book-navigation-sectionlist",
                  ),
                    (l.id = r));
                  for (
                    var u, h = [], p = 0;
                    p < this.chapters[n].sections.length;
                    p++
                  )
                    if (this.parent.chapters[n].sections[p].isTask) {
                      var d = this.createSectionLink(n, p);
                      (h.push(d), l.appendChild(d));
                    } else {
                      var f =
                        this.parent.params.chapters[n].params.content[p]
                          .content;
                      if ("H5P.AdvancedText" === f.library.split(" ")[0]) {
                        d = document.createElement("div");
                        d.innerHTML = f.params.text;
                        for (
                          var m = d.querySelectorAll("h2, h3"), g = 0;
                          g < m.length;
                          g++
                        ) {
                          var v = m[g],
                            v = this.createSectionLink(n, p, v.textContent, g);
                          (h.push(v), l.appendChild(v));
                        }
                      }
                    }
                  return (
                    e.tasksLeft && (e.maxTasks = e.tasksLeft),
                    0 === h.length &&
                      (u = t.querySelector(
                        ".h5p-interactive-book-navigation-chapter-accordion",
                      )) &&
                      u.classList.add("hidden"),
                    t.appendChild(l),
                    t
                  );
                },
              },
              {
                key: "createSectionLink",
                value: function (r, e) {
                  var n = this,
                    t =
                      2 < arguments.length && void 0 !== arguments[2]
                        ? arguments[2]
                        : null,
                    i =
                      3 < arguments.length && void 0 !== arguments[3]
                        ? arguments[3]
                        : null,
                    o = this.chapters[r].sections[e],
                    s = document.createElement("div");
                  ((s.innerHTML = t || o.title),
                    s.setAttribute("title", t || o.title),
                    s.classList.add(
                      "h5p-interactive-book-navigation-section-title",
                    ));
                  var a = document.createElement("div");
                  (a.classList.add(
                    "h5p-interactive-book-navigation-section-icon",
                  ),
                    a.classList.add("icon-chapter-blank"),
                    this.parent.chapters[r].sections[e].isTask &&
                      a.classList.add(
                        "h5p-interactive-book-navigation-section-task",
                      ));
                  t = document.createElement("button");
                  (t.classList.add("section-button"),
                    t.setAttribute("tabindex", "-1"),
                    (t.onclick = function (e) {
                      var t = {
                        h5pbookid: n.parent.contentId,
                        chapter: n.chapters[r].id,
                        section: o.id,
                      };
                      (null !== i && (t.headerNumber = i),
                        n.parent.trigger("newChapter", t),
                        n.isOpenOnMobile() && n.parent.trigger("toggleMenu"),
                        e.preventDefault());
                    }),
                    t.appendChild(a),
                    t.appendChild(s));
                  s = document.createElement("li");
                  return (
                    s.classList.add("h5p-interactive-book-navigation-section"),
                    s.classList.add(
                      "h5p-interactive-book-navigation-section-" + e,
                    ),
                    s.appendChild(t),
                    s
                  );
                },
              },
              {
                key: "getChapterNodes",
                value: function () {
                  var r = this;
                  return this.chapters.map(function (e, t) {
                    return r.getNodesFromChapter(e, t);
                  });
                },
              },
              {
                key: "isOpenOnMobile",
                value: function () {
                  return (
                    this.parent.isMenuOpen() && this.parent.isSmallSurface()
                  );
                },
              },
              {
                key: "addTransformListener",
                value: function () {
                  var t = this;
                  this.container.addEventListener(
                    "transitionend",
                    function (e) {
                      "flex-basis" === e.propertyName &&
                        t.parent.trigger("resize");
                    },
                  );
                },
              },
            ]),
            Object.defineProperty(e, "prototype", { writable: !1 }),
            s
          );
        })();
        function o(e) {
          return (o =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        function d() {
          return (d = Object.assign
            ? Object.assign.bind()
            : function (e) {
                for (var t = 1; t < arguments.length; t++) {
                  var r,
                    n = arguments[t];
                  for (r in n)
                    Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
                }
                return e;
              }).apply(this, arguments);
        }
        function f(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        function m(e, t) {
          return (m = Object.setPrototypeOf
            ? Object.setPrototypeOf.bind()
            : function (e, t) {
                return ((e.__proto__ = t), e);
              })(e, t);
        }
        function g(e) {
          return (g = Object.setPrototypeOf
            ? Object.getPrototypeOf.bind()
            : function (e) {
                return e.__proto__ || Object.getPrototypeOf(e);
              })(e);
        }
        const v = (function () {
          !(function (e, t) {
            if ("function" != typeof t && null !== t)
              throw new TypeError(
                "Super expression must either be null or a function",
              );
            ((e.prototype = Object.create(t && t.prototype, {
              constructor: { value: e, writable: !0, configurable: !0 },
            })),
              Object.defineProperty(e, "prototype", { writable: !1 }),
              t && m(e, t));
          })(a, H5P.EventDispatcher);
          var e,
            r,
            n,
            s =
              ((r = a),
              (n = (function () {
                if ("undefined" == typeof Reflect || !Reflect.construct)
                  return !1;
                if (Reflect.construct.sham) return !1;
                if ("function" == typeof Proxy) return !0;
                try {
                  return (
                    Boolean.prototype.valueOf.call(
                      Reflect.construct(Boolean, [], function () {}),
                    ),
                    !0
                  );
                } catch (e) {
                  return !1;
                }
              })()),
              function () {
                var e,
                  t = g(r);
                return (function (e, t) {
                  if (t && ("object" === o(t) || "function" == typeof t))
                    return t;
                  if (void 0 !== t)
                    throw new TypeError(
                      "Derived constructors may only return object or undefined",
                    );
                  return (function (e) {
                    if (void 0 === e)
                      throw new ReferenceError(
                        "this hasn't been initialised - super() hasn't been called",
                      );
                    return e;
                  })(e);
                })(
                  this,
                  n
                    ? ((e = g(this).constructor),
                      Reflect.construct(t, arguments, e))
                    : t.apply(this, arguments),
                );
              });
          function a(e, t, r, n, i) {
            var o;
            (!(function (e) {
              if (!(e instanceof a))
                throw new TypeError("Cannot call a class as a function");
            })(this),
              ((o = s.call(this)).id = e),
              (o.parent = r),
              (o.params = n || {}),
              (o.params.l10n = n.l10n),
              (o.params.a11y = d(
                {
                  progress: "Page @page of @total",
                  menu: "Toggle navigation menu",
                },
                o.params.a11y || {},
              )),
              (o.totalChapters = t),
              (o.arrows = o.addArrows()),
              (o.progressBar = o.createProgressBar()),
              (o.progressIndicator = o.createProgressIndicator()),
              (o.chapterTitle = o.createChapterTitle()),
              (o.menuToggleButton = o.createMenuToggleButton()));
            t = document.createElement("div");
            return (
              t.classList.add("h5p-interactive-book-status"),
              o.params.displayToTopButton &&
                t.appendChild(o.createToTopButton()),
              o.params.displayFullScreenButton &&
                H5P.fullscreenSupported &&
                t.appendChild(o.createFullScreenButton()),
              t.appendChild(o.arrows.buttonWrapperNext),
              t.appendChild(o.arrows.buttonWrapperPrevious),
              o.params.displayMenuToggleButton &&
                t.appendChild(o.menuToggleButton),
              t.appendChild(o.progressIndicator.wrapper),
              t.appendChild(o.chapterTitle.wrapper),
              (o.wrapper = document.createElement("div")),
              o.wrapper.classList.add(i),
              o.wrapper.setAttribute("tabindex", "-1"),
              o.wrapper.appendChild(o.progressBar.wrapper),
              o.wrapper.appendChild(t),
              o.on("updateStatusBar", o.updateStatusBar),
              o.on("seqChapter", function (e) {
                var t = { h5pbookid: o.parent.contentId };
                (e.data.toTop && (t.section = "top"),
                  "next" === e.data.direction
                    ? o.parent.activeChapter + 1 < o.parent.chapters.length
                      ? (t.chapter = "h5p-interactive-book-chapter-".concat(
                          o.parent.chapters[o.parent.activeChapter + 1].instance
                            .subContentId,
                        ))
                      : o.parent.hasSummary() &&
                        o.parent.activeChapter + 1 ===
                          o.parent.chapters.length &&
                        o.parent.trigger("viewSummary", t)
                    : "prev" === e.data.direction &&
                      0 < o.parent.activeChapter &&
                      (t.chapter = "h5p-interactive-book-chapter-".concat(
                        o.parent.chapters[o.parent.activeChapter - 1].instance
                          .subContentId,
                      )),
                  t.chapter && o.parent.trigger("newChapter", t));
              }),
              o
            );
          }
          return (
            f((e = a).prototype, [
              {
                key: "updateProgressBar",
                value: function (e) {
                  var t = "".concat((e / this.totalChapters) * 100, "%");
                  this.progressBar.progress.style.width = t;
                  e = this.params.a11y.progress
                    .replace("@page", e)
                    .replace("@total", this.totalChapters);
                  this.progressBar.progress.title = e;
                },
              },
              {
                key: "updateA11yProgress",
                value: function (e) {
                  this.progressIndicator.hiddenButRead.innerHTML =
                    this.params.a11y.progress
                      .replace("@page", e)
                      .replace("@total", this.totalChapters);
                },
              },
              {
                key: "updateStatusBar",
                value: function () {
                  var e = this.parent.getActiveChapter() + 1,
                    t = this.parent.chapters[e - 1].title;
                  ((this.progressIndicator.current.innerHTML = e),
                    this.updateA11yProgress(e),
                    this.updateProgressBar(e),
                    (this.chapterTitle.text.innerHTML = t),
                    this.chapterTitle.text.setAttribute("title", t),
                    this.parent.activeChapter <= 0
                      ? this.setButtonStatus("Previous", !0)
                      : this.setButtonStatus("Previous", !1),
                    this.parent.activeChapter + 1 >= this.totalChapters
                      ? this.setButtonStatus("Next", !0)
                      : this.setButtonStatus("Next", !1));
                },
              },
              {
                key: "addArrows",
                value: function () {
                  var e = this,
                    t = {};
                  return (
                    (t.buttonPrevious = document.createElement("div")),
                    t.buttonPrevious.classList.add(
                      "navigation-button",
                      "icon-previous",
                    ),
                    t.buttonPrevious.setAttribute(
                      "title",
                      this.params.l10n.previousPage,
                    ),
                    (t.buttonWrapperPrevious =
                      document.createElement("button")),
                    t.buttonWrapperPrevious.classList.add(
                      "h5p-interactive-book-status-arrow",
                      "h5p-interactive-book-status-button",
                      "previous",
                    ),
                    t.buttonWrapperPrevious.setAttribute(
                      "aria-label",
                      this.params.l10n.previousPage,
                    ),
                    (t.buttonWrapperPrevious.onclick = function () {
                      e.trigger("seqChapter", { direction: "prev", toTop: !0 });
                    }),
                    t.buttonWrapperPrevious.appendChild(t.buttonPrevious),
                    (t.buttonNext = document.createElement("div")),
                    t.buttonNext.classList.add(
                      "navigation-button",
                      "icon-next",
                    ),
                    t.buttonNext.setAttribute(
                      "title",
                      this.params.l10n.nextPage,
                    ),
                    (t.buttonWrapperNext = document.createElement("button")),
                    t.buttonWrapperNext.classList.add(
                      "h5p-interactive-book-status-arrow",
                      "h5p-interactive-book-status-button",
                      "next",
                    ),
                    t.buttonWrapperNext.setAttribute(
                      "aria-label",
                      this.params.l10n.nextPage,
                    ),
                    (t.buttonWrapperNext.onclick = function () {
                      e.trigger("seqChapter", { direction: "next", toTop: !0 });
                    }),
                    t.buttonWrapperNext.appendChild(t.buttonNext),
                    t
                  );
                },
              },
              {
                key: "createMenuToggleButton",
                value: function () {
                  var e = this,
                    t = document.createElement("a");
                  t.classList.add("icon-menu");
                  var r = document.createElement("button");
                  return (
                    r.classList.add("h5p-interactive-book-status-menu"),
                    r.classList.add("h5p-interactive-book-status-button"),
                    r.setAttribute("aria-label", this.params.a11y.menu),
                    r.setAttribute("aria-expanded", "false"),
                    r.setAttribute(
                      "aria-controls",
                      "h5p-interactive-book-navigation-menu",
                    ),
                    (r.onclick = function () {
                      e.parent.trigger("toggleMenu");
                    }),
                    r.appendChild(t),
                    r
                  );
                },
              },
              {
                key: "isMenuOpen",
                value: function () {
                  return this.menuToggleButton.classList.contains(
                    "h5p-interactive-book-status-menu-active",
                  );
                },
              },
              {
                key: "createProgressBar",
                value: function () {
                  var e = document.createElement("div");
                  (e.classList.add(
                    "h5p-interactive-book-status-progressbar-front",
                  ),
                    e.setAttribute("tabindex", "-1"));
                  var t = document.createElement("div");
                  return (
                    t.classList.add(
                      "h5p-interactive-book-status-progressbar-back",
                    ),
                    t.appendChild(e),
                    { wrapper: t, progress: e }
                  );
                },
              },
              {
                key: "createChapterTitle",
                value: function () {
                  var e = document.createElement("h1");
                  e.classList.add("title");
                  var t = document.createElement("div");
                  return (
                    t.classList.add("h5p-interactive-book-status-chapter"),
                    t.appendChild(e),
                    { wrapper: t, text: e }
                  );
                },
              },
              {
                key: "createToTopButton",
                value: function () {
                  var e = this,
                    t = document.createElement("div");
                  (t.classList.add("icon-up"),
                    t.classList.add("navigation-button"));
                  var r = document.createElement("button");
                  return (
                    r.classList.add("h5p-interactive-book-status-to-top"),
                    r.classList.add("h5p-interactive-book-status-button"),
                    r.classList.add("h5p-interactive-book-status-arrow"),
                    r.setAttribute(
                      "aria-label",
                      this.params.l10n.navigateToTop,
                    ),
                    r.addEventListener("click", function () {
                      (e.parent.trigger("scrollToTop"),
                        document
                          .querySelector(".h5p-interactive-book-status-menu")
                          .focus());
                    }),
                    r.appendChild(t),
                    r
                  );
                },
              },
              {
                key: "setVisibility",
                value: function (e) {
                  e
                    ? this.wrapper.classList.add("footer-hidden")
                    : this.wrapper.classList.remove("footer-hidden");
                },
              },
              {
                key: "createProgressIndicator",
                value: function () {
                  var e = document.createElement("span");
                  (e.classList.add(
                    "h5p-interactive-book-status-progress-number",
                  ),
                    e.setAttribute("aria-hidden", "true"));
                  var t = document.createElement("span");
                  (t.classList.add(
                    "h5p-interactive-book-status-progress-divider",
                  ),
                    (t.innerHTML = " / "),
                    t.setAttribute("aria-hidden", "true"));
                  var r = document.createElement("span");
                  (r.classList.add(
                    "h5p-interactive-book-status-progress-number",
                  ),
                    (r.innerHTML = this.totalChapters),
                    r.setAttribute("aria-hidden", "true"));
                  var n = document.createElement("p");
                  n.classList.add("hidden-but-read");
                  var i = document.createElement("p");
                  (i.classList.add("h5p-interactive-book-status-progress"),
                    i.appendChild(e),
                    i.appendChild(t),
                    i.appendChild(r),
                    i.appendChild(n));
                  var o = document.createElement("div");
                  return (
                    o.classList.add(
                      "h5p-interactive-book-status-progress-wrapper",
                    ),
                    o.appendChild(i),
                    {
                      wrapper: o,
                      current: e,
                      total: r,
                      divider: t,
                      progressText: i,
                      hiddenButRead: n,
                    }
                  );
                },
              },
              {
                key: "setButtonStatus",
                value: function (e, t) {
                  t
                    ? (this.arrows["buttonWrapper" + e].setAttribute(
                        "disabled",
                        "disabled",
                      ),
                      this.arrows["button" + e].classList.add("disabled"))
                    : (this.arrows["buttonWrapper" + e].removeAttribute(
                        "disabled",
                      ),
                      this.arrows["button" + e].classList.remove("disabled"));
                },
              },
              {
                key: "createFullScreenButton",
                value: function () {
                  function t() {
                    !0 === H5P.isFullscreen
                      ? H5P.exitFullScreen()
                      : H5P.fullScreen(e.parent.mainWrapper, e.parent);
                  }
                  var e = this,
                    r = document.createElement("button");
                  return (
                    r.classList.add("h5p-interactive-book-status-fullscreen"),
                    r.classList.add("h5p-interactive-book-status-button"),
                    r.classList.add("h5p-interactive-book-enter-fullscreen"),
                    r.setAttribute("title", this.params.l10n.fullscreen),
                    r.setAttribute("aria-label", this.params.l10n.fullscreen),
                    r.addEventListener("click", t),
                    r.addEventListener("keyPress", function (e) {
                      (13 !== e.which && 32 !== e.which) ||
                        (t(), e.preventDefault());
                    }),
                    this.parent.on("enterFullScreen", function () {
                      ((e.parent.isFullscreen = !0),
                        r.classList.remove(
                          "h5p-interactive-book-enter-fullscreen",
                        ),
                        r.classList.add("h5p-interactive-book-exit-fullscreen"),
                        r.setAttribute("title", e.params.l10n.exitFullscreen),
                        r.setAttribute(
                          "aria-label",
                          e.params.l10n.exitFullScreen,
                        ),
                        e.parent.pageContent.updateFooter());
                    }),
                    this.parent.on("exitFullScreen", function () {
                      ((e.parent.isFullscreen = !1),
                        r.classList.remove(
                          "h5p-interactive-book-exit-fullscreen",
                        ),
                        r.classList.add(
                          "h5p-interactive-book-enter-fullscreen",
                        ),
                        r.setAttribute("title", e.params.l10n.fullscreen),
                        r.setAttribute("aria-label", e.params.l10n.fullscreen),
                        e.parent.pageContent.updateFooter());
                    }),
                    r
                  );
                },
              },
            ]),
            Object.defineProperty(e, "prototype", { writable: !1 }),
            a
          );
        })();
        function y(e) {
          return (y =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        function b(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        function w(e, t) {
          return (w = Object.setPrototypeOf
            ? Object.setPrototypeOf.bind()
            : function (e, t) {
                return ((e.__proto__ = t), e);
              })(e, t);
        }
        function x(e) {
          return (x = Object.setPrototypeOf
            ? Object.getPrototypeOf.bind()
            : function (e) {
                return e.__proto__ || Object.getPrototypeOf(e);
              })(e);
        }
        const S = (function () {
          !(function (e, t) {
            if ("function" != typeof t && null !== t)
              throw new TypeError(
                "Super expression must either be null or a function",
              );
            ((e.prototype = Object.create(t && t.prototype, {
              constructor: { value: e, writable: !0, configurable: !0 },
            })),
              Object.defineProperty(e, "prototype", { writable: !1 }),
              t && w(e, t));
          })(a, H5P.EventDispatcher);
          var e,
            r,
            n,
            s =
              ((r = a),
              (n = (function () {
                if ("undefined" == typeof Reflect || !Reflect.construct)
                  return !1;
                if (Reflect.construct.sham) return !1;
                if ("function" == typeof Proxy) return !0;
                try {
                  return (
                    Boolean.prototype.valueOf.call(
                      Reflect.construct(Boolean, [], function () {}),
                    ),
                    !0
                  );
                } catch (e) {
                  return !1;
                }
              })()),
              function () {
                var e,
                  t = x(r);
                return (function (e, t) {
                  if (t && ("object" === y(t) || "function" == typeof t))
                    return t;
                  if (void 0 !== t)
                    throw new TypeError(
                      "Derived constructors may only return object or undefined",
                    );
                  return (function (e) {
                    if (void 0 === e)
                      throw new ReferenceError(
                        "this hasn't been initialised - super() hasn't been called",
                      );
                    return e;
                  })(e);
                })(
                  this,
                  n
                    ? ((e = x(this).constructor),
                      Reflect.construct(t, arguments, e))
                    : t.apply(this, arguments),
                );
              });
          function a(e, t, r, n, i) {
            var o;
            return (
              (function (e) {
                if (!(e instanceof a))
                  throw new TypeError("Cannot call a class as a function");
              })(this),
              ((o = s.call(this)).parent = i),
              (o.params = e),
              (o.contentId = n),
              (o.container = o.createContainer()),
              e.coverMedium
                ? ((o.visuals = o.createVisualsElement(e.coverMedium)),
                  o.visuals && o.container.appendChild(o.visuals))
                : o.container.classList.add("h5p-cover-nographics"),
              o.container.appendChild(o.createTitleElement(t)),
              e.coverDescription &&
                o.container.appendChild(
                  o.createDescriptionElement(e.coverDescription),
                ),
              o.container.appendChild(o.createReadButton(r)),
              o
            );
          }
          return (
            b((e = a).prototype, [
              {
                key: "createContainer",
                value: function () {
                  var e = document.createElement("div");
                  return (e.classList.add("h5p-interactive-book-cover"), e);
                },
              },
              {
                key: "createVisualsElement",
                value: function (e) {
                  if (!e || !e.params) return null;
                  e = document.createElement("div");
                  return (
                    e.classList.add("h5p-interactive-book-cover-graphics"),
                    e
                  );
                },
              },
              {
                key: "initMedia",
                value: function () {
                  var e;
                  this.visuals &&
                    this.params.coverMedium &&
                    ("H5P.Video" ===
                      ((e = this.params.coverMedium).library || "").split(
                        " ",
                      )[0] && (e.params.visuals.fit = !1),
                    H5P.newRunnable(
                      e,
                      this.contentId,
                      H5P.jQuery(this.visuals),
                      !1,
                      { metadata: e.medatata },
                    ),
                    "H5P.Image" === (e.library || "").split(" ")[0] &&
                      (((e =
                        this.visuals.querySelector("img") ||
                        this.visuals.querySelector(
                          ".h5p-placeholder",
                        )).style.height = "auto"),
                      (e.style.width = "auto")),
                    this.visuals.appendChild(this.createCoverBar()));
                },
              },
              {
                key: "createImage",
                value: function (e, t, r) {
                  var n = document.createElement("img");
                  return (
                    n.classList.add("h5p-interactive-book-cover-image"),
                    (n.src = H5P.getPath(e, t)),
                    n.setAttribute("draggable", "false"),
                    r && (n.alt = r),
                    n
                  );
                },
              },
              {
                key: "createCoverBar",
                value: function () {
                  var e = document.createElement("div");
                  return (e.classList.add("h5p-interactive-book-cover-bar"), e);
                },
              },
              {
                key: "createTitleElement",
                value: function (e) {
                  var t = document.createElement("p");
                  t.innerHTML = e;
                  e = document.createElement("div");
                  return (
                    e.classList.add("h5p-interactive-book-cover-title"),
                    e.appendChild(t),
                    e
                  );
                },
              },
              {
                key: "createDescriptionElement",
                value: function (e) {
                  if (!e) return null;
                  var t = document.createElement("div");
                  return (
                    t.classList.add("h5p-interactive-book-cover-description"),
                    (t.innerHTML = e),
                    t
                  );
                },
              },
              {
                key: "createReadButton",
                value: function (e) {
                  var t = this,
                    r = document.createElement("button");
                  ((r.innerHTML = e),
                    (r.onclick = function () {
                      t.removeCover();
                    }));
                  e = document.createElement("div");
                  return (
                    e.classList.add("h5p-interactive-book-cover-readbutton"),
                    e.appendChild(r),
                    e
                  );
                },
              },
              {
                key: "removeCover",
                value: function () {
                  (this.container.parentElement.classList.remove("covered"),
                    this.container.parentElement.removeChild(this.container),
                    (this.hidden = !0),
                    this.parent.trigger("coverRemoved"));
                },
              },
            ]),
            Object.defineProperty(e, "prototype", { writable: !1 }),
            a
          );
        })();
        Q(7159);
        var r = Q(7124),
          s = Q.n(r);
        function n(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        var E =
          ((X = T),
          (r = [
            {
              key: "setBase",
              value: function (e) {
                e &&
                  ((T.colorBase = s()(e)),
                  (T.colorText = [
                    T.DEFAULT_COLOR_BG,
                    T.computeContrastColor(T.colorBase),
                    T.computeContrastColor(T.colorBase, T.DEFAULT_COLOR_BG),
                  ]
                    .map(function (e) {
                      return { color: e, contrast: T.colorBase.contrast(e) };
                    })
                    .reduce(
                      function (e, t) {
                        return t.contrast > e.contrast ? t : e;
                      },
                      { contrast: 0 },
                    ).color));
              },
            },
            {
              key: "getColor",
              value: function (e) {
                var r =
                  1 < arguments.length && void 0 !== arguments[1]
                    ? arguments[1]
                    : {};
                if (
                  ("string" == typeof r.opacity &&
                    /^([0-9]|[1-8][0-9]|9[0-9]|100)(\.\d+)?\s?%$/.test(
                      r.opacity,
                    ) &&
                    (r.opacity = parseInt(r.opacity) / 100),
                  "number" != typeof r.opacity ||
                    r.opacity < 0 ||
                    1 < r.opacity)
                )
                  return e;
                var n = s()("#ffffff").rgb().array();
                return s().rgb(
                  e
                    .rgb()
                    .array()
                    .map(function (e, t) {
                      return r.opacity * e + (1 - r.opacity) * n[t];
                    }),
                );
              },
            },
            {
              key: "isBaseColor",
              value: function (e) {
                return s()(e).hex() === T.colorBase.hex();
              },
            },
            {
              key: "computeContrastColor",
              value: function (e, r) {
                for (
                  var n, i = (r = r || e).luminosity(), t = 0;
                  t <= 1 &&
                  "break" !==
                    (function (t) {
                      if (
                        (n = s().rgb(
                          e
                            .rgb()
                            .array()
                            .map(function (e) {
                              return e * (0.5 < i ? 1 - t : 1 + t);
                            }),
                        )).contrast(r) >= T.MINIMUM_ACCEPTABLE_CONTRAST
                      )
                        return "break";
                    })(t);
                  t += 0.05
                );
                return n;
              },
            },
            {
              key: "getContentTypeCSS",
              value: function (e) {
                return T.COLOR_OVERRIDES[e]
                  ? T.COLOR_OVERRIDES[e].getCSS()
                  : "";
              },
            },
            {
              key: "getCSS",
              value: function () {
                return ":root{\n      --color-base: "
                  .concat(T.colorBase, ";\n      --color-base-5: ")
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.05 }),
                    ";\n      --color-base-10: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.1 }),
                    ";\n      --color-base-20: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.2 }),
                    ";\n      --color-base-75: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.75 }),
                    ";\n      --color-base-80: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.8 }),
                    ";\n      --color-base-85: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.85 }),
                    ";\n      --color-base-90: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.9 }),
                    ";\n      --color-base-95: ",
                  )
                  .concat(
                    T.getColor(T.colorBase, { opacity: 0.95 }),
                    ";\n      --color-text: ",
                  )
                  .concat(T.colorText, ";\n      --color-contrast: ")
                  .concat(
                    T.computeContrastColor(T.colorBase, T.DEFAULT_COLOR_BG),
                    ";\n    }",
                  );
              },
            },
          ]),
          null && n(X.prototype, null),
          n(X, r),
          Object.defineProperty(X, "prototype", { writable: !1 }),
          T);
        function T() {
          !(function (e) {
            if (!(e instanceof T))
              throw new TypeError("Cannot call a class as a function");
          })(this);
        }
        function C(e) {
          return (C =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        function P(e, t) {
          var r =
            ("undefined" != typeof Symbol && e[Symbol.iterator]) ||
            e["@@iterator"];
          if (!r) {
            if (
              Array.isArray(e) ||
              (r = (function (e) {
                if (e) {
                  if ("string" == typeof e) return k(e, void 0);
                  var t = Object.prototype.toString.call(e).slice(8, -1);
                  return "Map" ===
                    (t =
                      "Object" === t && e.constructor
                        ? e.constructor.name
                        : t) || "Set" === t
                    ? Array.from(e)
                    : "Arguments" === t ||
                        /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)
                      ? k(e, void 0)
                      : void 0;
                }
              })(e)) ||
              (t && e && "number" == typeof e.length)
            ) {
              r && (e = r);
              var n = 0,
                t = function () {};
              return {
                s: t,
                n: function () {
                  return n >= e.length
                    ? { done: !0 }
                    : { done: !1, value: e[n++] };
                },
                e: function (e) {
                  throw e;
                },
                f: t,
              };
            }
            throw new TypeError(
              "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.",
            );
          }
          var i,
            o = !0,
            s = !1;
          return {
            s: function () {
              r = r.call(e);
            },
            n: function () {
              var e = r.next();
              return ((o = e.done), e);
            },
            e: function (e) {
              ((s = !0), (i = e));
            },
            f: function () {
              try {
                o || null == r.return || r.return();
              } finally {
                if (s) throw i;
              }
            },
          };
        }
        function k(e, t) {
          (null == t || t > e.length) && (t = e.length);
          for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
          return n;
        }
        function A(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        function _(e, t) {
          return (_ = Object.setPrototypeOf
            ? Object.setPrototypeOf.bind()
            : function (e, t) {
                return ((e.__proto__ = t), e);
              })(e, t);
        }
        function I(e) {
          return (I = Object.setPrototypeOf
            ? Object.getPrototypeOf.bind()
            : function (e) {
                return e.__proto__ || Object.getPrototypeOf(e);
              })(e);
        }
        ((E.DEFAULT_COLOR_BASE = s()("#1768c4")),
          (E.DEFAULT_COLOR_BG = s()("#ffffff")),
          (E.MINIMUM_ACCEPTABLE_CONTRAST = 4.5),
          (E.colorBase = E.DEFAULT_COLOR_BASE),
          (E.colorText = E.DEFAULT_COLOR_BG));
        const O = (function () {
          !(function (e, t) {
            if ("function" != typeof t && null !== t)
              throw new TypeError(
                "Super expression must either be null or a function",
              );
            ((e.prototype = Object.create(t && t.prototype, {
              constructor: { value: e, writable: !0, configurable: !0 },
            })),
              Object.defineProperty(e, "prototype", { writable: !1 }),
              t && _(e, t));
          })(o, H5P.EventDispatcher);
          var e,
            r,
            n,
            i =
              ((r = o),
              (n = (function () {
                if ("undefined" == typeof Reflect || !Reflect.construct)
                  return !1;
                if (Reflect.construct.sham) return !1;
                if ("function" == typeof Proxy) return !0;
                try {
                  return (
                    Boolean.prototype.valueOf.call(
                      Reflect.construct(Boolean, [], function () {}),
                    ),
                    !0
                  );
                } catch (e) {
                  return !1;
                }
              })()),
              function () {
                var e,
                  t = I(r);
                return (function (e, t) {
                  if (t && ("object" === C(t) || "function" == typeof t))
                    return t;
                  if (void 0 !== t)
                    throw new TypeError(
                      "Derived constructors may only return object or undefined",
                    );
                  return (function (e) {
                    if (void 0 === e)
                      throw new ReferenceError(
                        "this hasn't been initialised - super() hasn't been called",
                      );
                    return e;
                  })(e);
                })(
                  this,
                  n
                    ? ((e = I(this).constructor),
                      Reflect.construct(t, arguments, e))
                    : t.apply(this, arguments),
                );
              });
          function o(e, t, r) {
            var n;
            return (
              (function (e) {
                if (!(e instanceof o))
                  throw new TypeError("Cannot call a class as a function");
              })(this),
              ((n = i.call(this)).parent = t),
              (n.behaviour = e.behaviour),
              (n.l10n = e.l10n),
              (n.chapters = r || []),
              (n.subContentId = "summary"),
              (n.wrapper = null),
              (n.summaryMenuButton = n.createSummaryButton()),
              (n.filterActionAll = "all"),
              (n.filterActionUnanswered = "unanswered"),
              (n.bookCompleted = !1),
              (n.tempState = JSON.stringify(
                n.parent.previousState && n.parent.previousState.chapters
                  ? n.parent.previousState.chapters
                  : n.getChapterStats(),
              )),
              t.on("bookCompleted", function (e) {
                return n.setBookComplete(e.data.completed);
              }),
              t.on("toggleMenu", function () {
                var e = document.querySelector(
                  ".h5p-interactive-book-summary-footer",
                );
                e &&
                  n.bookCompleted &&
                  (n.parent.isMenuOpen()
                    ? e.classList.add("menu-open")
                    : e.classList.remove("menu-open"));
              }),
              n
            );
          }
          return (
            A((e = o).prototype, [
              {
                key: "setBookComplete",
                value: function (t) {
                  var e = this.parent.mainWrapper
                    ? this.parent.mainWrapper[0].querySelector(
                        ".h5p-interactive-book-summary-footer",
                      )
                    : null;
                  (!e &&
                    this.parent.isSmallSurface() &&
                    ((e = document.createElement("div")).classList.add(
                      "h5p-interactive-book-summary-footer",
                    ),
                    e.appendChild(this.createSummaryButton()),
                    this.parent.mainWrapper.append(e)),
                    e &&
                      t &&
                      setTimeout(function () {
                        return e.classList.add("show-footer");
                      }, 0),
                    (this.bookCompleted = t),
                    Array.from(
                      document.querySelectorAll(
                        ".h5p-interactive-book-summary-menu-button",
                      ),
                    ).forEach(function (e) {
                      return e.setAttribute(
                        "data-book-completed",
                        t.toString(),
                      );
                    }));
                },
              },
              {
                key: "setChapters",
                value: function (e) {
                  this.chapters = Array.isArray(e) ? e : [];
                },
              },
              {
                key: "setSummaryMenuButtonDisabled",
                value: function () {
                  this.summaryMenuButton.disabled =
                    !(0 < arguments.length && void 0 !== arguments[0]) ||
                    arguments[0];
                },
              },
              {
                key: "setFilter",
                value: function (e) {
                  var t = this,
                    r = this.wrapper.querySelector(
                      ".h5p-interactive-book-summary-overview-list",
                    ),
                    n = Array.from(
                      r.querySelectorAll(
                        ".h5p-interactive-book-summary-overview-section",
                      ),
                    );
                  n.forEach(function (e) {
                    (e.classList.remove(
                      "h5p-interactive-book-summary-top-section",
                    ),
                      e.classList.remove(
                        "h5p-interactive-book-summary-bottom-section",
                      ));
                  });
                  var i = r.querySelector(
                    ".h5p-interactive-book-summary-overview-list-empty",
                  );
                  ((i.style.display = "none"),
                    e === this.filterActionUnanswered
                      ? (r.classList.add(
                          "h5p-interactive-book-summary-overview-list-only-unanswered",
                        ),
                        (n = n.filter(function (e) {
                          return !e.classList.contains(
                            "h5p-interactive-book-summary-no-interactions",
                          );
                        })).length
                          ? (n[0].classList.add(
                              "h5p-interactive-book-summary-top-section",
                            ),
                            n[n.length - 1].classList.add(
                              "h5p-interactive-book-summary-bottom-section",
                            ))
                          : (i.style.display = "block"))
                      : e === this.filterActionAll &&
                        r.classList.remove(
                          "h5p-interactive-book-summary-overview-list-only-unanswered",
                        ),
                    setTimeout(function () {
                      return t.trigger("resize");
                    }, 1));
                },
              },
              {
                key: "createSummaryButton",
                value: function () {
                  var t = this,
                    e = document.createElement("button");
                  (e.classList.add("h5p-interactive-book-summary-menu-button"),
                    (e.onclick = function () {
                      var e = {
                        h5pbookid: t.parent.contentId,
                        chapter: "h5p-interactive-book-chapter-summary",
                        section: "top",
                      };
                      (t.parent.trigger("newChapter", e),
                        t.parent.isMenuOpen() &&
                          t.parent.isSmallSurface() &&
                          t.parent.trigger("toggleMenu"));
                    }));
                  var r = document.createElement("span");
                  (r.classList.add("h5p-interactive-book-summary-icon"),
                    r.classList.add("icon-paper"),
                    r.setAttribute("aria-hidden", "true"));
                  var n = document.createElement("span");
                  (n.classList.add("h5p-interactive-book-summary-text"),
                    (n.innerHTML = this.l10n.summaryAndSubmit));
                  var i = document.createElement("span");
                  return (
                    i.classList.add(
                      "h5p-interactive-book-summary-menu-button-arrow",
                    ),
                    i.classList.add("icon-up"),
                    i.setAttribute("aria-hidden", "true"),
                    e.appendChild(r),
                    e.appendChild(n),
                    e.appendChild(i),
                    e
                  );
                },
              },
              {
                key: "createCircle",
                value: function (e) {
                  var t = E.computeContrastColor(
                      E.colorBase,
                      E.DEFAULT_COLOR_BG,
                    ),
                    r = document.createElement("div");
                  return (
                    r.classList.add(
                      "h5p-interactive-book-summary-progress-circle",
                    ),
                    r.setAttribute("data-value", e),
                    r.setAttribute("data-start-angle", -Math.PI / 3),
                    r.setAttribute("data-thickness", 13),
                    r.setAttribute(
                      "data-empty-fill",
                      "rgba(".concat(t.rgb().array().join(", "), ", .1)"),
                    ),
                    r.setAttribute(
                      "data-fill",
                      JSON.stringify({ color: t.hex() }),
                    ),
                    r
                  );
                },
              },
              {
                key: "createProgress",
                value: function (e, t, r, n) {
                  var i =
                      4 < arguments.length &&
                      void 0 !== arguments[4] &&
                      arguments[4],
                    o = 5 < arguments.length ? arguments[5] : void 0,
                    s = 6 < arguments.length ? arguments[6] : void 0,
                    a = document.createElement("div"),
                    c = document.createElement("h3");
                  c.innerHTML = e;
                  var l = (100 * r) / n;
                  (void 0 === o && (o = r), void 0 === s && (s = n));
                  e = document.createElement("p");
                  (e.classList.add(
                    "h5p-interactive-book-summary-progressbox-bigtext",
                  ),
                    (e.innerHTML = Math.round(l) + "%"),
                    i &&
                      ((l = document.createElement("span")).classList.add(
                        "absolute-value",
                      ),
                      (l.innerHTML = r),
                      (i = document.createElement("span")).classList.add(
                        "separator",
                      ),
                      (i.innerHTML = "/"),
                      (u = document.createElement("span")).classList.add(
                        "absolute-value",
                      ),
                      (u.innerHTML = n),
                      (e.innerHTML = ""),
                      e.appendChild(l),
                      e.appendChild(i),
                      e.appendChild(u)));
                  var u = document.createElement("span");
                  (u.classList.add(
                    "h5p-interactive-book-summary-progressbox-smalltext",
                  ),
                    (u.innerHTML = t.replace("@count", o).replace("@total", s)),
                    a.appendChild(c),
                    a.appendChild(e),
                    a.appendChild(u));
                  u = document.createElement("div");
                  return (
                    u.appendChild(a),
                    u.appendChild(this.createCircle(r / n)),
                    u
                  );
                },
              },
              {
                key: "addScoreProgress",
                value: function () {
                  var e,
                    t = 0,
                    r = 0,
                    n = P(this.chapters);
                  try {
                    for (n.s(); !(e = n.n()).done; ) {
                      var i = e.value;
                      ((t += i.maxTasks), (r += i.tasksLeft));
                    }
                  } catch (e) {
                    n.e(e);
                  } finally {
                    n.f();
                  }
                  var o = this.createProgress(
                    this.l10n.totalScoreLabel,
                    this.l10n.interactionsProgressSubtext,
                    this.parent.getScore(),
                    this.parent.getMaxScore(),
                    !0,
                    Math.max(t - r, 0),
                    t,
                  );
                  (o.classList.add(
                    "h5p-interactive-book-summary-progress-container",
                  ),
                    o.classList.add(
                      "h5p-interactive-book-summary-score-progress",
                    ));
                  var s = o.querySelector(
                    ".h5p-interactive-book-summary-progress-circle",
                  );
                  return (
                    s.setAttribute("data-empty-fill", "rgb(198, 220, 212)"),
                    s.setAttribute(
                      "data-fill",
                      JSON.stringify({ color: "#0e7c57" }),
                    ),
                    o
                  );
                },
              },
              {
                key: "addBookProgress",
                value: function () {
                  var e = this.createProgress(
                    this.l10n.bookProgress,
                    this.l10n.bookProgressSubtext,
                    this.chapters.filter(function (e) {
                      return e.completed;
                    }).length,
                    this.chapters.length,
                  );
                  return (
                    e.classList.add(
                      "h5p-interactive-book-summary-progress-container",
                    ),
                    e.classList.add(
                      "h5p-interactive-book-summary-book-progress",
                    ),
                    e
                  );
                },
              },
              {
                key: "addInteractionsProgress",
                value: function () {
                  var e,
                    t = 0,
                    r = 0,
                    n = P(this.chapters);
                  try {
                    for (n.s(); !(e = n.n()).done; ) {
                      var i = e.value;
                      ((t += i.maxTasks), (r += i.tasksLeft));
                    }
                  } catch (e) {
                    n.e(e);
                  } finally {
                    n.f();
                  }
                  var o = this.createProgress(
                    this.l10n.interactionsProgress,
                    this.l10n.interactionsProgressSubtext,
                    Math.max(t - r, 0),
                    t,
                  );
                  return (
                    o.classList.add(
                      "h5p-interactive-book-summary-progress-container",
                    ),
                    o.classList.add(
                      "h5p-interactive-book-summary-interactions-progress",
                    ),
                    o
                  );
                },
              },
              {
                key: "addProgressIndicators",
                value: function () {
                  var e;
                  this.behaviour.progressIndicators &&
                    ((e = document.createElement("div")).classList.add(
                      "h5p-interactive-box-summary-progress",
                    ),
                    e.appendChild(this.addScoreProgress()),
                    e.appendChild(this.addBookProgress()),
                    e.appendChild(this.addInteractionsProgress()),
                    setTimeout(function () {
                      return H5P.jQuery(
                        ".h5p-interactive-book-summary-progress-circle",
                      ).circleProgress();
                    }, 100),
                    this.wrapper.appendChild(e));
                },
              },
              {
                key: "addActionButtons",
                value: function () {
                  var e,
                    t = this,
                    r = document.createElement("div");
                  (r.classList.add("h5p-interactive-book-summary-buttons"),
                    this.checkTheAnswerIsUpdated(),
                    this.parent.isSubmitButtonEnabled &&
                      this.parent.isAnswerUpdated &&
                      ((e = this.addButton(
                        "icon-paper-pencil",
                        this.l10n.submitReport,
                      )).classList.add("h5p-interactive-book-summary-submit"),
                      (e.onclick = function () {
                        (t.trigger("submitted"),
                          t.parent.triggerXAPIScored(
                            t.parent.getScore(),
                            t.parent.getMaxScore(),
                            "completed",
                          ),
                          r.classList.add("submitted"),
                          r.querySelector(".answers-submitted").focus(),
                          (t.tempState = JSON.stringify(t.getChapterStats())),
                          (t.parent.isAnswerUpdated = !1));
                      }),
                      r.appendChild(e)),
                    this.behaviour.enableRetry &&
                      r.appendChild(this.createRestartButton()),
                    r.appendChild(this.createSubmittedConfirmation()),
                    this.wrapper.appendChild(r));
                },
              },
              {
                key: "createRestartButton",
                value: function () {
                  var e = this,
                    t = this.addButton("icon-restart", this.l10n.restartLabel);
                  return (
                    t.classList.add("h5p-interactive-book-summary-restart"),
                    (t.onclick = function () {
                      return e.parent.resetTask();
                    }),
                    t
                  );
                },
              },
              {
                key: "createSubmittedConfirmation",
                value: function () {
                  var e = document.createElement("div");
                  e.classList.add("h5p-interactive-book-summary-submitted");
                  var t = document.createElement("span");
                  (t.classList.add("icon-chapter-done"),
                    t.classList.add("icon-check-mark"),
                    e.appendChild(t));
                  t = document.createElement("p");
                  return (
                    (t.innerHTML = this.l10n.yourAnswersAreSubmittedForReview),
                    (t.tabIndex = -1),
                    t.classList.add("answers-submitted"),
                    e.appendChild(t),
                    this.behaviour.enableRetry &&
                      e.appendChild(this.createRestartButton()),
                    e
                  );
                },
              },
              {
                key: "addButton",
                value: function (e, t) {
                  var r = document.createElement("button");
                  ((r.type = "button"),
                    r.classList.add("h5p-interactive-book-summary-button"),
                    (r.innerHTML = t));
                  t = document.createElement("span");
                  return (
                    t.classList.add(e),
                    t.setAttribute("aria-hidden", "true"),
                    r.appendChild(t),
                    r
                  );
                },
              },
              {
                key: "createSectionList",
                value: function (e, o) {
                  var s,
                    t,
                    r,
                    a = this,
                    c = [],
                    l = !1,
                    n = P(e);
                  try {
                    for (n.s(); !(s = n.n()).done; )
                      !(function () {
                        var t = s.value,
                          e = document.createElement("li");
                        (e.classList.add(
                          "h5p-interactive-book-summary-overview-section-details",
                        ),
                          a.behaviour.progressIndicators &&
                            ((i = document.createElement("span")).classList.add(
                              "h5p-interactive-book-summary-section-icon",
                            ),
                            i.classList.add(
                              t.taskDone
                                ? "icon-chapter-done"
                                : "icon-chapter-blank",
                            ),
                            e.appendChild(i)));
                        var r = document.createElement("button");
                        ((r.type = "button"),
                          r.classList.add(
                            "h5p-interactive-book-summary-section-title",
                          ),
                          (r.onclick = function () {
                            var e = {
                              h5pbookid: a.parent.contentId,
                              chapter: "h5p-interactive-book-chapter-".concat(
                                o,
                              ),
                              section: "h5p-interactive-book-section-".concat(
                                t.instance.subContentId,
                              ),
                            };
                            a.parent.trigger("newChapter", e);
                          }));
                        var n =
                            t.instance.contentData &&
                            t.instance.contentData.metadata &&
                            t.instance.contentData.metadata.title,
                          i =
                            t.content &&
                            t.content.metadata &&
                            t.content.metadata.title;
                        r.innerHTML = n || i || "Untitled";
                        i = document.createElement("div");
                        (i.classList.add(
                          "h5p-interactive-book-summary-section-score",
                        ),
                          (i.innerHTML = "-"),
                          "function" == typeof t.instance.getScore &&
                            (i.innerHTML = a.l10n.scoreText
                              .replace("@score", t.instance.getScore())
                              .replace("@maxscore", t.instance.getMaxScore())),
                          t.taskDone
                            ? e.classList.add(
                                "h5p-interactive-book-summary-overview-section-details-task-done",
                              )
                            : (l = !0),
                          e.appendChild(r),
                          e.appendChild(i),
                          c.push(e));
                      })();
                  } catch (e) {
                    n.e(e);
                  } finally {
                    n.f();
                  }
                  return (
                    c.length &&
                      ((t = document.createElement("div")).classList.add(
                        "h5p-interactive-book-summary-overview-section-score-header",
                      ),
                      ((r = document.createElement("div")).innerHTML =
                        this.l10n.score),
                      t.appendChild(r),
                      c.unshift(t)),
                    { hasUnansweredInteractions: l, sectionElements: c }
                  );
                },
              },
              {
                key: "createChapterOverview",
                value: function (t) {
                  var r = this,
                    e = document.createElement("li");
                  e.classList.add(
                    "h5p-interactive-book-summary-overview-section",
                  );
                  var n = document.createElement("h4");
                  n.onclick = function () {
                    var e = {
                      h5pbookid: r.parent.contentId,
                      chapter: "h5p-interactive-book-chapter-".concat(
                        t.instance.subContentId,
                      ),
                      section: "top",
                    };
                    r.parent.trigger("newChapter", e);
                  };
                  var i = document.createElement("span");
                  ((i.innerHTML = t.title),
                    n.appendChild(i),
                    this.behaviour.progressIndicators &&
                      ((o = document.createElement("span")),
                      (i = this.parent.getChapterStatus(t)),
                      o.classList.add("icon-chapter-".concat(i.toLowerCase())),
                      n.appendChild(o)),
                    e.appendChild(n));
                  var o = this.createSectionList(
                      t.sections.filter(function (e) {
                        return e.isTask;
                      }),
                      t.instance.subContentId,
                    ),
                    n = o.sectionElements;
                  !1 === o.hasUnansweredInteractions &&
                    e.classList.add(
                      "h5p-interactive-book-summary-no-interactions",
                    );
                  o = document.createElement("div");
                  (o.classList.add(
                    "h5p-interactive-book-summary-chapter-subheader",
                  ),
                    t.maxTasks
                      ? (o.innerHTML = this.l10n.leftOutOfTotalCompleted
                          .replace(
                            "@left",
                            Math.max(t.maxTasks - t.tasksLeft, 0),
                          )
                          .replace("@max", t.maxTasks))
                      : (o.innerHTML = this.l10n.noInteractions),
                    e.appendChild(o));
                  var s = document.createElement("ul");
                  return (
                    n.length &&
                      n.map(function (e) {
                        return s.appendChild(e);
                      }),
                    e.appendChild(s),
                    e
                  );
                },
              },
              {
                key: "createFilterDropdown",
                value: function () {
                  function e(e, t) {
                    var r = document.createElement("li");
                    r.role = "menuitem";
                    var n = document.createElement("button");
                    return (
                      (n.textContent = e),
                      (n.type = "button"),
                      (n.onclick = function (e) {
                        (i.setFilter(t),
                          o.removeAttribute("active"),
                          s.setAttribute("aria-expanded", "false"),
                          (a.textContent = e.currentTarget.innerHTML));
                      }),
                      r.appendChild(n),
                      r
                    );
                  }
                  var i = this,
                    o = document.createElement("div");
                  o.classList.add("h5p-interactive-book-summary-dropdown");
                  var s = document.createElement("button");
                  (s.setAttribute("aria-haspopup", "true"),
                    s.setAttribute("aria-expanded", "false"),
                    (s.type = "button"),
                    (s.onclick = function () {
                      o.hasAttribute("active")
                        ? (o.removeAttribute("active"),
                          s.setAttribute("aria-expanded", "false"))
                        : (o.setAttribute("active", ""),
                          s.setAttribute("aria-expanded", "true"),
                          s.focus());
                    }));
                  var a = document.createElement("span");
                  ((a.textContent = this.l10n.allInteractions),
                    s.appendChild(a));
                  var t = document.createElement("span");
                  (t.classList.add(
                    "h5p-interactive-book-summary-dropdown-icon",
                  ),
                    t.classList.add("icon-expanded"),
                    t.setAttribute("aria-hidden", "true"),
                    s.appendChild(t));
                  var r = document.createElement("ul");
                  ((r.role = "menu"),
                    r.classList.add(
                      "h5p-interactive-book-summary-dropdown-menu",
                    ));
                  var n = e(this.l10n.allInteractions, this.filterActionAll),
                    t = e(
                      this.l10n.unansweredInteractions,
                      this.filterActionUnanswered,
                    );
                  return (
                    r.appendChild(n),
                    r.appendChild(t),
                    o.appendChild(s),
                    o.appendChild(r),
                    o
                  );
                },
              },
              {
                key: "addSummaryOverview",
                value: function () {
                  var e = document.createElement("ul");
                  e.classList.add("h5p-interactive-book-summary-list");
                  var t = document.createElement("li");
                  t.classList.add(
                    "h5p-interactive-book-summary-overview-header",
                  );
                  var r = document.createElement("h3");
                  ((r.innerHTML = this.l10n.summaryHeader),
                    t.appendChild(r),
                    t.appendChild(this.createFilterDropdown()),
                    e.appendChild(t));
                  var n = document.createElement("ol");
                  n.classList.add("h5p-interactive-book-summary-overview-list");
                  var i,
                    o = P(this.chapters);
                  try {
                    for (o.s(); !(i = o.n()).done; ) {
                      var s = i.value;
                      n.appendChild(this.createChapterOverview(s));
                    }
                  } catch (e) {
                    o.e(e);
                  } finally {
                    o.f();
                  }
                  t = document.createElement("p");
                  (t.classList.add(
                    "h5p-interactive-book-summary-overview-list-empty",
                  ),
                    t.classList.add("h5p-interactive-book-summary-top-section"),
                    t.classList.add(
                      "h5p-interactive-book-summary-bottom-section",
                    ),
                    (t.innerHTML = this.l10n.noInteractions),
                    n.appendChild(t),
                    e.appendChild(n),
                    this.wrapper.appendChild(e));
                },
              },
              {
                key: "addScoreBar",
                value: function () {
                  var e = document.createElement("div");
                  e.classList.add("h5p-interactive-book-summary-score-bar");
                  var t = H5P.JoubelUI.createScoreBar(
                    this.parent.getMaxScore(),
                  );
                  (t.setScore(this.parent.getScore()),
                    t.appendTo(e),
                    this.wrapper.appendChild(e));
                },
              },
              {
                key: "noChapterInteractions",
                value: function () {
                  var e = document.createElement("div");
                  e.classList.add(
                    "h5p-interactive-book-summary-no-chapter-interactions",
                  );
                  var t = document.createElement("p");
                  t.innerHTML = this.l10n.noChapterInteractionBoldText;
                  var r = document.createElement("p");
                  (r.classList.add(
                    "h5p-interactive-book-summary-no-initialized-chapters",
                  ),
                    (r.innerHTML = this.l10n.noChapterInteractionText),
                    e.appendChild(t),
                    e.appendChild(r),
                    this.wrapper.appendChild(e));
                },
              },
              {
                key: "addSummaryPage",
                value: function (e) {
                  if (
                    ((this.wrapper = document.createElement("div")),
                    this.wrapper.classList.add(
                      "h5p-interactive-book-summary-page",
                    ),
                    0 <
                      this.chapters.filter(function (e) {
                        return e.isInitialized;
                      }).length ||
                      this.chapters.some(function (e) {
                        return e.sections.some(function (e) {
                          return e.taskDone;
                        });
                      }))
                  ) {
                    if (
                      (this.parent.pageContent &&
                        this.parent.chapters[
                          this.parent.getChapterId(
                            this.parent.pageContent.targetPage.chapter,
                          )
                        ].isSummary) ||
                      0 === this.parent.chapters.length
                    ) {
                      if (0 < this.parent.chapters.length)
                        for (var t in this.chapters)
                          this.parent.pageContent.initializeChapter(t);
                      (this.addProgressIndicators(),
                        this.addActionButtons(),
                        this.addSummaryOverview(),
                        this.addScoreBar());
                    }
                  } else this.noChapterInteractions();
                  return (
                    Array.from(
                      document.querySelectorAll(
                        ".h5p-interactive-book-summary-footer",
                      ),
                    ).forEach(function (e) {
                      return e.remove();
                    }),
                    e.append(this.wrapper),
                    e
                  );
                },
              },
              {
                key: "checkTheAnswerIsUpdated",
                value: function () {
                  var e,
                    t = this.getChapterStats(),
                    r = JSON.parse(this.tempState),
                    n = P(t.keys());
                  try {
                    for (n.s(); !(e = n.n()).done; ) {
                      var i,
                        o = e.value,
                        s = r[o].state.instances,
                        a = t[o].state.instances,
                        c = t[o].sections,
                        l = P(s.keys());
                      try {
                        for (l.s(); !(i = l.n()).done; ) {
                          var u = i.value;
                          null !== s[u] &&
                            void 0 !== s[u] &&
                            (Array.isArray(s[u]) &&
                              !this.compareStates(s[u], a[u]) &&
                              c[u].taskDone &&
                              (this.parent.isAnswerUpdated = !0),
                            "object" === C(s[u]) &&
                              !Array.isArray(s[u]) &&
                              JSON.stringify(s[u]) !== JSON.stringify(a[u]) &&
                              c[u].taskDone &&
                              (this.parent.isAnswerUpdated = !0));
                        }
                      } catch (e) {
                        l.e(e);
                      } finally {
                        l.f();
                      }
                      if (this.parent.isAnswerUpdated) break;
                    }
                  } catch (e) {
                    n.e(e);
                  } finally {
                    n.f();
                  }
                },
              },
              {
                key: "getChapterStats",
                value: function () {
                  return this.chapters
                    .filter(function (e) {
                      return !e.isSummary;
                    })
                    .map(function (e) {
                      return {
                        sections: e.sections.map(function (e) {
                          return { taskDone: e.taskDone };
                        }),
                        state: e.instance.getCurrentState(),
                      };
                    });
                },
              },
              {
                key: "compareStates",
                value: function (e, r) {
                  return (
                    Array.isArray(e) &&
                    Array.isArray(r) &&
                    e.length === r.length &&
                    e.every(function (e, t) {
                      return e === r[t] || "" === r[t];
                    })
                  );
                },
              },
            ]),
            Object.defineProperty(e, "prototype", { writable: !1 }),
            o
          );
        })();
        function L(e) {
          return (L =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        function H(t, e) {
          var r,
            n = Object.keys(t);
          return (
            Object.getOwnPropertySymbols &&
              ((r = Object.getOwnPropertySymbols(t)),
              e &&
                (r = r.filter(function (e) {
                  return Object.getOwnPropertyDescriptor(t, e).enumerable;
                })),
              n.push.apply(n, r)),
            n
          );
        }
        function N(n) {
          for (var e = 1; e < arguments.length; e++) {
            var i = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? H(Object(i), !0).forEach(function (e) {
                  var t, r;
                  ((t = n),
                    (e = i[(r = e)]),
                    r in t
                      ? Object.defineProperty(t, r, {
                          value: e,
                          enumerable: !0,
                          configurable: !0,
                          writable: !0,
                        })
                      : (t[r] = e));
                })
              : Object.getOwnPropertyDescriptors
                ? Object.defineProperties(
                    n,
                    Object.getOwnPropertyDescriptors(i),
                  )
                : H(Object(i)).forEach(function (e) {
                    Object.defineProperty(
                      n,
                      e,
                      Object.getOwnPropertyDescriptor(i, e),
                    );
                  });
          }
          return n;
        }
        function R() {
          return (R = Object.assign
            ? Object.assign.bind()
            : function (e) {
                for (var t = 1; t < arguments.length; t++) {
                  var r,
                    n = arguments[t];
                  for (r in n)
                    Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
                }
                return e;
              }).apply(this, arguments);
        }
        function D(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        function B(e, t) {
          return (B = Object.setPrototypeOf
            ? Object.setPrototypeOf.bind()
            : function (e, t) {
                return ((e.__proto__ = t), e);
              })(e, t);
        }
        function F(e) {
          return (F = Object.setPrototypeOf
            ? Object.getPrototypeOf.bind()
            : function (e) {
                return e.__proto__ || Object.getPrototypeOf(e);
              })(e);
        }
        const M = (function () {
          !(function (e, t) {
            if ("function" != typeof t && null !== t)
              throw new TypeError(
                "Super expression must either be null or a function",
              );
            ((e.prototype = Object.create(t && t.prototype, {
              constructor: { value: e, writable: !0, configurable: !0 },
            })),
              Object.defineProperty(e, "prototype", { writable: !1 }),
              t && B(e, t));
          })(a, H5P.EventDispatcher);
          var e,
            r,
            n,
            s =
              ((r = a),
              (n = (function () {
                if ("undefined" == typeof Reflect || !Reflect.construct)
                  return !1;
                if (Reflect.construct.sham) return !1;
                if ("function" == typeof Proxy) return !0;
                try {
                  return (
                    Boolean.prototype.valueOf.call(
                      Reflect.construct(Boolean, [], function () {}),
                    ),
                    !0
                  );
                } catch (e) {
                  return !1;
                }
              })()),
              function () {
                var e,
                  t = F(r);
                return (function (e, t) {
                  if (t && ("object" === L(t) || "function" == typeof t))
                    return t;
                  if (void 0 !== t)
                    throw new TypeError(
                      "Derived constructors may only return object or undefined",
                    );
                  return (function (e) {
                    if (void 0 === e)
                      throw new ReferenceError(
                        "this hasn't been initialised - super() hasn't been called",
                      );
                    return e;
                  })(e);
                })(
                  this,
                  n
                    ? ((e = F(this).constructor),
                      Reflect.construct(t, arguments, e))
                    : t.apply(this, arguments),
                );
              });
          function a(e, t, r, n, i) {
            var o;
            return (
              (function (e) {
                if (!(e instanceof a))
                  throw new TypeError("Cannot call a class as a function");
              })(this),
              ((o = s.call(this)).parent = n),
              (o.behaviour = e.behaviour),
              (o.params = i),
              (o.targetPage = {}),
              (o.targetPage.redirectFromComponent = !1),
              (o.columnNodes = []),
              (o.chapters = []),
              (o.l10n = e.l10n),
              (o.sidebarIsOpen = !1),
              (o.previousState =
                r.previousState && 0 < Object.keys(r.previousState).length
                  ? r.previousState
                  : null),
              n.hasValidChapters() &&
                ((r = o.createColumns(e, t, r)), o.preloadChapter(r)),
              (o.content = o.createPageContent()),
              (o.container = document.createElement("div")),
              o.container.classList.add(
                "h5p-interactive-book-main",
                "h5p-interactive-book-navigation-hidden",
              ),
              o.container.appendChild(o.content),
              o
            );
          }
          return (
            D((e = a).prototype, [
              {
                key: "getChapters",
                value: function () {
                  var t =
                    !(0 < arguments.length && void 0 !== arguments[0]) ||
                    arguments[0];
                  return this.chapters.filter(function (e) {
                    return !e.isSummary || (e.isSummary && !!t);
                  });
                },
              },
              {
                key: "resetChapters",
                value: function () {
                  this.behaviour.progressIndicators &&
                    !this.behaviour.progressAuto &&
                    this.columnNodes.forEach(function (e) {
                      Array.from(
                        e.querySelectorAll(
                          ".h5p-interactive-book-status-progress-marker > input[type=checkbox]",
                        ),
                      ).forEach(function (e) {
                        return (e.checked = !1);
                      });
                    });
                },
              },
              {
                key: "createPageContent",
                value: function () {
                  var t = document.createElement("div");
                  return (
                    t.classList.add("h5p-interactive-book-content"),
                    this.columnNodes.forEach(function (e) {
                      t.appendChild(e);
                    }),
                    this.setChapterOrder(this.parent.getActiveChapter()),
                    t
                  );
                },
              },
              {
                key: "setChapterOrder",
                value: function (r) {
                  r < 0 ||
                    r > this.columnNodes.length - 1 ||
                    this.columnNodes.forEach(function (e, t) {
                      (e.classList.remove("h5p-interactive-book-previous"),
                        e.classList.remove("h5p-interactive-book-current"),
                        e.classList.remove("h5p-interactive-book-next"),
                        t === r - 1 ||
                          (t === r &&
                            e.classList.add("h5p-interactive-book-current")));
                    });
                },
              },
              {
                key: "createChapterReadCheckbox",
                value: function (e) {
                  var t = this,
                    r = document.createElement("input");
                  (r.setAttribute("type", "checkbox"),
                    (r.checked = e),
                    (r.onclick = function (e) {
                      t.parent.setChapterRead(void 0, e.target.checked);
                    }));
                  var n = document.createElement("p");
                  n.innerHTML = this.params.l10n.markAsFinished;
                  e = document.createElement("label");
                  return (
                    e.classList.add(
                      "h5p-interactive-book-status-progress-marker",
                    ),
                    e.appendChild(r),
                    e.appendChild(n),
                    e
                  );
                },
              },
              {
                key: "injectSectionId",
                value: function (e, t) {
                  for (
                    var r = t.getElementsByClassName("h5p-column-content"),
                      n = 0;
                    n < e.length;
                    n++
                  )
                    r[n].id = "h5p-interactive-book-section-".concat(
                      e[n].instance.subContentId,
                    );
                },
              },
              {
                key: "preloadChapter",
                value: function (e) {
                  (this.initializeChapter(e), this.initializeChapter(e + 1));
                },
              },
              {
                key: "initializeChapter",
                value: function (e) {
                  if (!(e < 0 || e > this.chapters.length - 1)) {
                    var t,
                      r = this.chapters[e];
                    if (r.isSummary) {
                      var n = this.columnNodes[e];
                      return (
                        r.isInitialized &&
                          (r.instance.setChapters(this.getChapters(!1)),
                          (n.innerHTML = "")),
                        r.instance.addSummaryPage(H5P.jQuery(n)),
                        void (r.isInitialized = !0)
                      );
                    }
                    r.isInitialized ||
                      ((n = this.columnNodes[e]),
                      r.instance.attach(H5P.jQuery(n)),
                      this.injectSectionId(r.sections, n),
                      this.behaviour.progressIndicators &&
                        !this.behaviour.progressAuto &&
                        n.appendChild(
                          this.createChapterReadCheckbox(
                            !(
                              null === (n = this.previousState) ||
                              void 0 === n ||
                              null === (t = n.chapters) ||
                              void 0 === t ||
                              !t[e].completed
                            ),
                          ),
                        ),
                      (r.isInitialized = !0));
                  }
                },
              },
              {
                key: "createColumns",
                value: function (i, o, s) {
                  var a = this,
                    c =
                      (s = R({}, s)).previousState &&
                      0 < Object.keys(s.previousState).length
                        ? s.previousState
                        : null,
                    e = h.extractFragmentsFromURL(
                      this.parent.validateFragments,
                      this.parent.hashWindow,
                    );
                  0 === Object.keys(e).length &&
                    s &&
                    c &&
                    c.urlFragments &&
                    (e = c.urlFragments);
                  var l = [];
                  this.chapters = l;
                  for (var t, r = 0; r < i.chapters.length; r++)
                    !(function (r) {
                      var e = document.createElement("div"),
                        t = N(
                          N({}, s),
                          {},
                          {
                            metadata: N({}, s.metadata),
                            previousState: c ? c.chapters[r].state : {},
                          },
                        ),
                        t = H5P.newRunnable(
                          i.chapters[r],
                          o,
                          void 0,
                          void 0,
                          t,
                        );
                      a.parent.bubbleUp(t, "resize", a.parent);
                      var n = {
                        isInitialized: !1,
                        instance: t,
                        title: i.chapters[r].metadata.title,
                        completed: !!c && c.chapters[r].completed,
                        tasksLeft: c ? c.chapters[r].tasksLeft : 0,
                        isSummary: !1,
                        sections: t.getInstances().map(function (e, t) {
                          return {
                            content: i.chapters[r].params.content[t].content,
                            instance: e,
                            isTask: !1,
                          };
                        }),
                      };
                      (e.classList.add("h5p-interactive-book-chapter"),
                        (e.id = "h5p-interactive-book-chapter-".concat(
                          t.subContentId,
                        )),
                        (n.maxTasks = 0),
                        (n.tasksLeft = 0),
                        n.sections.forEach(function (e, t) {
                          H5P.Column.isTask(e.instance) &&
                            ((e.isTask = !0),
                            n.maxTasks++,
                            n.tasksLeft++,
                            a.behaviour.progressIndicators &&
                              ((e.taskDone =
                                !!c && c.chapters[r].sections[t].taskDone),
                              e.taskDone && n.tasksLeft--));
                        }),
                        l.push(n),
                        a.columnNodes.push(e));
                    })(r);
                  if (
                    (this.parent.hasSummary(l) &&
                      ((u = document.createElement("div")),
                      (t = new O(N({}, i), this.parent, this.getChapters(!1))),
                      this.parent.bubbleUp(t, "resize", this.parent),
                      (t = {
                        isInitialized: !1,
                        instance: t,
                        title: this.l10n.summaryHeader,
                        isSummary: !0,
                        sections: [],
                      }),
                      u.classList.add("h5p-interactive-book-chapter"),
                      (u.id = "h5p-interactive-book-chapter-summary"),
                      (t.maxTasks = t.tasksLeft),
                      l.push(t),
                      this.columnNodes.push(u)),
                    e.chapter && e.h5pbookid == this.parent.contentId)
                  ) {
                    var n,
                      u = this.findChapterIndex(e.chapter);
                    return -1 === u
                      ? 0
                      : (this.parent.setActiveChapter(u),
                        e.section &&
                          ((n = e.headerNumber),
                          setTimeout(function () {
                            (a.redirectSection(e.section, n),
                              a.parent.hasCover() &&
                                a.parent.cover.removeCover());
                          }, 1e3)),
                        u);
                  }
                  return 0;
                },
              },
              {
                key: "redirectSection",
                value: function (e) {
                  var t,
                    r,
                    n =
                      1 < arguments.length && void 0 !== arguments[1]
                        ? arguments[1]
                        : null;
                  "top" === e
                    ? this.parent.trigger("scrollToTop")
                    : (t = document.getElementById(e)) &&
                      (null === n ||
                        ((e = t.querySelectorAll("h2, h3"))[n] && (t = e[n])),
                      (r = document.createElement("div")).setAttribute(
                        "tabindex",
                        "-1",
                      ),
                      t.parentNode.insertBefore(r, t),
                      r.focus(),
                      r.addEventListener("blur", function () {
                        r.parentNode.removeChild(r);
                      }),
                      (this.targetPage.redirectFromComponent = !1),
                      setTimeout(function () {
                        t.scrollIntoView(!0);
                      }, 100));
                },
              },
              {
                key: "findChapterIndex",
                value: function (r) {
                  var n = -1;
                  return (
                    this.columnNodes.forEach(function (e, t) {
                      -1 === n && e.id === r && (n = t);
                    }),
                    n
                  );
                },
              },
              {
                key: "changeChapter",
                value: function (e, t) {
                  var r,
                    n,
                    i,
                    o,
                    s,
                    a = this;
                  this.columnNodes[
                    this.parent.getActiveChapter()
                  ].classList.contains("h5p-interactive-book-animate") ||
                    ((this.targetPage = t),
                    (t =
                      (r = this.parent.getActiveChapter()) !==
                      (n = this.parent.getChapterId(this.targetPage.chapter))),
                    e || this.parent.updateChapterProgress(r, t),
                    this.preloadChapter(n),
                    n < this.columnNodes.length &&
                      ((i = this.columnNodes[r]),
                      (o = this.columnNodes[n]),
                      t && !e
                        ? (this.parent.setActiveChapter(n),
                          o.classList.add(
                            "h5p-interactive-book-".concat(
                              (s = r < n ? "next" : "previous"),
                            ),
                          ),
                          o.classList.add("h5p-interactive-book-animate"),
                          i.classList.add("h5p-interactive-book-animate"),
                          setTimeout(function () {
                            ("previous" == s
                              ? i.classList.add("h5p-interactive-book-next")
                              : (i.classList.remove(
                                  "h5p-interactive-book-current",
                                ),
                                i.classList.add(
                                  "h5p-interactive-book-previous",
                                )),
                              o.classList.remove(
                                "h5p-interactive-book-".concat(s),
                              ));
                          }, 1),
                          setTimeout(function () {
                            (i.classList.remove("h5p-interactive-book-next"),
                              i.classList.remove(
                                "h5p-interactive-book-previous",
                              ),
                              i.classList.remove(
                                "h5p-interactive-book-current",
                              ),
                              o.classList.add("h5p-interactive-book-current"),
                              o.classList.remove(
                                "h5p-interactive-book-animate",
                              ),
                              i.classList.remove(
                                "h5p-interactive-book-animate",
                              ),
                              a.redirectSection(
                                a.targetPage.section,
                                a.targetPage.headerNumber,
                              ),
                              a.parent.trigger("resize"));
                          }, 250))
                        : this.parent.cover && !this.parent.cover.hidden
                          ? this.parent.on("coverRemoved", function () {
                              a.redirectSection(
                                a.targetPage.section,
                                a.targetPage.headerNumber,
                              );
                            })
                          : this.redirectSection(
                              this.targetPage.section,
                              this.targetPage.headerNumber,
                            ),
                      this.parent.sideBar.redirectHandler(n)));
                },
              },
              {
                key: "updateFooter",
                value: function () {
                  var e, t;
                  0 !== this.chapters.length &&
                    ((e = this.parent.getActiveChapter()),
                    (t = this.columnNodes[e]),
                    (e = this.parent.shouldFooterBeHidden(t.clientHeight)),
                    (t = this.parent.statusBarFooter.wrapper.parentNode),
                    e
                      ? t !== this.content &&
                        this.content.appendChild(
                          this.parent.statusBarFooter.wrapper,
                        )
                      : t !== this.parent.$wrapper &&
                        this.parent.$wrapper.append(
                          this.parent.statusBarFooter.wrapper,
                        ));
                },
              },
              {
                key: "toggleNavigationMenu",
                value: function () {
                  var e = this;
                  (this.sidebarIsOpen
                    ? (H5P.Transition.onTransitionEnd(
                        H5P.jQuery(this.container),
                        function () {
                          e.container.classList.add(
                            "h5p-interactive-book-navigation-hidden",
                          );
                        },
                        500,
                      ),
                      this.container.classList.remove(
                        "h5p-interactive-book-navigation-open",
                      ))
                    : (this.container.classList.remove(
                        "h5p-interactive-book-navigation-hidden",
                      ),
                      setTimeout(function () {
                        e.container.classList.add(
                          "h5p-interactive-book-navigation-open",
                        );
                      }, 1)),
                    (this.sidebarIsOpen = !this.sidebarIsOpen));
                },
              },
            ]),
            Object.defineProperty(e, "prototype", { writable: !1 }),
            a
          );
        })();
        function j(e) {
          return (j =
            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
              ? function (e) {
                  return typeof e;
                }
              : function (e) {
                  return e &&
                    "function" == typeof Symbol &&
                    e.constructor === Symbol &&
                    e !== Symbol.prototype
                    ? "symbol"
                    : typeof e;
                })(e);
        }
        Q(2062);
        var U = [
          "read",
          "displayTOC",
          "hideTOC",
          "nextPage",
          "previousPage",
          "chapterCompleted",
          "partCompleted",
          "incompleteChapter",
          "navigateToTop",
          "markAsFinished",
          "fullscreen",
          "exitFullscreen",
          "bookProgressSubtext",
          "interactionsProgressSubtext",
          "submitReport",
          "restartLabel",
          "summaryHeader",
          "allInteractions",
          "unansweredInteractions",
          "scoreText",
          "leftOutOfTotalCompleted",
          "noInteractions",
          "score",
          "summaryAndSubmit",
          "noChapterInteractionBoldText",
          "noChapterInteractionText",
          "yourAnswersAreSubmittedForReview",
          "bookProgress",
          "interactionsProgress",
          "totalScoreLabel",
        ];
        function z(t, e) {
          var r,
            n = Object.keys(t);
          return (
            Object.getOwnPropertySymbols &&
              ((r = Object.getOwnPropertySymbols(t)),
              e &&
                (r = r.filter(function (e) {
                  return Object.getOwnPropertyDescriptor(t, e).enumerable;
                })),
              n.push.apply(n, r)),
            n
          );
        }
        function W(n) {
          for (var e = 1; e < arguments.length; e++) {
            var i = null != arguments[e] ? arguments[e] : {};
            e % 2
              ? z(Object(i), !0).forEach(function (e) {
                  var t, r;
                  ((t = n),
                    (e = i[(r = e)]),
                    r in t
                      ? Object.defineProperty(t, r, {
                          value: e,
                          enumerable: !0,
                          configurable: !0,
                          writable: !0,
                        })
                      : (t[r] = e));
                })
              : Object.getOwnPropertyDescriptors
                ? Object.defineProperties(
                    n,
                    Object.getOwnPropertyDescriptors(i),
                  )
                : z(Object(i)).forEach(function (e) {
                    Object.defineProperty(
                      n,
                      e,
                      Object.getOwnPropertyDescriptor(i, e),
                    );
                  });
          }
          return n;
        }
        function $() {
          return ($ = Object.assign
            ? Object.assign.bind()
            : function (e) {
                for (var t = 1; t < arguments.length; t++) {
                  var r,
                    n = arguments[t];
                  for (r in n)
                    Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
                }
                return e;
              }).apply(this, arguments);
        }
        function K(e, t) {
          for (var r = 0; r < t.length; r++) {
            var n = t[r];
            ((n.enumerable = n.enumerable || !1),
              (n.configurable = !0),
              "value" in n && (n.writable = !0),
              Object.defineProperty(e, n.key, n));
          }
        }
        function G(e, t) {
          return (G = Object.setPrototypeOf
            ? Object.setPrototypeOf.bind()
            : function (e, t) {
                return ((e.__proto__ = t), e);
              })(e, t);
        }
        function q(e) {
          if (void 0 === e)
            throw new ReferenceError(
              "this hasn't been initialised - super() hasn't been called",
            );
          return e;
        }
        function V(e) {
          return (V = Object.setPrototypeOf
            ? Object.getPrototypeOf.bind()
            : function (e) {
                return e.__proto__ || Object.getPrototypeOf(e);
              })(e);
        }
        var X = (function () {
          !(function (e, t) {
            if ("function" != typeof t && null !== t)
              throw new TypeError(
                "Super expression must either be null or a function",
              );
            ((e.prototype = Object.create(t && t.prototype, {
              constructor: { value: e, writable: !0, configurable: !0 },
            })),
              Object.defineProperty(e, "prototype", { writable: !1 }),
              t && G(e, t));
          })(a, H5P.EventDispatcher);
          var e,
            t,
            r,
            n,
            s =
              ((r = a),
              (n = (function () {
                if ("undefined" == typeof Reflect || !Reflect.construct)
                  return !1;
                if (Reflect.construct.sham) return !1;
                if ("function" == typeof Proxy) return !0;
                try {
                  return (
                    Boolean.prototype.valueOf.call(
                      Reflect.construct(Boolean, [], function () {}),
                    ),
                    !0
                  );
                } catch (e) {
                  return !1;
                }
              })()),
              function () {
                var e,
                  t = V(r);
                return (function (e, t) {
                  if (t && ("object" === j(t) || "function" == typeof t))
                    return t;
                  if (void 0 !== t)
                    throw new TypeError(
                      "Derived constructors may only return object or undefined",
                    );
                  return q(e);
                })(
                  this,
                  n
                    ? ((e = V(this).constructor),
                      Reflect.construct(t, arguments, e))
                    : t.apply(this, arguments),
                );
              });
          function a(e, t) {
            var o,
              r =
                2 < arguments.length && void 0 !== arguments[2]
                  ? arguments[2]
                  : {};
            !(function (e) {
              if (!(e instanceof a))
                throw new TypeError("Cannot call a class as a function");
            })(this);
            var n = q((o = s.call(this)));
            ((o.contentId = t),
              (o.previousState = r.previousState),
              e &&
                e.behaviour &&
                e.behaviour.baseColor &&
                !E.isBaseColor(e.behaviour.baseColor) &&
                (E.setBase(e.behaviour.baseColor),
                (i = document.createElement("style")).styleSheet
                  ? (i.styleSheet.cssText = E.getCSS())
                  : i.appendChild(document.createTextNode(E.getCSS())),
                document.head.appendChild(i)),
              (o.activeChapter = 0),
              (o.newHandler = {}),
              (o.completed = !1),
              (o.params = a.sanitizeConfig(e)),
              (o.l10n = o.params.l10n),
              (o.params.behaviour = o.params.behaviour || {}),
              (o.mainWrapper = null),
              (o.currentRatio = null),
              (o.smallSurface = "h5p-interactive-book-small"),
              (o.mediumSurface = "h5p-interactive-book-medium"),
              (o.largeSurface = "h5p-interactive-book-large"),
              (o.chapters = []),
              (o.isSubmitButtonEnabled = !1),
              (o.isAnswerUpdated = !0),
              void 0 !== r.isScoringEnabled || void 0 !== r.isReportingEnabled
                ? (o.isSubmitButtonEnabled =
                    r.isScoringEnabled || r.isReportingEnabled)
                : void 0 !== H5PIntegration.reportingIsEnabled &&
                  (o.isSubmitButtonEnabled = H5PIntegration.reportingIsEnabled),
              (o.params.behaviour.enableSolutionsButton = !1),
              (o.params.behaviour.enableRetry =
                null === (i = o.params.behaviour.enableRetry) ||
                void 0 === i ||
                i),
              (o.getAnswerGiven = function () {
                return o.chapters.reduce(function (e, t) {
                  return "function" == typeof t.instance.getAnswerGiven
                    ? e && t.instance.getAnswerGiven()
                    : e;
                }, !0);
              }),
              (o.getScore = function () {
                return 0 < o.chapters.length
                  ? o.chapters.reduce(function (e, t) {
                      return "function" == typeof t.instance.getScore
                        ? e + t.instance.getScore()
                        : e;
                    }, 0)
                  : (o.previousState && o.previousState.score) || 0;
              }),
              (o.getMaxScore = function () {
                return 0 < o.chapters.length
                  ? o.chapters.reduce(function (e, t) {
                      return "function" == typeof t.instance.getMaxScore
                        ? e + t.instance.getMaxScore()
                        : e;
                    }, 0)
                  : (o.previousState && o.previousState.maxScore) || 0;
              }),
              (o.showSolutions = function () {
                o.chapters.forEach(function (e) {
                  ("function" == typeof e.instance.toggleReadSpeaker &&
                    e.instance.toggleReadSpeaker(!0),
                    "function" == typeof e.instance.showSolutions &&
                      e.instance.showSolutions(),
                    "function" == typeof e.instance.toggleReadSpeaker &&
                      e.instance.toggleReadSpeaker(!1));
                });
              }),
              (o.resetTask = function () {
                if (o.hasValidChapters()) {
                  for (var e in (o.chapters.forEach(function (e, t) {
                    ("function" == typeof e.instance.resetTask &&
                      e.instance.resetTask(),
                      (e.completed = !1),
                      (e.tasksLeft = e.maxTasks),
                      e.sections.forEach(function (e) {
                        return (e.taskDone = !1);
                      }),
                      o.setChapterRead(t, !1));
                  }),
                  o.previousState))
                    delete o.previousState[e];
                  o.hashWindow.location.hash = "";
                  var t = o.getActiveChapter();
                  (o.redirectChapter({
                    h5pbookid: o.contentId,
                    chapter: o.pageContent.columnNodes[0].id,
                    section: "top",
                  }),
                    (o.chapters[t].completed = !1),
                    o.hasCover() && o.displayCover(o.mainWrapper),
                    (o.isAnswerUpdated = !1),
                    o.setActivityStarted(!0),
                    o.pageContent.resetChapters(),
                    o.sideBar.resetIndicators());
                }
              }),
              (o.getXAPIData = function () {
                var e = o.createXAPIEventTemplate("answered");
                return (
                  o.addQuestionToXAPI(e),
                  e.setScoredResult(
                    o.getScore(),
                    o.getMaxScore(),
                    q(o),
                    !0,
                    o.getScore() === o.getMaxScore(),
                  ),
                  {
                    statement: e.data.statement,
                    children: o.getXAPIDataFromChildren(
                      o.chapters.map(function (e) {
                        return e.instance;
                      }),
                    ),
                  }
                );
              }),
              (o.getXAPIDataFromChildren = function (e) {
                return e
                  .map(function (e) {
                    if ("function" == typeof e.getXAPIData)
                      return e.getXAPIData();
                  })
                  .filter(function (e) {
                    return !!e;
                  });
              }),
              (o.addQuestionToXAPI = function (e) {
                $(
                  e.getVerifiedStatementValue(["object", "definition"]),
                  o.getxAPIDefinition(),
                );
              }),
              (o.getxAPIDefinition = function () {
                return {
                  interactionType: "compound",
                  type: "http://adlnet.gov/expapi/activities/cmi.interaction",
                  description: { "en-US": "" },
                };
              }),
              (o.getCurrentState = function () {
                var e,
                  t = o.chapters
                    .filter(function (e) {
                      return !e.isSummary;
                    })
                    .map(function (e) {
                      return {
                        completed: e.completed || null,
                        sections: e.sections.map(function (e) {
                          return { taskDone: e.taskDone || null };
                        }),
                        state: e.instance.getCurrentState() || null,
                      };
                    }),
                  t = {
                    urlFragments:
                      !o.hashWindow.location.hash &&
                      null !== (e = o.previousState) &&
                      void 0 !== e &&
                      e.urlFragments
                        ? o.previousState.urlFragments
                        : h.extractFragmentsFromURL(
                            o.validateFragments,
                            o.hashWindow,
                          ),
                    chapters: t,
                  };
                return (
                  0 < o.activeChapter &&
                    ((t.score = o.getScore()), (t.maxScore = o.getMaxScore())),
                  t
                );
              }),
              (o.getContext = function () {
                return o.cover && !o.cover.hidden
                  ? {}
                  : { type: "page", value: o.activeChapter + 1 };
              }),
              (o.hasCover = function () {
                return o.cover && o.cover.container;
              }),
              (o.hasSummary = function () {
                var e =
                  0 < arguments.length && void 0 !== arguments[0]
                    ? arguments[0]
                    : o.chapters;
                return (
                  o.hasChaptersTasks(e) &&
                  o.params.behaviour.displaySummary &&
                  !0 === o.params.behaviour.displaySummary
                );
              }),
              (o.hasChaptersTasks = function (e) {
                return (
                  0 <
                  e.filter(function (e) {
                    return (
                      0 <
                      e.sections.filter(function (e) {
                        return !0 === e.isTask;
                      }).length
                    );
                  }).length
                );
              }),
              (o.hasValidChapters = function () {
                return 0 < o.params.chapters.length;
              }),
              (o.getActiveChapter = function () {
                return 0 < arguments.length &&
                  void 0 !== arguments[0] &&
                  arguments[0]
                  ? o.chapters[o.activeChapter]
                  : o.activeChapter;
              }),
              (o.setActiveChapter = function (e) {
                ((e = parseInt(e)), isNaN(e) || (o.activeChapter = e));
              }),
              (o.validateFragments = function (e) {
                return (
                  void 0 !== e.chapter &&
                  String(e.h5pbookid) === String(n.contentId)
                );
              }),
              (o.bubbleUp = function (e, t, r) {
                e.on(t, function (e) {
                  ((r.bubblingUpwards = !0),
                    r.trigger(t, e),
                    (r.bubblingUpwards = !1));
                });
              }),
              (o.isMenuOpen = function () {
                return o.statusBarHeader.isMenuOpen();
              }),
              (o.isSmallSurface = function () {
                return o.mainWrapper && o.mainWrapper.hasClass(o.smallSurface);
              }),
              (o.getRatio = function () {
                return (
                  o.mainWrapper.width() /
                  parseFloat(o.mainWrapper.css("font-size"))
                );
              }),
              (o.setWrapperClassFromRatio = function (e) {
                var t =
                  1 < arguments.length && void 0 !== arguments[1]
                    ? arguments[1]
                    : o.getRatio();
                t !== o.currentRatio &&
                  (o.breakpoints().forEach(function (e) {
                    e.shouldAdd(t)
                      ? o.mainWrapper.addClass(e.className)
                      : o.mainWrapper.removeClass(e.className);
                  }),
                  (o.currentRatio = t));
              }),
              (o.resize = function () {
                var e, t;
                o.pageContent &&
                  o.hasValidChapters() &&
                  o.mainWrapper &&
                  (o.setWrapperClassFromRatio(o.mainWrapper),
                  (e = o.getActiveChapter()),
                  null !== (t = o.pageContent.columnNodes[e]).offsetParent &&
                    (o.bubblingUpwards ||
                      o.pageContent.chapters[e].instance.trigger("resize"),
                    o.pageContent.content.style.height ===
                      "".concat(t.offsetHeight, "px") ||
                      t.classList.contains("h5p-interactive-book-animate") ||
                      ((o.pageContent.content.style.height = "".concat(
                        t.offsetHeight,
                        "px",
                      )),
                      o.pageContent.updateFooter(),
                      setTimeout(function () {
                        o.trigger("resize");
                      }, 10))));
              }),
              o.on("resize", o.resize, q(o)),
              o.on("toggleMenu", function (e) {
                o.sideBar.container.addEventListener(
                  "transitionend",
                  function () {
                    o.trigger("resize");
                  },
                );
                e = !(
                  null !== (e = e.data) &&
                  void 0 !== e &&
                  e.shouldNotFocusNav
                );
                (o.pageContent.toggleNavigationMenu(),
                  o.statusBarHeader.menuToggleButton.setAttribute(
                    "aria-expanded",
                    o.statusBarHeader.menuToggleButton.classList.toggle(
                      "h5p-interactive-book-status-menu-active",
                    )
                      ? "true"
                      : "false",
                  ),
                  o.pageContent.sidebarIsOpen && e && o.sideBar.focus());
              }),
              o.on("scrollToTop", function () {
                var e;
                !0 === H5P.isFullscreen
                  ? (e = o.pageContent.container).scrollBy(0, -e.scrollHeight)
                  : o.statusBarHeader.wrapper.scrollIntoView(!0);
              }),
              o.on("newChapter", function (e) {
                var t;
                o.pageContent.columnNodes[
                  o.getActiveChapter()
                ].classList.contains("h5p-interactive-book-animate") ||
                  ((o.newHandler = e.data),
                  (e.data.newHash = h.createFragmentsString(o.newHandler)),
                  (o.newHandler.redirectFromComponent = !0),
                  o.getChapterId(e.data.chapter) === o.activeChapter &&
                  h.areFragmentsEqual(
                    e.data,
                    h.extractFragmentsFromURL(
                      o.validateFragments,
                      o.hashWindow,
                    ),
                    ["h5pbookid", "chapter", "section", "headerNumber"],
                  )
                    ? o.pageContent.changeChapter(!1, e.data)
                    : (o.params.behaviour.progressAuto &&
                        ((t = o.getChapterId(o.newHandler.chapter)),
                        o.isFinalChapterWithoutTask(t) && o.setChapterRead(t)),
                      H5P.trigger(q(o), "changeHash", e.data),
                      H5P.trigger(q(o), "scrollToTop")));
              }),
              (o.isCurrentChapterRead = function () {
                return o.isChapterRead(
                  o.chapters[o.activeChapter],
                  o.params.behaviour.progressAuto,
                );
              }),
              (o.isChapterRead = function (e) {
                var t =
                  1 < arguments.length && void 0 !== arguments[1]
                    ? arguments[1]
                    : o.params.behaviour.progressAuto;
                return e.completed || (t && 0 === e.tasksLeft);
              }),
              (o.isFinalChapterWithoutTask = function (e) {
                return (
                  0 === o.chapters[e].maxTasks &&
                  o.chapters
                    .slice(0, e)
                    .concat(o.chapters.slice(e + 1))
                    .every(function (e) {
                      return 0 === e.tasksLeft;
                    })
                );
              }),
              (o.setChapterRead = function () {
                var e =
                    0 < arguments.length && void 0 !== arguments[0]
                      ? arguments[0]
                      : o.activeChapter,
                  t =
                    !(1 < arguments.length && void 0 !== arguments[1]) ||
                    arguments[1];
                (o.handleChapterCompletion(e, t),
                  o.sideBar.updateChapterProgressIndicator(
                    e,
                    t
                      ? "DONE"
                      : o.hasChapterStartedTasks(o.chapters[e])
                        ? "STARTED"
                        : "BLANK",
                  ));
              }),
              (o.hasChapterStartedTasks = function (e) {
                return (
                  0 <
                  e.sections.filter(function (e) {
                    return e.taskDone;
                  }).length
                );
              }),
              (o.getChapterStatus = function (e) {
                var t =
                    1 < arguments.length && void 0 !== arguments[1]
                      ? arguments[1]
                      : o.params.behaviour.progressAuto,
                  r = "BLANK";
                return (
                  o.isChapterRead(e, t)
                    ? (r = "DONE")
                    : o.hasChapterStartedTasks(e) && (r = "STARTED"),
                  r
                );
              }),
              (o.updateChapterProgress = function (e) {
                var t,
                  r =
                    1 < arguments.length &&
                    void 0 !== arguments[1] &&
                    arguments[1];
                o.params.behaviour.progressIndicators &&
                  ("DONE" ===
                    (r = (t = o.chapters[e]).maxTasks
                      ? o.getChapterStatus(t)
                      : o.isChapterRead(t) && r
                        ? "DONE"
                        : "BLANK") && o.handleChapterCompletion(e),
                  o.sideBar.updateChapterProgressIndicator(e, r));
              }),
              (o.getChapterId = function (e) {
                e = e.replace("h5p-interactive-book-chapter-", "");
                e = o.chapters
                  .map(function (e) {
                    return e.instance.subContentId;
                  })
                  .indexOf(e);
                return -1 === e ? 0 : e;
              }),
              (o.handleChapterCompletion = function (e) {
                e = o.chapters[e];
                if (!0 !== e.isSummary) {
                  if (
                    !(
                      !(1 < arguments.length && void 0 !== arguments[1]) ||
                      arguments[1]
                    )
                  )
                    return (
                      (e.completed = !1),
                      (o.completed = !1),
                      void o.trigger("bookCompleted", {
                        completed: o.completed,
                      })
                    );
                  (e.completed ||
                    ((e.completed = !0),
                    e.instance.triggerXAPIScored(
                      e.instance.getScore(),
                      e.instance.getMaxScore(),
                      "completed",
                    )),
                    !o.completed &&
                      o.chapters
                        .filter(function (e) {
                          return !e.isSummary;
                        })
                        .every(function (e) {
                          return e.completed;
                        }) &&
                      ((o.completed = !0),
                      o.trigger("bookCompleted", { completed: o.completed })));
                }
              }),
              (o.shouldFooterBeHidden = function () {
                return o.isFullscreen;
              }),
              (o.getContainerWidth = function () {
                return o.pageContent && o.pageContent.container
                  ? o.pageContent.container.offsetWidth
                  : 0;
              }),
              (o.changeChapter = function (e) {
                (o.pageContent.changeChapter(e, o.newHandler),
                  o.statusBarHeader.updateStatusBar(),
                  o.statusBarFooter.updateStatusBar(),
                  (o.newHandler.redirectFromComponent = !1));
              }),
              (o.breakpoints = function () {
                return [
                  {
                    className: o.smallSurface,
                    shouldAdd: function (e) {
                      return e < 43;
                    },
                  },
                  {
                    className: o.mediumSurface,
                    shouldAdd: function (e) {
                      return 43 <= e && e < 60;
                    },
                  },
                  {
                    className: o.largeSurface,
                    shouldAdd: function (e) {
                      return 60 <= e;
                    },
                  },
                ];
              }),
              H5P.on(q(o), "respondChangeHash", function () {
                var e = h.extractFragmentsFromURL(
                  n.validateFragments,
                  o.hashWindow,
                );
                e.h5pbookid &&
                  String(e.h5pbookid) === String(n.contentId) &&
                  o.redirectChapter(e);
              }),
              H5P.on(q(o), "changeHash", function (e) {
                String(e.data.h5pbookid) === String(o.contentId) &&
                  (o.hashWindow.location.hash = e.data.newHash);
              }),
              H5P.externalDispatcher.on("xAPI", function (e) {
                var t,
                  r =
                    -1 <
                    [
                      "answered",
                      "completed",
                      "interacted",
                      "attempted",
                    ].indexOf(e.getVerb()),
                  e = n.chapters.length;
                n !== this &&
                  r &&
                  e &&
                  (t =
                    this.subContentId ||
                    (null === (t = this.contentData) || void 0 === t
                      ? void 0
                      : t.subContentId)) &&
                  n.setSectionStatusByID(t, n.activeChapter);
              }),
              (o.redirectChapter = function (e) {
                (o.newHandler.redirectFromComponent ||
                  (e.h5pbookid && String(e.h5pbookid) === String(n.contentId)
                    ? (n.newHandler = e)
                    : (n.newHandler = {
                        chapter: "h5p-interactive-book-chapter-".concat(
                          n.chapters[0].instance.subContentId,
                        ),
                        h5pbookid: n.h5pbookid,
                      })),
                  n.changeChapter(!1));
              }),
              (o.setSectionStatusByID = function (n, i) {
                o.chapters[i].sections.forEach(function (e, t) {
                  var r = e.instance;
                  r.subContentId !== n ||
                    e.taskDone ||
                    ((e.taskDone = !r.getAnswerGiven || r.getAnswerGiven()),
                    o.sideBar.setSectionMarker(i, t),
                    e.taskDone && --o.chapters[i].tasksLeft,
                    o.updateChapterProgress(i));
                });
              }),
              (o.addHashListener = function (e) {
                (e.addEventListener("hashchange", function (e) {
                  H5P.trigger(q(o), "respondChangeHash", e);
                }),
                  (o.hashWindow = e));
              }));
            try {
              o.addHashListener(top);
            } catch (e) {
              if (!(e instanceof DOMException)) throw e;
              o.addHashListener(window);
            }
            ((o.displayCover = function (e) {
              (o.hideAllElements(!0),
                e.append(o.cover.container),
                e.addClass("covered"),
                o.cover.initMedia());
            }),
              (o.attach = function (e) {
                ((o.mainWrapper = e).addClass(
                  "h5p-interactive-book h5p-scrollable-fullscreen",
                ),
                  o.isEdge18orEarlier() && e.addClass("edge-18"),
                  o.setWrapperClassFromRatio(o.mainWrapper),
                  o.cover && o.displayCover(e),
                  e.append(o.statusBarHeader.wrapper));
                var t = o.pageContent.container.firstChild;
                (t &&
                  o.pageContent.container.insertBefore(o.sideBar.container, t),
                  e.append(o.pageContent.container),
                  e.append(o.statusBarFooter.wrapper),
                  (o.$wrapper = e),
                  o.params.behaviour.defaultTableOfContents &&
                    !o.isSmallSurface() &&
                    o.trigger("toggleMenu", { shouldNotFocusNav: !0 }),
                  o.pageContent.updateFooter());
              }),
              (o.isEdge18orEarlier = function () {
                var e = window.navigator.userAgent,
                  t = e.indexOf("Edge/");
                if (t < 0) return !1;
                t = e.substring(t + 5, e.indexOf(".", t));
                return parseInt(t) <= 18;
              }),
              (o.hideAllElements = function (e) {
                var t = [
                  this.statusBarHeader.wrapper,
                  this.statusBarFooter.wrapper,
                  this.pageContent.container,
                ];
                e
                  ? t.forEach(function (e) {
                      (e.classList.add("h5p-content-hidden"),
                        e.classList.add("h5p-interactive-book-cover-present"));
                    })
                  : t.forEach(function (e) {
                      (e.classList.remove("h5p-content-hidden"),
                        e.classList.remove(
                          "h5p-interactive-book-cover-present",
                        ));
                    });
              }),
              o.params.showCoverPage &&
                (o.cover = new S(
                  o.params.bookCover,
                  r.metadata.title,
                  o.l10n.read,
                  t,
                  q(o),
                )));
            var i = W(W({}, r), {}, { parent: q(o) });
            return (
              (o.pageContent = new M(o.params, t, i, q(o), {
                l10n: { markAsFinished: o.l10n.markAsFinished },
                behaviour: o.params.behaviour,
              })),
              (o.chapters = o.pageContent.getChapters()),
              (o.sideBar = new p(o.params, t, r.metadata.title, q(o))),
              o.chapters.forEach(function (e, t) {
                o.setChapterRead(t, e.completed);
              }),
              (o.statusBarHeader = new v(
                t,
                o.chapters.length,
                q(o),
                {
                  l10n: o.l10n,
                  a11y: o.params.a11y,
                  behaviour: o.params.behaviour,
                  displayFullScreenButton: !0,
                  displayMenuToggleButton: !0,
                },
                "h5p-interactive-book-status-header",
              )),
              (o.statusBarFooter = new v(
                t,
                o.chapters.length,
                q(o),
                {
                  l10n: o.l10n,
                  a11y: o.params.a11y,
                  behaviour: o.params.behaviour,
                  displayToTopButton: !0,
                },
                "h5p-interactive-book-status-footer",
              )),
              o.hasCover()
                ? (o.hideAllElements(!0),
                  o.on("coverRemoved", function () {
                    (o.hideAllElements(!1),
                      o.trigger("resize"),
                      o.setActivityStarted(),
                      o.statusBarHeader.progressBar.progress.focus());
                  }))
                : o.setActivityStarted(),
              o.hasValidChapters() &&
                (o.statusBarHeader.updateStatusBar(),
                o.statusBarFooter.updateStatusBar()),
              o
            );
          }
          return (
            (e = a),
            (t = [
              {
                key: "sanitizeConfig",
                value: function (e) {
                  var t = e.read,
                    r = void 0 === t ? "Read" : t,
                    n = e.displayTOC,
                    i =
                      void 0 === n
                        ? "Display &#039;Table of contents&#039;"
                        : n,
                    o = e.hideTOC,
                    s = void 0 === o ? "Hide &#039;Table of contents&#039;" : o,
                    a = e.nextPage,
                    c = void 0 === a ? "Next page" : a,
                    l = e.previousPage,
                    u = void 0 === l ? "Previous page" : l,
                    h = e.chapterCompleted,
                    p = void 0 === h ? "Page completed!" : h,
                    d = e.partCompleted,
                    f = void 0 === d ? "@pages of @total completed" : d,
                    m = e.incompleteChapter,
                    g = void 0 === m ? "Incomplete page" : m,
                    v = e.navigateToTop,
                    y = void 0 === v ? "Navigate to the top" : v,
                    b = e.markAsFinished,
                    w = void 0 === b ? "I have finished this page" : b,
                    x = e.fullscreen,
                    S = void 0 === x ? "Fullscreen" : x,
                    E = e.exitFullscreen,
                    T = void 0 === E ? "Exit fullscreen" : E,
                    C = e.bookProgressSubtext,
                    P = void 0 === C ? "@count of @total pages" : C,
                    k = e.interactionsProgressSubtext,
                    A = void 0 === k ? "@count of @total interactions" : k,
                    _ = e.submitReport,
                    I = void 0 === _ ? "Submit Report" : _,
                    t = e.restartLabel,
                    n = void 0 === t ? "Restart" : t,
                    o = e.summaryHeader,
                    a = void 0 === o ? "Summary" : o,
                    l = e.allInteractions,
                    h = void 0 === l ? "All interactions" : l,
                    d = e.unansweredInteractions,
                    m = void 0 === d ? "Unanswered interactions" : d,
                    v = e.scoreText,
                    b = void 0 === v ? "@score / @maxscore" : v,
                    x = e.leftOutOfTotalCompleted,
                    E =
                      void 0 === x ? "@left of @max interactinos completed" : x,
                    C = e.noInteractions,
                    k = void 0 === C ? "No interactions" : C,
                    _ = e.score,
                    t = void 0 === _ ? "Score" : _,
                    o = e.summaryAndSubmit,
                    l = void 0 === o ? "Summary & submit" : o,
                    d = e.noChapterInteractionBoldText,
                    v =
                      void 0 === d
                        ? "You have not interacted with any pages."
                        : d,
                    x = e.noChapterInteractionText,
                    C =
                      void 0 === x
                        ? "You have to interact with at least one page before you can see the summary."
                        : x,
                    _ = e.yourAnswersAreSubmittedForReview,
                    o =
                      void 0 === _
                        ? "Your answers are submitted for review!"
                        : _,
                    d = e.bookProgress,
                    x = void 0 === d ? "Book progress" : d,
                    _ = e.interactionsProgress,
                    d = void 0 === _ ? "Interactions progress" : _,
                    _ = e.totalScoreLabel,
                    _ = void 0 === _ ? "Total score" : _,
                    e = (function (e, t) {
                      if (null == e) return {};
                      var r,
                        n = (function (e, t) {
                          if (null == e) return {};
                          for (
                            var r, n = {}, i = Object.keys(e), o = 0;
                            o < i.length;
                            o++
                          )
                            ((r = i[o]), 0 <= t.indexOf(r) || (n[r] = e[r]));
                          return n;
                        })(e, t);
                      if (Object.getOwnPropertySymbols)
                        for (
                          var i = Object.getOwnPropertySymbols(e), o = 0;
                          o < i.length;
                          o++
                        )
                          ((r = i[o]),
                            0 <= t.indexOf(r) ||
                              (Object.prototype.propertyIsEnumerable.call(
                                e,
                                r,
                              ) &&
                                (n[r] = e[r])));
                      return n;
                    })(e, U);
                  return (
                    (e.chapters = e.chapters
                      .map(function (e) {
                        return (
                          (e.params.content = e.params.content.filter(
                            function (e) {
                              return e.content;
                            },
                          )),
                          e
                        );
                      })
                      .filter(function (e) {
                        return e.params.content && 0 < e.params.content.length;
                      })),
                    (e.behaviour.displaySummary =
                      void 0 === e.behaviour.displaySummary ||
                      e.behaviour.displaySummary),
                    (e.l10n = {
                      read: r,
                      displayTOC: i,
                      hideTOC: s,
                      nextPage: c,
                      previousPage: u,
                      chapterCompleted: p,
                      partCompleted: f,
                      incompleteChapter: g,
                      navigateToTop: y,
                      markAsFinished: w,
                      fullscreen: S,
                      exitFullscreen: T,
                      bookProgressSubtext: P,
                      interactionsProgressSubtext: A,
                      submitReport: I,
                      restartLabel: n,
                      summaryHeader: a,
                      allInteractions: h,
                      unansweredInteractions: m,
                      scoreText: b,
                      leftOutOfTotalCompleted: E,
                      noInteractions: k,
                      score: t,
                      summaryAndSubmit: l,
                      noChapterInteractionBoldText: v,
                      noChapterInteractionText: C,
                      yourAnswersAreSubmittedForReview: o,
                      bookProgress: x,
                      interactionsProgress: d,
                      totalScoreLabel: _,
                    }),
                    e
                  );
                },
              },
            ]),
            null && K(e.prototype, null),
            K(e, t),
            Object.defineProperty(e, "prototype", { writable: !1 }),
            a
          );
        })();
        (H5P = H5P || {}).InteractiveBook = X;
      })());
  })());
const realH5PGetPath = H5P.getPath;
H5P.getPath = function (e, t) {
  return e.startsWith("data:") ? e : realH5PGetPath(e, t);
};
var furtherH5PInlineResources = {
  "H5P.CoursePresentation-1.25/dist/e9124eab8eb09ecd01ea.svg":
    "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIwLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjQgMjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7Y2xpcC1wYXRoOnVybCgjU1ZHSURfMl8pO2ZpbGw6I0U4RThFODt9Cgkuc3Qxe2NsaXAtcGF0aDp1cmwoI1NWR0lEXzRfKTtmaWxsOiNFOEU4RTg7fQo8L3N0eWxlPgo8Zz4KCTxnPgoJCTxnPgoJCQk8Zz4KCQkJCTxkZWZzPgoJCQkJCTxyZWN0IGlkPSJTVkdJRF8xXyIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CgkJCQk8L2RlZnM+CgkJCQk8Y2xpcFBhdGggaWQ9IlNWR0lEXzJfIj4KCQkJCQk8dXNlIHhsaW5rOmhyZWY9IiNTVkdJRF8xXyIgIHN0eWxlPSJvdmVyZmxvdzp2aXNpYmxlOyIvPgoJCQkJPC9jbGlwUGF0aD4KCQkJCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0yMS42LDExYzAtMC4xLTAuMS0wLjItMC4zLTAuMkwxOSwxMC41YzAsMC0xLjEtMi4yLTEuMy0yLjNsMCwwbDAsMGwwLDBjLTAuMSwwLjEtMS4yLDIuMy0xLjIsMi4zCgkJCQkJbC0yLjMsMC4zYy0wLjIsMC0wLjMsMC4xLTAuMywwLjJjMCwwLjEsMCwwLjEsMC4xLDAuMmwxLjYsMS43bC0wLjQsMi40djAuMWMwLDAuMSwwLjEsMC4yLDAuMiwwLjJzMi4zLTEuMiwyLjMtMS4yCgkJCQkJczIuMiwxLjIsMi4zLDEuMnMwLjItMC4xLDAuMi0wLjJ2LTAuMWwtMC40LTIuNEMxOS44LDEyLjksMjEuNiwxMS4xLDIxLjYsMTF6Ii8+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+Cgk8Zz4KCQk8Zz4KCQkJPGc+CgkJCQk8ZGVmcz4KCQkJCQk8cmVjdCBpZD0iU1ZHSURfM18iIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgoJCQkJPC9kZWZzPgoJCQkJPGNsaXBQYXRoIGlkPSJTVkdJRF80XyI+CgkJCQkJPHVzZSB4bGluazpocmVmPSIjU1ZHSURfM18iICBzdHlsZT0ib3ZlcmZsb3c6dmlzaWJsZTsiLz4KCQkJCTwvY2xpcFBhdGg+CgkJCQk8cGF0aCBjbGFzcz0ic3QxIiBkPSJNMTIuNywxMi40Yy0wLjUtMC41LTAuNi0xLjEtMC42LTEuNGMwLTAuMiwwLTAuMywwLjEtMC41aC04Yy0xLDAtMS44LDAuOC0xLjgsMS44bDAsMGMwLDEsMC44LDEuOCwxLjgsMS44CgkJCQkJaDkuNWwwLjEtMC43TDEyLjcsMTIuNHoiLz4KCQkJPC9nPgoJCTwvZz4KCTwvZz4KPC9nPgo8L3N2Zz4K",
  "H5P.CoursePresentation-1.25/dist/515d9d92daf54ec52fcf.svg":
    "data:image/svg+xml;base64, ",
};
!(function () {
  H5P.ContentType = function (t) {
    function e() {}
    return (
      ((e.prototype = new H5P.EventDispatcher()).isRoot = function () {
        return t;
      }),
      (e.prototype.getLibraryFilePath = function (t) {
        return (
          furtherH5PInlineResources[
            this.libraryInfo.versionedNameNoSpaces + "/" + t
          ] || t
        );
      }),
      e
    );
  };
  var i = HTMLScriptElement.prototype.setAttribute;
  ((HTMLScriptElement.prototype.setAttribute = function (t, e) {
    if ("src" === t) {
      if (!(e instanceof String)) {
        if (!e.toString) return void i.call(this, t, e);
        e = e.toString();
      }
      var r = window.location.href.substr(
          0,
          window.location.href.lastIndexOf("/"),
        ),
        r = (e = e.startsWith(r) ? e.substr(r.length + 1) : e).match(
          /^.\/libraries\/([^?]+)\??.*$/,
        );
      r &&
        ((r = r[1]),
        furtherH5PInlineResources[r] && (e = furtherH5PInlineResources[r]));
    }
    i.call(this, t, e);
  }),
    Object.defineProperty(HTMLScriptElement.prototype, "src", {
      set(t) {
        this.setAttribute("src", t);
      },
    }));
  var n = HTMLLinkElement.prototype.setAttribute;
  ((HTMLLinkElement.prototype.setAttribute = function (t, e) {
    if ("href" === t) {
      if (!(e instanceof String)) {
        if (!e.toString) return void i.call(this, t, e);
        e = e.toString();
      }
      var r = window.location.href.substr(
          0,
          window.location.href.lastIndexOf("/"),
        ),
        r = (e = e.startsWith(r) ? e.substr(r.length + 1) : e).match(
          /^.\/libraries\/([^?]+)\??.*$/,
        );
      r &&
        ((r = r[1]),
        furtherH5PInlineResources[r] && (e = furtherH5PInlineResources[r]));
    }
    n.call(this, t, e);
  }),
    Object.defineProperty(HTMLLinkElement.prototype, "src", {
      set(t) {
        this.setAttribute("src", t);
      },
    }));
})();
H5P.getPath = function (t, n) {
  return t;
};

setTimeout(() => {
  const anchors = Array.from(
    document.querySelectorAll(".h5p-progressbar-part a"),
  );
  anchors.forEach((anchor) => {
    anchor.style.color = "white";
    anchor.innerText = ".";
    anchor.style.textIndent = "-9999px";
  });
  const emptySpan = document.getElementsByClassName(
    "h5p-progressbar-part-title",
  )[0];
  emptySpan.innerText = ".";
  emptySpan.style.textIndent = "-9999px";
}, 300);
