{"version":3,"sources":["webpack:///./src/core/utils/formatTime.ts","webpack:///./src/core/utils/siteTour.ts","webpack:///./src/views/recorder/components/volume-tester/VolumeCircle.vue?d482","webpack:///./src/views/recorder/components/volume-tester/VolumeCircle.vue","webpack:///./src/views/recorder/components/volume-tester/VolumeCircle.vue?49a3","webpack:///./src/views/recorder/components/volume-tester/VolumeCircle.vue?e908","webpack:///./src/views/recorder/Recorder.vue?3178","webpack:///./src/views/recorder/Recorder.vue","webpack:///./src/views/recorder/Recorder.vue?66a7","webpack:///./src/views/recorder/Recorder.vue?1c49","webpack:///./src/views/recorder/components/volume-tester/index.ts","webpack:///./src/components/common/InformationTooltip.vue?b04f","webpack:///./src/components/common/InformationTooltip.vue","webpack:///./src/components/common/InformationTooltip.vue?2a3e","webpack:///./src/components/common/InformationTooltip.vue?6022","webpack:///./src/components/common/ImageSlider.vue?f86d","webpack:///./src/components/common/ImageSlider.vue","webpack:///./src/components/common/ImageSlider.vue?88a6","webpack:///./src/components/common/ImageSlider.vue?f0ed","webpack:///../../../src/components/VWindow/VWindowItem.ts","webpack:///./src/views/recorder/index.ts","webpack:///./src/views/recorder/components/LangSwitcher.vue?fd43","webpack:///./src/views/recorder/components/LangSwitcher.vue","webpack:///./src/views/recorder/components/LangSwitcher.vue?ad61","webpack:///./src/views/recorder/components/LangSwitcher.vue?917d","webpack:///../../../src/components/VAutocomplete/VAutocomplete.ts","webpack:///../../../src/components/VCombobox/VCombobox.ts","webpack:///./src/components/common/AudioPlayer.vue?e49f","webpack:///./src/components/common/AudioPlayer.vue","webpack:///./src/components/common/AudioPlayer.vue?2071","webpack:///./src/components/common/AudioPlayer.vue?f928","webpack:///./src/components/common/SessionVideoPlayer.vue?b64b","webpack:///./src/components/common/SessionVideoPlayer.vue","webpack:///./src/components/common/SessionVideoPlayer.vue?b57d","webpack:///./src/components/common/SessionVideoPlayer.vue?a999","webpack:///./src/components/common/DisplayError.vue?cec1","webpack:///./src/components/common/DisplayError.vue","webpack:///./src/components/common/DisplayError.vue?c3b6","webpack:///./src/components/common/DisplayError.vue?461a","webpack:///./src/components/common/UploadFileButton.vue?6719","webpack:///./src/components/common/UploadFileButton.vue","webpack:///./src/components/common/UploadFileButton.vue?f765","webpack:///./src/components/common/UploadFileButton.vue?b5f9","webpack:///./src/components/common/FileDisplay.vue?2e05","webpack:///./src/components/common/FileDisplay.vue","webpack:///./src/components/common/FileDisplay.vue?2f68","webpack:///./src/components/common/FileDisplay.vue?fca0","webpack:///./src/components/common/UsersSelect.vue?fdcd","webpack:///./src/components/common/UsersSelect.vue","webpack:///./src/components/common/UsersSelect.vue?019e","webpack:///./src/components/common/UsersSelect.vue?fb64","webpack:///../../../src/components/VTabs/VTab.ts","webpack:///../../../src/components/VTabs/VTabItem.ts","webpack:///../../../src/components/VSlideGroup/VSlideGroup.ts","webpack:///../../../src/components/VTimePicker/SelectingTimes.ts","webpack:///../../../src/components/VTabs/VTabsBar.ts","webpack:///../../../src/components/VTabs/VTabsItems.ts","webpack:///../../../src/components/VTabs/VTabsSlider.ts","webpack:///../../../src/components/VTabs/VTabs.ts","webpack:///../../../src/components/VTimePicker/VTimePickerTitle.ts","webpack:///../../../src/components/VTimePicker/VTimePickerClock.ts","webpack:///../../../src/components/VTimePicker/VTimePicker.ts","webpack:///./src/components/common/DateTimePicker.vue?0c5d","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/index.js","webpack:///./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack:///./node_modules/date-fns/esm/_lib/requiredArgs/index.js","webpack:///./node_modules/date-fns/esm/toDate/index.js","webpack:///./node_modules/date-fns/esm/addMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/subMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/assign/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/longFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/protectedTokens/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCDay/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCISODay/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/setUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/parse/_lib/parsers/index.js","webpack:///./node_modules/date-fns/esm/parse/index.js","webpack:///./node_modules/date-fns/esm/isValid/index.js","webpack:///./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/formatters/index.js","webpack:///./node_modules/date-fns/esm/format/index.js","webpack:///src/components/common/DateTimePicker.vue","webpack:///./src/components/common/DateTimePicker.vue?79a9","webpack:///./src/components/common/DateTimePicker.vue","webpack:///./src/components/common/ProgressFill.vue?2802","webpack:///./src/components/common/ProgressFill.vue","webpack:///./src/components/common/ProgressFill.vue?88a0","webpack:///./src/components/common/ProgressFill.vue?e45b","webpack:///./src/components/common/TranscriptionSlides.vue?ccf6","webpack:///./src/components/common/TranscriptionSlides.vue","webpack:///./src/components/common/TranscriptionSlides.vue?09d9","webpack:///./src/components/common/TranscriptionSlides.vue?ae2d","webpack:///./src/components/common/HowToPopup.vue?a1f8","webpack:///./src/components/common/HowToPopup.vue","webpack:///./src/components/common/HowToPopup.vue?13dc","webpack:///./src/components/common/HowToPopup.vue?ab44","webpack:///./src/components/common/WordSearch.vue?3d6b","webpack:///./src/components/common/SingleWord.vue?fe71","webpack:///./src/components/common/SingleWord.vue","webpack:///./src/components/common/SingleWord.vue?931f","webpack:///./src/components/common/SingleWord.vue?137e","webpack:///./src/components/common/WordSearch.vue","webpack:///./src/components/common/WordSearch.vue?3958","webpack:///./src/components/common/WordSearch.vue?10bf","webpack:///./src/components/common/VideoRecorderWithBottomToolbar.vue?5983","webpack:///./src/components/common/VideoRecorderWithBottomToolbar.vue","webpack:///./src/components/common/VideoRecorderWithBottomToolbar.vue?de32","webpack:///./src/components/common/VideoRecorderWithBottomToolbar.vue?5861","webpack:///../../../src/components/VDatePicker/VDatePickerTitle.ts","webpack:///../../../src/mixins/localable/index.ts","webpack:///../../../../src/components/VDatePicker/util/createNativeLocaleFormatter.ts","webpack:///../../../../src/components/VDatePicker/util/monthChange.ts","webpack:///../../../src/components/VDatePicker/VDatePickerHeader.ts","webpack:///../../../../src/components/VDatePicker/util/eventHelpers.ts","webpack:///../../../../src/components/VDatePicker/util/sanitizeDateString.ts","webpack:///../../../../src/components/VDatePicker/util/isDateAllowed.ts","webpack:///../../../../src/components/VDatePicker/mixins/date-picker-table.ts","webpack:///../../src/util/dateTimeUtils.ts","webpack:///../../../src/components/VDatePicker/VDatePickerDateTable.ts","webpack:///../../../src/components/VDatePicker/VDatePickerMonthTable.ts","webpack:///../../../src/components/VDatePicker/VDatePickerYears.ts","webpack:///../../../../src/components/VCalendar/util/timestamp.ts","webpack:///../../../src/components/VDatePicker/VDatePicker.ts","webpack:///./src/views/recorder/Recorder.vue?25d6","webpack:///./src/components/common/ImageSlider.vue?a67e","webpack:///./src/views/recorder/components/PresentationSelect.vue?e73c","webpack:///./src/views/recorder/components/PresentationSelect.vue","webpack:///./src/views/recorder/components/PresentationSelect.vue?8398","webpack:///./src/views/recorder/components/PresentationSelect.vue?05d7","webpack:///../../../src/components/VPicker/VPicker.ts","webpack:///../../../src/components/VPicker/index.ts","webpack:///../../../src/mixins/picker/index.ts","webpack:///./src/views/recorder/components/volume-tester/VolumeCircle.vue?17a2","webpack:///./node_modules/plyr/dist/plyr.min.js","webpack:///../../../../src/components/VDatePicker/util/pad.ts","webpack:///./node_modules/core-js/modules/es.string.replace-all.js","webpack:///./node_modules/recorder-js/lib/index.js","webpack:///./src/components/common/VideoRecorderWithPresentations.vue?4ab6","webpack:///./src/components/common/VideoRecorderWithPresentations.vue","webpack:///./src/components/common/VideoRecorderWithPresentations.vue?180a","webpack:///./src/components/common/VideoRecorderWithPresentations.vue?ab5d","webpack:///./src/views/recorder/lib/recorder.ts","webpack:///./src/components/common/WordSearch.vue?a034","webpack:///./src/views/recorder/components/volume-tester/Gauge.vue?7ec3","webpack:///./src/views/recorder/components/volume-tester/Gauge.vue","webpack:///./src/views/recorder/components/volume-tester/Gauge.vue?04f3","webpack:///./src/views/recorder/components/volume-tester/Gauge.vue?26eb","webpack:///./node_modules/inline-worker/index.js","webpack:///./src/views/recorder/components/index.ts","webpack:///./src/views/recorder/components/AudioRecorder.vue?3a9b","webpack:///./src/views/recorder/components/AudioRecorder.vue","webpack:///./src/views/recorder/components/AudioRecorder.vue?84a7","webpack:///./src/views/recorder/components/AudioRecorder.vue?3944","webpack:///./src/components/common/ProgressFill.vue?2845","webpack:///./node_modules/recorder-js/lib/microphone.js","webpack:///../../../src/components/VGrid/grid.ts","webpack:///../../../src/components/VGrid/VContainer.ts","webpack:///../../../src/components/VBtn/index.ts","webpack:///./src/views/recorder/components/volume-tester/Gauge.vue?23e0","webpack:///./src/views/recorder/components/RecordList.vue?ee8b","webpack:///./src/views/recorder/components/RecordList.vue","webpack:///./src/views/recorder/components/RecordList.vue?c6af","webpack:///./src/views/recorder/components/RecordList.vue?3101","webpack:///./src/views/recorder/components/volume-tester/VolumeTester.vue?d62c","webpack:///./src/views/recorder/components/volume-tester/VolumeTester.vue","webpack:///./src/views/recorder/components/volume-tester/VolumeTester.vue?afa5","webpack:///./src/views/recorder/components/volume-tester/VolumeTester.vue?e81d","webpack:///../../../src/components/VSlider/VSlider.ts","webpack:///./src/components/common/NumberSelect.vue?aa04","webpack:///./src/components/common/NumberSelect.vue","webpack:///./src/components/common/NumberSelect.vue?cf8f","webpack:///./src/components/common/NumberSelect.vue?67f0","webpack:///./node_modules/recorder-js/index.js","webpack:///./src/components/common/PagesArrows.vue?f6c2","webpack:///./src/components/common/PagesArrows.vue","webpack:///./src/components/common/PagesArrows.vue?1f41","webpack:///./src/components/common/PagesArrows.vue?c5e8","webpack:///../../../src/mixins/picker-button/index.ts","webpack:///./src/components/common/SingleWord.vue?507c","webpack:///./src/views/recorder/components/RecordingDialog.vue?7536","webpack:///./src/views/recorder/components/RecordingDialog.vue","webpack:///./src/views/recorder/components/RecordingDialog.vue?23ee","webpack:///./src/views/recorder/components/RecordingDialog.vue?7294","webpack:///./src/components/common/SessionVideoPlayer.vue?132c","webpack:///./src/views/recorder/components/RecordingItem.vue?4624","webpack:///./src/views/recorder/components/RecordingItem.vue","webpack:///./src/views/recorder/components/RecordingItem.vue?7dee","webpack:///./src/views/recorder/components/RecordingItem.vue?ad46","webpack:///./src/core/utils/Pages.ts","webpack:///./src/components/common/EmailsInput.vue?dbc2","webpack:///./src/components/common/EmailsInput.vue","webpack:///./src/components/common/EmailsInput.vue?d88a","webpack:///./src/components/common/EmailsInput.vue?6f5f","webpack:///../../../src/components/VWindow/VWindow.ts"],"names":["formatFromSeconds","s","hh","Math","floor","mm","ss","formatClockFromSeconds","formatFromMilliSeconds","ms","Tour","steps","current","this","document","querySelector","remove","removeFocusEffect","wrapper","createElement","classList","add","documentElement","append","el","scrollIntoView","behavior","block","setTimeout","rect","getBoundingClientRect","mask","body","appendChild","style","position","top","left","width","height","pointerEvents","zIndex","opacity","transition","areas","map","area","backgroundColor","right","bottom","dialogs","querySelectorAll","forEach","dialog","dialogElement","focusEffect","title","xPos","yPos","negativeOffset","noNext","open","showHint","disableActions","addFocusEffect","popup","insertAdjacentHTML","i18n","t","skip","exit","next","btn","setAttribute","onclick","finish","clear","offsetWidth","offsetHeight","hint","hintLeft","hintTop","offset","isLast","length","getWrapper","step","element","requireInteraction","showPopup","target","showDialog","i","executeStep","window","dispatchEvent","Event","createRecorderTour","toString","createHomeTour","createGoalsTour","createSessionsTour","render","_vm","_h","$createElement","_c","_self","staticClass","VBtn","attrs","canToggle","on","$event","$emit","VIcon","_v","_s","isTesting","staticRenderFns","VolumeCircle","scale","volume","str","Vue","__decorate","Prop","default","Component","component","showTutorial","_e","VSpacer","startTour","$t","VCard","staticStyle","dialogProp","directives","name","rawName","value","isRecording","expression","selectedPresentation","recordingType","viewMode","recordingCreated","ref","recordingSettings","expectedLen","maxLen","Recorder","canSelect","records","tipDialog","showVolume","tour","record","show","LocalStorage","getShouldShowRecordingTip","$route","query","$nextTick","start","to","from","confirmStayInRecording","videoRecorderRef","$refs","videoRecorderWithPresentationRef","stop","confirm","confirmLeave","e","preventDefault","returnValue","Boolean","addEventListener","beforeWindowUnload","removeEventListener","presentation","id","Number","isNaN","getOne","tutorialStep","prev","v","jump","Getter","Action","Watch","immediate","computed","components","RecordList","VolumeTester","AudioRecorder","PresentationSelect","VideoRecorderWithPresentation","VTooltip","scopedSlots","_u","key","fn","_g","message","tooltipText","InformationTooltip","text","class","VRMode","maxHeight","url","VOverlay","loading","VProgressCircular","ImageSlider","getVRMode","idx","maxWidth","images","img","Promise","res","onload","Image","src","loadImage","ratio","naturalHeight","naturalWidth","maxWidthVertical","len","setImage","shouldReset","PropSync","baseMixins","mixins","Bootable","GroupableFactory","extend","Touch","props","disabled","reverseTransition","type","String","undefined","required","data","isActive","inTransition","classes","groupClasses","computedTransition","windowGroup","internalReverse","methods","genDefaultSlot","$slots","genWindowItem","$listeners","onAfterTransition","transitionCount","transitionHeight","onBeforeTransition","convertToUnit","$el","clientHeight","onTransitionCancelled","onEnter","h","beforeEnter","afterEnter","enterCancelled","beforeLeave","afterLeave","leaveCancelled","enter","showLazyContent","VMenu","isEN","icon","model","callback","$$v","menuOpen","VList","VListItemGroup","lang","VListItem","setEN","setDE","LangSwitcher","locale","defaultMenuProps","VSelectMenuProps","offsetY","offsetOverflow","VSelect","allowOverflow","autoSelectFirst","filter","Function","item","queryText","itemText","toLocaleLowerCase","indexOf","hideNoData","menuProps","options","noFilter","searchInput","lazySearch","call","selectedIndex","computedItems","filteredItems","selectedValues","selectedItems","getValue","hasDisplayedItems","hideSelected","some","hasItem","currentRange","selectedItem","getText","isSearching","internalSearch","allItems","getPropertyFromItem","get","set","val","isAnyValueAllowed","isDirty","searchIsDirty","multiple","menuCanShow","isFocused","$_menuProps","contentClass","trim","find","valueComparator","internalValue","listData","items","virtualizedItems","watch","onCopy","input","select","blur","updateSelf","isMenuActive","hasSlot","oldVal","activateMenu","created","setSearch","destroyed","onFilteredItemsChanged","preSelectedItem","menu","listIndex","setMenuIndex","findIndex","getTiles","onInternalSearchChanged","updateMenuDimensions","updateDimensions","changeSelectedIndex","keyCode","keyCodes","backspace","delete","deleteCurrentItem","curIndex","curItem","isInteractive","getDisabled","lastIndex","nextIndex","nextItem","selectItem","setValue","clearableCallback","genInput","VTextField","mergeData","getObjectValueByPath","autocomplete","domProps","genInputSlot","slot","role","genSelections","onClick","onFocus","isAppendInner","onInput","badInput","validity","onKeyDown","ctrlKey","home","end","includes","onSpaceDown","onTabDown","onUpDown","setSelectedItems","event","currentItem","currentItemText","clipboardData","_a","setData","_b","VAutocomplete","delimiters","Array","returnObject","editingIndex","computedCounterValue","delimiter","d","endsWith","slice","updateTags","paste","onPaste","genChipSelection","index","chip","componentOptions","listeners","dblclick","onChipInput","onEnterDown","getMenuIndex","selectionStart","stopPropagation","updateEditing","Object","assign","splice","push","updateCombobox","isUsingSlot","$scopedSlots","selection","hasChips","menuIndex","itemToSelect","pastedItemText","getData","findExistingIndex","AudioPlayer","plyr","Plyr","invertTime","duration","sessionLength","setTotalTime","time","currentTime","updateTime","progress","total","SessionVideoPlayer","video","getElementById","ontimeupdate","VContainer","error","Description","StatusCode","DisplayError","file","selectFile","formatSelectedFile","unselectFile","canSubmit","callSubmit","accept","onFileChanged","UploadFileButton","isSelectingFile","format","size","formatFileSize","round","pow","uploader","click","files","$forceUpdate","handleFocus","openFile","Name","GroupPostItem","Size","suffix","URI","FileObject","users","toggleAll","VListItemAction","selectedUsers","VDivider","proxy","UsersSelect","deep","Routable","Themeable","ripple","proxyClass","href","$router","resolve","replace","detail","toggle","tabsBar","mandatory","generateRouteLink","tag","tabindex","keydown","VWindowItem","bias","c","x","abs","sign","calculateUpdatedOffset","selectedElement","widths","rtl","currentScrollOffset","clientWidth","offsetLeft","content","totalWidth","itemOffset","additionalOffset","max","min","calculateCenteredOffset","offsetCentered","SelectingTimes","BaseSlideGroup","BaseItemGroup","Mobile","Resize","activeClass","centerActive","nextIcon","prevIcon","showArrows","validator","isOverflowing","resizeTimeout","startX","isSwipingHorizontal","isSwiping","scrollOffset","canTouch","__cachedNext","genTransition","__cachedPrev","hasAffixes","isMobile","hasNext","hasPrev","$vuetify","scroll","transform","mounted","ResizeObserver","obs","onResize","observe","$on","disconnect","itemsLength","children","setWidths","onScroll","scrollLeft","onFocusin","composedPath","vm","genNext","onAffixClick","genContent","focusin","genData","genIcon","location","upperLocation","toUpperCase","hasAffix","genPrev","VFadeTransition","genWrapper","overflowCheck","onTouchStart","move","onTouchMove","onTouchEnd","calculateNewOffset","direction","newAbosluteOffset","scrollTo","_isDestroyed","touchstartX","setProperty","diffX","touchmoveX","diffY","touchmoveY","touchstartY","overflowY","maxScrollOffset","removeProperty","lastItemPosition","wrapperPosition","requestAnimationFrame","provide","slideGroup","SSRBootable","themeClasses","callSlider","isBooted","onRouteChange","newPath","path","oldPath","hasNew","hasOld","VWindow","isDark","rootIsDark","Colorable","setBackgroundColor","color","Proxyable","alignWithTitle","centered","fixedTabs","grow","hideSlider","iconsAndText","mobileBreakpoint","optional","sliderColor","sliderSize","vertical","slider","transitionTime","isReversed","sliderStyles","computedColor","appIsDark","activeTab","scrollHeight","offsetTop","scrollWidth","genBar","dark","light","change","setTextColor","VTabsBar","genSlider","genItems","VTabsItems","VTabsSlider","clearTimeout","parseNodes","tab","vnode","Ctor","modifiers","quiet","PickerButton","ampm","ampmReadonly","hour","minute","second","period","readonly","useSeconds","selecting","genTime","displayedHour","pad","displayedMinute","titleContent","genPickerButton","Hour","Minute","displayedSecond","Second","genAmPm","allowedValues","double","scrollable","rotate","inputValue","isDragging","valueOnMouseDown","valueOnMouseUp","count","degreesPerUnit","roundCount","degrees","PI","displayedValue","innerRadiusScale","wheel","delta","deltaY","isAllowed","update","isInner","handScale","genValues","getTransform","innerHTML","genHand","angle","getPosition","y","rotateRadians","sin","cos","onMouseDown","onDragMove","onMouseUp","clock","innerClock","innerWidth","touches","clientX","clientY","center","coords","handAngle","insideClick","euclidean","checksCount","ceil","angleToValue","setMouseDownValue","p0","p1","dx","dy","sqrt","atan2","mousedown","mouseup","mouseleave","touchstart","touchend","mousemove","touchmove","rangeHours24","createRange","rangeHours12am","rangeHours12pm","range60","selectingNames","1","2","3","Picker","allowedHours","allowedMinutes","allowedSeconds","ampmInTitle","inputHour","inputMinute","inputSecond","lazyInputHour","lazyInputMinute","lazyInputSecond","selectingHour","selectingMinute","selectingSecond","isAllowedHourCb","cb","minHour","split","maxHour","isAllowedMinuteCb","isHourAllowed","minMinute","maxMinute","minTime","maxTime","isAllowedSecondCb","isMinuteAllowed","minSecond","maxSecond","isAmPm","setInputData","setPeriod","genValue","emitValue","newHour","firstAllowed","Date","getHours","getMinutes","getSeconds","toLowerCase","match","convert12to24","parseInt","convert24to12","onChange","emitChange","allowedFn","range","first","genClock","VTimePickerClock","fullWidth","landscape","genClockAmPm","genPickerBody","genPickerTitle","VTimePickerTitle","genPicker","VDialog","momentFormatted","label","VProgressLinear","display","VTab","dateSelected","VTabItem","VDatePicker","$i18n","minDate","toISOString","now","showTimePicker","date","VTimePicker","nativeOn","clearHandler","okHandler","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","result","addSuffix","comparison","buildFormatLongFn","args","dirtyOptions","defaultWidth","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","_date","_baseDate","_options","buildLocalizeFn","dirtyIndex","valuesArray","context","formattingValues","defaultFormattingWidth","_defaultWidth","_width","values","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_dirtyOptions","number","rem100","era","quarter","month","day","dayPeriod","buildMatchPatternFn","dirtyString","string","matchResult","matchPattern","matchedString","parseResult","parsePattern","valueCallback","rest","buildMatchFn","matchPatterns","defaultMatchWidth","parsePatterns","defaultParseWidth","prototype","pattern","test","findKey","object","predicate","hasOwnProperty","array","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","code","localize","weekStartsOn","firstWeekContainsDate","toInteger","NaN","requiredArgs","TypeError","toDate","argument","arguments","argStr","getTime","console","warn","Error","stack","addMilliseconds","dirtyDate","dirtyAmount","timestamp","amount","subMilliseconds","dirtyObject","property","dateLongFormatter","timeLongFormatter","dateTimeLongFormatter","dateTimeFormat","datePattern","timePattern","longFormatters","p","P","MILLISECONDS_IN_MINUTE","getDateMillisecondsPart","getTimezoneOffsetInMilliseconds","baseTimezoneOffset","getTimezoneOffset","setSeconds","hasNegativeUTCOffset","millisecondsPartOfTimezoneOffset","protectedDayOfYearTokens","protectedWeekYearTokens","isProtectedDayOfYearToken","isProtectedWeekYearToken","throwProtectedError","RangeError","concat","startOfUTCWeek","localeWeekStartsOn","defaultWeekStartsOn","getUTCDay","diff","setUTCDate","getUTCDate","setUTCHours","getUTCWeekYear","year","getUTCFullYear","localeFirstWeekContainsDate","defaultFirstWeekContainsDate","firstWeekOfNextYear","setUTCFullYear","startOfNextYear","firstWeekOfThisYear","startOfThisYear","setUTCDay","dirtyDay","currentDay","remainder","dayIndex","setUTCISODay","startOfUTCISOWeek","getUTCISOWeekYear","fourthOfJanuaryOfNextYear","fourthOfJanuaryOfThisYear","startOfUTCISOWeekYear","fourthOfJanuary","MILLISECONDS_IN_WEEK","getUTCISOWeek","setUTCISOWeek","dirtyISOWeek","isoWeek","startOfUTCWeekYear","firstWeek","getUTCWeek","setUTCWeek","dirtyWeek","week","MILLISECONDS_IN_HOUR","MILLISECONDS_IN_SECOND","numericPatterns","dayOfYear","hour23h","hour24h","hour11h","hour12h","singleDigit","twoDigits","threeDigits","fourDigits","anyDigitsSigned","singleDigitSigned","twoDigitsSigned","threeDigitsSigned","fourDigitsSigned","timezonePatterns","basicOptionalMinutes","basic","basicOptionalSeconds","extended","extendedOptionalSeconds","parseNumericPattern","parseTimezonePattern","hours","minutes","seconds","parseAnyDigitsSigned","parseNDigits","n","RegExp","parseNDigitsSigned","dayPeriodEnumToHours","enumValue","normalizeTwoDigitYear","twoDigitYear","currentYear","isCommonEra","absCurrentYear","rangeEnd","rangeEndCentury","isPreviousCentury","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","isLeapYearIndex","parsers","G","priority","parse","flags","incompatibleTokens","isTwoDigitYear","unit","validate","normalizedTwoDigitYear","Y","R","_match","_flags","firstWeekOfYear","u","Q","setUTCMonth","q","M","L","w","I","subPriority","isLeapYear","getUTCMonth","D","E","wholeWeekDays","a","b","B","isPM","getUTCHours","H","K","k","m","setUTCMinutes","setUTCSeconds","S","setUTCMilliseconds","X","timestampIsSet","_token","T","TIMEZONE_UNIT_PRIORITY","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","notWhitespaceRegExp","unescapedLatinCharacterRegExp","dirtyDateString","dirtyFormatString","dirtyReferenceDate","dateString","formatString","subFnOptions","setters","dateToSystemTimezone","tokens","substring","firstCharacter","longFormatter","join","usedTokens","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","parser","isArray","incompatibleToken","_i","usedToken","fullToken","cleanEscapedString","uniquePrioritySetters","setter","sort","setterArray","utcDate","convertedDate","setFullYear","setHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isValid","addLeadingZeros","targetLength","output","formatters","signedYear","dayPeriodEnumValue","numberOfDigits","milliseconds","fractionalSeconds","MILLISECONDS_IN_DAY","getUTCDayOfYear","startOfYearTimestamp","difference","dayPeriodEnum","lightFormatters","signedWeekYear","weekYear","isoWeekYear","dayOfWeek","localDayOfWeek","isoDayOfWeek","_localize","originalDate","_originalDate","timezoneOffset","formatTimezoneWithOptionalMinutes","formatTimezone","O","formatTimezoneShort","z","dirtyDelimiter","absOffset","dirtyFormatStr","formatStr","formatterOptions","formatter","prop","datetime","defaultDateTimeFormat","selectedDatetime","init","initDateTime","resetPicker","background","theme","themes","primary","fontSize","ProgressFill","currentSlide","image","videoUrl","fullscreen","currentWpm","currentDuration","slide","slides","VSlider","totalTime","sliderValue","sliderUpdate","_l","imageOffset","setAudio","offsetFormatted","TranscriptionSlides","slidesBase","audioTime","setProgress","isPlaying","$store","getters","log","dispatch","newTime","wpm","pitch","avgPitch","avgVolume","getVideo","uri","shouldPlay","shouldStop","VideoItem","hasLoaded","api","VideoPlayer","lookupWords","filterText","VCheckbox","exact","showFull","word","toggleType","ignoreTypes","SingleWord","LookupWordType","filler","occurrences","WordSearch","showButton","ftext","allWords","filtered","words","VRow","VCol","video_recorder__flipped","flipped","overtime","isTimed","elapsedTime","isPaused","resume","pause","upload","reset","VideoRecorderWithBottomToolbar","recorder","interval","timeout","uploadDialog","setInterval","clearInterval","onError","errorMessage","displaySnackbar","stream","removeAttribute","srcObject","play","muted","controls","startTimeout","startTimer","stopTimer","stopTimeout","then","blob","videoBlob","URL","createObjectURL","cancelUpload","DeviceSelect","selectingYear","yearIcon","isReversing","genYearIcon","getYearBtn","genTitleText","genTitleDate","currentLocale","createNativeLocaleFormatter","substrOptions","makeIsoString","intlFormatter","Intl","DateTimeFormat","substr","Localable","nextAriaLabel","prevAriaLabel","timeZone","newVal","genBtn","ariaLabelId","ariaLabel","calculateChange","monthChange","genHeader","header","createItemTypeNativeListeners","instance","itemTypeSuffix","keys","reduce","eventName","createItemTypeListeners","isDateAllowed","allowedDates","events","eventColor","tableDate","wheelThrottle","displayedMonth","displayedYear","throttle","genButtonClasses","isFloating","isSelected","isCurrent","isFirst","genButtonEvents","mouseEventType","mergeListeners","genButton","isOtherMonth","setColor","genEvents","getEventColors","eventData","arrayize","eventColors","isValidScroll","calculateTableDate","sanitizeType","sanitizeDateString","touch","genTable","touchDirective","offsetX","createUTCDate","UTC","isFinite","firstWeekOffset","firstDayOfWeek","firstDayOfYear","firstWeekDayInFirstWeek","firstWeekDayOfYear","weeksInYear","weekOffset","weekOffsetNext","daysInYear","weekNumber","localeFirstDayOfYear","DatePickerTable","showAdjacentMonths","showWeek","weekdayFormat","weekdayFormatter","weekday","weekDays","genTHead","days","unshift","genTR","weekDaysBeforeFirstDayOfTheMonth","firstDayOfTheMonth","weekDay","getWeekNumber","dayInMonth","genWeekNumber","padStart","genTBody","daysInMonth","getDate","rows","prevMonthYear","prevMonth","firstDayFromPreviousMonth","cellsInRow","nextMonthYear","nextMonth","nextMonthDay","cols","fill","row","tds","_","col","defaultColor","activeItem","getElementsByClassName","scrollTop","genYearItem","formatted","active","genYearItems","selectedYear","getFullYear","maxYear","minYear","DAYS_IN_MONTH_LEAP","activePicker","dayFormat","headerDateFormat","monthFormat","nextMonthAriaLabel","nextYearAriaLabel","pickerDate","prevMonthAriaLabel","prevYearAriaLabel","reactive","showCurrent","selectedItemsText","titleDateFormat","yearFormat","internalActivePicker","inputDay","inputMonth","inputYear","multipleValue","wrapInArray","getMonth","isMultiple","lastValue","selectedMonths","inputDate","tableMonth","tableYear","minMonth","maxMonth","titleDate","defaultTitleMultipleDateFormatter","defaultTitleDateFormatter","dates","titleFormats","titleDateFormatter","landscapeFormatter","nonDigit","digit","handler","newValue","oldValue","checkMultipleProp","setInputDate","emitInput","newInput","valueType","constructor","expected","consoleWarn","yearClick","monthClick","dateClick","VDatePickerTitle","genTableHeader","VDatePickerHeader","genDateTable","VDatePickerDateTable","genMonthTable","VDatePickerMonthTable","genYears","VDatePickerYears","openSelect","selectPresentation","presentations","File","selected","pres","retrieved","getPresentations","Elevatable","flat","noTitle","computedTitleColor","defaultTitleColor","genTitle","genBodyTransition","genBody","genActions","actions","elevationClasses","VPicker","headerColor","genPickerActionsSlot","save","cancel","elevation","module","exports","enumerable","configurable","writable","defineProperty","getOwnPropertySymbols","getOwnPropertyDescriptor","apply","getOwnPropertyDescriptors","defineProperties","r","propertyIsEnumerable","o","Symbol","iterator","done","return","l","f","addCSS","thumbWidth","g","C","NodeList","A","Element","N","parseFloat","toFixed","rangeTouch","config","enabled","userSelect","webKitUserSelect","touchAction","changedTouches","getAttribute","bubbles","MutationObserver","addedNodes","childList","subtree","j","F","V","U","W","$","J","Z","ee","KeyboardEvent","te","TextTrack","kind","ie","ne","startsWith","hostname","ae","se","WebkitTransition","MozTransition","OTransition","re","hidden","oe","isIE","documentMode","isEdge","navigator","userAgent","isWebkit","isIPhone","platform","isIos","le","ce","shift","ue","reverse","cloneNode","parentNode","nextSibling","insertBefore","de","entries","he","innerText","me","pe","removeChild","fe","childNodes","lastChild","ge","replaceChild","ye","charAt","ve","be","contains","we","ke","matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","Te","elements","container","Ce","Ae","focus","preventScroll","classNames","tabFocus","Se","Pe","Ee","audio","check","playsinline","ui","rangeInput","pip","webkitSetPresentationMode","pictureInPictureEnabled","disablePictureInPicture","airplay","WebKitPlaybackTargetAvailabilityEvent","mime","isHTML5","media","canPlayType","textTracks","transitions","reducedMotion","matchMedia","Ne","Me","passive","capture","eventListeners","xe","Ie","Le","Oe","CustomEvent","je","ready","De","qe","every","He","Fe","embed","videoWidth","videoHeight","Re","isVideo","paddingBottom","isVimeo","vimeo","premium","supported","getComputedStyle","videoFixedRatio","padding","Ve","getSources","getQualityOptions","quality","forced","setup","speed","source","paused","preload","readyState","playbackRate","once","load","cancelRequests","blankVideo","debug","Be","Ue","We","ze","Ke","Ye","Qe","html5","youtube","Xe","seekTime","$e","storage","localStorage","getItem","JSON","setItem","stringify","removeItem","Je","XMLHttpRequest","responseText","response","status","responseType","send","Ge","insertAdjacentElement","catch","Ze","trunc","et","tt","it","nt","getIconUrl","iconUrl","host","svg4everybody","cors","findElements","selectors","buttons","restart","rewind","fastForward","mute","settings","captions","inputs","seek","buffer","seekTooltip","tooltip","toggleNativeControls","createIcon","iconPrefix","createElementNS","focusable","setAttributeNS","createLabel","createBadge","badge","createButton","labelPressed","iconPressed","control","updateRangeFill","createProgress","played","createTime","bindMenuItemShortcuts","which","showMenuPanel","nextElementSibling","firstElementChild","previousElementSibling","lastElementChild","focusFirstMenuItem","createMenuItem","list","checked","bind","currentTrack","formatTime","updateTimeDisplay","updateVolume","setRange","pressed","updateProgress","getElementsByTagName","nodeValue","buffered","updateSeekTooltip","tooltips","pageX","timeUpdate","seeking","durationUpdate","displayDuration","toggleMenuButton","updateSetting","panels","getLabel","rt","setQualityMenu","checkMenu","setCaptionsMenu","getTracks","toggled","language","setSpeedMenu","minimumSpeed","maximumSpeed","toggleMenu","getMenuSize","propertyName","setDownloadUrl","download","create","urls","isEmbed","provider","inject","loadSprite","random","seektime","controlPressed","labels","at","st","URLSearchParams","isYouTube","protocol","languages","userLanguage","meta","currentTrackNode","mode","updateCues","setLanguage","findTrack","enableTextTrack","has","getCurrentTrack","activeCues","getCueAsHTML","caption","ot","autoplay","autopause","toggleInvert","clickToPlay","hideControls","resetOnEnd","disableContextMenu","loop","keyboard","focused","global","fallback","iosNative","seekLabel","unmute","enableCaptions","disableCaptions","enterFullscreen","exitFullscreen","frameTitle","menuBack","normal","all","advertisement","qualityBadge","2160","1440","1080","720","576","480","sdk","iframe","googleIMA","editable","embedContainer","poster","posterEnabled","ads","playing","stopped","hover","cues","isTouch","uiSupported","noTransition","previewThumbnails","thumbContainer","thumbContainerShown","imageContainer","timeContainer","scrubbingContainer","scrubbingContainerShown","attributes","publisherId","tagUrl","byline","portrait","transparent","customControls","referrerPolicy","rel","showinfo","iv_load_policy","modestbranding","noCookie","lt","ct","ut","dt","ht","mt","pt","ft","player","prefix","scrollPosition","forceFallback","closest","parentElement","nodeType","trapFocus","scrollX","scrollY","overflow","head","cleanupViewport","activeElement","shiftKey","native","webkitEnterFullscreen","toggleFallback","requestFullscreen","navigationUI","webkitExitFullscreen","cancelFullScreen","fullscreenElement","shadowRoot","getRootNode","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","gt","onerror","yt","addStyleHook","build","checkPlaying","setTitle","setPoster","togglePoster","reject","backgroundImage","backgroundSize","toggleControls","checkLoading","timers","lastSeekTime","migrateStyles","getPropertyValue","vt","lastKey","focusTimer","lastKeyDown","handleKey","setTabFocus","firstTouch","altKey","metaKey","togglePlay","increaseVolume","decreaseVolume","forward","toggleCaptions","usingNative","timeStamp","resized","firstChild","margin","isAudio","ended","currentTarget","hasAttribute","loaded","startMove","endMove","startScrubbing","endScrubbing","webkitDirectionInvertedFromDevice","deltaX","globalThis","self","bt","success","async","numRetries","before","relList","as","onbeforeload","sheet","cssText","defaultPrevented","returnPromise","isDefined","wt","kt","hasPlayed","Tt","Vimeo","sidedock","gesture","$2","thumbnail_url","Player","disableTextTrack","setVolume","setCurrentTime","setPlaybackRate","setLoop","getVideoUrl","getVideoWidth","getVideoHeight","setAutopause","getVideoTitle","getCurrentTime","getDuration","getTextTracks","createDocumentFragment","getPaused","percent","Ct","At","It","St","YT","onYouTubeIframeAPIReady","getTitle","videoId","playerVars","hl","disablekb","cc_load_policy","cc_lang_pref","widget_referrer","5","100","101","150","onPlaybackRateChange","getPlaybackRate","onReady","playVideo","pauseVideo","stopVideo","seekTo","getAvailablePlaybackRates","buffering","getVideoLoadedFraction","lastBuffered","onStateChange","unMute","Pt","Et","initialized","displayContainer","manager","loader","cuePoints","safetyTimer","countdownTimer","managerPromise","google","ima","trigger","destroy","startSafetyTimer","clearSafetyTimer","setupIMA","setVpaidMode","ImaSdkSettings","VpaidMode","ENABLED","setLocale","setDisableCustomPlaybackForIOS10Plus","AdDisplayContainer","AdsLoader","AdsManagerLoadedEvent","Type","ADS_MANAGER_LOADED","onAdsManagerLoaded","AdErrorEvent","AD_ERROR","onAdError","requestAds","AdsRequest","adTagUrl","linearAdSlotWidth","linearAdSlotHeight","nonLinearAdSlotWidth","nonLinearAdSlotHeight","forceNonLinearFullSlot","setAdWillPlayMuted","getRemainingTime","AdsRenderingSettings","restoreCustomPlaybackStateOnAdBreakComplete","enablePreloading","getAdsManager","getCuePoints","AdEvent","onAdEvent","getAd","getAdData","LOADED","pollCountdown","isLinear","STARTED","ALL_ADS_COMPLETED","loadAds","contentComplete","CONTENT_PAUSE_REQUESTED","pauseContent","CONTENT_RESUME_REQUESTED","resumeContent","LOG","adError","getMessage","addCuePoints","discardAdBreak","resize","ViewMode","NORMAL","initialize","AV_PUBLISHERID","AV_CHANNELID","AV_URL","AV_WIDTH","AV_HEIGHT","AV_CDIM2","Nt","Mt","thumbnails","lastMouseMoveTime","mouseDown","loadedImages","thumb","scrubbing","getThumbnails","determineContainerAutoSizing","getThumbnail","frames","startTime","endTime","urlPrefix","lastIndexOf","mousePosX","showImageAtCurrentTime","toggleThumbContainer","button","toggleScrubbingContainer","lastTime","setScrubbingContainerSize","setThumbContainerSizeAndPos","showingThumb","currentImageElement","dataset","filename","showImage","removeOldImages","loadingImage","usingSprites","showingThumbFilename","setImageSizeAndOffset","currentImageContainer","preloadNearby","getHigherQuality","tagName","deleting","thumbContainerHeight","sizeSpecifiedInCSS","thumbAspectRatio","setThumbContainerPos","currentScrubbingImageElement","currentThumbnailImageElement","xt","insertElements","sources","crossorigin","tracks","Lt","failed","jQuery","defaults","WeakMap","original","className","search","searchParams","webkitShowPlaybackTargetPicker","unload","mozHasAudio","webkitAudioDecodedByteCount","audioTracks","currentSrc","requestPictureInPicture","exitPictureInPicture","webkitPresentationMode","pictureInPictureElement","padString","repeat","requireObjectCoercible","isRegExp","getRegExpFlags","wellKnownSymbol","IS_PURE","REPLACE","RegExpPrototype","proto","replaceAll","searchValue","replaceValue","IS_REG_EXP","replacer","searchString","template","_createClass","descriptor","Constructor","protoProps","staticProps","_microphone","_microphone2","_interopRequireDefault","obj","__esModule","_classCallCheck","defaultConfig","nFrequencyBars","onAnalysed","audioContext","audioInput","realAudioInput","inputPoint","audioRecorder","rafID","analyserContext","recIndex","updateAnalysers","_this","createGain","createMediaStreamSource","connect","analyserNode","createAnalyser","fftSize","zeroGain","gain","destination","_this2","_this3","getBuffer","exportWAV","freqByteData","Uint8Array","frequencyBinCount","getByteFrequencyData","lastNonZero","datum","lineTo","forceDownload","isTooBig","isRecordLimitWarning","setRecordLimitWarningChecked","recordLimitWarningChecked","recordLimitCallback","slideChanged","getRecordLimitDialog","toggleRecordLimitWarning","uploading","recorderLocale","toggleMuted","VideoRecorder","askForFeedback","slideIndex","tsIndex","slideTimestamps","maxSize","toLocaleString","FormData","ID","post","headers","rec","audioBlob","videoURI","recordedAt","presentationId","Slides","Uri","lastTimestamp","ts","slideURI","addSlide","setRecordLimitDialog","visible","confirmationCallback","onupdate","prevGain","inputDevice","getInputDevice","constraints","channelCount","echoCancellation","deviceId","mediaDevices","getUserMedia","_micCaptured","stopAudio","track","analyzer","close","gainNode","setValueAtTime","AudioContext","webkitAudioContext","dest","createMediaStreamDestination","sum","cum","curr","vol","Gauge","InlineWorker","func","functionBody","WORKER_ENABLED","Worker","Blob","postMessage","onmessage","toggleRecorder","durationFormatted","stopTester","recordList","dontShowTip","recorderDuration","convertDuration","border","bgColor","ContentType","recording","newRecord","audioURI","stopRecorder","startRecorder","view","setShouldShowRecordingTip","onbeforeunload","showTip","VolumeGauge","_inlineWorker","_inlineWorker2","bufferLen","numChannels","mimeType","Microphone","callbacks","node","createScriptProcessor","createJavaScriptNode","onaudioprocess","channel","inputBuffer","getChannelData","worker","command","recLength","recBuffers","sampleRate","initBuffers","buffers","mergeBuffers","interleaved","interleave","dataview","encodeWAV","Float32Array","inputL","inputR","inputIndex","floatTo16BitPCM","setInt16","writeString","setUint8","charCodeAt","samples","ArrayBuffer","DataView","setUint32","setUint16","pop","revokeObjectURL","VGrid","functional","Grid","fluid","getRecords","removeRecording","editRecording","pages","Pages","Empty","setPages","apiRecords","CurrentPage","limit","RecordingItem","PagesArrows","toggleTest","tester","VInput","Loadable","ClickOutside","inverseLabel","thumbColor","thumbLabel","thumbSize","tickLabels","ticks","tickSize","trackColor","trackFillColor","app","thumbPressed","mouseTimeout","noClick","startOffset","lazyValue","minValue","roundValue","maxValue","trackTransition","showTicks","stepNumeric","inputWidth","trackFillStyles","startDir","endDir","valueDir","isDisabled","trackStyles","numTicks","showThumbLabel","computedTrackColor","validationState","computedTrackFillColor","computedThumbColor","parsed","genLabel","genProgress","isReadonly","onBlur","onSliderClick","onSliderMouseDown","genChildren","genTrackContainer","genSteps","genThumbContainer","computedId","$attrs","offsetDirection","filled","valueWidth","genThumb","thumbLabelContent","genThumbLabelContent","genThumbLabel","getThumbContainerStyles","VScaleTransition","origin","domRect","mouseUpOptions","passiveSupported","mouseMoveOptions","isTouchEvent","onMouseMove","addOnceEventListener","onSliderMouseUp","deepEqual","parseMouseMove","parseKeyDown","trackStart","trackLength","clickOffset","clickPos","pageup","pagedown","down","up","increase","multiplier","trimmedStep","decimals","toggleCustom","canDec","dec","numberProp","numberRules","changeCustom","canInc","inc","NumberSelect","num","forbidden","NumPages","CurrentPageId","back","fwd","setPage","kebabCase","editingName","renameLoading","_k","editName","newName","toggleEditName","langItems","editingLocale","editLocale","newLocale","createSession","RecordingDialog","hasAttached","hasTimestamps","initial","device","appCodeName","isInitial","sess","addSession","description","attachPlayer","put","_f","removing","removeDialog","removeRecord","edit","Limit","makePages","VCombobox","chipRules","nextUser","VChip","parent","emails","EmailsInput","chips","continuous","showArrowsOnHover","touchless","changedByDelimiters","internalHeight","isReverse","axis","hasActiveItems","internalIndex","updateReverse","genContainer","genControlIcons","large","icons","getNextIndex","getPrevIndex","prevIndex"],"mappings":"2cAAaA,EAAoB,SAACC,GAChC,IAAMC,EAAKC,KAAKC,MAAOH,EAAI,KAAQ,IAC7BI,EAAKF,KAAKC,MAAOH,EAAI,GAAM,IAC3BK,EAAKH,KAAKC,MAAMH,EAAI,IAC1B,OAAIC,EAAW,GAAP,OAAUA,EAAE,aAAKG,EAAE,aAAKC,EAAE,KACzBD,EAAW,GAAP,OAAUA,EAAE,aAAKC,EAAE,KACpB,GAAP,OAAUA,EAAE,MAGNC,EAAyB,SAACN,GACrC,IAAMI,EAAKF,KAAKC,MAAOH,EAAI,GAAM,IAC3BK,EAAKH,KAAKC,MAAMH,EAAI,IAC1B,OAAII,EAAW,GAAP,OAAUA,EAAE,YAAIC,GACZ,MAAP,OAAaA,IAGPE,EAAyB,SAACC,GAAU,OAC/CT,EAAkBS,EAAK,O,oRCA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,KAAKuT,SAASjB,EAAMgF,KAE3CqsE,cAAa,SAAEtvE,EAAawB,GAC1B,IAAMsO,EAAcnkB,KAAKmV,MAAM5Q,OACzB+S,EAAY6M,EAAc,EAEhC,OAAIA,GAAe,EAAU9P,EAAMwB,EAE/BxB,IAAQiD,GAAwB,IAAXzB,IAEN,IAARxB,GAAawB,IAAWyB,IAG1BjD,EAAMwB,IAKnBpQ,OAAM,SAAE4K,GAAC,WACDtB,EAAO,CACXhJ,YAAa,WACbwG,MAAOvM,KAAKkP,QACZrH,WAAY,IAGd,IAAK7H,KAAKojF,UAAW,CACnB,IAAMp7E,EAAQhI,KAAK23C,OAAS,CAC1Bn2C,KAAM,WACJ,EAAKiiB,SAASrC,IAAM,EAAKrW,OAAS,EAAKrH,QAEzCvB,MAAO,WACL,EAAKshB,SAASrC,IAAM,EAAK1d,OAAS,EAAKqH,QAEzCgO,IAAM,SAAA7O,GACJA,EAAEiR,mBAEJ3R,MAAQ,SAAAU,GACNA,EAAEiR,oBAINpM,EAAKlH,WAAW2T,KAAK,CACnB1T,KAAM,QACNE,UAIJ,OAAOqI,EAAE,MAAOtB,EAAM,CAAC/O,KAAK4jF","file":"assets/js/chunk-f626e772.081f69cf.js","sourcesContent":["export const formatFromSeconds = (s: number) => {\r\n const hh = Math.floor((s / 3600) % 60);\r\n const mm = Math.floor((s / 60) % 60);\r\n const ss = Math.floor(s % 60);\r\n if (hh) return `${hh}h ${mm}m ${ss}s`;\r\n else if (mm) return `${mm}m ${ss}s`;\r\n else return `${ss}s`;\r\n};\r\n\r\nexport const formatClockFromSeconds = (s: number) => {\r\n const mm = Math.floor((s / 60) % 60);\r\n const ss = Math.floor(s % 60);\r\n if (mm) return `${mm}:${ss}`;\r\n else return `00:${ss}`;\r\n};\r\n\r\nexport const formatFromMilliSeconds = (ms: number) =>\r\n formatFromSeconds(ms / 1000);\r\n","import i18n from \"../plugins/i18n\";\r\n\r\ntype Step = {\r\n title?: string;\r\n body?: string;\r\n element?: string;\r\n xPos?: \"left\" | \"right\" | \"center\";\r\n yPos?: \"top\" | \"bottom\";\r\n open?: boolean;\r\n negativeOffset?: boolean;\r\n noNext?: boolean;\r\n showHint?: boolean;\r\n focusEffect?: boolean;\r\n disableActions?: boolean;\r\n requireInteraction?: boolean;\r\n};\r\n\r\nexport class Tour {\r\n current = -1;\r\n steps: Step[];\r\n constructor(steps: Step[]) {\r\n this.steps = steps;\r\n }\r\n\r\n private clear() {\r\n document.querySelector(\".tour-wrapper\")?.remove();\r\n document.querySelector(\".tour-hint\")?.remove();\r\n document.querySelector(\".tour-popup\")?.remove();\r\n this.removeFocusEffect();\r\n }\r\n\r\n private getWrapper() {\r\n let wrapper = document.querySelector(\".tour-wrapper\");\r\n if (!wrapper) {\r\n wrapper = document.createElement(\"div\");\r\n wrapper.classList.add(\"tour-wrapper\");\r\n document.documentElement.append(wrapper);\r\n }\r\n return wrapper;\r\n }\r\n\r\n private addFocusEffect(el: Element) {\r\n this.removeFocusEffect();\r\n\r\n el.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\r\n\r\n setTimeout(() => {\r\n const rect = el.getBoundingClientRect();\r\n\r\n const mask = document.createElement(\"div\");\r\n mask.classList.add(\"tour-focus-effect\");\r\n document.body.appendChild(mask);\r\n\r\n mask.style.position = \"fixed\";\r\n mask.style.top = \"0\";\r\n mask.style.left = \"0\";\r\n mask.style.width = \"100vw\";\r\n mask.style.height = \"100vh\";\r\n mask.style.pointerEvents = \"none\";\r\n mask.style.zIndex = \"9998\";\r\n mask.style.opacity = \"0\";\r\n mask.style.transition = \"opacity 1s ease-in-out\";\r\n\r\n const areas = [\"top\", \"right\", \"bottom\", \"left\"].map(() => {\r\n const area = document.createElement(\"div\");\r\n area.style.position = \"fixed\";\r\n area.style.backgroundColor = \"rgba(0, 0, 0, 0.8)\";\r\n mask.appendChild(area);\r\n return area;\r\n });\r\n\r\n const [top, right, bottom, left] = areas;\r\n top.style.top = \"0\";\r\n top.style.left = \"0\";\r\n top.style.width = \"100vw\";\r\n top.style.height = `${rect.top}px`;\r\n\r\n right.style.top = `${rect.top}px`;\r\n right.style.left = `${rect.right}px`;\r\n right.style.width = `calc(100vw - ${rect.right}px)`;\r\n right.style.height = `${rect.height}px`;\r\n\r\n bottom.style.top = `${rect.bottom}px`;\r\n bottom.style.left = \"0\";\r\n bottom.style.width = \"100vw\";\r\n bottom.style.height = `calc(100vh - ${rect.bottom}px)`;\r\n\r\n left.style.top = `${rect.top}px`;\r\n left.style.left = \"0\";\r\n left.style.width = `${rect.left}px`;\r\n left.style.height = `${rect.height}px`;\r\n\r\n mask.style.transition = \"opacity 1s ease-in-out\";\r\n\r\n setTimeout(() => {\r\n mask.style.opacity = \"1\";\r\n }, 50);\r\n\r\n const dialogs = document.querySelectorAll(\".tour-dialog\");\r\n dialogs.forEach(dialog => {\r\n const dialogElement = dialog as HTMLElement;\r\n dialogElement.style.position = \"absolute\";\r\n dialogElement.style.zIndex = \"9999\";\r\n dialogElement.style.pointerEvents = \"auto\";\r\n });\r\n }, 500);\r\n }\r\n\r\n private removeFocusEffect() {\r\n const focusEffect = document.querySelector(\".tour-focus-effect\");\r\n if (focusEffect) focusEffect.remove();\r\n }\r\n\r\n private showPopup(\r\n {\r\n title,\r\n body,\r\n xPos,\r\n yPos,\r\n negativeOffset,\r\n noNext,\r\n open,\r\n showHint,\r\n focusEffect,\r\n disableActions,\r\n }: Step,\r\n el: Element,\r\n ) {\r\n if (focusEffect) this.addFocusEffect(el);\r\n\r\n // Popup-Element erstellen\r\n const popup = document.createElement(\"div\");\r\n popup.classList.add(\"tour-popup\");\r\n popup.insertAdjacentHTML(\r\n \"beforeend\",\r\n `
${title}
\r\n
${body}
\r\n
\r\n
${i18n.t(\"tour.step.skip\")}
\r\n
\r\n
${i18n.t(\"tour.step.exit\")}
\r\n
\r\n
${\r\n noNext ? i18n.t(\"tour.step.close\") : i18n.t(\"tour.step.next\")\r\n }
\r\n
`,\r\n );\r\n\r\n const skip = popup.querySelector(\".actions .skip\") as HTMLDivElement;\r\n const exit = popup.querySelector(\".actions .exit\") as HTMLDivElement;\r\n const next = popup.querySelector(\".actions .next\") as HTMLDivElement;\r\n\r\n if (disableActions)\r\n [skip, exit, next].forEach(btn => btn.setAttribute(\"disabled\", \"true\"));\r\n\r\n if (skip) skip.onclick = () => this.finish();\r\n if (exit) exit.onclick = () => this.exit();\r\n if (next) next.onclick = () => (noNext ? this.clear() : this.next());\r\n\r\n // Popup positionieren\r\n const rect = el.getBoundingClientRect();\r\n\r\n // Horizontal Positionierung\r\n if (xPos === \"center\")\r\n popup.style.left = `${\r\n rect.left + rect.width / 2 - popup.offsetWidth / 2\r\n }px`;\r\n else if (xPos === \"right\") popup.style.left = `${rect.left + rect.width}px`;\r\n else popup.style.left = `${rect.left}px`;\r\n\r\n // Vertikal Positionierung\r\n if (yPos === \"top\") popup.style.top = `${rect.top - popup.offsetHeight}px`;\r\n else popup.style.top = `${rect.top}px`;\r\n\r\n if (negativeOffset) popup.classList.add(\"inverse\");\r\n\r\n // Optional Hint hinzufügen\r\n let hint: HTMLElement | null = null;\r\n if (showHint) {\r\n hint = document.createElement(\"div\");\r\n hint.classList.add(\"tour-hint\");\r\n if (negativeOffset) hint.classList.add(\"inverse\");\r\n\r\n // Berechnung der Position des Hints\r\n const hintLeft = rect.left + rect.width / 2; // Berechnet die X-Position des Hints relativ zum Element\r\n const hintTop = rect.top; // Berechnet die Y-Position des Hints relativ zum Element\r\n\r\n // Hint-Position setzen\r\n hint.style.left = `${hintLeft}px`;\r\n hint.style.top = `${hintTop}px`;\r\n\r\n // Hint zum Element hinzufügen\r\n el.append(hint);\r\n }\r\n\r\n // Popup anzeigen\r\n el.scrollIntoView({ block: \"center\" });\r\n document.documentElement.append(popup);\r\n\r\n // Automatisch öffnen oder per Klick\r\n if (open) {\r\n popup.classList.add(\"shown\");\r\n if (hint) hint.remove();\r\n } else if (hint)\r\n hint.onclick = () => {\r\n popup.classList.add(\"shown\");\r\n hint?.remove();\r\n };\r\n\r\n // Zurückgeben von Referenzen\r\n return { hint, popup };\r\n }\r\n\r\n // todo translate\r\n private showDialog({ title, body, noNext }: Step, offset?: number) {\r\n // helpers\r\n const isLast = this.current === this.steps.length - 1;\r\n\r\n // add dialog\r\n const dialog = document.createElement(\"div\");\r\n dialog.classList.add(\"tour-dialog\");\r\n if (offset) {\r\n dialog.classList.add(\"highlight\");\r\n dialog.style.top = offset + \"px\";\r\n }\r\n\r\n dialog.insertAdjacentHTML(\r\n \"beforeend\",\r\n `
\r\n
${this.current + 1} ${i18n.t(\"tour.step.of\")} \r\n ${this.steps.length}
\r\n
${i18n.t(\"tour.step.skip\")}
\r\n
${i18n.t(\"tour.step.exit\")}
\r\n
\r\n \r\n
\r\n
${title}
\r\n
${body}
\r\n
\r\n\r\n
\r\n
${\r\n isLast\r\n ? i18n.t(\"tour.step.finish\")\r\n : noNext\r\n ? \"Ok\"\r\n : i18n.t(\"tour.step.next\")\r\n }
\r\n
`,\r\n );\r\n\r\n // bind clicks\r\n const next = dialog.querySelector(\".actions .next\") as HTMLDivElement;\r\n if (next)\r\n next.onclick = () =>\r\n isLast ? this.finish() : noNext ? this.clear() : this.next();\r\n const exit = dialog.querySelector(\".header .exit\") as HTMLDivElement;\r\n if (exit) exit.onclick = () => this.exit();\r\n const skip = dialog.querySelector(\".header .skip\") as HTMLDivElement;\r\n if (skip) skip.onclick = () => this.finish();\r\n\r\n this.getWrapper().append(dialog);\r\n return dialog;\r\n }\r\n\r\n private executeStep() {\r\n this.clear();\r\n const step = this.steps[this.current];\r\n const el = document.querySelector(`[data-tour='${step.element}']`);\r\n\r\n if (!el) {\r\n this.showDialog(step);\r\n return;\r\n }\r\n\r\n if (step.requireInteraction) {\r\n this.showPopup(step, el);\r\n const target = el as HTMLElement;\r\n target.onclick = () => {\r\n target.onclick = null; // Listener entfernen\r\n this.next();\r\n };\r\n } else this.showPopup(step, el);\r\n }\r\n\r\n start() {\r\n this.current = -1;\r\n this.next();\r\n }\r\n jump(i: number) {\r\n this.current = i - 1;\r\n this.next();\r\n }\r\n next() {\r\n if (this.current + 1 >= this.steps.length) this.exit();\r\n this.current++;\r\n this.executeStep();\r\n }\r\n finish() {\r\n window.dispatchEvent(new Event(\"tour-next\"));\r\n this.exit();\r\n }\r\n exit() {\r\n this.current = -1;\r\n this.clear();\r\n }\r\n}\r\n\r\nexport const createStartTour = () => {\r\n return new Tour([\r\n {\r\n title: i18n.t(\"tour.welcome.title\").toString(),\r\n body: i18n.t(\"tour.welcome.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.start.0.title\").toString(),\r\n body: i18n.t(\"tour.start.0.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.start.1.title\").toString(),\r\n body: i18n.t(\"tour.start.1.body\").toString(),\r\n element: \"rec-btn\",\r\n xPos: \"right\",\r\n yPos: \"top\",\r\n noNext: true,\r\n showHint: true,\r\n focusEffect: true,\r\n disableActions: true,\r\n requireInteraction: true,\r\n },\r\n ]);\r\n};\r\n\r\nexport const createRecorderTour = () => {\r\n return new Tour([\r\n {\r\n title: i18n.t(\"tour.recorder.0.title\").toString(),\r\n body: i18n.t(\"tour.recorder.0.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.1.title\").toString(),\r\n body: i18n.t(\"tour.recorder.1.body\").toString(),\r\n element: \"list\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.2.title\").toString(),\r\n body: i18n.t(\"tour.recorder.2.body\").toString(),\r\n element: \"recorder\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.3.title\").toString(),\r\n body: i18n.t(\"tour.recorder.3.body\").toString(),\r\n element: \"pres-select\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n noNext: true, // 3\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.4.title\").toString(),\r\n body: i18n.t(\"tour.recorder.4.body\").toString(),\r\n element: \"slides\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.5.title\").toString(),\r\n body: i18n.t(\"tour.recorder.5.body\").toString(),\r\n element: \"lang-select\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.6.title\").toString(),\r\n body: i18n.t(\"tour.recorder.6.body\").toString(),\r\n element: \"device-select\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.7.title\").toString(),\r\n body: i18n.t(\"tour.recorder.7.body\").toString(),\r\n element: \"mute\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.8.title\").toString(),\r\n body: i18n.t(\"tour.recorder.8.body\").toString(),\r\n element: \"volume-tester\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.9.title\").toString(),\r\n body: i18n.t(\"tour.recorder.9.body\").toString(),\r\n element: \"record-btn\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n noNext: true, // 9\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.10.title\").toString(),\r\n body: i18n.t(\"tour.recorder.10.body\").toString(),\r\n noNext: true, // 10\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.11.title\").toString(),\r\n body: i18n.t(\"tour.recorder.11.body\").toString(),\r\n noNext: true, // 11\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.12.title\").toString(),\r\n body: i18n.t(\"tour.recorder.12.body\").toString(),\r\n noNext: true, // 12\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.13.title\").toString(),\r\n body: i18n.t(\"tour.recorder.13.body\").toString(),\r\n element: \"video-preview\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.14.title\").toString(),\r\n body: i18n.t(\"tour.recorder.14.body\").toString(),\r\n element: \"actions\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.15.title\").toString(),\r\n body: i18n.t(\"tour.recorder.15.body\").toString(),\r\n noNext: true, // 15\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.16.title\").toString(),\r\n body: i18n.t(\"tour.recorder.16.body\").toString(),\r\n noNext: true, // 16\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.17.title\").toString(),\r\n body: i18n.t(\"tour.recorder.17.body\").toString(),\r\n noNext: true, // 17\r\n element: \"create-sess\",\r\n },\r\n {\r\n title: i18n.t(\"tour.recorder.18.title\").toString(),\r\n body: i18n.t(\"tour.recorder.18.body\").toString(),\r\n },\r\n ]);\r\n};\r\n\r\nexport const createHomeTour = () => {\r\n return new Tour([\r\n {\r\n title: i18n.t(\"tour.home.0.title\").toString(),\r\n body: i18n.t(\"tour.home.0.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.home.1.title\").toString(),\r\n body: i18n.t(\"tour.home.1.body\").toString(),\r\n element: \"seminars\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.home.2.title\").toString(),\r\n body: i18n.t(\"tour.home.2.body\").toString(),\r\n element: \"invitations\",\r\n xPos: \"left\",\r\n yPos: \"top\",\r\n },\r\n {\r\n title: i18n.t(\"tour.home.3.title\").toString(),\r\n body: i18n.t(\"tour.home.3.body\").toString(),\r\n },\r\n ]);\r\n};\r\n\r\nexport const createDashTour = () => {\r\n return new Tour([\r\n {\r\n title: i18n.t(\"tour.dash.0.title\").toString(),\r\n body: i18n.t(\"tour.dash.0.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.1.title\").toString(),\r\n body: i18n.t(\"tour.dash.1.body\").toString(),\r\n element: \"pres\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.2.title\").toString(),\r\n body: i18n.t(\"tour.dash.2.body\").toString(),\r\n element: \"pres-btn\",\r\n negativeOffset: true,\r\n xPos: \"right\",\r\n yPos: \"top\",\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.3.title\").toString(),\r\n body: i18n.t(\"tour.dash.3.body\").toString(),\r\n element: \"pres-list\",\r\n xPos: \"right\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.4.title\").toString(),\r\n body: i18n.t(\"tour.dash.4.body\").toString(),\r\n element: \"pres-slides\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.5.title\").toString(),\r\n body: i18n.t(\"tour.dash.5.body\").toString(),\r\n element: \"goals\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.6.title\").toString(),\r\n body: i18n.t(\"tour.dash.6.body\").toString(),\r\n element: \"groups\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n {\r\n title: i18n.t(\"tour.dash.7.title\").toString(),\r\n body: i18n.t(\"tour.dash.7.body\").toString(),\r\n element: \"videos\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n },\r\n // {\r\n // title: i18n.t(\"tour.dash.8.title\").toString(),\r\n // body: i18n.t(\"tour.dash.8.body\").toString(),\r\n // element: \"news\",\r\n // xPos: \"left\",\r\n // yPos: \"top\",\r\n // },\r\n {\r\n title: i18n.t(\"tour.dash.9.title\").toString(),\r\n body: i18n.t(\"tour.dash.9.body\").toString(),\r\n },\r\n ]);\r\n};\r\n\r\nexport const createGoalsTour = () => {\r\n return new Tour([\r\n {\r\n title: i18n.t(\"tour.goals.0.title\").toString(),\r\n body: i18n.t(\"tour.goals.0.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.1.title\").toString(),\r\n body: i18n.t(\"tour.goals.1.body\").toString(),\r\n element: \"goals-btn\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n noNext: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.2.title\").toString(),\r\n body: i18n.t(\"tour.goals.2.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.3.title\").toString(),\r\n body: i18n.t(\"tour.goals.3.body\").toString(),\r\n element: \"goals-target\",\r\n xPos: \"left\",\r\n yPos: \"bottom\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.4.title\").toString(),\r\n body: i18n.t(\"tour.goals.4.body\").toString(),\r\n element: \"goals-conditions\",\r\n xPos: \"left\",\r\n yPos: \"top\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.5.title\").toString(),\r\n body: i18n.t(\"tour.goals.5.body\").toString(),\r\n element: \"goals-users\",\r\n xPos: \"left\",\r\n yPos: \"top\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.6.title\").toString(),\r\n body: i18n.t(\"tour.goals.6.body\").toString(),\r\n element: \"goals-confirm\",\r\n xPos: \"left\",\r\n yPos: \"top\",\r\n noNext: true,\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.goals.7.title\").toString(),\r\n body: i18n.t(\"tour.goals.7.body\").toString(),\r\n },\r\n ]);\r\n};\r\n\r\nexport const createSessionsTour = () => {\r\n return new Tour([\r\n {\r\n title: i18n.t(\"tour.sessions.0.title\").toString(),\r\n body: i18n.t(\"tour.sessions.0.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.1.title\").toString(),\r\n body: i18n.t(\"tour.sessions.1.body\").toString(),\r\n element: \"list\",\r\n xPos: \"right\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.2.title\").toString(),\r\n body: i18n.t(\"tour.sessions.2.body\").toString(),\r\n element: \"filters\",\r\n xPos: \"right\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.3.title\").toString(),\r\n body: i18n.t(\"tour.sessions.3.body\").toString(),\r\n element: \"shared\",\r\n xPos: \"right\",\r\n negativeOffset: true,\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.4.title\").toString(),\r\n body: i18n.t(\"tour.sessions.4.body\").toString(),\r\n noNext: true, // 4\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.5.title\").toString(),\r\n body: i18n.t(\"tour.sessions.5.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.6.title\").toString(),\r\n body: i18n.t(\"tour.sessions.6.body\").toString(),\r\n element: \"scores\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.7.title\").toString(),\r\n body: i18n.t(\"tour.sessions.7.body\").toString(),\r\n element: \"slides\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.8.title\").toString(),\r\n body: i18n.t(\"tour.sessions.8.body\").toString(),\r\n element: \"wpm\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.9.title\").toString(),\r\n body: i18n.t(\"tour.sessions.9.body\").toString(),\r\n element: \"pauses\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.10.title\").toString(),\r\n body: i18n.t(\"tour.sessions.10.body\").toString(),\r\n element: \"pitch\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.11.title\").toString(),\r\n body: i18n.t(\"tour.sessions.11.body\").toString(),\r\n element: \"sentences\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.12.title\").toString(),\r\n body: i18n.t(\"tour.sessions.12.body\").toString(),\r\n element: \"lookup\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.13.title\").toString(),\r\n body: i18n.t(\"tour.sessions.13.body\").toString(),\r\n element: \"ratio\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.14.title\").toString(),\r\n body: i18n.t(\"tour.sessions.14.body\").toString(),\r\n element: \"keywords\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.15.title\").toString(),\r\n body: i18n.t(\"tour.sessions.15.body\").toString(),\r\n element: \"movement\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.16.title\").toString(),\r\n body: i18n.t(\"tour.sessions.16.body\").toString(),\r\n element: \"controls\",\r\n negativeOffset: true,\r\n yPos: \"top\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.17.title\").toString(),\r\n body: i18n.t(\"tour.sessions.17.body\").toString(),\r\n element: \"zoom\",\r\n negativeOffset: true,\r\n xPos: \"right\",\r\n yPos: \"top\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.18.title\").toString(),\r\n body: i18n.t(\"tour.sessions.18.body\").toString(),\r\n element: \"points\",\r\n negativeOffset: true,\r\n xPos: \"right\",\r\n yPos: \"top\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.19.title\").toString(),\r\n body: i18n.t(\"tour.sessions.19.body\").toString(),\r\n element: \"benchmark\",\r\n negativeOffset: true,\r\n xPos: \"right\",\r\n yPos: \"top\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.20.title\").toString(),\r\n body: i18n.t(\"tour.sessions.20.body\").toString(),\r\n noNext: true, // 20\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.21.title\").toString(),\r\n body: i18n.t(\"tour.sessions.21.body\").toString(),\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.22.title\").toString(),\r\n body: i18n.t(\"tour.sessions.22.body\").toString(),\r\n element: \"limit\",\r\n },\r\n {\r\n title: i18n.t(\"tour.sessions.23.title\").toString(),\r\n body: i18n.t(\"tour.sessions.23.body\").toString(),\r\n },\r\n ]);\r\n};\r\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex justify-center py-6\"},[_c('div',{staticClass:\"circle\"},[_c('div',{staticClass:\"volume-circle\",style:(_vm.style)}),_c(VBtn,{attrs:{\"icon\":\"\",\"width\":\"50px\",\"height\":\"50px\",\"disabled\":!_vm.canToggle},on:{\"click\":function($event){return _vm.$emit('toggle')}}},[_c(VIcon,{attrs:{\"size\":\"50\"}},[_vm._v(_vm._s(_vm.isTesting ? \"mdi-stop\" : \"mdi-volume-high\"))])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class VolumeCircle extends Vue {\r\n @Prop({ default: () => 0 }) volume!: number;\r\n @Prop({ default: () => false }) isTesting!: boolean;\r\n @Prop({ default: () => true }) canToggle!: boolean;\r\n\r\n get style() {\r\n let scale = this.volume / 100 + 1;\r\n if (scale > 1.5) scale = 1.5;\r\n const str = `transform: scale(${scale})`;\r\n return str;\r\n }\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VolumeCircle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VolumeCircle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VolumeCircle.vue?vue&type=template&id=4d364a0e&\"\nimport script from \"./VolumeCircle.vue?vue&type=script&lang=ts&\"\nexport * from \"./VolumeCircle.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./VolumeCircle.vue?vue&type=style&index=0&id=4d364a0e&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"px-6 py-12\"},[(!_vm.showTutorial)?_c('div',{staticClass:\"d-flex mb-4\"},[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.startTour}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.home.startTut\")))])])],1):_vm._e(),_c(VCard,{staticClass:\"d-flex recorder-card\",attrs:{\"outlined\":\"\"}},[_c(VCardTitle,{staticStyle:{\"width\":\"100%\"}},[_c('div',[_vm._v(\"PREZP Recorder\")]),_c(VSpacer),_c('div',[_c(VBtn,{attrs:{\"icon\":\"\",\"fixed\":\"\",\"top\":\"\",\"right\":\"\"},on:{\"click\":function($event){_vm.dialogProp = false}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1)],1),_c(VCardText,{staticClass:\"recorder-card__body\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isRecording),expression:\"!isRecording\"}],attrs:{\"data-tour\":\"pres-select\"}},[_c('PresentationSelect',{attrs:{\"selected-prop\":_vm.selectedPresentation},on:{\"update:selectedProp\":function($event){_vm.selectedPresentation=$event},\"update:selected-prop\":function($event){_vm.selectedPresentation=$event}}})],1),_c('div',{staticClass:\"my-2\"}),_c('div',{staticStyle:{\"width\":\"100%\"},attrs:{\"data-tour\":\"recorder\"}},[(_vm.recordingType === 'audio')?_c('AudioRecorder',{attrs:{\"view-mode\":_vm.viewMode,\"selected\":_vm.selectedPresentation,\"is-recording-prop\":_vm.isRecording},on:{\"update:viewMode\":function($event){_vm.viewMode=$event},\"update:view-mode\":function($event){_vm.viewMode=$event},\"update:isRecordingProp\":function($event){_vm.isRecording=$event},\"update:is-recording-prop\":function($event){_vm.isRecording=$event},\"created\":_vm.recordingCreated}}):(_vm.recordingType === 'video')?_c('VideoRecorderWithPresentation',{ref:\"videoRecorderWithPresentationRef\",attrs:{\"presentation\":_vm.selectedPresentation,\"is-recording-prop\":_vm.isRecording,\"expected-len\":_vm.recordingSettings.expectedLen,\"max-len\":_vm.recordingSettings.maxLen,\"is-timed\":true},on:{\"update:isRecordingProp\":function($event){_vm.isRecording=$event},\"update:is-recording-prop\":function($event){_vm.isRecording=$event},\"created\":_vm.recordingCreated}}):_vm._e()],1),_c('div',{staticClass:\"my-2\"})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Watch } from \"vue-property-decorator\";\r\nimport { Route } from \"vue-router\";\r\n\r\nimport LocalStorage from \"@/core/utils/LocalStorage\";\r\nimport { Presentation, Recording } from \"@/core/models/\";\r\nimport VideoRecorderWithPresentation from \"@/components/common/VideoRecorderWithPresentations.vue\";\r\nimport { AudioRecorder, RecordList, PresentationSelect } from \"./components\";\r\nimport VolumeTester from \"./components/volume-tester\";\r\nimport { createRecorderTour, Tour } from \"@/core/utils/siteTour\";\r\nimport { recordingSettings } from \"@/settings\";\r\n\r\n@Component({\r\n computed: {\r\n recordingSettings() {\r\n return recordingSettings;\r\n },\r\n },\r\n components: {\r\n RecordList,\r\n VolumeTester,\r\n AudioRecorder,\r\n PresentationSelect,\r\n VideoRecorderWithPresentation,\r\n },\r\n})\r\nexport default class Recorder extends Vue {\r\n @Getter(\"sessions/sessionsCount\") sessionsCount!: number;\r\n @Getter(\"profile/showTutorial\") showTutorial!: boolean;\r\n @Getter(\"profile/tutorialStep\") tutorialStep!: number;\r\n @Action(\"presentations/getOne\")\r\n getOne!: (id: number) => Promise;\r\n\r\n canSelect = false;\r\n viewMode = \"slide\";\r\n isRecording = false;\r\n recordingType: \"audio\" | \"video\" = \"video\";\r\n records: Recording[] = [];\r\n selectedPresentation: Presentation | null = null;\r\n recordingCreated(record: Recording) {\r\n this.records = [record, ...this.records];\r\n }\r\n\r\n tipDialog = false;\r\n showVolume = false;\r\n mounted() {\r\n this.showVolume = true;\r\n const show = LocalStorage.getShouldShowRecordingTip();\r\n if (show && this.$route.query.tour !== \"true\")\r\n this.$nextTick(() => (this.tipDialog = true));\r\n document.documentElement.classList.add(\"no-scroll\");\r\n }\r\n\r\n tour: Tour | null = null;\r\n startTour() {\r\n this.tour = createRecorderTour();\r\n this.tour.start();\r\n }\r\n\r\n // Alert before navigating away\r\n beforeRouteLeave(\r\n // @ts-ignore // ok for beforeRouteLeave: unused param/order is required for hook\r\n to: Route,\r\n // @ts-ignore\r\n from: Route,\r\n next: (v?: boolean | ((vm: Vue) => void)) => any,\r\n ) {\r\n // If the user did not confirm leave, keep recording by canceling navigation\r\n if (this.confirmStayInRecording()) next(false);\r\n else {\r\n // Stop recording via ref method call\r\n const videoRecorderRef = this.$refs\r\n .videoRecorderWithPresentationRef as VideoRecorderWithPresentation;\r\n videoRecorderRef.stop();\r\n // Navigate to next view\r\n next();\r\n }\r\n }\r\n\r\n confirmLeave() {\r\n return window.confirm(`${this.$t(\"alerts.beforeLeaveRecording\")}`);\r\n }\r\n confirmStayInRecording() {\r\n return this.isRecording && !this.confirmLeave();\r\n }\r\n\r\n // Alert before tab close, reload or external locations\r\n beforeWindowUnload(e: Event) {\r\n if (this.confirmStayInRecording()) {\r\n e.preventDefault();\r\n // Chrome requires returnValue to be set\r\n e.returnValue = Boolean(\"\");\r\n }\r\n }\r\n\r\n created() {\r\n window.addEventListener(\"beforeunload\", this.beforeWindowUnload);\r\n }\r\n beforeDestroy() {\r\n window.removeEventListener(\"beforeunload\", this.beforeWindowUnload);\r\n }\r\n\r\n @Watch(\"$route\", { immediate: true })\r\n async routeChanged() {\r\n const { tour, presentation } = this.$route.query;\r\n\r\n // check tour\r\n const id = Number(presentation);\r\n if (!isNaN(id)) this.selectedPresentation = await this.getOne(id);\r\n\r\n // check pres\r\n if (tour === \"true\" && this.showTutorial && this.tutorialStep === 3)\r\n this.startTour();\r\n }\r\n @Watch(\"selectedPresentation\")\r\n presChanged() {\r\n if (!this.tour || this.tour.current !== 3) return;\r\n this.tour.next();\r\n }\r\n @Watch(\"records\")\r\n recordsChanged(value: Recording[], prev: Recording[]) {\r\n if (!this.tour || value.length <= prev.length) return;\r\n if (this.tour.current === 9 || this.tour.current === 15) this.tour.next();\r\n }\r\n dialogToggled(v: boolean) {\r\n if (!this.tour) return;\r\n if (v && (this.tour.current === 10 || this.tour.current === 16))\r\n this.tour.next();\r\n if (!v && this.tour.current === 11) this.tour.next();\r\n }\r\n @Watch(\"recordingType\")\r\n typeChanged(value: string) {\r\n if (!this.tour || this.tour.current !== 12) return;\r\n if (value === \"video\") this.tour.next();\r\n }\r\n @Watch(\"sessionsCount\")\r\n countChanged(value: number, prev: number) {\r\n if (!this.tour || value <= prev || this.tour.current !== 17) return;\r\n this.tour.jump(18);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Recorder.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Recorder.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Recorder.vue?vue&type=template&id=56ee050c&scoped=true&\"\nimport script from \"./Recorder.vue?vue&type=script&lang=ts&\"\nexport * from \"./Recorder.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Recorder.vue?vue&type=style&index=0&id=56ee050c&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"56ee050c\",\n null\n \n)\n\nexport default component.exports","import VolumeTester from \"./VolumeTester.vue\";\r\nexport default VolumeTester;\r\n","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VTooltip,{attrs:{\"top\":!_vm.bottom,\"bottom\":_vm.bottom,\"max-width\":\"400px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VIcon,_vm._g({attrs:{\"color\":\"darkgray\",\"dark\":\"\",\"size\":\"30\"}},on),[_vm._v(\"mdi-information\")])]}}])},[(_vm.message)?_c('span',[_vm._v(_vm._s(_vm.message))]):_vm._e(),(_vm.text)?_c('span',[_vm._v(_vm._s(_vm.tooltipText))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class InformationTooltip extends Vue {\r\n @Prop({ default: () => \"\" }) text!: string;\r\n @Prop({ default: () => \"\" }) message!: string;\r\n @Prop({ default: () => false }) bottom!: boolean;\r\n\r\n get tooltipText(): string {\r\n if (this.text !== \"\") return this.$t(this.text).toString();\r\n else return this.message;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformationTooltip.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InformationTooltip.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InformationTooltip.vue?vue&type=template&id=2f44fd45&\"\nimport script from \"./InformationTooltip.vue?vue&type=script&lang=ts&\"\nexport * from \"./InformationTooltip.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VOverlay } from 'vuetify/lib/components/VOverlay';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"slider-wrapper\"},[_c('div',{staticClass:\"slider-container mb-2\",class:(\"\" + (_vm.VRMode && 'white rounded-1')),style:((\"\" + (_vm.VRMode && 'padding: 1em; border-radius: 5px;')))},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('img',{staticStyle:{\"height\":\"100%\",\"width\":\"100%\",\"object-fit\":\"contain\"},style:((\"max-width: \" + _vm.width + \"; max-height: \" + _vm.maxHeight)),attrs:{\"src\":_vm.url}}),_c(VOverlay,{attrs:{\"absolute\":\"\",\"value\":_vm.loading}},[_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"64\",\"color\":\"other\"}})],1)],1),_c('div',{staticClass:\"slider-controls\"},[_c('div',{staticClass:\"slider-button left\",on:{\"click\":_vm.prev}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-chevron-left\")])],1),_c('div',{staticClass:\"button-spacer\"}),_c('div',{staticClass:\"slider-button right\",on:{\"click\":_vm.next}},[_c(VIcon,{staticClass:\"icon\"},[_vm._v(\"mdi-chevron-right\")])],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\nimport LocalStorage from \"@/core/utils/LocalStorage\";\r\n\r\n@Component\r\nexport default class ImageSlider extends Vue {\r\n @Prop({ default: () => [] }) images!: string[];\r\n @Prop({ default: () => \"30vw\" }) maxWidth!: string;\r\n @Prop({ default: () => \"50vh\" }) maxHeight!: string;\r\n @Prop({ default: () => \"20vw\" }) maxWidthVertical!: string;\r\n @PropSync(\"reset\", { default: () => false }) shouldReset!: boolean;\r\n\r\n VRMode = LocalStorage.getVRMode();\r\n\r\n idx = 0;\r\n url = \"\";\r\n loading = false;\r\n width = this.maxWidth;\r\n get len() {\r\n return this.images.length - 1;\r\n }\r\n\r\n async loadImage(img: HTMLImageElement) {\r\n return new Promise(res => {\r\n img.onload = () => res(true);\r\n });\r\n }\r\n async setImage() {\r\n this.loading = true;\r\n const url = this.images[this.idx];\r\n const img = new Image();\r\n img.src = url;\r\n await this.loadImage(img);\r\n this.url = url;\r\n const ratio = img.naturalHeight / img.naturalWidth;\r\n if (ratio > 1) this.width = this.maxWidthVertical;\r\n else this.width = this.maxWidth;\r\n this.loading = false;\r\n }\r\n next() {\r\n if (this.idx === this.len) this.idx = 0;\r\n else this.idx = this.idx + 1;\r\n this.setImage();\r\n this.$emit(\"changed\", this.idx);\r\n }\r\n prev() {\r\n if (this.idx === 0) this.idx = this.len;\r\n else this.idx = this.idx - 1;\r\n this.setImage();\r\n this.$emit(\"changed\", this.idx);\r\n }\r\n\r\n @Watch(\"images\", { immediate: true })\r\n imagesChanged() {\r\n this.idx = 0;\r\n this.setImage();\r\n }\r\n @Watch(\"maxWidth\", { immediate: true })\r\n maxWidthChanged() {\r\n this.width = this.maxWidth;\r\n }\r\n @Watch(\"shouldReset\", { immediate: true })\r\n resetSlides() {\r\n if (this.shouldReset) {\r\n this.idx = 0;\r\n this.setImage();\r\n this.shouldReset = false;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageSlider.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageSlider.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ImageSlider.vue?vue&type=template&id=b2654c00&scoped=true&\"\nimport script from \"./ImageSlider.vue?vue&type=script&lang=ts&\"\nexport * from \"./ImageSlider.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ImageSlider.vue?vue&type=style&index=0&id=b2654c00&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b2654c00\",\n null\n \n)\n\nexport default component.exports","// Components\nimport VWindow from './VWindow'\n\n// Mixins\nimport Bootable from '../../mixins/bootable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Utilities\nimport { convertToUnit } from '../../util/helpers'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\nconst baseMixins = mixins(\n Bootable,\n GroupableFactory('windowGroup', 'v-window-item', 'v-window')\n)\n\ninterface options extends ExtractVue {\n $el: HTMLElement\n windowGroup: InstanceType\n}\n\nexport default baseMixins.extend().extend(\n /* @vue/component */\n).extend({\n name: 'v-window-item',\n\n directives: {\n Touch,\n },\n\n props: {\n disabled: Boolean,\n reverseTransition: {\n type: [Boolean, String],\n default: undefined,\n },\n transition: {\n type: [Boolean, String],\n default: undefined,\n },\n value: {\n required: false,\n },\n },\n\n data () {\n return {\n isActive: false,\n inTransition: false,\n }\n },\n\n computed: {\n classes (): object {\n return this.groupClasses\n },\n computedTransition (): string | boolean {\n if (!this.windowGroup.internalReverse) {\n return typeof this.transition !== 'undefined'\n ? this.transition || ''\n : this.windowGroup.computedTransition\n }\n\n return typeof this.reverseTransition !== 'undefined'\n ? this.reverseTransition || ''\n : this.windowGroup.computedTransition\n },\n },\n\n methods: {\n genDefaultSlot () {\n return this.$slots.default\n },\n genWindowItem () {\n return this.$createElement('div', {\n staticClass: 'v-window-item',\n class: this.classes,\n directives: [{\n name: 'show',\n value: this.isActive,\n }],\n on: this.$listeners,\n }, this.genDefaultSlot())\n },\n onAfterTransition () {\n if (!this.inTransition) {\n return\n }\n\n // Finalize transition state.\n this.inTransition = false\n if (this.windowGroup.transitionCount > 0) {\n this.windowGroup.transitionCount--\n\n // Remove container height if we are out of transition.\n if (this.windowGroup.transitionCount === 0) {\n this.windowGroup.transitionHeight = undefined\n }\n }\n },\n onBeforeTransition () {\n if (this.inTransition) {\n return\n }\n\n // Initialize transition state here.\n this.inTransition = true\n if (this.windowGroup.transitionCount === 0) {\n // Set initial height for height transition.\n this.windowGroup.transitionHeight = convertToUnit(this.windowGroup.$el.clientHeight)\n }\n this.windowGroup.transitionCount++\n },\n onTransitionCancelled () {\n this.onAfterTransition() // This should have the same path as normal transition end.\n },\n onEnter (el: HTMLElement) {\n if (!this.inTransition) {\n return\n }\n\n this.$nextTick(() => {\n // Do not set height if no transition or cancelled.\n if (!this.computedTransition || !this.inTransition) {\n return\n }\n\n // Set transition target height.\n this.windowGroup.transitionHeight = convertToUnit(el.clientHeight)\n })\n },\n },\n\n render (h): VNode {\n return h('transition', {\n props: {\n name: this.computedTransition,\n },\n on: {\n // Handlers for enter windows.\n beforeEnter: this.onBeforeTransition,\n afterEnter: this.onAfterTransition,\n enterCancelled: this.onTransitionCancelled,\n\n // Handlers for leave windows.\n beforeLeave: this.onBeforeTransition,\n afterLeave: this.onAfterTransition,\n leaveCancelled: this.onTransitionCancelled,\n\n // Enter handler for height transition.\n enter: this.onEnter,\n },\n }, this.showLazyContent(() => [this.genWindowItem()]))\n },\n})\n","import Recorder from \"./Recorder.vue\";\r\nexport default Recorder;\r\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemGroup } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VMenu,{attrs:{\"bottom\":\"\",\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"text\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading}},on),[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-earth\")]),_c('span',[_vm._v(_vm._s(_vm.isEN ? \"English\" : \"Deutsch\"))]),_c(VIcon,{attrs:{\"right\":\"\"}},[_vm._v(_vm._s(_vm.icon))])],1)]}}]),model:{value:(_vm.menuOpen),callback:function ($$v) {_vm.menuOpen=$$v},expression:\"menuOpen\"}},[_c(VList,[_c(VListItemGroup,{model:{value:(_vm.lang),callback:function ($$v) {_vm.lang=$$v},expression:\"lang\"}},[_c(VListItem,{attrs:{\"value\":\"en\"},on:{\"click\":_vm.setEN}},[_c('span',[_vm._v(\"English\")])]),_c(VListItem,{attrs:{\"value\":\"de\"},on:{\"click\":_vm.setDE}},[_c('span',[_vm._v(\"Deutsch\")])])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, PropSync } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class LangSwitcher extends Vue {\r\n @Prop({ default: () => false }) loading!: boolean;\r\n @PropSync(\"recorderLocale\") locale!: \"en\" | \"de\";\r\n menuOpen = false;\r\n\r\n lang = this.locale || \"\";\r\n get isDE() {\r\n return this.locale === \"de\";\r\n }\r\n get isEN() {\r\n return this.locale === \"en\";\r\n }\r\n get icon() {\r\n return this.menuOpen ? \"mdi-chevron-up\" : \"mdi-chevron-down\";\r\n }\r\n setDE() {\r\n this.locale = \"de\";\r\n }\r\n setEN() {\r\n this.locale = \"en\";\r\n }\r\n created() {\r\n this.lang = this.locale;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LangSwitcher.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LangSwitcher.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LangSwitcher.vue?vue&type=template&id=d87b37e4&\"\nimport script from \"./LangSwitcher.vue?vue&type=script&lang=ts&\"\nexport * from \"./LangSwitcher.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Styles\nimport './VAutocomplete.sass'\n\n// Extensions\nimport VSelect, { defaultMenuProps as VSelectMenuProps } from '../VSelect/VSelect'\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mergeData from '../../util/mergeData'\nimport {\n getObjectValueByPath,\n getPropertyFromItem,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { PropType, VNode } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\nconst defaultMenuProps = {\n ...VSelectMenuProps,\n offsetY: true,\n offsetOverflow: true,\n transition: false,\n}\n\n/* @vue/component */\nexport default VSelect.extend({\n name: 'v-autocomplete',\n\n props: {\n allowOverflow: {\n type: Boolean,\n default: true,\n },\n autoSelectFirst: {\n type: Boolean,\n default: false,\n },\n filter: {\n type: Function,\n default: (item: any, queryText: string, itemText: string) => {\n return itemText.toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1\n },\n } as PropValidator<(item: any, queryText: string, itemText: string) => boolean>,\n hideNoData: Boolean,\n menuProps: {\n type: VSelect.options.props.menuProps.type,\n default: () => defaultMenuProps,\n },\n noFilter: Boolean,\n searchInput: {\n type: String as PropType,\n },\n },\n\n data () {\n return {\n lazySearch: this.searchInput,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VSelect.options.computed.classes.call(this),\n 'v-autocomplete': true,\n 'v-autocomplete--is-selecting-index': this.selectedIndex > -1,\n }\n },\n computedItems (): object[] {\n return this.filteredItems\n },\n selectedValues (): object[] {\n return this.selectedItems.map(item => this.getValue(item))\n },\n hasDisplayedItems (): boolean {\n return this.hideSelected\n ? this.filteredItems.some(item => !this.hasItem(item))\n : this.filteredItems.length > 0\n },\n currentRange (): number {\n if (this.selectedItem == null) return 0\n\n return String(this.getText(this.selectedItem)).length\n },\n filteredItems (): object[] {\n if (!this.isSearching || this.noFilter || this.internalSearch == null) return this.allItems\n\n return this.allItems.filter(item => {\n const value = getPropertyFromItem(item, this.itemText)\n const text = value != null ? String(value) : ''\n\n return this.filter(item, String(this.internalSearch), text)\n })\n },\n internalSearch: {\n get (): string | null {\n return this.lazySearch\n },\n set (val: any) { // TODO: this should be `string | null` but it breaks lots of other types\n // emit update event only when the new\n // search value is different from previous\n if (this.lazySearch !== val) {\n this.lazySearch = val\n this.$emit('update:search-input', val)\n }\n },\n },\n isAnyValueAllowed (): boolean {\n return false\n },\n isDirty (): boolean {\n return this.searchIsDirty || this.selectedItems.length > 0\n },\n isSearching (): boolean {\n return (\n this.multiple &&\n this.searchIsDirty\n ) || (\n this.searchIsDirty &&\n this.internalSearch !== this.getText(this.selectedItem)\n )\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems || !this.hideNoData\n },\n $_menuProps (): object {\n const props = VSelect.options.computed.$_menuProps.call(this);\n (props as any).contentClass = `v-autocomplete__content ${(props as any).contentClass || ''}`.trim()\n return {\n ...defaultMenuProps,\n ...props,\n }\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null &&\n this.internalSearch !== ''\n },\n selectedItem (): any {\n if (this.multiple) return null\n\n return this.selectedItems.find(i => {\n return this.valueComparator(this.getValue(i), this.getValue(this.internalValue))\n })\n },\n listData () {\n const data = VSelect.options.computed.listData.call(this) as any\n\n data.props = {\n ...data.props,\n items: this.virtualizedItems,\n noFilter: (\n this.noFilter ||\n !this.isSearching ||\n !this.filteredItems.length\n ),\n searchInput: this.internalSearch,\n }\n\n return data\n },\n },\n\n watch: {\n filteredItems: 'onFilteredItemsChanged',\n internalValue: 'setSearch',\n isFocused (val) {\n if (val) {\n document.addEventListener('copy', this.onCopy)\n this.$refs.input && this.$refs.input.select()\n } else {\n document.removeEventListener('copy', this.onCopy)\n this.blur()\n this.updateSelf()\n }\n },\n isMenuActive (val) {\n if (val || !this.hasSlot) return\n\n this.lazySearch = null\n },\n items (val, oldVal) {\n // If we are focused, the menu\n // is not active, hide no data is enabled,\n // and items change\n // User is probably async loading\n // items, try to activate the menu\n if (\n !(oldVal && oldVal.length) &&\n this.hideNoData &&\n this.isFocused &&\n !this.isMenuActive &&\n val.length\n ) this.activateMenu()\n },\n searchInput (val: string) {\n this.lazySearch = val\n },\n internalSearch: 'onInternalSearchChanged',\n itemText: 'updateSelf',\n },\n\n created () {\n this.setSearch()\n },\n\n destroyed () {\n document.removeEventListener('copy', this.onCopy)\n },\n\n methods: {\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n // TODO: How is the watcher triggered\n // for duplicate items? no idea\n if (val === oldVal) return\n\n if (!this.autoSelectFirst) {\n const preSelectedItem = oldVal[this.$refs.menu.listIndex]\n\n if (preSelectedItem) {\n this.setMenuIndex(val.findIndex(i => i === preSelectedItem))\n } else {\n this.setMenuIndex(-1)\n }\n this.$emit('update:list-index', this.$refs.menu.listIndex)\n }\n\n this.$nextTick(() => {\n if (\n !this.internalSearch ||\n (val.length !== 1 &&\n !this.autoSelectFirst)\n ) return\n\n this.$refs.menu.getTiles()\n\n if (this.autoSelectFirst && val.length) {\n this.setMenuIndex(0)\n this.$emit('update:list-index', this.$refs.menu.listIndex)\n }\n })\n },\n onInternalSearchChanged () {\n this.updateMenuDimensions()\n },\n updateMenuDimensions () {\n // Type from menuable is not making it through\n this.isMenuActive && this.$refs.menu && this.$refs.menu.updateDimensions()\n },\n changeSelectedIndex (keyCode: number) {\n // Do not allow changing of selectedIndex\n // when search is dirty\n if (this.searchIsDirty) return\n\n if (this.multiple && keyCode === keyCodes.left) {\n if (this.selectedIndex === -1) {\n this.selectedIndex = this.selectedItems.length - 1\n } else {\n this.selectedIndex--\n }\n } else if (this.multiple && keyCode === keyCodes.right) {\n if (this.selectedIndex >= this.selectedItems.length - 1) {\n this.selectedIndex = -1\n } else {\n this.selectedIndex++\n }\n } else if (keyCode === keyCodes.backspace || keyCode === keyCodes.delete) {\n this.deleteCurrentItem()\n }\n },\n deleteCurrentItem () {\n const curIndex = this.selectedIndex\n const curItem = this.selectedItems[curIndex]\n\n // Do nothing if input or item is disabled\n if (\n !this.isInteractive ||\n this.getDisabled(curItem)\n ) return\n\n const lastIndex = this.selectedItems.length - 1\n\n // Select the last item if\n // there is no selection\n if (\n this.selectedIndex === -1 &&\n lastIndex !== 0\n ) {\n this.selectedIndex = lastIndex\n\n return\n }\n\n const length = this.selectedItems.length\n const nextIndex = curIndex !== length - 1\n ? curIndex\n : curIndex - 1\n const nextItem = this.selectedItems[nextIndex]\n\n if (!nextItem) {\n this.setValue(this.multiple ? [] : null)\n } else {\n this.selectItem(curItem)\n }\n\n this.selectedIndex = nextIndex\n },\n clearableCallback () {\n this.internalSearch = null\n\n VSelect.options.methods.clearableCallback.call(this)\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data = mergeData(input.data!, {\n attrs: {\n 'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),\n autocomplete: getObjectValueByPath(input.data!, 'attrs.autocomplete', 'off'),\n },\n domProps: { value: this.internalSearch },\n })\n\n return input\n },\n genInputSlot () {\n const slot = VSelect.options.methods.genInputSlot.call(this)\n\n slot.data!.attrs!.role = 'combobox'\n\n return slot\n },\n genSelections (): VNode | never[] {\n return this.hasSlot || this.multiple\n ? VSelect.options.methods.genSelections.call(this)\n : []\n },\n onClick (e: MouseEvent) {\n if (!this.isInteractive) return\n\n this.selectedIndex > -1\n ? (this.selectedIndex = -1)\n : this.onFocus()\n\n if (!this.isAppendInner(e.target)) this.activateMenu()\n },\n onInput (e: Event) {\n if (\n this.selectedIndex > -1 ||\n !e.target\n ) return\n\n const target = e.target as HTMLInputElement\n const value = target.value\n\n // If typing and menu is not currently active\n if (target.value) this.activateMenu()\n\n if (!this.multiple && value === '') this.deleteCurrentItem()\n\n this.internalSearch = value\n this.badInput = target.validity && target.validity.badInput\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n if (\n e.ctrlKey ||\n ![keyCodes.home, keyCodes.end].includes(keyCode)\n ) {\n VSelect.options.methods.onKeyDown.call(this, e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onSpaceDown (e: KeyboardEvent) { /* noop */ },\n onTabDown (e: KeyboardEvent) {\n VSelect.options.methods.onTabDown.call(this, e)\n this.updateSelf()\n },\n onUpDown (e: Event) {\n // Prevent screen from scrolling\n e.preventDefault()\n\n // For autocomplete / combobox, cycling\n // interfers with native up/down behavior\n // instead activate the menu\n this.activateMenu()\n },\n selectItem (item: object) {\n VSelect.options.methods.selectItem.call(this, item)\n this.setSearch()\n },\n setSelectedItems () {\n VSelect.options.methods.setSelectedItems.call(this)\n\n // #4273 Don't replace if searching\n // #4403 Don't replace if focused\n if (!this.isFocused) this.setSearch()\n },\n setSearch () {\n // Wait for nextTick so selectedItem\n // has had time to update\n this.$nextTick(() => {\n if (\n !this.multiple ||\n !this.internalSearch ||\n !this.isMenuActive\n ) {\n this.internalSearch = (\n !this.selectedItems.length ||\n this.multiple ||\n this.hasSlot\n )\n ? null\n : this.getText(this.selectedItem)\n }\n })\n },\n updateSelf () {\n if (\n !this.searchIsDirty &&\n !this.internalValue\n ) return\n\n if (\n !this.multiple &&\n !this.valueComparator(\n this.internalSearch,\n this.getValue(this.internalValue)\n )\n ) {\n this.setSearch()\n }\n },\n hasItem (item: any): boolean {\n return this.selectedValues.indexOf(this.getValue(item)) > -1\n },\n onCopy (event: ClipboardEvent) {\n if (this.selectedIndex === -1) return\n\n const currentItem = this.selectedItems[this.selectedIndex]\n const currentItemText = this.getText(currentItem)\n event.clipboardData?.setData('text/plain', currentItemText)\n event.clipboardData?.setData('text/vnd.vuetify.autocomplete.item+plain', currentItemText)\n event.preventDefault()\n },\n },\n})\n","// Styles\nimport '../VAutocomplete/VAutocomplete.sass'\n\n// Extensions\nimport VSelect from '../VSelect/VSelect'\nimport VAutocomplete from '../VAutocomplete/VAutocomplete'\n\n// Utils\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\n\n/* @vue/component */\nexport default VAutocomplete.extend({\n name: 'v-combobox',\n\n props: {\n delimiters: {\n type: Array,\n default: () => ([]),\n } as PropValidator,\n returnObject: {\n type: Boolean,\n default: true,\n },\n },\n\n data: () => ({\n editingIndex: -1,\n }),\n\n computed: {\n computedCounterValue (): number {\n return this.multiple\n ? this.selectedItems.length\n : (this.internalSearch || '').toString().length\n },\n hasSlot (): boolean {\n return VSelect.options.computed.hasSlot.call(this) || this.multiple\n },\n isAnyValueAllowed (): boolean {\n return true\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems ||\n (!!this.$slots['no-data'] && !this.hideNoData)\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null\n },\n },\n\n methods: {\n onInternalSearchChanged (val: any) {\n if (\n val &&\n this.multiple &&\n this.delimiters.length\n ) {\n const delimiter = this.delimiters.find(d => val.endsWith(d))\n if (delimiter != null) {\n this.internalSearch = val.slice(0, val.length - delimiter.length)\n this.updateTags()\n }\n }\n\n this.updateMenuDimensions()\n },\n genInput () {\n const input = VAutocomplete.options.methods.genInput.call(this)\n\n delete input.data!.attrs!.name\n input.data!.on!.paste = this.onPaste\n\n return input\n },\n genChipSelection (item: object, index: number) {\n const chip = VSelect.options.methods.genChipSelection.call(this, item, index)\n\n // Allow user to update an existing value\n if (this.multiple) {\n chip.componentOptions!.listeners! = {\n ...chip.componentOptions!.listeners!,\n dblclick: () => {\n this.editingIndex = index\n this.internalSearch = this.getText(item)\n this.selectedIndex = -1\n },\n }\n }\n\n return chip\n },\n onChipInput (item: object) {\n VSelect.options.methods.onChipInput.call(this, item)\n\n this.editingIndex = -1\n },\n // Requires a manual definition\n // to overwrite removal in v-autocomplete\n onEnterDown (e: Event) {\n e.preventDefault()\n // If has menu index, let v-select-list handle\n if (this.getMenuIndex() > -1) return\n\n this.$nextTick(this.updateSelf)\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n if (\n e.ctrlKey ||\n ![keyCodes.home, keyCodes.end].includes(keyCode)\n ) {\n VSelect.options.methods.onKeyDown.call(this, e)\n }\n\n // If user is at selection index of 0\n // create a new tag\n if (this.multiple &&\n keyCode === keyCodes.left &&\n this.$refs.input.selectionStart === 0\n ) {\n this.updateSelf()\n } else if (keyCode === keyCodes.enter) {\n this.onEnterDown(e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onTabDown (e: KeyboardEvent) {\n // When adding tags, if searching and\n // there is not a filtered options,\n // add the value to the tags list\n if (this.multiple &&\n this.internalSearch &&\n this.getMenuIndex() === -1\n ) {\n e.preventDefault()\n e.stopPropagation()\n\n return this.updateTags()\n }\n\n VAutocomplete.options.methods.onTabDown.call(this, e)\n },\n selectItem (item: object) {\n // Currently only supports items:\n if (this.editingIndex > -1) {\n this.updateEditing()\n } else {\n VAutocomplete.options.methods.selectItem.call(this, item)\n\n // if selected item contains search value,\n // remove the search string\n if (\n this.internalSearch &&\n this.multiple &&\n this.getText(item).toLocaleLowerCase().includes(this.internalSearch.toLocaleLowerCase())\n ) {\n this.internalSearch = null\n }\n }\n },\n setSelectedItems () {\n if (this.internalValue == null ||\n this.internalValue === ''\n ) {\n this.selectedItems = []\n } else {\n this.selectedItems = this.multiple ? this.internalValue : [this.internalValue]\n }\n },\n setValue (value?: any) {\n VSelect.options.methods.setValue.call(this, value === undefined ? this.internalSearch : value)\n },\n updateEditing () {\n const value = this.internalValue.slice()\n const index = this.selectedItems.findIndex(item =>\n this.getText(item) === this.internalSearch)\n\n // If user enters a duplicate text on chip edit,\n // don't add it, move it to the end of the list\n if (index > -1) {\n const item = typeof value[index] === 'object'\n ? Object.assign({}, value[index])\n : value[index]\n\n value.splice(index, 1)\n value.push(item)\n } else {\n value[this.editingIndex] = this.internalSearch\n }\n\n this.setValue(value)\n this.editingIndex = -1\n this.internalSearch = null\n },\n updateCombobox () {\n // If search is not dirty, do nothing\n if (!this.searchIsDirty) return\n\n // The internal search is not matching\n // the internal value, update the input\n if (this.internalSearch !== this.getText(this.internalValue)) this.setValue()\n\n // Reset search if using slot to avoid a double input\n const isUsingSlot = Boolean(this.$scopedSlots.selection) || this.hasChips\n if (isUsingSlot) this.internalSearch = null\n },\n updateSelf () {\n this.multiple ? this.updateTags() : this.updateCombobox()\n },\n updateTags () {\n const menuIndex = this.getMenuIndex()\n\n // If the user is not searching\n // and no menu item is selected\n // or if the search is empty\n // do nothing\n if ((menuIndex < 0 && !this.searchIsDirty) ||\n !this.internalSearch) return\n\n if (this.editingIndex > -1) {\n return this.updateEditing()\n }\n\n const index = this.selectedItems.findIndex(item =>\n this.internalSearch === this.getText(item))\n\n // If the duplicate item is an object,\n // copy it, so that it can be added again later\n const itemToSelect = index > -1 && typeof this.selectedItems[index] === 'object'\n ? Object.assign({}, this.selectedItems[index])\n : this.internalSearch\n\n // If it already exists, do nothing\n // this might need to change to bring\n // the duplicated item to the last entered\n if (index > -1) {\n const internalValue = this.internalValue.slice()\n internalValue.splice(index, 1)\n\n this.setValue(internalValue)\n }\n\n // If menu index is greater than 1\n // the selection is handled elsewhere\n // TODO: find out where\n if (menuIndex > -1) return (this.internalSearch = null)\n\n this.selectItem(itemToSelect)\n\n this.internalSearch = null\n },\n onPaste (event: ClipboardEvent) {\n this.$emit('paste', event)\n if (!this.multiple || this.searchIsDirty) return\n\n const pastedItemText = event.clipboardData?.getData('text/vnd.vuetify.autocomplete.item+plain')\n if (pastedItemText && this.findExistingIndex(pastedItemText as any) === -1) {\n event.preventDefault()\n VSelect.options.methods.selectItem.call(this, pastedItemText as any)\n }\n },\n clearableCallback () {\n this.editingIndex = -1\n\n VAutocomplete.options.methods.clearableCallback.call(this)\n },\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('audio',{staticClass:\"primary--text\",attrs:{\"id\":\"plyr\",\"src\":_vm.url}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport Plyr from \"plyr\";\r\nimport \"plyr/dist/plyr.css\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class AudioPlayer extends Vue {\r\n @Prop({ default: () => \"\" }) url!: string;\r\n plyr: Plyr = new Plyr(\"#plyr\");\r\n\r\n @Getter(\"audio/total\") total!: number;\r\n @Getter(\"audio/progress\") progress!: number;\r\n @Getter(\"currentSession/length\") sessionLength!: number;\r\n @Action(\"audio/updateTime\") updateTime!: Function;\r\n @Action(\"audio/setTotalTime\") setTotalTime!: Function;\r\n\r\n mounted() {\r\n this.plyr = new Plyr(\"#plyr\", { invertTime: false });\r\n this.plyr.on(\"ready\", () => {\r\n const duration = this.plyr.duration;\r\n if (this.sessionLength === 0 && duration !== 0)\r\n this.setTotalTime(duration);\r\n });\r\n this.plyr.on(\"timeupdate\", () => {\r\n const time = this.plyr.currentTime;\r\n this.updateTime(time);\r\n });\r\n }\r\n\r\n @Watch(\"progress\", { immediate: true })\r\n setProgress() {\r\n const time = this.progress * this.total;\r\n this.plyr.currentTime = time;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AudioPlayer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AudioPlayer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AudioPlayer.vue?vue&type=template&id=60a527ac&\"\nimport script from \"./AudioPlayer.vue?vue&type=script&lang=ts&\"\nexport * from \"./AudioPlayer.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"videoframe\"},[_c('div',{staticClass:\"video\"},[_c('video',{attrs:{\"id\":\"session_video_player\",\"src\":_vm.url,\"controls\":\"\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class SessionVideoPlayer extends Vue {\r\n @Prop({ default: () => \"\" }) url!: string;\r\n @Getter(\"audio/total\") total!: number;\r\n @Getter(\"audio/progress\") progress!: number;\r\n @Getter(\"currentSession/length\") sessionLength!: number;\r\n @Action(\"audio/updateTime\") updateTime!: Function;\r\n @Action(\"audio/setTotalTime\") setTotalTime!: Function;\r\n\r\n video: HTMLVideoElement | null = null;\r\n\r\n mounted() {\r\n const id = \"session_video_player\";\r\n this.video = document.getElementById(id) as HTMLVideoElement;\r\n this.video.onload = () => {\r\n const time = this.video?.currentTime || 0;\r\n this.setTotalTime(time);\r\n };\r\n this.video.ontimeupdate = () => {\r\n const time = this.video?.currentTime || 0;\r\n this.updateTime(time);\r\n };\r\n }\r\n\r\n @Watch(\"progress\", { immediate: true })\r\n setProgress() {\r\n const time = this.progress * this.total;\r\n if (!this.video) return;\r\n this.video.currentTime = time;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SessionVideoPlayer.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SessionVideoPlayer.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SessionVideoPlayer.vue?vue&type=template&id=3f601bbe&scoped=true&\"\nimport script from \"./SessionVideoPlayer.vue?vue&type=script&lang=ts&\"\nexport * from \"./SessionVideoPlayer.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SessionVideoPlayer.vue?vue&type=style&index=0&id=3f601bbe&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3f601bbe\",\n null\n \n)\n\nexport default component.exports","import { VContainer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VContainer,{staticClass:\"d-flex align-center justify-center flex-column py-12\"},[_c('div',{staticClass:\"subheader-1 mb-6 font-weight-bold\"},[_c('span',[_vm._v(_vm._s(_vm.error.Description[0])+\" | \"+_vm._s(_vm.error.StatusCode))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class DisplayError extends Vue {\r\n @Prop({ default: () => null }) error!: any;\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DisplayError.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DisplayError.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DisplayError.vue?vue&type=template&id=a5bb3f68&\"\nimport script from \"./DisplayError.vue?vue&type=script&lang=ts&\"\nexport * from \"./DisplayError.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex flex-column align-center justify-center\"},[(!_vm.file)?_c(VBtn,{attrs:{\"color\":_vm.file ? 'primary' : 'transparent',\"elevation\":_vm.file ? '0' : '2',\"text\":!!_vm.file,\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.selectFile}},[_c(VIcon,[_vm._v(\"mdi-cloud-upload\")]),_c('span',[_vm._v(_vm._s(this.$t(\"upsess.slideupload\").toString()))])],1):_vm._e(),(_vm.file)?_c('div',{staticClass:\"d-flex align-center justify-center flex-wrap mb-4\"},[_c('span',{staticClass:\"font-weight-medium\",domProps:{\"textContent\":_vm._s(_vm.formatSelectedFile)}}),_c(VBtn,{staticClass:\"ml-2\",attrs:{\"icon\":\"\"},on:{\"click\":_vm.unselectFile}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1):_vm._e(),(_vm.file && _vm.canSubmit)?_c(VBtn,{staticClass:\"text-none\",attrs:{\"block\":\"\",\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.callSubmit}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-check\")]),_c('span',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.$t(\"global.upload\")))])],1):_vm._e(),_c('input',{ref:\"uploader\",staticClass:\"d-none\",attrs:{\"type\":\"file\",\"accept\":_vm.accept},on:{\"change\":_vm.onFileChanged}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class UploadFileButton extends Vue {\r\n @Prop({ default: () => \"*/**\" }) accept!: string;\r\n @Prop({ default: () => false }) loading!: boolean;\r\n @Prop({ default: () => true }) canSubmit!: boolean;\r\n\r\n file: any = null;\r\n isSelectingFile = false;\r\n\r\n // Add video from file\r\n get formatSelectedFile() {\r\n let format = \"\";\r\n if (this.file) {\r\n let name = this.file.name;\r\n let size = this.formatFileSize(this.file.size);\r\n format = `${name} (${size} MB)`;\r\n }\r\n return format;\r\n }\r\n formatFileSize(size: number) {\r\n return Math.round((size / Math.pow(2, 20)) * 100) / 100;\r\n }\r\n selectFile() {\r\n this.isSelectingFile = true;\r\n (this.$refs.uploader as any).click();\r\n }\r\n unselectFile() {\r\n this.file = null;\r\n this.isSelectingFile = false;\r\n (this.$refs.uploader as any).value = \"\";\r\n this.$emit(\"file-changed\", this.file);\r\n }\r\n onFileChanged(e: any) {\r\n let file = e.target.files[0];\r\n this.file = file;\r\n this.isSelectingFile = false;\r\n this.$emit(\"file-changed\", this.file);\r\n }\r\n callSubmit() {\r\n this.$emit(\"submit\", this.file);\r\n this.unselectFile();\r\n }\r\n\r\n handleFocus() {\r\n this.isSelectingFile = false;\r\n this.$forceUpdate();\r\n }\r\n created() {\r\n window.addEventListener(\"focus\", this.handleFocus);\r\n }\r\n destroyed() {\r\n window.removeEventListener(\"focus\", this.handleFocus);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadFileButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadFileButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UploadFileButton.vue?vue&type=template&id=3a3f9581&\"\nimport script from \"./UploadFileButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./UploadFileButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"font-size\":\"16px\"}},[_c('span',{staticStyle:{\"text-decoration\":\"underline\",\"cursor\":\"pointer\"},on:{\"click\":_vm.openFile}},[_vm._v(\" \"+_vm._s(_vm.file.Name)+\" (\"+_vm._s(_vm.size)+\") \")]),_c(VIcon,{staticClass:\"ml-2\",on:{\"click\":_vm.openFile}},[_vm._v(\"mdi-download\")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { FileObject } from \"@/core/models\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class GroupPostItem extends Vue {\r\n @Prop({ default: () => {} }) file!: FileObject;\r\n\r\n get size() {\r\n let size = this.file.Size / Math.pow(2, 20);\r\n let suffix = \"MB\";\r\n if (size < 1) {\r\n size = this.file.Size / Math.pow(2, 10);\r\n suffix = \"KB\";\r\n }\r\n size = Math.round(size * 100) / 100;\r\n return size + suffix;\r\n }\r\n openFile() {\r\n window.open(this.file.URI, \"_blank\");\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDisplay.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDisplay.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FileDisplay.vue?vue&type=template&id=23e263b4&\"\nimport script from \"./FileDisplay.vue?vue&type=script&lang=ts&\"\nexport * from \"./FileDisplay.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VSelect,{attrs:{\"menu-props\":{ bottom: true, offsetY: true },\"label\":_vm.$t('goals.assign'),\"deletable-chips\":\"\",\"items\":_vm.users,\"multiple\":\"\",\"chips\":\"\"},scopedSlots:_vm._u([(_vm.users.length > 0)?{key:\"prepend-item\",fn:function(){return [_c(VListItem,{attrs:{\"ripple\":\"\"},on:{\"click\":_vm.toggleAll}},[_c(VListItemAction,[_c(VIcon,[_vm._v(_vm._s(_vm.icon))])],1),_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(_vm.selectedUsers.length > 0 ? _vm.$t(\"goals.deselect\") : _vm.$t(\"goals.select\")))])],1)],1),_c(VDivider,{staticClass:\"mt-2\"})]},proxy:true}:null,{key:\"no-data\",fn:function(){return [_c('div',{staticClass:\"px-4 py-2\"},[_vm._v(_vm._s(_vm.$t(\"global.nodata\")))])]},proxy:true}],null,true),model:{value:(_vm.selectedUsers),callback:function ($$v) {_vm.selectedUsers=$$v},expression:\"selectedUsers\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class UsersSelect extends Vue {\r\n @Prop({ default: () => [] }) users!: string[];\r\n selectedUsers: string[] = [];\r\n\r\n toggleAll() {\r\n if (this.selectedUsers.length > 0) this.selectedUsers = [];\r\n else this.selectedUsers = this.users;\r\n }\r\n\r\n get icon() {\r\n if (this.selectedUsers.length === this.users.length) return \"mdi-close-box\";\r\n else if (this.selectedUsers.length > 0) return \"mdi-minus-box\";\r\n else return \"mdi-checkbox-blank-outline\";\r\n }\r\n\r\n @Watch(\"selectedUsers\", { deep: true })\r\n onChange() {\r\n this.$emit(\"update\", this.selectedUsers);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsersSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UsersSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./UsersSelect.vue?vue&type=template&id=0486cdba&\"\nimport script from \"./UsersSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./UsersSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Mixins\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport Routable from '../../mixins/routable'\nimport Themeable from '../../mixins/themeable'\n\n// Utilities\nimport { keyCodes } from './../../util/helpers'\nimport mixins from '../../util/mixins'\nimport { ExtractVue } from './../../util/mixins'\n\n// Types\nimport { VNode } from 'vue/types'\n\n// Components\nimport VTabsBar from '../VTabs/VTabsBar'\n\nconst baseMixins = mixins(\n Routable,\n // Must be after routable\n // to overwrite activeClass\n GroupableFactory('tabsBar'),\n Themeable\n)\n\ntype VTabBarInstance = InstanceType\n\ninterface options extends ExtractVue {\n $el: HTMLElement\n tabsBar: VTabBarInstance\n}\n\nexport default baseMixins.extend().extend(\n /* @vue/component */\n).extend({\n name: 'v-tab',\n\n props: {\n ripple: {\n type: [Boolean, Object],\n default: true,\n },\n },\n\n data: () => ({\n proxyClass: 'v-tab--active',\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-tab': true,\n ...Routable.options.computed.classes.call(this),\n 'v-tab--disabled': this.disabled,\n ...this.groupClasses,\n }\n },\n value (): any {\n let to = this.to || this.href\n\n if (to == null) return to\n\n if (this.$router &&\n this.to === Object(this.to)\n ) {\n const resolve = this.$router.resolve(\n this.to,\n this.$route,\n this.append\n )\n\n to = resolve.href\n }\n\n return to.replace('#', '')\n },\n },\n\n methods: {\n click (e: KeyboardEvent | MouseEvent): void {\n // Prevent keyboard actions\n // from children elements\n // within disabled tabs\n if (this.disabled) {\n e.preventDefault()\n return\n }\n\n // If user provides an\n // actual link, do not\n // prevent default\n if (this.href &&\n this.href.indexOf('#') > -1\n ) e.preventDefault()\n\n if (e.detail) this.$el.blur()\n\n this.$emit('click', e)\n\n this.to || this.toggle()\n },\n toggle () {\n // VItemGroup treats a change event as a click\n if (!this.isActive || (!this.tabsBar.mandatory && !this.to)) {\n this.$emit('change')\n }\n },\n },\n\n render (h): VNode {\n const { tag, data } = this.generateRouteLink()\n\n data.attrs = {\n ...data.attrs,\n 'aria-selected': String(this.isActive),\n role: 'tab',\n tabindex: this.disabled ? -1 : 0,\n }\n data.on = {\n ...data.on,\n keydown: (e: KeyboardEvent) => {\n if (e.keyCode === keyCodes.enter) this.click(e)\n\n this.$emit('keydown', e)\n },\n }\n\n return h(tag, data, this.$slots.default)\n },\n})\n","// Extensions\nimport VWindowItem from '../VWindow/VWindowItem'\n\n/* @vue/component */\nexport default VWindowItem.extend({\n name: 'v-tab-item',\n\n props: {\n id: String,\n },\n\n methods: {\n genWindowItem () {\n const item = VWindowItem.options.methods.genWindowItem.call(this)\n\n item.data!.domProps = item.data!.domProps || {}\n item.data!.domProps.id = this.id || this.value\n\n return item\n },\n },\n})\n","// Styles\nimport './VSlideGroup.sass'\n\n// Components\nimport VIcon from '../VIcon'\nimport { VFadeTransition } from '../transitions'\n\n// Extensions\nimport { BaseItemGroup } from '../VItemGroup/VItemGroup'\n\n// Mixins\nimport Mobile from '../../mixins/mobile'\n\n// Directives\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\n// Utilities\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport Vue, { VNode } from 'vue'\nimport { composedPath } from '../../util/helpers'\n\ninterface TouchEvent {\n touchstartX: number\n touchstartY: number\n touchmoveX: number\n touchmoveY: number\n stopPropagation: Function\n}\n\ninterface Widths {\n content: number\n wrapper: number\n}\n\ninterface options extends Vue {\n $refs: {\n content: HTMLElement\n wrapper: HTMLElement\n }\n}\n\nfunction bias (val: number) {\n const c = 0.501\n const x = Math.abs(val)\n return Math.sign(val) * (x / ((1 / c - 2) * (1 - x) + 1))\n}\n\nexport function calculateUpdatedOffset (\n selectedElement: HTMLElement,\n widths: Widths,\n rtl: boolean,\n currentScrollOffset: number\n): number {\n const clientWidth = selectedElement.clientWidth\n const offsetLeft = rtl\n ? (widths.content - selectedElement.offsetLeft - clientWidth)\n : selectedElement.offsetLeft\n\n if (rtl) {\n currentScrollOffset = -currentScrollOffset\n }\n\n const totalWidth = widths.wrapper + currentScrollOffset\n const itemOffset = clientWidth + offsetLeft\n const additionalOffset = clientWidth * 0.4\n\n if (offsetLeft <= currentScrollOffset) {\n currentScrollOffset = Math.max(offsetLeft - additionalOffset, 0)\n } else if (totalWidth <= itemOffset) {\n currentScrollOffset = Math.min(currentScrollOffset - (totalWidth - itemOffset - additionalOffset), widths.content - widths.wrapper)\n }\n\n return rtl ? -currentScrollOffset : currentScrollOffset\n}\n\nexport function calculateCenteredOffset (\n selectedElement: HTMLElement,\n widths: Widths,\n rtl: boolean\n): number {\n const { offsetLeft, clientWidth } = selectedElement\n\n if (rtl) {\n const offsetCentered = widths.content - offsetLeft - clientWidth / 2 - widths.wrapper / 2\n return -Math.min(widths.content - widths.wrapper, Math.max(0, offsetCentered))\n } else {\n const offsetCentered = offsetLeft + clientWidth / 2 - widths.wrapper / 2\n return Math.min(widths.content - widths.wrapper, Math.max(0, offsetCentered))\n }\n}\n\nexport const BaseSlideGroup = mixins\n/* eslint-enable indent */\n>(\n BaseItemGroup,\n Mobile,\n /* @vue/component */\n).extend({\n name: 'base-slide-group',\n\n directives: {\n Resize,\n Touch,\n },\n\n props: {\n activeClass: {\n type: String,\n default: 'v-slide-item--active',\n },\n centerActive: Boolean,\n nextIcon: {\n type: String,\n default: '$next',\n },\n prevIcon: {\n type: String,\n default: '$prev',\n },\n showArrows: {\n type: [Boolean, String],\n validator: (v: any) => (\n typeof v === 'boolean' || [\n 'always',\n 'desktop',\n 'mobile',\n ].includes(v)\n ),\n },\n },\n\n data: () => ({\n isOverflowing: false,\n resizeTimeout: 0,\n startX: 0,\n isSwipingHorizontal: false,\n isSwiping: false,\n scrollOffset: 0,\n widths: {\n content: 0,\n wrapper: 0,\n },\n }),\n\n computed: {\n canTouch (): boolean {\n return typeof window !== 'undefined'\n },\n __cachedNext (): VNode {\n return this.genTransition('next')\n },\n __cachedPrev (): VNode {\n return this.genTransition('prev')\n },\n classes (): object {\n return {\n ...BaseItemGroup.options.computed.classes.call(this),\n 'v-slide-group': true,\n 'v-slide-group--has-affixes': this.hasAffixes,\n 'v-slide-group--is-overflowing': this.isOverflowing,\n }\n },\n hasAffixes (): Boolean {\n switch (this.showArrows) {\n // Always show arrows on desktop & mobile\n case 'always': return true\n\n // Always show arrows on desktop\n case 'desktop': return !this.isMobile\n\n // Show arrows on mobile when overflowing.\n // This matches the default 2.2 behavior\n case true: return this.isOverflowing || Math.abs(this.scrollOffset) > 0\n\n // Always show on mobile\n case 'mobile': return (\n this.isMobile ||\n (this.isOverflowing || Math.abs(this.scrollOffset) > 0)\n )\n\n // https://material.io/components/tabs#scrollable-tabs\n // Always show arrows when\n // overflowed on desktop\n default: return (\n !this.isMobile &&\n (this.isOverflowing || Math.abs(this.scrollOffset) > 0)\n )\n }\n },\n hasNext (): boolean {\n if (!this.hasAffixes) return false\n\n const { content, wrapper } = this.widths\n\n // Check one scroll ahead to know the width of right-most item\n return content > Math.abs(this.scrollOffset) + wrapper\n },\n hasPrev (): boolean {\n return this.hasAffixes && this.scrollOffset !== 0\n },\n },\n\n watch: {\n internalValue: 'setWidths',\n // When overflow changes, the arrows alter\n // the widths of the content and wrapper\n // and need to be recalculated\n isOverflowing: 'setWidths',\n scrollOffset (val) {\n if (this.$vuetify.rtl) val = -val\n\n let scroll =\n val <= 0\n ? bias(-val)\n : val > this.widths.content - this.widths.wrapper\n ? -(this.widths.content - this.widths.wrapper) + bias(this.widths.content - this.widths.wrapper - val)\n : -val\n\n if (this.$vuetify.rtl) scroll = -scroll\n\n this.$refs.content.style.transform = `translateX(${scroll}px)`\n },\n },\n\n mounted () {\n if (typeof ResizeObserver !== 'undefined') {\n const obs = new ResizeObserver(() => {\n this.onResize()\n })\n obs.observe(this.$el)\n obs.observe(this.$refs.content)\n this.$on('hook:destroyed', () => {\n obs.disconnect()\n })\n } else {\n let itemsLength = 0\n this.$on('hook:beforeUpdate', () => {\n itemsLength = (this.$refs.content?.children || []).length\n })\n this.$on('hook:updated', () => {\n if (itemsLength === (this.$refs.content?.children || []).length) return\n this.setWidths()\n })\n }\n },\n\n methods: {\n onScroll () {\n this.$refs.wrapper.scrollLeft = 0\n },\n onFocusin (e: FocusEvent) {\n if (!this.isOverflowing) return\n\n // Focused element is likely to be the root of an item, so a\n // breadth-first search will probably find it in the first iteration\n for (const el of composedPath(e)) {\n for (const vm of this.items) {\n if (vm.$el === el) {\n this.scrollOffset = calculateUpdatedOffset(\n vm.$el as HTMLElement,\n this.widths,\n this.$vuetify.rtl,\n this.scrollOffset\n )\n return\n }\n }\n }\n },\n // Always generate next for scrollable hint\n genNext (): VNode | null {\n const slot = this.$scopedSlots.next\n ? this.$scopedSlots.next({})\n : this.$slots.next || this.__cachedNext\n\n return this.$createElement('div', {\n staticClass: 'v-slide-group__next',\n class: {\n 'v-slide-group__next--disabled': !this.hasNext,\n },\n on: {\n click: () => this.onAffixClick('next'),\n },\n key: 'next',\n }, [slot])\n },\n genContent (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-slide-group__content',\n ref: 'content',\n on: {\n focusin: this.onFocusin,\n },\n }, this.$slots.default)\n },\n genData (): object {\n return {\n class: this.classes,\n directives: [{\n name: 'resize',\n value: this.onResize,\n }],\n }\n },\n genIcon (location: 'prev' | 'next'): VNode | null {\n let icon = location\n\n if (this.$vuetify.rtl && location === 'prev') {\n icon = 'next'\n } else if (this.$vuetify.rtl && location === 'next') {\n icon = 'prev'\n }\n\n const upperLocation = `${location[0].toUpperCase()}${location.slice(1)}`\n const hasAffix = (this as any)[`has${upperLocation}`]\n\n if (\n !this.showArrows &&\n !hasAffix\n ) return null\n\n return this.$createElement(VIcon, {\n props: {\n disabled: !hasAffix,\n },\n }, (this as any)[`${icon}Icon`])\n },\n // Always generate prev for scrollable hint\n genPrev (): VNode | null {\n const slot = this.$scopedSlots.prev\n ? this.$scopedSlots.prev({})\n : this.$slots.prev || this.__cachedPrev\n\n return this.$createElement('div', {\n staticClass: 'v-slide-group__prev',\n class: {\n 'v-slide-group__prev--disabled': !this.hasPrev,\n },\n on: {\n click: () => this.onAffixClick('prev'),\n },\n key: 'prev',\n }, [slot])\n },\n genTransition (location: 'prev' | 'next') {\n return this.$createElement(VFadeTransition, [this.genIcon(location)])\n },\n genWrapper (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-slide-group__wrapper',\n directives: [{\n name: 'touch',\n value: {\n start: (e: TouchEvent) => this.overflowCheck(e, this.onTouchStart),\n move: (e: TouchEvent) => this.overflowCheck(e, this.onTouchMove),\n end: (e: TouchEvent) => this.overflowCheck(e, this.onTouchEnd),\n },\n }],\n ref: 'wrapper',\n on: {\n scroll: this.onScroll,\n },\n }, [this.genContent()])\n },\n calculateNewOffset (direction: 'prev' | 'next', widths: Widths, rtl: boolean, currentScrollOffset: number) {\n const sign = rtl ? -1 : 1\n const newAbosluteOffset = sign * currentScrollOffset +\n (direction === 'prev' ? -1 : 1) * widths.wrapper\n\n return sign * Math.max(Math.min(newAbosluteOffset, widths.content - widths.wrapper), 0)\n },\n onAffixClick (location: 'prev' | 'next') {\n this.$emit(`click:${location}`)\n this.scrollTo(location)\n },\n onResize () {\n /* istanbul ignore next */\n if (this._isDestroyed) return\n\n this.setWidths()\n },\n onTouchStart (e: TouchEvent) {\n const { content } = this.$refs\n\n this.startX = this.scrollOffset + e.touchstartX as number\n\n content.style.setProperty('transition', 'none')\n content.style.setProperty('willChange', 'transform')\n },\n onTouchMove (e: TouchEvent) {\n if (!this.canTouch) return\n\n if (!this.isSwiping) {\n // only calculate disableSwipeHorizontal during the first onTouchMove invoke\n // in order to ensure disableSwipeHorizontal value is consistent between onTouchStart and onTouchEnd\n const diffX = e.touchmoveX - e.touchstartX\n const diffY = e.touchmoveY - e.touchstartY\n this.isSwipingHorizontal = Math.abs(diffX) > Math.abs(diffY)\n this.isSwiping = true\n }\n\n if (this.isSwipingHorizontal) {\n // sliding horizontally\n this.scrollOffset = this.startX - e.touchmoveX\n // temporarily disable window vertical scrolling\n document.documentElement.style.overflowY = 'hidden'\n }\n },\n onTouchEnd () {\n if (!this.canTouch) return\n\n const { content, wrapper } = this.$refs\n const maxScrollOffset = content.clientWidth - wrapper.clientWidth\n\n content.style.setProperty('transition', null)\n content.style.setProperty('willChange', null)\n\n if (this.$vuetify.rtl) {\n /* istanbul ignore else */\n if (this.scrollOffset > 0 || !this.isOverflowing) {\n this.scrollOffset = 0\n } else if (this.scrollOffset <= -maxScrollOffset) {\n this.scrollOffset = -maxScrollOffset\n }\n } else {\n /* istanbul ignore else */\n if (this.scrollOffset < 0 || !this.isOverflowing) {\n this.scrollOffset = 0\n } else if (this.scrollOffset >= maxScrollOffset) {\n this.scrollOffset = maxScrollOffset\n }\n }\n\n this.isSwiping = false\n // rollback whole page scrolling to default\n document.documentElement.style.removeProperty('overflow-y')\n },\n overflowCheck (e: TouchEvent, fn: (e: TouchEvent) => void) {\n e.stopPropagation()\n this.isOverflowing && fn(e)\n },\n scrollIntoView /* istanbul ignore next */ () {\n if (!this.selectedItem && this.items.length) {\n const lastItemPosition = this.items[this.items.length - 1].$el.getBoundingClientRect()\n const wrapperPosition = this.$refs.wrapper.getBoundingClientRect()\n\n if (\n (this.$vuetify.rtl && wrapperPosition.right < lastItemPosition.right) ||\n (!this.$vuetify.rtl && wrapperPosition.left > lastItemPosition.left)\n ) {\n this.scrollTo('prev')\n }\n }\n\n if (!this.selectedItem) {\n return\n }\n\n if (\n this.selectedIndex === 0 ||\n (!this.centerActive && !this.isOverflowing)\n ) {\n this.scrollOffset = 0\n } else if (this.centerActive) {\n this.scrollOffset = calculateCenteredOffset(\n this.selectedItem.$el as HTMLElement,\n this.widths,\n this.$vuetify.rtl\n )\n } else if (this.isOverflowing) {\n this.scrollOffset = calculateUpdatedOffset(\n this.selectedItem.$el as HTMLElement,\n this.widths,\n this.$vuetify.rtl,\n this.scrollOffset\n )\n }\n },\n scrollTo /* istanbul ignore next */ (location: 'prev' | 'next') {\n this.scrollOffset = this.calculateNewOffset(location, {\n // Force reflow\n content: this.$refs.content ? this.$refs.content.clientWidth : 0,\n wrapper: this.$refs.wrapper ? this.$refs.wrapper.clientWidth : 0,\n }, this.$vuetify.rtl, this.scrollOffset)\n },\n setWidths () {\n window.requestAnimationFrame(() => {\n if (this._isDestroyed) return\n\n const { content, wrapper } = this.$refs\n\n this.widths = {\n content: content ? content.clientWidth : 0,\n wrapper: wrapper ? wrapper.clientWidth : 0,\n }\n\n // https://github.com/vuetifyjs/vuetify/issues/13212\n // We add +1 to the wrappers width to prevent an issue where the `clientWidth`\n // gets calculated wrongly by the browser if using a different zoom-level.\n this.isOverflowing = this.widths.wrapper + 1 < this.widths.content\n\n this.scrollIntoView()\n })\n },\n },\n\n render (h): VNode {\n return h('div', this.genData(), [\n this.genPrev(),\n this.genWrapper(),\n this.genNext(),\n ])\n },\n})\n\nexport default BaseSlideGroup.extend({\n name: 'v-slide-group',\n\n provide (): object {\n return {\n slideGroup: this,\n }\n },\n})\n","enum SelectingTimes {\n Hour = 1,\n Minute = 2,\n Second = 3\n}\n\nexport { SelectingTimes }\n","// Extensions\nimport { BaseSlideGroup } from '../VSlideGroup/VSlideGroup'\n\n// Components\nimport VTab from './VTab'\n\n// Mixins\nimport Themeable from '../../mixins/themeable'\nimport SSRBootable from '../../mixins/ssr-bootable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { Route } from 'vue-router'\nimport { VNode } from 'vue'\n\ntype VTabInstance = InstanceType\n\nexport default mixins(\n BaseSlideGroup,\n SSRBootable,\n Themeable\n /* @vue/component */\n).extend({\n name: 'v-tabs-bar',\n\n provide () {\n return {\n tabsBar: this,\n }\n },\n\n computed: {\n classes () {\n return {\n ...BaseSlideGroup.options.computed.classes.call(this),\n 'v-tabs-bar': true,\n 'v-tabs-bar--is-mobile': this.isMobile,\n // TODO: Remove this and move to v-slide-group\n 'v-tabs-bar--show-arrows': this.showArrows,\n ...this.themeClasses,\n }\n },\n },\n\n watch: {\n items: 'callSlider',\n internalValue: 'callSlider',\n $route: 'onRouteChange',\n },\n\n methods: {\n callSlider () {\n if (!this.isBooted) return\n\n this.$emit('call:slider')\n },\n genContent () {\n const render = BaseSlideGroup.options.methods.genContent.call(this)\n\n render.data = render.data || {}\n render.data.staticClass += ' v-tabs-bar__content'\n\n return render\n },\n onRouteChange (val: Route, oldVal: Route) {\n /* istanbul ignore next */\n if (this.mandatory) return\n\n const items = this.items as unknown as VTabInstance[]\n const newPath = val.path\n const oldPath = oldVal.path\n\n let hasNew = false\n let hasOld = false\n\n for (const item of items) {\n if (item.to === oldPath) hasOld = true\n else if (item.to === newPath) hasNew = true\n\n if (hasNew && hasOld) break\n }\n\n // If we have an old item and not a new one\n // it's assumed that the user navigated to\n // a path that is not present in the items\n if (!hasNew && hasOld) this.internalValue = undefined\n },\n },\n\n render (h): VNode {\n const render = BaseSlideGroup.options.render.call(this, h)\n\n render.data!.attrs = {\n role: 'tablist',\n }\n\n return render\n },\n})\n","// Extensions\nimport VWindow from '../VWindow/VWindow'\n\n// Types & Components\nimport { BaseItemGroup, GroupableInstance } from './../VItemGroup/VItemGroup'\n\n/* @vue/component */\nexport default VWindow.extend({\n name: 'v-tabs-items',\n\n props: {\n mandatory: {\n type: Boolean,\n default: false,\n },\n },\n\n computed: {\n classes (): object {\n return {\n ...VWindow.options.computed.classes.call(this),\n 'v-tabs-items': true,\n }\n },\n isDark (): boolean {\n return this.rootIsDark\n },\n },\n\n methods: {\n getValue (item: GroupableInstance, i: number) {\n return item.id || BaseItemGroup.options.methods.getValue.call(this, item, i)\n },\n },\n})\n","// Mixins\nimport Colorable from '../../mixins/colorable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue/types'\n\n/* @vue/component */\nexport default mixins(Colorable).extend({\n name: 'v-tabs-slider',\n\n render (h): VNode {\n return h('div', this.setBackgroundColor(this.color, {\n staticClass: 'v-tabs-slider',\n }))\n },\n})\n","// Styles\nimport './VTabs.sass'\n\n// Components\nimport VTabsBar from './VTabsBar'\nimport VTabsItems from './VTabsItems'\nimport VTabsSlider from './VTabsSlider'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Proxyable from '../../mixins/proxyable'\nimport Themeable from '../../mixins/themeable'\n\n// Directives\nimport Resize from '../../directives/resize'\n\n// Utilities\nimport { convertToUnit } from '../../util/helpers'\nimport { ExtractVue } from './../../util/mixins'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue/types'\n\nconst baseMixins = mixins(\n Colorable,\n Proxyable,\n Themeable\n)\n\ninterface options extends ExtractVue {\n $refs: {\n items: InstanceType\n }\n}\n\nexport default baseMixins.extend().extend({\n name: 'v-tabs',\n\n directives: {\n Resize,\n },\n\n props: {\n activeClass: {\n type: String,\n default: '',\n },\n alignWithTitle: Boolean,\n backgroundColor: String,\n centerActive: Boolean,\n centered: Boolean,\n fixedTabs: Boolean,\n grow: Boolean,\n height: {\n type: [Number, String],\n default: undefined,\n },\n hideSlider: Boolean,\n iconsAndText: Boolean,\n mobileBreakpoint: [String, Number],\n nextIcon: {\n type: String,\n default: '$next',\n },\n optional: Boolean,\n prevIcon: {\n type: String,\n default: '$prev',\n },\n right: Boolean,\n showArrows: [Boolean, String],\n sliderColor: String,\n sliderSize: {\n type: [Number, String],\n default: 2,\n },\n vertical: Boolean,\n },\n\n data () {\n return {\n resizeTimeout: 0,\n slider: {\n height: null as null | number,\n left: null as null | number,\n right: null as null | number,\n top: null as null | number,\n width: null as null | number,\n },\n transitionTime: 300,\n }\n },\n\n computed: {\n classes (): object {\n return {\n 'v-tabs--align-with-title': this.alignWithTitle,\n 'v-tabs--centered': this.centered,\n 'v-tabs--fixed-tabs': this.fixedTabs,\n 'v-tabs--grow': this.grow,\n 'v-tabs--icons-and-text': this.iconsAndText,\n 'v-tabs--right': this.right,\n 'v-tabs--vertical': this.vertical,\n ...this.themeClasses,\n }\n },\n isReversed (): boolean {\n return this.$vuetify.rtl && this.vertical\n },\n sliderStyles (): object {\n return {\n height: convertToUnit(this.slider.height),\n left: this.isReversed ? undefined : convertToUnit(this.slider.left),\n right: this.isReversed ? convertToUnit(this.slider.right) : undefined,\n top: this.vertical ? convertToUnit(this.slider.top) : undefined,\n transition: this.slider.left != null ? null : 'none',\n width: convertToUnit(this.slider.width),\n }\n },\n computedColor (): string {\n if (this.color) return this.color\n else if (this.isDark && !this.appIsDark) return 'white'\n else return 'primary'\n },\n },\n\n watch: {\n alignWithTitle: 'callSlider',\n centered: 'callSlider',\n centerActive: 'callSlider',\n fixedTabs: 'callSlider',\n grow: 'callSlider',\n iconsAndText: 'callSlider',\n right: 'callSlider',\n showArrows: 'callSlider',\n vertical: 'callSlider',\n '$vuetify.application.left': 'onResize',\n '$vuetify.application.right': 'onResize',\n '$vuetify.rtl': 'onResize',\n },\n\n mounted () {\n if (typeof ResizeObserver !== 'undefined') {\n const obs = new ResizeObserver(() => {\n this.onResize()\n })\n obs.observe(this.$el)\n this.$on('hook:destroyed', () => {\n obs.disconnect()\n })\n }\n\n this.$nextTick(() => {\n window.setTimeout(this.callSlider, 30)\n })\n },\n\n methods: {\n callSlider () {\n if (\n this.hideSlider ||\n !this.$refs.items ||\n !this.$refs.items.selectedItems.length\n ) {\n this.slider.width = 0\n return false\n }\n\n this.$nextTick(() => {\n // Give screen time to paint\n const activeTab = this.$refs.items.selectedItems[0]\n /* istanbul ignore if */\n if (!activeTab || !activeTab.$el) {\n this.slider.width = 0\n this.slider.left = 0\n return\n }\n const el = activeTab.$el as HTMLElement\n\n this.slider = {\n height: !this.vertical ? Number(this.sliderSize) : el.scrollHeight,\n left: this.vertical ? 0 : el.offsetLeft,\n right: this.vertical ? 0 : el.offsetLeft + el.offsetWidth,\n top: el.offsetTop,\n width: this.vertical ? Number(this.sliderSize) : el.scrollWidth,\n }\n })\n\n return true\n },\n genBar (items: VNode[], slider: VNode | null) {\n const data = {\n style: {\n height: convertToUnit(this.height),\n },\n props: {\n activeClass: this.activeClass,\n centerActive: this.centerActive,\n dark: this.dark,\n light: this.light,\n mandatory: !this.optional,\n mobileBreakpoint: this.mobileBreakpoint,\n nextIcon: this.nextIcon,\n prevIcon: this.prevIcon,\n showArrows: this.showArrows,\n value: this.internalValue,\n },\n on: {\n 'call:slider': this.callSlider,\n change: (val: any) => {\n this.internalValue = val\n },\n },\n ref: 'items',\n }\n\n this.setTextColor(this.computedColor, data)\n this.setBackgroundColor(this.backgroundColor, data)\n\n return this.$createElement(VTabsBar, data, [\n this.genSlider(slider),\n items,\n ])\n },\n genItems (items: VNode | null, item: VNode[]) {\n // If user provides items\n // opt to use theirs\n if (items) return items\n\n // If no tabs are provided\n // render nothing\n if (!item.length) return null\n\n return this.$createElement(VTabsItems, {\n props: {\n value: this.internalValue,\n },\n on: {\n change: (val: any) => {\n this.internalValue = val\n },\n },\n }, item)\n },\n genSlider (slider: VNode | null) {\n if (this.hideSlider) return null\n\n if (!slider) {\n slider = this.$createElement(VTabsSlider, {\n props: { color: this.sliderColor },\n })\n }\n\n return this.$createElement('div', {\n staticClass: 'v-tabs-slider-wrapper',\n style: this.sliderStyles,\n }, [slider])\n },\n onResize () {\n if (this._isDestroyed) return\n\n clearTimeout(this.resizeTimeout)\n this.resizeTimeout = window.setTimeout(this.callSlider, 0)\n },\n parseNodes () {\n let items = null\n let slider = null\n const item = []\n const tab = []\n const slot = this.$slots.default || []\n const length = slot.length\n\n for (let i = 0; i < length; i++) {\n const vnode = slot[i]\n\n if (vnode.componentOptions) {\n switch (vnode.componentOptions.Ctor.options.name) {\n case 'v-tabs-slider': slider = vnode\n break\n case 'v-tabs-items': items = vnode\n break\n case 'v-tab-item': item.push(vnode)\n break\n // case 'v-tab' - intentionally omitted\n default: tab.push(vnode)\n }\n } else {\n tab.push(vnode)\n }\n }\n\n /**\n * tab: array of `v-tab`\n * slider: single `v-tabs-slider`\n * items: single `v-tabs-items`\n * item: array of `v-tab-item`\n */\n return { tab, slider, items, item }\n },\n },\n\n render (h): VNode {\n const { tab, slider, items, item } = this.parseNodes()\n\n return h('div', {\n staticClass: 'v-tabs',\n class: this.classes,\n directives: [{\n name: 'resize',\n modifiers: { quiet: true },\n value: this.onResize,\n }],\n }, [\n this.genBar(tab, slider),\n this.genItems(items, item),\n ])\n },\n})\n","import './VTimePickerTitle.sass'\n\n// Mixins\nimport PickerButton from '../../mixins/picker-button'\n\n// Utils\nimport { pad } from '../VDatePicker/util'\nimport mixins from '../../util/mixins'\n\nimport { SelectingTimes } from './SelectingTimes'\nimport { VNode, PropType } from 'vue'\n\nexport default mixins(\n PickerButton\n/* @vue/component */\n).extend({\n name: 'v-time-picker-title',\n\n props: {\n ampm: Boolean,\n ampmReadonly: Boolean,\n disabled: Boolean,\n hour: Number,\n minute: Number,\n second: Number,\n period: {\n type: String as PropType<'am' | 'pm'>,\n validator: period => period === 'am' || period === 'pm',\n },\n readonly: Boolean,\n useSeconds: Boolean,\n selecting: Number,\n },\n\n methods: {\n genTime () {\n let hour = this.hour\n if (this.ampm) {\n hour = hour ? ((hour - 1) % 12 + 1) : 12\n }\n\n const displayedHour = this.hour == null ? '--' : this.ampm ? String(hour) : pad(hour)\n const displayedMinute = this.minute == null ? '--' : pad(this.minute)\n const titleContent = [\n this.genPickerButton('selecting', SelectingTimes.Hour, displayedHour, this.disabled),\n this.$createElement('span', ':'),\n this.genPickerButton('selecting', SelectingTimes.Minute, displayedMinute, this.disabled),\n ]\n\n if (this.useSeconds) {\n const displayedSecond = this.second == null ? '--' : pad(this.second)\n titleContent.push(this.$createElement('span', ':'))\n titleContent.push(this.genPickerButton('selecting', SelectingTimes.Second, displayedSecond, this.disabled))\n }\n return this.$createElement('div', {\n class: 'v-time-picker-title__time',\n }, titleContent)\n },\n genAmPm () {\n return this.$createElement('div', {\n staticClass: 'v-time-picker-title__ampm',\n class: {\n 'v-time-picker-title__ampm--readonly': this.ampmReadonly,\n },\n }, [\n (!this.ampmReadonly || this.period === 'am') ? this.genPickerButton('period', 'am', this.$vuetify.lang.t('$vuetify.timePicker.am'), this.disabled || this.readonly) : null,\n (!this.ampmReadonly || this.period === 'pm') ? this.genPickerButton('period', 'pm', this.$vuetify.lang.t('$vuetify.timePicker.pm'), this.disabled || this.readonly) : null,\n ])\n },\n },\n\n render (h): VNode {\n const children = [this.genTime()]\n\n this.ampm && children.push(this.genAmPm())\n\n return h('div', {\n staticClass: 'v-time-picker-title',\n }, children)\n },\n})\n","import './VTimePickerClock.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Themeable from '../../mixins/themeable'\n\n// Types\nimport mixins, { ExtractVue } from '../../util/mixins'\nimport Vue, { VNode, PropType, VNodeData } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\ninterface Point {\n x: number\n y: number\n}\n\ninterface options extends Vue {\n $refs: {\n clock: HTMLElement\n innerClock: HTMLElement\n }\n}\n\nexport default mixins\n/* eslint-enable indent */\n>(\n Colorable,\n Themeable\n/* @vue/component */\n).extend({\n name: 'v-time-picker-clock',\n\n props: {\n allowedValues: Function as PropType<(value: number) => boolean>,\n ampm: Boolean,\n disabled: Boolean,\n double: Boolean,\n format: {\n type: Function,\n default: (val: string | number) => val,\n } as PropValidator<(val: string | number) => string | number>,\n max: {\n type: Number,\n required: true,\n },\n min: {\n type: Number,\n required: true,\n },\n scrollable: Boolean,\n readonly: Boolean,\n rotate: {\n type: Number,\n default: 0,\n },\n step: {\n type: Number,\n default: 1,\n },\n value: Number,\n },\n\n data () {\n return {\n inputValue: this.value,\n isDragging: false,\n valueOnMouseDown: null as number | null,\n valueOnMouseUp: null as number | null,\n }\n },\n\n computed: {\n count (): number {\n return this.max - this.min + 1\n },\n degreesPerUnit (): number {\n return 360 / this.roundCount\n },\n degrees (): number {\n return this.degreesPerUnit * Math.PI / 180\n },\n displayedValue (): number {\n return this.value == null ? this.min : this.value\n },\n innerRadiusScale (): number {\n return 0.62\n },\n roundCount (): number {\n return this.double ? (this.count / 2) : this.count\n },\n },\n\n watch: {\n value (value) {\n this.inputValue = value\n },\n },\n\n methods: {\n wheel (e: WheelEvent) {\n e.preventDefault()\n\n const delta = Math.sign(-e.deltaY || 1)\n let value = this.displayedValue\n do {\n value = value + delta\n value = (value - this.min + this.count) % this.count + this.min\n } while (!this.isAllowed(value) && value !== this.displayedValue)\n\n if (value !== this.displayedValue) {\n this.update(value)\n }\n },\n isInner (value: number) {\n return this.double && (value - this.min >= this.roundCount)\n },\n handScale (value: number) {\n return this.isInner(value) ? this.innerRadiusScale : 1\n },\n isAllowed (value: number) {\n return !this.allowedValues || this.allowedValues(value)\n },\n genValues () {\n const children: VNode[] = []\n\n for (let value = this.min; value <= this.max; value = value + this.step) {\n const color = value === this.value && (this.color || 'accent')\n children.push(this.$createElement('span', this.setBackgroundColor(color, {\n staticClass: 'v-time-picker-clock__item',\n class: {\n 'v-time-picker-clock__item--active': value === this.displayedValue,\n 'v-time-picker-clock__item--disabled': this.disabled || !this.isAllowed(value),\n },\n style: this.getTransform(value),\n domProps: { innerHTML: `${this.format(value)}` },\n })))\n }\n\n return children\n },\n genHand () {\n const scale = `scaleY(${this.handScale(this.displayedValue)})`\n const angle = this.rotate + this.degreesPerUnit * (this.displayedValue - this.min)\n const color = (this.value != null) && (this.color || 'accent')\n return this.$createElement('div', this.setBackgroundColor(color, {\n staticClass: 'v-time-picker-clock__hand',\n class: {\n 'v-time-picker-clock__hand--inner': this.isInner(this.value),\n },\n style: {\n transform: `rotate(${angle}deg) ${scale}`,\n },\n }))\n },\n getTransform (i: number) {\n const { x, y } = this.getPosition(i)\n return {\n left: `${50 + x * 50}%`,\n top: `${50 + y * 50}%`,\n }\n },\n getPosition (value: number) {\n const rotateRadians = this.rotate * Math.PI / 180\n return {\n x: Math.sin((value - this.min) * this.degrees + rotateRadians) * this.handScale(value),\n y: -Math.cos((value - this.min) * this.degrees + rotateRadians) * this.handScale(value),\n }\n },\n onMouseDown (e: MouseEvent | TouchEvent) {\n e.preventDefault()\n\n this.valueOnMouseDown = null\n this.valueOnMouseUp = null\n this.isDragging = true\n this.onDragMove(e)\n },\n onMouseUp (e: MouseEvent | TouchEvent) {\n e.stopPropagation()\n\n this.isDragging = false\n if (this.valueOnMouseUp !== null && this.isAllowed(this.valueOnMouseUp)) {\n this.$emit('change', this.valueOnMouseUp)\n }\n },\n onDragMove (e: MouseEvent | TouchEvent) {\n e.preventDefault()\n if ((!this.isDragging && e.type !== 'click') || !this.$refs.clock) return\n\n const { width, top, left } = this.$refs.clock.getBoundingClientRect()\n const { width: innerWidth } = this.$refs.innerClock.getBoundingClientRect()\n const { clientX, clientY } = 'touches' in e ? e.touches[0] : e\n const center = { x: width / 2, y: -width / 2 }\n const coords = { x: clientX - left, y: top - clientY }\n const handAngle = Math.round(this.angle(center, coords) - this.rotate + 360) % 360\n const insideClick = this.double && this.euclidean(center, coords) < (innerWidth + innerWidth * this.innerRadiusScale) / 4\n const checksCount = Math.ceil(15 / this.degreesPerUnit)\n let value\n\n for (let i = 0; i < checksCount; i++) {\n value = this.angleToValue(handAngle + i * this.degreesPerUnit, insideClick)\n if (this.isAllowed(value)) return this.setMouseDownValue(value)\n\n value = this.angleToValue(handAngle - i * this.degreesPerUnit, insideClick)\n if (this.isAllowed(value)) return this.setMouseDownValue(value)\n }\n },\n angleToValue (angle: number, insideClick: boolean): number {\n const value = (\n Math.round(angle / this.degreesPerUnit) +\n (insideClick ? this.roundCount : 0)\n ) % this.count + this.min\n\n // Necessary to fix edge case when selecting left part of the value(s) at 12 o'clock\n if (angle < (360 - this.degreesPerUnit / 2)) return value\n\n return insideClick ? this.max - this.roundCount + 1 : this.min\n },\n setMouseDownValue (value: number) {\n if (this.valueOnMouseDown === null) {\n this.valueOnMouseDown = value\n }\n\n this.valueOnMouseUp = value\n this.update(value)\n },\n update (value: number) {\n if (this.inputValue !== value) {\n this.inputValue = value\n this.$emit('input', value)\n }\n },\n euclidean (p0: Point, p1: Point) {\n const dx = p1.x - p0.x\n const dy = p1.y - p0.y\n\n return Math.sqrt(dx * dx + dy * dy)\n },\n angle (center: Point, p1: Point) {\n const value = 2 * Math.atan2(p1.y - center.y - this.euclidean(center, p1), p1.x - center.x)\n return Math.abs(value * 180 / Math.PI)\n },\n },\n\n render (h): VNode {\n const data: VNodeData = {\n staticClass: 'v-time-picker-clock',\n class: {\n 'v-time-picker-clock--indeterminate': this.value == null,\n ...this.themeClasses,\n },\n on: (this.readonly || this.disabled) ? undefined : {\n mousedown: this.onMouseDown,\n mouseup: this.onMouseUp,\n mouseleave: (e: MouseEvent) => (this.isDragging && this.onMouseUp(e)),\n touchstart: this.onMouseDown,\n touchend: this.onMouseUp,\n mousemove: this.onDragMove,\n touchmove: this.onDragMove,\n },\n ref: 'clock',\n }\n\n if (this.scrollable && data.on) {\n data.on.wheel = this.wheel\n }\n\n return h('div', data, [\n h('div', {\n staticClass: 'v-time-picker-clock__inner',\n ref: 'innerClock',\n }, [\n this.genHand(),\n this.genValues(),\n ]),\n ])\n },\n})\n","// Components\nimport VTimePickerTitle from './VTimePickerTitle'\nimport VTimePickerClock from './VTimePickerClock'\n\n// Mixins\nimport Picker from '../../mixins/picker'\nimport PickerButton from '../../mixins/picker-button'\n\n// Utils\nimport { createRange } from '../../util/helpers'\nimport pad from '../VDatePicker/util/pad'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, PropType } from 'vue'\nimport { SelectingTimes } from './SelectingTimes'\n\nconst rangeHours24 = createRange(24)\nconst rangeHours12am = createRange(12)\nconst rangeHours12pm = rangeHours12am.map(v => v + 12)\nconst range60 = createRange(60)\nconst selectingNames = { 1: 'hour', 2: 'minute', 3: 'second' }\nexport { SelectingTimes }\n\ntype Period = 'am' | 'pm'\ntype AllowFunction = (val: number) => boolean\n\nexport default mixins(\n Picker,\n PickerButton\n/* @vue/component */\n).extend({\n name: 'v-time-picker',\n\n props: {\n allowedHours: [Function, Array] as PropType,\n allowedMinutes: [Function, Array] as PropType,\n allowedSeconds: [Function, Array] as PropType,\n disabled: Boolean,\n format: {\n type: String as PropType<'ampm' | '24hr'>,\n default: 'ampm',\n validator (val: any) {\n return ['ampm', '24hr'].includes(val)\n },\n },\n min: String,\n max: String,\n readonly: Boolean,\n scrollable: Boolean,\n useSeconds: Boolean,\n value: null as any as PropType,\n ampmInTitle: Boolean,\n },\n\n data () {\n return {\n inputHour: null as number | null,\n inputMinute: null as number | null,\n inputSecond: null as number | null,\n lazyInputHour: null as number | null,\n lazyInputMinute: null as number | null,\n lazyInputSecond: null as number | null,\n period: 'am' as Period,\n selecting: SelectingTimes.Hour,\n }\n },\n\n computed: {\n selectingHour: {\n get (): boolean {\n return this.selecting === SelectingTimes.Hour\n },\n set (v: boolean) {\n this.selecting = SelectingTimes.Hour\n },\n },\n selectingMinute: {\n get (): boolean {\n return this.selecting === SelectingTimes.Minute\n },\n set (v: boolean) {\n this.selecting = SelectingTimes.Minute\n },\n },\n selectingSecond: {\n get (): boolean {\n return this.selecting === SelectingTimes.Second\n },\n set (v: boolean) {\n this.selecting = SelectingTimes.Second\n },\n },\n isAllowedHourCb (): AllowFunction {\n let cb: AllowFunction\n\n if (this.allowedHours instanceof Array) {\n cb = (val: number) => (this.allowedHours as number[]).includes(val)\n } else {\n cb = this.allowedHours\n }\n\n if (!this.min && !this.max) return cb\n\n const minHour = this.min ? Number(this.min.split(':')[0]) : 0\n const maxHour = this.max ? Number(this.max.split(':')[0]) : 23\n\n return (val: number) => {\n return val >= minHour * 1 &&\n val <= maxHour * 1 &&\n (!cb || cb(val))\n }\n },\n isAllowedMinuteCb (): AllowFunction {\n let cb: AllowFunction\n\n const isHourAllowed = !this.isAllowedHourCb || this.inputHour === null || this.isAllowedHourCb(this.inputHour)\n if (this.allowedMinutes instanceof Array) {\n cb = (val: number) => (this.allowedMinutes as number[]).includes(val)\n } else {\n cb = this.allowedMinutes\n }\n\n if (!this.min && !this.max) {\n return isHourAllowed ? cb : () => false\n }\n\n const [minHour, minMinute] = this.min ? this.min.split(':').map(Number) : [0, 0]\n const [maxHour, maxMinute] = this.max ? this.max.split(':').map(Number) : [23, 59]\n const minTime = minHour * 60 + minMinute * 1\n const maxTime = maxHour * 60 + maxMinute * 1\n\n return (val: number) => {\n const time = 60 * this.inputHour! + val\n return time >= minTime &&\n time <= maxTime &&\n isHourAllowed &&\n (!cb || cb(val))\n }\n },\n isAllowedSecondCb (): AllowFunction {\n let cb: AllowFunction\n\n const isHourAllowed = !this.isAllowedHourCb || this.inputHour === null || this.isAllowedHourCb(this.inputHour)\n const isMinuteAllowed = isHourAllowed &&\n (!this.isAllowedMinuteCb ||\n this.inputMinute === null ||\n this.isAllowedMinuteCb(this.inputMinute)\n )\n\n if (this.allowedSeconds instanceof Array) {\n cb = (val: number) => (this.allowedSeconds as number[]).includes(val)\n } else {\n cb = this.allowedSeconds\n }\n\n if (!this.min && !this.max) {\n return isMinuteAllowed ? cb : () => false\n }\n\n const [minHour, minMinute, minSecond] = this.min ? this.min.split(':').map(Number) : [0, 0, 0]\n const [maxHour, maxMinute, maxSecond] = this.max ? this.max.split(':').map(Number) : [23, 59, 59]\n const minTime = minHour * 3600 + minMinute * 60 + (minSecond || 0) * 1\n const maxTime = maxHour * 3600 + maxMinute * 60 + (maxSecond || 0) * 1\n\n return (val: number) => {\n const time = 3600 * this.inputHour! + 60 * this.inputMinute! + val\n return time >= minTime &&\n time <= maxTime &&\n isMinuteAllowed &&\n (!cb || cb(val))\n }\n },\n isAmPm (): boolean {\n return this.format === 'ampm'\n },\n },\n\n watch: {\n value: 'setInputData',\n },\n\n mounted () {\n this.setInputData(this.value)\n this.$on('update:period', this.setPeriod)\n },\n\n methods: {\n genValue () {\n if (this.inputHour != null && this.inputMinute != null && (!this.useSeconds || this.inputSecond != null)) {\n return `${pad(this.inputHour)}:${pad(this.inputMinute)}` + (this.useSeconds ? `:${pad(this.inputSecond!)}` : '')\n }\n\n return null\n },\n emitValue () {\n const value = this.genValue()\n if (value !== null) this.$emit('input', value)\n },\n setPeriod (period: Period) {\n this.period = period\n if (this.inputHour != null) {\n const newHour = this.inputHour! + (period === 'am' ? -12 : 12)\n this.inputHour = this.firstAllowed('hour', newHour)\n this.emitValue()\n }\n },\n setInputData (value: string | null | Date) {\n if (value == null || value === '') {\n this.inputHour = null\n this.inputMinute = null\n this.inputSecond = null\n } else if (value instanceof Date) {\n this.inputHour = value.getHours()\n this.inputMinute = value.getMinutes()\n this.inputSecond = value.getSeconds()\n } else {\n const [, hour, minute, , second, period] = value.trim().toLowerCase().match(/^(\\d+):(\\d+)(:(\\d+))?([ap]m)?$/) || new Array(6)\n\n this.inputHour = period ? this.convert12to24(parseInt(hour, 10), period as Period) : parseInt(hour, 10)\n this.inputMinute = parseInt(minute, 10)\n this.inputSecond = parseInt(second || 0, 10)\n }\n\n this.period = (this.inputHour == null || this.inputHour < 12) ? 'am' : 'pm'\n },\n convert24to12 (hour: number) {\n return hour ? ((hour - 1) % 12 + 1) : 12\n },\n convert12to24 (hour: number, period: Period) {\n return hour % 12 + (period === 'pm' ? 12 : 0)\n },\n onInput (value: number) {\n if (this.selecting === SelectingTimes.Hour) {\n this.inputHour = this.isAmPm ? this.convert12to24(value, this.period) : value\n } else if (this.selecting === SelectingTimes.Minute) {\n this.inputMinute = value\n } else {\n this.inputSecond = value\n }\n this.emitValue()\n },\n onChange (value: number) {\n this.$emit(`click:${selectingNames[this.selecting]}`, value)\n\n const emitChange = this.selecting === (this.useSeconds ? SelectingTimes.Second : SelectingTimes.Minute)\n\n if (this.selecting === SelectingTimes.Hour) {\n this.selecting = SelectingTimes.Minute\n } else if (this.useSeconds && this.selecting === SelectingTimes.Minute) {\n this.selecting = SelectingTimes.Second\n }\n\n if (this.inputHour === this.lazyInputHour &&\n this.inputMinute === this.lazyInputMinute &&\n (!this.useSeconds || this.inputSecond === this.lazyInputSecond)\n ) return\n\n const time = this.genValue()\n if (time === null) return\n\n this.lazyInputHour = this.inputHour\n this.lazyInputMinute = this.inputMinute\n this.useSeconds && (this.lazyInputSecond = this.inputSecond)\n\n emitChange && this.$emit('change', time)\n },\n firstAllowed (type: 'hour' | 'minute' | 'second', value: number) {\n const allowedFn = type === 'hour' ? this.isAllowedHourCb : (type === 'minute' ? this.isAllowedMinuteCb : this.isAllowedSecondCb)\n if (!allowedFn) return value\n\n // TODO: clean up\n const range = type === 'minute'\n ? range60\n : (type === 'second'\n ? range60\n : (this.isAmPm\n ? (value < 12\n ? rangeHours12am\n : rangeHours12pm)\n : rangeHours24))\n const first = range.find(v => allowedFn((v + value) % range.length + range[0]))\n return ((first || 0) + value) % range.length + range[0]\n },\n genClock () {\n return this.$createElement(VTimePickerClock, {\n props: {\n allowedValues:\n this.selecting === SelectingTimes.Hour\n ? this.isAllowedHourCb\n : (this.selecting === SelectingTimes.Minute\n ? this.isAllowedMinuteCb\n : this.isAllowedSecondCb),\n color: this.color,\n dark: this.dark,\n disabled: this.disabled,\n double: this.selecting === SelectingTimes.Hour && !this.isAmPm,\n format: this.selecting === SelectingTimes.Hour\n ? (this.isAmPm ? this.convert24to12 : (val: number) => val)\n : (val: number) => pad(val, 2),\n light: this.light,\n max: this.selecting === SelectingTimes.Hour ? (this.isAmPm && this.period === 'am' ? 11 : 23) : 59,\n min: this.selecting === SelectingTimes.Hour && this.isAmPm && this.period === 'pm' ? 12 : 0,\n readonly: this.readonly,\n scrollable: this.scrollable,\n size: Number(this.width) - ((!this.fullWidth && this.landscape) ? 80 : 20),\n step: this.selecting === SelectingTimes.Hour ? 1 : 5,\n value: this.selecting === SelectingTimes.Hour\n ? this.inputHour\n : (this.selecting === SelectingTimes.Minute\n ? this.inputMinute\n : this.inputSecond),\n },\n on: {\n input: this.onInput,\n change: this.onChange,\n },\n ref: 'clock',\n })\n },\n genClockAmPm () {\n return this.$createElement('div', this.setTextColor(this.color || 'primary', {\n staticClass: 'v-time-picker-clock__ampm',\n }), [\n this.genPickerButton('period', 'am', this.$vuetify.lang.t('$vuetify.timePicker.am'), this.disabled || this.readonly),\n this.genPickerButton('period', 'pm', this.$vuetify.lang.t('$vuetify.timePicker.pm'), this.disabled || this.readonly),\n ])\n },\n genPickerBody () {\n return this.$createElement('div', {\n staticClass: 'v-time-picker-clock__container',\n key: this.selecting,\n }, [\n !this.ampmInTitle && this.isAmPm && this.genClockAmPm(),\n this.genClock(),\n ])\n },\n genPickerTitle () {\n return this.$createElement(VTimePickerTitle, {\n props: {\n ampm: this.isAmPm,\n ampmReadonly: this.isAmPm && !this.ampmInTitle,\n disabled: this.disabled,\n hour: this.inputHour,\n minute: this.inputMinute,\n second: this.inputSecond,\n period: this.period,\n readonly: this.readonly,\n useSeconds: this.useSeconds,\n selecting: this.selecting,\n },\n on: {\n 'update:selecting': (value: 1 | 2 | 3) => (this.selecting = value),\n 'update:period': (period: string) => this.$emit('update:period', period),\n },\n ref: 'title',\n slot: 'title',\n })\n },\n },\n\n render (): VNode {\n return this.genPicker('v-picker--time')\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTimePicker } from 'vuetify/lib/components/VTimePicker';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VDialog,{attrs:{\"width\":\"400px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VTextField,_vm._g({attrs:{\"value\":_vm.momentFormatted,\"error-messages\":_vm.error,\"disabled\":_vm.disabled,\"loading\":_vm.loading,\"label\":_vm.label,\"readonly\":\"\"},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [_c(VProgressLinear,{attrs:{\"color\":\"primary\",\"indeterminate\":\"\",\"absolute\":\"\",\"height\":\"2\"}})]},proxy:true}],null,true)},on))]}}]),model:{value:(_vm.display),callback:function ($$v) {_vm.display=$$v},expression:\"display\"}},[_c(VCard,{attrs:{\"elevation\":\"0\"}},[_c(VCardText,{staticClass:\"px-0 py-0\"},[_c(VTabs,{attrs:{\"fixed-tabs\":\"\"},model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c(VTab,{key:\"calendar\"},[_c(VIcon,[_vm._v(\"mdi-calendar\")])],1),_c(VTab,{key:\"timer\",attrs:{\"disabled\":_vm.dateSelected}},[_c(VIcon,[_vm._v(\"mdi-clock\")])],1),_c(VTabItem,{key:\"calendar\"},[_c(VDatePicker,{attrs:{\"color\":\"primary\",\"locale\":_vm.$i18n.locale,\"min\":(_vm.minDate && _vm.minDate.toISOString()) ||\n new Date(Date.now()).toISOString(),\"full-width\":\"\"},on:{\"input\":_vm.showTimePicker},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}})],1),_c(VTabItem,{key:\"timer\"},[_c(VTimePicker,{ref:\"timer\",staticClass:\"v-time-picker-custom\",attrs:{\"format\":\"24hr\",\"color\":\"primary\",\"full-width\":\"\"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:\"time\"}})],1)],1)],1),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"color\":\"accent lighten-1\",\"text\":\"\"},nativeOn:{\"click\":function($event){return _vm.clearHandler($event)}}},[_c('span',[_vm._v(\"Clear\")])]),_c(VBtn,{attrs:{\"color\":\"primary darken-1\",\"text\":\"\"},on:{\"click\":_vm.okHandler}},[_vm._v(\"Set\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXWeeks: {\n one: 'about 1 week',\n other: 'about {{count}} weeks'\n },\n xWeeks: {\n one: '1 week',\n other: '{{count}} weeks'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var result;\n\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n}","export default function buildFormatLongFn(args) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n long: 'MMMM do, y',\n medium: 'MMM d, y',\n short: 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n long: 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n short: 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n short: '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var context = options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n return valuesArray[index];\n };\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`:\n //\n // var options = dirtyOptions || {}\n // var unit = String(options.unit)\n //\n // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function (quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","export default function buildMatchPatternFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var matchResult = string.match(args.matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n\n if (!parseResult) {\n return null;\n }\n\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}","export default function buildMatchFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var value;\n\n if (Object.prototype.toString.call(parsePatterns) === '[object Array]') {\n value = findIndex(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n } else {\n value = findKey(parsePatterns, function (pattern) {\n return pattern.test(matchedString);\n });\n }\n\n value = args.valueCallback ? args.valueCallback(value) : value;\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n}\n\nfunction findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n}","import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nimport buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function (value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function (index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\nvar locale = {\n code: 'en-US',\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","export default function requiredArgs(required, args) {\n if (args.length < required) {\n throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');\n }\n}","import requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nexport default function toDate(argument) {\n requiredArgs(1, arguments);\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}","import toInteger from '../_lib/toInteger/index.js';\nimport toDate from '../toDate/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * var result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\n\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","import toInteger from '../_lib/toInteger/index.js';\nimport addMilliseconds from '../addMilliseconds/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * var result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\n\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","export default function assign(target, dirtyObject) {\n if (target == null) {\n throw new TypeError('assign requires that input parameter not be null or undefined');\n }\n\n dirtyObject = dirtyObject || {};\n\n for (var property in dirtyObject) {\n if (dirtyObject.hasOwnProperty(property)) {\n target[property] = dirtyObject[property];\n }\n }\n\n return target;\n}","function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n}\n\nfunction timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n}\n\nfunction dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/);\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n var dateTimeFormat;\n\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n}\n\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","var MILLISECONDS_IN_MINUTE = 60000;\n\nfunction getDateMillisecondsPart(date) {\n return date.getTime() % MILLISECONDS_IN_MINUTE;\n}\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\n\n\nexport default function getTimezoneOffsetInMilliseconds(dirtyDate) {\n var date = new Date(dirtyDate.getTime());\n var baseTimezoneOffset = Math.ceil(date.getTimezoneOffset());\n date.setSeconds(0, 0);\n var hasNegativeUTCOffset = baseTimezoneOffset > 0;\n var millisecondsPartOfTimezoneOffset = hasNegativeUTCOffset ? (MILLISECONDS_IN_MINUTE + getDateMillisecondsPart(date)) % MILLISECONDS_IN_MINUTE : getDateMillisecondsPart(date);\n return baseTimezoneOffset * MILLISECONDS_IN_MINUTE + millisecondsPartOfTimezoneOffset;\n}","var protectedDayOfYearTokens = ['D', 'DD'];\nvar protectedWeekYearTokens = ['YY', 'YYYY'];\nexport function isProtectedDayOfYearToken(token) {\n return protectedDayOfYearTokens.indexOf(token) !== -1;\n}\nexport function isProtectedWeekYearToken(token) {\n return protectedWeekYearTokens.indexOf(token) !== -1;\n}\nexport function throwProtectedError(token, format, input) {\n if (token === 'YYYY') {\n throw new RangeError(\"Use `yyyy` instead of `YYYY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'YY') {\n throw new RangeError(\"Use `yy` instead of `YY` (in `\".concat(format, \"`) for formatting years to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'D') {\n throw new RangeError(\"Use `d` instead of `D` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n } else if (token === 'DD') {\n throw new RangeError(\"Use `dd` instead of `DD` (in `\".concat(format, \"`) for formatting days of the month to the input `\").concat(input, \"`; see: https://git.io/fxCyr\"));\n }\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeek(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport startOfUTCWeek from '../startOfUTCWeek/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate, dirtyOptions);\n var year = date.getUTCFullYear();\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var firstWeekOfNextYear = new Date(0);\n firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, dirtyOptions);\n var firstWeekOfThisYear = new Date(0);\n firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, dirtyOptions);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {\n requiredArgs(2, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = toInteger(dirtyDay);\n var currentDay = date.getUTCDay();\n var remainder = day % 7;\n var dayIndex = (remainder + 7) % 7;\n var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCISODay(dirtyDate, dirtyDay) {\n requiredArgs(2, arguments);\n var day = toInteger(dirtyDay);\n\n if (day % 7 === 0) {\n day = day - 7;\n }\n\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var currentDay = date.getUTCDay();\n var remainder = day % 7;\n var dayIndex = (remainder + 7) % 7;\n var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}","import toDate from '../../toDate/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import toDate from '../../toDate/index.js';\nimport startOfUTCISOWeek from '../startOfUTCISOWeek/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import getUTCISOWeekYear from '../getUTCISOWeekYear/index.js';\nimport startOfUTCISOWeek from '../startOfUTCISOWeek/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n requiredArgs(1, arguments);\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","import toDate from '../../toDate/index.js';\nimport startOfUTCISOWeek from '../startOfUTCISOWeek/index.js';\nimport startOfUTCISOWeekYear from '../startOfUTCISOWeekYear/index.js';\nimport requiredArgs from '../requiredArgs/index.js';\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeek(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport getUTCISOWeek from '../getUTCISOWeek/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCISOWeek(dirtyDate, dirtyISOWeek) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var isoWeek = toInteger(dirtyISOWeek);\n var diff = getUTCISOWeek(date) - isoWeek;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}","import toInteger from '../toInteger/index.js';\nimport getUTCWeekYear from '../getUTCWeekYear/index.js';\nimport startOfUTCWeek from '../startOfUTCWeek/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeekYear(dirtyDate, dirtyOptions) {\n requiredArgs(1, arguments);\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate);\n var year = getUTCWeekYear(dirtyDate, dirtyOptions);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, dirtyOptions);\n return date;\n}","import toDate from '../../toDate/index.js';\nimport startOfUTCWeek from '../startOfUTCWeek/index.js';\nimport startOfUTCWeekYear from '../startOfUTCWeekYear/index.js';\nimport requiredArgs from '../requiredArgs/index.js';\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeek(dirtyDate, options) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport getUTCWeek from '../getUTCWeek/index.js';\nimport requiredArgs from '../requiredArgs/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function setUTCWeek(dirtyDate, dirtyWeek, options) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var week = toInteger(dirtyWeek);\n var diff = getUTCWeek(date, options) - week;\n date.setUTCDate(date.getUTCDate() - diff * 7);\n return date;\n}","import getUTCWeekYear from '../../../_lib/getUTCWeekYear/index.js';\nimport setUTCDay from '../../../_lib/setUTCDay/index.js';\nimport setUTCISODay from '../../../_lib/setUTCISODay/index.js';\nimport setUTCISOWeek from '../../../_lib/setUTCISOWeek/index.js';\nimport setUTCWeek from '../../../_lib/setUTCWeek/index.js';\nimport startOfUTCISOWeek from '../../../_lib/startOfUTCISOWeek/index.js';\nimport startOfUTCWeek from '../../../_lib/startOfUTCWeek/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar MILLISECONDS_IN_SECOND = 1000;\nvar numericPatterns = {\n month: /^(1[0-2]|0?\\d)/,\n // 0 to 12\n date: /^(3[0-1]|[0-2]?\\d)/,\n // 0 to 31\n dayOfYear: /^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,\n // 0 to 366\n week: /^(5[0-3]|[0-4]?\\d)/,\n // 0 to 53\n hour23h: /^(2[0-3]|[0-1]?\\d)/,\n // 0 to 23\n hour24h: /^(2[0-4]|[0-1]?\\d)/,\n // 0 to 24\n hour11h: /^(1[0-1]|0?\\d)/,\n // 0 to 11\n hour12h: /^(1[0-2]|0?\\d)/,\n // 0 to 12\n minute: /^[0-5]?\\d/,\n // 0 to 59\n second: /^[0-5]?\\d/,\n // 0 to 59\n singleDigit: /^\\d/,\n // 0 to 9\n twoDigits: /^\\d{1,2}/,\n // 0 to 99\n threeDigits: /^\\d{1,3}/,\n // 0 to 999\n fourDigits: /^\\d{1,4}/,\n // 0 to 9999\n anyDigitsSigned: /^-?\\d+/,\n singleDigitSigned: /^-?\\d/,\n // 0 to 9, -0 to -9\n twoDigitsSigned: /^-?\\d{1,2}/,\n // 0 to 99, -0 to -99\n threeDigitsSigned: /^-?\\d{1,3}/,\n // 0 to 999, -0 to -999\n fourDigitsSigned: /^-?\\d{1,4}/ // 0 to 9999, -0 to -9999\n\n};\nvar timezonePatterns = {\n basicOptionalMinutes: /^([+-])(\\d{2})(\\d{2})?|Z/,\n basic: /^([+-])(\\d{2})(\\d{2})|Z/,\n basicOptionalSeconds: /^([+-])(\\d{2})(\\d{2})((\\d{2}))?|Z/,\n extended: /^([+-])(\\d{2}):(\\d{2})|Z/,\n extendedOptionalSeconds: /^([+-])(\\d{2}):(\\d{2})(:(\\d{2}))?|Z/\n};\n\nfunction parseNumericPattern(pattern, string, valueCallback) {\n var matchResult = string.match(pattern);\n\n if (!matchResult) {\n return null;\n }\n\n var value = parseInt(matchResult[0], 10);\n return {\n value: valueCallback ? valueCallback(value) : value,\n rest: string.slice(matchResult[0].length)\n };\n}\n\nfunction parseTimezonePattern(pattern, string) {\n var matchResult = string.match(pattern);\n\n if (!matchResult) {\n return null;\n } // Input is 'Z'\n\n\n if (matchResult[0] === 'Z') {\n return {\n value: 0,\n rest: string.slice(1)\n };\n }\n\n var sign = matchResult[1] === '+' ? 1 : -1;\n var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;\n var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;\n var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;\n return {\n value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),\n rest: string.slice(matchResult[0].length)\n };\n}\n\nfunction parseAnyDigitsSigned(string, valueCallback) {\n return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);\n}\n\nfunction parseNDigits(n, string, valueCallback) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);\n\n case 2:\n return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);\n\n case 3:\n return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);\n\n case 4:\n return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);\n\n default:\n return parseNumericPattern(new RegExp('^\\\\d{1,' + n + '}'), string, valueCallback);\n }\n}\n\nfunction parseNDigitsSigned(n, string, valueCallback) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);\n\n case 2:\n return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);\n\n case 3:\n return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);\n\n case 4:\n return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);\n\n default:\n return parseNumericPattern(new RegExp('^-?\\\\d{1,' + n + '}'), string, valueCallback);\n }\n}\n\nfunction dayPeriodEnumToHours(enumValue) {\n switch (enumValue) {\n case 'morning':\n return 4;\n\n case 'evening':\n return 17;\n\n case 'pm':\n case 'noon':\n case 'afternoon':\n return 12;\n\n case 'am':\n case 'midnight':\n case 'night':\n default:\n return 0;\n }\n}\n\nfunction normalizeTwoDigitYear(twoDigitYear, currentYear) {\n var isCommonEra = currentYear > 0; // Absolute number of the current year:\n // 1 -> 1 AC\n // 0 -> 1 BC\n // -1 -> 2 BC\n\n var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;\n var result;\n\n if (absCurrentYear <= 50) {\n result = twoDigitYear || 100;\n } else {\n var rangeEnd = absCurrentYear + 50;\n var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;\n var isPreviousCentury = twoDigitYear >= rangeEnd % 100;\n result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);\n }\n\n return isCommonEra ? result : 1 - result;\n}\n\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // User for validation\n\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O* | Timezone (GMT) |\n * | p | | P | |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n */\n\n\nvar parsers = {\n // Era\n G: {\n priority: 140,\n parse: function (string, token, match, _options) {\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return match.era(string, {\n width: 'abbreviated'\n }) || match.era(string, {\n width: 'narrow'\n });\n // A, B\n\n case 'GGGGG':\n return match.era(string, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return match.era(string, {\n width: 'wide'\n }) || match.era(string, {\n width: 'abbreviated'\n }) || match.era(string, {\n width: 'narrow'\n });\n }\n },\n set: function (date, flags, value, _options) {\n flags.era = value;\n date.setUTCFullYear(value, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['R', 'u', 't', 'T']\n },\n // Year\n y: {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n priority: 130,\n parse: function (string, token, match, _options) {\n var valueCallback = function (year) {\n return {\n year: year,\n isTwoDigitYear: token === 'yy'\n };\n };\n\n switch (token) {\n case 'y':\n return parseNDigits(4, string, valueCallback);\n\n case 'yo':\n return match.ordinalNumber(string, {\n unit: 'year',\n valueCallback: valueCallback\n });\n\n default:\n return parseNDigits(token.length, string, valueCallback);\n }\n },\n validate: function (_date, value, _options) {\n return value.isTwoDigitYear || value.year > 0;\n },\n set: function (date, flags, value, _options) {\n var currentYear = date.getUTCFullYear();\n\n if (value.isTwoDigitYear) {\n var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n }\n\n var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setUTCFullYear(year, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']\n },\n // Local week-numbering year\n Y: {\n priority: 130,\n parse: function (string, token, match, _options) {\n var valueCallback = function (year) {\n return {\n year: year,\n isTwoDigitYear: token === 'YY'\n };\n };\n\n switch (token) {\n case 'Y':\n return parseNDigits(4, string, valueCallback);\n\n case 'Yo':\n return match.ordinalNumber(string, {\n unit: 'year',\n valueCallback: valueCallback\n });\n\n default:\n return parseNDigits(token.length, string, valueCallback);\n }\n },\n validate: function (_date, value, _options) {\n return value.isTwoDigitYear || value.year > 0;\n },\n set: function (date, flags, value, options) {\n var currentYear = getUTCWeekYear(date, options);\n\n if (value.isTwoDigitYear) {\n var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);\n date.setUTCHours(0, 0, 0, 0);\n return startOfUTCWeek(date, options);\n }\n\n var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setUTCFullYear(year, 0, options.firstWeekContainsDate);\n date.setUTCHours(0, 0, 0, 0);\n return startOfUTCWeek(date, options);\n },\n incompatibleTokens: ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']\n },\n // ISO week-numbering year\n R: {\n priority: 130,\n parse: function (string, token, _match, _options) {\n if (token === 'R') {\n return parseNDigitsSigned(4, string);\n }\n\n return parseNDigitsSigned(token.length, string);\n },\n set: function (_date, _flags, value, _options) {\n var firstWeekOfYear = new Date(0);\n firstWeekOfYear.setUTCFullYear(value, 0, 4);\n firstWeekOfYear.setUTCHours(0, 0, 0, 0);\n return startOfUTCISOWeek(firstWeekOfYear);\n },\n incompatibleTokens: ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']\n },\n // Extended year\n u: {\n priority: 130,\n parse: function (string, token, _match, _options) {\n if (token === 'u') {\n return parseNDigitsSigned(4, string);\n }\n\n return parseNDigitsSigned(token.length, string);\n },\n set: function (date, _flags, value, _options) {\n date.setUTCFullYear(value, 0, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']\n },\n // Quarter\n Q: {\n priority: 120,\n parse: function (string, token, match, _options) {\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n case 'QQ':\n // 01, 02, 03, 04\n return parseNDigits(token.length, string);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return match.ordinalNumber(string, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return match.quarter(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return match.quarter(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return match.quarter(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.quarter(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 4;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth((value - 1) * 3, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Stand-alone quarter\n q: {\n priority: 120,\n parse: function (string, token, match, _options) {\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n case 'qq':\n // 01, 02, 03, 04\n return parseNDigits(token.length, string);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return match.ordinalNumber(string, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return match.quarter(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return match.quarter(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return match.quarter(string, {\n width: 'wide',\n context: 'standalone'\n }) || match.quarter(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.quarter(string, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 4;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth((value - 1) * 3, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Month\n M: {\n priority: 110,\n parse: function (string, token, match, _options) {\n var valueCallback = function (value) {\n return value - 1;\n };\n\n switch (token) {\n // 1, 2, ..., 12\n case 'M':\n return parseNumericPattern(numericPatterns.month, string, valueCallback);\n // 01, 02, ..., 12\n\n case 'MM':\n return parseNDigits(2, string, valueCallback);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return match.ordinalNumber(string, {\n unit: 'month',\n valueCallback: valueCallback\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return match.month(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.month(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return match.month(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return match.month(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.month(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.month(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 11;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth(value, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Stand-alone month\n L: {\n priority: 110,\n parse: function (string, token, match, _options) {\n var valueCallback = function (value) {\n return value - 1;\n };\n\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return parseNumericPattern(numericPatterns.month, string, valueCallback);\n // 01, 02, ..., 12\n\n case 'LL':\n return parseNDigits(2, string, valueCallback);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return match.ordinalNumber(string, {\n unit: 'month',\n valueCallback: valueCallback\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return match.month(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.month(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return match.month(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return match.month(string, {\n width: 'wide',\n context: 'standalone'\n }) || match.month(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.month(string, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 11;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth(value, 1);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Local week of year\n w: {\n priority: 100,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'w':\n return parseNumericPattern(numericPatterns.week, string);\n\n case 'wo':\n return match.ordinalNumber(string, {\n unit: 'week'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 53;\n },\n set: function (date, _flags, value, options) {\n return startOfUTCWeek(setUTCWeek(date, value, options), options);\n },\n incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']\n },\n // ISO week of year\n I: {\n priority: 100,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'I':\n return parseNumericPattern(numericPatterns.week, string);\n\n case 'Io':\n return match.ordinalNumber(string, {\n unit: 'week'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 53;\n },\n set: function (date, _flags, value, options) {\n return startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);\n },\n incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']\n },\n // Day of the month\n d: {\n priority: 90,\n subPriority: 1,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'd':\n return parseNumericPattern(numericPatterns.date, string);\n\n case 'do':\n return match.ordinalNumber(string, {\n unit: 'date'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (date, value, _options) {\n var year = date.getUTCFullYear();\n var isLeapYear = isLeapYearIndex(year);\n var month = date.getUTCMonth();\n\n if (isLeapYear) {\n return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];\n } else {\n return value >= 1 && value <= DAYS_IN_MONTH[month];\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCDate(value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']\n },\n // Day of year\n D: {\n priority: 90,\n subPriority: 1,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'D':\n case 'DD':\n return parseNumericPattern(numericPatterns.dayOfYear, string);\n\n case 'Do':\n return match.ordinalNumber(string, {\n unit: 'date'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (date, value, _options) {\n var year = date.getUTCFullYear();\n var isLeapYear = isLeapYearIndex(year);\n\n if (isLeapYear) {\n return value >= 1 && value <= 366;\n } else {\n return value >= 1 && value <= 365;\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMonth(0, value);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']\n },\n // Day of week\n E: {\n priority: 90,\n parse: function (string, token, match, _options) {\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 6;\n },\n set: function (date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['D', 'i', 'e', 'c', 't', 'T']\n },\n // Local day of week\n e: {\n priority: 90,\n parse: function (string, token, match, options) {\n var valueCallback = function (value) {\n var wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n\n switch (token) {\n // 3\n case 'e':\n case 'ee':\n // 03\n return parseNDigits(token.length, string, valueCallback);\n // 3rd\n\n case 'eo':\n return match.ordinalNumber(string, {\n unit: 'day',\n valueCallback: valueCallback\n });\n // Tue\n\n case 'eee':\n return match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.day(string, {\n width: 'short',\n context: 'formatting'\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 6;\n },\n set: function (date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']\n },\n // Stand-alone local day of week\n c: {\n priority: 90,\n parse: function (string, token, match, options) {\n var valueCallback = function (value) {\n var wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n\n switch (token) {\n // 3\n case 'c':\n case 'cc':\n // 03\n return parseNDigits(token.length, string, valueCallback);\n // 3rd\n\n case 'co':\n return match.ordinalNumber(string, {\n unit: 'day',\n valueCallback: valueCallback\n });\n // Tue\n\n case 'ccc':\n return match.day(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.day(string, {\n width: 'short',\n context: 'standalone'\n }) || match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return match.day(string, {\n width: 'short',\n context: 'standalone'\n }) || match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'standalone'\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'standalone'\n }) || match.day(string, {\n width: 'short',\n context: 'standalone'\n }) || match.day(string, {\n width: 'narrow',\n context: 'standalone'\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 6;\n },\n set: function (date, _flags, value, options) {\n date = setUTCDay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']\n },\n // ISO day of week\n i: {\n priority: 90,\n parse: function (string, token, match, _options) {\n var valueCallback = function (value) {\n if (value === 0) {\n return 7;\n }\n\n return value;\n };\n\n switch (token) {\n // 2\n case 'i':\n case 'ii':\n // 02\n return parseNDigits(token.length, string);\n // 2nd\n\n case 'io':\n return match.ordinalNumber(string, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return match.day(string, {\n width: 'abbreviated',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'short',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n // T\n\n case 'iiiii':\n return match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n // Tu\n\n case 'iiiiii':\n return match.day(string, {\n width: 'short',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n // Tuesday\n\n case 'iiii':\n default:\n return match.day(string, {\n width: 'wide',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'abbreviated',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'short',\n context: 'formatting',\n valueCallback: valueCallback\n }) || match.day(string, {\n width: 'narrow',\n context: 'formatting',\n valueCallback: valueCallback\n });\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 7;\n },\n set: function (date, _flags, value, options) {\n date = setUTCISODay(date, value, options);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']\n },\n // AM or PM\n a: {\n priority: 80,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaaa':\n return match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaa':\n default:\n return match.dayPeriod(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']\n },\n // AM, PM, midnight\n b: {\n priority: 80,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'b':\n case 'bb':\n case 'bbb':\n return match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbbb':\n return match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbb':\n default:\n return match.dayPeriod(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']\n },\n // in the morning, in the afternoon, in the evening, at night\n B: {\n priority: 80,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBBB':\n return match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBB':\n default:\n return match.dayPeriod(string, {\n width: 'wide',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'abbreviated',\n context: 'formatting'\n }) || match.dayPeriod(string, {\n width: 'narrow',\n context: 'formatting'\n });\n }\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'b', 't', 'T']\n },\n // Hour [1-12]\n h: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'h':\n return parseNumericPattern(numericPatterns.hour12h, string);\n\n case 'ho':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 12;\n },\n set: function (date, _flags, value, _options) {\n var isPM = date.getUTCHours() >= 12;\n\n if (isPM && value < 12) {\n date.setUTCHours(value + 12, 0, 0, 0);\n } else if (!isPM && value === 12) {\n date.setUTCHours(0, 0, 0, 0);\n } else {\n date.setUTCHours(value, 0, 0, 0);\n }\n\n return date;\n },\n incompatibleTokens: ['H', 'K', 'k', 't', 'T']\n },\n // Hour [0-23]\n H: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'H':\n return parseNumericPattern(numericPatterns.hour23h, string);\n\n case 'Ho':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 23;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCHours(value, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'b', 'h', 'K', 'k', 't', 'T']\n },\n // Hour [0-11]\n K: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'K':\n return parseNumericPattern(numericPatterns.hour11h, string);\n\n case 'Ko':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 11;\n },\n set: function (date, _flags, value, _options) {\n var isPM = date.getUTCHours() >= 12;\n\n if (isPM && value < 12) {\n date.setUTCHours(value + 12, 0, 0, 0);\n } else {\n date.setUTCHours(value, 0, 0, 0);\n }\n\n return date;\n },\n incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']\n },\n // Hour [1-24]\n k: {\n priority: 70,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'k':\n return parseNumericPattern(numericPatterns.hour24h, string);\n\n case 'ko':\n return match.ordinalNumber(string, {\n unit: 'hour'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 1 && value <= 24;\n },\n set: function (date, _flags, value, _options) {\n var hours = value <= 24 ? value % 24 : value;\n date.setUTCHours(hours, 0, 0, 0);\n return date;\n },\n incompatibleTokens: ['a', 'b', 'h', 'H', 'K', 't', 'T']\n },\n // Minute\n m: {\n priority: 60,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 'm':\n return parseNumericPattern(numericPatterns.minute, string);\n\n case 'mo':\n return match.ordinalNumber(string, {\n unit: 'minute'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 59;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMinutes(value, 0, 0);\n return date;\n },\n incompatibleTokens: ['t', 'T']\n },\n // Second\n s: {\n priority: 50,\n parse: function (string, token, match, _options) {\n switch (token) {\n case 's':\n return parseNumericPattern(numericPatterns.second, string);\n\n case 'so':\n return match.ordinalNumber(string, {\n unit: 'second'\n });\n\n default:\n return parseNDigits(token.length, string);\n }\n },\n validate: function (_date, value, _options) {\n return value >= 0 && value <= 59;\n },\n set: function (date, _flags, value, _options) {\n date.setUTCSeconds(value, 0);\n return date;\n },\n incompatibleTokens: ['t', 'T']\n },\n // Fraction of second\n S: {\n priority: 30,\n parse: function (string, token, _match, _options) {\n var valueCallback = function (value) {\n return Math.floor(value * Math.pow(10, -token.length + 3));\n };\n\n return parseNDigits(token.length, string, valueCallback);\n },\n set: function (date, _flags, value, _options) {\n date.setUTCMilliseconds(value);\n return date;\n },\n incompatibleTokens: ['t', 'T']\n },\n // Timezone (ISO-8601. +00:00 is `'Z'`)\n X: {\n priority: 10,\n parse: function (string, token, _match, _options) {\n switch (token) {\n case 'X':\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);\n\n case 'XX':\n return parseTimezonePattern(timezonePatterns.basic, string);\n\n case 'XXXX':\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);\n\n case 'XXXXX':\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);\n\n case 'XXX':\n default:\n return parseTimezonePattern(timezonePatterns.extended, string);\n }\n },\n set: function (date, flags, value, _options) {\n if (flags.timestampIsSet) {\n return date;\n }\n\n return new Date(date.getTime() - value);\n },\n incompatibleTokens: ['t', 'T', 'x']\n },\n // Timezone (ISO-8601)\n x: {\n priority: 10,\n parse: function (string, token, _match, _options) {\n switch (token) {\n case 'x':\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);\n\n case 'xx':\n return parseTimezonePattern(timezonePatterns.basic, string);\n\n case 'xxxx':\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);\n\n case 'xxxxx':\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);\n\n case 'xxx':\n default:\n return parseTimezonePattern(timezonePatterns.extended, string);\n }\n },\n set: function (date, flags, value, _options) {\n if (flags.timestampIsSet) {\n return date;\n }\n\n return new Date(date.getTime() - value);\n },\n incompatibleTokens: ['t', 'T', 'X']\n },\n // Seconds timestamp\n t: {\n priority: 40,\n parse: function (string, _token, _match, _options) {\n return parseAnyDigitsSigned(string);\n },\n set: function (_date, _flags, value, _options) {\n return [new Date(value * 1000), {\n timestampIsSet: true\n }];\n },\n incompatibleTokens: '*'\n },\n // Milliseconds timestamp\n T: {\n priority: 20,\n parse: function (string, _token, _match, _options) {\n return parseAnyDigitsSigned(string);\n },\n set: function (_date, _flags, value, _options) {\n return [new Date(value), {\n timestampIsSet: true\n }];\n },\n incompatibleTokens: '*'\n }\n};\nexport default parsers;","import defaultLocale from '../locale/en-US/index.js';\nimport subMilliseconds from '../subMilliseconds/index.js';\nimport toDate from '../toDate/index.js';\nimport assign from '../_lib/assign/index.js';\nimport longFormatters from '../_lib/format/longFormatters/index.js';\nimport getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from '../_lib/protectedTokens/index.js';\nimport toInteger from '../_lib/toInteger/index.js';\nimport parsers from './_lib/parsers/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\nvar TIMEZONE_UNIT_PRIORITY = 10; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar notWhitespaceRegExp = /\\S/;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name parse\n * @category Common Helpers\n * @summary Parse the date.\n *\n * @description\n * Return the date parsed from string using the given format string.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters in the format string wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n *\n * Format of the format string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 5 below the table).\n *\n * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited\n * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception:\n *\n * ```javascript\n * parse('23 AM', 'HH a', new Date())\n * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time\n * ```\n *\n * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true\n *\n * Accepted format string patterns:\n * | Unit |Prior| Pattern | Result examples | Notes |\n * |---------------------------------|-----|---------|-----------------------------------|-------|\n * | Era | 140 | G..GGG | AD, BC | |\n * | | | GGGG | Anno Domini, Before Christ | 2 |\n * | | | GGGGG | A, B | |\n * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 |\n * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 |\n * | | | yy | 44, 01, 00, 17 | 4 |\n * | | | yyy | 044, 001, 123, 999 | 4 |\n * | | | yyyy | 0044, 0001, 1900, 2017 | 4 |\n * | | | yyyyy | ... | 2,4 |\n * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 |\n * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 |\n * | | | YY | 44, 01, 00, 17 | 4,6 |\n * | | | YYY | 044, 001, 123, 999 | 4 |\n * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 |\n * | | | YYYYY | ... | 2,4 |\n * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 |\n * | | | RR | -43, 01, 00, 17 | 4,5 |\n * | | | RRR | -043, 001, 123, 999, -999 | 4,5 |\n * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 |\n * | | | RRRRR | ... | 2,4,5 |\n * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 |\n * | | | uu | -43, 01, 99, -99 | 4 |\n * | | | uuu | -043, 001, 123, 999, -999 | 4 |\n * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 |\n * | | | uuuuu | ... | 2,4 |\n * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | |\n * | | | Qo | 1st, 2nd, 3rd, 4th | 5 |\n * | | | QQ | 01, 02, 03, 04 | |\n * | | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | |\n * | | | qo | 1st, 2nd, 3rd, 4th | 5 |\n * | | | qq | 01, 02, 03, 04 | |\n * | | | qqq | Q1, Q2, Q3, Q4 | |\n * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | | qqqqq | 1, 2, 3, 4 | 3 |\n * | Month (formatting) | 110 | M | 1, 2, ..., 12 | |\n * | | | Mo | 1st, 2nd, ..., 12th | 5 |\n * | | | MM | 01, 02, ..., 12 | |\n * | | | MMM | Jan, Feb, ..., Dec | |\n * | | | MMMM | January, February, ..., December | 2 |\n * | | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | |\n * | | | Lo | 1st, 2nd, ..., 12th | 5 |\n * | | | LL | 01, 02, ..., 12 | |\n * | | | LLL | Jan, Feb, ..., Dec | |\n * | | | LLLL | January, February, ..., December | 2 |\n * | | | LLLLL | J, F, ..., D | |\n * | Local week of year | 100 | w | 1, 2, ..., 53 | |\n * | | | wo | 1st, 2nd, ..., 53th | 5 |\n * | | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 |\n * | | | Io | 1st, 2nd, ..., 53th | 5 |\n * | | | II | 01, 02, ..., 53 | 5 |\n * | Day of month | 90 | d | 1, 2, ..., 31 | |\n * | | | do | 1st, 2nd, ..., 31st | 5 |\n * | | | dd | 01, 02, ..., 31 | |\n * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 |\n * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 |\n * | | | DD | 01, 02, ..., 365, 366 | 7 |\n * | | | DDD | 001, 002, ..., 365, 366 | |\n * | | | DDDD | ... | 2 |\n * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | | EEEEE | M, T, W, T, F, S, S | |\n * | | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 |\n * | | | io | 1st, 2nd, ..., 7th | 5 |\n * | | | ii | 01, 02, ..., 07 | 5 |\n * | | | iii | Mon, Tue, Wed, ..., Sun | 5 |\n * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 |\n * | | | iiiii | M, T, W, T, F, S, S | 5 |\n * | | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 5 |\n * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | |\n * | | | eo | 2nd, 3rd, ..., 1st | 5 |\n * | | | ee | 02, 03, ..., 01 | |\n * | | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | | eeeee | M, T, W, T, F, S, S | |\n * | | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | |\n * | | | co | 2nd, 3rd, ..., 1st | 5 |\n * | | | cc | 02, 03, ..., 01 | |\n * | | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | | ccccc | M, T, W, T, F, S, S | |\n * | | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | 80 | a..aaa | AM, PM | |\n * | | | aaaa | a.m., p.m. | 2 |\n * | | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | |\n * | | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | | bbbbb | a, p, n, mi | |\n * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | |\n * | | | BBBB | at night, in the morning, ... | 2 |\n * | | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | |\n * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 |\n * | | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | |\n * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 |\n * | | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | |\n * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 |\n * | | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | |\n * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 |\n * | | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | 60 | m | 0, 1, ..., 59 | |\n * | | | mo | 0th, 1st, ..., 59th | 5 |\n * | | | mm | 00, 01, ..., 59 | |\n * | Second | 50 | s | 0, 1, ..., 59 | |\n * | | | so | 0th, 1st, ..., 59th | 5 |\n * | | | ss | 00, 01, ..., 59 | |\n * | Seconds timestamp | 40 | t | 512969520 | |\n * | | | tt | ... | 2 |\n * | Fraction of second | 30 | S | 0, 1, ..., 9 | |\n * | | | SS | 00, 01, ..., 99 | |\n * | | | SSS | 000, 0001, ..., 999 | |\n * | | | SSSS | ... | 2 |\n * | Milliseconds timestamp | 20 | T | 512969520900 | |\n * | | | TT | ... | 2 |\n * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | |\n * | | | XX | -0800, +0530, Z | |\n * | | | XXX | -08:00, +05:30, Z | |\n * | | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | |\n * | | | xx | -0800, +0530, +0000 | |\n * | | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Long localized date | NA | P | 05/29/1453 | 5,8 |\n * | | | PP | May 29, 1453 | |\n * | | | PPP | May 29th, 1453 | |\n * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 |\n * | Long localized time | NA | p | 12:00 AM | 5,8 |\n * | | | pp | 12:00:00 AM | |\n * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | |\n * | | | PPpp | May 29, 1453, 12:00:00 AM | |\n * | | | PPPpp | May 29th, 1453 at ... | |\n * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular.\n * In `format` function, they will produce different result:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * `parse` will try to match both formatting and stand-alone units interchangably.\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table:\n * - for numerical units (`yyyyyyyy`) `parse` will try to match a number\n * as wide as the sequence\n * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit.\n * These variations are marked with \"2\" in the last column of the table.\n *\n * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 4. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`:\n *\n * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00`\n *\n * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00`\n *\n * while `uu` will just assign the year as is:\n *\n * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00`\n *\n * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00`\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear}\n * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}).\n *\n * 5. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based\n * on the given locale.\n *\n * using `en-US` locale: `P` => `MM/dd/yyyy`\n * using `en-US` locale: `p` => `hh:mm a`\n * using `pt-BR` locale: `P` => `dd/MM/yyyy`\n * using `pt-BR` locale: `p` => `HH:mm`\n *\n * Values will be assigned to the date in the descending order of its unit's priority.\n * Units of an equal priority overwrite each other in the order of appearance.\n *\n * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year),\n * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing.\n *\n * `referenceDate` must be passed for correct work of the function.\n * If you're not sure which `referenceDate` to supply, create a new instance of Date:\n * `parse('02/11/2014', 'MM/dd/yyyy', new Date())`\n * In this case parsing will be done in the context of the current date.\n * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`,\n * then `Invalid Date` will be returned.\n *\n * The result may vary by locale.\n *\n * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned.\n *\n * If parsing failed, `Invalid Date` will be returned.\n * Invalid Date is a Date, whose time value is NaN.\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - Old `parse` was renamed to `toDate`.\n * Now `parse` is a new function which parses a string using a provided format.\n *\n * ```javascript\n * // Before v2.0.0\n * parse('2016-01-01')\n *\n * // v2.0.0 onward\n * toDate('2016-01-01')\n * parse('2016-01-01', 'yyyy-MM-dd', new Date())\n * ```\n *\n * @param {String} dateString - the string to parse\n * @param {String} formatString - the string of tokens\n * @param {Date|Number} referenceDate - defines values missing from the parsed dateString\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {Date} the parsed date\n * @throws {TypeError} 3 arguments required\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} `options.locale` must contain `match` property\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Parse 11 February 2014 from middle-endian format:\n * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date())\n * //=> Tue Feb 11 2014 00:00:00\n *\n * @example\n * // Parse 28th of February in Esperanto locale in the context of 2010 year:\n * import eo from 'date-fns/locale/eo'\n * var result = parse('28-a de februaro', \"do 'de' MMMM\", new Date(2010, 0, 1), {\n * locale: eo\n * })\n * //=> Sun Feb 28 2010 00:00:00\n */\n\nexport default function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, dirtyOptions) {\n requiredArgs(3, arguments);\n var dateString = String(dirtyDateString);\n var formatString = String(dirtyFormatString);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n\n if (!locale.match) {\n throw new RangeError('locale must contain match property');\n }\n\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n if (formatString === '') {\n if (dateString === '') {\n return toDate(dirtyReferenceDate);\n } else {\n return new Date(NaN);\n }\n }\n\n var subFnOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale // If timezone isn't specified, it will be set to the system timezone\n\n };\n var setters = [{\n priority: TIMEZONE_UNIT_PRIORITY,\n subPriority: -1,\n set: dateToSystemTimezone,\n index: 0\n }];\n var i;\n var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, subFnOptions);\n }\n\n return substring;\n }).join('').match(formattingTokensRegExp);\n var usedTokens = [];\n\n for (i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token)) {\n throwProtectedError(token, formatString, dirtyDateString);\n }\n\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {\n throwProtectedError(token, formatString, dirtyDateString);\n }\n\n var firstCharacter = token[0];\n var parser = parsers[firstCharacter];\n\n if (parser) {\n var incompatibleTokens = parser.incompatibleTokens;\n\n if (Array.isArray(incompatibleTokens)) {\n var incompatibleToken = void 0;\n\n for (var _i = 0; _i < usedTokens.length; _i++) {\n var usedToken = usedTokens[_i].token;\n\n if (incompatibleTokens.indexOf(usedToken) !== -1 || usedToken === firstCharacter) {\n incompatibleToken = usedTokens[_i];\n break;\n }\n }\n\n if (incompatibleToken) {\n throw new RangeError(\"The format string mustn't contain `\".concat(incompatibleToken.fullToken, \"` and `\").concat(token, \"` at the same time\"));\n }\n } else if (parser.incompatibleTokens === '*' && usedTokens.length) {\n throw new RangeError(\"The format string mustn't contain `\".concat(token, \"` and any other token at the same time\"));\n }\n\n usedTokens.push({\n token: firstCharacter,\n fullToken: token\n });\n var parseResult = parser.parse(dateString, token, locale.match, subFnOptions);\n\n if (!parseResult) {\n return new Date(NaN);\n }\n\n setters.push({\n priority: parser.priority,\n subPriority: parser.subPriority || 0,\n set: parser.set,\n validate: parser.validate,\n value: parseResult.value,\n index: setters.length\n });\n dateString = parseResult.rest;\n } else {\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n } // Replace two single quote characters with one single quote character\n\n\n if (token === \"''\") {\n token = \"'\";\n } else if (firstCharacter === \"'\") {\n token = cleanEscapedString(token);\n } // Cut token from string, or, if string doesn't match the token, return Invalid Date\n\n\n if (dateString.indexOf(token) === 0) {\n dateString = dateString.slice(token.length);\n } else {\n return new Date(NaN);\n }\n }\n } // Check if the remaining input contains something other than whitespace\n\n\n if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {\n return new Date(NaN);\n }\n\n var uniquePrioritySetters = setters.map(function (setter) {\n return setter.priority;\n }).sort(function (a, b) {\n return b - a;\n }).filter(function (priority, index, array) {\n return array.indexOf(priority) === index;\n }).map(function (priority) {\n return setters.filter(function (setter) {\n return setter.priority === priority;\n }).sort(function (a, b) {\n return b.subPriority - a.subPriority;\n });\n }).map(function (setterArray) {\n return setterArray[0];\n });\n var date = toDate(dirtyReferenceDate);\n\n if (isNaN(date)) {\n return new Date(NaN);\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/37\n\n\n var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));\n var flags = {};\n\n for (i = 0; i < uniquePrioritySetters.length; i++) {\n var setter = uniquePrioritySetters[i];\n\n if (setter.validate && !setter.validate(utcDate, setter.value, subFnOptions)) {\n return new Date(NaN);\n }\n\n var result = setter.set(utcDate, flags, setter.value, subFnOptions); // Result is tuple (date, flags)\n\n if (result[0]) {\n utcDate = result[0];\n assign(flags, result[1]); // Result is date\n } else {\n utcDate = result;\n }\n }\n\n return utcDate;\n}\n\nfunction dateToSystemTimezone(date, flags) {\n if (flags.timestampIsSet) {\n return date;\n }\n\n var convertedDate = new Date(0);\n convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());\n convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());\n return convertedDate;\n}\n\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}","import toDate from '../toDate/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js';\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - Now `isValid` doesn't throw an exception\n * if the first argument is not an instance of Date.\n * Instead, argument is converted beforehand using `toDate`.\n *\n * Examples:\n *\n * | `isValid` argument | Before v2.0.0 | v2.0.0 onward |\n * |---------------------------|---------------|---------------|\n * | `new Date()` | `true` | `true` |\n * | `new Date('2016-01-01')` | `true` | `true` |\n * | `new Date('')` | `false` | `false` |\n * | `new Date(1488370835081)` | `true` | `true` |\n * | `new Date(NaN)` | `false` | `false` |\n * | `'2016-01-01'` | `TypeError` | `false` |\n * | `''` | `TypeError` | `false` |\n * | `1488370835081` | `TypeError` | `true` |\n * | `NaN` | `TypeError` | `false` |\n *\n * We introduce this change to make *date-fns* consistent with ECMAScript behavior\n * that try to coerce arguments to the expected type\n * (which is also the case with other *date-fns* functions).\n *\n * @param {*} date - the date to check\n * @returns {Boolean} the date is valid\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // For the valid date:\n * var result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * var result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * var result = isValid(new Date(''))\n * //=> false\n */\n\nexport default function isValid(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n return !isNaN(date);\n}","export default function addLeadingZeros(number, targetLength) {\n var sign = number < 0 ? '-' : '';\n var output = Math.abs(number).toString();\n\n while (output.length < targetLength) {\n output = '0' + output;\n }\n\n return sign + output;\n}","import addLeadingZeros from '../../addLeadingZeros/index.js';\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n */\n\nvar formatters = {\n // Year\n y: function (date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);\n },\n // Month\n M: function (date, token) {\n var month = date.getUTCMonth();\n return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n // Day of the month\n d: function (date, token) {\n return addLeadingZeros(date.getUTCDate(), token.length);\n },\n // AM or PM\n a: function (date, token) {\n var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';\n\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return dayPeriodEnumValue.toUpperCase();\n\n case 'aaaaa':\n return dayPeriodEnumValue[0];\n\n case 'aaaa':\n default:\n return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';\n }\n },\n // Hour [1-12]\n h: function (date, token) {\n return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);\n },\n // Hour [0-23]\n H: function (date, token) {\n return addLeadingZeros(date.getUTCHours(), token.length);\n },\n // Minute\n m: function (date, token) {\n return addLeadingZeros(date.getUTCMinutes(), token.length);\n },\n // Second\n s: function (date, token) {\n return addLeadingZeros(date.getUTCSeconds(), token.length);\n },\n // Fraction of second\n S: function (date, token) {\n var numberOfDigits = token.length;\n var milliseconds = date.getUTCMilliseconds();\n var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\nexport default formatters;","import toDate from '../../toDate/index.js';\nimport requiredArgs from '../requiredArgs/index.js';\nvar MILLISECONDS_IN_DAY = 86400000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCDayOfYear(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var timestamp = date.getTime();\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n var startOfYearTimestamp = date.getTime();\n var difference = timestamp - startOfYearTimestamp;\n return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;\n}","import lightFormatters from '../lightFormatters/index.js';\nimport getUTCDayOfYear from '../../../_lib/getUTCDayOfYear/index.js';\nimport getUTCISOWeek from '../../../_lib/getUTCISOWeek/index.js';\nimport getUTCISOWeekYear from '../../../_lib/getUTCISOWeekYear/index.js';\nimport getUTCWeek from '../../../_lib/getUTCWeek/index.js';\nimport getUTCWeekYear from '../../../_lib/getUTCWeekYear/index.js';\nimport addLeadingZeros from '../../addLeadingZeros/index.js';\nvar dayPeriodEnum = {\n am: 'am',\n pm: 'pm',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n /*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O | Timezone (GMT) |\n * | p! | Long localized time | P! | Long localized date |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode standard.\n *\n * Letters marked by ! are non-standard, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\n\n};\nvar formatters = {\n // Era\n G: function (date, token, localize) {\n var era = date.getUTCFullYear() > 0 ? 1 : 0;\n\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return localize.era(era, {\n width: 'abbreviated'\n });\n // A, B\n\n case 'GGGGG':\n return localize.era(era, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return localize.era(era, {\n width: 'wide'\n });\n }\n },\n // Year\n y: function (date, token, localize) {\n // Ordinal number\n if (token === 'yo') {\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, {\n unit: 'year'\n });\n }\n\n return lightFormatters.y(date, token);\n },\n // Local week-numbering year\n Y: function (date, token, localize, options) {\n var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year\n\n if (token === 'YY') {\n var twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n } // Ordinal number\n\n\n if (token === 'Yo') {\n return localize.ordinalNumber(weekYear, {\n unit: 'year'\n });\n } // Padding\n\n\n return addLeadingZeros(weekYear, token.length);\n },\n // ISO week-numbering year\n R: function (date, token) {\n var isoWeekYear = getUTCISOWeekYear(date); // Padding\n\n return addLeadingZeros(isoWeekYear, token.length);\n },\n // Extended year. This is a single number designating the year of this calendar system.\n // The main difference between `y` and `u` localizers are B.C. years:\n // | Year | `y` | `u` |\n // |------|-----|-----|\n // | AC 1 | 1 | 1 |\n // | BC 1 | 1 | 0 |\n // | BC 2 | 2 | -1 |\n // Also `yy` always returns the last two digits of a year,\n // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n u: function (date, token) {\n var year = date.getUTCFullYear();\n return addLeadingZeros(year, token.length);\n },\n // Quarter\n Q: function (date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'QQ':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone quarter\n q: function (date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'qq':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Month\n M: function (date, token, localize) {\n var month = date.getUTCMonth();\n\n switch (token) {\n case 'M':\n case 'MM':\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return localize.month(month, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone month\n L: function (date, token, localize) {\n var month = date.getUTCMonth();\n\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return String(month + 1);\n // 01, 02, ..., 12\n\n case 'LL':\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return localize.month(month, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Local week of year\n w: function (date, token, localize, options) {\n var week = getUTCWeek(date, options);\n\n if (token === 'wo') {\n return localize.ordinalNumber(week, {\n unit: 'week'\n });\n }\n\n return addLeadingZeros(week, token.length);\n },\n // ISO week of year\n I: function (date, token, localize) {\n var isoWeek = getUTCISOWeek(date);\n\n if (token === 'Io') {\n return localize.ordinalNumber(isoWeek, {\n unit: 'week'\n });\n }\n\n return addLeadingZeros(isoWeek, token.length);\n },\n // Day of the month\n d: function (date, token, localize) {\n if (token === 'do') {\n return localize.ordinalNumber(date.getUTCDate(), {\n unit: 'date'\n });\n }\n\n return lightFormatters.d(date, token);\n },\n // Day of year\n D: function (date, token, localize) {\n var dayOfYear = getUTCDayOfYear(date);\n\n if (token === 'Do') {\n return localize.ordinalNumber(dayOfYear, {\n unit: 'dayOfYear'\n });\n }\n\n return addLeadingZeros(dayOfYear, token.length);\n },\n // Day of week\n E: function (date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Local day of week\n e: function (date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n\n switch (token) {\n // Numerical value (Nth day of week with current locale or weekStartsOn)\n case 'e':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'ee':\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n\n case 'eo':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n\n case 'eee':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone local day of week\n c: function (date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n\n switch (token) {\n // Numerical value (same as in `e`)\n case 'c':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'cc':\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n\n case 'co':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n\n case 'ccc':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // ISO day of week\n i: function (date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n\n switch (token) {\n // 2\n case 'i':\n return String(isoDayOfWeek);\n // 02\n\n case 'ii':\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n\n case 'io':\n return localize.ordinalNumber(isoDayOfWeek, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'iiiii':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'iiiiii':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'iiii':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM or PM\n a: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'aaaaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaa':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM, PM, midnight, noon\n b: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n }\n\n switch (token) {\n case 'b':\n case 'bb':\n case 'bbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'bbbbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbb':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // in the morning, in the afternoon, in the evening, at night\n B: function (date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'BBBBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBB':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Hour [1-12]\n h: function (date, token, localize) {\n if (token === 'ho') {\n var hours = date.getUTCHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return lightFormatters.h(date, token);\n },\n // Hour [0-23]\n H: function (date, token, localize) {\n if (token === 'Ho') {\n return localize.ordinalNumber(date.getUTCHours(), {\n unit: 'hour'\n });\n }\n\n return lightFormatters.H(date, token);\n },\n // Hour [0-11]\n K: function (date, token, localize) {\n var hours = date.getUTCHours() % 12;\n\n if (token === 'Ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n // Hour [1-24]\n k: function (date, token, localize) {\n var hours = date.getUTCHours();\n if (hours === 0) hours = 24;\n\n if (token === 'ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n // Minute\n m: function (date, token, localize) {\n if (token === 'mo') {\n return localize.ordinalNumber(date.getUTCMinutes(), {\n unit: 'minute'\n });\n }\n\n return lightFormatters.m(date, token);\n },\n // Second\n s: function (date, token, localize) {\n if (token === 'so') {\n return localize.ordinalNumber(date.getUTCSeconds(), {\n unit: 'second'\n });\n }\n\n return lightFormatters.s(date, token);\n },\n // Fraction of second\n S: function (date, token) {\n return lightFormatters.S(date, token);\n },\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n if (timezoneOffset === 0) {\n return 'Z';\n }\n\n switch (token) {\n // Hours and optional minutes\n case 'X':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XX`\n\n case 'XXXX':\n case 'XX':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XXX`\n\n case 'XXXXX':\n case 'XXX': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Hours and optional minutes\n case 'x':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xx`\n\n case 'xxxx':\n case 'xx':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xxx`\n\n case 'xxxxx':\n case 'xxx': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (GMT)\n O: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Short\n case 'O':\n case 'OO':\n case 'OOO':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'OOOO':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (specific non-location)\n z: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Short\n case 'z':\n case 'zz':\n case 'zzz':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'zzzz':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Seconds timestamp\n t: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = Math.floor(originalDate.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n // Milliseconds timestamp\n T: function (date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = originalDate.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\n\nfunction formatTimezoneShort(offset, dirtyDelimiter) {\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n\n if (minutes === 0) {\n return sign + String(hours);\n }\n\n var delimiter = dirtyDelimiter || '';\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\n\nfunction formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {\n if (offset % 60 === 0) {\n var sign = offset > 0 ? '-' : '+';\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n\n return formatTimezone(offset, dirtyDelimiter);\n}\n\nfunction formatTimezone(offset, dirtyDelimiter) {\n var delimiter = dirtyDelimiter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n var minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\n\nexport default formatters;","import isValid from '../isValid/index.js';\nimport defaultLocale from '../locale/en-US/index.js';\nimport subMilliseconds from '../subMilliseconds/index.js';\nimport toDate from '../toDate/index.js';\nimport formatters from '../_lib/format/formatters/index.js';\nimport longFormatters from '../_lib/format/longFormatters/index.js';\nimport getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from '../_lib/protectedTokens/index.js';\nimport toInteger from '../_lib/toInteger/index.js';\nimport requiredArgs from '../_lib/requiredArgs/index.js'; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Standard #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Sun | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Sun | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Sun | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | a..aaa | AM, PM | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bbb | AM, PM, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 01, 02, ..., 11, 00 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 0001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 05/29/1453 | 7 |\n * | | PP | May 29, 1453 | 7 |\n * | | PPP | May 29th, 1453 | 7 |\n * | | PPPP | Sunday, May 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 05/29/1453, 12:00 AM | 7 |\n * | | PPpp | May 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | May 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Sunday, May 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Standard #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The second argument is now required for the sake of explicitness.\n *\n * ```javascript\n * // Before v2.0.0\n * format(new Date(2016, 0, 1))\n *\n * // v2.0.0 onward\n * format(new Date(2016, 0, 1), \"yyyy-MM-dd'T'HH:mm:ss.SSSxxx\")\n * ```\n *\n * - New format string API for `format` function\n * which is based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n * See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.\n *\n * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `date` must not be Invalid Date\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * var result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * var result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, dirtyOptions) {\n requiredArgs(2, arguments);\n var formatStr = String(dirtyFormatStr);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n var originalDate = toDate(dirtyDate);\n\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n\n\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, formatterOptions);\n }\n\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n\n var firstCharacter = substring[0];\n\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n\n var formatter = formatters[firstCharacter];\n\n if (formatter) {\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring, dirtyFormatStr, dirtyDate);\n }\n\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n\n return substring;\n }).join('');\n return result;\n}\n\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateTimePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateTimePicker.vue?vue&type=template&id=51cb9f98&\"\nimport script from \"./DateTimePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DateTimePicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress-wrapper accent\",style:({ height: _vm.height, width: _vm.width })},[_c('div',{staticClass:\"progress-display\",style:({\n height: _vm.progress + '%',\n background: _vm.$vuetify.theme.themes.light.primary,\n })}),_c('span',{staticClass:\"progress-value\",style:({ color: _vm.color, fontSize: _vm.fontSize })},[_vm._v(\" \"+_vm._s(Math.round(_vm.progress))+\"% \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class ProgressFill extends Vue {\r\n @Prop({ default: () => 0 }) progress!: number;\r\n @Prop({ default: () => 100 }) size!: number;\r\n\r\n get height() {\r\n return this.size + \"px\";\r\n }\r\n get width() {\r\n return this.size + \"px\";\r\n }\r\n get fontSize() {\r\n return this.size * 0.3 + \"px\";\r\n }\r\n get color() {\r\n if (this.progress > 50) return \"white\";\r\n else return \"black\";\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProgressFill.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProgressFill.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProgressFill.vue?vue&type=template&id=bc3d3fbc&scoped=true&\"\nimport script from \"./ProgressFill.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProgressFill.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ProgressFill.vue?vue&type=style&index=0&id=bc3d3fbc&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bc3d3fbc\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSlider } from 'vuetify/lib/components/VSlider';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCard,{attrs:{\"elevation\":\"0\"}},[_c(VCardTitle,{staticClass:\"d-flex align-center\"},[_c('div',{staticClass:\"font-weight-bold headline text-truncate flex-1\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"slides.slides\")))])]),_c('div',{staticClass:\"mx-2\"})]),_c(VCardText,{staticClass:\"px-12\"},[_c('div',{staticClass:\"d-flex flex-column align-center\",staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"d-flex justify-center align-center mb-4\",style:({\n width: _vm.currentSlide && _vm.currentSlide.image ? '100%' : '50%',\n })},[(_vm.videoUrl)?_c('div',{staticClass:\"flex-1\"},[_c('SessionVideoPlayer',{staticStyle:{\"max-height\":\"100%\"},attrs:{\"url\":_vm.videoUrl}})],1):_vm._e(),_c('div',{staticStyle:{\"width\":\"12px\"}}),(_vm.currentSlide && _vm.currentSlide.image)?_c('div',{staticClass:\"flex-1\",staticStyle:{\"position\":\"relative\",\"height\":\"90%\"}},[(_vm.currentSlide.image)?_c('img',{key:_vm.currentSlide.image,staticStyle:{\"width\":\"100%\",\"height\":\"90%\",\"object-fit\":\"contain\",\"border\":\"1px solid black\"},attrs:{\"src\":_vm.currentSlide.image,\"alt\":(\"image_slide_\" + (_vm.currentSlide.offset))}}):_vm._e(),_c(VBtn,{staticStyle:{\"bottom\":\"5px\",\"right\":\"0px\"},attrs:{\"icon\":\"\",\"tile\":\"\",\"absolute\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.fullscreen = true}}},[_c(VIcon,[_vm._v(\"mdi-arrow-expand-all\")])],1)],1):_vm._e()]),(_vm.currentSlide && _vm.currentSlide.image)?_c('div',[_c('div',{staticClass:\"text-h6 ml-4 align-center d-flex flex-column\",staticStyle:{\"font-size\":\"22px\"}},[(_vm.currentWpm !== 0)?_c('div',{staticClass:\"mb-1\"},[_c('span',{staticClass:\"main--text ml-1\"},[_vm._v(_vm._s(_vm.$t(\"slides.wpm\"))+\":\")]),_c('span',{staticClass:\"primary--text font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.currentWpm)+\" \")])]):_vm._e(),_c('div',{staticClass:\"mb-1\"},[_c('span',{staticClass:\"main--text ml-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"slides.duration\"))+\": \")]),_c('span',{staticClass:\"primary--text font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.currentDuration)+\" \")])]),_c('div',{staticClass:\"mb-1\"},[_c('span',{staticClass:\"main--text ml-1\"},[_vm._v(\" Current slide: \")]),_c('span',{staticClass:\"primary--text font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.currentSlide.slide + 1)+\"/\"+_vm._s(_vm.slides.length)+\" \")])])])]):_vm._e(),_c(VSlider,{staticStyle:{\"width\":\"100%\"},attrs:{\"min\":\"0\",\"step\":\"0.01\",\"hide-details\":\"\",\"height\":\"10px\",\"color\":\"primary\",\"max\":_vm.totalTime,\"value\":_vm.sliderValue},on:{\"change\":_vm.sliderUpdate}}),_c('div',{staticClass:\"mt-2\",staticStyle:{\"width\":\"100%\",\"height\":\"100px\",\"position\":\"relative\"}},_vm._l((_vm.slides),function(slide,i){return _c('div',{key:i,staticClass:\"slide-image\",style:((\"margin-left: \" + (_vm.imageOffset(slide)) + \"%\")),on:{\"click\":function($event){return _vm.setAudio(slide)}}},[_c('div',{staticClass:\"mb-2 text-center main--text font-weight-bold\"},[_c('span',[_vm._v(_vm._s(slide.offsetFormatted))])]),_c('img',{staticStyle:{\"height\":\"50px\"},attrs:{\"src\":slide.image}})])}),0)],1)]),(_vm.slides.length > 0 && !_vm.currentSlide)?_c(VCardText,[_c('div',[_vm._v(_vm._s(_vm.$t(\"slides.notfound\")))])]):(!_vm.slides.length)?_c(VCardText,[_c('div',[_vm._v(_vm._s(_vm.$t(\"slides.none\")))])]):_vm._e(),(_vm.currentSlide)?_c(VDialog,{attrs:{\"fullscreen\":\"\"},model:{value:(_vm.fullscreen),callback:function ($$v) {_vm.fullscreen=$$v},expression:\"fullscreen\"}},[_c(VCard,{staticClass:\"d-flex\",attrs:{\"elevation\":\"0\",\"tile\":\"\"}},[_c(VBtn,{attrs:{\"icon\":\"\",\"fixed\":\"\",\"top\":\"\",\"right\":\"\"},on:{\"click\":function($event){_vm.fullscreen = false}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1),(_vm.currentSlide.image)?_c('div',{staticStyle:{\"flex\":\"1\",\"display\":\"flex\",\"justify-content\":\"center\"}},[_c('img',{staticStyle:{\"width\":\"100vw\",\"height\":\"100vh\",\"object-fit\":\"contain\"},attrs:{\"src\":_vm.currentSlide.image,\"alt\":(\"image_slide_\" + (_vm.currentSlide.image))}})]):_vm._e()],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Getter, Action } from \"vuex-class\";\r\nimport { Component, Watch } from \"vue-property-decorator\";\r\n\r\nimport { InformationTooltip } from \"./\";\r\nimport type { TranscriptionSlide } from \"@/core/models/sessions\";\r\nimport { SessionVideoPlayer } from \"@/components/common\";\r\nimport { formatFromMilliSeconds } from \"@/core/utils/formatTime\";\r\n\r\n@Component({ components: { InformationTooltip, SessionVideoPlayer } })\r\nexport default class TranscriptionSlides extends Vue {\r\n @Getter(\"currentSession/videoUrl\") videoUrl!: string;\r\n @Getter(\"currentSession/currentSlide\") currentSlide!: TranscriptionSlide;\r\n @Getter(\"currentSession/slides\") slidesBase!: TranscriptionSlide[];\r\n @Getter(\"audio/time\") audioTime!: number;\r\n @Getter(\"audio/total\") totalTime!: number;\r\n @Getter(\"audio/progress\") progress!: number;\r\n @Action(\"audio/setProgress\") setProgress!: Function;\r\n @Action(\"audio/updateTime\") updateTime!: (t: number) => void;\r\n\r\n get slides() {\r\n return this.slidesBase.map(x => ({\r\n ...x,\r\n offsetFormatted: formatFromMilliSeconds(x.offset),\r\n }));\r\n }\r\n\r\n sliderValue = 0;\r\n fullscreen = false;\r\n @Watch(\"audioTime\", { immediate: true })\r\n timeupdate() {\r\n if (Math.abs(this.audioTime - this.sliderValue) > 0.05)\r\n this.sliderValue = this.audioTime;\r\n }\r\n sliderUpdate(value: number) {\r\n if (Math.abs(this.sliderValue - value) < 0.01) return;\r\n this.sliderValue = value;\r\n const progress = value / this.totalTime;\r\n this.setProgress(progress);\r\n this.updateTime(value);\r\n\r\n const isPlaying = this.$store.getters[\"audio/isPlaying\"];\r\n console.log(`isPlaying status: ${isPlaying}`);\r\n\r\n if (!isPlaying) this.$store.dispatch(\"audio/play\");\r\n }\r\n setAudio(slide: TranscriptionSlide) {\r\n const newTime = slide.offset / 1000;\r\n this.updateTime(newTime);\r\n this.sliderValue = newTime;\r\n this.setProgress(newTime / this.totalTime);\r\n const isPlaying = this.$store.getters[\"audio/isPlaying\"];\r\n if (isPlaying) {\r\n this.$store.dispatch(\"audio/pause\");\r\n this.$store.dispatch(\"audio/play\");\r\n }\r\n }\r\n imageOffset(slide: TranscriptionSlide) {\r\n const offset = slide.offset / (this.totalTime * 1000);\r\n const res = offset * 100 + 0.7;\r\n return res > 100 ? 100 : res;\r\n }\r\n get currentStart() {\r\n const start = this.currentSlide.offset || 0;\r\n return formatFromMilliSeconds(start);\r\n }\r\n get currentEnd() {\r\n const end =\r\n (this.currentSlide.offset || 0) + (this.currentSlide.duration || 0);\r\n return formatFromMilliSeconds(end);\r\n }\r\n get currentDuration() {\r\n return formatFromMilliSeconds(this.currentSlide.duration || 0);\r\n }\r\n get currentWpm() {\r\n const wpm = this.currentSlide.wpm || 0;\r\n return Math.round(wpm);\r\n }\r\n get currentPitch() {\r\n const pitch = this.currentSlide.avgPitch || 0;\r\n return Math.round(pitch * 100) / 100;\r\n }\r\n get currentVolume() {\r\n const volume = this.currentSlide?.avgVolume || 0;\r\n return Math.round(volume * 100 * 100) / 100;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TranscriptionSlides.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TranscriptionSlides.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TranscriptionSlides.vue?vue&type=template&id=5c997055&\"\nimport script from \"./TranscriptionSlides.vue?vue&type=script&lang=ts&\"\nexport * from \"./TranscriptionSlides.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VDialog,{attrs:{\"top\":\"\",\"max-width\":\"1000px\",\"transition\":\"slide-y-reverse-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.getVideo}},on),[_c(VIcon,[_vm._v(\"mdi-video-outline\")])],1)]}}]),model:{value:(_vm.open),callback:function ($$v) {_vm.open=$$v},expression:\"open\"}},[(_vm.video)?_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_vm._v(_vm._s(_vm.video.title))]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.open = false}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardText,[_c('VideoPlayer',{attrs:{\"id\":(\"how-to-video-\" + _vm.id),\"url\":_vm.video.video.uri,\"should-play\":_vm.shouldPlay,\"should-stop\":_vm.shouldStop},on:{\"update:shouldPlay\":function($event){_vm.shouldPlay=$event},\"update:should-play\":function($event){_vm.shouldPlay=$event},\"update:shouldStop\":function($event){_vm.shouldStop=$event},\"update:should-stop\":function($event){_vm.shouldStop=$event}}})],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport api from \"@/core/utils/api\";\r\nimport { HowToVideo } from \"@/core/models\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\n\r\n@Component({ components: { VideoPlayer } })\r\nexport default class VideoItem extends Vue {\r\n @Prop({ default: () => 0 }) id!: number;\r\n open = false;\r\n loading = false;\r\n hasLoaded = false;\r\n shouldStop = false;\r\n shouldPlay = false;\r\n video: HowToVideo | null = null;\r\n\r\n async getVideo() {\r\n if (this.hasLoaded) return;\r\n this.loading = true;\r\n try {\r\n const end = `/api/Showcase/${this.id}`;\r\n const video = (await api.get(end)) as HowToVideo;\r\n this.video = video;\r\n this.hasLoaded = true;\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.loading = false;\r\n }\r\n\r\n @Watch(\"loading\")\r\n loadingChanged() {\r\n if (!this.loading && this.hasLoaded) this.shouldPlay = true;\r\n }\r\n\r\n @Watch(\"open\")\r\n openChanged() {\r\n if (this.open) this.shouldPlay = true;\r\n else this.shouldStop = true;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HowToPopup.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HowToPopup.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HowToPopup.vue?vue&type=template&id=53bd2259&\"\nimport script from \"./HowToPopup.vue?vue&type=script&lang=ts&\"\nexport * from \"./HowToPopup.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"100%\"}},[(_vm.lookupWords && _vm.lookupWords.length > 0)?_c('div',{staticClass:\"d-flex flex-column\",staticStyle:{\"height\":\"100%\"}},[_c('div',[_c(VTextField,{attrs:{\"outlined\":\"\",\"placeholder\":_vm.$t('lookup.enter'),\"hide-details\":\"\"},model:{value:(_vm.filter),callback:function ($$v) {_vm.filter=$$v},expression:\"filter\"}}),_c('div',{staticClass:\"d-flex mt-2 mb-2\"},[_c('span',[_vm._v(_vm._s(_vm.filterText))]),_c(VSpacer),_c(VCheckbox,{staticClass:\"my-0 py-0\",attrs:{\"dense\":\"\",\"hide-details\":\"\",\"label\":_vm.$t('lookup.exact')},model:{value:(_vm.exact),callback:function ($$v) {_vm.exact=$$v},expression:\"exact\"}})],1)],1),(_vm.showButton)?_c('div',{staticClass:\"d-flex mb-4\"},[_c(VSpacer),_c(VBtn,{attrs:{\"small\":\"\",\"text\":\"\"},on:{\"click\":function($event){_vm.showFull = !_vm.showFull}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(_vm._s(_vm.showFull ? \"mdi-chevron-up\" : \"mdi-chevron-down\"))]),_c('span',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(_vm._s(_vm.showFull ? _vm.$t(\"lookup.hide\") : _vm.$t(\"lookup.show\")))])],1)],1):_vm._e(),_c('div',{staticClass:\"d-flex\",staticStyle:{\"flex-wrap\":\"wrap\",\"max-height\":\"150px\",\"overflow\":\"auto\"}},_vm._l((_vm.words),function(word,i){return _c('SingleWord',{key:i,attrs:{\"word\":word}})}),1),_c('div',{staticClass:\"flex-1\"}),_c('div',{staticClass:\"mt-4\",staticStyle:{\"display\":\"flex\",\"flex-wrap\":\"wrap\"}},[(_vm.hasDefault)?_c(VBtn,{staticClass:\"d-flex mr-2\",staticStyle:{\"font-size\":\"12px\"},attrs:{\"text\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.toggleType('default')}}},[_c('div',{staticClass:\"square primary\"}),(_vm.ignoreTypes.includes('default'))?_c('strike',[_vm._v(\" \"+_vm._s(_vm.$t(\"words.normal\"))+\" \")]):_c('span',[_vm._v(_vm._s(_vm.$t(\"words.normal\")))])],1):_vm._e(),(_vm.hasStop)?_c(VBtn,{staticClass:\"d-flex mr-2\",staticStyle:{\"font-size\":\"12px\"},attrs:{\"text\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.toggleType('stop_word')}}},[_c('div',{staticClass:\"square darkgray\"}),(_vm.ignoreTypes.includes('stop_word'))?_c('strike',[_vm._v(\" \"+_vm._s(_vm.$t(\"words.stop\"))+\" \")]):_c('span',[_vm._v(_vm._s(_vm.$t(\"words.stop\")))])],1):_vm._e(),(_vm.hasFiller)?_c(VBtn,{staticClass:\"d-flex\",staticStyle:{\"font-size\":\"12px\"},attrs:{\"text\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.toggleType('filler_word')}}},[_c('div',{staticClass:\"square prezpRed\"}),(_vm.ignoreTypes.includes('filler_word'))?_c('strike',[_vm._v(\" \"+_vm._s(_vm.$t(\"words.filler\"))+\" \")]):_c('span',[_vm._v(_vm._s(_vm.$t(\"words.filler\")))])],1):_vm._e()],1)]):_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"justify-content\":\"center\"}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"lookup.missing\")))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"word-container\"},[_c('div',{class:(\"word \" + _vm.color)},[_vm._v(_vm._s(_vm.text))]),(_vm.showCount)?_c('div',{staticClass:\"count\"},[_vm._v(_vm._s(_vm.count))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport { LookupWordType } from \"@/core/models/sessions\";\r\nimport type { LookupWord } from \"@/core/models/sessions\";\r\n\r\n@Component\r\nexport default class SingleWord extends Vue {\r\n @Prop({ default: () => ({} as LookupWord) }) word!: LookupWord;\r\n\r\n get color() {\r\n const { type } = this.word;\r\n switch (type) {\r\n case LookupWordType.stop:\r\n return \"darkgray\";\r\n case LookupWordType.filler:\r\n return \"prezpRed\";\r\n default:\r\n case LookupWordType.default:\r\n return \"primary\";\r\n }\r\n }\r\n get text() {\r\n return this.word.text;\r\n }\r\n get count() {\r\n return this.word.occurrences;\r\n }\r\n get showCount() {\r\n return this.word.occurrences > 1;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleWord.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleWord.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SingleWord.vue?vue&type=template&id=a2565ca0&scoped=true&\"\nimport script from \"./SingleWord.vue?vue&type=script&lang=ts&\"\nexport * from \"./SingleWord.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SingleWord.vue?vue&type=style&index=0&id=a2565ca0&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a2565ca0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport SingleWord from \"./SingleWord.vue\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\n\r\nimport { LookupWord, LookupWordType } from \"@/core/models/sessions\";\r\n\r\n@Component({ components: { SingleWord } })\r\nexport default class WordSearch extends Vue {\r\n @Prop({ default: () => [] }) lookupWords!: LookupWord[];\r\n\r\n filter = \"\";\r\n exact = false;\r\n showFull = false;\r\n showButton = true;\r\n ignoreTypes: LookupWordType[] = [];\r\n toggleType(type: LookupWordType) {\r\n if (this.ignoreTypes.includes(type))\r\n this.ignoreTypes = this.ignoreTypes.filter(x => x !== type);\r\n else this.ignoreTypes.push(type);\r\n }\r\n get filterText() {\r\n const start = this.$t(\"lookup.start\");\r\n const ftext = this.$t(\"lookup.filter\");\r\n if (!this.filter) return start;\r\n return `${ftext} ${this.filter}`;\r\n }\r\n get words() {\r\n const allWords = this.lookupWords.filter(\r\n x => !this.ignoreTypes.includes(x.type),\r\n );\r\n const filtered = this.filter\r\n ? this.exact\r\n ? allWords.filter(x => x.text === this.filter)\r\n : allWords.filter(x => x.text.toLowerCase().includes(this.filter))\r\n : allWords;\r\n\r\n if (filtered.length < 15) this.showButton = false;\r\n else this.showButton = true;\r\n return this.showFull ? filtered : filtered.slice(0, 15);\r\n }\r\n\r\n get hasDefault() {\r\n const type = LookupWordType.default;\r\n return (\r\n this.words.some(x => x.type === type) || this.ignoreTypes.includes(type)\r\n );\r\n }\r\n get hasStop() {\r\n const type = LookupWordType.stop;\r\n return (\r\n this.words.some(x => x.type === type) || this.ignoreTypes.includes(type)\r\n );\r\n }\r\n get hasFiller() {\r\n const type = LookupWordType.filler;\r\n return (\r\n this.words.some(x => x.type === type) || this.ignoreTypes.includes(type)\r\n );\r\n }\r\n\r\n @Watch(\"lookupWords\", { immediate: true })\r\n wordsChanged() {\r\n this.showButton = true;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WordSearch.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WordSearch.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./WordSearch.vue?vue&type=template&id=55752846&scoped=true&\"\nimport script from \"./WordSearch.vue?vue&type=script&lang=ts&\"\nexport * from \"./WordSearch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./WordSearch.vue?vue&type=style&index=0&id=55752846&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"55752846\",\n null\n \n)\n\nexport default component.exports","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c(VRow,[_c(VCol,[_c('h3',{staticClass:\"my-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.title\"))+\" \")]),_c('div',{staticStyle:{\"position\":\"relative\",\"overflow\":\"hidden\"}},[_c('div',{staticClass:\"video_recorder__wrapper\"},[_c('video',{class:{ video_recorder__flipped: _vm.flipped },attrs:{\"id\":\"video\",\"playsinline\":\"\",\"controls\":\"\"}})]),(_vm.isRecording)?_c('div',{staticClass:\"video_recorder__indicator\"},[_c('div',{staticClass:\"dot\"}),_c('span',[_vm._v(\"REC\")])]):_vm._e(),_c('div',{staticClass:\"video_recorder__timer\",class:{ overtime: _vm.isTimed && _vm.elapsedTime > _vm.expectedLen }},[_vm._v(\" \"+_vm._s(_vm.elapsedTime)+\"s \")])])])],1),_c(VRow,[_c(VCol,[_c('h4',{staticClass:\"mt-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.actions\"))+\" \")]),(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"global.loading\")))]):_c('div',{staticClass:\"mt-2\"},[_c('div',{staticClass:\"d-flex flex-wrap\"},[(!_vm.isRecording || _vm.isPaused)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":function () { return (_vm.isPaused ? _vm.resume() : _vm.start()); }}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-record\")]),_c('span',[_vm._v(_vm._s(_vm.isPaused ? _vm.$t(\"seminars.submissions.videoRecorder.resume\") : _vm.$t(\"seminars.submissions.videoRecorder.start\")))])],1):_vm._e(),(_vm.isRecording && !_vm.isPaused)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.pause}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-pause\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.pause\")))])],1):_vm._e(),(_vm.isRecording)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.stop}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-stop\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.stop\")))])],1):_vm._e(),(_vm.isActive && !_vm.isRecording)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.upload}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-upload\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.uploadFeedback\")))])],1):_vm._e(),(_vm.isActive && !_vm.isRecording)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.reset}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-restore\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.reset\")))])],1):_vm._e(),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.flipped = !_vm.flipped}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-flip-horizontal\")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.flipVideo\"))+\" \")])],1),(!_vm.isRecording)?_c('div',{staticClass:\"mt-4 d-flex\"},[_c('DeviceSelect',{attrs:{\"type\":\"audio\"}}),_c('div',{staticClass:\"mx-2\"}),_c('DeviceSelect',{attrs:{\"type\":\"video\"}})],1):_vm._e()],1),(_vm.isTimed)?_c('div',{staticClass:\"mt-4\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.expectedTime\"))+\" \"),_c('b',[_vm._v(_vm._s(_vm.expectedLen)+\"s\")])]),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.maxAllowedTime\"))+\" \"),_c('b',[_vm._v(_vm._s(_vm.maxLen)+\"s\")])])]):_vm._e()])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport Recorder from \"@/core/utils/videoRecorder\";\r\nimport DeviceSelect from \"@/views/recorder/components/DeviceSelect.vue\";\r\nimport { Action } from \"vuex-class\";\r\n\r\n@Component({ components: { DeviceSelect } })\r\nexport default class VideoRecorderWithBottomToolbar extends Vue {\r\n @Prop({ default: () => false }) isTimed!: boolean;\r\n @Prop({ default: () => 0 }) expectedLen!: number;\r\n @Prop({ default: () => 0 }) maxLen!: number;\r\n @Prop({ default: () => false }) loading!: boolean;\r\n @Prop({ default: () => true }) canShare!: boolean;\r\n @Prop({ default: () => true }) canAskForFeedback!: boolean;\r\n @Prop({ default: () => false }) defaultShared!: boolean;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n recorder: Recorder = new Recorder();\r\n video: HTMLVideoElement | undefined;\r\n blob: Blob | undefined;\r\n isRecording = false;\r\n isPaused = false;\r\n isActive = false;\r\n flipped = false;\r\n\r\n // time controls\r\n elapsedTime = 0;\r\n interval: any = null;\r\n timeout: any = null;\r\n\r\n startTimeout() {\r\n this.timeout = setTimeout(\r\n this.stop,\r\n (this.maxLen - this.elapsedTime) * 1000,\r\n );\r\n }\r\n\r\n startTimer() {\r\n this.interval = setInterval(() => {\r\n this.elapsedTime += 1;\r\n }, 1 * 1000);\r\n }\r\n\r\n stopTimeout() {\r\n clearTimeout(this.timeout);\r\n }\r\n\r\n stopTimer() {\r\n clearInterval(this.interval);\r\n }\r\n\r\n async start() {\r\n if (!this.video) return;\r\n\r\n const stream = await this.recorder.start(\r\n {\r\n onError: (errorMessage: string) => this.displaySnackbar(errorMessage),\r\n },\r\n true,\r\n );\r\n if (!stream) return;\r\n this.video.removeAttribute(\"src\");\r\n this.video.srcObject = stream;\r\n this.video.play();\r\n this.video.muted = true;\r\n this.video.controls = false;\r\n this.isRecording = true;\r\n this.isActive = true;\r\n\r\n if (this.isTimed) this.startTimeout();\r\n this.startTimer();\r\n }\r\n\r\n pause() {\r\n this.recorder.pause();\r\n this.isPaused = true;\r\n this.stopTimer();\r\n if (this.isTimed) this.stopTimeout();\r\n }\r\n\r\n resume() {\r\n this.recorder.resume();\r\n this.isPaused = false;\r\n this.startTimer();\r\n if (this.isTimed) this.startTimeout();\r\n }\r\n\r\n stop() {\r\n this.recorder.stop().then(blob => {\r\n if (!this.video || !blob) return;\r\n this.blob = blob.videoBlob;\r\n this.video.muted = false;\r\n (this.video.srcObject as null | MediaStream) = null;\r\n this.video.controls = true;\r\n this.video.src = URL.createObjectURL(this.blob!);\r\n this.isRecording = false;\r\n this.isPaused = false;\r\n\r\n if (this.isTimed) this.stopTimeout();\r\n this.stopTimer();\r\n this.elapsedTime = 0;\r\n });\r\n }\r\n\r\n reset() {\r\n this.recorder.stop();\r\n this.recorder.reset();\r\n this.isActive = false;\r\n if (!this.video) return;\r\n this.video.muted = true;\r\n this.video.pause();\r\n this.video.currentTime = 0;\r\n this.video.removeAttribute(\"src\");\r\n (this.video.srcObject as null | MediaStream) = null;\r\n this.isRecording = false;\r\n this.elapsedTime = 0;\r\n this.stopTimer();\r\n if (this.isTimed) this.stopTimeout();\r\n }\r\n\r\n uploadDialog = false;\r\n\r\n openUpload() {\r\n this.uploadDialog = true;\r\n }\r\n\r\n upload() {\r\n if (!this.blob) return;\r\n this.$emit(\"upload\", {\r\n blob: this.blob,\r\n });\r\n this.cancelUpload();\r\n }\r\n\r\n cancelUpload() {\r\n this.uploadDialog = false;\r\n this.reset();\r\n }\r\n\r\n mounted() {\r\n this.video = document.getElementById(\"video\") as HTMLVideoElement;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VideoRecorderWithBottomToolbar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VideoRecorderWithBottomToolbar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VideoRecorderWithBottomToolbar.vue?vue&type=template&id=0a79f2be&\"\nimport script from \"./VideoRecorderWithBottomToolbar.vue?vue&type=script&lang=ts&\"\nexport * from \"./VideoRecorderWithBottomToolbar.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './VDatePickerTitle.sass'\n\n// Components\nimport VIcon from '../VIcon'\n\n// Mixins\nimport PickerButton from '../../mixins/picker-button'\n\n// Utils\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\nexport default mixins(\n PickerButton\n/* @vue/component */\n).extend({\n name: 'v-date-picker-title',\n\n props: {\n date: {\n type: String,\n default: '',\n },\n disabled: Boolean,\n readonly: Boolean,\n selectingYear: Boolean,\n value: {\n type: String,\n },\n year: {\n type: [Number, String],\n default: '',\n },\n yearIcon: {\n type: String,\n },\n },\n\n data: () => ({\n isReversing: false,\n }),\n\n computed: {\n computedTransition (): string {\n return this.isReversing ? 'picker-reverse-transition' : 'picker-transition'\n },\n },\n\n watch: {\n value (val: string, prev: string) {\n this.isReversing = val < prev\n },\n },\n\n methods: {\n genYearIcon (): VNode {\n return this.$createElement(VIcon, {\n props: {\n dark: true,\n },\n }, this.yearIcon)\n },\n getYearBtn (): VNode {\n return this.genPickerButton('selectingYear', true, [\n String(this.year),\n this.yearIcon ? this.genYearIcon() : null,\n ], false, 'v-date-picker-title__year')\n },\n genTitleText (): VNode {\n return this.$createElement('transition', {\n props: {\n name: this.computedTransition,\n },\n }, [\n this.$createElement('div', {\n domProps: { innerHTML: this.date || ' ' },\n key: this.value,\n }),\n ])\n },\n genTitleDate (): VNode {\n return this.genPickerButton('selectingYear', false, [this.genTitleText()], false, 'v-date-picker-title__date')\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-date-picker-title',\n class: {\n 'v-date-picker-title--disabled': this.disabled,\n },\n }, [\n this.getYearBtn(),\n this.genTitleDate(),\n ])\n },\n})\n","import Vue from 'vue'\n\nexport default Vue.extend({\n name: 'localable',\n\n props: {\n locale: String,\n },\n\n computed: {\n currentLocale (): string {\n return this.locale || this.$vuetify.lang.current\n },\n },\n})\n","import pad from './pad'\nimport { DatePickerFormatter } from 'vuetify/types'\n\ninterface SubstrOptions {\n start?: number\n length: number\n}\n\nfunction createNativeLocaleFormatter (\n local: string | undefined,\n options: Intl.DateTimeFormatOptions\n): DatePickerFormatter | undefined\n\nfunction createNativeLocaleFormatter (\n local: string | undefined,\n options: Intl.DateTimeFormatOptions,\n substrOptions: SubstrOptions\n): DatePickerFormatter\n\nfunction createNativeLocaleFormatter (\n locale: string | undefined,\n options: Intl.DateTimeFormatOptions,\n substrOptions: SubstrOptions = { start: 0, length: 0 }\n): DatePickerFormatter | undefined {\n const makeIsoString = (dateString: string) => {\n const [year, month, date] = dateString.trim().split(' ')[0].split('-')\n return [pad(year, 4), pad(month || 1), pad(date || 1)].join('-')\n }\n\n try {\n const intlFormatter = new Intl.DateTimeFormat(locale || undefined, options)\n return (dateString: string) => intlFormatter.format(new Date(`${makeIsoString(dateString)}T00:00:00+00:00`))\n } catch (e) {\n return (substrOptions.start || substrOptions.length)\n ? (dateString: string) => makeIsoString(dateString).substr(substrOptions.start || 0, substrOptions.length)\n : undefined\n }\n}\n\nexport default createNativeLocaleFormatter\n","import pad from './pad'\n\n/**\n * @param {String} value YYYY-MM format\n * @param {Number} sign -1 or +1\n */\nexport default (value: string, sign: number) => {\n const [year, month] = value.split('-').map(Number)\n\n if (month + sign === 0) {\n return `${year - 1}-12`\n } else if (month + sign === 13) {\n return `${year + 1}-01`\n } else {\n return `${year}-${pad(month + sign)}`\n }\n}\n","import './VDatePickerHeader.sass'\n\n// Components\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Localable from '../../mixins/localable'\nimport Themeable from '../../mixins/themeable'\n\n// Utils\nimport { createNativeLocaleFormatter, monthChange } from './util'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, PropType } from 'vue'\nimport { DatePickerFormatter } from 'vuetify/types'\n\nexport default mixins(\n Colorable,\n Localable,\n Themeable\n/* @vue/component */\n).extend({\n name: 'v-date-picker-header',\n\n props: {\n disabled: Boolean,\n format: Function as PropType,\n min: String,\n max: String,\n nextAriaLabel: String,\n nextIcon: {\n type: String,\n default: '$next',\n },\n prevAriaLabel: String,\n prevIcon: {\n type: String,\n default: '$prev',\n },\n readonly: Boolean,\n value: {\n type: [Number, String],\n required: true,\n },\n },\n\n data () {\n return {\n isReversing: false,\n }\n },\n\n computed: {\n formatter (): DatePickerFormatter {\n if (this.format) {\n return this.format\n } else if (String(this.value).split('-')[1]) {\n return createNativeLocaleFormatter(this.currentLocale, { month: 'long', year: 'numeric', timeZone: 'UTC' }, { length: 7 })\n } else {\n return createNativeLocaleFormatter(this.currentLocale, { year: 'numeric', timeZone: 'UTC' }, { length: 4 })\n }\n },\n },\n\n watch: {\n value (newVal, oldVal) {\n this.isReversing = newVal < oldVal\n },\n },\n\n methods: {\n genBtn (change: number) {\n const ariaLabelId = change > 0 ? this.nextAriaLabel : this.prevAriaLabel\n const ariaLabel = ariaLabelId ? this.$vuetify.lang.t(ariaLabelId) : undefined\n const disabled = this.disabled ||\n (change < 0 && this.min && this.calculateChange(change) < this.min) ||\n (change > 0 && this.max && this.calculateChange(change) > this.max)\n\n return this.$createElement(VBtn, {\n attrs: { 'aria-label': ariaLabel },\n props: {\n dark: this.dark,\n disabled,\n icon: true,\n light: this.light,\n },\n on: {\n click: (e: Event) => {\n e.stopPropagation()\n this.$emit('input', this.calculateChange(change))\n },\n },\n }, [\n this.$createElement(VIcon, ((change < 0) === !this.$vuetify.rtl) ? this.prevIcon : this.nextIcon),\n ])\n },\n calculateChange (sign: number) {\n const [year, month] = String(this.value).split('-').map(Number)\n\n if (month == null) {\n return `${year + sign}`\n } else {\n return monthChange(String(this.value), sign)\n }\n },\n genHeader () {\n const color = !this.disabled && (this.color || 'accent')\n const header = this.$createElement('div', this.setTextColor(color, {\n key: String(this.value),\n }), [this.$createElement('button', {\n attrs: {\n type: 'button',\n },\n on: {\n click: () => this.$emit('toggle'),\n },\n }, [this.$slots.default || this.formatter(String(this.value))])])\n\n const transition = this.$createElement('transition', {\n props: {\n name: (this.isReversing === !this.$vuetify.rtl) ? 'tab-reverse-transition' : 'tab-transition',\n },\n }, [header])\n\n return this.$createElement('div', {\n staticClass: 'v-date-picker-header__value',\n class: {\n 'v-date-picker-header__value--disabled': this.disabled,\n },\n }, [transition])\n },\n },\n\n render (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-date-picker-header',\n class: {\n 'v-date-picker-header--disabled': this.disabled,\n ...this.themeClasses,\n },\n }, [\n this.genBtn(-1),\n this.genHeader(),\n this.genBtn(+1),\n ])\n },\n})\n","import Vue from 'vue'\n\nexport function createItemTypeNativeListeners (instance: Vue, itemTypeSuffix: string, value: any) {\n return Object.keys(instance.$listeners).reduce((on, eventName) => {\n if (eventName.endsWith(itemTypeSuffix)) {\n on[eventName.slice(0, -itemTypeSuffix.length)] = (event: Event) => instance.$emit(eventName, value, event)\n }\n\n return on\n }, {} as typeof instance.$listeners)\n}\n\nexport function createItemTypeListeners (instance: Vue, itemTypeSuffix: string) {\n return Object.keys(instance.$listeners).reduce((on, eventName) => {\n if (eventName.endsWith(itemTypeSuffix)) {\n on[eventName] = instance.$listeners[eventName]\n }\n\n return on\n }, {} as typeof instance.$listeners)\n}\n","// Adds leading zero to month/day if necessary, returns 'YYYY' if type = 'year',\n// 'YYYY-MM' if 'month' and 'YYYY-MM-DD' if 'date'\nimport pad from './pad'\n\nexport default (dateString: string, type: 'date' | 'month' | 'year'): string => {\n const [year, month = 1, date = 1] = dateString.split('-')\n return `${year}-${pad(month)}-${pad(date)}`.substr(0, { date: 10, month: 7, year: 4 }[type])\n}\n","import { DatePickerAllowedDatesFunction } from 'vuetify/types'\n\nexport default function isDateAllowed (date: string, min: string, max: string, allowedFn: DatePickerAllowedDatesFunction | undefined) {\n return (!allowedFn || allowedFn(date)) &&\n (!min || date >= min.substr(0, 10)) &&\n (!max || date <= max)\n}\n","import '../VDatePickerTable.sass'\n\n// Directives\nimport Touch from '../../../directives/touch'\n\n// Mixins\nimport Colorable from '../../../mixins/colorable'\nimport Localable from '../../../mixins/localable'\nimport Themeable from '../../../mixins/themeable'\n\n// Utils\nimport { createItemTypeNativeListeners, sanitizeDateString } from '../util'\nimport isDateAllowed from '../util/isDateAllowed'\nimport { mergeListeners } from '../../../util/mergeData'\nimport mixins from '../../../util/mixins'\nimport { throttle } from '../../../util/helpers'\n\n// Types\nimport {\n PropType,\n VNodeChildren,\n} from 'vue'\nimport { PropValidator } from 'vue/types/options'\nimport {\n DatePickerAllowedDatesFunction,\n DatePickerEventColors,\n DatePickerEventColorValue,\n DatePickerEvents,\n DatePickerFormatter,\n TouchWrapper,\n} from 'vuetify/types'\n\ntype CalculateTableDateFunction = (v: number) => string\n\nexport default mixins(\n Colorable,\n Localable,\n Themeable\n/* @vue/component */\n).extend({\n directives: { Touch },\n\n props: {\n allowedDates: Function as PropType,\n current: String,\n disabled: Boolean,\n format: Function as PropType,\n events: {\n type: [Array, Function, Object],\n default: () => null,\n } as PropValidator,\n eventColor: {\n type: [Array, Function, Object, String],\n default: () => 'warning',\n } as PropValidator,\n min: String,\n max: String,\n range: Boolean,\n readonly: Boolean,\n scrollable: Boolean,\n tableDate: {\n type: String,\n required: true,\n },\n value: [String, Array] as PropType,\n },\n\n data: () => ({\n isReversing: false,\n wheelThrottle: null as any,\n }),\n\n computed: {\n computedTransition (): string {\n return (this.isReversing === !this.$vuetify.rtl) ? 'tab-reverse-transition' : 'tab-transition'\n },\n displayedMonth (): number {\n return Number(this.tableDate.split('-')[1]) - 1\n },\n displayedYear (): number {\n return Number(this.tableDate.split('-')[0])\n },\n },\n\n watch: {\n tableDate (newVal: string, oldVal: string) {\n this.isReversing = newVal < oldVal\n },\n },\n\n mounted () {\n this.wheelThrottle = throttle(this.wheel, 250)\n },\n\n methods: {\n genButtonClasses (\n isAllowed: boolean,\n isFloating: boolean,\n isSelected: boolean,\n isCurrent: boolean,\n isFirst: boolean,\n isLast: boolean,\n ) {\n return {\n 'v-size--default': !isFloating,\n 'v-date-picker-table__current': isCurrent,\n 'v-btn--active': isSelected,\n 'v-btn--flat': !isAllowed || this.disabled,\n 'v-btn--text': isSelected === isCurrent,\n 'v-btn--rounded': isFloating,\n 'v-btn--disabled': !isAllowed || this.disabled,\n 'v-btn--outlined': isCurrent && !isSelected,\n 'v-date-picker--first-in-range': isFirst,\n 'v-date-picker--last-in-range': isLast,\n ...this.themeClasses,\n }\n },\n genButtonEvents (value: string, isAllowed: boolean, mouseEventType: string) {\n if (this.disabled) return undefined\n\n return mergeListeners({\n click: () => {\n if (isAllowed && !this.readonly) this.$emit('input', value)\n },\n }, createItemTypeNativeListeners(this, `:${mouseEventType}`, value))\n },\n genButton (value: string, isFloating: boolean, mouseEventType: string, formatter: DatePickerFormatter, isOtherMonth = false) {\n const isAllowed = isDateAllowed(value, this.min, this.max, this.allowedDates)\n const isSelected = this.isSelected(value) && isAllowed\n const isCurrent = value === this.current\n const setColor = isSelected ? this.setBackgroundColor : this.setTextColor\n const color = (isSelected || isCurrent) && (this.color || 'accent')\n let isFirst = false\n let isLast = false\n if (this.range && !!this.value && Array.isArray(this.value)) {\n isFirst = value === this.value[0]\n isLast = value === this.value[this.value.length - 1]\n }\n\n return this.$createElement('button', setColor(color, {\n staticClass: 'v-btn',\n class: this.genButtonClasses(\n isAllowed && !isOtherMonth,\n isFloating,\n isSelected,\n isCurrent,\n isFirst,\n isLast,\n ),\n attrs: {\n type: 'button',\n },\n domProps: {\n disabled: this.disabled || !isAllowed || isOtherMonth,\n },\n on: this.genButtonEvents(value, isAllowed, mouseEventType),\n }), [\n this.$createElement('div', {\n staticClass: 'v-btn__content',\n }, [formatter(value)]),\n this.genEvents(value),\n ])\n },\n getEventColors (date: string) {\n const arrayize = (v: string | string[]) => Array.isArray(v) ? v : [v]\n let eventData: boolean | DatePickerEventColorValue\n let eventColors: string[] = []\n\n if (Array.isArray(this.events)) {\n eventData = this.events.includes(date)\n } else if (this.events instanceof Function) {\n eventData = this.events(date) || false\n } else if (this.events) {\n eventData = this.events[date] || false\n } else {\n eventData = false\n }\n\n if (!eventData) {\n return []\n } else if (eventData !== true) {\n eventColors = arrayize(eventData)\n } else if (typeof this.eventColor === 'string') {\n eventColors = [this.eventColor]\n } else if (typeof this.eventColor === 'function') {\n eventColors = arrayize(this.eventColor(date))\n } else if (Array.isArray(this.eventColor)) {\n eventColors = this.eventColor\n } else {\n eventColors = arrayize(this.eventColor[date])\n }\n\n return eventColors.filter(v => v)\n },\n genEvents (date: string) {\n const eventColors = this.getEventColors(date)\n\n return eventColors.length ? this.$createElement('div', {\n staticClass: 'v-date-picker-table__events',\n }, eventColors.map(color => this.$createElement('div', this.setBackgroundColor(color)))) : null\n },\n isValidScroll (value: number, calculateTableDate: CalculateTableDateFunction) {\n const tableDate = calculateTableDate(value)\n // tableDate is 'YYYY-MM' for DateTable and 'YYYY' for MonthTable\n const sanitizeType = tableDate.split('-').length === 1 ? 'year' : 'month'\n return (value < 0 && (this.min ? tableDate >= sanitizeDateString(this.min, sanitizeType) : true)) ||\n (value > 0 && (this.max ? tableDate <= sanitizeDateString(this.max, sanitizeType) : true))\n },\n wheel (e: WheelEvent, calculateTableDate: CalculateTableDateFunction) {\n this.$emit('update:table-date', calculateTableDate(e.deltaY))\n },\n touch (value: number, calculateTableDate: CalculateTableDateFunction) {\n this.$emit('update:table-date', calculateTableDate(value))\n },\n genTable (staticClass: string, children: VNodeChildren, calculateTableDate: CalculateTableDateFunction) {\n const transition = this.$createElement('transition', {\n props: { name: this.computedTransition },\n }, [this.$createElement('table', { key: this.tableDate }, children)])\n\n const touchDirective = {\n name: 'touch',\n value: {\n left: (e: TouchWrapper) => (e.offsetX < -15) &&\n (this.isValidScroll(1, calculateTableDate) && this.touch(1, calculateTableDate)),\n right: (e: TouchWrapper) => (e.offsetX > 15) &&\n (this.isValidScroll(-1, calculateTableDate) && this.touch(-1, calculateTableDate)),\n },\n }\n\n return this.$createElement('div', {\n staticClass,\n class: {\n 'v-date-picker-table--disabled': this.disabled,\n ...this.themeClasses,\n },\n on: (!this.disabled && this.scrollable) ? {\n wheel: (e: WheelEvent) => {\n e.preventDefault()\n if (this.isValidScroll(e.deltaY, calculateTableDate)) { this.wheelThrottle(e, calculateTableDate) }\n },\n } : undefined,\n directives: [touchDirective],\n }, [transition])\n },\n isSelected (value: string): boolean {\n if (Array.isArray(this.value)) {\n if (this.range && this.value.length === 2) {\n const [from, to] = [...this.value].sort()\n return from <= value && value <= to\n } else {\n return this.value.indexOf(value) !== -1\n }\n }\n\n return value === this.value\n },\n },\n})\n","function createUTCDate (year: number, month = 0, day = 1) {\n let date\n if (year < 100 && year >= 0) {\n date = new Date(Date.UTC(year, month, day))\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(year)\n }\n } else {\n date = new Date(Date.UTC(year, month, day))\n }\n\n return date\n}\n\nfunction firstWeekOffset (year: number, firstDayOfWeek: number, firstDayOfYear: number) {\n const firstWeekDayInFirstWeek = 7 + firstDayOfWeek - firstDayOfYear\n const firstWeekDayOfYear = (7 + createUTCDate(year, 0, firstWeekDayInFirstWeek).getUTCDay() - firstDayOfWeek) % 7\n\n return -firstWeekDayOfYear + firstWeekDayInFirstWeek - 1\n}\n\nfunction dayOfYear (year: number, month: number, day: number, firstDayOfWeek: number) {\n let dayOfYear = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334][month]\n if (month > 1 && isLeapYear(year)) {\n dayOfYear++\n }\n\n return dayOfYear + day\n}\n\nfunction weeksInYear (year: number, firstDayOfWeek: number, firstDayOfYear: number) {\n const weekOffset = firstWeekOffset(year, firstDayOfWeek, firstDayOfYear)\n const weekOffsetNext = firstWeekOffset(year + 1, firstDayOfWeek, firstDayOfYear)\n const daysInYear = isLeapYear(year) ? 366 : 365\n\n return (daysInYear - weekOffset + weekOffsetNext) / 7\n}\n\nexport function weekNumber (year: number, month: number, day: number, firstDayOfWeek: number, localeFirstDayOfYear: number): number {\n const weekOffset = firstWeekOffset(year, firstDayOfWeek, localeFirstDayOfYear)\n const week = Math.ceil((dayOfYear(year, month, day, firstDayOfWeek) - weekOffset) / 7)\n\n if (week < 1) {\n return week + weeksInYear(year - 1, firstDayOfWeek, localeFirstDayOfYear)\n } else if (week > weeksInYear(year, firstDayOfWeek, localeFirstDayOfYear)) {\n return week - weeksInYear(year, firstDayOfWeek, localeFirstDayOfYear)\n } else {\n return week\n }\n}\n\nexport function isLeapYear (year: number): boolean {\n return ((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0)\n}\n","// Mixins\nimport DatePickerTable from './mixins/date-picker-table'\n\n// Utils\nimport { weekNumber } from '../../util/dateTimeUtils'\nimport { pad, createNativeLocaleFormatter, monthChange } from './util'\nimport { createRange } from '../../util/helpers'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, VNodeChildren, PropType } from 'vue'\nimport { DatePickerFormatter } from 'vuetify/types'\n\nexport default mixins(\n DatePickerTable\n/* @vue/component */\n).extend({\n name: 'v-date-picker-date-table',\n\n props: {\n firstDayOfWeek: {\n type: [String, Number],\n default: 0,\n },\n localeFirstDayOfYear: {\n type: [String, Number],\n default: 0,\n },\n showAdjacentMonths: Boolean,\n showWeek: Boolean,\n weekdayFormat: Function as PropType,\n },\n\n computed: {\n formatter (): DatePickerFormatter {\n return this.format || createNativeLocaleFormatter(this.currentLocale, { day: 'numeric', timeZone: 'UTC' }, { start: 8, length: 2 })\n },\n weekdayFormatter (): DatePickerFormatter | undefined {\n return this.weekdayFormat || createNativeLocaleFormatter(this.currentLocale, { weekday: 'narrow', timeZone: 'UTC' })\n },\n weekDays (): string[] {\n const first = parseInt(this.firstDayOfWeek, 10)\n\n return this.weekdayFormatter\n ? createRange(7).map(i => this.weekdayFormatter!(`2017-01-${first + i + 15}`)) // 2017-01-15 is Sunday\n : createRange(7).map(i => ['S', 'M', 'T', 'W', 'T', 'F', 'S'][(i + first) % 7])\n },\n },\n\n methods: {\n calculateTableDate (delta: number) {\n return monthChange(this.tableDate, Math.sign(delta || 1))\n },\n genTHead () {\n const days = this.weekDays.map(day => this.$createElement('th', day))\n if (this.showWeek) {\n days.unshift(this.$createElement('th'))\n }\n\n return this.$createElement('thead', this.genTR(days))\n },\n // Returns number of the days from the firstDayOfWeek to the first day of the current month\n weekDaysBeforeFirstDayOfTheMonth () {\n const firstDayOfTheMonth = new Date(`${this.displayedYear}-${pad(this.displayedMonth + 1)}-01T00:00:00+00:00`)\n const weekDay = firstDayOfTheMonth.getUTCDay()\n\n return (weekDay - parseInt(this.firstDayOfWeek) + 7) % 7\n },\n getWeekNumber (dayInMonth: number) {\n return weekNumber(\n this.displayedYear,\n this.displayedMonth,\n dayInMonth,\n parseInt(this.firstDayOfWeek),\n parseInt(this.localeFirstDayOfYear)\n )\n },\n genWeekNumber (weekNumber: number) {\n return this.$createElement('td', [\n this.$createElement('small', {\n staticClass: 'v-date-picker-table--date__week',\n }, String(weekNumber).padStart(2, '0')),\n ])\n },\n // eslint-disable-next-line max-statements\n genTBody () {\n const children = []\n const daysInMonth = new Date(this.displayedYear, this.displayedMonth + 1, 0).getDate()\n let rows = []\n let day = this.weekDaysBeforeFirstDayOfTheMonth()\n\n if (this.showWeek) {\n rows.push(this.genWeekNumber(this.getWeekNumber(1)))\n }\n\n const prevMonthYear = this.displayedMonth ? this.displayedYear : this.displayedYear - 1\n const prevMonth = (this.displayedMonth + 11) % 12\n const firstDayFromPreviousMonth = new Date(this.displayedYear, this.displayedMonth, 0).getDate()\n const cellsInRow = this.showWeek ? 8 : 7\n\n while (day--) {\n const date = `${prevMonthYear}-${pad(prevMonth + 1)}-${pad(firstDayFromPreviousMonth - day)}`\n\n rows.push(this.$createElement('td', this.showAdjacentMonths ? [\n this.genButton(date, true, 'date', this.formatter, true),\n ] : []))\n }\n\n for (day = 1; day <= daysInMonth; day++) {\n const date = `${this.displayedYear}-${pad(this.displayedMonth + 1)}-${pad(day)}`\n\n rows.push(this.$createElement('td', [\n this.genButton(date, true, 'date', this.formatter),\n ]))\n\n if (rows.length % cellsInRow === 0) {\n children.push(this.genTR(rows))\n rows = []\n if (this.showWeek && (day < daysInMonth || this.showAdjacentMonths)) {\n rows.push(this.genWeekNumber(this.getWeekNumber(day + 7)))\n }\n }\n }\n\n const nextMonthYear = this.displayedMonth === 11 ? this.displayedYear + 1 : this.displayedYear\n const nextMonth = (this.displayedMonth + 1) % 12\n let nextMonthDay = 1\n\n while (rows.length < cellsInRow) {\n const date = `${nextMonthYear}-${pad(nextMonth + 1)}-${pad(nextMonthDay++)}`\n\n rows.push(this.$createElement('td', this.showAdjacentMonths ? [\n this.genButton(date, true, 'date', this.formatter, true),\n ] : []))\n }\n\n if (rows.length) {\n children.push(this.genTR(rows))\n }\n\n return this.$createElement('tbody', children)\n },\n genTR (children: VNodeChildren) {\n return [this.$createElement('tr', children)]\n },\n },\n\n render (): VNode {\n return this.genTable('v-date-picker-table v-date-picker-table--date', [\n this.genTHead(),\n this.genTBody(),\n ], this.calculateTableDate)\n },\n})\n","// Mixins\nimport DatePickerTable from './mixins/date-picker-table'\n\n// Utils\nimport { pad, createNativeLocaleFormatter } from './util'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\nimport { DatePickerFormatter } from 'vuetify/types'\n\nexport default mixins(\n DatePickerTable\n/* @vue/component */\n).extend({\n name: 'v-date-picker-month-table',\n\n computed: {\n formatter (): DatePickerFormatter {\n return this.format || createNativeLocaleFormatter(this.currentLocale, { month: 'short', timeZone: 'UTC' }, { start: 5, length: 2 })\n },\n },\n\n methods: {\n calculateTableDate (delta: number) {\n return `${parseInt(this.tableDate, 10) + Math.sign(delta || 1)}`\n },\n genTBody () {\n const children = []\n const cols = Array(3).fill(null)\n const rows = 12 / cols.length\n\n for (let row = 0; row < rows; row++) {\n const tds = cols.map((_, col) => {\n const month = row * cols.length + col\n const date = `${this.displayedYear}-${pad(month + 1)}`\n return this.$createElement('td', {\n key: month,\n }, [\n this.genButton(date, false, 'month', this.formatter),\n ])\n })\n\n children.push(this.$createElement('tr', {\n key: row,\n }, tds))\n }\n\n return this.$createElement('tbody', children)\n },\n },\n\n render (): VNode {\n return this.genTable('v-date-picker-table v-date-picker-table--month', [\n this.genTBody(),\n ], this.calculateTableDate)\n },\n})\n","import './VDatePickerYears.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Localable from '../../mixins/localable'\n\n// Utils\nimport {\n createItemTypeNativeListeners,\n createNativeLocaleFormatter,\n} from './util'\nimport { mergeListeners } from '../../util/mergeData'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport Vue, { VNode, PropType } from 'vue'\nimport { DatePickerFormatter } from 'vuetify/types'\n\ninterface options extends Vue {\n $el: HTMLElement\n}\n\nexport default mixins\n/* eslint-enable indent */\n>(\n Colorable,\n Localable\n/* @vue/component */\n).extend({\n name: 'v-date-picker-years',\n\n props: {\n format: Function as PropType,\n min: [Number, String],\n max: [Number, String],\n readonly: Boolean,\n value: [Number, String],\n },\n\n data () {\n return {\n defaultColor: 'primary',\n }\n },\n\n computed: {\n formatter (): DatePickerFormatter {\n return this.format || createNativeLocaleFormatter(this.currentLocale, { year: 'numeric', timeZone: 'UTC' }, { length: 4 })\n },\n },\n\n mounted () {\n setTimeout(() => {\n const activeItem = this.$el.getElementsByClassName('active')[0]\n if (activeItem) {\n this.$el.scrollTop = activeItem.offsetTop - this.$el.offsetHeight / 2 + activeItem.offsetHeight / 2\n } else if (this.min && !this.max) {\n this.$el.scrollTop = this.$el.scrollHeight\n } else if (!this.min && this.max) {\n this.$el.scrollTop = 0\n } else {\n this.$el.scrollTop = this.$el.scrollHeight / 2 - this.$el.offsetHeight / 2\n }\n })\n },\n\n methods: {\n genYearItem (year: number): VNode {\n const formatted = this.formatter(`${year}`)\n const active = parseInt(this.value, 10) === year\n const color = active && (this.color || 'primary')\n\n return this.$createElement('li', this.setTextColor(color, {\n key: year,\n class: { active },\n on: mergeListeners({\n click: () => this.$emit('input', year),\n }, createItemTypeNativeListeners(this, ':year', year)),\n }), formatted)\n },\n\n genYearItems (): VNode[] {\n const children = []\n const selectedYear = this.value ? parseInt(this.value, 10) : new Date().getFullYear()\n const maxYear = this.max ? parseInt(this.max, 10) : (selectedYear + 100)\n const minYear = Math.min(maxYear, this.min ? parseInt(this.min, 10) : (selectedYear - 100))\n\n for (let year = maxYear; year >= minYear; year--) {\n children.push(this.genYearItem(year))\n }\n\n return children\n },\n },\n\n render (): VNode {\n return this.$createElement('ul', {\n staticClass: 'v-date-picker-years',\n ref: 'years',\n }, this.genYearItems())\n },\n})\n","import { CalendarTimestamp, CalendarFormatter } from 'vuetify/types'\nimport { isLeapYear } from '../../../util/dateTimeUtils'\n\nexport const PARSE_REGEX = /^(\\d{4})-(\\d{1,2})(-(\\d{1,2}))?([^\\d]+(\\d{1,2}))?(:(\\d{1,2}))?(:(\\d{1,2}))?$/\nexport const PARSE_TIME = /(\\d\\d?)(:(\\d\\d?)|)(:(\\d\\d?)|)/\n\nexport const DAYS_IN_MONTH: number[] = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]\nexport const DAYS_IN_MONTH_LEAP: number[] = [0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]\nexport const DAYS_IN_MONTH_MIN = 28\nexport const DAYS_IN_MONTH_MAX = 31\nexport const MONTH_MAX = 12\nexport const MONTH_MIN = 1\nexport const DAY_MIN = 1\nexport const DAYS_IN_WEEK = 7\nexport const MINUTES_IN_HOUR = 60\nexport const MINUTE_MAX = 59\nexport const MINUTES_IN_DAY = 24 * 60\nexport const HOURS_IN_DAY = 24\nexport const HOUR_MAX = 23\nexport const FIRST_HOUR = 0\nexport const OFFSET_YEAR = 10000\nexport const OFFSET_MONTH = 100\nexport const OFFSET_HOUR = 100\nexport const OFFSET_TIME = 10000\n\ntype CalendarTimestampFormatOptions = (timestamp: CalendarTimestamp, short: boolean) => object\ntype CalendarTimestampOperation = (timestamp: CalendarTimestamp) => CalendarTimestamp\nexport type VTime = number | string | {\n hour: number\n minute: number\n}\n\nexport type VTimestampInput = number | string | Date;\n\nexport function getStartOfWeek (timestamp: CalendarTimestamp, weekdays: number[], today?: CalendarTimestamp): CalendarTimestamp {\n const start = copyTimestamp(timestamp)\n findWeekday(start, weekdays[0], prevDay)\n updateFormatted(start)\n if (today) {\n updateRelative(start, today, start.hasTime)\n }\n\n return start\n}\n\nexport function getEndOfWeek (timestamp: CalendarTimestamp, weekdays: number[], today?: CalendarTimestamp): CalendarTimestamp {\n const end = copyTimestamp(timestamp)\n findWeekday(end, weekdays[weekdays.length - 1])\n updateFormatted(end)\n if (today) {\n updateRelative(end, today, end.hasTime)\n }\n\n return end\n}\n\nexport function getStartOfMonth (timestamp: CalendarTimestamp): CalendarTimestamp {\n const start = copyTimestamp(timestamp)\n start.day = DAY_MIN\n updateWeekday(start)\n updateFormatted(start)\n\n return start\n}\n\nexport function getEndOfMonth (timestamp: CalendarTimestamp): CalendarTimestamp {\n const end = copyTimestamp(timestamp)\n end.day = daysInMonth(end.year, end.month)\n updateWeekday(end)\n updateFormatted(end)\n\n return end\n}\n\nexport function validateTime (input: any): input is VTime {\n return (typeof input === 'number' && isFinite(input)) ||\n (!!PARSE_TIME.exec(input)) ||\n (typeof input === 'object' && isFinite(input.hour) && isFinite(input.minute))\n}\n\nexport function parseTime (input: any): number | false {\n if (typeof input === 'number') {\n // when a number is given, it's minutes since 12:00am\n return input\n } else if (typeof input === 'string') {\n // when a string is given, it's a hh:mm:ss format where seconds are optional\n const parts = PARSE_TIME.exec(input)\n if (!parts) {\n return false\n }\n\n return parseInt(parts[1]) * 60 + parseInt(parts[3] || 0)\n } else if (typeof input === 'object') {\n // when an object is given, it must have hour and minute\n if (typeof input.hour !== 'number' || typeof input.minute !== 'number') {\n return false\n }\n\n return input.hour * 60 + input.minute\n } else {\n // unsupported type\n return false\n }\n}\n\nexport function validateTimestamp (input: any): input is VTimestampInput {\n return (typeof input === 'number' && isFinite(input)) ||\n (typeof input === 'string' && !!PARSE_REGEX.exec(input)) ||\n (input instanceof Date)\n}\n\nexport function parseTimestamp (input: VTimestampInput, required?: false, now?: CalendarTimestamp): CalendarTimestamp | null\nexport function parseTimestamp (input: VTimestampInput, required: true, now?: CalendarTimestamp): CalendarTimestamp\nexport function parseTimestamp (input: VTimestampInput, required = false, now?: CalendarTimestamp): CalendarTimestamp | null {\n if (typeof input === 'number' && isFinite(input)) {\n input = new Date(input)\n }\n\n if (input instanceof Date) {\n const date: CalendarTimestamp = parseDate(input)\n\n if (now) {\n updateRelative(date, now, date.hasTime)\n }\n\n return date\n }\n\n if (typeof input !== 'string') {\n if (required) {\n throw new Error(`${input} is not a valid timestamp. It must be a Date, number of milliseconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored.`)\n }\n return null\n }\n\n // YYYY-MM-DD hh:mm:ss\n const parts = PARSE_REGEX.exec(input)\n\n if (!parts) {\n if (required) {\n throw new Error(`${input} is not a valid timestamp. It must be a Date, number of milliseconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored.`)\n }\n\n return null\n }\n\n const timestamp: CalendarTimestamp = {\n date: input,\n time: '',\n year: parseInt(parts[1]),\n month: parseInt(parts[2]),\n day: parseInt(parts[4]) || 1,\n hour: parseInt(parts[6]) || 0,\n minute: parseInt(parts[8]) || 0,\n weekday: 0,\n hasDay: !!parts[4],\n hasTime: !!(parts[6] && parts[8]),\n past: false,\n present: false,\n future: false,\n }\n\n updateWeekday(timestamp)\n updateFormatted(timestamp)\n\n if (now) {\n updateRelative(timestamp, now, timestamp.hasTime)\n }\n\n return timestamp\n}\n\nexport function parseDate (date: Date): CalendarTimestamp {\n return updateFormatted({\n date: '',\n time: '',\n year: date.getFullYear(),\n month: date.getMonth() + 1,\n day: date.getDate(),\n weekday: date.getDay(),\n hour: date.getHours(),\n minute: date.getMinutes(),\n hasDay: true,\n hasTime: true,\n past: false,\n present: true,\n future: false,\n })\n}\n\nexport function getDayIdentifier (timestamp: { year: number, month: number, day: number }): number {\n return timestamp.year * OFFSET_YEAR + timestamp.month * OFFSET_MONTH + timestamp.day\n}\n\nexport function getTimeIdentifier (timestamp: { hour: number, minute: number }): number {\n return timestamp.hour * OFFSET_HOUR + timestamp.minute\n}\n\nexport function getTimestampIdentifier (timestamp: CalendarTimestamp): number {\n return getDayIdentifier(timestamp) * OFFSET_TIME + getTimeIdentifier(timestamp)\n}\n\nexport function updateRelative (timestamp: CalendarTimestamp, now: CalendarTimestamp, time = false): CalendarTimestamp {\n let a = getDayIdentifier(now)\n let b = getDayIdentifier(timestamp)\n let present = a === b\n\n if (timestamp.hasTime && time && present) {\n a = getTimeIdentifier(now)\n b = getTimeIdentifier(timestamp)\n present = a === b\n }\n\n timestamp.past = b < a\n timestamp.present = present\n timestamp.future = b > a\n\n return timestamp\n}\n\nexport function isTimedless (input: VTimestampInput): input is (Date | number) {\n return (input instanceof Date) || (typeof input === 'number' && isFinite(input))\n}\n\nexport function updateHasTime (timestamp: CalendarTimestamp, hasTime: boolean, now?: CalendarTimestamp): CalendarTimestamp {\n if (timestamp.hasTime !== hasTime) {\n timestamp.hasTime = hasTime\n if (!hasTime) {\n timestamp.hour = HOUR_MAX\n timestamp.minute = MINUTE_MAX\n timestamp.time = getTime(timestamp)\n }\n if (now) {\n updateRelative(timestamp, now, timestamp.hasTime)\n }\n }\n\n return timestamp\n}\n\nexport function updateMinutes (timestamp: CalendarTimestamp, minutes: number, now?: CalendarTimestamp): CalendarTimestamp {\n timestamp.hasTime = true\n timestamp.hour = Math.floor(minutes / MINUTES_IN_HOUR)\n timestamp.minute = minutes % MINUTES_IN_HOUR\n timestamp.time = getTime(timestamp)\n if (now) {\n updateRelative(timestamp, now, true)\n }\n\n return timestamp\n}\n\nexport function updateWeekday (timestamp: CalendarTimestamp): CalendarTimestamp {\n timestamp.weekday = getWeekday(timestamp)\n\n return timestamp\n}\n\nexport function updateFormatted (timestamp: CalendarTimestamp): CalendarTimestamp {\n timestamp.time = getTime(timestamp)\n timestamp.date = getDate(timestamp)\n\n return timestamp\n}\n\nexport function getWeekday (timestamp: CalendarTimestamp): number {\n if (timestamp.hasDay) {\n const _ = Math.floor\n const k = timestamp.day\n const m = ((timestamp.month + 9) % MONTH_MAX) + 1\n const C = _(timestamp.year / 100)\n const Y = (timestamp.year % 100) - (timestamp.month <= 2 ? 1 : 0)\n\n return (((k + _(2.6 * m - 0.2) - 2 * C + Y + _(Y / 4) + _(C / 4)) % 7) + 7) % 7\n }\n\n return timestamp.weekday\n}\n\nexport function daysInMonth (year: number, month: number) {\n return isLeapYear(year) ? DAYS_IN_MONTH_LEAP[month] : DAYS_IN_MONTH[month]\n}\n\nexport function copyTimestamp (timestamp: CalendarTimestamp): CalendarTimestamp {\n const { date, time, year, month, day, weekday, hour, minute, hasDay, hasTime, past, present, future } = timestamp\n\n return { date, time, year, month, day, weekday, hour, minute, hasDay, hasTime, past, present, future }\n}\n\nexport function padNumber (x: number, length: number): string {\n let padded = String(x)\n while (padded.length < length) {\n padded = '0' + padded\n }\n\n return padded\n}\n\nexport function getDate (timestamp: CalendarTimestamp): string {\n let str = `${padNumber(timestamp.year, 4)}-${padNumber(timestamp.month, 2)}`\n\n if (timestamp.hasDay) str += `-${padNumber(timestamp.day, 2)}`\n\n return str\n}\n\nexport function getTime (timestamp: CalendarTimestamp): string {\n if (!timestamp.hasTime) {\n return ''\n }\n\n return `${padNumber(timestamp.hour, 2)}:${padNumber(timestamp.minute, 2)}`\n}\n\nexport function nextMinutes (timestamp: CalendarTimestamp, minutes: number): CalendarTimestamp {\n timestamp.minute += minutes\n while (timestamp.minute > MINUTES_IN_HOUR) {\n timestamp.minute -= MINUTES_IN_HOUR\n timestamp.hour++\n if (timestamp.hour >= HOURS_IN_DAY) {\n nextDay(timestamp)\n timestamp.hour = FIRST_HOUR\n }\n }\n\n return timestamp\n}\n\nexport function nextDay (timestamp: CalendarTimestamp): CalendarTimestamp {\n timestamp.day++\n timestamp.weekday = (timestamp.weekday + 1) % DAYS_IN_WEEK\n if (timestamp.day > DAYS_IN_MONTH_MIN && timestamp.day > daysInMonth(timestamp.year, timestamp.month)) {\n timestamp.day = DAY_MIN\n timestamp.month++\n if (timestamp.month > MONTH_MAX) {\n timestamp.month = MONTH_MIN\n timestamp.year++\n }\n }\n\n return timestamp\n}\n\nexport function prevDay (timestamp: CalendarTimestamp): CalendarTimestamp {\n timestamp.day--\n timestamp.weekday = (timestamp.weekday + 6) % DAYS_IN_WEEK\n if (timestamp.day < DAY_MIN) {\n timestamp.month--\n if (timestamp.month < MONTH_MIN) {\n timestamp.year--\n timestamp.month = MONTH_MAX\n }\n timestamp.day = daysInMonth(timestamp.year, timestamp.month)\n }\n\n return timestamp\n}\n\nexport function relativeDays (\n timestamp: CalendarTimestamp,\n mover: CalendarTimestampOperation = nextDay,\n days = 1\n): CalendarTimestamp {\n while (--days >= 0) mover(timestamp)\n\n return timestamp\n}\n\nexport function diffMinutes (min: CalendarTimestamp, max: CalendarTimestamp) {\n const Y = (max.year - min.year) * 525600\n const M = (max.month - min.month) * 43800\n const D = (max.day - min.day) * 1440\n const h = (max.hour - min.hour) * 60\n const m = (max.minute - min.minute)\n\n return Y + M + D + h + m\n}\n\nexport function findWeekday (timestamp: CalendarTimestamp, weekday: number,\n mover: CalendarTimestampOperation = nextDay, maxDays = 6): CalendarTimestamp {\n while (timestamp.weekday !== weekday && --maxDays >= 0) mover(timestamp)\n\n return timestamp\n}\n\nexport function getWeekdaySkips (weekdays: number[]): number[] {\n const skips: number[] = [1, 1, 1, 1, 1, 1, 1]\n const filled: number[] = [0, 0, 0, 0, 0, 0, 0]\n for (let i = 0; i < weekdays.length; i++) {\n filled[weekdays[i]] = 1\n }\n for (let k = 0; k < DAYS_IN_WEEK; k++) {\n let skip = 1\n for (let j = 1; j < DAYS_IN_WEEK; j++) {\n const next = (k + j) % DAYS_IN_WEEK\n if (filled[next]) {\n break\n }\n skip++\n }\n skips[k] = filled[k] * skip\n }\n\n return skips\n}\n\nexport function timestampToDate (timestamp: CalendarTimestamp): Date {\n const time = `${padNumber(timestamp.hour, 2)}:${padNumber(timestamp.minute, 2)}`\n const date = timestamp.date\n\n return new Date(`${date}T${time}:00+00:00`)\n}\n\nexport function createDayList (\n start: CalendarTimestamp,\n end: CalendarTimestamp,\n now: CalendarTimestamp,\n weekdaySkips: number[],\n max = 42,\n min = 0\n): CalendarTimestamp[] {\n const stop = getDayIdentifier(end)\n const days: CalendarTimestamp[] = []\n let current = copyTimestamp(start)\n let currentIdentifier = 0\n let stopped = currentIdentifier === stop\n\n if (stop < getDayIdentifier(start)) {\n throw new Error('End date is earlier than start date.')\n }\n\n while ((!stopped || days.length < min) && days.length < max) {\n currentIdentifier = getDayIdentifier(current)\n stopped = stopped || currentIdentifier === stop\n if (weekdaySkips[current.weekday] === 0) {\n current = nextDay(current)\n continue\n }\n const day = copyTimestamp(current)\n updateFormatted(day)\n updateRelative(day, now)\n days.push(day)\n current = relativeDays(current, nextDay, weekdaySkips[current.weekday])\n }\n\n if (!days.length) throw new Error('No dates found using specified start date, end date, and weekdays.')\n\n return days\n}\n\nexport function createIntervalList (timestamp: CalendarTimestamp, first: number,\n minutes: number, count: number, now?: CalendarTimestamp): CalendarTimestamp[] {\n const intervals: CalendarTimestamp[] = []\n\n for (let i = 0; i < count; i++) {\n const mins = first + (i * minutes)\n const int = copyTimestamp(timestamp)\n intervals.push(updateMinutes(int, mins, now))\n }\n\n return intervals\n}\n\nexport function createNativeLocaleFormatter (locale: string, getOptions: CalendarTimestampFormatOptions): CalendarFormatter {\n const emptyFormatter: CalendarFormatter = (_t, _s) => ''\n\n if (typeof Intl === 'undefined' || typeof Intl.DateTimeFormat === 'undefined') {\n return emptyFormatter\n }\n\n return (timestamp, short) => {\n try {\n const intlFormatter = new Intl.DateTimeFormat(locale || undefined, getOptions(timestamp, short))\n\n return intlFormatter.format(timestampToDate(timestamp))\n } catch (e) {\n return ''\n }\n }\n}\n","// Components\nimport VDatePickerTitle from './VDatePickerTitle'\nimport VDatePickerHeader from './VDatePickerHeader'\nimport VDatePickerDateTable from './VDatePickerDateTable'\nimport VDatePickerMonthTable from './VDatePickerMonthTable'\nimport VDatePickerYears from './VDatePickerYears'\n\n// Mixins\nimport Localable from '../../mixins/localable'\nimport Picker from '../../mixins/picker'\n\n// Utils\nimport isDateAllowed from './util/isDateAllowed'\nimport mixins from '../../util/mixins'\nimport { wrapInArray } from '../../util/helpers'\nimport { daysInMonth } from '../VCalendar/util/timestamp'\nimport { consoleWarn } from '../../util/console'\nimport {\n createItemTypeListeners,\n createNativeLocaleFormatter,\n pad,\n sanitizeDateString,\n} from './util'\n\n// Types\nimport {\n PropType,\n PropValidator,\n} from 'vue/types/options'\nimport { VNode } from 'vue'\nimport {\n DatePickerFormatter,\n DatePickerMultipleFormatter,\n DatePickerAllowedDatesFunction,\n DatePickerEventColors,\n DatePickerEvents,\n DatePickerType,\n} from 'vuetify/types'\n\ntype DatePickerValue = string | string[] | undefined\ninterface Formatters {\n year: DatePickerFormatter\n titleDate: DatePickerFormatter | DatePickerMultipleFormatter\n}\n\ntype ActivePicker = 'DATE' | 'MONTH' | 'YEAR';\n\nexport default mixins(\n Localable,\n Picker,\n/* @vue/component */\n).extend({\n name: 'v-date-picker',\n\n props: {\n activePicker: String as PropType,\n allowedDates: Function as PropType,\n // Function formatting the day in date picker table\n dayFormat: Function as PropType,\n disabled: Boolean,\n events: {\n type: [Array, Function, Object],\n default: () => null,\n } as PropValidator,\n eventColor: {\n type: [Array, Function, Object, String],\n default: () => 'warning',\n } as PropValidator,\n firstDayOfWeek: {\n type: [String, Number],\n default: 0,\n },\n // Function formatting the tableDate in the day/month table header\n headerDateFormat: Function as PropType,\n localeFirstDayOfYear: {\n type: [String, Number],\n default: 0,\n },\n max: String,\n min: String,\n // Function formatting month in the months table\n monthFormat: Function as PropType,\n multiple: Boolean,\n nextIcon: {\n type: String,\n default: '$next',\n },\n nextMonthAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.nextMonthAriaLabel',\n },\n nextYearAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.nextYearAriaLabel',\n },\n pickerDate: String,\n prevIcon: {\n type: String,\n default: '$prev',\n },\n prevMonthAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.prevMonthAriaLabel',\n },\n prevYearAriaLabel: {\n type: String,\n default: '$vuetify.datePicker.prevYearAriaLabel',\n },\n range: Boolean,\n reactive: Boolean,\n readonly: Boolean,\n scrollable: Boolean,\n showCurrent: {\n type: [Boolean, String],\n default: true,\n },\n selectedItemsText: {\n type: String,\n default: '$vuetify.datePicker.itemsSelected',\n },\n showAdjacentMonths: Boolean,\n showWeek: Boolean,\n // Function formatting currently selected date in the picker title\n titleDateFormat: Function as PropType,\n type: {\n type: String,\n default: 'date',\n validator: (type: any) => ['date', 'month'].includes(type), // TODO: year\n } as PropValidator,\n value: [Array, String] as PropType,\n weekdayFormat: Function as PropType,\n // Function formatting the year in table header and pickup title\n yearFormat: Function as PropType,\n yearIcon: String,\n },\n\n data () {\n const now = new Date()\n return {\n internalActivePicker: this.type.toUpperCase(),\n inputDay: null as number | null,\n inputMonth: null as number | null,\n inputYear: null as number | null,\n isReversing: false,\n now,\n // tableDate is a string in 'YYYY' / 'YYYY-M' format (leading zero for month is not required)\n tableDate: (() => {\n if (this.pickerDate) {\n return this.pickerDate\n }\n\n const multipleValue = wrapInArray(this.value)\n const date = multipleValue[multipleValue.length - 1] ||\n (typeof this.showCurrent === 'string' ? this.showCurrent : `${now.getFullYear()}-${now.getMonth() + 1}`)\n return sanitizeDateString(date as string, this.type === 'date' ? 'month' : 'year')\n })(),\n }\n },\n\n computed: {\n multipleValue (): string[] {\n return wrapInArray(this.value)\n },\n isMultiple (): boolean {\n return this.multiple || this.range\n },\n lastValue (): string | null {\n return this.isMultiple ? this.multipleValue[this.multipleValue.length - 1] : (this.value as string | null)\n },\n selectedMonths (): string | string[] | undefined {\n if (!this.value || this.type === 'month') {\n return this.value\n } else if (this.isMultiple) {\n return this.multipleValue.map(val => val.substr(0, 7))\n } else {\n return (this.value as string).substr(0, 7)\n }\n },\n current (): string | null {\n if (this.showCurrent === true) {\n return sanitizeDateString(`${this.now.getFullYear()}-${this.now.getMonth() + 1}-${this.now.getDate()}`, this.type)\n }\n\n return this.showCurrent || null\n },\n inputDate (): string {\n return this.type === 'date'\n ? `${this.inputYear}-${pad(this.inputMonth! + 1)}-${pad(this.inputDay!)}`\n : `${this.inputYear}-${pad(this.inputMonth! + 1)}`\n },\n tableMonth (): number {\n return Number((this.pickerDate || this.tableDate).split('-')[1]) - 1\n },\n tableYear (): number {\n return Number((this.pickerDate || this.tableDate).split('-')[0])\n },\n minMonth (): string | null {\n return this.min ? sanitizeDateString(this.min, 'month') : null\n },\n maxMonth (): string | null {\n return this.max ? sanitizeDateString(this.max, 'month') : null\n },\n minYear (): string | null {\n return this.min ? sanitizeDateString(this.min, 'year') : null\n },\n maxYear (): string | null {\n return this.max ? sanitizeDateString(this.max, 'year') : null\n },\n formatters (): Formatters {\n return {\n year: this.yearFormat || createNativeLocaleFormatter(this.currentLocale, { year: 'numeric', timeZone: 'UTC' }, { length: 4 }),\n titleDate: this.titleDateFormat ||\n (this.isMultiple ? this.defaultTitleMultipleDateFormatter : this.defaultTitleDateFormatter),\n }\n },\n defaultTitleMultipleDateFormatter (): DatePickerMultipleFormatter {\n return dates => {\n if (!dates.length) {\n return '-'\n }\n\n if (dates.length === 1) {\n return this.defaultTitleDateFormatter(dates[0])\n }\n\n return this.$vuetify.lang.t(this.selectedItemsText, dates.length)\n }\n },\n defaultTitleDateFormatter (): DatePickerFormatter {\n const titleFormats = {\n year: { year: 'numeric', timeZone: 'UTC' },\n month: { month: 'long', timeZone: 'UTC' },\n date: { weekday: 'short', month: 'short', day: 'numeric', timeZone: 'UTC' },\n } as const\n\n const titleDateFormatter = createNativeLocaleFormatter(this.currentLocale, titleFormats[this.type], {\n start: 0,\n length: { date: 10, month: 7, year: 4 }[this.type],\n })\n\n const landscapeFormatter = (date: string) => titleDateFormatter(date)\n .replace(/([^\\d\\s])([\\d])/g, (match, nonDigit, digit) => `${nonDigit} ${digit}`)\n .replace(', ', ',
')\n\n return this.landscape ? landscapeFormatter : titleDateFormatter\n },\n },\n\n watch: {\n internalActivePicker: {\n immediate: true,\n handler (val: ActivePicker) {\n this.$emit('update:active-picker', val)\n },\n },\n activePicker (val: ActivePicker) {\n this.internalActivePicker = val\n },\n tableDate (val: string, prev: string) {\n // Make a ISO 8601 strings from val and prev for comparision, otherwise it will incorrectly\n // compare for example '2000-9' and '2000-10'\n const sanitizeType = this.type === 'month' ? 'year' : 'month'\n this.isReversing = sanitizeDateString(val, sanitizeType) < sanitizeDateString(prev, sanitizeType)\n this.$emit('update:picker-date', val)\n },\n pickerDate (val: string | null) {\n if (val) {\n this.tableDate = val\n } else if (this.lastValue && this.type === 'date') {\n this.tableDate = sanitizeDateString(this.lastValue, 'month')\n } else if (this.lastValue && this.type === 'month') {\n this.tableDate = sanitizeDateString(this.lastValue, 'year')\n }\n },\n value (newValue: DatePickerValue, oldValue: DatePickerValue) {\n this.checkMultipleProp()\n this.setInputDate()\n\n if (\n (!this.isMultiple && this.value && !this.pickerDate) ||\n (this.isMultiple && this.multipleValue.length && (!oldValue || !oldValue.length) && !this.pickerDate)\n ) {\n this.tableDate = sanitizeDateString(this.inputDate, this.type === 'month' ? 'year' : 'month')\n }\n },\n type (type: DatePickerType) {\n this.internalActivePicker = type.toUpperCase()\n\n if (this.value && this.value.length) {\n const output = this.multipleValue\n .map((val: string) => sanitizeDateString(val, type))\n .filter(this.isDateAllowed)\n this.$emit('input', this.isMultiple ? output : output[0])\n }\n },\n },\n\n created () {\n this.checkMultipleProp()\n\n if (this.pickerDate !== this.tableDate) {\n this.$emit('update:picker-date', this.tableDate)\n }\n this.setInputDate()\n },\n\n methods: {\n emitInput (newInput: string) {\n if (this.range) {\n if (this.multipleValue.length !== 1) {\n this.$emit('input', [newInput])\n } else {\n const output = [this.multipleValue[0], newInput]\n this.$emit('input', output)\n this.$emit('change', output)\n }\n return\n }\n\n const output = this.multiple\n ? (\n this.multipleValue.indexOf(newInput) === -1\n ? this.multipleValue.concat([newInput])\n : this.multipleValue.filter(x => x !== newInput)\n )\n : newInput\n\n this.$emit('input', output)\n this.multiple || this.$emit('change', newInput)\n },\n checkMultipleProp () {\n if (this.value == null) return\n const valueType = this.value.constructor.name\n const expected = this.isMultiple ? 'Array' : 'String'\n if (valueType !== expected) {\n consoleWarn(`Value must be ${this.isMultiple ? 'an' : 'a'} ${expected}, got ${valueType}`, this)\n }\n },\n isDateAllowed (value: string): boolean {\n return isDateAllowed(value, this.min, this.max, this.allowedDates)\n },\n yearClick (value: number) {\n this.inputYear = value\n if (this.type === 'month') {\n this.tableDate = `${value}`\n } else {\n this.tableDate = `${value}-${pad((this.tableMonth || 0) + 1)}`\n }\n this.internalActivePicker = 'MONTH'\n if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {\n this.$emit('input', this.inputDate)\n }\n },\n monthClick (value: string) {\n const [year, month] = value.split('-')\n\n this.inputYear = parseInt(year, 10)\n this.inputMonth = parseInt(month, 10) - 1\n\n if (this.type === 'date') {\n if (this.inputDay) {\n this.inputDay = Math.min(this.inputDay, daysInMonth(this.inputYear, this.inputMonth + 1))\n }\n\n this.tableDate = value\n this.internalActivePicker = 'DATE'\n if (this.reactive && !this.readonly && !this.isMultiple && this.isDateAllowed(this.inputDate)) {\n this.$emit('input', this.inputDate)\n }\n } else {\n this.emitInput(this.inputDate)\n }\n },\n dateClick (value: string) {\n const [year, month, day] = value.split('-')\n\n this.inputYear = parseInt(year, 10)\n this.inputMonth = parseInt(month, 10) - 1\n this.inputDay = parseInt(day, 10)\n\n this.emitInput(this.inputDate)\n },\n genPickerTitle (): VNode {\n return this.$createElement(VDatePickerTitle, {\n props: {\n date: this.value ? (this.formatters.titleDate as (value: any) => string)(this.isMultiple ? this.multipleValue : this.value) : '',\n disabled: this.disabled,\n readonly: this.readonly,\n selectingYear: this.internalActivePicker === 'YEAR',\n year: this.formatters.year(this.multipleValue.length ? `${this.inputYear}` : this.tableDate),\n yearIcon: this.yearIcon,\n value: this.multipleValue[0],\n },\n slot: 'title',\n on: {\n 'update:selecting-year': (value: boolean) => this.internalActivePicker = value ? 'YEAR' : this.type.toUpperCase(),\n },\n })\n },\n genTableHeader (): VNode {\n return this.$createElement(VDatePickerHeader, {\n props: {\n nextIcon: this.nextIcon,\n color: this.color,\n dark: this.dark,\n disabled: this.disabled,\n format: this.headerDateFormat,\n light: this.light,\n locale: this.locale,\n min: this.internalActivePicker === 'DATE' ? this.minMonth : this.minYear,\n max: this.internalActivePicker === 'DATE' ? this.maxMonth : this.maxYear,\n nextAriaLabel: this.internalActivePicker === 'DATE' ? this.nextMonthAriaLabel : this.nextYearAriaLabel,\n prevAriaLabel: this.internalActivePicker === 'DATE' ? this.prevMonthAriaLabel : this.prevYearAriaLabel,\n prevIcon: this.prevIcon,\n readonly: this.readonly,\n value: this.internalActivePicker === 'DATE' ? `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}` : `${pad(this.tableYear, 4)}`,\n },\n on: {\n toggle: () => this.internalActivePicker = (this.internalActivePicker === 'DATE' ? 'MONTH' : 'YEAR'),\n input: (value: string) => this.tableDate = value,\n },\n })\n },\n genDateTable (): VNode {\n return this.$createElement(VDatePickerDateTable, {\n props: {\n allowedDates: this.allowedDates,\n color: this.color,\n current: this.current,\n dark: this.dark,\n disabled: this.disabled,\n events: this.events,\n eventColor: this.eventColor,\n firstDayOfWeek: this.firstDayOfWeek,\n format: this.dayFormat,\n light: this.light,\n locale: this.locale,\n localeFirstDayOfYear: this.localeFirstDayOfYear,\n min: this.min,\n max: this.max,\n range: this.range,\n readonly: this.readonly,\n scrollable: this.scrollable,\n showAdjacentMonths: this.showAdjacentMonths,\n showWeek: this.showWeek,\n tableDate: `${pad(this.tableYear, 4)}-${pad(this.tableMonth + 1)}`,\n value: this.value,\n weekdayFormat: this.weekdayFormat,\n },\n ref: 'table',\n on: {\n input: this.dateClick,\n 'update:table-date': (value: string) => this.tableDate = value,\n ...createItemTypeListeners(this, ':date'),\n },\n })\n },\n genMonthTable (): VNode {\n return this.$createElement(VDatePickerMonthTable, {\n props: {\n allowedDates: this.type === 'month' ? this.allowedDates : null,\n color: this.color,\n current: this.current ? sanitizeDateString(this.current, 'month') : null,\n dark: this.dark,\n disabled: this.disabled,\n events: this.type === 'month' ? this.events : null,\n eventColor: this.type === 'month' ? this.eventColor : null,\n format: this.monthFormat,\n light: this.light,\n locale: this.locale,\n min: this.minMonth,\n max: this.maxMonth,\n range: this.range,\n readonly: this.readonly && this.type === 'month',\n scrollable: this.scrollable,\n value: this.selectedMonths,\n tableDate: `${pad(this.tableYear, 4)}`,\n },\n ref: 'table',\n on: {\n input: this.monthClick,\n 'update:table-date': (value: string) => this.tableDate = value,\n ...createItemTypeListeners(this, ':month'),\n },\n })\n },\n genYears (): VNode {\n return this.$createElement(VDatePickerYears, {\n props: {\n color: this.color,\n format: this.yearFormat,\n locale: this.locale,\n min: this.minYear,\n max: this.maxYear,\n value: this.tableYear,\n },\n on: {\n input: this.yearClick,\n ...createItemTypeListeners(this, ':year'),\n },\n })\n },\n genPickerBody (): VNode {\n const children = this.internalActivePicker === 'YEAR' ? [\n this.genYears(),\n ] : [\n this.genTableHeader(),\n this.internalActivePicker === 'DATE' ? this.genDateTable() : this.genMonthTable(),\n ]\n\n return this.$createElement('div', {\n key: this.internalActivePicker,\n }, children)\n },\n setInputDate () {\n if (this.lastValue) {\n const array = this.lastValue.split('-')\n this.inputYear = parseInt(array[0], 10)\n this.inputMonth = parseInt(array[1], 10) - 1\n if (this.type === 'date') {\n this.inputDay = parseInt(array[2], 10)\n }\n } else {\n this.inputYear = this.inputYear || this.now.getFullYear()\n this.inputMonth = this.inputMonth == null ? this.inputMonth : this.now.getMonth()\n this.inputDay = this.inputDay || this.now.getDate()\n }\n },\n },\n\n render (): VNode {\n return this.genPicker('v-picker--date')\n },\n})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Recorder.vue?vue&type=style&index=0&id=56ee050c&prod&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageSlider.vue?vue&type=style&index=0&id=b2654c00&prod&scoped=true&lang=css&\"","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c(VBtn,{attrs:{\"text\":\"\",\"elevation\":\"0\",\"disabled\":_vm.disabled,\"loading\":_vm.loading},on:{\"click\":_vm.openSelect}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-presentation\")]),_c('span',[_vm._v(_vm._s(_vm.name))])],1),_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c(VCardTitle,[_vm._v(_vm._s(_vm.$t(\"upsess.select\")))]),_c(VCardText,[_c(VList,_vm._l((_vm.items),function(item,i){return _c(VListItem,{key:i,on:{\"click\":function($event){return _vm.selectPresentation(item.value)}}},[_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(item.value ? item.name : _vm.$t(\"global.none\")))])],1)],1)}),1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Presentation } from \"@/core/models\";\r\nimport { Component, Prop, PropSync } from \"vue-property-decorator\";\r\n\r\ntype Item = { name: string; value: Presentation | null };\r\n@Component\r\nexport default class PresentationSelect extends Vue {\r\n @Prop({ default: () => false }) disabled!: boolean;\r\n @PropSync(\"selectedProp\", { default: () => null })\r\n selected!: Presentation | null;\r\n\r\n @Getter(\"presentations/loading\") loading!: boolean;\r\n @Getter(\"presentations/retrieved\") retrieved!: boolean;\r\n @Getter(\"presentations/getPresentations\") presentations!: Presentation[];\r\n @Action(\"presentations/getPresentations\")\r\n getPresentations!: () => Promise;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (s: string) => void;\r\n\r\n dialog = false;\r\n get items() {\r\n const items: Item[] = this.presentations.map(p => ({\r\n name: `${p.File.Name}`,\r\n value: p,\r\n }));\r\n items.unshift({ name: this.$t(\"global.none\").toString(), value: null });\r\n return items;\r\n }\r\n get name() {\r\n if (!this.selected) return this.$t(\"upsess.select\").toString();\r\n return this.selected.File.Name;\r\n }\r\n openSelect() {\r\n if (!this.presentations.length)\r\n this.displaySnackbar(this.$t(\"pres.none\").toString());\r\n else this.dialog = true;\r\n }\r\n selectPresentation(pres: Presentation | null) {\r\n this.dialog = false;\r\n this.selected = pres;\r\n }\r\n\r\n created() {\r\n if (!this.retrieved) this.getPresentations();\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PresentationSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PresentationSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PresentationSelect.vue?vue&type=template&id=30fd294e&\"\nimport script from \"./PresentationSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./PresentationSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './VPicker.sass'\nimport '../VCard/VCard.sass'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Elevatable from '../../mixins/elevatable'\nimport Themeable from '../../mixins/themeable'\n\n// Helpers\nimport { convertToUnit } from '../../util/helpers'\n\n// Types\nimport { VNode } from 'vue/types'\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(\n Colorable,\n Elevatable,\n Themeable\n).extend({\n name: 'v-picker',\n\n props: {\n flat: Boolean,\n fullWidth: Boolean,\n landscape: Boolean,\n noTitle: Boolean,\n transition: {\n type: String,\n default: 'fade-transition',\n },\n width: {\n type: [Number, String],\n default: 290,\n },\n },\n\n computed: {\n computedTitleColor (): string | false {\n const defaultTitleColor = this.isDark ? false : (this.color || 'primary')\n return this.color || defaultTitleColor\n },\n },\n\n methods: {\n genTitle () {\n return this.$createElement('div', this.setBackgroundColor(this.computedTitleColor, {\n staticClass: 'v-picker__title',\n class: {\n 'v-picker__title--landscape': this.landscape,\n },\n }), this.$slots.title)\n },\n genBodyTransition () {\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n },\n }, this.$slots.default)\n },\n genBody () {\n return this.$createElement('div', {\n staticClass: 'v-picker__body',\n class: {\n 'v-picker__body--no-title': this.noTitle,\n ...this.themeClasses,\n },\n style: this.fullWidth ? undefined : {\n width: convertToUnit(this.width),\n },\n }, [\n this.genBodyTransition(),\n ])\n },\n genActions () {\n return this.$createElement('div', {\n staticClass: 'v-picker__actions v-card__actions',\n class: {\n 'v-picker__actions--no-title': this.noTitle,\n },\n }, this.$slots.actions)\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-picker v-card',\n class: {\n 'v-picker--flat': this.flat,\n 'v-picker--landscape': this.landscape,\n 'v-picker--full-width': this.fullWidth,\n ...this.themeClasses,\n ...this.elevationClasses,\n },\n }, [\n this.$slots.title ? this.genTitle() : null,\n this.genBody(),\n this.$slots.actions ? this.genActions() : null,\n ])\n },\n})\n","import VPicker from './VPicker'\n\nexport { VPicker }\nexport default VPicker\n","// Components\nimport VPicker from '../../components/VPicker'\n\n// Mixins\nimport Colorable from '../colorable'\nimport Elevatable from '../../mixins/elevatable'\nimport Themeable from '../themeable'\n\n// Utils\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\nexport default mixins(\n Colorable,\n Elevatable,\n Themeable\n/* @vue/component */\n).extend({\n name: 'picker',\n\n props: {\n flat: Boolean,\n fullWidth: Boolean,\n headerColor: String,\n landscape: Boolean,\n noTitle: Boolean,\n width: {\n type: [Number, String],\n default: 290,\n },\n },\n\n methods: {\n genPickerTitle (): VNode | null {\n return null\n },\n genPickerBody (): VNode | null {\n return null\n },\n genPickerActionsSlot () {\n return this.$scopedSlots.default ? this.$scopedSlots.default({\n save: (this as any).save,\n cancel: (this as any).cancel,\n }) : this.$slots.default\n },\n genPicker (staticClass: string) {\n const children: VNode[] = []\n\n if (!this.noTitle) {\n const title = this.genPickerTitle()\n title && children.push(title)\n }\n\n const body = this.genPickerBody()\n body && children.push(body)\n\n children.push(this.$createElement('template', { slot: 'actions' }, [this.genPickerActionsSlot()]))\n\n return this.$createElement(VPicker, {\n staticClass,\n props: {\n color: this.headerColor || this.color,\n dark: this.dark,\n elevation: this.elevation,\n flat: this.flat,\n fullWidth: this.fullWidth,\n landscape: this.landscape,\n light: this.light,\n width: this.width,\n noTitle: this.noTitle,\n },\n }, children)\n },\n },\n})\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VolumeCircle.vue?vue&type=style&index=0&id=4d364a0e&prod&lang=css&\"","\"object\"==typeof navigator&&function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(\"Plyr\",t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).Plyr=t()}(this,(function(){\"use strict\";function e(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function t(e,t){for(var i=0;i=0||(a[i]=e[i]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i])}return a}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(\"undefined\"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var i=[],n=!0,a=!1,s=void 0;try{for(var r,o=e[Symbol.iterator]();!(n=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);n=!0);}catch(e){a=!0,s=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw s}}return i}(e,t)||c(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function c(e,t){if(e){if(\"string\"==typeof e)return u(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===i&&e.constructor&&(i=e.constructor.name),\"Map\"===i||\"Set\"===i?Array.from(e):\"Arguments\"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);it){var i=function(e){var t=\"\".concat(e).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(i))}return Math.round(e/t)*t}var I,L,O,_=function(){function e(t,i){(function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")})(this,e),E(t)?this.element=t:A(t)&&(this.element=document.querySelector(t)),E(this.element)&&M(this.element.rangeTouch)&&(this.config=p({},f,{},i),this.init())}return function(e,t,i){t&&d(e.prototype,t),i&&d(e,i)}(e,[{key:\"init\",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect=\"none\",this.element.style.webKitUserSelect=\"none\",this.element.style.touchAction=\"manipulation\"),this.listeners(!0),this.element.rangeTouch=this)}},{key:\"destroy\",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect=\"\",this.element.style.webKitUserSelect=\"\",this.element.style.touchAction=\"\"),this.listeners(!1),this.element.rangeTouch=null)}},{key:\"listeners\",value:function(e){var t=this,i=e?\"addEventListener\":\"removeEventListener\";[\"touchstart\",\"touchmove\",\"touchend\"].forEach((function(e){t.element[i](e,(function(e){return t.set(e)}),!1)}))}},{key:\"get\",value:function(t){if(!e.enabled||!N(t))return null;var i,n=t.target,a=t.changedTouches[0],s=parseFloat(n.getAttribute(\"min\"))||0,r=parseFloat(n.getAttribute(\"max\"))||100,o=parseFloat(n.getAttribute(\"step\"))||1,l=n.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(i=100/l.width*(a.clientX-l.left))?i=0:100i?i-=(100-2*i)*c:500&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length,i=new Array(t>1?t-1:0),a=1;a0?t.cloneNode(!0):t,a=e.parentNode,s=e.nextSibling;n.appendChild(e),s?a.insertBefore(n,s):a.appendChild(n)}))}function de(e,t){G(e)&&!ae(t)&&Object.entries(t).filter((function(e){var t=o(e,2)[1];return!W(t)})).forEach((function(t){var i=o(t,2),n=i[0],a=i[1];return e.setAttribute(n,a)}))}function he(e,t,i){var n=document.createElement(e);return z(t)&&de(n,t),Y(i)&&(n.innerText=i),n}function me(e,t,i,n){G(t)&&t.appendChild(he(e,i,n))}function pe(e){J(e)||$(e)?Array.from(e).forEach(pe):G(e)&&G(e.parentNode)&&e.parentNode.removeChild(e)}function fe(e){if(G(e))for(var t=e.childNodes.length;t>0;)e.removeChild(e.lastChild),t-=1}function ge(e,t){return G(t)&&G(t.parentNode)&&G(e)?(t.parentNode.replaceChild(e,t),e):null}function ye(e,t){if(!Y(e)||ae(e))return{};var i={},n=ce({},t);return e.split(\",\").forEach((function(e){var t=e.trim(),a=t.replace(\".\",\"\"),s=t.replace(/[[\\]]/g,\"\").split(\"=\"),r=o(s,1)[0],l=s.length>1?s[1].replace(/[\"']/g,\"\"):\"\";switch(t.charAt(0)){case\".\":Y(n.class)?i.class=\"\".concat(n.class,\" \").concat(a):i.class=a;break;case\"#\":i.id=t.replace(\"#\",\"\");break;case\"[\":i[r]=l}})),ce(n,i)}function ve(e,t){if(G(e)){var i=t;Q(i)||(i=!e.hidden),e.hidden=i}}function be(e,t,i){if(J(e))return Array.from(e).map((function(e){return be(e,t,i)}));if(G(e)){var n=\"toggle\";return void 0!==i&&(n=i?\"add\":\"remove\"),e.classList[n](t),e.classList.contains(t)}return!1}function we(e,t){return G(e)&&e.classList.contains(t)}function ke(e,t){var i=Element.prototype;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function Te(e){return this.elements.container.querySelectorAll(e)}function Ce(e){return this.elements.container.querySelector(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];G(e)&&(e.focus({preventScroll:!0}),t&&be(e,this.config.classNames.tabFocus))}var Se,Pe={\"audio/ogg\":\"vorbis\",\"audio/wav\":\"1\",\"video/webm\":\"vp8, vorbis\",\"video/mp4\":\"avc1.42E01E, mp4a.40.2\",\"video/ogg\":\"theora\"},Ee={audio:\"canPlayType\"in document.createElement(\"audio\"),video:\"canPlayType\"in document.createElement(\"video\"),check:function(e,t,i){var n=oe.isIPhone&&i&&Ee.playsinline,a=Ee[e]||\"html5\"!==t;return{api:a,ui:a&&Ee.rangeInput&&(\"video\"!==e||!oe.isIPhone||n)}},pip:!(oe.isIPhone||!X(he(\"video\").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||he(\"video\").disablePictureInPicture)),airplay:X(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:\"playsInline\"in document.createElement(\"video\"),mime:function(e){if(ae(e))return!1;var t=o(e.split(\"/\"),1)[0],i=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(Pe).includes(i)&&(i+='; codecs=\"'.concat(Pe[e],'\"'));try{return Boolean(i&&this.media.canPlayType(i).replace(/no/,\"\"))}catch(e){return!1}},textTracks:\"textTracks\"in document.createElement(\"video\"),rangeInput:(Se=document.createElement(\"input\"),Se.type=\"range\",\"range\"===Se.type),touch:\"ontouchstart\"in document.documentElement,transitions:!1!==se,reducedMotion:\"matchMedia\"in window&&window.matchMedia(\"(prefers-reduced-motion)\").matches},Ne=function(){var e=!1;try{var t=Object.defineProperty({},\"passive\",{get:function(){return e=!0,null}});window.addEventListener(\"test\",null,t),window.removeEventListener(\"test\",null,t)}catch(e){}return e}();function Me(e,t,i){var n=this,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&\"addEventListener\"in e&&!ae(t)&&X(i)){var o=t.split(\" \"),l=r;Ne&&(l={passive:s,capture:r}),o.forEach((function(t){n&&n.eventListeners&&a&&n.eventListeners.push({element:e,type:t,callback:i,options:l}),e[a?\"addEventListener\":\"removeEventListener\"](t,i,l)}))}}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",i=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Me.call(this,e,t,i,!0,n,a)}function Ie(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",i=arguments.length>2?arguments[2]:void 0,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Me.call(this,e,t,i,!1,n,a)}function Le(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2?arguments[2]:void 0,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=function r(){Ie(e,i,r,a,s);for(var o=arguments.length,l=new Array(o),c=0;c1&&void 0!==arguments[1]?arguments[1]:\"\",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(G(e)&&!ae(t)){var a=new CustomEvent(t,{bubbles:i,detail:s(s({},n),{},{plyr:this})});e.dispatchEvent(a)}}function _e(){this&&this.eventListeners&&(this.eventListeners.forEach((function(e){var t=e.element,i=e.type,n=e.callback,a=e.options;t.removeEventListener(i,n,a)})),this.eventListeners=[])}function je(){var e=this;return new Promise((function(t){return e.ready?setTimeout(t,0):xe.call(e,e.elements.container,\"ready\",t)})).then((function(){}))}function De(e){ie(e)&&e.then(null,(function(){}))}function qe(e){return!!($(e)||Y(e)&&e.includes(\":\"))&&($(e)?e:e.split(\":\")).map(Number).every(K)}function He(e){if(!$(e)||!e.every(K))return null;var t=o(e,2),i=t[0],n=t[1],a=function e(t,i){return 0===i?t:e(i,t%i)}(i,n);return[i/a,n/a]}function Fe(e){var t=function(e){return qe(e)?e.split(\":\").map(Number):null},i=t(e);if(null===i&&(i=t(this.config.ratio)),null===i&&!ae(this.embed)&&$(this.embed.ratio)&&(i=this.embed.ratio),null===i&&this.isHTML5){var n=this.media;i=He([n.videoWidth,n.videoHeight])}return i}function Re(e){if(!this.isVideo)return{};var t=this.elements.wrapper,i=Fe.call(this,e),n=o($(i)?i:[0,0],2),a=100/n[0]*n[1];if(t.style.paddingBottom=\"\".concat(a,\"%\"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var s=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),r=(s-a)/(s/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=\"translateY(-\".concat(r,\"%)\")}else this.isHTML5&&t.classList.toggle(this.config.classNames.videoFixedRatio,null!==i);return{padding:a,ratio:i}}var Ve={getSources:function(){var e=this;return this.isHTML5?Array.from(this.media.querySelectorAll(\"source\")).filter((function(t){var i=t.getAttribute(\"type\");return!!ae(i)||Ee.mime.call(e,i)})):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:Ve.getSources.call(this).map((function(e){return Number(e.getAttribute(\"size\"))})).filter(Boolean)},setup:function(){if(this.isHTML5){var e=this;e.options.speed=e.config.speed.options,ae(this.config.ratio)||Re.call(e),Object.defineProperty(e.media,\"quality\",{get:function(){var t=Ve.getSources.call(e).find((function(t){return t.getAttribute(\"src\")===e.source}));return t&&Number(t.getAttribute(\"size\"))},set:function(t){if(e.quality!==t){if(e.config.quality.forced&&X(e.config.quality.onChange))e.config.quality.onChange(t);else{var i=Ve.getSources.call(e).find((function(e){return Number(e.getAttribute(\"size\"))===t}));if(!i)return;var n=e.media,a=n.currentTime,s=n.paused,r=n.preload,o=n.readyState,l=n.playbackRate;e.media.src=i.getAttribute(\"src\"),(\"none\"!==r||o)&&(e.once(\"loadedmetadata\",(function(){e.speed=l,e.currentTime=a,s||De(e.play())})),e.media.load())}Oe.call(e,e.media,\"qualitychange\",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(pe(Ve.getSources.call(this)),this.media.setAttribute(\"src\",this.config.blankVideo),this.media.load(),this.debug.log(\"Cancelled network requests\"))}};function Be(e){return $(e)?e.filter((function(t,i){return e.indexOf(t)===i})):e}function Ue(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:\"\",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"\";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\\]/\\\\])/g,\"\\\\$1\"),\"g\"),i.toString())},ze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\";return e.toString().replace(/\\w\\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))};function Ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",t=e.toString();return t=We(t,\"-\",\" \"),t=We(t,\"_\",\" \"),t=ze(t),We(t,\" \",\"\")}function Ye(e){var t=document.createElement(\"div\");return t.appendChild(e),t.innerHTML}var Qe={pip:\"PIP\",airplay:\"AirPlay\",html5:\"HTML5\",vimeo:\"Vimeo\",youtube:\"YouTube\"},Xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ae(e)||ae(t))return\"\";var i=le(t.i18n,e);if(ae(i))return Object.keys(Qe).includes(e)?Qe[e]:\"\";var n={\"{seektime}\":t.seekTime,\"{title}\":t.title};return Object.entries(n).forEach((function(e){var t=o(e,2),n=t[0],a=t[1];i=We(i,n,a)})),i},$e=function(){function t(i){e(this,t),this.enabled=i.config.storage.enabled,this.key=i.config.storage.key}return i(t,[{key:\"get\",value:function(e){if(!t.supported||!this.enabled)return null;var i=window.localStorage.getItem(this.key);if(ae(i))return null;var n=JSON.parse(i);return Y(e)&&e.length?n[e]:n}},{key:\"set\",value:function(e){if(t.supported&&this.enabled&&z(e)){var i=this.get();ae(i)&&(i={}),ce(i,e),window.localStorage.setItem(this.key,JSON.stringify(i))}}}],[{key:\"supported\",get:function(){try{if(!(\"localStorage\"in window))return!1;var e=\"___test\";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}]),t}();function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"text\";return new Promise((function(i,n){try{var a=new XMLHttpRequest;if(!(\"withCredentials\"in a))return;a.addEventListener(\"load\",(function(){if(\"text\"===t)try{i(JSON.parse(a.responseText))}catch(e){i(a.responseText)}else i(a.response)})),a.addEventListener(\"error\",(function(){throw new Error(a.status)})),a.open(\"GET\",e,!0),a.responseType=t,a.send()}catch(e){n(e)}}))}function Ge(e,t){if(Y(e)){var i=\"cache\",n=Y(t),a=function(){return null!==document.getElementById(t)},s=function(e,t){e.innerHTML=t,n&&a()||document.body.insertAdjacentElement(\"afterbegin\",e)};if(!n||!a()){var r=$e.supported,o=document.createElement(\"div\");if(o.setAttribute(\"hidden\",\"\"),n&&o.setAttribute(\"id\",t),r){var l=window.localStorage.getItem(\"\".concat(i,\"-\").concat(t));if(null!==l){var c=JSON.parse(l);s(o,c.content)}}Je(e).then((function(e){ae(e)||(r&&window.localStorage.setItem(\"\".concat(i,\"-\").concat(t),JSON.stringify({content:e})),s(o,e))})).catch((function(){}))}}}var Ze=function(e){return Math.trunc(e/60/60%60,10)},et=function(e){return Math.trunc(e/60%60,10)},tt=function(e){return Math.trunc(e%60,10)};function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!K(e))return it(void 0,t,i);var n=function(e){return\"0\".concat(e).slice(-2)},a=Ze(e),s=et(e),r=tt(e);return a=t||a>0?\"\".concat(a,\":\"):\"\",\"\".concat(i&&e>0?\"-\":\"\").concat(a).concat(n(s),\":\").concat(n(r))}var nt={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||oe.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=Ce.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:Te.call(this,this.config.selectors.buttons.play),pause:Ce.call(this,this.config.selectors.buttons.pause),restart:Ce.call(this,this.config.selectors.buttons.restart),rewind:Ce.call(this,this.config.selectors.buttons.rewind),fastForward:Ce.call(this,this.config.selectors.buttons.fastForward),mute:Ce.call(this,this.config.selectors.buttons.mute),pip:Ce.call(this,this.config.selectors.buttons.pip),airplay:Ce.call(this,this.config.selectors.buttons.airplay),settings:Ce.call(this,this.config.selectors.buttons.settings),captions:Ce.call(this,this.config.selectors.buttons.captions),fullscreen:Ce.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=Ce.call(this,this.config.selectors.progress),this.elements.inputs={seek:Ce.call(this,this.config.selectors.inputs.seek),volume:Ce.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:Ce.call(this,this.config.selectors.display.buffer),currentTime:Ce.call(this,this.config.selectors.display.currentTime),duration:Ce.call(this,this.config.selectors.display.duration)},G(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(\".\".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn(\"It looks like there is a problem with your custom controls HTML\",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var i=\"http://www.w3.org/2000/svg\",n=nt.getIconUrl.call(this),a=\"\".concat(n.cors?\"\":n.url,\"#\").concat(this.config.iconPrefix),s=document.createElementNS(i,\"svg\");de(s,ce(t,{\"aria-hidden\":\"true\",focusable:\"false\"}));var r=document.createElementNS(i,\"use\"),o=\"\".concat(a,\"-\").concat(e);return\"href\"in r&&r.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",o),r.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",o),s.appendChild(r),s},createLabel:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Xe(e,this.config),n=s(s({},t),{},{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(\" \")});return he(\"span\",n,i)},createBadge:function(e){if(ae(e))return null;var t=he(\"span\",{class:this.config.classNames.menu.value});return t.appendChild(he(\"span\",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var i=this,n=ce({},t),a=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\").toString();return(e=Ke(e)).charAt(0).toLowerCase()+e.slice(1)}(e),s={element:\"button\",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch([\"element\",\"icon\",\"label\"].forEach((function(e){Object.keys(n).includes(e)&&(s[e]=n[e],delete n[e])})),\"button\"!==s.element||Object.keys(n).includes(\"type\")||(n.type=\"button\"),Object.keys(n).includes(\"class\")?n.class.split(\" \").some((function(e){return e===i.config.classNames.control}))||ce(n,{class:\"\".concat(n.class,\" \").concat(this.config.classNames.control)}):n.class=this.config.classNames.control,e){case\"play\":s.toggle=!0,s.label=\"play\",s.labelPressed=\"pause\",s.icon=\"play\",s.iconPressed=\"pause\";break;case\"mute\":s.toggle=!0,s.label=\"mute\",s.labelPressed=\"unmute\",s.icon=\"volume\",s.iconPressed=\"muted\";break;case\"captions\":s.toggle=!0,s.label=\"enableCaptions\",s.labelPressed=\"disableCaptions\",s.icon=\"captions-off\",s.iconPressed=\"captions-on\";break;case\"fullscreen\":s.toggle=!0,s.label=\"enterFullscreen\",s.labelPressed=\"exitFullscreen\",s.icon=\"enter-fullscreen\",s.iconPressed=\"exit-fullscreen\";break;case\"play-large\":n.class+=\" \".concat(this.config.classNames.control,\"--overlaid\"),a=\"play\",s.label=\"play\",s.icon=\"play\";break;default:ae(s.label)&&(s.label=a),ae(s.icon)&&(s.icon=e)}var r=he(s.element);return s.toggle?(r.appendChild(nt.createIcon.call(this,s.iconPressed,{class:\"icon--pressed\"})),r.appendChild(nt.createIcon.call(this,s.icon,{class:\"icon--not-pressed\"})),r.appendChild(nt.createLabel.call(this,s.labelPressed,{class:\"label--pressed\"})),r.appendChild(nt.createLabel.call(this,s.label,{class:\"label--not-pressed\"}))):(r.appendChild(nt.createIcon.call(this,s.icon)),r.appendChild(nt.createLabel.call(this,s.label))),ce(n,ye(this.config.selectors.buttons[a],n)),de(r,n),\"play\"===a?($(this.elements.buttons[a])||(this.elements.buttons[a]=[]),this.elements.buttons[a].push(r)):this.elements.buttons[a]=r,r},createRange:function(e,t){var i=he(\"input\",ce(ye(this.config.selectors.inputs[e]),{type:\"range\",min:0,max:100,step:.01,value:0,autocomplete:\"off\",role:\"slider\",\"aria-label\":Xe(e,this.config),\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-valuenow\":0},t));return this.elements.inputs[e]=i,nt.updateRangeFill.call(this,i),_.setup(i),i},createProgress:function(e,t){var i=he(\"progress\",ce(ye(this.config.selectors.display[e]),{min:0,max:100,value:0,role:\"progressbar\",\"aria-hidden\":!0},t));if(\"volume\"!==e){i.appendChild(he(\"span\",null,\"0\"));var n={played:\"played\",buffer:\"buffered\"}[e],a=n?Xe(n,this.config):\"\";i.innerText=\"% \".concat(a.toLowerCase())}return this.elements.display[e]=i,i},createTime:function(e,t){var i=ye(this.config.selectors.display[e],t),n=he(\"div\",ce(i,{class:\"\".concat(i.class?i.class:\"\",\" \").concat(this.config.classNames.display.time,\" \").trim(),\"aria-label\":Xe(e,this.config)}),\"00:00\");return this.elements.display[e]=n,n},bindMenuItemShortcuts:function(e,t){var i=this;xe.call(this,e,\"keydown keyup\",(function(n){if([32,38,39,40].includes(n.which)&&(n.preventDefault(),n.stopPropagation(),\"keydown\"!==n.type)){var a,s=ke(e,'[role=\"menuitemradio\"]');if(!s&&[32,39].includes(n.which))nt.showMenuPanel.call(i,t,!0);else 32!==n.which&&(40===n.which||s&&39===n.which?(a=e.nextElementSibling,G(a)||(a=e.parentNode.firstElementChild)):(a=e.previousElementSibling,G(a)||(a=e.parentNode.lastElementChild)),Ae.call(i,a,!0))}}),!1),xe.call(this,e,\"keyup\",(function(e){13===e.which&&nt.focusFirstMenuItem.call(i,null,!0)}))},createMenuItem:function(e){var t=this,i=e.value,n=e.list,a=e.type,s=e.title,r=e.badge,o=void 0===r?null:r,l=e.checked,c=void 0!==l&&l,u=ye(this.config.selectors.inputs[a]),d=he(\"button\",ce(u,{type:\"button\",role:\"menuitemradio\",class:\"\".concat(this.config.classNames.control,\" \").concat(u.class?u.class:\"\").trim(),\"aria-checked\":c,value:i})),h=he(\"span\");h.innerHTML=s,G(o)&&h.appendChild(o),d.appendChild(h),Object.defineProperty(d,\"checked\",{enumerable:!0,get:function(){return\"true\"===d.getAttribute(\"aria-checked\")},set:function(e){e&&Array.from(d.parentNode.children).filter((function(e){return ke(e,'[role=\"menuitemradio\"]')})).forEach((function(e){return e.setAttribute(\"aria-checked\",\"false\")})),d.setAttribute(\"aria-checked\",e?\"true\":\"false\")}}),this.listeners.bind(d,\"click keyup\",(function(e){if(!ee(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,a){case\"language\":t.currentTrack=Number(i);break;case\"quality\":t.quality=i;break;case\"speed\":t.speed=parseFloat(i)}nt.showMenuPanel.call(t,\"home\",ee(e))}}),a,!1),nt.bindMenuItemShortcuts.call(this,d,a),n.appendChild(d)},formatTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!K(e))return e;var i=Ze(this.duration)>0;return it(e,i,t)},updateTimeDisplay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];G(e)&&K(t)&&(e.innerText=nt.formatTime(t,i))},updateVolume:function(){this.supported.ui&&(G(this.elements.inputs.volume)&&nt.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),G(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;G(e)&&(e.value=t,nt.updateRangeFill.call(this,e))},updateProgress:function(e){var t=this;if(this.supported.ui&&Z(e)){var i,n,a=0;if(e)switch(e.type){case\"timeupdate\":case\"seeking\":case\"seeked\":i=this.currentTime,n=this.duration,a=0===i||0===n||Number.isNaN(i)||Number.isNaN(n)?0:(i/n*100).toFixed(2),\"timeupdate\"===e.type&&nt.setRange.call(this,this.elements.inputs.seek,a);break;case\"playing\":case\"progress\":!function(e,i){var n=K(i)?i:0,a=G(e)?e:t.elements.display.buffer;if(G(a)){a.value=n;var s=a.getElementsByTagName(\"span\")[0];G(s)&&(s.childNodes[0].nodeValue=n)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=Z(e)?e.target:e;if(G(t)&&\"range\"===t.getAttribute(\"type\")){if(ke(t,this.config.selectors.inputs.seek)){t.setAttribute(\"aria-valuenow\",this.currentTime);var i=nt.formatTime(this.currentTime),n=nt.formatTime(this.duration),a=Xe(\"seekLabel\",this.config);t.setAttribute(\"aria-valuetext\",a.replace(\"{currentTime}\",i).replace(\"{duration}\",n))}else if(ke(t,this.config.selectors.inputs.volume)){var s=100*t.value;t.setAttribute(\"aria-valuenow\",s),t.setAttribute(\"aria-valuetext\",\"\".concat(s.toFixed(1),\"%\"))}else t.setAttribute(\"aria-valuenow\",t.value);oe.isWebkit&&t.style.setProperty(\"--value\",\"\".concat(t.value/t.max*100,\"%\"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&G(this.elements.inputs.seek)&&G(this.elements.display.seekTooltip)&&0!==this.duration){var i=\"\".concat(this.config.classNames.tooltip,\"--visible\"),n=function(e){return be(t.elements.display.seekTooltip,i,e)};if(this.touch)n(!1);else{var a=0,s=this.elements.progress.getBoundingClientRect();if(Z(e))a=100/s.width*(e.pageX-s.left);else{if(!we(this.elements.display.seekTooltip,i))return;a=parseFloat(this.elements.display.seekTooltip.style.left,10)}a<0?a=0:a>100&&(a=100),nt.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*a),this.elements.display.seekTooltip.style.left=\"\".concat(a,\"%\"),Z(e)&&[\"mouseenter\",\"mouseleave\"].includes(e.type)&&n(\"mouseenter\"===e.type)}}},timeUpdate:function(e){var t=!G(this.elements.display.duration)&&this.config.invertTime;nt.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&\"timeupdate\"===e.type&&this.media.seeking||nt.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return ve(this.elements.display.currentTime,!0),void ve(this.elements.progress,!0);G(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute(\"aria-valuemax\",this.duration);var e=G(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&nt.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&nt.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),nt.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){ve(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,i){var n=this.elements.settings.panels[e],a=null,s=t;if(\"captions\"===e)a=this.currentTrack;else{if(a=ae(i)?this[e]:i,ae(a)&&(a=this.config[e].default),!ae(this.options[e])&&!this.options[e].includes(a))return void this.debug.warn(\"Unsupported value of '\".concat(a,\"' for \").concat(e));if(!this.config[e].options.includes(a))return void this.debug.warn(\"Disabled value of '\".concat(a,\"' for \").concat(e))}if(G(s)||(s=n&&n.querySelector('[role=\"menu\"]')),G(s)){this.elements.settings.buttons[e].querySelector(\".\".concat(this.config.classNames.menu.value)).innerHTML=nt.getLabel.call(this,e,a);var r=s&&s.querySelector('[value=\"'.concat(a,'\"]'));G(r)&&(r.checked=!0)}},getLabel:function(e,t){switch(e){case\"speed\":return 1===t?Xe(\"normal\",this.config):\"\".concat(t,\"×\");case\"quality\":if(K(t)){var i=Xe(\"qualityLabel.\".concat(t),this.config);return i.length?i:\"\".concat(t,\"p\")}return ze(t);case\"captions\":return rt.getLabel.call(this);default:return null}},setQualityMenu:function(e){var t=this;if(G(this.elements.settings.panels.quality)){var i=\"quality\",n=this.elements.settings.panels.quality.querySelector('[role=\"menu\"]');$(e)&&(this.options.quality=Be(e).filter((function(e){return t.config.quality.options.includes(e)})));var a=!ae(this.options.quality)&&this.options.quality.length>1;if(nt.toggleMenuButton.call(this,i,a),fe(n),nt.checkMenu.call(this),a){var s=function(e){var i=Xe(\"qualityBadge.\".concat(e),t.config);return i.length?nt.createBadge.call(t,i):null};this.options.quality.sort((function(e,i){var n=t.config.quality.options;return n.indexOf(e)>n.indexOf(i)?1:-1})).forEach((function(e){nt.createMenuItem.call(t,{value:e,list:n,type:i,title:nt.getLabel.call(t,\"quality\",e),badge:s(e)})})),nt.updateSetting.call(this,i,n)}}},setCaptionsMenu:function(){var e=this;if(G(this.elements.settings.panels.captions)){var t=\"captions\",i=this.elements.settings.panels.captions.querySelector('[role=\"menu\"]'),n=rt.getTracks.call(this),a=Boolean(n.length);if(nt.toggleMenuButton.call(this,t,a),fe(i),nt.checkMenu.call(this),a){var s=n.map((function(t,n){return{value:n,checked:e.captions.toggled&&e.currentTrack===n,title:rt.getLabel.call(e,t),badge:t.language&&nt.createBadge.call(e,t.language.toUpperCase()),list:i,type:\"language\"}}));s.unshift({value:-1,checked:!this.captions.toggled,title:Xe(\"disabled\",this.config),list:i,type:\"language\"}),s.forEach(nt.createMenuItem.bind(this)),nt.updateSetting.call(this,t,i)}}},setSpeedMenu:function(){var e=this;if(G(this.elements.settings.panels.speed)){var t=\"speed\",i=this.elements.settings.panels.speed.querySelector('[role=\"menu\"]');this.options.speed=this.options.speed.filter((function(t){return t>=e.minimumSpeed&&t<=e.maximumSpeed}));var n=!ae(this.options.speed)&&this.options.speed.length>1;nt.toggleMenuButton.call(this,t,n),fe(i),nt.checkMenu.call(this),n&&(this.options.speed.forEach((function(n){nt.createMenuItem.call(e,{value:n,list:i,type:t,title:nt.getLabel.call(e,\"speed\",n)})})),nt.updateSetting.call(this,t,i))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!ae(e)&&Object.values(e).some((function(e){return!e.hidden}));ve(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var i=e;G(i)||(i=Object.values(this.elements.settings.panels).find((function(e){return!e.hidden})));var n=i.querySelector('[role^=\"menuitem\"]');Ae.call(this,n,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,i=this.elements.buttons.settings;if(G(t)&&G(i)){var n=t.hidden,a=n;if(Q(e))a=e;else if(ee(e)&&27===e.which)a=!1;else if(Z(e)){var s=X(e.composedPath)?e.composedPath()[0]:e.target,r=t.contains(s);if(r||!r&&e.target!==i&&a)return}i.setAttribute(\"aria-expanded\",a),ve(t,!a),be(this.elements.container,this.config.classNames.menu.open,a),a&&ee(e)?nt.focusFirstMenuItem.call(this,null,!0):a||n||Ae.call(this,i,ee(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position=\"absolute\",t.style.opacity=0,t.removeAttribute(\"hidden\"),e.parentNode.appendChild(t);var i=t.scrollWidth,n=t.scrollHeight;return pe(t),{width:i,height:n}},showMenuPanel:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.elements.container.querySelector(\"#plyr-settings-\".concat(this.id,\"-\").concat(t));if(G(n)){var a=n.parentNode,s=Array.from(a.children).find((function(e){return!e.hidden}));if(Ee.transitions&&!Ee.reducedMotion){a.style.width=\"\".concat(s.scrollWidth,\"px\"),a.style.height=\"\".concat(s.scrollHeight,\"px\");var r=nt.getMenuSize.call(this,n),o=function t(i){i.target===a&&[\"width\",\"height\"].includes(i.propertyName)&&(a.style.width=\"\",a.style.height=\"\",Ie.call(e,a,se,t))};xe.call(this,a,se,o),a.style.width=\"\".concat(r.width,\"px\"),a.style.height=\"\".concat(r.height,\"px\")}ve(s,!0),ve(n,!1),nt.focusFirstMenuItem.call(this,n,i)}},setDownloadUrl:function(){var e=this.elements.buttons.download;G(e)&&e.setAttribute(\"href\",this.download)},create:function(e){var t=this,i=nt.bindMenuItemShortcuts,n=nt.createButton,a=nt.createProgress,s=nt.createRange,r=nt.createTime,o=nt.setQualityMenu,l=nt.setSpeedMenu,c=nt.showMenuPanel;this.elements.controls=null,$(this.config.controls)&&this.config.controls.includes(\"play-large\")&&this.elements.container.appendChild(n.call(this,\"play-large\"));var u=he(\"div\",ye(this.config.selectors.controls.wrapper));this.elements.controls=u;var d={class:\"plyr__controls__item\"};return Be($(this.config.controls)?this.config.controls:[]).forEach((function(o){if(\"restart\"===o&&u.appendChild(n.call(t,\"restart\",d)),\"rewind\"===o&&u.appendChild(n.call(t,\"rewind\",d)),\"play\"===o&&u.appendChild(n.call(t,\"play\",d)),\"fast-forward\"===o&&u.appendChild(n.call(t,\"fast-forward\",d)),\"progress\"===o){var l=he(\"div\",{class:\"\".concat(d.class,\" plyr__progress__container\")}),h=he(\"div\",ye(t.config.selectors.progress));if(h.appendChild(s.call(t,\"seek\",{id:\"plyr-seek-\".concat(e.id)})),h.appendChild(a.call(t,\"buffer\")),t.config.tooltips.seek){var m=he(\"span\",{class:t.config.classNames.tooltip},\"00:00\");h.appendChild(m),t.elements.display.seekTooltip=m}t.elements.progress=h,l.appendChild(t.elements.progress),u.appendChild(l)}if(\"current-time\"===o&&u.appendChild(r.call(t,\"currentTime\",d)),\"duration\"===o&&u.appendChild(r.call(t,\"duration\",d)),\"mute\"===o||\"volume\"===o){var p=t.elements.volume;if(G(p)&&u.contains(p)||(p=he(\"div\",ce({},d,{class:\"\".concat(d.class,\" plyr__volume\").trim()})),t.elements.volume=p,u.appendChild(p)),\"mute\"===o&&p.appendChild(n.call(t,\"mute\")),\"volume\"===o&&!oe.isIos){var f={max:1,step:.05,value:t.config.volume};p.appendChild(s.call(t,\"volume\",ce(f,{id:\"plyr-volume-\".concat(e.id)})))}}if(\"captions\"===o&&u.appendChild(n.call(t,\"captions\",d)),\"settings\"===o&&!ae(t.config.settings)){var g=he(\"div\",ce({},d,{class:\"\".concat(d.class,\" plyr__menu\").trim(),hidden:\"\"}));g.appendChild(n.call(t,\"settings\",{\"aria-haspopup\":!0,\"aria-controls\":\"plyr-settings-\".concat(e.id),\"aria-expanded\":!1}));var y=he(\"div\",{class:\"plyr__menu__container\",id:\"plyr-settings-\".concat(e.id),hidden:\"\"}),v=he(\"div\"),b=he(\"div\",{id:\"plyr-settings-\".concat(e.id,\"-home\")}),w=he(\"div\",{role:\"menu\"});b.appendChild(w),v.appendChild(b),t.elements.settings.panels.home=b,t.config.settings.forEach((function(n){var a=he(\"button\",ce(ye(t.config.selectors.buttons.settings),{type:\"button\",class:\"\".concat(t.config.classNames.control,\" \").concat(t.config.classNames.control,\"--forward\"),role:\"menuitem\",\"aria-haspopup\":!0,hidden:\"\"}));i.call(t,a,n),xe.call(t,a,\"click\",(function(){c.call(t,n,!1)}));var s=he(\"span\",null,Xe(n,t.config)),r=he(\"span\",{class:t.config.classNames.menu.value});r.innerHTML=e[n],s.appendChild(r),a.appendChild(s),w.appendChild(a);var o=he(\"div\",{id:\"plyr-settings-\".concat(e.id,\"-\").concat(n),hidden:\"\"}),l=he(\"button\",{type:\"button\",class:\"\".concat(t.config.classNames.control,\" \").concat(t.config.classNames.control,\"--back\")});l.appendChild(he(\"span\",{\"aria-hidden\":!0},Xe(n,t.config))),l.appendChild(he(\"span\",{class:t.config.classNames.hidden},Xe(\"menuBack\",t.config))),xe.call(t,o,\"keydown\",(function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),c.call(t,\"home\",!0))}),!1),xe.call(t,l,\"click\",(function(){c.call(t,\"home\",!1)})),o.appendChild(l),o.appendChild(he(\"div\",{role:\"menu\"})),v.appendChild(o),t.elements.settings.buttons[n]=a,t.elements.settings.panels[n]=o})),y.appendChild(v),g.appendChild(y),u.appendChild(g),t.elements.settings.popup=y,t.elements.settings.menu=g}if(\"pip\"===o&&Ee.pip&&u.appendChild(n.call(t,\"pip\",d)),\"airplay\"===o&&Ee.airplay&&u.appendChild(n.call(t,\"airplay\",d)),\"download\"===o){var k=ce({},d,{element:\"a\",href:t.download,target:\"_blank\"});t.isHTML5&&(k.download=\"\");var T=t.config.urls.download;!ne(T)&&t.isEmbed&&ce(k,{icon:\"logo-\".concat(t.provider),label:t.provider}),u.appendChild(n.call(t,\"download\",k))}\"fullscreen\"===o&&u.appendChild(n.call(t,\"fullscreen\",d))})),this.isHTML5&&o.call(this,Ve.getQualityOptions.call(this)),l.call(this),u},inject:function(){var e=this;if(this.config.loadSprite){var t=nt.getIconUrl.call(this);t.cors&&Ge(t.url,\"sprite-plyr\")}this.id=Math.floor(1e4*Math.random());var i=null;this.elements.controls=null;var n={id:this.id,seektime:this.config.seekTime,title:this.config.title},a=!0;X(this.config.controls)&&(this.config.controls=this.config.controls.call(this,n)),this.config.controls||(this.config.controls=[]),G(this.config.controls)||Y(this.config.controls)?i=this.config.controls:(i=nt.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:rt.getLabel.call(this)}),a=!1);var s,r;if(a&&Y(this.config.controls)&&(s=i,Object.entries(n).forEach((function(e){var t=o(e,2),i=t[0],n=t[1];s=We(s,\"{\".concat(i,\"}\"),n)})),i=s),Y(this.config.selectors.controls.container)&&(r=document.querySelector(this.config.selectors.controls.container)),G(r)||(r=this.elements.container),r[G(i)?\"insertAdjacentElement\":\"insertAdjacentHTML\"](\"afterbegin\",i),G(this.elements.controls)||nt.findElements.call(this),!ae(this.elements.buttons)){var l=function(t){var i=e.config.classNames.controlPressed;Object.defineProperty(t,\"pressed\",{enumerable:!0,get:function(){return we(t,i)},set:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];be(t,i,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((function(e){$(e)||J(e)?Array.from(e).filter(Boolean).forEach(l):l(e)}))}if(oe.isEdge&&re(r),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,h=\"\".concat(d.controls.wrapper,\" \").concat(d.labels,\" .\").concat(u.hidden),m=Te.call(this,h);Array.from(m).forEach((function(t){be(t,e.config.classNames.hidden,!1),be(t,e.config.classNames.tooltip,!0)}))}}};function at(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e;if(t){var n=document.createElement(\"a\");n.href=i,i=n.href}try{return new URL(i)}catch(e){return null}}function st(e){var t=new URLSearchParams;return z(e)&&Object.entries(e).forEach((function(e){var i=o(e,2),n=i[0],a=i[1];t.set(n,a)})),t}var rt={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!Ee.textTracks)$(this.config.controls)&&this.config.controls.includes(\"settings\")&&this.config.settings.includes(\"captions\")&&nt.setCaptionsMenu.call(this);else{if(G(this.elements.captions)||(this.elements.captions=he(\"div\",ye(this.config.selectors.captions)),function(e,t){G(e)&&G(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),oe.isIE&&window.URL){var e=this.media.querySelectorAll(\"track\");Array.from(e).forEach((function(e){var t=e.getAttribute(\"src\"),i=at(t);null!==i&&i.hostname!==window.location.href.hostname&&[\"http:\",\"https:\"].includes(i.protocol)&&Je(t,\"blob\").then((function(t){e.setAttribute(\"src\",window.URL.createObjectURL(t))})).catch((function(){pe(e)}))}))}var t=Be((navigator.languages||[navigator.language||navigator.userLanguage||\"en\"]).map((function(e){return e.split(\"-\")[0]}))),i=(this.storage.get(\"language\")||this.config.captions.language||\"auto\").toLowerCase();if(\"auto\"===i)i=o(t,1)[0];var n=this.storage.get(\"captions\");if(Q(n)||(n=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:n,language:i,languages:t}),this.isHTML5){var a=this.config.captions.update?\"addtrack removetrack\":\"removetrack\";xe.call(this,this.media.textTracks,a,rt.update.bind(this))}setTimeout(rt.update.bind(this),0)}},update:function(){var e=this,t=rt.getTracks.call(this,!0),i=this.captions,n=i.active,a=i.language,s=i.meta,r=i.currentTrackNode,o=Boolean(t.find((function(e){return e.language===a})));this.isHTML5&&this.isVideo&&t.filter((function(e){return!s.get(e)})).forEach((function(t){e.debug.log(\"Track added\",t),s.set(t,{default:\"showing\"===t.mode}),\"showing\"===t.mode&&(t.mode=\"hidden\"),xe.call(e,t,\"cuechange\",(function(){return rt.updateCues.call(e)}))})),(o&&this.language!==a||!t.includes(r))&&(rt.setLanguage.call(this,a),rt.toggle.call(this,n&&o)),be(this.elements.container,this.config.classNames.captions.enabled,!ae(t)),$(this.config.controls)&&this.config.controls.includes(\"settings\")&&this.config.settings.includes(\"captions\")&&nt.setCaptionsMenu.call(this)},toggle:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,a=this.config.classNames.captions.active,s=W(e)?!n:e;if(s!==n){if(i||(this.captions.active=s,this.storage.set({captions:s})),!this.language&&s&&!i){var r=rt.getTracks.call(this),o=rt.findTrack.call(this,[this.captions.language].concat(l(this.captions.languages)),!0);return this.captions.language=o.language,void rt.set.call(this,r.indexOf(o))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=s),be(this.elements.container,a,s),this.captions.toggled=s,nt.updateSetting.call(this,\"captions\"),Oe.call(this,this.media,s?\"captionsenabled\":\"captionsdisabled\")}setTimeout((function(){s&&t.captions.toggled&&(t.captions.currentTrackNode.mode=\"hidden\")}))}},set:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=rt.getTracks.call(this);if(-1!==e)if(K(e))if(e in i){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var n=i[e],a=n||{},s=a.language;this.captions.currentTrackNode=n,nt.updateSetting.call(this,\"captions\"),t||(this.captions.language=s,this.storage.set({language:s})),this.isVimeo&&this.embed.enableTextTrack(s),Oe.call(this,this.media,\"languagechange\")}rt.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&rt.updateCues.call(this)}else this.debug.warn(\"Track not found\",e);else this.debug.warn(\"Invalid caption argument\",e);else rt.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(Y(e)){var i=e.toLowerCase();this.captions.language=i;var n=rt.getTracks.call(this),a=rt.findTrack.call(this,[i]);rt.set.call(this,n.indexOf(a),t)}else this.debug.warn(\"Invalid language argument\",e)},getTracks:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=Array.from((this.media||{}).textTracks||[]);return i.filter((function(i){return!e.isHTML5||t||e.captions.meta.has(i)})).filter((function(e){return[\"captions\",\"subtitles\"].includes(e.kind)}))},findTrack:function(e){var t,i=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=rt.getTracks.call(this),s=function(e){return Number((i.captions.meta.get(e)||{}).default)},r=Array.from(a).sort((function(e,t){return s(t)-s(e)}));return e.every((function(e){return!(t=r.find((function(t){return t.language===e})))})),t||(n?r[0]:void 0)},getCurrentTrack:function(){return rt.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!te(t)&&Ee.textTracks&&this.captions.toggled&&(t=rt.getCurrentTrack.call(this)),te(t)?ae(t.label)?ae(t.language)?Xe(\"enabled\",this.config):e.language.toUpperCase():t.label:Xe(\"disabled\",this.config)},updateCues:function(e){if(this.supported.ui)if(G(this.elements.captions))if(W(e)||Array.isArray(e)){var t=e;if(!t){var i=rt.getCurrentTrack.call(this);t=Array.from((i||{}).activeCues||[]).map((function(e){return e.getCueAsHTML()})).map(Ye)}var n=t.map((function(e){return e.trim()})).join(\"\\n\");if(n!==this.elements.captions.innerHTML){fe(this.elements.captions);var a=he(\"span\",ye(this.config.selectors.caption));a.innerHTML=n,this.elements.captions.appendChild(a),Oe.call(this,this.media,\"cuechange\")}}else this.debug.warn(\"updateCues: Invalid input\",e);else this.debug.warn(\"No captions element to render to\")}},ot={enabled:!0,title:\"\",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:\"plyr\",iconUrl:\"https://cdn.plyr.io/3.6.3/plyr.svg\",blankVideo:\"https://cdn.plyr.io/static/blank.mp4\",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:\"auto\",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:\"plyr\"},controls:[\"play-large\",\"play\",\"progress\",\"current-time\",\"mute\",\"volume\",\"captions\",\"settings\",\"pip\",\"airplay\",\"fullscreen\"],settings:[\"captions\",\"quality\",\"speed\"],i18n:{restart:\"Restart\",rewind:\"Rewind {seektime}s\",play:\"Play\",pause:\"Pause\",fastForward:\"Forward {seektime}s\",seek:\"Seek\",seekLabel:\"{currentTime} of {duration}\",played:\"Played\",buffered:\"Buffered\",currentTime:\"Current time\",duration:\"Duration\",volume:\"Volume\",mute:\"Mute\",unmute:\"Unmute\",enableCaptions:\"Enable captions\",disableCaptions:\"Disable captions\",download:\"Download\",enterFullscreen:\"Enter fullscreen\",exitFullscreen:\"Exit fullscreen\",frameTitle:\"Player for {title}\",captions:\"Captions\",settings:\"Settings\",pip:\"PIP\",menuBack:\"Go back to previous menu\",speed:\"Speed\",normal:\"Normal\",quality:\"Quality\",loop:\"Loop\",start:\"Start\",end:\"End\",all:\"All\",reset:\"Reset\",disabled:\"Disabled\",enabled:\"Enabled\",advertisement:\"Ad\",qualityBadge:{2160:\"4K\",1440:\"HD\",1080:\"HD\",720:\"HD\",576:\"SD\",480:\"SD\"}},urls:{download:null,vimeo:{sdk:\"https://player.vimeo.com/api/player.js\",iframe:\"https://player.vimeo.com/video/{0}?{1}\",api:\"https://vimeo.com/api/oembed.json?url={0}\"},youtube:{sdk:\"https://www.youtube.com/iframe_api\",api:\"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}\"},googleIMA:{sdk:\"https://imasdk.googleapis.com/js/sdkloader/ima3.js\"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:[\"ended\",\"progress\",\"stalled\",\"playing\",\"waiting\",\"canplay\",\"canplaythrough\",\"loadstart\",\"loadeddata\",\"loadedmetadata\",\"timeupdate\",\"volumechange\",\"play\",\"pause\",\"error\",\"seeking\",\"seeked\",\"emptied\",\"ratechange\",\"cuechange\",\"download\",\"enterfullscreen\",\"exitfullscreen\",\"captionsenabled\",\"captionsdisabled\",\"languagechange\",\"controlshidden\",\"controlsshown\",\"ready\",\"statechange\",\"qualitychange\",\"adsloaded\",\"adscontentpause\",\"adscontentresume\",\"adstarted\",\"adsmidpoint\",\"adscomplete\",\"adsallcomplete\",\"adsimpression\",\"adsclick\"],selectors:{editable:\"input, textarea, select, [contenteditable]\",container:\".plyr\",controls:{container:null,wrapper:\".plyr__controls\"},labels:\"[data-plyr]\",buttons:{play:'[data-plyr=\"play\"]',pause:'[data-plyr=\"pause\"]',restart:'[data-plyr=\"restart\"]',rewind:'[data-plyr=\"rewind\"]',fastForward:'[data-plyr=\"fast-forward\"]',mute:'[data-plyr=\"mute\"]',captions:'[data-plyr=\"captions\"]',download:'[data-plyr=\"download\"]',fullscreen:'[data-plyr=\"fullscreen\"]',pip:'[data-plyr=\"pip\"]',airplay:'[data-plyr=\"airplay\"]',settings:'[data-plyr=\"settings\"]',loop:'[data-plyr=\"loop\"]'},inputs:{seek:'[data-plyr=\"seek\"]',volume:'[data-plyr=\"volume\"]',speed:'[data-plyr=\"speed\"]',language:'[data-plyr=\"language\"]',quality:'[data-plyr=\"quality\"]'},display:{currentTime:\".plyr__time--current\",duration:\".plyr__time--duration\",buffer:\".plyr__progress__buffer\",loop:\".plyr__progress__loop\",volume:\".plyr__volume--display\"},progress:\".plyr__progress\",captions:\".plyr__captions\",caption:\".plyr__caption\"},classNames:{type:\"plyr--{0}\",provider:\"plyr--{0}\",video:\"plyr__video-wrapper\",embed:\"plyr__video-embed\",videoFixedRatio:\"plyr__video-wrapper--fixed-ratio\",embedContainer:\"plyr__video-embed__container\",poster:\"plyr__poster\",posterEnabled:\"plyr__poster-enabled\",ads:\"plyr__ads\",control:\"plyr__control\",controlPressed:\"plyr__control--pressed\",playing:\"plyr--playing\",paused:\"plyr--paused\",stopped:\"plyr--stopped\",loading:\"plyr--loading\",hover:\"plyr--hover\",tooltip:\"plyr__tooltip\",cues:\"plyr__cues\",hidden:\"plyr__sr-only\",hideControls:\"plyr--hide-controls\",isIos:\"plyr--is-ios\",isTouch:\"plyr--is-touch\",uiSupported:\"plyr--full-ui\",noTransition:\"plyr--no-transition\",display:{time:\"plyr__time\"},menu:{value:\"plyr__menu__value\",badge:\"plyr__badge\",open:\"plyr--menu-open\"},captions:{enabled:\"plyr--captions-enabled\",active:\"plyr--captions-active\"},fullscreen:{enabled:\"plyr--fullscreen-enabled\",fallback:\"plyr--fullscreen-fallback\"},pip:{supported:\"plyr--pip-supported\",active:\"plyr--pip-active\"},airplay:{supported:\"plyr--airplay-supported\",active:\"plyr--airplay-active\"},tabFocus:\"plyr__tab-focus\",previewThumbnails:{thumbContainer:\"plyr__preview-thumb\",thumbContainerShown:\"plyr__preview-thumb--is-shown\",imageContainer:\"plyr__preview-thumb__image-container\",timeContainer:\"plyr__preview-thumb__time-container\",scrubbingContainer:\"plyr__preview-scrubbing\",scrubbingContainerShown:\"plyr__preview-scrubbing--is-shown\"}},attributes:{embed:{provider:\"data-plyr-provider\",id:\"data-plyr-embed-id\"}},ads:{enabled:!1,publisherId:\"\",tagUrl:\"\"},previewThumbnails:{enabled:!1,src:\"\"},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},lt=\"picture-in-picture\",ct=\"inline\",ut={html5:\"html5\",youtube:\"youtube\",vimeo:\"vimeo\"},dt=\"audio\",ht=\"video\";var mt=function(){},pt=function(){function t(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e(this,t),this.enabled=window.console&&i,this.enabled&&this.log(\"Debugging enabled\")}return i(t,[{key:\"log\",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):mt}},{key:\"warn\",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):mt}},{key:\"error\",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):mt}}]),t}(),ft=function(){function t(i){var n=this;e(this,t),this.player=i,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},this.forceFallback=\"force\"===i.config.fullscreen.fallback,this.player.elements.fullscreen=i.config.fullscreen.container&&function(e,t){return(Element.prototype.closest||function(){var e=this;do{if(ke.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,i.config.fullscreen.container),xe.call(this.player,document,\"ms\"===this.prefix?\"MSFullscreenChange\":\"\".concat(this.prefix,\"fullscreenchange\"),(function(){n.onChange()})),xe.call(this.player,this.player.elements.container,\"dblclick\",(function(e){G(n.player.elements.controls)&&n.player.elements.controls.contains(e.target)||n.player.listeners.proxy(e,n.toggle,\"fullscreen\")})),xe.call(this,this.player.elements.container,\"keydown\",(function(e){return n.trapFocus(e)})),this.update()}return i(t,[{key:\"onChange\",value:function(){if(this.enabled){var e=this.player.elements.buttons.fullscreen;G(e)&&(e.pressed=this.active);var t=this.target===this.player.media?this.target:this.player.elements.container;Oe.call(this.player,t,this.active?\"enterfullscreen\":\"exitfullscreen\",!0)}}},{key:\"toggleFallback\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?\"hidden\":\"\",be(this.target,this.player.config.classNames.fullscreen.fallback,e),oe.isIos){var t=document.head.querySelector('meta[name=\"viewport\"]'),i=\"viewport-fit=cover\";t||(t=document.createElement(\"meta\")).setAttribute(\"name\",\"viewport\");var n=Y(t.content)&&t.content.includes(i);e?(this.cleanupViewport=!n,n||(t.content+=\",\".concat(i))):this.cleanupViewport&&(t.content=t.content.split(\",\").filter((function(e){return e.trim()!==i})).join(\",\"))}this.onChange()}},{key:\"trapFocus\",value:function(e){if(!oe.isIos&&this.active&&\"Tab\"===e.key&&9===e.keyCode){var t=document.activeElement,i=Te.call(this.player,\"a[href], button:not(:disabled), input:not(:disabled), [tabindex]\"),n=o(i,1)[0],a=i[i.length-1];t!==a||e.shiftKey?t===n&&e.shiftKey&&(a.focus(),e.preventDefault()):(n.focus(),e.preventDefault())}}},{key:\"update\",value:function(){var e;this.enabled?(e=this.forceFallback?\"Fallback (forced)\":t.native?\"Native\":\"Fallback\",this.player.debug.log(\"\".concat(e,\" fullscreen enabled\"))):this.player.debug.log(\"Fullscreen not supported and fallback disabled\");be(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:\"enter\",value:function(){this.enabled&&(oe.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():!t.native||this.forceFallback?this.toggleFallback(!0):this.prefix?ae(this.prefix)||this.target[\"\".concat(this.prefix,\"Request\").concat(this.property)]():this.target.requestFullscreen({navigationUI:\"hide\"}))}},{key:\"exit\",value:function(){if(this.enabled)if(oe.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),De(this.player.play());else if(!t.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!ae(this.prefix)){var e=\"moz\"===this.prefix?\"Cancel\":\"Exit\";document[\"\".concat(this.prefix).concat(e).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}},{key:\"toggle\",value:function(){this.active?this.exit():this.enter()}},{key:\"usingNative\",get:function(){return t.native&&!this.forceFallback}},{key:\"enabled\",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:\"active\",get:function(){if(!this.enabled)return!1;if(!t.native||this.forceFallback)return we(this.target,this.player.config.classNames.fullscreen.fallback);var e=this.prefix?document[\"\".concat(this.prefix).concat(this.property,\"Element\")]:document.fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}},{key:\"target\",get:function(){return oe.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:\"native\",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:\"prefix\",get:function(){if(X(document.exitFullscreen))return\"\";var e=\"\";return[\"webkit\",\"moz\",\"ms\"].some((function(t){return!(!X(document[\"\".concat(t,\"ExitFullscreen\")])&&!X(document[\"\".concat(t,\"CancelFullScreen\")]))&&(e=t,!0)})),e}},{key:\"property\",get:function(){return\"moz\"===this.prefix?\"FullScreen\":\"Fullscreen\"}}]),t}();function gt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(i,n){var a=new Image,s=function(){delete a.onload,delete a.onerror,(a.naturalWidth>=t?i:n)(a)};Object.assign(a,{onload:s,onerror:s,src:e})}))}var yt={addStyleHook:function(){be(this.elements.container,this.config.selectors.container.replace(\".\",\"\"),!0),be(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.isHTML5?this.media.setAttribute(\"controls\",\"\"):this.media.removeAttribute(\"controls\")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn(\"Basic support only for \".concat(this.provider,\" \").concat(this.type)),void yt.toggleNativeControls.call(this,!0);G(this.elements.controls)||(nt.inject.call(this),this.listeners.controls()),yt.toggleNativeControls.call(this),this.isHTML5&&rt.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,nt.updateVolume.call(this),nt.timeUpdate.call(this),yt.checkPlaying.call(this),be(this.elements.container,this.config.classNames.pip.supported,Ee.pip&&this.isHTML5&&this.isVideo),be(this.elements.container,this.config.classNames.airplay.supported,Ee.airplay&&this.isHTML5),be(this.elements.container,this.config.classNames.isIos,oe.isIos),be(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){Oe.call(e,e.media,\"ready\")}),0),yt.setTitle.call(this),this.poster&&yt.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&nt.durationUpdate.call(this)},setTitle:function(){var e=Xe(\"play\",this.config);if(Y(this.config.title)&&!ae(this.config.title)&&(e+=\", \".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach((function(t){t.setAttribute(\"aria-label\",e)})),this.isEmbed){var t=Ce.call(this,\"iframe\");if(!G(t))return;var i=ae(this.config.title)?\"video\":this.config.title,n=Xe(\"frameTitle\",this.config);t.setAttribute(\"title\",n.replace(\"{title}\",i))}},togglePoster:function(e){be(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return i&&this.poster?Promise.reject(new Error(\"Poster already set\")):(this.media.setAttribute(\"data-poster\",e),this.elements.poster.removeAttribute(\"hidden\"),je.call(this).then((function(){return gt(e)})).catch((function(i){throw e===t.poster&&yt.togglePoster.call(t,!1),i})).then((function(){if(e!==t.poster)throw new Error(\"setPoster cancelled by later call to setPoster\")})).then((function(){return Object.assign(t.elements.poster.style,{backgroundImage:\"url('\".concat(e,\"')\"),backgroundSize:\"\"}),yt.togglePoster.call(t,!0),e})))},checkPlaying:function(e){var t=this;be(this.elements.container,this.config.classNames.playing,this.playing),be(this.elements.container,this.config.classNames.paused,this.paused),be(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute(\"aria-label\",Xe(t.playing?\"pause\":\"play\",t.config))})),Z(e)&&\"timeupdate\"===e.type||yt.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=[\"stalled\",\"waiting\"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){be(t.elements.container,t.config.classNames.loading,t.loading),yt.toggleControls.call(t)}),this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var i=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||i))}},migrateStyles:function(){var e=this;Object.values(s({},this.media.style)).filter((function(e){return!ae(e)&&Y(e)&&e.startsWith(\"--plyr\")})).forEach((function(t){e.elements.container.style.setProperty(t,e.media.style.getPropertyValue(t)),e.media.style.removeProperty(t)})),ae(this.media.style)&&this.media.removeAttribute(\"style\")}},vt=function(){function t(i){e(this,t),this.player=i,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(t,[{key:\"handleKey\",value:function(e){var t=this.player,i=t.elements,n=e.keyCode?e.keyCode:e.which,a=\"keydown\"===e.type,s=a&&n===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&K(n)){if(a){var r=document.activeElement;if(G(r)){var o=t.config.selectors.editable;if(r!==i.inputs.seek&&ke(r,o))return;if(32===e.which&&ke(r,'button, [role^=\"menuitem\"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(n)&&(e.preventDefault(),e.stopPropagation()),n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s||(t.currentTime=t.duration/10*(n-48));break;case 32:case 75:s||De(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:s||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:s||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===n&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}}},{key:\"toggleMenu\",value:function(e){nt.toggleMenu.call(this.player,e)}},{key:\"firstTouch\",value:function(){var e=this.player,t=e.elements;e.touch=!0,be(t.container,e.config.classNames.isTouch,!0)}},{key:\"setTabFocus\",value:function(e){var t=this.player,i=t.elements;if(clearTimeout(this.focusTimer),\"keydown\"!==e.type||9===e.which){\"keydown\"===e.type&&(this.lastKeyDown=e.timeStamp);var n,a=e.timeStamp-this.lastKeyDown<=20;if(\"focus\"!==e.type||a)n=t.config.classNames.tabFocus,be(Te.call(t,\".\".concat(n)),n,!1),\"focusout\"!==e.type&&(this.focusTimer=setTimeout((function(){var e=document.activeElement;i.container.contains(e)&&be(document.activeElement,t.config.classNames.tabFocus,!0)}),10))}}},{key:\"global\",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.player;t.config.keyboard.global&&Me.call(t,window,\"keydown keyup\",this.handleKey,e,!1),Me.call(t,document.body,\"click\",this.toggleMenu,e),Le.call(t,document.body,\"touchstart\",this.firstTouch),Me.call(t,document.body,\"keydown focus blur focusout\",this.setTabFocus,e,!1,!0)}},{key:\"container\",value:function(){var e=this.player,t=e.config,i=e.elements,n=e.timers;!t.keyboard.global&&t.keyboard.focused&&xe.call(e,i.container,\"keydown keyup\",this.handleKey,!1),xe.call(e,i.container,\"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen\",(function(t){var a=i.controls;a&&\"enterfullscreen\"===t.type&&(a.pressed=!1,a.hover=!1);var s=0;[\"touchstart\",\"touchmove\",\"mousemove\"].includes(t.type)&&(yt.toggleControls.call(e,!0),s=e.touch?3e3:2e3),clearTimeout(n.controls),n.controls=setTimeout((function(){return yt.toggleControls.call(e,!1)}),s)}));var a=function(t){if(!t)return Re.call(e);var n=i.container.getBoundingClientRect(),a=n.width,s=n.height;return Re.call(e,\"\".concat(a,\":\").concat(s))},s=function(){clearTimeout(n.resized),n.resized=setTimeout(a,50)};xe.call(e,i.container,\"enterfullscreen exitfullscreen\",(function(t){var n=e.fullscreen,r=n.target,l=n.usingNative;if(r===i.container&&(e.isEmbed||!ae(e.config.ratio))){var c=\"enterfullscreen\"===t.type,u=a(c);u.padding;!function(t,i,n){if(e.isVimeo&&!e.config.vimeo.premium){var a=e.elements.wrapper.firstChild,s=o(t,2)[1],r=o(Fe.call(e),2),l=r[0],c=r[1];a.style.maxWidth=n?\"\".concat(s/c*l,\"px\"):null,a.style.margin=n?\"0 auto\":null}}(u.ratio,0,c),c&&setTimeout((function(){return re(i.container)}),100),l||(c?xe.call(e,window,\"resize\",s):Ie.call(e,window,\"resize\",s))}}))}},{key:\"media\",value:function(){var e=this,t=this.player,i=t.elements;if(xe.call(t,t.media,\"timeupdate seeking seeked\",(function(e){return nt.timeUpdate.call(t,e)})),xe.call(t,t.media,\"durationchange loadeddata loadedmetadata\",(function(e){return nt.durationUpdate.call(t,e)})),xe.call(t,t.media,\"ended\",(function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&(t.restart(),t.pause())})),xe.call(t,t.media,\"progress playing seeking seeked\",(function(e){return nt.updateProgress.call(t,e)})),xe.call(t,t.media,\"volumechange\",(function(e){return nt.updateVolume.call(t,e)})),xe.call(t,t.media,\"playing play pause ended emptied timeupdate\",(function(e){return yt.checkPlaying.call(t,e)})),xe.call(t,t.media,\"waiting canplay seeked playing\",(function(e){return yt.checkLoading.call(t,e)})),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var n=Ce.call(t,\".\".concat(t.config.classNames.video));if(!G(n))return;xe.call(t,i.container,\"click\",(function(a){([i.container,n].includes(a.target)||n.contains(a.target))&&(t.touch&&t.config.hideControls||(t.ended?(e.proxy(a,t.restart,\"restart\"),e.proxy(a,(function(){De(t.play())}),\"play\")):e.proxy(a,(function(){De(t.togglePlay())}),\"play\")))}))}t.supported.ui&&t.config.disableContextMenu&&xe.call(t,i.wrapper,\"contextmenu\",(function(e){e.preventDefault()}),!1),xe.call(t,t.media,\"volumechange\",(function(){t.storage.set({volume:t.volume,muted:t.muted})})),xe.call(t,t.media,\"ratechange\",(function(){nt.updateSetting.call(t,\"speed\"),t.storage.set({speed:t.speed})})),xe.call(t,t.media,\"qualitychange\",(function(e){nt.updateSetting.call(t,\"quality\",null,e.detail.quality)})),xe.call(t,t.media,\"ready qualitychange\",(function(){nt.setDownloadUrl.call(t)}));var a=t.config.events.concat([\"keyup\",\"keydown\"]).join(\" \");xe.call(t,t.media,a,(function(e){var n=e.detail,a=void 0===n?{}:n;\"error\"===e.type&&(a=t.media.error),Oe.call(t,i.container,e.type,!0,a)}))}},{key:\"proxy\",value:function(e,t,i){var n=this.player,a=n.config.listeners[i],s=!0;X(a)&&(s=a.call(n,e)),!1!==s&&X(t)&&t.call(n,e)}},{key:\"bind\",value:function(e,t,i,n){var a=this,s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=this.player,o=r.config.listeners[n],l=X(o);xe.call(r,e,t,(function(e){return a.proxy(e,i,n)}),s&&!l)}},{key:\"controls\",value:function(){var e=this,t=this.player,i=t.elements,n=oe.isIE?\"change\":\"input\";if(i.buttons.play&&Array.from(i.buttons.play).forEach((function(i){e.bind(i,\"click\",(function(){De(t.togglePlay())}),\"play\")})),this.bind(i.buttons.restart,\"click\",t.restart,\"restart\"),this.bind(i.buttons.rewind,\"click\",(function(){t.lastSeekTime=Date.now(),t.rewind()}),\"rewind\"),this.bind(i.buttons.fastForward,\"click\",(function(){t.lastSeekTime=Date.now(),t.forward()}),\"fastForward\"),this.bind(i.buttons.mute,\"click\",(function(){t.muted=!t.muted}),\"mute\"),this.bind(i.buttons.captions,\"click\",(function(){return t.toggleCaptions()})),this.bind(i.buttons.download,\"click\",(function(){Oe.call(t,t.media,\"download\")}),\"download\"),this.bind(i.buttons.fullscreen,\"click\",(function(){t.fullscreen.toggle()}),\"fullscreen\"),this.bind(i.buttons.pip,\"click\",(function(){t.pip=\"toggle\"}),\"pip\"),this.bind(i.buttons.airplay,\"click\",t.airplay,\"airplay\"),this.bind(i.buttons.settings,\"click\",(function(e){e.stopPropagation(),e.preventDefault(),nt.toggleMenu.call(t,e)}),null,!1),this.bind(i.buttons.settings,\"keyup\",(function(e){var i=e.which;[13,32].includes(i)&&(13!==i?(e.preventDefault(),e.stopPropagation(),nt.toggleMenu.call(t,e)):nt.focusFirstMenuItem.call(t,null,!0))}),null,!1),this.bind(i.settings.menu,\"keydown\",(function(e){27===e.which&&nt.toggleMenu.call(t,e)})),this.bind(i.inputs.seek,\"mousedown mousemove\",(function(e){var t=i.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute(\"seek-value\",n)})),this.bind(i.inputs.seek,\"mousedown mouseup keydown keyup touchstart touchend\",(function(e){var i=e.currentTarget,n=e.keyCode?e.keyCode:e.which,a=\"play-on-seeked\";if(!ee(e)||39===n||37===n){t.lastSeekTime=Date.now();var s=i.hasAttribute(a),r=[\"mouseup\",\"touchend\",\"keyup\"].includes(e.type);s&&r?(i.removeAttribute(a),De(t.play())):!r&&t.playing&&(i.setAttribute(a,\"\"),t.pause())}})),oe.isIos){var a=Te.call(t,'input[type=\"range\"]');Array.from(a).forEach((function(t){return e.bind(t,n,(function(e){return re(e.target)}))}))}this.bind(i.inputs.seek,n,(function(e){var i=e.currentTarget,n=i.getAttribute(\"seek-value\");ae(n)&&(n=i.value),i.removeAttribute(\"seek-value\"),t.currentTime=n/i.max*t.duration}),\"seek\"),this.bind(i.progress,\"mouseenter mouseleave mousemove\",(function(e){return nt.updateSeekTooltip.call(t,e)})),this.bind(i.progress,\"mousemove touchmove\",(function(e){var i=t.previewThumbnails;i&&i.loaded&&i.startMove(e)})),this.bind(i.progress,\"mouseleave touchend click\",(function(){var e=t.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)})),this.bind(i.progress,\"mousedown touchstart\",(function(e){var i=t.previewThumbnails;i&&i.loaded&&i.startScrubbing(e)})),this.bind(i.progress,\"mouseup touchend\",(function(e){var i=t.previewThumbnails;i&&i.loaded&&i.endScrubbing(e)})),oe.isWebkit&&Array.from(Te.call(t,'input[type=\"range\"]')).forEach((function(i){e.bind(i,\"input\",(function(e){return nt.updateRangeFill.call(t,e.target)}))})),t.config.toggleInvert&&!G(i.display.duration)&&this.bind(i.display.currentTime,\"click\",(function(){0!==t.currentTime&&(t.config.invertTime=!t.config.invertTime,nt.timeUpdate.call(t))})),this.bind(i.inputs.volume,n,(function(e){t.volume=e.target.value}),\"volume\"),this.bind(i.controls,\"mouseenter mouseleave\",(function(e){i.controls.hover=!t.touch&&\"mouseenter\"===e.type})),i.fullscreen&&Array.from(i.fullscreen.children).filter((function(e){return!e.contains(i.container)})).forEach((function(n){e.bind(n,\"mouseenter mouseleave\",(function(e){i.controls.hover=!t.touch&&\"mouseenter\"===e.type}))})),this.bind(i.controls,\"mousedown mouseup touchstart touchend touchcancel\",(function(e){i.controls.pressed=[\"mousedown\",\"touchstart\"].includes(e.type)})),this.bind(i.controls,\"focusin\",(function(){var n=t.config,a=t.timers;be(i.controls,n.classNames.noTransition,!0),yt.toggleControls.call(t,!0),setTimeout((function(){be(i.controls,n.classNames.noTransition,!1)}),0);var s=e.touch?3e3:4e3;clearTimeout(a.controls),a.controls=setTimeout((function(){return yt.toggleControls.call(t,!1)}),s)})),this.bind(i.inputs.volume,\"wheel\",(function(e){var i=e.webkitDirectionInvertedFromDevice,n=o([e.deltaX,-e.deltaY].map((function(e){return i?-e:e})),2),a=n[0],s=n[1],r=Math.sign(Math.abs(a)>Math.abs(s)?a:s);t.increaseVolume(r/50);var l=t.media.volume;(1===r&&l<1||-1===r&&l>0)&&e.preventDefault()}),\"volume\",!1)}}]),t}();\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self&&self;var bt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},i={},n={};function a(e,t){e=e.push?e:[e];var a,s,r,o=[],l=e.length,c=l;for(a=function(e,i){i.length&&o.push(e),--c||t(o)};l--;)s=e[l],(r=i[s])?a(s,r):(n[s]=n[s]||[]).push(a)}function s(e,t){if(e){var a=n[e];if(i[e]=t,a)for(;a.length;)a[0](e,t),a.splice(0,1)}}function r(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function o(t,i,n,a){var s,r,l=document,c=n.async,u=(n.numRetries||0)+1,d=n.before||e,h=t.replace(/[\\?|#].*$/,\"\"),m=t.replace(/^(css|img)!/,\"\");a=a||0,/(^css!|\\.css$)/.test(h)?((r=l.createElement(\"link\")).rel=\"stylesheet\",r.href=m,(s=\"hideFocus\"in r)&&r.relList&&(s=0,r.rel=\"preload\",r.as=\"style\")):/(^img!|\\.(png|gif|jpg|svg|webp)$)/.test(h)?(r=l.createElement(\"img\")).src=m:((r=l.createElement(\"script\")).src=t,r.async=void 0===c||c),r.onload=r.onerror=r.onbeforeload=function(e){var l=e.type[0];if(s)try{r.sheet.cssText.length||(l=\"e\")}catch(e){18!=e.code&&(l=\"e\")}if(\"e\"==l){if((a+=1)0&&void 0!==arguments[0]&&arguments[0];if(!t)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute(\"data-badge-text\");var i=function(){var t=it(Math.max(e.manager.getRemainingTime(),0)),i=\"\".concat(Xe(\"advertisement\",e.player.config),\" - \").concat(t);e.elements.container.setAttribute(\"data-badge-text\",i)};this.countdownTimer=setInterval(i,100)}},{key:\"onAdsManagerLoaded\",value:function(e){var t=this;if(this.enabled){var i=new google.ima.AdsRenderingSettings;i.restoreCustomPlaybackStateOnAdBreakComplete=!0,i.enablePreloading=!0,this.manager=e.getAdsManager(this.player,i),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return t.onAdError(e)})),Object.keys(google.ima.AdEvent.Type).forEach((function(e){t.manager.addEventListener(google.ima.AdEvent.Type[e],(function(e){return t.onAdEvent(e)}))})),this.trigger(\"loaded\")}}},{key:\"addCuePoints\",value:function(){var e=this;ae(this.cuePoints)||this.cuePoints.forEach((function(t){if(0!==t&&-1!==t&&t1?i-1:0),a=1;at.width/t.height?(i.width=t.width,i.height=1/e*t.width):(i.height=t.height,i.width=e*t.height),i},Mt=function(){function t(i){e(this,t),this.player=i,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return i(t,[{key:\"load\",value:function(){var e=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((function(){e.enabled&&(e.render(),e.determineContainerAutoSizing(),e.loaded=!0)}))}},{key:\"getThumbnails\",value:function(){var e=this;return new Promise((function(t){var i=e.player.config.previewThumbnails.src;if(ae(i))throw new Error(\"Missing previewThumbnails.src config attribute\");var n=function(){e.thumbnails.sort((function(e,t){return e.height-t.height})),e.player.debug.log(\"Preview thumbnails\",e.thumbnails),t()};if(X(i))i((function(t){e.thumbnails=t,n()}));else{var a=(Y(i)?[i]:i).map((function(t){return e.getThumbnail(t)}));Promise.all(a).then(n)}}))}},{key:\"getThumbnail\",value:function(e){var t=this;return new Promise((function(i){Je(e).then((function(n){var a,s,r={frames:(a=n,s=[],a.split(/\\r\\n\\r\\n|\\n\\n|\\r\\r/).forEach((function(e){var t={};e.split(/\\r\\n|\\n|\\r/).forEach((function(e){if(K(t.startTime)){if(!ae(e.trim())&&ae(t.text)){var i=e.trim().split(\"#xywh=\"),n=o(i,1);if(t.text=n[0],i[1]){var a=o(i[1].split(\",\"),4);t.x=a[0],t.y=a[1],t.w=a[2],t.h=a[3]}}}else{var s=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);s&&(t.startTime=60*Number(s[1]||0)*60+60*Number(s[2])+Number(s[3])+Number(\"0.\".concat(s[4])),t.endTime=60*Number(s[6]||0)*60+60*Number(s[7])+Number(s[8])+Number(\"0.\".concat(s[9])))}})),t.text&&s.push(t)})),s),height:null,urlPrefix:\"\"};r.frames[0].text.startsWith(\"/\")||r.frames[0].text.startsWith(\"http://\")||r.frames[0].text.startsWith(\"https://\")||(r.urlPrefix=e.substring(0,e.lastIndexOf(\"/\")+1));var l=new Image;l.onload=function(){r.height=l.naturalHeight,r.width=l.naturalWidth,t.thumbnails.push(r),i()},l.src=r.urlPrefix+r.frames[0].text}))}))}},{key:\"startMove\",value:function(e){if(this.loaded&&Z(e)&&[\"touchmove\",\"mousemove\"].includes(e.type)&&this.player.media.duration){if(\"touchmove\"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t=this.player.elements.progress.getBoundingClientRect(),i=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(i/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=it(this.seekTime)}this.showImageAtCurrentTime()}}},{key:\"endMove\",value:function(){this.toggleThumbContainer(!1,!0)}},{key:\"startScrubbing\",value:function(e){(W(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:\"endScrubbing\",value:function(){var e=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):Le.call(this.player,this.player.media,\"timeupdate\",(function(){e.mouseDown||e.toggleScrubbingContainer(!1)}))}},{key:\"listeners\",value:function(){var e=this;this.player.on(\"play\",(function(){e.toggleThumbContainer(!1,!0)})),this.player.on(\"seeked\",(function(){e.toggleThumbContainer(!1)})),this.player.on(\"timeupdate\",(function(){e.lastTime=e.player.media.currentTime}))}},{key:\"render\",value:function(){this.elements.thumb.container=he(\"div\",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=he(\"div\",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var e=he(\"div\",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=he(\"span\",{},\"00:00\"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),G(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=he(\"div\",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:\"destroy\",value:function(){this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}},{key:\"showImageAtCurrentTime\",value:function(){var e=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var t=this.thumbnails[0].frames.findIndex((function(t){return e.seekTime>=t.startTime&&e.seekTime<=t.endTime})),i=t>=0,n=0;this.mouseDown||this.toggleThumbContainer(i),i&&(this.thumbnails.forEach((function(i,a){e.loadedImages.includes(i.frames[t].text)&&(n=a)})),t!==this.showingThumb&&(this.showingThumb=t,this.loadImage(n)))}},{key:\"loadImage\",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.showingThumb,n=this.thumbnails[t],a=n.urlPrefix,s=n.frames[i],r=n.frames[i].text,o=a+r;if(this.currentImageElement&&this.currentImageElement.dataset.filename===r)this.showImage(this.currentImageElement,s,t,i,r,!1),this.currentImageElement.dataset.index=i,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);var l=new Image;l.src=o,l.dataset.index=i,l.dataset.filename=r,this.showingThumbFilename=r,this.player.debug.log(\"Loading image: \".concat(o)),l.onload=function(){return e.showImage(l,s,t,i,r,!0)},this.loadingImage=l,this.removeOldImages(l)}}},{key:\"showImage\",value:function(e,t,i,n,a){var s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];this.player.debug.log(\"Showing thumb: \".concat(a,\". num: \").concat(n,\". qual: \").concat(i,\". newimg: \").concat(s)),this.setImageSizeAndOffset(e,t),s&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(a)||this.loadedImages.push(a)),this.preloadNearby(n,!0).then(this.preloadNearby(n,!1)).then(this.getHigherQuality(i,e,t,a))}},{key:\"removeOldImages\",value:function(e){var t=this;Array.from(this.currentImageContainer.children).forEach((function(i){if(\"img\"===i.tagName.toLowerCase()){var n=t.usingSprites?500:1e3;if(i.dataset.index!==e.dataset.index&&!i.dataset.deleting){i.dataset.deleting=!0;var a=t.currentImageContainer;setTimeout((function(){a.removeChild(i),t.player.debug.log(\"Removing thumb: \".concat(i.dataset.filename))}),n)}}}))}},{key:\"preloadNearby\",value:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((function(n){setTimeout((function(){var a=t.thumbnails[0].frames[e].text;if(t.showingThumbFilename===a){var s;s=i?t.thumbnails[0].frames.slice(e):t.thumbnails[0].frames.slice(0,e).reverse();var r=!1;s.forEach((function(e){var i=e.text;if(i!==a&&!t.loadedImages.includes(i)){r=!0,t.player.debug.log(\"Preloading thumb filename: \".concat(i));var s=t.thumbnails[0].urlPrefix+i,o=new Image;o.src=s,o.onload=function(){t.player.debug.log(\"Preloaded thumb filename: \".concat(i)),t.loadedImages.includes(i)||t.loadedImages.push(i),n()}}})),r||n()}}),300)}))}},{key:\"getHigherQuality\",value:function(e,t,i,n){var a=this;if(e0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(i,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}},{key:\"toggleScrubbingContainer\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}},{key:\"determineContainerAutoSizing\",value:function(){(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}},{key:\"setThumbContainerSizeAndPos\",value:function(){if(this.sizeSpecifiedInCSS){if(this.elements.thumb.imageContainer.clientHeight>20&&this.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(this.elements.thumb.imageContainer.clientHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.width=\"\".concat(e,\"px\")}else if(this.elements.thumb.imageContainer.clientHeight<20&&this.elements.thumb.imageContainer.clientWidth>20){var t=Math.floor(this.elements.thumb.imageContainer.clientWidth/this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height=\"\".concat(t,\"px\")}}else{var i=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height=\"\".concat(this.thumbContainerHeight,\"px\"),this.elements.thumb.imageContainer.style.width=\"\".concat(i,\"px\")}this.setThumbContainerPos()}},{key:\"setThumbContainerPos\",value:function(){var e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),i=this.elements.thumb.container,n=t.left-e.left+10,a=t.right-e.left-i.clientWidth-10,s=this.mousePosX-e.left-i.clientWidth/2;sa&&(s=a),i.style.left=\"\".concat(s,\"px\")}},{key:\"setScrubbingContainerSize\",value:function(){var e=Nt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}),t=e.width,i=e.height;this.elements.scrubbing.container.style.width=\"\".concat(t,\"px\"),this.elements.scrubbing.container.style.height=\"\".concat(i,\"px\")}},{key:\"setImageSizeAndOffset\",value:function(e,t){if(this.usingSprites){var i=this.thumbContainerHeight/t.h;e.style.height=\"\".concat(e.naturalHeight*i,\"px\"),e.style.width=\"\".concat(e.naturalWidth*i,\"px\"),e.style.left=\"-\".concat(t.x*i,\"px\"),e.style.top=\"-\".concat(t.y*i,\"px\")}}},{key:\"enabled\",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:\"currentImageContainer\",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:\"usingSprites\",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes(\"w\")}},{key:\"thumbAspectRatio\",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:\"thumbContainerHeight\",get:function(){return this.mouseDown?Nt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:\"currentImageElement\",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),t}(),xt={insertElements:function(e,t){var i=this;Y(t)?me(e,this.media,{src:t}):$(t)&&t.forEach((function(t){me(e,i.media,t)}))},change:function(e){var t=this;le(e,\"sources.length\")?(Ve.cancelRequests.call(this),this.destroy.call(this,(function(){t.options.quality=[],pe(t.media),t.media=null,G(t.elements.container)&&t.elements.container.removeAttribute(\"class\");var i=e.sources,n=e.type,a=o(i,1)[0],s=a.provider,r=void 0===s?ut.html5:s,l=a.src,c=\"html5\"===r?n:\"div\",u=\"html5\"===r?{}:{src:l};Object.assign(t,{provider:r,type:n,supported:Ee.check(n,r,t.config.playsinline),media:he(c,u)}),t.elements.container.appendChild(t.media),Q(e.autoplay)&&(t.config.autoplay=e.autoplay),t.isHTML5&&(t.config.crossorigin&&t.media.setAttribute(\"crossorigin\",\"\"),t.config.autoplay&&t.media.setAttribute(\"autoplay\",\"\"),ae(e.poster)||(t.poster=e.poster),t.config.loop.active&&t.media.setAttribute(\"loop\",\"\"),t.config.muted&&t.media.setAttribute(\"muted\",\"\"),t.config.playsinline&&t.media.setAttribute(\"playsinline\",\"\")),yt.addStyleHook.call(t),t.isHTML5&&xt.insertElements.call(t,\"source\",i),t.config.title=e.title,Pt.setup.call(t),t.isHTML5&&Object.keys(e).includes(\"tracks\")&&xt.insertElements.call(t,\"track\",e.tracks),(t.isHTML5||t.isEmbed&&!t.supported.ui)&&yt.build.call(t),t.isHTML5&&t.media.load(),ae(e.previewThumbnails)||(Object.assign(t.config.previewThumbnails,e.previewThumbnails),t.previewThumbnails&&t.previewThumbnails.loaded&&(t.previewThumbnails.destroy(),t.previewThumbnails=null),t.config.previewThumbnails.enabled&&(t.previewThumbnails=new Mt(t))),t.fullscreen.update()}),!0)):this.debug.warn(\"Invalid source format\")}};var It,Lt=function(){function t(i,n){var a=this;if(e(this,t),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=Ee.touch,this.media=i,Y(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||J(this.media)||$(this.media))&&(this.media=this.media[0]),this.config=ce({},ot,t.defaults,n||{},function(){try{return JSON.parse(a.media.getAttribute(\"data-plyr-config\"))}catch(e){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new pt(this.config.debug),this.debug.log(\"Config\",this.config),this.debug.log(\"Support\",Ee),!W(this.media)&&G(this.media))if(this.media.plyr)this.debug.warn(\"Target already setup\");else if(this.config.enabled)if(Ee.check().api){var s=this.media.cloneNode(!0);s.autoplay=!1,this.elements.original=s;var r=this.media.tagName.toLowerCase(),o=null,l=null;switch(r){case\"div\":if(o=this.media.querySelector(\"iframe\"),G(o)){if(l=at(o.getAttribute(\"src\")),this.provider=function(e){return/^(https?:\\/\\/)?(www\\.)?(youtube\\.com|youtube-nocookie\\.com|youtu\\.?be)\\/.+$/.test(e)?ut.youtube:/^https?:\\/\\/player.vimeo.com\\/video\\/\\d{0,9}(?=\\b|\\/)/.test(e)?ut.vimeo:null}(l.toString()),this.elements.container=this.media,this.media=o,this.elements.container.className=\"\",l.search.length){var c=[\"1\",\"true\"];c.includes(l.searchParams.get(\"autoplay\"))&&(this.config.autoplay=!0),c.includes(l.searchParams.get(\"loop\"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=c.includes(l.searchParams.get(\"playsinline\")),this.config.youtube.hl=l.searchParams.get(\"hl\")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(ae(this.provider)||!Object.keys(ut).includes(this.provider))return void this.debug.error(\"Setup failed: Invalid provider\");this.type=ht;break;case\"video\":case\"audio\":this.type=r,this.provider=ut.html5,this.media.hasAttribute(\"crossorigin\")&&(this.config.crossorigin=!0),this.media.hasAttribute(\"autoplay\")&&(this.config.autoplay=!0),(this.media.hasAttribute(\"playsinline\")||this.media.hasAttribute(\"webkit-playsinline\"))&&(this.config.playsinline=!0),this.media.hasAttribute(\"muted\")&&(this.config.muted=!0),this.media.hasAttribute(\"loop\")&&(this.config.loop.active=!0);break;default:return void this.debug.error(\"Setup failed: unsupported type\")}this.supported=Ee.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new vt(this),this.storage=new $e(this),this.media.plyr=this,G(this.elements.container)||(this.elements.container=he(\"div\",{tabindex:0}),ue(this.media,this.elements.container)),yt.migrateStyles.call(this),yt.addStyleHook.call(this),Pt.setup.call(this),this.config.debug&&xe.call(this,this.elements.container,this.config.events.join(\" \"),(function(e){a.debug.log(\"event: \".concat(e.type))})),this.fullscreen=new ft(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&yt.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Et(this)),this.isHTML5&&this.config.autoplay&&this.once(\"canplay\",(function(){return De(a.play())})),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new Mt(this))):this.debug.error(\"Setup failed: no support\")}else this.debug.error(\"Setup failed: no support\");else this.debug.error(\"Setup failed: disabled by config\");else this.debug.error(\"Setup failed: no suitable element passed\")}return i(t,[{key:\"play\",value:function(){var e=this;return X(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((function(){return e.ads.play()})).catch((function(){return De(e.media.play())})),this.media.play()):null}},{key:\"pause\",value:function(){return this.playing&&X(this.media.pause)?this.media.pause():null}},{key:\"togglePlay\",value:function(e){return(Q(e)?e:!this.playing)?this.play():this.pause()}},{key:\"stop\",value:function(){this.isHTML5?(this.pause(),this.restart()):X(this.media.stop)&&this.media.stop()}},{key:\"restart\",value:function(){this.currentTime=0}},{key:\"rewind\",value:function(e){this.currentTime-=K(e)?e:this.config.seekTime}},{key:\"forward\",value:function(e){this.currentTime+=K(e)?e:this.config.seekTime}},{key:\"increaseVolume\",value:function(e){var t=this.media.muted?0:this.volume;this.volume=t+(K(e)?e:0)}},{key:\"decreaseVolume\",value:function(e){this.increaseVolume(-e)}},{key:\"toggleCaptions\",value:function(e){rt.toggle.call(this,e,!1)}},{key:\"airplay\",value:function(){Ee.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:\"toggleControls\",value:function(e){if(this.supported.ui&&!this.isAudio){var t=we(this.elements.container,this.config.classNames.hideControls),i=void 0===e?void 0:!e,n=be(this.elements.container,this.config.classNames.hideControls,i);if(n&&$(this.config.controls)&&this.config.controls.includes(\"settings\")&&!ae(this.config.settings)&&nt.toggleMenu.call(this,!1),n!==t){var a=n?\"controlshidden\":\"controlsshown\";Oe.call(this,this.media,a)}return!n}return!1}},{key:\"on\",value:function(e,t){xe.call(this,this.elements.container,e,t)}},{key:\"once\",value:function(e,t){Le.call(this,this.elements.container,e,t)}},{key:\"off\",value:function(e,t){Ie(this.elements.container,e,t)}},{key:\"destroy\",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var n=function(){document.body.style.overflow=\"\",t.embed=null,i?(Object.keys(t.elements).length&&(pe(t.elements.buttons.play),pe(t.elements.captions),pe(t.elements.controls),pe(t.elements.wrapper),t.elements.buttons.play=null,t.elements.captions=null,t.elements.controls=null,t.elements.wrapper=null),X(e)&&e()):(_e.call(t),Ve.cancelRequests.call(t),ge(t.elements.original,t.elements.container),Oe.call(t,t.elements.original,\"destroyed\",!0),X(e)&&e.call(t.elements.original),t.ready=!1,setTimeout((function(){t.elements=null,t.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(yt.toggleNativeControls.call(this,!0),n()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&X(this.embed.destroy)&&this.embed.destroy(),n()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(n),setTimeout(n,200))}}},{key:\"supports\",value:function(e){return Ee.mime.call(this,e)}},{key:\"isHTML5\",get:function(){return this.provider===ut.html5}},{key:\"isEmbed\",get:function(){return this.isYouTube||this.isVimeo}},{key:\"isYouTube\",get:function(){return this.provider===ut.youtube}},{key:\"isVimeo\",get:function(){return this.provider===ut.vimeo}},{key:\"isVideo\",get:function(){return this.type===ht}},{key:\"isAudio\",get:function(){return this.type===dt}},{key:\"playing\",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:\"paused\",get:function(){return Boolean(this.media.paused)}},{key:\"stopped\",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:\"ended\",get:function(){return Boolean(this.media.ended)}},{key:\"currentTime\",set:function(e){if(this.duration){var t=K(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(\"Seeking to \".concat(this.currentTime,\" seconds\"))}},get:function(){return Number(this.media.currentTime)}},{key:\"buffered\",get:function(){var e=this.media.buffered;return K(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}},{key:\"seeking\",get:function(){return Boolean(this.media.seeking)}},{key:\"duration\",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,i=K(t)&&t!==1/0?t:0;return e||i}},{key:\"volume\",set:function(e){var t=e;Y(t)&&(t=Number(t)),K(t)||(t=this.storage.get(\"volume\")),K(t)||(t=this.config.volume),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!ae(e)&&this.muted&&t>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:\"muted\",set:function(e){var t=e;Q(t)||(t=this.storage.get(\"muted\")),Q(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:\"hasAudio\",get:function(){return!this.isHTML5||(!!this.isAudio||(Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)))}},{key:\"speed\",set:function(e){var t=this,i=null;K(e)&&(i=e),K(i)||(i=this.storage.get(\"speed\")),K(i)||(i=this.config.speed.selected);var n=this.minimumSpeed,a=this.maximumSpeed;i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),i)}(i,n,a),this.config.speed.selected=i,setTimeout((function(){t.media.playbackRate=i}),0)},get:function(){return Number(this.media.playbackRate)}},{key:\"minimumSpeed\",get:function(){return this.isYouTube?Math.min.apply(Math,l(this.options.speed)):this.isVimeo?.5:.0625}},{key:\"maximumSpeed\",get:function(){return this.isYouTube?Math.max.apply(Math,l(this.options.speed)):this.isVimeo?2:16}},{key:\"quality\",set:function(e){var t=this.config.quality,i=this.options.quality;if(i.length){var n=[!ae(e)&&Number(e),this.storage.get(\"quality\"),t.selected,t.default].find(K),a=!0;if(!i.includes(n)){var s=function(e,t){return $(e)&&e.length?e.reduce((function(e,i){return Math.abs(i-t)1&&void 0!==arguments[1]?arguments[1]:{},n=null;return Y(e)?n=Array.from(document.querySelectorAll(e)):J(e)?n=Array.from(e):$(e)&&(n=e.filter(G)),ae(n)?null:n.map((function(e){return new t(e,i)}))}}]),t}();return Lt.defaults=(It=ot,JSON.parse(JSON.stringify(It))),Lt}));\n//# sourceMappingURL=plyr.min.js.map\n","const padStart = (string: number | string, targetLength: number, padString: string) => {\n targetLength = targetLength >> 0\n string = String(string)\n padString = String(padString)\n if (string.length > targetLength) {\n return String(string)\n }\n\n targetLength = targetLength - string.length\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length)\n }\n return padString.slice(0, targetLength) + String(string)\n}\n\nexport default (n: string | number, length = 2) => padStart(n, length, '0')\n","'use strict';\nvar $ = require('../internals/export');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isRegExp = require('../internals/is-regexp');\nvar getRegExpFlags = require('../internals/regexp-flags');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar RegExpPrototype = RegExp.prototype;\n\n// `String.prototype.replaceAll` method\n// https://github.com/tc39/proposal-string-replace-all\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, template, result, position, index;\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = String(requireObjectCoercible('flags' in RegExpPrototype\n ? searchValue.flags\n : getRegExpFlags.call(searchValue)\n ));\n if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = searchValue[REPLACE];\n if (replacer !== undefined) {\n return replacer.call(searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return String(O).replace(searchValue, replaceValue);\n }\n }\n string = String(O);\n searchString = String(searchValue);\n if (searchString === '') return replaceAll.call(string, /(?:)/g, replaceValue);\n template = string.split(searchString);\n if (typeof replaceValue !== 'function') {\n return template.join(String(replaceValue));\n }\n result = template[0];\n position = result.length;\n for (index = 1; index < template.length; index++) {\n result += String(replaceValue(searchString, position, string));\n position += searchString.length + template[index].length;\n result += template[index];\n }\n return result;\n }\n});\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _microphone = require('./microphone');\n\nvar _microphone2 = _interopRequireDefault(_microphone);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar defaultConfig = {\n nFrequencyBars: 255,\n onAnalysed: null\n};\n\nvar Recorder = function () {\n function Recorder(audioContext) {\n var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, Recorder);\n\n this.config = Object.assign({}, defaultConfig, config);\n\n this.audioContext = audioContext;\n this.audioInput = null;\n this.realAudioInput = null;\n this.inputPoint = null;\n this.audioRecorder = null;\n this.rafID = null;\n this.analyserContext = null;\n this.recIndex = 0;\n this.stream = null;\n\n this.updateAnalysers = this.updateAnalysers.bind(this);\n }\n\n _createClass(Recorder, [{\n key: 'init',\n value: function init(stream) {\n var _this = this;\n\n return new Promise(function (resolve) {\n _this.inputPoint = _this.audioContext.createGain();\n\n _this.stream = stream;\n\n _this.realAudioInput = _this.audioContext.createMediaStreamSource(stream);\n _this.audioInput = _this.realAudioInput;\n _this.audioInput.connect(_this.inputPoint);\n\n _this.analyserNode = _this.audioContext.createAnalyser();\n _this.analyserNode.fftSize = 2048;\n _this.inputPoint.connect(_this.analyserNode);\n\n _this.audioRecorder = new _microphone2.default(_this.inputPoint);\n\n var zeroGain = _this.audioContext.createGain();\n zeroGain.gain.value = 0.0;\n\n _this.inputPoint.connect(zeroGain);\n zeroGain.connect(_this.audioContext.destination);\n\n _this.updateAnalysers();\n\n resolve();\n });\n }\n }, {\n key: 'start',\n value: function start() {\n var _this2 = this;\n\n return new Promise(function (resolve, reject) {\n if (!_this2.audioRecorder) {\n reject('Not currently recording');\n return;\n }\n\n _this2.audioRecorder.clear();\n _this2.audioRecorder.record();\n\n resolve(_this2.stream);\n });\n }\n }, {\n key: 'stop',\n value: function stop() {\n var _this3 = this;\n\n return new Promise(function (resolve) {\n _this3.audioRecorder.stop();\n\n _this3.audioRecorder.getBuffer(function (buffer) {\n _this3.audioRecorder.exportWAV(function (blob) {\n return resolve({ buffer: buffer, blob: blob });\n });\n });\n });\n }\n }, {\n key: 'updateAnalysers',\n value: function updateAnalysers() {\n if (this.config.onAnalysed) {\n requestAnimationFrame(this.updateAnalysers);\n\n var freqByteData = new Uint8Array(this.analyserNode.frequencyBinCount);\n\n this.analyserNode.getByteFrequencyData(freqByteData);\n\n var data = new Array(255);\n var lastNonZero = 0;\n var datum = void 0;\n\n for (var idx = 0; idx < 255; idx += 1) {\n datum = Math.floor(freqByteData[idx]) - Math.floor(freqByteData[idx]) % 5;\n\n if (datum !== 0) {\n lastNonZero = idx;\n }\n\n data[idx] = datum;\n }\n\n this.config.onAnalysed({ data: data, lineTo: lastNonZero });\n }\n }\n }, {\n key: 'setOnAnalysed',\n value: function setOnAnalysed(handler) {\n this.config.onAnalysed = handler;\n }\n }]);\n\n return Recorder;\n}();\n\nRecorder.download = function download(blob) {\n var filename = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'audio';\n\n _microphone2.default.forceDownload(blob, filename + '.wav');\n};\n\nexports.default = Recorder;","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"width\":\"100%\",\"max-width\":\"2400px\"}},[_c('h3',{staticClass:\"my-4 text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.title\"))+\" \")]),_c(VDialog,{attrs:{\"width\":\"400\"},model:{value:(_vm.isTooBig),callback:function ($$v) {_vm.isTooBig=$$v},expression:\"isTooBig\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"text-h5 grey lighten-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"upsess.errorHeading\"))+\" \")]),_c(VCardText,[_c('p',{staticStyle:{\"margin-top\":\"8px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"upsess.videoTooBig\"))+\" \")])]),_c(VDivider),_c(VCardActions,[_c(VSpacer),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\",\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function($event){_vm.isTooBig = false}}},[_vm._v(\" Ok \")])],1)],1)],1),_c(VDialog,{attrs:{\"width\":\"600\"},model:{value:(_vm.isRecordLimitWarning),callback:function ($$v) {_vm.isRecordLimitWarning=$$v},expression:\"isRecordLimitWarning\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"text-h5 grey lighten-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"recording.maxTimeWarning.heading\"))+\" \")]),_c(VCardText,[_c('i18n',{staticStyle:{\"margin-top\":\"8px\"},attrs:{\"path\":\"recording.maxTimeWarning.maxAllowedHint\",\"tag\":\"p\"}},[_c('b',[_vm._v(_vm._s(_vm.$t(\"recording.maxTimeWarning.maxAllowedTime\", { minutes: _vm.maxLen / 60, })))]),_c('b',[_vm._v(_vm._s(_vm.$t(\"recording.maxTimeWarning.maxAllowedTime\", { minutes: _vm.expectedLen / 60, })))])])],1),_c(VDivider),_c(VCardActions,[_c(VCheckbox,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\",\"label\":_vm.$t('recording.maxTimeWarning.dontAskAgain')},on:{\"change\":function (checked) { return _vm.setRecordLimitWarningChecked(checked); }},model:{value:(_vm.recordLimitWarningChecked),callback:function ($$v) {_vm.recordLimitWarningChecked=$$v},expression:\"recordLimitWarningChecked\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"recording.maxTimeWarning.dontAskAgain\"))+\" \")]),_c(VSpacer),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\",\"color\":\"disabled\",\"text\":\"\"},on:{\"click\":function($event){_vm.isRecordLimitWarning = false}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"recording.maxTimeWarning.cancel\"))+\" \")]),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\",\"color\":\"primary\",\"text\":\"\"},on:{\"click\":function () {\n _vm.recordLimitCallback();\n _vm.isRecordLimitWarning = false;\n }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"recording.maxTimeWarning.confirm\"))+\" \")])],1)],1)],1),_c(VRow,{staticClass:\"align-center\"},[(_vm.presentation)?_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('ImageSlider',{attrs:{\"images\":_vm.images,\"max-width\":\"100%\",\"max-height\":\"100%\",\"reset\":_vm.shouldReset},on:{\"update:reset\":function($event){_vm.shouldReset=$event},\"changed\":_vm.slideChanged}})],1):_vm._e(),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":!_vm.presentation ? 12 : 6}},[_c('div',{staticStyle:{\"position\":\"relative\",\"overflow\":\"hidden\"}},[_c('div',{staticClass:\"video_recorder__wrapper\",attrs:{\"data-tour\":\"video-preview\"}},[_c('video',{class:{ video_recorder__flipped: _vm.flipped },attrs:{\"id\":\"video\",\"playsinline\":\"\",\"controls\":\"\"}})]),(_vm.isRecording)?_c('div',{staticClass:\"video_recorder__indicator\"},[_c('div',{staticClass:\"dot\"}),_c('span',[_vm._v(\"REC\")])]):_vm._e(),_c('div',{staticClass:\"video_recorder__timer\",class:{ overtime: _vm.isTimed && _vm.elapsedTime > _vm.expectedLen }},[_vm._v(\" \"+_vm._s(Math.round(_vm.elapsedTime))+\"s \")])])]),_c(VCol,{attrs:{\"cols\":\"12\",\"data-tour\":\"actions\"}},[_c('h4',{staticClass:\"mt-4 d-flex justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.actions\"))+\" \")]),(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"global.loading\")))]):_c('div',{staticClass:\"mt-2\"},[_c('div',{staticClass:\"d-flex flex-wrap justify-center\"},[(!_vm.isRecording || _vm.isPaused)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":function () { return _vm.isPaused\n ? _vm.resume()\n : _vm.LocalStorage.getRecordLimitDialog()\n ? _vm.toggleRecordLimitWarning(!_vm.isRecordLimitWarning, function () { return _vm.start(); }\n )\n : _vm.start(); }}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-record\")]),_c('span',[_vm._v(_vm._s(_vm.isPaused ? _vm.$t(\"seminars.submissions.videoRecorder.resume\") : _vm.$t(\"seminars.submissions.videoRecorder.start\")))])],1):_vm._e(),(_vm.isRecording && !_vm.isPaused)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.pause}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-pause\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.pause\")))])],1):_vm._e(),(_vm.isRecording)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.stop}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-stop\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.stop\")))])],1):_vm._e(),(_vm.isActive && !_vm.isRecording)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\",\"loading\":_vm.uploading,\"disabled\":_vm.uploading},on:{\"click\":_vm.upload}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-upload\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.upload\")))])],1):_vm._e(),(_vm.isActive && !_vm.isRecording)?_c(VBtn,{staticClass:\"mr-4 mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.reset}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-restore\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.reset\")))])],1):_vm._e(),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.flipped = !_vm.flipped}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-flip-horizontal\")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submissions.videoRecorder.flipVideo\"))+\" \")])],1),(!_vm.isRecording)?_c('div',{staticClass:\"ml-4 mt-4 d-flex\"},[_c('DeviceSelect',{attrs:{\"type\":\"audio\"}}),_c('div',{staticClass:\"mx-2\"}),_c('DeviceSelect',{attrs:{\"type\":\"video\"}})],1):_vm._e()],1)]),_c('div',{staticClass:\"mt-4 d-flex align-center flex-wrap justify-center\"},[_c('LangSwitcher',{attrs:{\"loading\":_vm.uploading,\"recorder-locale\":_vm.recorderLocale},on:{\"update:recorderLocale\":function($event){_vm.recorderLocale=$event},\"update:recorder-locale\":function($event){_vm.recorderLocale=$event}}}),_c('div',{staticClass:\"mx-2\"}),_c('VolumeTester',{attrs:{\"type\":\"gauge\"}}),_c('div',{staticClass:\"mx-2\"}),_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"color\":_vm.muted ? 'prezpRed' : '',\"icon\":\"\"},on:{\"click\":_vm.toggleMuted}},on),[_c(VIcon,[_vm._v(\" \"+_vm._s(_vm.muted ? \"mdi-microphone-off\" : \"mdi-microphone\")+\" \")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"rec.mute\")))])])],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\n\r\nimport api from \"@/core/utils/api\";\r\nimport Recorder from \"@/core/utils/videoRecorder\";\r\nimport { Presentation, Recording, SlideTimestamp } from \"@/core/models\";\r\nimport ImageSlider from \"@/components/common/ImageSlider.vue\";\r\nimport LangSwitcher from \"@/views/recorder/components/LangSwitcher.vue\";\r\nimport VolumeTester from \"@/views/recorder/components/volume-tester/VolumeTester.vue\";\r\nimport DeviceSelect from \"@/views/recorder/components/DeviceSelect.vue\";\r\nimport LocalStorage from \"@/core/utils/LocalStorage\";\r\nimport { Action } from \"vuex-class\";\r\n\r\n// todo translate\r\n@Component({\r\n computed: {\r\n LocalStorage() {\r\n return LocalStorage;\r\n },\r\n },\r\n components: {\r\n LangSwitcher,\r\n VolumeTester,\r\n ImageSlider,\r\n DeviceSelect,\r\n },\r\n})\r\nexport default class VideoRecorder extends Vue {\r\n @Prop({ default: () => false }) isTimed!: boolean;\r\n @Prop({ default: () => 0 }) expectedLen!: number;\r\n @Prop({ default: () => 0 }) maxLen!: number;\r\n @Prop({ default: () => false }) loading!: boolean;\r\n @Prop({ default: () => null }) presentation!: Presentation | null;\r\n @PropSync(\"isRecordingProp\") isRecording!: boolean;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n recorder: Recorder = new Recorder();\r\n video: HTMLVideoElement | undefined;\r\n blob: Blob | undefined;\r\n isTooBig = false;\r\n isPaused = false;\r\n isActive = false;\r\n flipped = false;\r\n recorderLocale = this.$i18n.locale;\r\n muted = false;\r\n\r\n // time controls\r\n elapsedTime = 0;\r\n interval: any = null;\r\n timeout: any = null;\r\n\r\n startTimer() {\r\n this.interval = setInterval(() => {\r\n this.elapsedTime += 0.1;\r\n }, 1 * 100);\r\n }\r\n stopTimer() {\r\n clearInterval(this.interval);\r\n }\r\n startTimeout() {\r\n this.timeout = setTimeout(\r\n this.stop,\r\n (this.maxLen - this.elapsedTime) * 1000,\r\n );\r\n }\r\n stopTimeout() {\r\n clearTimeout(this.timeout);\r\n }\r\n\r\n // recorder controls\r\n async start() {\r\n if (!this.video) return;\r\n const stream = await this.recorder.start(\r\n {\r\n onError: (errorMessage: string) => this.displaySnackbar(errorMessage),\r\n },\r\n true,\r\n );\r\n if (!stream) return;\r\n this.video.removeAttribute(\"src\");\r\n this.video.srcObject = stream;\r\n this.video.play();\r\n this.video.muted = true;\r\n this.video.controls = false;\r\n this.isRecording = true;\r\n this.isActive = true;\r\n this.startTimer();\r\n if (this.isTimed) this.startTimeout();\r\n }\r\n pause() {\r\n this.recorder.pause();\r\n this.isPaused = true;\r\n this.stopTimer();\r\n if (this.isTimed) this.stopTimeout();\r\n }\r\n resume() {\r\n this.recorder.resume();\r\n this.isPaused = false;\r\n this.startTimer();\r\n if (this.isTimed) this.startTimeout();\r\n }\r\n stop() {\r\n this.recorder.stop().then(blob => {\r\n if (!this.video || !blob) return;\r\n this.blob = blob.videoBlob;\r\n this.video.muted = false;\r\n (this.video.srcObject as null | MediaStream) = null;\r\n this.video.controls = true;\r\n this.video.src = URL.createObjectURL(this.blob!);\r\n this.isRecording = false;\r\n this.isPaused = false;\r\n if (this.isTimed) this.stopTimeout();\r\n this.stopTimer();\r\n this.elapsedTime = 0;\r\n this.shouldReset = true;\r\n });\r\n }\r\n reset() {\r\n this.recorder.stop();\r\n this.recorder.reset();\r\n this.isActive = false;\r\n if (!this.video) return;\r\n this.video.muted = true;\r\n this.video.pause();\r\n this.video.currentTime = 0;\r\n this.video.removeAttribute(\"src\");\r\n (this.video.srcObject as null | MediaStream) = null;\r\n this.isRecording = false;\r\n this.shouldReset = true;\r\n this.stopTimer();\r\n this.stopTimeout();\r\n this.elapsedTime = 0;\r\n this.slideTimestamps = [];\r\n }\r\n toggleMuted() {\r\n this.recorder?.toggleMuted();\r\n this.muted = !this.muted;\r\n }\r\n\r\n // upload controller\r\n uploading = false;\r\n askForFeedback = false;\r\n\r\n async upload() {\r\n if (!this.blob) return;\r\n\r\n const maxSize = 400000000;\r\n // const maxSize = 4000;\r\n\r\n if (this.blob.size > maxSize) {\r\n this.isTooBig = true;\r\n return;\r\n }\r\n\r\n this.uploading = true;\r\n try {\r\n const now = new Date();\r\n const name = `${this.$t(\"rec.prefix\")} ${now.toLocaleString()}`;\r\n\r\n // make data\r\n const data = new FormData();\r\n data.append(\"file\", this.blob);\r\n data.append(\"title\", name);\r\n data.append(\"recordedAt\", now.toISOString());\r\n data.append(\"locale\", this.recorderLocale);\r\n data.append(\"timestamps\", JSON.stringify(this.slideTimestamps));\r\n if (this.presentation)\r\n data.append(\"presentationId\", JSON.stringify(this.presentation.ID));\r\n data.append(\"type\", \"video\");\r\n\r\n console.log(\"upload. presentation=\", JSON.stringify(this.presentation));\r\n console.log(\r\n \"upload. presentationId=\",\r\n JSON.stringify(this.presentation?.ID),\r\n );\r\n console.log(\"upload. data=\", JSON.stringify(data));\r\n\r\n // send request\r\n const res = (await api.post(\"/api/Recordings\", data, {\r\n headers: { \"Content-Type\": \"multipart/form-data\" },\r\n })) as any;\r\n\r\n // create recording\r\n const rec: Recording = {\r\n id: res.id,\r\n blob: null,\r\n audioBlob: null,\r\n videoBlob: null,\r\n videoURI: res.videoURI,\r\n title: name,\r\n type: \"video\",\r\n locale: this.recorderLocale as any,\r\n recordedAt: now.toISOString(),\r\n slideTimestamps: this.slideTimestamps,\r\n presentationId: this.presentation?.ID,\r\n };\r\n\r\n // update list\r\n this.$emit(\"created\", rec);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n\r\n this.uploading = false;\r\n this.reset();\r\n\r\n this.$router.push(\"/sessions/list\");\r\n }\r\n\r\n // presentations controller\r\n shouldReset = false;\r\n slideIndex = 0;\r\n tsIndex = 0;\r\n slideTimestamps: SlideTimestamp[] = [];\r\n get images() {\r\n if (!this.presentation) return [];\r\n return this.presentation.Slides.map(x => x.Uri);\r\n }\r\n addSlide() {\r\n if (!this.recorder || !this.presentation) return;\r\n\r\n if (this.slideTimestamps.length > 0) {\r\n const lastTimestamp = this.slideTimestamps[\r\n this.slideTimestamps.length - 1\r\n ];\r\n lastTimestamp.duration = Math.max(\r\n this.elapsedTime * 1000 - lastTimestamp.offset,\r\n 0,\r\n );\r\n }\r\n\r\n const slide = this.presentation.Slides[this.slideIndex];\r\n const ts: SlideTimestamp = {\r\n index: this.tsIndex,\r\n slideURI: slide.Uri,\r\n slideIndex: this.slideIndex,\r\n offset: this.elapsedTime * 1000,\r\n duration: 0,\r\n };\r\n\r\n this.slideTimestamps.push(ts);\r\n this.tsIndex++;\r\n }\r\n slideChanged(idx: number) {\r\n this.slideIndex = idx;\r\n this.addSlide();\r\n }\r\n @Watch(\"presentation\")\r\n selectedChanged() {\r\n this.slideIndex = 0;\r\n this.addSlide();\r\n }\r\n\r\n mounted() {\r\n this.video = document.getElementById(\"video\") as HTMLVideoElement;\r\n }\r\n\r\n // dialogs: record limit\r\n isRecordLimitWarning = false;\r\n recordLimitCallback: () => void = () => null;\r\n recordLimitWarningChecked = !LocalStorage.getRecordLimitDialog();\r\n\r\n setRecordLimitWarningChecked(checked: boolean) {\r\n LocalStorage.setRecordLimitDialog(!checked);\r\n this.recordLimitWarningChecked = checked;\r\n }\r\n\r\n toggleRecordLimitWarning(visible: boolean, confirmationCallback: () => void) {\r\n this.recordLimitWarningChecked = !LocalStorage.getRecordLimitDialog();\r\n this.isRecordLimitWarning = visible;\r\n this.recordLimitCallback = confirmationCallback;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VideoRecorderWithPresentations.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VideoRecorderWithPresentations.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VideoRecorderWithPresentations.vue?vue&type=template&id=50edf6f9&\"\nimport script from \"./VideoRecorderWithPresentations.vue?vue&type=script&lang=ts&\"\nexport * from \"./VideoRecorderWithPresentations.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Recorder from \"recorder-js\";\r\n\r\nimport { Recording } from \"@/core/models\";\r\nimport i18n from \"@/core/plugins/i18n\";\r\nimport { getInputDevice } from \"./devices\";\r\n\r\ntype Status = {\r\n vol: number;\r\n duration: number;\r\n};\r\nexport default class {\r\n interval: any;\r\n muted = false;\r\n prevGain = 1;\r\n isRecording = false;\r\n recorder?: Recorder;\r\n onupdate: (status: Status) => void;\r\n\r\n gainNode?: GainNode;\r\n stream?: MediaStream;\r\n context?: AudioContext;\r\n analyzer?: AnalyserNode;\r\n src?: MediaStreamAudioSourceNode;\r\n dest?: MediaStreamAudioDestinationNode;\r\n\r\n constructor(onupdate: (status: Status) => void = () => {}) {\r\n this.onupdate = onupdate;\r\n }\r\n\r\n async start() {\r\n const inputDevice = getInputDevice();\r\n const constraints: MediaStreamConstraints = {\r\n video: false,\r\n audio: {\r\n channelCount: 1,\r\n echoCancellation: false,\r\n deviceId: inputDevice ? { exact: inputDevice } : undefined,\r\n },\r\n };\r\n\r\n try {\r\n const stream = await navigator.mediaDevices.getUserMedia(constraints);\r\n this.stream = stream;\r\n this._micCaptured(stream);\r\n return true;\r\n } catch (error) {\r\n this.stream?.getTracks().forEach(t => t.stop());\r\n console.log(\"Mic error\", error);\r\n return false;\r\n }\r\n }\r\n\r\n async stop() {\r\n const res = await this.recorder?.stop();\r\n await this.stopAudio();\r\n this.isRecording = false;\r\n\r\n if (!res) return null;\r\n\r\n const { blob } = res;\r\n const now = new Date();\r\n const record = {\r\n blob,\r\n recordedAt: now.toISOString(),\r\n title: `${i18n.t(\"rec.prefix\")} ${now.toLocaleString()}`,\r\n } as Recording;\r\n return record;\r\n }\r\n\r\n async cancel() {\r\n await this.recorder?.stop();\r\n await this.stopAudio();\r\n }\r\n\r\n async stopAudio() {\r\n clearInterval(this.interval);\r\n this.stream?.getTracks().forEach((track: MediaStreamTrack) => track.stop());\r\n this.src?.disconnect();\r\n this.analyzer?.disconnect();\r\n await this.context?.close();\r\n }\r\n\r\n toggleMuted() {\r\n // todo - transcription must be paused, not stopped\r\n if (this.muted)\r\n this.gainNode?.gain.setValueAtTime(\r\n this.prevGain,\r\n this.context?.currentTime || 0,\r\n );\r\n else this.gainNode?.gain.setValueAtTime(0, this.context?.currentTime || 0);\r\n this.muted = !this.muted;\r\n }\r\n\r\n setVolume(value: number) {\r\n if (value == 0) this.toggleMuted();\r\n else {\r\n this.gainNode?.gain.setValueAtTime(value, this.context?.currentTime || 0);\r\n this.prevGain = value;\r\n }\r\n }\r\n\r\n async _micCaptured(stream: MediaStream) {\r\n // @ts-ignore\r\n this.context = new (window.AudioContext || window.webkitAudioContext)();\r\n this.analyzer = this.context.createAnalyser();\r\n this.src = this.context.createMediaStreamSource(stream);\r\n this.dest = this.context.createMediaStreamDestination();\r\n this.gainNode = this.context.createGain();\r\n\r\n this.analyzer.fftSize = 256;\r\n this.src.connect(this.analyzer);\r\n this.analyzer.connect(this.gainNode);\r\n this.gainNode.connect(this.dest);\r\n\r\n this.interval = setInterval(() => {\r\n if (!this.analyzer) return;\r\n const buffer = new Uint8Array(this.analyzer.frequencyBinCount);\r\n this.analyzer.getByteFrequencyData(buffer);\r\n const sum = buffer.reduce((cum, curr) => cum + curr, 0);\r\n const vol = sum / buffer.length;\r\n const duration = this.context?.currentTime || 0;\r\n this.onupdate({ vol, duration });\r\n }, 50);\r\n\r\n this.recorder = new Recorder(this.context);\r\n await this.recorder.init(this.dest.stream);\r\n await this.recorder.start();\r\n this.isRecording = true;\r\n }\r\n}\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WordSearch.vue?vue&type=style&index=0&id=55752846&prod&scoped=true&lang=css&\"","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex align-center\",attrs:{\"id\":\"volume-tester\"}},[(_vm.canToggle)?_c(VBtn,{attrs:{\"icon\":\"\",\"large\":\"\"},on:{\"click\":function($event){return _vm.$emit('toggle')}}},[_c(VIcon,[_vm._v(_vm._s(_vm.isTesting ? \"mdi-stop\" : \"mdi-volume-high\"))])],1):_vm._e(),_c('div',{staticClass:\"d-flex ml-4\",staticStyle:{\"align-items\":\"center\",\"flex-direction\":\"column\",\"justify-content\":\"center\"}},[_c('div',{staticClass:\"volume-container\"},_vm._l((10),function(idx){return _c('div',{key:idx,staticClass:\"volume-node\",class:{ active: _vm.volume >= idx * 10 }})}),0)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class Gauge extends Vue {\r\n @Prop({ default: () => 0 }) volume!: number;\r\n @Prop({ default: () => true }) canToggle!: boolean;\r\n @Prop({ default: () => false }) isTesting!: boolean;\r\n\r\n // get showText() {\r\n // return this.isTesting || (!this.canToggle && this.volume > 0);\r\n // }\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gauge.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gauge.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Gauge.vue?vue&type=template&id=87b5963a&\"\nimport script from \"./Gauge.vue?vue&type=script&lang=ts&\"\nexport * from \"./Gauge.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Gauge.vue?vue&type=style&index=0&id=87b5963a&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var WORKER_ENABLED = !!(global === global.window && global.URL && global.Blob && global.Worker);\n\nfunction InlineWorker(func, self) {\n var _this = this;\n var functionBody;\n\n self = self || {};\n\n if (WORKER_ENABLED) {\n functionBody = func.toString().trim().match(\n /^function\\s*\\w*\\s*\\([\\w\\s,]*\\)\\s*{([\\w\\W]*?)}$/\n )[1];\n\n return new global.Worker(global.URL.createObjectURL(\n new global.Blob([ functionBody ], { type: \"text/javascript\" })\n ));\n }\n\n function postMessage(data) {\n setTimeout(function() {\n _this.onmessage({ data: data });\n }, 0);\n }\n\n this.self = self;\n this.self.postMessage = postMessage;\n\n setTimeout(func.bind(self, self), 0);\n}\n\nInlineWorker.prototype.postMessage = function postMessage(data) {\n var _this = this;\n\n setTimeout(function() {\n _this.self.onmessage({ data: data });\n }, 0);\n};\n\nmodule.exports = InlineWorker;\n","import RecordList from \"./RecordList.vue\";\r\nimport RecordingItem from \"./RecordingItem.vue\";\r\nimport AudioRecorder from \"./AudioRecorder.vue\";\r\nimport PresentationSelect from \"./PresentationSelect.vue\";\r\nexport { RecordList, RecordingItem, AudioRecorder, PresentationSelect };\r\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"recorder\"}},[_c('div',{attrs:{\"data-tour\":\"slides\"}},[(_vm.selected)?_c('ImageSlider',{attrs:{\"images\":_vm.images,\"max-width\":_vm.maxWidth,\"max-height\":_vm.maxHeight,\"reset\":_vm.shouldReset},on:{\"update:reset\":function($event){_vm.shouldReset=$event},\"changed\":_vm.slideChanged}}):_vm._e()],1),_c('div',{staticClass:\"d-flex align-center justify-center\"},[_c('div',{attrs:{\"data-tour\":\"record-btn\"}},[_c(VBtn,{staticClass:\"pa-4\",style:(_vm.buttonStyle),attrs:{\"icon\":\"\",\"x-large\":\"\",\"color\":_vm.isRecording ? 'red' : 'transparent'},on:{\"click\":_vm.toggleRecorder}},[_c(VIcon,{attrs:{\"color\":_vm.isRecording ? 'white' : 'red'}},[_vm._v(\" \"+_vm._s(_vm.isRecording ? \"mdi-stop\" : \"mdi-circle\")+\" \")])],1)],1),_c('div',{staticClass:\"mx-2\"}),_c('div',{staticClass:\"text-h6 font-weight-bold\"},[_c('span',[_vm._v(_vm._s(_vm.durationFormatted))])])]),_c('div',{staticClass:\"d-flex mt-4\",staticStyle:{\"justify-content\":\"center\",\"align-items\":\"center\"}},[_c('div',{attrs:{\"data-tour\":\"volume-tester\"}},[(_vm.isRecording)?_c('VolumeGauge',{attrs:{\"volume\":_vm.volume,\"can-toggle\":false}}):_c('VolumeTester',{attrs:{\"type\":\"gauge\"}})],1),_c('div',{staticClass:\"mx-2\"}),_c('div',{attrs:{\"data-tour\":\"mute\"}},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"color\":_vm.muted ? 'prezpRed' : '',\"icon\":\"\"},on:{\"click\":_vm.toggleMuted}},on),[_c(VIcon,[_vm._v(\" \"+_vm._s(_vm.muted ? \"mdi-microphone-off\" : \"mdi-microphone\")+\" \")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"rec.mute\")))])])],1),_c('div',{staticClass:\"mx-2\"}),_c('div',{attrs:{\"data-tour\":\"lang-select\"}},[_c('LangSwitcher',{attrs:{\"loading\":_vm.uploading,\"recorder-locale\":_vm.recorderLocale},on:{\"update:recorderLocale\":function($event){_vm.recorderLocale=$event},\"update:recorder-locale\":function($event){_vm.recorderLocale=$event}}})],1),(!_vm.isRecording)?_c('div',{staticClass:\"mx-2\"}):_vm._e(),_c('div',{attrs:{\"data-tour\":\"device-select\"}},[(!_vm.isRecording)?_c('DeviceSelect'):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action } from \"vuex-class\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\n\r\nimport api from \"@/core/utils/api\";\r\nimport Recorder from \"../lib/recorder\";\r\nimport { convertDuration } from \"./utils\";\r\nimport { ImageSlider } from \"@/components/common\";\r\nimport VolumeGauge from \"./volume-tester/Gauge.vue\";\r\nimport LocalStorage from \"@/core/utils/LocalStorage\";\r\nimport PresentationSelect from \"./PresentationSelect.vue\";\r\nimport LangSwitcher from \"../components/LangSwitcher.vue\";\r\nimport DeviceSelect from \"../components/DeviceSelect.vue\";\r\nimport VolumeTester from \"./volume-tester/VolumeTester.vue\";\r\nimport {\r\n ApiRecording,\r\n Presentation,\r\n Recording,\r\n SlideTimestamp,\r\n} from \"@/core/models\";\r\n\r\n@Component({\r\n components: {\r\n ImageSlider,\r\n LangSwitcher,\r\n VolumeTester,\r\n DeviceSelect,\r\n VolumeGauge,\r\n PresentationSelect,\r\n },\r\n})\r\nexport default class AudioRecorder extends Vue {\r\n @PropSync(\"isRecordingProp\") isRecording!: boolean;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n // Tester\r\n volume = 0;\r\n showButton = true;\r\n stopTester = false;\r\n\r\n // Recorder\r\n duration = 0;\r\n uploading = false;\r\n recordList: Recording[] = [];\r\n recorder: Recorder | null = null;\r\n\r\n // Recorder locale\r\n recorderLocale = this.$i18n.locale as \"en\" | \"de\";\r\n @Watch(\"$i18n.locale\", { immediate: true })\r\n langChanged() {\r\n this.recorderLocale = this.$i18n.locale as \"en\" | \"de\";\r\n }\r\n\r\n // muting/gain\r\n muted = false;\r\n toggleMuted() {\r\n this.recorder?.toggleMuted();\r\n this.muted = !this.muted;\r\n }\r\n\r\n // duration\r\n get durationFormatted() {\r\n const recorderDuration = this.duration || 0;\r\n return convertDuration(recorderDuration);\r\n }\r\n\r\n // recording button style\r\n get buttonStyle() {\r\n const border = `border: 1px solid ${\r\n this.isRecording ? \"transparent\" : \"red\"\r\n }`;\r\n const bgColor = `background-color: ${\r\n this.isRecording ? \"red\" : \"transparent\"\r\n }`;\r\n return [border, bgColor].join(\";\");\r\n }\r\n\r\n // upload\r\n async upload(record: Recording) {\r\n this.uploading = true;\r\n try {\r\n const data = new FormData();\r\n data.append(\"file\", record.blob);\r\n data.append(\"title\", record.title);\r\n data.append(\"locale\", this.recorderLocale);\r\n data.append(\"recordedAt\", record.recordedAt);\r\n data.append(\"timestamps\", JSON.stringify(this.slideTimestamps));\r\n data.append(\"presentationId\", JSON.stringify(this.selected?.ID || 0));\r\n data.append(\"type\", \"audio\");\r\n\r\n const end = \"/api/Recordings\";\r\n const headers = { ContentType: \"multipart/form-data\" };\r\n const recording = (await api.post(end, data, {\r\n headers,\r\n })) as ApiRecording;\r\n\r\n const newRecord: Recording = {\r\n blob: null,\r\n audioBlob: null,\r\n videoBlob: null,\r\n type: \"audio\",\r\n id: recording.id,\r\n title: recording.title,\r\n audioURI: recording.audioURI,\r\n videoURI: recording.videoURI,\r\n locale: this.recorderLocale,\r\n recordedAt: recording.recordedAt,\r\n slideTimestamps: recording.slideTimestamps,\r\n presentationId: recording.presentationId,\r\n };\r\n\r\n this.slideTimestamps = [];\r\n this.$emit(\"created\", newRecord);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.uploading = false;\r\n }\r\n\r\n // toggle (start/stop) and reset\r\n async toggleRecorder() {\r\n this.stopTester = true;\r\n if (!this.recorder) return;\r\n\r\n if (!this.isRecording) this.startRecorder();\r\n else this.stopRecorder();\r\n }\r\n async startRecorder() {\r\n this.showButton = false;\r\n const success = await this.recorder?.start();\r\n if (!success) {\r\n this.displaySnackbar(\"Could not start recorder\");\r\n return;\r\n }\r\n this.isRecording = true;\r\n this.view = \"pres\";\r\n this.addSlide();\r\n }\r\n async stopRecorder() {\r\n this.showButton = true;\r\n if (!this.isRecording || !this.recorder) return;\r\n const record = await this.recorder.stop();\r\n if (record) this.upload(record);\r\n this.reset();\r\n }\r\n reset() {\r\n this.isRecording = false;\r\n this.shouldReset = true;\r\n this.view = \"slide\";\r\n this.duration = 0;\r\n this.volume = 0;\r\n }\r\n\r\n // Tip Dialog\r\n tipDialog = false;\r\n dontShowTip = false;\r\n closeTip() {\r\n if (this.dontShowTip) LocalStorage.setShouldShowRecordingTip(false);\r\n this.dontShowTip = true;\r\n this.tipDialog = false;\r\n }\r\n\r\n // Slides\r\n tsIndex = 0;\r\n slideIndex = 0;\r\n shouldReset = false;\r\n slideTimestamps: SlideTimestamp[] = [];\r\n @Prop({ default: () => null }) selected!: Presentation | null;\r\n @PropSync(\"viewMode\") view!: \"slide\" | \"pres\";\r\n\r\n get images() {\r\n if (!this.selected) return [];\r\n return this.selected.Slides.map(x => x.Uri);\r\n }\r\n get maxWidth() {\r\n return this.view === \"slide\" ? \"30vw\" : \"100%\";\r\n }\r\n get maxHeight() {\r\n return this.view === \"slide\" ? \"50vh\" : \"70vh\";\r\n }\r\n addSlide() {\r\n if (!this.recorder || !this.selected) return;\r\n\r\n if (this.slideTimestamps.length > 0) {\r\n const lastTimestamp = this.slideTimestamps[\r\n this.slideTimestamps.length - 1\r\n ];\r\n lastTimestamp.duration = Math.max(\r\n this.duration * 1000 - lastTimestamp.offset,\r\n 0,\r\n );\r\n }\r\n\r\n // Erstelle den neuen Timestamp\r\n const slide = this.selected.Slides[this.slideIndex];\r\n const ts: SlideTimestamp = {\r\n index: this.tsIndex,\r\n slideURI: slide.Uri,\r\n slideIndex: this.slideIndex,\r\n offset: this.duration * 1000,\r\n duration: 0,\r\n };\r\n\r\n this.slideTimestamps.push(ts);\r\n this.tsIndex++;\r\n }\r\n slideChanged(idx: number) {\r\n this.slideIndex = idx;\r\n this.addSlide();\r\n }\r\n @Watch(\"selected\")\r\n selectedChanged() {\r\n this.slideIndex = 0;\r\n this.addSlide();\r\n }\r\n\r\n created() {\r\n window.onbeforeunload = () => {\r\n if (this.isRecording)\r\n return \"The recording is still running... Are you sure you wanna exit?\";\r\n };\r\n }\r\n mounted() {\r\n this.recorder = new Recorder(status => {\r\n this.volume = status.vol;\r\n this.duration = status.duration;\r\n });\r\n const showTip = LocalStorage.getShouldShowRecordingTip();\r\n this.dontShowTip = !showTip;\r\n if (showTip) this.tipDialog = true;\r\n }\r\n beforeDestroy() {\r\n this.stopRecorder();\r\n window.onbeforeunload = null;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AudioRecorder.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AudioRecorder.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AudioRecorder.vue?vue&type=template&id=c9dce0a8&\"\nimport script from \"./AudioRecorder.vue?vue&type=script&lang=ts&\"\nexport * from \"./AudioRecorder.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProgressFill.vue?vue&type=style&index=0&id=bc3d3fbc&prod&lang=scss&scoped=true&\"","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* eslint-disable */\n/**\n * License (MIT)\n *\n * Copyright © 2013 Matt Diamond\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n * and/or sell copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included\n * in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n */\n\n\nvar _inlineWorker = require('inline-worker');\n\nvar _inlineWorker2 = _interopRequireDefault(_inlineWorker);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar defaultConfig = {\n bufferLen: 4096,\n numChannels: 2,\n mimeType: 'audio/wav'\n};\n\nvar Microphone = function () {\n function Microphone(source, config) {\n var _this = this;\n\n _classCallCheck(this, Microphone);\n\n this.config = Object.assign({}, defaultConfig, config);\n\n this.recording = false;\n\n this.callbacks = {\n getBuffer: [],\n exportWAV: []\n };\n\n this.context = source.context;\n this.node = (this.context.createScriptProcessor || this.context.createJavaScriptNode).call(this.context, this.config.bufferLen, this.config.numChannels, this.config.numChannels);\n\n this.node.onaudioprocess = function (e) {\n if (!_this.recording) return;\n\n var buffer = [];\n for (var channel = 0; channel < _this.config.numChannels; channel++) {\n buffer.push(e.inputBuffer.getChannelData(channel));\n }\n _this.worker.postMessage({\n command: 'record',\n buffer: buffer\n });\n };\n\n source.connect(this.node);\n this.node.connect(this.context.destination); //this should not be necessary\n\n var self = {};\n this.worker = new _inlineWorker2.default(function () {\n var recLength = 0,\n recBuffers = [],\n sampleRate = void 0,\n numChannels = void 0;\n\n this.onmessage = function (e) {\n switch (e.data.command) {\n case 'init':\n init(e.data.config);\n break;\n case 'record':\n record(e.data.buffer);\n break;\n case 'exportWAV':\n exportWAV(e.data.type);\n break;\n case 'getBuffer':\n getBuffer();\n break;\n case 'clear':\n clear();\n break;\n }\n };\n\n function init(config) {\n sampleRate = config.sampleRate;\n numChannels = config.numChannels;\n initBuffers();\n }\n\n function record(inputBuffer) {\n for (var channel = 0; channel < numChannels; channel++) {\n recBuffers[channel].push(inputBuffer[channel]);\n }\n recLength += inputBuffer[0].length;\n }\n\n function exportWAV(type) {\n var buffers = [];\n for (var channel = 0; channel < numChannels; channel++) {\n buffers.push(mergeBuffers(recBuffers[channel], recLength));\n }\n var interleaved = void 0;\n if (numChannels === 2) {\n interleaved = interleave(buffers[0], buffers[1]);\n } else {\n interleaved = buffers[0];\n }\n var dataview = encodeWAV(interleaved);\n var audioBlob = new Blob([dataview], { type: type });\n\n this.postMessage({ command: 'exportWAV', data: audioBlob });\n }\n\n function getBuffer() {\n var buffers = [];\n for (var channel = 0; channel < numChannels; channel++) {\n buffers.push(mergeBuffers(recBuffers[channel], recLength));\n }\n this.postMessage({ command: 'getBuffer', data: buffers });\n }\n\n function clear() {\n recLength = 0;\n recBuffers = [];\n initBuffers();\n }\n\n function initBuffers() {\n for (var channel = 0; channel < numChannels; channel++) {\n recBuffers[channel] = [];\n }\n }\n\n function mergeBuffers(recBuffers, recLength) {\n var result = new Float32Array(recLength);\n var offset = 0;\n for (var i = 0; i < recBuffers.length; i++) {\n result.set(recBuffers[i], offset);\n offset += recBuffers[i].length;\n }\n return result;\n }\n\n function interleave(inputL, inputR) {\n var length = inputL.length + inputR.length;\n var result = new Float32Array(length);\n\n var index = 0,\n inputIndex = 0;\n\n while (index < length) {\n result[index++] = inputL[inputIndex];\n result[index++] = inputR[inputIndex];\n inputIndex++;\n }\n return result;\n }\n\n function floatTo16BitPCM(output, offset, input) {\n for (var i = 0; i < input.length; i++, offset += 2) {\n var s = Math.max(-1, Math.min(1, input[i]));\n output.setInt16(offset, s < 0 ? s * 0x8000 : s * 0x7FFF, true);\n }\n }\n\n function writeString(view, offset, string) {\n for (var i = 0; i < string.length; i += 1) {\n view.setUint8(offset + i, string.charCodeAt(i));\n }\n }\n\n function encodeWAV(samples) {\n var buffer = new ArrayBuffer(44 + samples.length * 2);\n var view = new DataView(buffer);\n\n /* RIFF identifier */\n writeString(view, 0, 'RIFF');\n /* RIFF chunk length */\n view.setUint32(4, 36 + samples.length * 2, true);\n /* RIFF type */\n writeString(view, 8, 'WAVE');\n /* format chunk identifier */\n writeString(view, 12, 'fmt ');\n /* format chunk length */\n view.setUint32(16, 16, true);\n /* sample format (raw) */\n view.setUint16(20, 1, true);\n /* channel count */\n view.setUint16(22, numChannels, true);\n /* sample rate */\n view.setUint32(24, sampleRate, true);\n /* byte rate (sample rate * block align) */\n view.setUint32(28, sampleRate * 4, true);\n /* block align (channel count * bytes per sample) */\n view.setUint16(32, numChannels * 2, true);\n /* bits per sample */\n view.setUint16(34, 16, true);\n /* data chunk identifier */\n writeString(view, 36, 'data');\n /* data chunk length */\n view.setUint32(40, samples.length * 2, true);\n\n floatTo16BitPCM(view, 44, samples);\n\n return view;\n }\n }, self);\n\n this.worker.postMessage({\n command: 'init',\n config: {\n sampleRate: this.context.sampleRate,\n numChannels: this.config.numChannels\n }\n });\n\n this.worker.onmessage = function (e) {\n var cb = _this.callbacks[e.data.command].pop();\n if (typeof cb === 'function') {\n cb(e.data.data);\n }\n };\n }\n\n _createClass(Microphone, [{\n key: 'record',\n value: function record() {\n this.recording = true;\n }\n }, {\n key: 'stop',\n value: function stop() {\n this.recording = false;\n }\n }, {\n key: 'clear',\n value: function clear() {\n this.worker.postMessage({ command: 'clear' });\n }\n }, {\n key: 'getBuffer',\n value: function getBuffer(cb) {\n cb = cb || this.config.callback;\n\n if (!cb) throw new Error('Callback not set');\n\n this.callbacks.getBuffer.push(cb);\n\n this.worker.postMessage({ command: 'getBuffer' });\n }\n }, {\n key: 'exportWAV',\n value: function exportWAV(cb, mimeType) {\n mimeType = mimeType || this.config.mimeType;\n cb = cb || this.config.callback;\n\n if (!cb) throw new Error('Callback not set');\n\n this.callbacks.exportWAV.push(cb);\n\n this.worker.postMessage({\n command: 'exportWAV',\n type: mimeType\n });\n }\n }]);\n\n return Microphone;\n}();\n\nMicrophone.forceDownload = function forceDownload(blob, filename) {\n var a = document.createElement('a');\n\n a.style = 'display: none';\n document.body.appendChild(a);\n\n var url = window.URL.createObjectURL(blob);\n\n a.href = url;\n a.download = filename;\n a.click();\n\n window.URL.revokeObjectURL(url);\n\n document.body.removeChild(a);\n};\n\nexports.default = Microphone;","// Types\nimport Vue, { VNode } from 'vue'\n\nexport default function VGrid (name: string) {\n /* @vue/component */\n return Vue.extend({\n name: `v-${name}`,\n\n functional: true,\n\n props: {\n id: String,\n tag: {\n type: String,\n default: 'div',\n },\n },\n\n render (h, { props, data, children }): VNode {\n data.staticClass = (`${name} ${data.staticClass || ''}`).trim()\n\n const { attrs } = data\n if (attrs) {\n // reset attrs to extract utility clases like pa-3\n data.attrs = {}\n const classes = Object.keys(attrs).filter(key => {\n // TODO: Remove once resolved\n // https://github.com/vuejs/vue/issues/7841\n if (key === 'slot') return false\n\n const value = attrs[key]\n\n // add back data attributes like data-test=\"foo\" but do not\n // add them as classes\n if (key.startsWith('data-')) {\n data.attrs![key] = value\n return false\n }\n\n return value || typeof value === 'string'\n })\n\n if (classes.length) data.staticClass += ` ${classes.join(' ')}`\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h(props.tag, data, children)\n },\n })\n}\n","import './_grid.sass'\nimport './VGrid.sass'\n\nimport Grid from './grid'\n\nimport mergeData from '../../util/mergeData'\n\n/* @vue/component */\nexport default Grid('container').extend({\n name: 'v-container',\n functional: true,\n props: {\n id: String,\n tag: {\n type: String,\n default: 'div',\n },\n fluid: {\n type: Boolean,\n default: false,\n },\n },\n render (h, { props, data, children }) {\n let classes\n const { attrs } = data\n if (attrs) {\n // reset attrs to extract utility clases like pa-3\n data.attrs = {}\n classes = Object.keys(attrs).filter(key => {\n // TODO: Remove once resolved\n // https://github.com/vuejs/vue/issues/7841\n if (key === 'slot') return false\n\n const value = attrs[key]\n\n // add back data attributes like data-test=\"foo\" but do not\n // add them as classes\n if (key.startsWith('data-')) {\n data.attrs![key] = value\n return false\n }\n\n return value || typeof value === 'string'\n })\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'container',\n class: Array({\n 'container--fluid': props.fluid,\n }).concat(classes || []),\n }),\n children\n )\n },\n})\n","import VBtn from './VBtn'\n\nexport { VBtn }\nexport default VBtn\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Gauge.vue?vue&type=style&index=0&id=87b5963a&prod&lang=css&\"","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCard,{staticClass:\"mt-4\",attrs:{\"outlined\":\"\"}},[_c(VCardTitle,{staticClass:\"d-flex\"},[_c('div',{staticClass:\"text-h5 flex-1 mr-4 font-weight-bold main--text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"rec.latest\"))+\" \")]),_c(VBtn,{attrs:{\"loading\":_vm.loading,\"icon\":\"\"},on:{\"click\":_vm.getRecords}},[_c(VIcon,[_vm._v(\"mdi-refresh\")])],1)],1),_c(VCardText,[_c('div',{attrs:{\"data-tour\":\"list\"}},[_c('div',{staticClass:\"flex-1\"},[(_vm.loading)?_c('div',{staticClass:\"pa-4 d-flex\",staticStyle:{\"justify-content\":\"center\"}},[_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"32\",\"color\":\"main\"}})],1):_vm._e(),(_vm.recordList.length > 0 && !_vm.loading)?_c('div',{staticStyle:{\"max-height\":\"400px\",\"overflow\":\"auto\",\"padding\":\"0px 10px\"}},_vm._l((_vm.recordList),function(r){return _c('RecordingItem',{key:r.id,attrs:{\"recording\":r},on:{\"dialogToggled\":function (v) { return _vm.$emit('dialogToggled', v); },\"remove\":function () { return _vm.removeRecording(r); },\"edit\":function (data) { return _vm.editRecording(r, data); }}})}),1):_vm._e()])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\n\r\nimport api from \"@/core/utils/api\";\r\nimport Pages from \"@/core/utils/Pages\";\r\nimport { ApiRecording, Recording } from \"@/core/models\";\r\nimport PagesArrows from \"@/components/common/PagesArrows.vue\";\r\nimport RecordingItem from \"./RecordingItem.vue\";\r\n\r\n@Component({ components: { RecordingItem, PagesArrows } })\r\nexport default class RecordList extends Vue {\r\n @Prop({ default: () => \"Recordings\" }) title!: string;\r\n\r\n loading = false;\r\n @PropSync(\"records\", { default: () => [] }) recordList!: Recording[];\r\n\r\n recordCreated(r: Recording) {\r\n this.recordList.unshift(r);\r\n this.setPages();\r\n }\r\n editRecording(r: Recording, data: { title?: string; locale?: \"en\" | \"de\" }) {\r\n const idx = this.recordList.findIndex(x => x.id === r.id);\r\n if (idx === -1) return;\r\n const { title, locale } = data;\r\n\r\n if (title) this.recordList[idx].title = title;\r\n if (locale) this.recordList[idx].locale = locale;\r\n this.setPages();\r\n }\r\n removeRecording(r: Recording) {\r\n const idx = this.recordList.findIndex(x => x.id === r.id);\r\n if (idx === -1) return;\r\n this.recordList.splice(idx, 1);\r\n this.setPages();\r\n }\r\n\r\n async getRecords() {\r\n this.loading = true;\r\n const apiRecords = (await api.get(\"/api/Recordings\")) as ApiRecording[];\r\n const records = apiRecords.map(x => {\r\n const recording: Recording = {\r\n id: x.id,\r\n blob: null,\r\n audioBlob: null,\r\n videoBlob: null,\r\n title: x.title,\r\n locale: x.locale,\r\n audioURI: x.audioURI,\r\n videoURI: x.videoURI,\r\n recordedAt: x.recordedAt,\r\n slideTimestamps: x.slideTimestamps,\r\n type: x.type,\r\n };\r\n return recording;\r\n });\r\n this.recordList = [...records];\r\n this.setPages();\r\n this.loading = false;\r\n }\r\n\r\n mounted() {\r\n this.getRecords();\r\n }\r\n\r\n @Prop({ default: () => 5 }) limit!: number;\r\n pages: Pages = Pages.Empty();\r\n get recordsPage() {\r\n return this.pages.CurrentPage;\r\n }\r\n setPages() {\r\n this.pages = new Pages(this.limit, this.recordList);\r\n }\r\n @Watch(\"recordList\", { immediate: true })\r\n recordListUpdated() {\r\n this.setPages();\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RecordList.vue?vue&type=template&id=0ad33606&\"\nimport script from \"./RecordList.vue?vue&type=script&lang=ts&\"\nexport * from \"./RecordList.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.type === 'gauge')?_c('Gauge',{attrs:{\"volume\":_vm.volume,\"is-testing\":_vm.isTesting},on:{\"toggle\":_vm.toggleTest}}):(_vm.type === 'circle')?_c('VolumeCircle',{attrs:{\"volume\":_vm.volume,\"is-testing\":_vm.isTesting},on:{\"toggle\":_vm.toggleTest}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport Gauge from \"./Gauge.vue\";\r\nimport Recorder from \"../../lib/recorder\";\r\nimport VolumeCircle from \"./VolumeCircle.vue\";\r\n\r\n@Component({ components: { Gauge, VolumeCircle } })\r\nexport default class VolumeTester extends Vue {\r\n @Prop({ default: () => \"gauge\" }) type!: \"gauge\" | \"circle\";\r\n\r\n volume = 0;\r\n isTesting = false;\r\n tester: Recorder | null = null;\r\n async toggleTest() {\r\n if (!this.tester) return;\r\n if (this.isTesting) {\r\n await this.tester.stop();\r\n this.volume = 0;\r\n } else await this.tester.start();\r\n this.isTesting = !this.isTesting;\r\n }\r\n mounted() {\r\n this.tester = new Recorder(({ vol }) => (this.volume = vol));\r\n }\r\n beforeDestroy() {\r\n this.stop();\r\n this.tester = null;\r\n }\r\n\r\n async stop() {\r\n if (!this.tester) return;\r\n await this.tester.cancel();\r\n this.isTesting = false;\r\n this.volume = 0;\r\n }\r\n\r\n async start() {\r\n if (!this.tester) return;\r\n await this.tester.start();\r\n this.isTesting = true;\r\n this.volume = 0;\r\n }\r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VolumeTester.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VolumeTester.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VolumeTester.vue?vue&type=template&id=541a399e&\"\nimport script from \"./VolumeTester.vue?vue&type=script&lang=ts&\"\nexport * from \"./VolumeTester.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './VSlider.sass'\n\n// Components\nimport VInput from '../VInput'\nimport { VScaleTransition } from '../transitions'\n\n// Mixins\nimport mixins, { ExtractVue } from '../../util/mixins'\nimport Loadable from '../../mixins/loadable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport { addOnceEventListener, deepEqual, keyCodes, createRange, convertToUnit, passiveSupported } from '../../util/helpers'\nimport { consoleWarn } from '../../util/console'\n\n// Types\nimport Vue, { VNode, VNodeChildrenArrayContents, PropType } from 'vue'\nimport { ScopedSlotChildren } from 'vue/types/vnode'\nimport { PropValidator } from 'vue/types/options'\n\ninterface options extends Vue {\n $refs: {\n track: HTMLElement\n }\n}\n\nexport default mixins\n/* eslint-enable indent */\n>(\n VInput,\n Loadable\n/* @vue/component */\n).extend({\n name: 'v-slider',\n\n directives: {\n ClickOutside,\n },\n\n mixins: [Loadable],\n\n props: {\n disabled: Boolean,\n inverseLabel: Boolean,\n max: {\n type: [Number, String],\n default: 100,\n },\n min: {\n type: [Number, String],\n default: 0,\n },\n step: {\n type: [Number, String],\n default: 1,\n },\n thumbColor: String,\n thumbLabel: {\n type: [Boolean, String] as PropType,\n default: undefined,\n validator: v => typeof v === 'boolean' || v === 'always',\n },\n thumbSize: {\n type: [Number, String],\n default: 32,\n },\n tickLabels: {\n type: Array,\n default: () => ([]),\n } as PropValidator,\n ticks: {\n type: [Boolean, String] as PropType,\n default: false,\n validator: v => typeof v === 'boolean' || v === 'always',\n },\n tickSize: {\n type: [Number, String],\n default: 2,\n },\n trackColor: String,\n trackFillColor: String,\n value: [Number, String],\n vertical: Boolean,\n },\n\n data: () => ({\n app: null as any,\n oldValue: null as any,\n thumbPressed: false,\n mouseTimeout: -1,\n isFocused: false,\n isActive: false,\n noClick: false, // Prevent click event if dragging took place, hack for #7915\n startOffset: 0,\n }),\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input__slider': true,\n 'v-input__slider--vertical': this.vertical,\n 'v-input__slider--inverse-label': this.inverseLabel,\n }\n },\n internalValue: {\n get (): number {\n return this.lazyValue\n },\n set (val: number) {\n val = isNaN(val) ? this.minValue : val\n // Round value to ensure the\n // entire slider range can\n // be selected with step\n const value = this.roundValue(Math.min(Math.max(val, this.minValue), this.maxValue))\n\n if (value === this.lazyValue) return\n\n this.lazyValue = value\n\n this.$emit('input', value)\n },\n },\n trackTransition (): string {\n return this.thumbPressed\n ? this.showTicks || this.stepNumeric\n ? '0.1s cubic-bezier(0.25, 0.8, 0.5, 1)'\n : 'none'\n : ''\n },\n minValue (): number {\n return parseFloat(this.min)\n },\n maxValue (): number {\n return parseFloat(this.max)\n },\n stepNumeric (): number {\n return this.step > 0 ? parseFloat(this.step) : 0\n },\n inputWidth (): number {\n const inputWidth = (this.roundValue(this.internalValue) - this.minValue) / (this.maxValue - this.minValue) * 100\n\n return isNaN(inputWidth) ? 0 : inputWidth\n },\n trackFillStyles (): Partial {\n const startDir = this.vertical ? 'bottom' : 'left'\n const endDir = this.vertical ? 'top' : 'right'\n const valueDir = this.vertical ? 'height' : 'width'\n\n const start = this.$vuetify.rtl ? 'auto' : '0'\n const end = this.$vuetify.rtl ? '0' : 'auto'\n const value = this.isDisabled ? `calc(${this.inputWidth}% - 10px)` : `${this.inputWidth}%`\n\n return {\n transition: this.trackTransition,\n [startDir]: start,\n [endDir]: end,\n [valueDir]: value,\n }\n },\n trackStyles (): Partial {\n const startDir = this.vertical ? this.$vuetify.rtl ? 'bottom' : 'top' : this.$vuetify.rtl ? 'left' : 'right'\n const endDir = this.vertical ? 'height' : 'width'\n\n const start = '0px'\n const end = this.isDisabled ? `calc(${100 - this.inputWidth}% - 10px)` : `calc(${100 - this.inputWidth}%)`\n\n return {\n transition: this.trackTransition,\n [startDir]: start,\n [endDir]: end,\n }\n },\n showTicks (): boolean {\n return this.tickLabels.length > 0 ||\n !!(!this.isDisabled && this.stepNumeric && this.ticks)\n },\n numTicks (): number {\n return Math.ceil((this.maxValue - this.minValue) / this.stepNumeric)\n },\n showThumbLabel (): boolean {\n return !this.isDisabled && !!(\n this.thumbLabel ||\n this.$scopedSlots['thumb-label']\n )\n },\n computedTrackColor (): string | undefined {\n if (this.isDisabled) return undefined\n if (this.trackColor) return this.trackColor\n if (this.isDark) return this.validationState\n return this.validationState || 'primary lighten-3'\n },\n computedTrackFillColor (): string | undefined {\n if (this.isDisabled) return undefined\n if (this.trackFillColor) return this.trackFillColor\n return this.validationState || this.computedColor\n },\n computedThumbColor (): string | undefined {\n if (this.thumbColor) return this.thumbColor\n return this.validationState || this.computedColor\n },\n },\n\n watch: {\n min (val) {\n const parsed = parseFloat(val)\n parsed > this.internalValue && this.$emit('input', parsed)\n },\n max (val) {\n const parsed = parseFloat(val)\n parsed < this.internalValue && this.$emit('input', parsed)\n },\n value: {\n handler (v: number) {\n this.internalValue = v\n },\n immediate: true,\n },\n },\n\n mounted () {\n // Without a v-app, iOS does not work with body selectors\n this.app = document.querySelector('[data-app]') ||\n consoleWarn('Missing v-app or a non-body wrapping element with the [data-app] attribute', this)\n },\n\n methods: {\n genDefaultSlot (): VNodeChildrenArrayContents {\n const children: VNodeChildrenArrayContents = [this.genLabel()]\n const slider = this.genSlider()\n this.inverseLabel\n ? children.unshift(slider)\n : children.push(slider)\n\n children.push(this.genProgress())\n\n return children\n },\n genSlider (): VNode {\n return this.$createElement('div', {\n class: {\n 'v-slider': true,\n 'v-slider--horizontal': !this.vertical,\n 'v-slider--vertical': this.vertical,\n 'v-slider--focused': this.isFocused,\n 'v-slider--active': this.isActive,\n 'v-slider--disabled': this.isDisabled,\n 'v-slider--readonly': this.isReadonly,\n ...this.themeClasses,\n },\n directives: [{\n name: 'click-outside',\n value: this.onBlur,\n }],\n on: {\n click: this.onSliderClick,\n mousedown: this.onSliderMouseDown,\n touchstart: this.onSliderMouseDown,\n },\n }, this.genChildren())\n },\n genChildren (): VNodeChildrenArrayContents {\n return [\n this.genInput(),\n this.genTrackContainer(),\n this.genSteps(),\n this.genThumbContainer(\n this.internalValue,\n this.inputWidth,\n this.isActive,\n this.isFocused,\n this.onFocus,\n this.onBlur,\n ),\n ]\n },\n genInput (): VNode {\n return this.$createElement('input', {\n attrs: {\n value: this.internalValue,\n id: this.computedId,\n disabled: true,\n readonly: true,\n tabindex: -1,\n ...this.$attrs,\n },\n // on: this.genListeners(), // TODO: do we need to attach the listeners to input?\n })\n },\n genTrackContainer (): VNode {\n const children = [\n this.$createElement('div', this.setBackgroundColor(this.computedTrackColor, {\n staticClass: 'v-slider__track-background',\n style: this.trackStyles,\n })),\n this.$createElement('div', this.setBackgroundColor(this.computedTrackFillColor, {\n staticClass: 'v-slider__track-fill',\n style: this.trackFillStyles,\n })),\n ]\n\n return this.$createElement('div', {\n staticClass: 'v-slider__track-container',\n ref: 'track',\n }, children)\n },\n genSteps (): VNode | null {\n if (!this.step || !this.showTicks) return null\n\n const tickSize = parseFloat(this.tickSize)\n const range = createRange(this.numTicks + 1)\n const direction = this.vertical ? 'bottom' : (this.$vuetify.rtl ? 'right' : 'left')\n const offsetDirection = this.vertical ? (this.$vuetify.rtl ? 'left' : 'right') : 'top'\n\n if (this.vertical) range.reverse()\n\n const ticks = range.map(index => {\n const children = []\n\n if (this.tickLabels[index]) {\n children.push(this.$createElement('div', {\n staticClass: 'v-slider__tick-label',\n }, this.tickLabels[index]))\n }\n\n const width = index * (100 / this.numTicks)\n const filled = this.$vuetify.rtl ? (100 - this.inputWidth) < width : width < this.inputWidth\n\n return this.$createElement('span', {\n key: index,\n staticClass: 'v-slider__tick',\n class: {\n 'v-slider__tick--filled': filled,\n },\n style: {\n width: `${tickSize}px`,\n height: `${tickSize}px`,\n [direction]: `calc(${width}% - ${tickSize / 2}px)`,\n [offsetDirection]: `calc(50% - ${tickSize / 2}px)`,\n },\n }, children)\n })\n\n return this.$createElement('div', {\n staticClass: 'v-slider__ticks-container',\n class: {\n 'v-slider__ticks-container--always-show': this.ticks === 'always' || this.tickLabels.length > 0,\n },\n }, ticks)\n },\n genThumbContainer (\n value: number,\n valueWidth: number,\n isActive: boolean,\n isFocused: boolean,\n onFocus: Function,\n onBlur: Function,\n ref = 'thumb'\n ): VNode {\n const children = [this.genThumb()]\n\n const thumbLabelContent = this.genThumbLabelContent(value)\n this.showThumbLabel && children.push(this.genThumbLabel(thumbLabelContent))\n\n return this.$createElement('div', this.setTextColor(this.computedThumbColor, {\n ref,\n key: ref,\n staticClass: 'v-slider__thumb-container',\n class: {\n 'v-slider__thumb-container--active': isActive,\n 'v-slider__thumb-container--focused': isFocused,\n 'v-slider__thumb-container--show-label': this.showThumbLabel,\n },\n style: this.getThumbContainerStyles(valueWidth),\n attrs: {\n role: 'slider',\n tabindex: this.isDisabled ? -1 : this.$attrs.tabindex ? this.$attrs.tabindex : 0,\n 'aria-label': this.$attrs['aria-label'] || this.label,\n 'aria-valuemin': this.min,\n 'aria-valuemax': this.max,\n 'aria-valuenow': this.internalValue,\n 'aria-readonly': String(this.isReadonly),\n 'aria-orientation': this.vertical ? 'vertical' : 'horizontal',\n },\n on: {\n focus: onFocus,\n blur: onBlur,\n keydown: this.onKeyDown,\n },\n }), children)\n },\n genThumbLabelContent (value: number | string): ScopedSlotChildren {\n return this.$scopedSlots['thumb-label']\n ? this.$scopedSlots['thumb-label']!({ value })\n : [this.$createElement('span', [String(value)])]\n },\n genThumbLabel (content: ScopedSlotChildren): VNode {\n const size = convertToUnit(this.thumbSize)\n\n const transform = this.vertical\n ? `translateY(20%) translateY(${(Number(this.thumbSize) / 3) - 1}px) translateX(55%) rotate(135deg)`\n : `translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)`\n\n return this.$createElement(VScaleTransition, {\n props: { origin: 'bottom center' },\n }, [\n this.$createElement('div', {\n staticClass: 'v-slider__thumb-label-container',\n directives: [{\n name: 'show',\n value: this.isFocused || this.isActive || this.thumbLabel === 'always',\n }],\n }, [\n this.$createElement('div', this.setBackgroundColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb-label',\n style: {\n height: size,\n width: size,\n transform,\n },\n }), [this.$createElement('div', content)]),\n ]),\n ])\n },\n genThumb (): VNode {\n return this.$createElement('div', this.setBackgroundColor(this.computedThumbColor, {\n staticClass: 'v-slider__thumb',\n }))\n },\n getThumbContainerStyles (width: number): object {\n const direction = this.vertical ? 'top' : 'left'\n let value = this.$vuetify.rtl ? 100 - width : width\n value = this.vertical ? 100 - value : value\n\n return {\n transition: this.trackTransition,\n [direction]: `${value}%`,\n }\n },\n onSliderMouseDown (e: MouseEvent | TouchEvent) {\n e.preventDefault()\n\n this.oldValue = this.internalValue\n this.isActive = true\n\n if ((e.target as Element)?.matches('.v-slider__thumb-container, .v-slider__thumb-container *')) {\n this.thumbPressed = true\n const domRect = (e.target as Element).getBoundingClientRect()\n const touch = 'touches' in e ? e.touches[0] : e\n this.startOffset = this.vertical\n ? touch.clientY - (domRect.top + domRect.height / 2)\n : touch.clientX - (domRect.left + domRect.width / 2)\n } else {\n this.startOffset = 0\n window.clearTimeout(this.mouseTimeout)\n this.mouseTimeout = window.setTimeout(() => {\n this.thumbPressed = true\n }, 300)\n }\n\n const mouseUpOptions = passiveSupported ? { passive: true, capture: true } : true\n const mouseMoveOptions = passiveSupported ? { passive: true } : false\n\n const isTouchEvent = 'touches' in e\n\n this.onMouseMove(e)\n this.app.addEventListener(isTouchEvent ? 'touchmove' : 'mousemove', this.onMouseMove, mouseMoveOptions)\n addOnceEventListener(this.app, isTouchEvent ? 'touchend' : 'mouseup', this.onSliderMouseUp, mouseUpOptions)\n\n this.$emit('start', this.internalValue)\n },\n onSliderMouseUp (e: Event) {\n e.stopPropagation()\n window.clearTimeout(this.mouseTimeout)\n this.thumbPressed = false\n const mouseMoveOptions = passiveSupported ? { passive: true } : false\n this.app.removeEventListener('touchmove', this.onMouseMove, mouseMoveOptions)\n this.app.removeEventListener('mousemove', this.onMouseMove, mouseMoveOptions)\n\n this.$emit('mouseup', e)\n this.$emit('end', this.internalValue)\n if (!deepEqual(this.oldValue, this.internalValue)) {\n this.$emit('change', this.internalValue)\n this.noClick = true\n }\n\n this.isActive = false\n },\n onMouseMove (e: MouseEvent | TouchEvent) {\n if (e.type === 'mousemove') {\n this.thumbPressed = true\n }\n this.internalValue = this.parseMouseMove(e)\n },\n onKeyDown (e: KeyboardEvent) {\n if (!this.isInteractive) return\n\n const value = this.parseKeyDown(e, this.internalValue)\n\n if (\n value == null ||\n value < this.minValue ||\n value > this.maxValue\n ) return\n\n this.internalValue = value\n this.$emit('change', value)\n },\n onSliderClick (e: MouseEvent) {\n if (this.noClick) {\n this.noClick = false\n return\n }\n const thumb = this.$refs.thumb as HTMLElement\n thumb.focus()\n\n this.onMouseMove(e)\n this.$emit('change', this.internalValue)\n },\n onBlur (e: Event) {\n this.isFocused = false\n\n this.$emit('blur', e)\n },\n onFocus (e: Event) {\n this.isFocused = true\n\n this.$emit('focus', e)\n },\n parseMouseMove (e: MouseEvent | TouchEvent) {\n const start = this.vertical ? 'top' : 'left'\n const length = this.vertical ? 'height' : 'width'\n const click = this.vertical ? 'clientY' : 'clientX'\n\n const {\n [start]: trackStart,\n [length]: trackLength,\n } = this.$refs.track.getBoundingClientRect()\n const clickOffset = 'touches' in e ? e.touches[0][click] : e[click]\n\n // It is possible for left to be NaN, force to number\n let clickPos = Math.min(Math.max((clickOffset - trackStart - this.startOffset) / trackLength, 0), 1) || 0\n\n if (this.vertical) clickPos = 1 - clickPos\n if (this.$vuetify.rtl) clickPos = 1 - clickPos\n\n return parseFloat(this.min) + clickPos * (this.maxValue - this.minValue)\n },\n parseKeyDown (e: KeyboardEvent, value: number) {\n if (!this.isInteractive) return\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyCodes\n\n if (![pageup, pagedown, end, home, left, right, down, up].includes(e.keyCode)) return\n\n e.preventDefault()\n const step = this.stepNumeric || 1\n const steps = (this.maxValue - this.minValue) / step\n if ([left, right, down, up].includes(e.keyCode)) {\n const increase = this.$vuetify.rtl ? [left, up] : [right, up]\n const direction = increase.includes(e.keyCode) ? 1 : -1\n const multiplier = e.shiftKey ? 3 : (e.ctrlKey ? 2 : 1)\n\n value = value + (direction * step * multiplier)\n } else if (e.keyCode === home) {\n value = this.minValue\n } else if (e.keyCode === end) {\n value = this.maxValue\n } else {\n const direction = e.keyCode === pagedown ? 1 : -1\n value = value - (direction * step * (steps > 100 ? steps / 10 : 10))\n }\n\n return value\n },\n roundValue (value: number): number {\n if (!this.stepNumeric) return value\n // Format input value using the same number\n // of decimals places as in the step prop\n const trimmedStep = this.step.toString().trim()\n const decimals = trimmedStep.indexOf('.') > -1\n ? (trimmedStep.length - trimmedStep.indexOf('.') - 1)\n : 0\n const offset = this.minValue % this.stepNumeric\n\n const newValue = Math.round((value - offset) / this.stepNumeric) * this.stepNumeric + offset\n\n return parseFloat(Math.min(newValue, this.maxValue).toFixed(decimals))\n },\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex justify-center align-center mb-4\"},[(!_vm.toggleCustom)?_c(VBtn,{attrs:{\"icon\":\"\",\"disabled\":!_vm.canDec},on:{\"click\":_vm.dec}},[_c(VIcon,[_vm._v(\"mdi-minus\")])],1):_vm._e(),_c('div',{staticClass:\"text-center\",staticStyle:{\"min-width\":\"100px\"},style:({ width: _vm.toggleCustom ? '100%' : '' }),on:{\"click\":function($event){_vm.toggleCustom = true}}},[(_vm.toggleCustom)?_c('div',[_c(VTextField,{attrs:{\"type\":\"number\",\"value\":_vm.numberProp,\"append-icon\":\"mdi-close\",\"rules\":_vm.numberRules},on:{\"input\":_vm.changeCustom,\"change\":_vm.changeCustom,\"blur\":function($event){_vm.toggleCustom = false},\"click:append\":function($event){_vm.toggleCustom = false}}})],1):_c('span',{staticClass:\"display-2 font-weight-bold primary--text\"},[_vm._v(\" \"+_vm._s(_vm.numberProp)+\" \")])]),(!_vm.toggleCustom)?_c(VBtn,{attrs:{\"icon\":\"\",\"disabled\":!_vm.canInc},on:{\"click\":_vm.inc}},[_c(VIcon,[_vm._v(\"mdi-plus\")])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, PropSync } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class NumberSelect extends Vue {\r\n @Prop({ default: () => 0 }) min!: number;\r\n @Prop({ default: () => 200 }) max!: number;\r\n @PropSync(\"number\", { type: Number }) numberProp!: number;\r\n\r\n numberRules = [\r\n (v: number) => v >= this.min || this.$t(\"number.toosmall\", { n: this.min }),\r\n (v: number) => v <= this.max || this.$t(\"number.toobig\", { n: this.max }),\r\n ];\r\n\r\n toggleCustom = false;\r\n get canInc() {\r\n return this.numberProp < this.max;\r\n }\r\n inc() {\r\n if (this.canInc) this.numberProp++;\r\n }\r\n get canDec() {\r\n return this.numberProp > 0;\r\n }\r\n dec() {\r\n if (this.canDec) this.numberProp--;\r\n }\r\n changeCustom(input: number) {\r\n let val = input.toString();\r\n const num = Number(input);\r\n if (isNaN(num)) this.numberProp = 0;\r\n else if (num < this.min) val = this.min.toString();\r\n else if (num > this.max) val = this.max.toString();\r\n const forbidden = [\"e\", \"-\", \",\"];\r\n forbidden.forEach(x => val.replaceAll(x, \"\"));\r\n this.numberProp = Number(val);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberSelect.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NumberSelect.vue?vue&type=template&id=15e46a12&\"\nimport script from \"./NumberSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./NumberSelect.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","module.exports = require('./lib/index.js');\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.pages.NumPages > 1)?_c('div',{staticClass:\"d-flex\"},[(!_vm.left)?_c(VSpacer):_vm._e(),_c(VBtn,{attrs:{\"icon\":\"\",\"disabled\":_vm.pages.CurrentPageId === 0},on:{\"click\":_vm.back}},[_c(VIcon,[_vm._v(\"mdi-chevron-left\")])],1),_c(VBtn,{attrs:{\"icon\":\"\",\"disabled\":_vm.pages.CurrentPageId === _vm.pages.NumPages - 1},on:{\"click\":_vm.fwd}},[_c(VIcon,[_vm._v(\"mdi-chevron-right\")])],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport Pages from \"@/core/utils/Pages\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class PagesArrows extends Vue {\r\n @Prop({ default: () => false }) left!: boolean;\r\n @Prop({ default: () => Pages.Empty() }) pages!: Pages;\r\n back = () => this.pages.setPage(this.pages.CurrentPageId - 1);\r\n fwd = () => this.pages.setPage(this.pages.CurrentPageId + 1);\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PagesArrows.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PagesArrows.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PagesArrows.vue?vue&type=template&id=40200406&\"\nimport script from \"./PagesArrows.vue?vue&type=script&lang=ts&\"\nexport * from \"./PagesArrows.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Mixins\nimport Colorable from '../colorable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { kebabCase } from '../../util/helpers'\n\n// Types\nimport { VNodeChildren } from 'vue'\n\n/* @vue/component */\nexport default mixins(\n Colorable\n).extend({\n methods: {\n genPickerButton (\n prop: string,\n value: any,\n content: VNodeChildren,\n readonly = false,\n staticClass = ''\n ) {\n const active = (this as any)[prop] === value\n const click = (event: Event) => {\n event.stopPropagation()\n this.$emit(`update:${kebabCase(prop)}`, value)\n }\n\n return this.$createElement('div', {\n staticClass: `v-picker__title__btn ${staticClass}`.trim(),\n class: {\n 'v-picker__title__btn--active': active,\n 'v-picker__title__btn--readonly': readonly,\n },\n on: (active || readonly) ? undefined : { click },\n }, Array.isArray(content) ? content : [content])\n },\n },\n})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleWord.vue?vue&type=style&index=0&id=a2565ca0&prod&scoped=true&lang=css&\"","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VDialog,{attrs:{\"max-width\":\"600px\"},on:{\"click:outside\":_vm.close},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex\",staticStyle:{\"align-items\":\"flex-start\"}},[_c('div',{staticClass:\"mr-4\",staticStyle:{\"flex\":\"1\"}},[_c('div',{staticClass:\"text-h5 main--text font-weight-bold\",staticStyle:{\"width\":\"100%\"}},[(!_vm.editingName)?_c('div',[_c('span',[_vm._v(_vm._s(_vm.title))]),_c(VBtn,{staticClass:\"ml-2\",attrs:{\"icon\":\"\"},on:{\"click\":_vm.toggleEditName}},[_c(VIcon,[_vm._v(\"mdi-pencil\")])],1)],1):_c('div',{staticClass:\"d-flex mb-2\",staticStyle:{\"align-items\":\"center\"}},[_c(VTextField,{attrs:{\"dense\":\"\",\"hide-details\":\"\",\"loading\":_vm.renameLoading,\"disabled\":_vm.renameLoading,\"rules\":[function (v) { return !!v || 'Name required'; }]},on:{\"keypress\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.editName($event)},\"blur\":_vm.editName},model:{value:(_vm.newName),callback:function ($$v) {_vm.newName=$$v},expression:\"newName\"}}),_c(VBtn,{staticClass:\"ml-2\",attrs:{\"icon\":\"\"},on:{\"click\":_vm.editName}},[_c(VIcon,[_vm._v(\"mdi-send\")])],1)],1)]),_c('div',[_c(VSelect,{attrs:{\"dense\":\"\",\"hide-details\":\"\",\"items\":_vm.langItems,\"loading\":_vm.editingLocale,\"disabled\":_vm.editingLocale,\"disable-lookup\":_vm.editingLocale},on:{\"change\":_vm.editLocale},model:{value:(_vm.newLocale),callback:function ($$v) {_vm.newLocale=$$v},expression:\"newLocale\"}})],1)]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.close}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),(_vm.hasTimestamps)?_c(VCardText,[_c('ImageSlider',{attrs:{\"max-width\":\"100%\",\"images\":_vm.images}})],1):_vm._e(),_c(VCardText,[_c('div',{staticClass:\"my-4\"},[(_vm.recording.type === 'audio')?_c('audio',{staticClass:\"primary--text\",staticStyle:{\"width\":\"100%\"},attrs:{\"id\":(\"rec-plyr-\" + (_vm.recording.id)),\"controls\":\"\",\"src\":_vm.recording.audioURI}}):(_vm.recording.type === 'video')?_c('VideoPlayer',{attrs:{\"id\":(\"video_recording_\" + (_vm.recording.id)),\"should-stop\":_vm.shouldStop,\"url\":_vm.recording.videoURI},on:{\"update:shouldStop\":function($event){_vm.shouldStop=$event},\"update:should-stop\":function($event){_vm.shouldStop=$event}}}):_vm._e()],1),_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\"}},[_c(VMenu,{attrs:{\"bottom\":\"\",\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('div',{staticClass:\"d-flex flex-column align-center\",attrs:{\"data-tour\":\"create-sess\"}},[_c(VBtn,_vm._g({attrs:{\"text\":\"\",\"loading\":_vm.uploading}},on),[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-content-save\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"rec.save\")))])],1)],1)]}}])},[_c(VList,[_c(VListItem,{on:{\"click\":function($event){return _vm.createSession(false)}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-chart-box-plus-outline\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"rec.sess\")))])],1),(_vm.recording.type === 'audio')?_c(VListItem,{on:{\"click\":function($event){return _vm.createSession(true)}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-chart-bell-curve\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"rec.base\")))])],1):_vm._e()],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Action } from \"vuex-class\";\r\nimport api from \"@/core/utils/api\";\r\nimport type { Recording } from \"@/core/models\";\r\nimport { ImageSlider } from \"@/components/common\";\r\nimport { Component, Prop, PropSync, Watch } from \"vue-property-decorator\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\n\r\nimport Plyr from \"plyr\";\r\nimport \"plyr/dist/plyr.css\";\r\n\r\n@Component({ components: { ImageSlider, VideoPlayer } })\r\nexport default class RecordingDialog extends Vue {\r\n @Prop({ default: () => ({} as Recording) }) recording!: Recording;\r\n @Action(\"sessions/addSession\") addSession!: (d: any) => void;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n @PropSync(\"dialogProp\", { default: () => false, type: Boolean })\r\n dialog!: boolean;\r\n uploading = false;\r\n shouldStop = false;\r\n\r\n get title() {\r\n return this.recording.title;\r\n }\r\n get hasTimestamps() {\r\n return (\r\n this.recording.slideTimestamps &&\r\n this.recording.slideTimestamps.length > 0\r\n );\r\n }\r\n get images() {\r\n if (!this.hasTimestamps) return [];\r\n return this.recording.slideTimestamps!.map(x => x.slideURI);\r\n }\r\n\r\n async createSession(initial: boolean = false) {\r\n this.uploading = true;\r\n try {\r\n const end = \"/api/Recordings/CreateSession\";\r\n const device = { id: navigator.appCodeName, type: navigator.userAgent };\r\n const data = {\r\n isInitial: initial,\r\n id: this.recording.id,\r\n device: JSON.stringify(device),\r\n };\r\n const sess = (await api.post(end, data)) as any;\r\n if (this.recording.type === \"audio\") {\r\n this.addSession(sess);\r\n const message = this.$t(\"rec.succ\").toString();\r\n this.displaySnackbar(message);\r\n } else {\r\n const message = this.$t(\"rec.fromVideo\").toString();\r\n this.displaySnackbar(message);\r\n }\r\n } catch (error) {\r\n const message = error.description || this.$t(\"rec.fail\").toString();\r\n this.displaySnackbar(message);\r\n console.log(error);\r\n }\r\n this.uploading = false;\r\n this.dialog = false;\r\n }\r\n\r\n // Player\r\n hasAttached = false;\r\n plyr: Plyr | null = null;\r\n attachPlayer() {\r\n const id = `#rec-plyr-${this.recording.id}`;\r\n this.plyr = new Plyr(id, { invertTime: false, volume: 0.5 });\r\n }\r\n close() {\r\n if (this.recording.type === \"audio\")\r\n if (!this.plyr) {\r\n this.attachPlayer();\r\n this.$nextTick(() => this.plyr!.stop());\r\n } else this.plyr.stop();\r\n else if (this.recording.type === \"video\") this.shouldStop = true;\r\n\r\n this.dialog = false;\r\n this.dialog = false;\r\n }\r\n @Watch(\"recording\")\r\n recordingChanged() {\r\n if (this.recording.type === \"audio\") this.attachPlayer();\r\n }\r\n @Watch(\"dialog\")\r\n dialogToggled() {\r\n if (this.dialog && !this.hasAttached && this.recording.type === \"audio\") {\r\n this.$nextTick(() => this.attachPlayer());\r\n this.hasAttached = true;\r\n }\r\n }\r\n\r\n // Edit name\r\n newName = \"\";\r\n editingName = false;\r\n renameLoading = false;\r\n toggleEditName() {\r\n if (!this.editingName) {\r\n this.editingName = true;\r\n this.newName = this.title;\r\n } else this.editName();\r\n }\r\n async editName() {\r\n this.renameLoading = true;\r\n try {\r\n const end = \"/api/Recordings\";\r\n const data = {\r\n title: this.newName,\r\n id: this.recording.id,\r\n };\r\n await api.put(end, data);\r\n this.$emit(\"edit\", data);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.renameLoading = false;\r\n this.editingName = false;\r\n }\r\n\r\n // Edit locale\r\n editingLocale = false;\r\n newLocale = this.recording.locale;\r\n langItems = [\r\n { text: \"English\", value: \"en\" },\r\n { text: \"Deutsch\", value: \"de\" },\r\n ];\r\n async editLocale() {\r\n this.editingLocale = true;\r\n try {\r\n const end = \"/api/Recordings\";\r\n const data = {\r\n locale: this.newLocale,\r\n id: this.recording.id,\r\n };\r\n await api.put(end, data);\r\n this.$emit(\"edit\", data);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.editingLocale = false;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordingDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordingDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RecordingDialog.vue?vue&type=template&id=44ef0a18&\"\nimport script from \"./RecordingDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./RecordingDialog.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SessionVideoPlayer.vue?vue&type=style&index=0&id=3f601bbe&prod&scoped=true&lang=css&\"","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"list-item\",on:{\"click\":function($event){_vm.dialog = true}}},[_c('div',{staticClass:\"list-avatar\"},[_c(VIcon,[_vm._v(\" \"+_vm._s(_vm.recording.type === \"video\" ? \"mdi-video\" : \"mdi-microphone\")+\" \")])],1),_c('div',{staticClass:\"list-content\"},[_c('div',{staticClass:\"list-title\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"list-subtitle\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"format\")(_vm.recording.recordedAt)))])])]),_c(VSpacer),_c('div',[_c(VIcon,[_vm._v(\"mdi-earth\")]),_c('span',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm.lang))])],1),_c(VSpacer),_c('div',{staticClass:\"list-actions\"},[_c(VDialog,{attrs:{\"max-width\":\"600px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\",\"loading\":_vm.removing}},on),[_c(VIcon,[_vm._v(\"mdi-delete\")])],1)]}}]),model:{value:(_vm.removeDialog),callback:function ($$v) {_vm.removeDialog=$$v},expression:\"removeDialog\"}},[_c(VCard,[_c(VCardTitle,[_c('span',[_vm._v(_vm._s(_vm.$t(\"rec.remove\")))])]),_c(VCardText,[_c('div',[_vm._v(_vm._s(_vm.$t(\"rec.removetext\")))]),_c('div',{staticClass:\"font-weight-bold main--text\"},[_c('span',[_vm._v(_vm._s(_vm.recording.title))])])]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\"},on:{\"click\":function($event){_vm.removeDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"color\":\"primary\",\"elevation\":\"0\"},on:{\"click\":_vm.removeRecord}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1)],1)],1),_c('RecordingDialog',{attrs:{\"dialog-prop\":_vm.dialog,\"recording\":_vm.recording},on:{\"update:dialogProp\":function($event){_vm.dialog=$event},\"update:dialog-prop\":function($event){_vm.dialog=$event},\"edit\":_vm.edit}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport api from \"@/core/utils/api\";\r\nimport type { Recording } from \"@/core/models\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\nimport RecordingDialog from \"./RecordingDialog.vue\";\r\n\r\n@Component({ components: { RecordingDialog } })\r\nexport default class RecordingItem extends Vue {\r\n @Prop({ default: () => ({} as Recording) }) recording!: Recording;\r\n\r\n get title() {\r\n return this.recording.title;\r\n }\r\n get lang() {\r\n const { locale } = this.recording;\r\n return locale === \"en\" ? \"English\" : \"Deutsch\";\r\n }\r\n\r\n edit(d: any) {\r\n this.$emit(\"edit\", d);\r\n }\r\n\r\n dialog = false;\r\n removing = false;\r\n removeDialog = false;\r\n async removeRecord() {\r\n this.removeDialog = false;\r\n this.removing = true;\r\n try {\r\n const end = `/api/Recordings/${this.recording.id}`;\r\n await api.delete(end);\r\n this.$emit(\"remove\");\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.removing = false;\r\n }\r\n\r\n @Watch(\"dialog\")\r\n dialogToggled(value: boolean) {\r\n this.$emit(\"dialogToggled\", value);\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordingItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecordingItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RecordingItem.vue?vue&type=template&id=121cb28a&\"\nimport script from \"./RecordingItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./RecordingItem.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","class Pages {\r\n private Limit: number;\r\n public CurrentPageId: number;\r\n public CurrentPage: T[];\r\n public NumPages: number;\r\n public Pages: T[][];\r\n\r\n constructor(limit: number, content: T[]) {\r\n this.Pages = [];\r\n this.Limit = limit;\r\n if (content.length > 0) {\r\n this.makePages(content);\r\n this.NumPages = Math.ceil(content.length / this.Limit);\r\n this.CurrentPageId = 0;\r\n this.CurrentPage = this.Pages[this.CurrentPageId];\r\n } else {\r\n this.NumPages = 0;\r\n this.CurrentPageId = 0;\r\n this.CurrentPage = [];\r\n }\r\n }\r\n\r\n public setPage(id: number) {\r\n if (id > this.NumPages - 1 || id < 0) return;\r\n this.CurrentPageId = id;\r\n this.CurrentPage = this.Pages[this.CurrentPageId];\r\n }\r\n\r\n private makePages(content: T[]) {\r\n for (let i = 0; i < content.length; i += this.Limit)\r\n this.Pages.push(content.slice(i, i + this.Limit));\r\n }\r\n\r\n public static Empty() {\r\n return new Pages(0, []);\r\n }\r\n}\r\n\r\nexport default Pages;\r\n","import { VChip } from 'vuetify/lib/components/VChip';\nimport { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VCombobox,{attrs:{\"chips\":\"\",\"multiple\":\"\",\"clearable\":\"\",\"append-icon\":\"\",\"type\":\"email\",\"label\":_vm.label,\"disable-lookup\":\"\",\"persistent-hint\":\"\",\"rules\":_vm.chipRules,\"delimiters\":[','],\"hint\":_vm.$t('groups.hint'),\"search-input\":_vm.nextUser},on:{\"update:searchInput\":function($event){_vm.nextUser=$event},\"update:search-input\":function($event){_vm.nextUser=$event}},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c(VChip,{key:JSON.stringify(data.item)},[_c(VIcon,[_vm._v(\"mdi-account-circle\")]),_c('span',{staticClass:\"mx-2\"},[_vm._v(_vm._s(data.item))]),_c(VIcon,{attrs:{\"small\":\"\"},on:{\"click\":function($event){return data.parent.selectItem(data.item)}}},[_vm._v(\" mdi-close \")])],1)]}}]),model:{value:(_vm.emails),callback:function ($$v) {_vm.emails=$$v},expression:\"emails\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, PropSync } from \"vue-property-decorator\";\r\n\r\nconst pattern = /^\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(\\.\\w\\w+)+$/;\r\n@Component({})\r\nexport default class EmailsInput extends Vue {\r\n @Prop({ default: () => \"Emails\" }) label!: any;\r\n @PropSync(\"nextUserProp\", { type: String }) nextUser!: string;\r\n @PropSync(\"emailsProp\", { type: Array }) emails!: string[];\r\n\r\n chipRules = [\r\n (chips: string[]) => {\r\n if (chips.some(c => c.length < 3)) return true;\r\n if (chips.some(c => !pattern.test(c))) return \"Invalid email\";\r\n else return true;\r\n },\r\n ];\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmailsInput.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmailsInput.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EmailsInput.vue?vue&type=template&id=234d2100&\"\nimport script from \"./EmailsInput.vue?vue&type=script&lang=ts&\"\nexport * from \"./EmailsInput.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Styles\nimport './VWindow.sass'\n\n// Types\nimport { VNode, VNodeDirective } from 'vue/types/vnode'\nimport { PropType } from 'vue'\nimport { TouchHandlers } from 'vuetify/types'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Components\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\nimport { BaseItemGroup } from '../VItemGroup/VItemGroup'\n\n/* @vue/component */\nexport default BaseItemGroup.extend({\n name: 'v-window',\n\n directives: { Touch },\n\n provide (): object {\n return {\n windowGroup: this,\n }\n },\n\n props: {\n activeClass: {\n type: String,\n default: 'v-window-item--active',\n },\n continuous: Boolean,\n mandatory: {\n type: Boolean,\n default: true,\n },\n nextIcon: {\n type: [Boolean, String],\n default: '$next',\n },\n prevIcon: {\n type: [Boolean, String],\n default: '$prev',\n },\n reverse: Boolean,\n showArrows: Boolean,\n showArrowsOnHover: Boolean,\n touch: Object as PropType,\n touchless: Boolean,\n value: {\n required: false,\n },\n vertical: Boolean,\n },\n\n data () {\n return {\n changedByDelimiters: false,\n internalHeight: undefined as undefined | string, // This can be fixed by child class.\n transitionHeight: undefined as undefined | string, // Intermediate height during transition.\n transitionCount: 0, // Number of windows in transition state.\n isBooted: false,\n isReverse: false,\n }\n },\n\n computed: {\n isActive (): boolean {\n return this.transitionCount > 0\n },\n classes (): object {\n return {\n ...BaseItemGroup.options.computed.classes.call(this),\n 'v-window--show-arrows-on-hover': this.showArrowsOnHover,\n }\n },\n computedTransition (): string {\n if (!this.isBooted) return ''\n\n const axis = this.vertical ? 'y' : 'x'\n const reverse = this.internalReverse ? !this.isReverse : this.isReverse\n const direction = reverse ? '-reverse' : ''\n\n return `v-window-${axis}${direction}-transition`\n },\n hasActiveItems (): boolean {\n return Boolean(\n this.items.find(item => !item.disabled)\n )\n },\n hasNext (): boolean {\n return this.continuous || this.internalIndex < this.items.length - 1\n },\n hasPrev (): boolean {\n return this.continuous || this.internalIndex > 0\n },\n internalIndex (): number {\n return this.items.findIndex((item, i) => {\n return this.internalValue === this.getValue(item, i)\n })\n },\n internalReverse (): boolean {\n return this.$vuetify.rtl ? !this.reverse : this.reverse\n },\n },\n\n watch: {\n internalIndex (val, oldVal) {\n this.isReverse = this.updateReverse(val, oldVal)\n },\n },\n\n mounted () {\n window.requestAnimationFrame(() => (this.isBooted = true))\n },\n\n methods: {\n genDefaultSlot () {\n return this.$slots.default\n },\n genContainer (): VNode {\n const children = [this.genDefaultSlot()]\n\n if (this.showArrows) {\n children.push(this.genControlIcons())\n }\n\n return this.$createElement('div', {\n staticClass: 'v-window__container',\n class: {\n 'v-window__container--is-active': this.isActive,\n },\n style: {\n height: this.internalHeight || this.transitionHeight,\n },\n }, children)\n },\n genIcon (\n direction: 'prev' | 'next',\n icon: string,\n click: () => void\n ) {\n const on = {\n click: (e: Event) => {\n e.stopPropagation()\n this.changedByDelimiters = true\n click()\n },\n }\n const attrs = {\n 'aria-label': this.$vuetify.lang.t(`$vuetify.carousel.${direction}`),\n }\n const children = this.$scopedSlots[direction]?.({\n on,\n attrs,\n }) ?? [this.$createElement(VBtn, {\n props: { icon: true },\n attrs,\n on,\n }, [\n this.$createElement(VIcon, {\n props: { large: true },\n }, icon),\n ])]\n\n return this.$createElement('div', {\n staticClass: `v-window__${direction}`,\n }, children)\n },\n genControlIcons () {\n const icons = []\n\n const prevIcon = this.$vuetify.rtl\n ? this.nextIcon\n : this.prevIcon\n\n /* istanbul ignore else */\n if (\n this.hasPrev &&\n prevIcon &&\n typeof prevIcon === 'string'\n ) {\n const icon = this.genIcon('prev', prevIcon, this.prev)\n icon && icons.push(icon)\n }\n\n const nextIcon = this.$vuetify.rtl\n ? this.prevIcon\n : this.nextIcon\n\n /* istanbul ignore else */\n if (\n this.hasNext &&\n nextIcon &&\n typeof nextIcon === 'string'\n ) {\n const icon = this.genIcon('next', nextIcon, this.next)\n icon && icons.push(icon)\n }\n\n return icons\n },\n getNextIndex (index: number): number {\n const nextIndex = (index + 1) % this.items.length\n const item = this.items[nextIndex]\n\n if (item.disabled) return this.getNextIndex(nextIndex)\n\n return nextIndex\n },\n getPrevIndex (index: number): number {\n const prevIndex = (index + this.items.length - 1) % this.items.length\n const item = this.items[prevIndex]\n\n if (item.disabled) return this.getPrevIndex(prevIndex)\n\n return prevIndex\n },\n next () {\n /* istanbul ignore if */\n if (!this.hasActiveItems || !this.hasNext) return\n\n const nextIndex = this.getNextIndex(this.internalIndex)\n const item = this.items[nextIndex]\n\n this.internalValue = this.getValue(item, nextIndex)\n },\n prev () {\n /* istanbul ignore if */\n if (!this.hasActiveItems || !this.hasPrev) return\n\n const lastIndex = this.getPrevIndex(this.internalIndex)\n const item = this.items[lastIndex]\n\n this.internalValue = this.getValue(item, lastIndex)\n },\n updateReverse (val: number, oldVal: number) {\n const itemsLength = this.items.length\n const lastIndex = itemsLength - 1\n\n if (itemsLength <= 2) return val < oldVal\n\n if (val === lastIndex && oldVal === 0) {\n return true\n } else if (val === 0 && oldVal === lastIndex) {\n return false\n } else {\n return val < oldVal\n }\n },\n },\n\n render (h): VNode {\n const data = {\n staticClass: 'v-window',\n class: this.classes,\n directives: [] as VNodeDirective[],\n }\n\n if (!this.touchless) {\n const value = this.touch || {\n left: () => {\n this.$vuetify.rtl ? this.prev() : this.next()\n },\n right: () => {\n this.$vuetify.rtl ? this.next() : this.prev()\n },\n end: (e: TouchEvent) => {\n e.stopPropagation()\n },\n start: (e: TouchEvent) => {\n e.stopPropagation()\n },\n }\n\n data.directives.push({\n name: 'touch',\n value,\n })\n }\n\n return h('div', data, [this.genContainer()])\n },\n})\n"],"sourceRoot":""}