{"version":3,"sources":["webpack:///./src/views/seminars/components/VideoMenu.vue?465d","webpack:///./src/views/seminars/components/VideoMenu.vue","webpack:///./src/views/seminars/components/VideoMenu.vue?9584","webpack:///./src/views/seminars/components/VideoMenu.vue?c262","webpack:///../../../src/components/VExpansionPanel/VExpansionPanels.ts","webpack:///./src/core/utils/formatTime.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/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/components/VDataTable/VSimpleTable.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/components/common/ImageSlider.vue?a67e","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:///./src/views/seminars/components/RephraseSubmission.vue?1c78","webpack:///./src/views/seminars/components/RephraseSubmission.vue","webpack:///./src/views/seminars/components/RephraseSubmission.vue?250d","webpack:///./src/views/seminars/components/RephraseSubmission.vue?ae3a","webpack:///../../../src/components/VExpansionPanel/VExpansionPanelContent.ts","webpack:///./src/views/seminars/components/CategorizeSubmission.vue?7da6","webpack:///./node_modules/plyr/dist/plyr.min.js","webpack:///../../../../src/components/VDatePicker/util/pad.ts","webpack:///./src/views/seminars/components/Sidebar.vue?138a","webpack:///./src/views/seminars/components/GapTextSubmission.vue?ee1e","webpack:///./src/views/seminars/components/GapTextSubmission.vue","webpack:///./src/views/seminars/components/GapTextSubmission.vue?f664","webpack:///./src/views/seminars/components/GapTextSubmission.vue?9b03","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/seminars/components/Block.vue?7d39","webpack:///./src/views/seminars/components/admin/ElementDialog.vue?cb59","webpack:///./src/views/seminars/components/admin/ElementDialog.vue","webpack:///./src/views/seminars/components/admin/ElementDialog.vue?fece","webpack:///./src/views/seminars/components/admin/ElementDialog.vue?c762","webpack:///./src/views/seminars/components/Sidebar.vue?5142","webpack:///./src/views/seminars/components/Sidebar.vue","webpack:///./src/views/seminars/components/Sidebar.vue?2764","webpack:///./src/views/seminars/components/Sidebar.vue?1504","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/seminars/components/admin/Element.vue?6631","webpack:///./src/views/seminars/components/admin/Element.vue","webpack:///./src/views/seminars/components/admin/Element.vue?eaa1","webpack:///./src/views/seminars/components/admin/Element.vue?7679","webpack:///./src/views/seminars/components/SubmissionFooter.vue?976c","webpack:///./src/views/seminars/components/SubmissionFooter.vue","webpack:///./src/views/seminars/components/SubmissionFooter.vue?bb34","webpack:///./src/views/seminars/components/SubmissionFooter.vue?6832","webpack:///../../../src/components/VData/VData.ts","webpack:///../../../src/components/VDataIterator/VDataFooter.ts","webpack:///../../../src/components/VDataIterator/VDataIterator.ts","webpack:///../../../../src/components/VDataTable/mixins/header.ts","webpack:///../../../src/components/VDataTable/VDataTableHeaderMobile.ts","webpack:///../../../src/components/VDataTable/VDataTableHeaderDesktop.ts","webpack:///../../src/util/dedupeModelListeners.ts","webpack:///../../src/util/rebuildFunctionalSlots.ts","webpack:///../../../src/components/VDataTable/VDataTableHeader.ts","webpack:///../../../src/components/VDataTable/Row.ts","webpack:///../../../src/components/VDataTable/RowGroup.ts","webpack:///../../../src/components/VDataTable/MobileRow.ts","webpack:///../../../src/components/VDataTable/VDataTable.ts","webpack:///./src/views/seminars/components/VideoSubmission.vue?3ad9","webpack:///./src/views/seminars/components/VideoSubmission.vue","webpack:///./src/views/seminars/components/VideoSubmission.vue?ad01","webpack:///./src/views/seminars/components/VideoSubmission.vue?352f","webpack:///./src/components/common/ProgressFill.vue?2845","webpack:///../../../src/components/VSlider/index.ts","webpack:///./node_modules/recorder-js/lib/microphone.js","webpack:///../../../src/components/VGrid/grid.ts","webpack:///../../../src/components/VGrid/VContainer.ts","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///./src/views/seminars/components/VideoSubmission.vue?d6f7","webpack:///../../../src/components/VBtn/index.ts","webpack:///./src/views/recorder/components/volume-tester/Gauge.vue?23e0","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/views/seminars/components/VideoRatings.vue?64f9","webpack:///../../../src/components/VSwitch/VSwitch.ts","webpack:///../../../src/components/VSlider/VSlider.ts","webpack:///./src/views/seminars/components/Participants.vue?fd16","webpack:///./src/views/seminars/components/Participants.vue","webpack:///./src/views/seminars/components/Participants.vue?40e1","webpack:///./src/views/seminars/components/Participants.vue?1432","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:///./src/views/seminars/components/Block.vue?c89f","webpack:///./src/views/seminars/components/Block.vue","webpack:///./src/views/seminars/components/Block.vue?1ae6","webpack:///./src/views/seminars/components/Block.vue?1de5","webpack:///./node_modules/recorder-js/index.js","webpack:///../../../src/components/VExpansionPanel/VExpansionPanelHeader.ts","webpack:///../../../src/components/VExpansionPanel/VExpansionPanel.ts","webpack:///./src/views/seminars/components/admin/BlockDialog.vue?150f","webpack:///./src/views/seminars/components/admin/BlockDialog.vue","webpack:///./src/views/seminars/components/admin/BlockDialog.vue?35c9","webpack:///./src/views/seminars/components/admin/BlockDialog.vue?f1ec","webpack:///./src/views/seminars/components/CategorizeSubmission.vue?2c2f","webpack:///./src/views/seminars/components/CategorizeSubmission.vue","webpack:///./src/views/seminars/components/CategorizeSubmission.vue?125c","webpack:///./src/views/seminars/components/CategorizeSubmission.vue?0acf","webpack:///../../../src/mixins/picker-button/index.ts","webpack:///./src/components/common/SingleWord.vue?507c","webpack:///./src/views/seminars/components/admin/Block.vue?7893","webpack:///./src/views/seminars/components/admin/Block.vue","webpack:///./src/views/seminars/components/admin/Block.vue?d7a6","webpack:///./src/views/seminars/components/admin/Block.vue?4c92","webpack:///./src/components/common/SessionVideoPlayer.vue?132c","webpack:///../../../src/components/VRangeSlider/VRangeSlider.ts","webpack:///./src/views/goals/components/ConditionsSelect.vue?04cd","webpack:///./src/views/goals/components/ConditionsSelect.vue","webpack:///./src/views/goals/components/ConditionsSelect.vue?8dde","webpack:///./src/views/goals/components/ConditionsSelect.vue?a1ca","webpack:///./src/views/seminars/components/VideoRatings.vue?96c1","webpack:///./src/views/seminars/components/VideoRatings.vue","webpack:///./src/views/seminars/components/VideoRatings.vue?319f","webpack:///./src/views/seminars/components/VideoRatings.vue?502a","webpack:///./src/views/seminars/pages/Edit.vue?9ba0","webpack:///./src/views/seminars/pages/Edit.vue","webpack:///./src/views/seminars/pages/Edit.vue?ffe9","webpack:///./src/views/seminars/pages/Edit.vue?a845","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":["render","_vm","this","_h","$createElement","_c","_self","VMenu","attrs","scopedSlots","_u","key","fn","ref","on","VBtn","_g","sharing","removing","VIcon","_v","VList","VListItem","canShare","isShared","callToggle","_s","$t","_e","VDialog","model","value","callback","$$v","removeDialog","expression","VCard","VSpacer","$event","remove","staticRenderFns","VideoMenu","submission","userId","seminar","ownerId","toggleShared","id","$emit","removeSubmission","Vue","__decorate","Prop","default","Getter","Action","Component","component","BaseItemGroup","extend","name","provide","expansionPanels","props","accordion","Boolean","disabled","flat","hover","focusable","inset","popout","readonly","tile","computed","classes","options","call","created","$attrs","hasOwnProperty","breaking","Array","isArray","length","methods","updateItem","item","index","getValue","nextValue","isActive","toggleMethod","nextIsActive","formatFromSeconds","s","hh","Math","floor","mm","ss","formatClockFromSeconds","formatFromMilliSeconds","ms","staticClass","style","canToggle","isTesting","VolumeCircle","scale","volume","str","VTooltip","bottom","message","tooltipText","InformationTooltip","text","toString","class","VRMode","staticStyle","width","maxHeight","url","VOverlay","loading","VProgressCircular","prev","next","ImageSlider","LocalStorage","getVRMode","idx","maxWidth","images","img","Promise","res","onload","Image","src","loadImage","ratio","naturalHeight","naturalWidth","maxWidthVertical","len","setImage","shouldReset","PropSync","Watch","immediate","baseMixins","mixins","Bootable","GroupableFactory","directives","Touch","reverseTransition","type","String","undefined","transition","required","data","inTransition","groupClasses","computedTransition","windowGroup","internalReverse","genDefaultSlot","$slots","genWindowItem","$listeners","onAfterTransition","transitionCount","transitionHeight","onBeforeTransition","convertToUnit","$el","clientHeight","onTransitionCancelled","onEnter","el","$nextTick","h","beforeEnter","afterEnter","enterCancelled","beforeLeave","afterLeave","leaveCancelled","enter","showLazyContent","Themeable","dense","fixedHeader","height","Number","top","themeClasses","genWrapper","wrapper","isEN","icon","menuOpen","VListItemGroup","lang","setEN","setDE","LangSwitcher","locale","defaultMenuProps","VSelectMenuProps","offsetY","offsetOverflow","VSelect","allowOverflow","autoSelectFirst","filter","Function","queryText","itemText","toLocaleLowerCase","indexOf","hideNoData","menuProps","noFilter","searchInput","lazySearch","selectedIndex","computedItems","filteredItems","selectedValues","selectedItems","map","hasDisplayedItems","hideSelected","some","hasItem","currentRange","selectedItem","getText","isSearching","internalSearch","allItems","getPropertyFromItem","get","set","val","isAnyValueAllowed","isDirty","searchIsDirty","multiple","menuCanShow","isFocused","$_menuProps","contentClass","trim","find","i","valueComparator","internalValue","listData","items","virtualizedItems","watch","document","addEventListener","onCopy","$refs","input","select","removeEventListener","blur","updateSelf","isMenuActive","hasSlot","oldVal","activateMenu","setSearch","destroyed","onFilteredItemsChanged","preSelectedItem","menu","listIndex","setMenuIndex","findIndex","getTiles","onInternalSearchChanged","updateMenuDimensions","updateDimensions","changeSelectedIndex","keyCode","keyCodes","left","right","backspace","delete","deleteCurrentItem","curIndex","curItem","isInteractive","getDisabled","lastIndex","nextIndex","nextItem","selectItem","setValue","clearableCallback","genInput","VTextField","mergeData","getObjectValueByPath","autocomplete","domProps","genInputSlot","slot","role","genSelections","onClick","e","onFocus","isAppendInner","target","onInput","badInput","validity","onKeyDown","ctrlKey","home","end","includes","onSpaceDown","onTabDown","onUpDown","preventDefault","setSelectedItems","event","currentItem","currentItemText","clipboardData","_a","setData","_b","VAutocomplete","delimiters","returnObject","editingIndex","computedCounterValue","delimiter","d","endsWith","slice","updateTags","paste","onPaste","genChipSelection","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","window","handleFocus","openFile","Name","GroupPostItem","Size","suffix","open","URI","FileObject","users","toggleAll","VListItemAction","selectedUsers","VDivider","proxy","UsersSelect","deep","Routable","ripple","proxyClass","to","href","$router","resolve","$route","append","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","Mobile","Resize","activeClass","centerActive","nextIcon","prevIcon","showArrows","validator","v","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","start","overflowCheck","onTouchStart","move","onTouchMove","onTouchEnd","calculateNewOffset","direction","newAbosluteOffset","scrollTo","_isDestroyed","touchstartX","setProperty","diffX","touchmoveX","diffY","touchmoveY","touchstartY","documentElement","overflowY","maxScrollOffset","removeProperty","scrollIntoView","lastItemPosition","getBoundingClientRect","wrapperPosition","requestAnimationFrame","slideGroup","SSRBootable","callSlider","isBooted","onRouteChange","newPath","path","oldPath","hasNew","hasOld","VWindow","isDark","rootIsDark","Colorable","setBackgroundColor","color","Proxyable","alignWithTitle","backgroundColor","centered","fixedTabs","grow","hideSlider","iconsAndText","mobileBreakpoint","optional","sliderColor","sliderSize","vertical","slider","transitionTime","isReversed","sliderStyles","computedColor","appIsDark","setTimeout","activeTab","scrollHeight","offsetWidth","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","useSeconds","selecting","genTime","displayedHour","pad","displayedMinute","titleContent","genPickerButton","Hour","Minute","displayedSecond","Second","genAmPm","t","allowedValues","double","scrollable","rotate","step","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","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","array","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","code","localize","weekStartsOn","firstWeekContainsDate","toInteger","NaN","isNaN","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","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","offset","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","components","getVideo","title","uri","shouldPlay","shouldStop","VideoItem","hasLoaded","api","VideoPlayer","lookupWords","filterText","VCheckbox","exact","showFull","word","toggleType","ignoreTypes","SingleWord","LookupWordType","stop","filler","occurrences","WordSearch","showButton","ftext","allWords","filtered","words","VRow","VCol","video_recorder__flipped","flipped","overtime","isTimed","elapsedTime","expectedLen","isRecording","isPaused","resume","pause","upload","reset","maxLen","VideoRecorderWithBottomToolbar","recorder","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","current","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","isLast","genButtonEvents","mouseEventType","mergeListeners","genButton","isOtherMonth","setColor","genEvents","getEventColors","eventData","arrayize","eventColors","isValidScroll","calculateTableDate","sanitizeType","sanitizeDateString","touch","genTable","touchDirective","offsetX","from","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","offsetHeight","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","Elevatable","noTitle","computedTitleColor","defaultTitleColor","genTitle","genBodyTransition","genBody","genActions","actions","elevationClasses","VPicker","headerColor","genPickerActionsSlot","save","cancel","body","elevation","last","sentences","answers","solutions","RephraseSubmission","element","SubmissionFooter","RegistrableInject","parentIsActive","expansionPanel","registerContent","beforeDestroy","unregisterContent","VExpandTransition","getSlot","module","exports","enumerable","configurable","writable","defineProperty","getOwnPropertySymbols","getOwnPropertyDescriptor","apply","forEach","getOwnPropertyDescriptors","defineProperties","r","propertyIsEnumerable","o","Symbol","iterator","done","return","l","f","addCSS","thumbWidth","g","querySelectorAll","C","NodeList","A","Element","N","Event","parseFloat","toFixed","querySelector","rangeTouch","config","enabled","userSelect","webKitUserSelect","touchAction","changedTouches","getAttribute","bubbles","dispatchEvent","MutationObserver","addedNodes","childList","subtree","j","F","V","U","W","$","J","Z","ee","KeyboardEvent","te","TextTrack","kind","ie","ne","startsWith","hostname","ae","se","createElement","WebkitTransition","MozTransition","OTransition","re","hidden","oe","isIE","documentMode","isEdge","navigator","userAgent","isWebkit","isIPhone","platform","isIos","le","ce","shift","ue","reverse","cloneNode","parentNode","nextSibling","appendChild","insertBefore","de","entries","setAttribute","he","innerText","me","pe","removeChild","fe","childNodes","lastChild","ge","replaceChild","ye","charAt","ve","be","classList","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","i18n","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","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","popup","toggleMenu","getMenuSize","position","opacity","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","selected","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","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","exit","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","zIndex","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","formattedText","GapTextSubmission","base","replaceAll","requireObjectCoercible","isRegExp","getRegExpFlags","wellKnownSymbol","IS_PURE","REPLACE","RegExpPrototype","proto","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","clear","record","_this3","getBuffer","exportWAV","freqByteData","Uint8Array","frequencyBinCount","getByteFrequencyData","lastNonZero","datum","lineTo","forceDownload","isTooBig","isRecordLimitWarning","setRecordLimitWarningChecked","recordLimitWarningChecked","recordLimitCallback","slideChanged","presentation","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","VolumeTester","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","dialog","typeToString","closeElementDialog","$set","videoChoice","VFileInput","newVideo","checkLink","VForm","VSwitch","requiredSubmissions","requiredNumShared","maxSubmissions","forElement","isObject","VTextarea","makeGaps","gaps","removeRephraseRow","addRephraseRow","category","openEditCategory","removeCategory","openAddCategory","newCategoryDialog","newCategory","VCombobox","closeEditCategory","addCategory","conditions","confirmElementChanges","deleteElement","ytUrlPattern","AdminElementDialog","typeName","editingCategory","modules","toolbar","placeholder","link","embedLink","reqSub","maxSub","reqShared","maxShared","maxNumShared","editing","editLoading","addLoading","editElement","addElement","blockId","deleteLoading","removeElement","els","blocks","divider","categories","ConditionsSelect","NumberSelect","refreshing","refresh","VExpansionPanels","blockIndex","block","Sidebar","Block","Gauge","InlineWorker","func","functionBody","WORKER_ENABLED","Worker","Blob","postMessage","onmessage","openEditElement","moveDialog","bi","selectedBlock","selectBlock","description","selectedPosition","ei","cancelMove","confirmMove","tempElement","AdminElement","order","newOrder","newBlockId","posIdx","elementId","newIndex","newPos","elementIndex","followingElements","otherElements","pushedBack","reorder","ElementDialog","marginTop","user","_f","createdAt","username","email","inheritAttrs","sortBy","sortDesc","customSort","sortItems","mustSort","multiSort","page","itemsPerPage","groupBy","groupDesc","customGroup","groupItems","disableSort","disablePagination","disableFiltering","customFilter","searchItems","serverItemsLength","internalOptions","sortDiff","groupDiff","fillArray","pageCount","pageStart","pageStop","isGrouped","pagination","paginateItems","groupedItems","scopedProps","sortArray","group","updateOptions","originalItemsLength","computedOptions","old","deepEqual","oldBy","oldDesc","by","desc","byIndex","itemsPerPageOptions","firstIcon","lastIcon","itemsPerPageText","itemsPerPageAllText","showFirstLastPage","showCurrentPage","disableItemsPerPage","pageText","disableNextPageIcon","computedDataItemsPerPageOptions","option","genDataItemsPerPageOption","onFirstPage","onPreviousPage","onNextPage","onLastPage","onChangeItemsPerPage","genItemsPerPageSelect","computedIPPO","ippo","hideDetails","auto","minWidth","genPaginationInfo","genIcons","after","VData","itemKey","singleSelect","expanded","singleExpand","noResultsText","noDataText","loadingText","hideDefaultFooter","footerProps","selectableKey","expansion","internalCurrentItems","shiftKeyDown","lastEntry","everyItem","selectableItems","someItems","sanitizedFooterProps","camelizeObjectKeys","isSelectable","breakingProps","replacement","removedProps","removed","onKeyUp","toggleSelectAll","emit","lastEntryKey","lastEntryKeySelected","multipleSelect","isExpanded","expand","createItemProps","genEmptyWrapper","genEmpty","filteredItemsLength","noData","noResults","empty","genFooter","getPrefixedScopedSlots","VDataFooter","genDefaultScopedSlot","outerProps","$props","checkboxColor","sortIcon","showGroupBy","genSelectAll","indeterminate","VSimpleCheckbox","genSortIcon","sortByText","genSortChip","sortIndex","beingSorted","isDesc","sortable","asc","VChip","genSortSelect","closeOnContentClick","sortHeaders","th","tr","genGroupByToggle","getAria","ariaSort","scope","align","groupable","dedupeModelListeners","rebuildFunctionalSlots","slots","functional","mobile","rebuildSlots","VDataTableHeaderMobile","VDataTableHeaderDesktop","needsTd","computedSlots","columns","slotName","scopedSlot","regularSlot","textAlign","cellClass","headerClass","summaryClass","hideDefaultHeader","mobileRowChildren","filterFn","searchTableItems","headersWithCustomFilters","headersWithoutCustomFilters","matchesColumnFilters","defaultFilter","matchesSearchTerm","VDataIterator","Loadable","showSelect","showExpand","headerProps","calculateWidths","headersLength","expandIcon","itemClass","loaderHeight","internalGroupBy","openCache","computedHeaders","defaultHeader","colspanAttrs","colspan","columnSorters","acc","filterable","sanitizedHeaderProps","computedItemsPerPage","firstOption","groupByText","calcWidths","customFilterWithColumns","customSortWithHeaders","genCaption","genColgroup","genLoading","genProgress","genHeaders","VDataTableHeader","genGroupedRows","genRows","genDefaultGroupedRow","isOpen","toggleFn","removeFn","small","column","RowGroup","genScopedRows","genDefaultRows","genDefaultExpandedRow","genDefaultSimpleRow","headerRow","expandedRow","MobileRow","Row","mergeClasses","contextmenu","genFoot","foot","genFooters","simpleProps","VSimpleTable","proxySlot","submitter","horizontal","elementTitle","handleRated","goToVideo","VideoSubmission","isRateable","skipped","submissions","numShared","payload","VideoRatings","_inlineWorker","_inlineWorker2","bufferLen","numChannels","mimeType","Microphone","recording","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","view","setUint8","charCodeAt","samples","ArrayBuffer","DataView","setUint32","setUint16","pop","revokeObjectURL","VGrid","Grid","fluid","autoGrow","noResize","rowHeight","noResizeHandle","calculateInputHeight","lazyValue","minHeight","toggleTest","tester","Selectable","VInput","isDisabled","validationState","hasError","shouldValidate","hasSuccess","hasColor","switchData","genSwitch","genLabel","attrs$","switchAttrs","genRipple","onSwipeLeft","onSwipeRight","VFabTransition","onKeydown","ClickOutside","inverseLabel","thumbColor","thumbLabel","thumbSize","tickLabels","ticks","tickSize","trackColor","trackFillColor","app","thumbPressed","mouseTimeout","noClick","startOffset","minValue","roundValue","maxValue","trackTransition","showTicks","stepNumeric","inputWidth","trackFillStyles","startDir","endDir","valueDir","trackStyles","numTicks","showThumbLabel","computedTrackColor","computedTrackFillColor","computedThumbColor","parsed","isReadonly","onBlur","onSliderClick","onSliderMouseDown","genChildren","genTrackContainer","genSteps","genThumbContainer","computedId","offsetDirection","filled","valueWidth","genThumb","thumbLabelContent","genThumbLabelContent","genThumbLabel","getThumbContainerStyles","VScaleTransition","origin","domRect","mouseUpOptions","passiveSupported","mouseMoveOptions","isTouchEvent","onMouseMove","addOnceEventListener","onSliderMouseUp","parseMouseMove","parseKeyDown","trackStart","trackLength","clickOffset","clickPos","pageup","pagedown","down","up","steps","increase","multiplier","trimmedStep","decimals","clearDialog","filtersDialog","sentInvitationsLoading","usersLoading","sending","openInviteUsers","VDataTable","openUserDialog","sentInvitations","inv","revoking","revokedId","revoke","getUser","getElement","selectVideo","feedbackDialog","closeFeedbackDialog","selectedVideo","givenFeedback","userDialog","closeUserDialog","userSubmissions","VExpansionPanel","VExpansionPanelHeader","VExpansionPanelContent","submissionElements","openRemoveUser","selectUserForClearing","inviteDialog","emails","nextUserEmail","closeInviteDialog","confirmInvite","progressFilter","currentBlockFilter","currentElementFilter","clearFilters","applyFilters","closeClearDialog","clearingAll","clearAll","clearForUser","removeCancel","removeConfirm","SeminarParticipants","filteredUsers","allUsers","allSubmissions","found","currentBlock","currentElement","mapper","invs","msg","getSentInvitations","getAllUsers","userEmails","inviteUsers","seminarId","feedbackForSubmission","addSubmission","removeUser","removeAllUsers","clearAllSubmissions","uid","clearUserSubmissions","EmailsInput","CategorizeSubmission","toggleCustom","canDec","dec","numberProp","numberRules","changeCustom","canInc","inc","num","forbidden","selectEl","isCurrentElement","completed","isComplete","isSkipped","elementStatus","prevBlock","lastElOfPrevBlock","prevEl","disableIconRotate","hideActions","hasMousedown","registerHeader","unregisterHeader","RegistrableProvide","closeBlockDialog","confirmBlockChanges","deleteBlock","AdminBlockDialog","editBlock","addBlock","removeBlock","phrase","isCorrect","correctCategory","ci","kebabCase","openDialog","openAddElement","tempBlock","elementDialog","AdminBlock","elementTypes","emptyElement","BlockDialog","activeThumb","toFocus","getTrackStyle","startLength","endLength","startPadding","endPadding","getIndexOfClosestValue","arr","_uid","sections","styles","section","reevaluateSelected","refName","thumbRef","setInternalValue","condition","removeCondition","handleTypeChange","conds","refInFor","dueDateDialog","addCondition","ConditionType","DueDate","Pitch","Pauses","SpeechSpeed","OverallScore","Repetition","SpeechClarity","FillerWords","SessionScore","Sentiment","Volume","refreshItems","takenTypes","hasRated","rate","isLoading","countRatings","openRatings","ratingsDialog","selectedType","shown","ratings","rater","rateLoading","typeLoading","rateVideo","submissionId","videoRatings","owner","goToSeminar","goToDash","revertOrder","confirmReorder","openEditSeminar","adding","openAddBlock","seminarDialog","newSeminar","closeSeminarDialog","VImg","seminarLogo","removeLogo","preview","handleFileChanged","logo","deleteDialog","confirmSeminarChanges","blockDialog","newBlock","deleteSeminar","SeminarDetails","reorderLoading","removeLogoAction","editSeminar","reader","FileReader","readAsDataURL","removeSeminar","updateOrder","params","getSeminar","Participants","chipRules","nextUser","parent","chips","continuous","showArrowsOnHover","touchless","changedByDelimiters","internalHeight","isReverse","axis","hasActiveItems","internalIndex","updateReverse","genContainer","genControlIcons","large","icons","getNextIndex","getPrevIndex","prevIndex"],"mappings":"+lBAYIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD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,KAE3C6sF,cAAa,SAAEpwF,EAAa6B,GAC1B,IAAM4O,EAAcjgB,KAAKuQ,MAAMrL,OACzB6N,EAAYkN,EAAc,EAEhC,OAAIA,GAAe,EAAUzQ,EAAM6B,EAE/B7B,IAAQuD,GAAwB,IAAX1B,IAEN,IAAR7B,GAAa6B,IAAW0B,IAG1BvD,EAAM6B,IAKnBvR,OAAM,SAAE0L,GAAC,WACDrB,EAAO,CACX7D,YAAa,WACbe,MAAOrH,KAAKyE,QACZkF,WAAY,IAGd,IAAK3J,KAAKq/F,UAAW,CACnB,IAAMx9F,EAAQ7B,KAAKs0C,OAAS,CAC1BhiC,KAAM,WACJ,EAAKiN,SAASrC,IAAM,EAAKpV,OAAS,EAAKC,QAEzCwK,MAAO,WACL,EAAKgN,SAASrC,IAAM,EAAKnV,OAAS,EAAKD,QAEzC4M,IAAM,SAAAV,GACJA,EAAE6C,mBAEJwK,MAAQ,SAAArN,GACNA,EAAE6C,oBAIN1M,EAAKR,WAAWuN,KAAK,CACnBxT,KAAM,QACN7B,UAIJ,OAAO2J,EAAE,MAAOrB,EAAM,CAACnK,KAAK6/F,qB","file":"assets/js/chunk-6b9455ae.a5278e85.js","sourcesContent":["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 { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\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',[(_vm.canView)?_c(VMenu,{attrs:{\"bottom\":\"\",\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\",\"loading\":_vm.sharing || _vm.removing}},on),[_c(VIcon,[_vm._v(\"mdi-dots-vertical\")])],1)]}}],null,false,931124527)},[_c(VList,[_c(VListItem,{attrs:{\"disabled\":!_vm.canShare && !_vm.isShared},on:{\"click\":_vm.callToggle}},[_vm._v(\" \"+_vm._s(_vm.isShared ? _vm.$t(\"seminars.video_presentation.unshare\") : _vm.$t(\"seminars.video_presentation.share\"))+\" \")])],1)],1):_vm._e(),(_vm.canView)?_c(VDialog,{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.removeDialog),callback:function ($$v) {_vm.removeDialog=$$v},expression:\"removeDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(_vm._s(_vm.$t(\"seminars.video_presentation.delete\")))]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.video_presentation.delConfirm\"))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.removeDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.remove}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],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 { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport type { Seminar, Submission } from \"@/core/models\";\r\n\r\n@Component\r\nexport default class VideoMenu extends Vue {\r\n @Prop({ default: () => true }) canShare!: boolean;\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n @Getter(\"seminars/selected\") seminar?: Seminar;\r\n @Getter(\"profile/id\") userId!: string;\r\n @Action(\"seminars/toggleShared\") toggleShared!: (id: number) => Promise;\r\n @Action(\"seminars/removeSubmission\")\r\n removeSubmission!: (id: number) => Promise;\r\n\r\n get canView() {\r\n return (\r\n this.submission?.userId === this.userId ||\r\n this.userId === this.seminar?.ownerId\r\n );\r\n }\r\n\r\n get isShared() {\r\n return (this.submission as any).isShared || false;\r\n }\r\n\r\n sharing = false;\r\n async callToggle() {\r\n if (!this.submission || this.sharing) return;\r\n this.sharing = true;\r\n await this.toggleShared(this.submission.id);\r\n this.$emit(\"update\");\r\n this.sharing = false;\r\n }\r\n\r\n removing = false;\r\n removeDialog = false;\r\n async remove() {\r\n if (!this.submission || this.removing) return;\r\n this.removing = true;\r\n await this.removeSubmission(this.submission.id);\r\n this.$emit(\"update\");\r\n this.removing = false;\r\n this.removeDialog = 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!./VideoMenu.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!./VideoMenu.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VideoMenu.vue?vue&type=template&id=5785b835&\"\nimport script from \"./VideoMenu.vue?vue&type=script&lang=ts&\"\nexport * from \"./VideoMenu.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 './VExpansionPanel.sass'\n\n// Components\nimport { BaseItemGroup, GroupableInstance } from '../VItemGroup/VItemGroup'\nimport VExpansionPanel from './VExpansionPanel'\n\n// Utilities\nimport { breaking } from '../../util/console'\n\n// Types\ninterface VExpansionPanelInstance extends InstanceType {}\n\n/* @vue/component */\nexport default BaseItemGroup.extend({\n name: 'v-expansion-panels',\n\n provide (): object {\n return {\n expansionPanels: this,\n }\n },\n\n props: {\n accordion: Boolean,\n disabled: Boolean,\n flat: Boolean,\n hover: Boolean,\n focusable: Boolean,\n inset: Boolean,\n popout: Boolean,\n readonly: Boolean,\n tile: Boolean,\n },\n\n computed: {\n classes (): object {\n return {\n ...BaseItemGroup.options.computed.classes.call(this),\n 'v-expansion-panels': true,\n 'v-expansion-panels--accordion': this.accordion,\n 'v-expansion-panels--flat': this.flat,\n 'v-expansion-panels--hover': this.hover,\n 'v-expansion-panels--focusable': this.focusable,\n 'v-expansion-panels--inset': this.inset,\n 'v-expansion-panels--popout': this.popout,\n 'v-expansion-panels--tile': this.tile,\n }\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('expand')) {\n breaking('expand', 'multiple', this)\n }\n\n /* istanbul ignore next */\n if (\n Array.isArray(this.value) &&\n this.value.length > 0 &&\n typeof this.value[0] === 'boolean'\n ) {\n breaking(':value=\"[true, false, true]\"', ':value=\"[0, 2]\"', this)\n }\n },\n\n methods: {\n updateItem (item: GroupableInstance & VExpansionPanelInstance, index: number) {\n const value = this.getValue(item, index)\n const nextValue = this.getValue(item, index + 1)\n\n item.isActive = this.toggleMethod(value)\n item.nextIsActive = this.toggleMethod(nextValue)\n },\n },\n})\n","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 { 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 { 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 './VSimpleTable.sass'\n\nimport { convertToUnit } from '../../util/helpers'\nimport Themeable from '../../mixins/themeable'\nimport mixins from '../../util/mixins'\nimport { VNode } from 'vue'\n\nexport default mixins(Themeable).extend({\n name: 'v-simple-table',\n\n props: {\n dense: Boolean,\n fixedHeader: Boolean,\n height: [Number, String],\n },\n\n computed: {\n classes (): Record {\n return {\n 'v-data-table--dense': this.dense,\n 'v-data-table--fixed-height': !!this.height && !this.fixedHeader,\n 'v-data-table--fixed-header': this.fixedHeader,\n 'v-data-table--has-top': !!this.$slots.top,\n 'v-data-table--has-bottom': !!this.$slots.bottom,\n ...this.themeClasses,\n }\n },\n },\n\n methods: {\n genWrapper () {\n return this.$slots.wrapper || this.$createElement('div', {\n staticClass: 'v-data-table__wrapper',\n style: {\n height: convertToUnit(this.height),\n },\n }, [\n this.$createElement('table', this.$slots.default),\n ])\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-data-table',\n class: this.classes,\n }, [\n this.$slots.top,\n this.genWrapper(),\n this.$slots.bottom,\n ])\n },\n})\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!./ImageSlider.vue?vue&type=style&index=0&id=b2654c00&prod&scoped=true&lang=css&\"","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&\"","import { VDivider } from 'vuetify/lib/components/VDivider';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._l((_vm.sentences),function(_,i){return _c('div',{key:((_vm.submission.createdAt) + \"_\" + i),staticClass:\"rephrase-row\"},[_c('div',{staticClass:\"left\",class:{ first: i === 0, last: i === _vm.sentences.length - 1 }},[_c('div',[_vm._v(_vm._s(_vm.sentences[i]))]),(i !== _vm.sentences.length - 1)?_c(VDivider,{staticClass:\"mt-2 mb-n2\"}):_vm._e()],1),_c('div',{staticClass:\"middle\",class:{ first: i === 0, last: i === _vm.sentences.length - 1 }},[_c('div',[_vm._v(_vm._s(_vm.answers[i]))]),(i !== _vm.sentences.length - 1)?_c(VDivider,{staticClass:\"mt-2 mb-n2\"}):_vm._e()],1),_c('div',{staticClass:\"right\",class:{ first: i === 0, last: i === _vm.sentences.length - 1 }},[_c('div',[_vm._v(_vm._s(_vm.solutions[i]))]),(i !== _vm.sentences.length - 1)?_c(VDivider,{staticClass:\"mt-2 mb-n2\"}):_vm._e()],1)])}),_c('SubmissionFooter',{attrs:{\"submission\":_vm.submission}})],2)}\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 } from \"vue-property-decorator\";\r\n\r\nimport type { SeminarElement, Submission } from \"@/core/models\";\r\nimport SubmissionFooter from \"./SubmissionFooter.vue\";\r\n\r\n@Component({ components: { SubmissionFooter } })\r\nexport default class RephraseSubmission extends Vue {\r\n @Prop({ default: () => undefined }) element?: SeminarElement;\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n\r\n sentences: string[] = [];\r\n solutions: string[] = [];\r\n answers: string[] = [];\r\n created() {\r\n if (\r\n this.element?.type !== \"rephrase\" ||\r\n this.submission?.type !== \"rephrase\"\r\n )\r\n return;\r\n this.sentences = this.element.sentences;\r\n this.solutions = this.element.answers;\r\n this.answers = (this.submission as any).answers;\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!./RephraseSubmission.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!./RephraseSubmission.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RephraseSubmission.vue?vue&type=template&id=b420f562&\"\nimport script from \"./RephraseSubmission.vue?vue&type=script&lang=ts&\"\nexport * from \"./RephraseSubmission.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","// Components\nimport VExpansionPanel from './VExpansionPanel'\nimport { VExpandTransition } from '../transitions'\n\n// Mixins\nimport Bootable from '../../mixins/bootable'\nimport Colorable from '../../mixins/colorable'\nimport { inject as RegistrableInject } from '../../mixins/registrable'\n\n// Utilities\nimport { getSlot } from '../../util/helpers'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport Vue, { VNode, VueConstructor } from 'vue'\n\nconst baseMixins = mixins(\n Bootable,\n Colorable,\n RegistrableInject<'expansionPanel', VueConstructor>('expansionPanel', 'v-expansion-panel-content', 'v-expansion-panel')\n)\n\ninterface options extends ExtractVue {\n expansionPanel: InstanceType\n}\n\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-expansion-panel-content',\n\n data: () => ({\n isActive: false,\n }),\n\n computed: {\n parentIsActive (): boolean {\n return this.expansionPanel.isActive\n },\n },\n\n watch: {\n parentIsActive: {\n immediate: true,\n handler (val, oldVal) {\n if (val) this.isBooted = true\n\n if (oldVal == null) this.isActive = val\n else this.$nextTick(() => this.isActive = val)\n },\n },\n },\n\n created () {\n this.expansionPanel.registerContent(this)\n },\n\n beforeDestroy () {\n this.expansionPanel.unregisterContent()\n },\n\n render (h): VNode {\n return h(VExpandTransition, this.showLazyContent(() => [\n h('div', this.setBackgroundColor(this.color, {\n staticClass: 'v-expansion-panel-content',\n directives: [{\n name: 'show',\n value: this.isActive,\n }],\n }), [\n h('div', { class: 'v-expansion-panel-content__wrap' }, getSlot(this)),\n ]),\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!./CategorizeSubmission.vue?vue&type=style&index=0&id=19331535&prod&scoped=true&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","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!./Sidebar.vue?vue&type=style&index=0&id=2a940224&prod&scoped=true&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.formattedText)}}),_c('SubmissionFooter',{attrs:{\"submission\":_vm.submission}})],1)}\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\nimport type { SeminarElement, Submission } from \"@/core/models\";\r\nimport SubmissionFooter from \"./SubmissionFooter.vue\";\r\n\r\n@Component({ components: { SubmissionFooter } })\r\nexport default class GapTextSubmission extends Vue {\r\n @Prop({ default: () => undefined }) element?: SeminarElement;\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n\r\n get formattedText() {\r\n if (this.element?.type !== \"gap_text\") return \"<>\";\r\n const answers =\r\n this.submission?.type !== \"gap_text\"\r\n ? new Array(this.element.answers.length).fill(\"\")\r\n : this.submission.answers;\r\n\r\n let base = this.element.text.replaceAll(/[\\n\\r+]/g, \"
\");\r\n this.element.answers.forEach(\r\n (x, i) =>\r\n (base = base.replace(\"__\", `${x} (${answers[i]})`)),\r\n );\r\n return base;\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!./GapTextSubmission.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!./GapTextSubmission.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GapTextSubmission.vue?vue&type=template&id=034dea52&\"\nimport script from \"./GapTextSubmission.vue?vue&type=script&lang=ts&\"\nexport * from \"./GapTextSubmission.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","'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&\"","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!./Block.vue?vue&type=style&index=0&id=187cfdb6&prod&lang=scss&\"","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 { VCombobox } from 'vuetify/lib/components/VCombobox';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c(VDialog,{attrs:{\"max-width\":\"800px\",\"persistent\":\"\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[(!!_vm.element)?_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex justify-content-between\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_c('div',{staticClass:\"text-h6\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.editBtn\"))+\" \")]),_c('div',{staticClass:\"text-subtitle-1\"},[_vm._v(_vm._s(_vm.typeToString(_vm.element.type)))])]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.closeElementDialog}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardText,[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.edit.elements.elTitle')},model:{value:(_vm.element.title),callback:function ($$v) {_vm.$set(_vm.element, \"title\", $$v)},expression:\"element.title\"}}),_c('quill-editor',{attrs:{\"options\":_vm.options},model:{value:(_vm.element.body),callback:function ($$v) {_vm.$set(_vm.element, \"body\", $$v)},expression:\"element.body\"}}),_c('div',{staticClass:\"my-1\"}),(_vm.element.type === 'watch_video')?_c('div',[_c('div',{staticClass:\"d-flex mt-4\"},[_c(VBtn,{staticClass:\"flex-1\",attrs:{\"elevation\":\"0\",\"color\":_vm.videoChoice === 'file' ? 'primary' : ''},on:{\"click\":function($event){_vm.videoChoice = 'file'}}},[_c(VIcon,{staticClass:\"mr-2\"},[_vm._v(\"mdi-upload\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.uploadVid\")))])],1),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{staticClass:\"flex-1\",attrs:{\"elevation\":\"0\",\"color\":_vm.videoChoice === 'link' ? 'primary' : ''},on:{\"click\":function($event){_vm.videoChoice = 'link'}}},[_c(VIcon,{staticClass:\"mr-2\"},[_vm._v(\"mdi-link\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.embedVid\")))])],1)],1),(_vm.videoChoice === 'file')?_c('div',[_c(VFileInput,{attrs:{\"accepts\":\"video/mp4\",\"hint\":_vm.$t('seminars.edit.elements.mkvFilesNo'),\"persistent-hint\":\"\",\"label\":_vm.$t('seminars.edit.elements.file')},model:{value:(_vm.newVideo),callback:function ($$v) {_vm.newVideo=$$v},expression:\"newVideo\"}}),(_vm.element.id !== 0)?_c('div',{staticClass:\"mt-4\"},[_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.currentVideo\")))]),_c('div',{staticClass:\"mb-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.uploadingWillReplace\"))+\" \")]),_c('div',{staticClass:\"d-flex justify-center\"},[_c('div',{staticStyle:{\"width\":\"320px\",\"height\":\"180px\",\"border-radius\":\"16px\"}},[_c('VideoPlayer',{attrs:{\"id\":(\"currently_uploaded_video_\" + (_vm.element.id)),\"url\":_vm.element.videoURI}})],1)])]):_vm._e()],1):_vm._e(),(_vm.videoChoice === 'link')?_c('div',[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.edit.elements.link')},on:{\"change\":_vm.checkLink},model:{value:(_vm.element.videoURI),callback:function ($$v) {_vm.$set(_vm.element, \"videoURI\", $$v)},expression:\"element.videoURI\"}}),_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.embed_youtube\"))+\" \")])],1):_vm._e()]):_vm._e(),(_vm.element.type === 'video_presentation')?_c('div',[_c(VForm,{attrs:{\"id\":\"videoPresentationForm\"},on:{\"submit\":function($event){$event.preventDefault();return (function () {})($event)}}},[_c(VSwitch,{attrs:{\"label\":_vm.$t('seminars.edit.elements.rateable')},model:{value:(_vm.element.rateableSubmissions),callback:function ($$v) {_vm.$set(_vm.element, \"rateableSubmissions\", $$v)},expression:\"element.rateableSubmissions\"}}),_c(VTextField,{attrs:{\"type\":\"number\",\"label\":_vm.$t('seminars.edit.elements.required_numer_of_submissions'),\"rules\":[\n function (v) { return (Number(v) >= 0 && Number(v) < 101) ||\n _vm.$t('seminars.edit.elements.range100'); } ]},model:{value:(_vm.element.requiredSubmissions),callback:function ($$v) {_vm.$set(_vm.element, \"requiredSubmissions\", $$v)},expression:\"element.requiredSubmissions\"}}),_c(VTextField,{attrs:{\"type\":\"number\",\"label\":_vm.$t('seminars.edit.elements.maximum_number_of_submissions'),\"rules\":[\n function (v) { return (Number(v) > 0 && Number(v) < 101) ||\n _vm.$t('seminars.edit.elements.range100'); },\n function (v) { return Number(v) >= _vm.element.requiredSubmissions ||\n _vm.$t('seminars.edit.elements.max_condition'); } ]},model:{value:(_vm.element.maxSubmissions),callback:function ($$v) {_vm.$set(_vm.element, \"maxSubmissions\", $$v)},expression:\"element.maxSubmissions\"}}),(_vm.element.rateableSubmissions)?_c(VTextField,{attrs:{\"type\":\"number\",\"label\":_vm.$t(\n 'seminars.edit.elements.required_number_of_shared_submissions'\n ),\"rules\":[\n function (v) { return (Number(v) >= 0 && Number(v) < 11) ||\n _vm.$t('seminars.edit.elements.number_range_0_10'); },\n function (v) { return Number(v) <= _vm.element.requiredSubmissions ||\n _vm.$t('seminars.edit.elements.shared_number_condition'); } ]},model:{value:(_vm.element.requiredNumShared),callback:function ($$v) {_vm.$set(_vm.element, \"requiredNumShared\", $$v)},expression:\"element.requiredNumShared\"}}):_vm._e(),(_vm.element.rateableSubmissions)?_c(VTextField,{attrs:{\"type\":\"number\",\"label\":_vm.$t('seminars.edit.elements.max_number_of_shared_submissions'),\"rules\":[\n function (v) { return (Number(v) > 0 && Number(v) < 11) ||\n _vm.$t('seminars.edit.elements.range10'); },\n function (v) { return Number(v) >= _vm.element.requiredNumShared ||\n _vm.$t('seminars.edit.elements.max_shared_rule_1'); },\n function (v) { return Number(v) <= _vm.element.maxSubmissions ||\n _vm.$t('seminars.edit.elements.max_shared_rule_2'); } ]},model:{value:(_vm.element.maxNumShared),callback:function ($$v) {_vm.$set(_vm.element, \"maxNumShared\", $$v)},expression:\"element.maxNumShared\"}}):_vm._e(),_c('h4',{staticClass:\"mt-4\"},[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.timers\")))]),_c(VSwitch,{attrs:{\"label\":_vm.$t('seminars.edit.elements.timed_video_recording')},model:{value:(_vm.element.isTimed),callback:function ($$v) {_vm.$set(_vm.element, \"isTimed\", $$v)},expression:\"element.isTimed\"}}),(_vm.element.isTimed)?_c(VTextField,{attrs:{\"type\":\"number\",\"label\":_vm.$t('seminars.edit.elements.exp_len')},model:{value:(_vm.element.expectedLen),callback:function ($$v) {_vm.$set(_vm.element, \"expectedLen\", $$v)},expression:\"element.expectedLen\"}}):_vm._e(),(_vm.element.isTimed)?_c(VTextField,{attrs:{\"type\":\"number\",\"label\":_vm.$t('seminars.edit.elements.max_len')},model:{value:(_vm.element.maxLen),callback:function ($$v) {_vm.$set(_vm.element, \"maxLen\", $$v)},expression:\"element.maxLen\"}}):_vm._e()],1)],1):_vm._e(),(_vm.element.type === 'give_feedback')?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.give_feedback\"))+\" \"),_c(VSwitch,{attrs:{\"label\":_vm.$t('seminars.edit.elements.rateable')},model:{value:(_vm.element.rateableSubmissions),callback:function ($$v) {_vm.$set(_vm.element, \"rateableSubmissions\", $$v)},expression:\"element.rateableSubmissions\"}}),_c(VSelect,{attrs:{\"label\":\"Choose one\",\"items\":_vm.items},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\n var item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.name)+\" (ID: \"+_vm._s(_vm.element.forElement)+\") \")]}},{key:\"item\",fn:function(ref){\n var item = ref.item;\nreturn [(!_vm.isObject(item))?[_c(VListItemContent,{domProps:{\"textContent\":_vm._s(item)}})]:[_c(VListItemTitle,{domProps:{\"innerHTML\":_vm._s(item.name)}})]]}}],null,false,586669858),model:{value:(_vm.element.forElement),callback:function ($$v) {_vm.$set(_vm.element, \"forElement\", $$v)},expression:\"element.forElement\"}})],1):_vm._e(),(_vm.element.type === 'watch_feedback')?_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.watch_feedback\"))+\" \")]):_vm._e(),(_vm.element.type === 'gap_text')?_c('div',[_c('div',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.gap_text.title\")))]),_c(VTextarea,{attrs:{\"label\":_vm.$t('seminars.edit.elements.gap_text.gapText'),\"rows\":\"4\",\"auto-grow\":\"\"},on:{\"blur\":_vm.makeGaps},model:{value:(_vm.element.text),callback:function ($$v) {_vm.$set(_vm.element, \"text\", $$v)},expression:\"element.text\"}}),_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.gap_text.answers\")))]),_vm._l((_vm.gaps),function(_,i){return _c(VTextField,{key:i,attrs:{\"label\":(\"Gap #\" + (i + 1))},model:{value:(_vm.gaps[i]),callback:function ($$v) {_vm.$set(_vm.gaps, i, $$v)},expression:\"gaps[i]\"}})})],2)],1):_vm._e(),(_vm.element.type === 'rephrase')?_c('div',[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"flex-1\"},[_c('h4',[_vm._v(_vm._s(_vm.$t(\"seminars.rephrase.sentences\")))])]),_c('div',{staticClass:\"flex-1\"},[_c('h4',[_vm._v(_vm._s(_vm.$t(\"seminars.sampleSolution\")))])])]),_vm._l((_vm.element.sentences),function(_,i){return _c('div',{key:i,staticClass:\"d-flex align-baseline\"},[_c('div',{staticClass:\"flex-1\"},[_c(VTextField,{staticClass:\"ma-0\",attrs:{\"hide-details\":\"\"},model:{value:(_vm.element.sentences[i]),callback:function ($$v) {_vm.$set(_vm.element.sentences, i, $$v)},expression:\"element.sentences[i]\"}})],1),_c('div',{staticClass:\"mx-2\"}),_c('div',{staticClass:\"flex-1\"},[_c(VTextField,{staticClass:\"ma-0\",attrs:{\"hide-details\":\"\"},model:{value:(_vm.element.answers[i]),callback:function ($$v) {_vm.$set(_vm.element.answers, i, $$v)},expression:\"element.answers[i]\"}})],1),(_vm.element.sentences.length !== 1)?_c(VBtn,{staticClass:\"ml-4\",attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.removeRephraseRow(i)}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1):_vm._e()],1)}),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.addRephraseRow}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.addRow\")))])])],2):_vm._e(),(_vm.element.type === 'categorize')?_c('div',[_c('div',{staticClass:\"categories-container\"},_vm._l((_vm.element.categories),function(category,i){return _c('div',{key:i},[_c('div',{staticClass:\"d-flex\"},[_c('h3',{staticClass:\"flex-1 mt-4\"},[_vm._v(_vm._s(category))]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.openEditCategory(i)}}},[_c(VIcon,[_vm._v(\"mdi-pencil\")])],1),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.removeCategory(i)}}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c('div',_vm._l((_vm.element.answers[i]),function(word,j){return _c('div',{key:j},[_c('div',[_vm._v(_vm._s(word))])])}),0)])}),0),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.openAddCategory}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-plus\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.addCategory\")))])],1),_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.newCategoryDialog),callback:function ($$v) {_vm.newCategoryDialog=$$v},expression:\"newCategoryDialog\"}},[_c(VCard,[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.newCategory\"))+\" \")]),_c(VCardText,[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.edit.elements.categoryTitle')},model:{value:(_vm.newCategory.title),callback:function ($$v) {_vm.$set(_vm.newCategory, \"title\", $$v)},expression:\"newCategory.title\"}}),_c(VCombobox,{attrs:{\"label\":_vm.$t('seminars.categorize.phrases'),\"chips\":\"\",\"multiple\":\"\",\"append-icon\":\"\",\"disable-lookup\":\"\",\"deletable-chips\":\"\"},model:{value:(_vm.newCategory.words),callback:function ($$v) {_vm.$set(_vm.newCategory, \"words\", $$v)},expression:\"newCategory.words\"}})],1),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeEditCategory}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.addCategory}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1)],1):_vm._e(),(_vm.element.type === 'vr_training')?_c('div',[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.vr_training.requiredScore'),\"type\":\"number\"},model:{value:(_vm.element.requiredScore),callback:function ($$v) {_vm.$set(_vm.element, \"requiredScore\", $$v)},expression:\"element.requiredScore\"}})],1):_vm._e(),(_vm.element.type === 'goal')?_c('div',[(_vm.element.id === 0)?_c('div',[_c('div',{staticClass:\"main--text text-h6 mt-4 text-uppercase text-center font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"goals.add\"))+\" \")]),_c('div',{staticClass:\"font-weight-bold mb-4 text-center\"},[_vm._v(\" Set target sessions to complete \")]),_c('NumberSelect',{attrs:{\"number\":_vm.element.target},on:{\"update:number\":function($event){return _vm.$set(_vm.element, \"target\", $event)}}}),_c('div',{staticClass:\"font-weight-bold my-4 text-center\"},[_vm._v(\" Set conditions for each session \")]),_c('ConditionsSelect',{attrs:{\"conditions\":_vm.element.conditions},on:{\"update:conditions\":function($event){return _vm.$set(_vm.element, \"conditions\", $event)}}})],1):_vm._e()]):_vm._e()],1),_c(VCardActions,[_c(VSpacer),(_vm.element.id !== 0)?_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"prezpRed\"},on:{\"click\":function($event){_vm.removeDialog = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.remove\")))])]):_vm._e(),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeElementDialog}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.confirmElementChanges}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1):_vm._e()],1),_c(VDialog,{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.removeDialog),callback:function ($$v) {_vm.removeDialog=$$v},expression:\"removeDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.deleteElement.title\"))+\" \")]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.deleteElement.detail\"))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.removeDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.deleteElement}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 type {\r\n Seminar,\r\n SeminarElement,\r\n AddElementAction,\r\n RemoveElementRequest,\r\n} from \"@/core/models\";\r\nimport { typeName } from \"@/core/utils/seminars\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\nimport ConditionsSelect from \"@/views/goals/components/ConditionsSelect.vue\";\r\nimport { NumberSelect } from \"@/components/common\";\r\n\r\n// eslint-disable-next-line prettier/prettier\r\nconst ytUrlPattern = /^.*((youtu.be\\/)|(v\\/)|(\\/u\\/\\w\\/)|(embed\\/)|(watch\\?))\\??v?=?([^#&?]*).*/;\r\n\r\n@Component({\r\n components: {\r\n VideoPlayer,\r\n ConditionsSelect,\r\n NumberSelect,\r\n },\r\n})\r\nexport default class AdminElementDialog extends Vue {\r\n @Prop({ default: () => 0 }) blockId!: number;\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n @Prop({ default: () => false }) editing!: boolean;\r\n @PropSync(\"tempElement\") element!: SeminarElement | null;\r\n @PropSync(\"dialogProp\") dialog!: boolean;\r\n @PropSync(\"addLoadingProp\") addLoading!: boolean;\r\n @PropSync(\"editLoadingProp\") editLoading!: boolean;\r\n @PropSync(\"deleteLoadingProp\") deleteLoading!: boolean;\r\n\r\n @Action(\"seminars/addElement\")\r\n addElement!: (d: AddElementAction) => Promise;\r\n @Action(\"seminars/editElement\")\r\n editElement!: (d: AddElementAction) => Promise;\r\n @Action(\"seminars/removeElement\")\r\n removeElement!: (d: RemoveElementRequest) => Promise;\r\n\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n typeToString = typeName;\r\n\r\n newVideo: Blob | null = null;\r\n videoChoice: \"none\" | \"file\" | \"link\" = \"none\";\r\n\r\n editingCategory = -1;\r\n newCategoryDialog = false;\r\n newCategory: { title: string; words: string[] } = { title: \"\", words: [] };\r\n\r\n get options() {\r\n return {\r\n modules: {\r\n toolbar: [\r\n [{ header: [1, 2, false] }],\r\n [\"bold\", \"italic\", \"underline\"],\r\n [\"code-block\"],\r\n ],\r\n },\r\n placeholder: this.$t(\"seminars.edit.elements.desc_text\").toString(),\r\n theme: \"snow\", // or 'bubble'\r\n formats: [\r\n \"background\",\r\n \"bold\",\r\n \"color\",\r\n \"font\",\r\n \"code\",\r\n \"italic\",\r\n \"link\",\r\n \"size\",\r\n \"strike\",\r\n \"script\",\r\n \"underline\",\r\n \"blockquote\",\r\n \"header\",\r\n \"indent\",\r\n \"list\",\r\n \"align\",\r\n \"direction\",\r\n \"code-block\",\r\n \"formula\",\r\n ],\r\n };\r\n }\r\n\r\n @Watch(\"tempElement\", { immediate: true })\r\n elChanged() {\r\n this.dialog = !!this.element;\r\n if (this.element) this.makeGaps();\r\n }\r\n\r\n @Watch(\"dialog\", { immediate: true })\r\n dialogChanged() {\r\n if (!this.dialog) return;\r\n\r\n // watch video element\r\n if (this.element?.type === \"watch_video\")\r\n if (this.element.id !== 0)\r\n this.videoChoice = this.element.videoURI.includes(\"youtu\")\r\n ? \"link\"\r\n : \"file\";\r\n else this.videoChoice = \"none\";\r\n }\r\n @Watch(\"videoChoice\")\r\n videoChoiceChanged() {}\r\n\r\n async checkLink(link: string) {\r\n if (!link.includes(\"youtu\")) return;\r\n try {\r\n const match = link.match(ytUrlPattern);\r\n let code = match && match[7].length == 11 ? match[7] : \"\";\r\n\r\n if (code === \"\" && link.includes(\"v=\"))\r\n code = link.split(\"v=\")[1].split(\"&\")[0];\r\n if (code === \"\" && link.includes(\"be/\")) code = link.split(\".be/\")[1];\r\n\r\n const embedLink = \"https://youtube.com/embed/\" + code;\r\n (this.element as any).videoURI = embedLink;\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n // elements\r\n closeElementDialog() {\r\n this.element = null;\r\n this.dialog = false;\r\n }\r\n async confirmElementChanges() {\r\n // check if can be sent\r\n if (!this.element) return;\r\n if (!this.element.title)\r\n return this.displaySnackbar(\"Must provide a title for each element\");\r\n\r\n // add specific stuff to some element\r\n\r\n // watch video\r\n if (this.element.type === \"watch_video\") {\r\n if (!this.element.videoURI && !this.newVideo)\r\n return this.displaySnackbar(\r\n this.$t(\"seminars.edit.elements.watch_video_rule\").toString(),\r\n );\r\n }\r\n // categorize\r\n else if (this.element.type === \"categorize\")\r\n this.element.words = this.element.answers.flat();\r\n // gap text\r\n else if (this.element.type === \"gap_text\") {\r\n this.element.answers = this.gaps;\r\n if (this.gaps.some(x => !x.trim().length))\r\n return this.displaySnackbar(\"Please fill out all gaps\");\r\n }\r\n // video presentation\r\n else if (this.element.type === \"video_presentation\") {\r\n const reqSub = Number(this.element.requiredSubmissions);\r\n const maxSub = Number(this.element.maxSubmissions);\r\n const reqShared = Number(this.element.requiredNumShared);\r\n const maxShared = Number(this.element.maxNumShared);\r\n if (isNaN(reqSub) || reqSub < 0 || reqSub > 10 || reqShared > reqSub)\r\n // invalid reqsub number\r\n return this.displaySnackbar(\r\n this.$t(\"seminars.edit.elements.req_subs_rule_1\").toString(),\r\n );\r\n\r\n if (isNaN(maxSub) || maxSub < 1 || maxSub > 100 || maxSub < reqSub) {\r\n // invalid maxsub number\r\n this.displaySnackbar(\r\n this.$t(\"seminars.edit.elements.max_shared_rule_3\").toString(),\r\n );\r\n return;\r\n }\r\n if (\r\n isNaN(reqShared) ||\r\n reqShared < 0 ||\r\n reqShared > 10 ||\r\n reqShared > reqSub\r\n ) {\r\n // invalid reqnumshared number\r\n this.displaySnackbar(\r\n this.$t(\"seminars.edit.elements.req_shared_rule_1\").toString(),\r\n );\r\n return;\r\n }\r\n if (\r\n isNaN(maxShared) ||\r\n maxShared < 1 ||\r\n maxShared > 10 ||\r\n maxShared < reqShared ||\r\n maxShared > maxSub\r\n ) {\r\n // invalid reqnumshared number\r\n this.displaySnackbar(\r\n this.$t(\"seminars.edit.elements.max_shared_rule_4\").toString(),\r\n );\r\n return;\r\n }\r\n }\r\n\r\n this.dialog = false;\r\n\r\n // call action\r\n this.editing ? (this.editLoading = true) : (this.addLoading = true);\r\n try {\r\n const data = { element: this.element, file: this.newVideo };\r\n if (this.editing) await this.editElement(data);\r\n else await this.addElement(data);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.editing ? (this.editLoading = false) : (this.addLoading = false);\r\n\r\n // reset\r\n this.videoChoice = !this.newVideo ? \"link\" : \"file\";\r\n this.newVideo = null;\r\n this.element = null;\r\n }\r\n\r\n removeDialog = false;\r\n async deleteElement() {\r\n if (!this.element || this.blockId === 0) return;\r\n\r\n this.dialog = false;\r\n this.removeDialog = false;\r\n this.deleteLoading = true;\r\n try {\r\n await this.removeElement({ blockId: this.blockId, id: this.element.id });\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.deleteLoading = false;\r\n }\r\n\r\n // give feedback\r\n get items() {\r\n const els: any[] = [];\r\n this.seminar?.blocks.forEach((b, idx) => {\r\n els.push({ header: b.title });\r\n els.push(\r\n ...b.elements\r\n .filter(x => x.type === \"video_presentation\")\r\n .map(x => ({ name: x.title, value: x.id })),\r\n );\r\n if (idx + 1 !== this.seminar?.blocks.length) els.push({ divider: true });\r\n });\r\n return els;\r\n }\r\n isObject(item: any) {\r\n return typeof item === \"object\";\r\n }\r\n\r\n // gaps in gap text\r\n gaps: string[] = [];\r\n makeGaps() {\r\n if (this.element?.type !== \"gap_text\") return [];\r\n const len = this.element.text.split(\"__\").length;\r\n const diff = len - this.gaps.length - 1;\r\n const answers = this.element.answers;\r\n if (diff > 0)\r\n for (let i = 0; i < diff; i++)\r\n if (answers[i]) this.gaps.push(answers[i]);\r\n else this.gaps.push(\"\");\r\n else if (diff < 0) this.gaps = this.gaps.slice(0, diff);\r\n }\r\n\r\n // rephrase\r\n addRephraseRow() {\r\n if (this.element?.type !== \"rephrase\") return;\r\n this.element.sentences.push(\"\");\r\n this.element.answers.push(\"\");\r\n }\r\n removeRephraseRow(i: number) {\r\n if (this.element?.type !== \"rephrase\") return;\r\n this.element.sentences.splice(i, 1);\r\n this.element.answers.splice(i, 1);\r\n }\r\n\r\n // categorize\r\n openAddCategory() {\r\n if (this.element?.type !== \"categorize\") return;\r\n if (this.element.answers.length === 10)\r\n return this.displaySnackbar(\"Can't add anymore (10 max)\");\r\n this.newCategory = { title: \"\", words: [] };\r\n this.newCategoryDialog = true;\r\n }\r\n openEditCategory(i: number) {\r\n if (this.element?.type !== \"categorize\") return;\r\n this.newCategoryDialog = true;\r\n this.editingCategory = i;\r\n this.newCategory = {\r\n title: this.element.categories[i],\r\n words: [...this.element.answers[i]],\r\n };\r\n }\r\n closeEditCategory() {\r\n this.newCategoryDialog = false;\r\n this.editingCategory = -1;\r\n }\r\n addCategory() {\r\n if (this.element?.type !== \"categorize\") return;\r\n if (this.editingCategory !== -1) {\r\n this.element.categories[this.editingCategory] = this.newCategory.title;\r\n this.element.answers[this.editingCategory] = this.newCategory.words;\r\n this.editingCategory = -1;\r\n } else {\r\n this.element.categories.push(this.newCategory.title);\r\n this.element.answers.push(this.newCategory.words);\r\n }\r\n this.newCategoryDialog = false;\r\n }\r\n removeCategory(i: number) {\r\n if (this.element?.type !== \"categorize\") return;\r\n this.newCategory = { title: \"\", words: [] };\r\n this.element.categories.splice(i, 1);\r\n this.element.answers.splice(i, 1);\r\n this.newCategoryDialog = false;\r\n }\r\n\r\n // todo has to happen in the Edit.vue\r\n // queryProcessed = false;\r\n // @Watch(\"seminar\", { immediate: true })\r\n // seminarChanged() {\r\n // if (this.queryProcessed || !this.seminar) return;\r\n // const { block, element } = this.$route.query;\r\n // if (block && element) {\r\n // const b = this.seminar.blocks.find(x => x.id === Number(block));\r\n // if (!b) return;\r\n // const el = b.elements.find(x => x.id === Number(element));\r\n // if (!el) return;\r\n // this.element = { ...el };\r\n // this.dialog = true;\r\n // }\r\n // this.queryProcessed = 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!./ElementDialog.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!./ElementDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ElementDialog.vue?vue&type=template&id=f780e0b4&\"\nimport script from \"./ElementDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./ElementDialog.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 { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\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:\"wrapper\"},[_c('div',{staticClass:\"sidebar-conatiner\"},[_c('div',{staticClass:\"d-flex mb-4\"},[_c(VBtn,{attrs:{\"small\":\"\",\"elevation\":\"0\"},on:{\"click\":function($event){return _vm.$router.push('/seminars/dashboard/' + _vm.id)}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-chevron-left\")]),_c('span',[_vm._v(\"Dashboard\")])],1),_c('div',{staticClass:\"mx-1\"}),_c(VBtn,{attrs:{\"small\":\"\",\"elevation\":\"0\",\"loading\":_vm.refreshing,\"disabled\":_vm.refreshing},on:{\"click\":_vm.refresh}},[_c(VIcon,{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-refresh\")])],1)],1),_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.progress\")))]),_c(VExpansionPanels,{attrs:{\"flat\":\"\",\"value\":_vm.blockIndex}},_vm._l((_vm.blocks),function(block,i){return _c('Block',{key:i,attrs:{\"index\":i}})}),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\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component } from \"vue-property-decorator\";\r\n\r\nimport { SeminarBlock } from \"@/core/models\";\r\nimport Block from \"../components/Block.vue\";\r\n\r\n@Component({ components: { Block } })\r\nexport default class Sidebar extends Vue {\r\n @Getter(\"seminars/selectedId\") id!: number;\r\n @Getter(\"seminars/blocks\") blocks!: SeminarBlock[];\r\n @Getter(\"seminars/blockIndex\") blockIndex!: number;\r\n @Action(\"seminars/get\") get!: (d: any) => Promise;\r\n\r\n refreshing = false;\r\n async refresh() {\r\n this.refreshing = true;\r\n try {\r\n await this.get({ id: this.id, refresh: true });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n this.refreshing = 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!./Sidebar.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!./Sidebar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=2a940224&scoped=true&\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=ts&\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Sidebar.vue?vue&type=style&index=0&id=2a940224&prod&scoped=true&lang=scss&\"\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 \"2a940224\",\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 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 { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } 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 { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\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(VListItem,{attrs:{\"disabled\":_vm.loading},on:{\"click\":_vm.openEditElement}},[_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(_vm.element.title))]),_c(VListItemSubtitle,[_vm._v(_vm._s(_vm.typeName))])],1),_c(VListItemAction,{staticClass:\"mr-2\"},[_c(VTooltip,{scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.moveDialog = true}}},on),[_c(VIcon,[_vm._v(\"mdi-reorder-horizontal\")])],1)]}}])},[_c('span',[_vm._v(\"Move this element\")])])],1),_c(VListItemAction,[_c(VBtn,{attrs:{\"icon\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":_vm.openEditElement}},[_c(VIcon,[_vm._v(\"mdi-chevron-right\")])],1)],1),_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.moveDialog),callback:function ($$v) {_vm.moveDialog=$$v},expression:\"moveDialog\"}},[_c(VCard,{staticClass:\"move-card\"},[_c(VCardTitle,[_vm._v(\"Move this element\")]),_c(VCardSubtitle,[_vm._v(\" \"+_vm._s(_vm.element.title)+\" (\"+_vm._s(_vm.element.type)+\") \")]),_c(VCardText,_vm._l((_vm.moveBlocks),function(b,bi){return _c('div',{key:bi,staticClass:\"move-block\",class:{ selected: _vm.selectedBlock === bi }},[_c('div',{staticClass:\"move-block__content\",on:{\"click\":function($event){return _vm.selectBlock(bi)}}},[_c('div',{staticClass:\"move-block__title\"},[_vm._v(_vm._s(b.title))]),_c('div',{staticClass:\"move-block__description\"},[_vm._v(_vm._s(b.description))])]),_c('div',{staticClass:\"move-elements\"},[_c('div',{staticClass:\"move-elements__overline\"},[_vm._v(\"Block elements\")]),_c('div',{staticClass:\"mb-2\"},[(_vm.selectedBlock === bi && _vm.selectedPosition === -1)?_c('div',{staticClass:\"d-flex pa-4 move-element\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_c('div',{staticClass:\"move-element__overline\"},[_vm._v(\" Current element will be placed here \")]),_c('div',{staticClass:\"move-element__title\"},[_vm._v(_vm._s(_vm.element.title))]),_c('div',{staticClass:\"move-element__description\"},[_vm._v(\" \"+_vm._s(_vm.element.type)+\" \")])]),_c(VBtn,{attrs:{\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.selectedPosition = -2}}},[_c(VIcon,[_vm._v(\"mdi-minus-circle\")])],1)],1):(_vm.selectedPosition === -2)?_c('div',{staticClass:\"move-element__plus\",on:{\"click\":function($event){$event.stopPropagation();_vm.selectedPosition = -1}}},[_c(VBtn,{attrs:{\"icon\":\"\",\"small\":\"\"}},[_c(VIcon,[_vm._v(\"mdi-plus-circle\")])],1)],1):_vm._e()]),_vm._l((b.elements),function(e,ei){return _c('div',{key:ei},[_c('div',{staticClass:\"move-element\"},[_c('div',{staticClass:\"move-element__title\"},[_vm._v(_vm._s(e.title))]),_c('div',{staticClass:\"move-element__description\"},[_vm._v(_vm._s(e.type))])]),(_vm.selectedBlock === bi && _vm.selectedPosition === ei)?_c('div',{staticClass:\"d-flex pa-4 move-element\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_c('div',{staticClass:\"move-element__overline\"},[_vm._v(\" Current element will be placed here \")]),_c('div',{staticClass:\"move-element__title\"},[_vm._v(_vm._s(_vm.element.title))]),_c('div',{staticClass:\"move-element__description\"},[_vm._v(\" \"+_vm._s(_vm.element.type)+\" \")])]),_c(VBtn,{attrs:{\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.selectedPosition = -2}}},[_c(VIcon,[_vm._v(\"mdi-minus-circle\")])],1)],1):_vm._e(),(_vm.selectedPosition === -2)?_c('div',{staticClass:\"move-element__plus\",on:{\"click\":function($event){$event.stopPropagation();_vm.selectedPosition = ei}}},[_c(VBtn,{attrs:{\"icon\":\"\",\"small\":\"\"}},[_c(VIcon,[_vm._v(\"mdi-plus-circle\")])],1)],1):_vm._e()])})],2)])}),0),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.cancelMove}},[_c('span',[_vm._v(\"Cancel Move\")])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.confirmMove}},[_c('span',[_vm._v(\"Confirm Move\")])])],1)],1)],1),_c('ElementDialog',{attrs:{\"block-id\":_vm.blockId,\"seminar\":_vm.seminar,\"editing\":true,\"temp-element\":_vm.tempElement,\"dialog-prop\":_vm.dialog,\"add-loading-prop\":_vm.addLoading,\"edit-loading-prop\":_vm.editLoading,\"delete-loading-prop\":_vm.deleteLoading},on:{\"update:tempElement\":function($event){_vm.tempElement=$event},\"update:temp-element\":function($event){_vm.tempElement=$event},\"update:dialogProp\":function($event){_vm.dialog=$event},\"update:dialog-prop\":function($event){_vm.dialog=$event},\"update:addLoadingProp\":function($event){_vm.addLoading=$event},\"update:add-loading-prop\":function($event){_vm.addLoading=$event},\"update:editLoadingProp\":function($event){_vm.editLoading=$event},\"update:edit-loading-prop\":function($event){_vm.editLoading=$event},\"update:deleteLoadingProp\":function($event){_vm.deleteLoading=$event},\"update:delete-loading-prop\":function($event){_vm.deleteLoading=$event}}})],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\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport { typeName } from \"@/core/utils/seminars\";\r\nimport type {\r\n Seminar,\r\n SeminarBlock,\r\n SeminarElement,\r\n SeminarOrder,\r\n} from \"@/core/models\";\r\n\r\nimport ElementDialog from \"./ElementDialog.vue\";\r\n\r\n@Component({ components: { ElementDialog } })\r\nexport default class AdminElement extends Vue {\r\n @Prop({ default: () => undefined }) element?: SeminarElement;\r\n @Prop({ default: () => 0 }) blockId!: number;\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n @Getter(\"seminars/blocks\") blocks!: SeminarBlock[];\r\n @Action(\"seminars/reorder\") reorder!: (o: SeminarOrder) => void;\r\n\r\n dialog = false;\r\n tempElement: SeminarElement | null = null;\r\n addLoading = false;\r\n editLoading = false;\r\n deleteLoading = false;\r\n get loading() {\r\n return this.editLoading || this.deleteLoading;\r\n }\r\n get typeName() {\r\n if (!this.element) return \"\";\r\n return typeName(this.element.type);\r\n }\r\n openEditElement() {\r\n if (!this.element) return;\r\n this.dialog = true;\r\n this.tempElement = JSON.parse(JSON.stringify(this.element));\r\n }\r\n\r\n moveDialog = false;\r\n selectedBlock = -2;\r\n selectedPosition = -2;\r\n get moveBlocks() {\r\n return this.blocks.map(x => {\r\n const b = JSON.parse(JSON.stringify(x)) as SeminarBlock;\r\n b.elements = b.elements.filter(x => x.id !== this.element?.id);\r\n return b;\r\n });\r\n }\r\n selectBlock(bi: number) {\r\n if (this.selectedBlock === bi) this.selectedBlock = -2;\r\n else this.selectedBlock = bi;\r\n this.selectedPosition = -2;\r\n }\r\n cancelMove() {\r\n this.moveDialog = false;\r\n this.selectedBlock = -2;\r\n this.selectedPosition = -2;\r\n }\r\n confirmMove() {\r\n const order = this.seminar?.order;\r\n if (!order) return;\r\n\r\n // new order\r\n const newOrder = JSON.parse(JSON.stringify(order)) as SeminarOrder;\r\n if (!newOrder) return;\r\n\r\n // find current element position in order\r\n const newBlockId = this.blocks[this.selectedBlock].id;\r\n const posIdx = newOrder.elements.findIndex(\r\n x => x.elementId === this.element?.id,\r\n );\r\n if (posIdx === -1) return;\r\n\r\n // create new ElementData object\r\n const newIndex = this.selectedPosition + 1;\r\n const newPos = JSON.parse(JSON.stringify(newOrder.elements[posIdx]));\r\n newPos.elementIndex = newIndex;\r\n newPos.blockId = newBlockId;\r\n\r\n // Remove from block\r\n newOrder.elements.splice(posIdx, 1);\r\n\r\n // Push indices back of following elements\r\n const followingElements = newOrder.elements.filter(\r\n x => x.blockId === newBlockId && x.elementIndex >= newIndex,\r\n );\r\n const otherElements = newOrder.elements.filter(\r\n x => !followingElements.map(x => x.elementId).includes(x.elementId),\r\n );\r\n newOrder.elements = JSON.parse(JSON.stringify(otherElements));\r\n const pushedBack = followingElements.map(x => {\r\n const e = { ...x };\r\n e.elementIndex += 1;\r\n return e;\r\n });\r\n newOrder.elements = [...newOrder.elements, ...pushedBack];\r\n\r\n // Put back in array\r\n newOrder.elements.push(newPos);\r\n\r\n // fix elements where pos diff > 1\r\n newOrder.blocks.forEach(b => {\r\n const elements = newOrder.elements\r\n .filter(x => x.blockId === b.blockId)\r\n .sort((a, b) => a.elementIndex - b.elementIndex);\r\n for (let i = 0; i < elements.length - 1; i++) {\r\n const curr = elements[i];\r\n const next = elements[i + 1];\r\n if (next.elementIndex - curr.elementIndex > 1)\r\n elements[i + 1].elementIndex = curr.elementIndex + 1;\r\n }\r\n });\r\n\r\n // send to api\r\n this.reorder(newOrder);\r\n\r\n // reset\r\n this.moveDialog = false;\r\n this.selectedBlock = -2;\r\n this.selectedPosition = -2;\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!./Element.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!./Element.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Element.vue?vue&type=template&id=6c76328a&\"\nimport script from \"./Element.vue?vue&type=script&lang=ts&\"\nexport * from \"./Element.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:\"text-right text-body-2\",class:{ 'mt-4': _vm.marginTop ? true : false }},[(_vm.isOwner)?_c('div',[_vm._v(\" Submitted by: \"),_c('b',[_vm._v(_vm._s(_vm.user(_vm.submission.userId)))])]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.submittedOn\"))+\": \"),_c('b',[_vm._v(_vm._s(_vm._f(\"formatwithtime\")(_vm.submission.createdAt)))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\nimport type { SimpleUser, Submission } from \"@/core/models\";\r\n\r\n@Component\r\nexport default class SubmissionFooter extends Vue {\r\n @Getter(\"seminars/isOwner\") isOwner!: boolean;\r\n @Getter(\"seminars/users\") users!: SimpleUser[];\r\n\r\n user(id: string) {\r\n const one = this.users.find(x => x.id === id);\r\n if (!one) return \"You\";\r\n return `${one.username} (${one.email})`;\r\n }\r\n\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n @Prop({ default: () => true }) marginTop?: boolean;\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!./SubmissionFooter.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!./SubmissionFooter.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubmissionFooter.vue?vue&type=template&id=6002e96f&\"\nimport script from \"./SubmissionFooter.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubmissionFooter.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","// Helpers\nimport { wrapInArray, sortItems, deepEqual, groupItems, searchItems, fillArray } from '../../util/helpers'\nimport Vue, { VNode } from 'vue'\n\n// Types\nimport {\n DataOptions,\n DataPagination,\n DataScopeProps,\n DataSortFunction,\n DataGroupFunction,\n DataSearchFunction,\n ItemGroup,\n} from 'vuetify/types'\nimport { PropValidator } from 'vue/types/options'\n\nexport default Vue.extend({\n name: 'v-data',\n\n inheritAttrs: false,\n\n props: {\n items: {\n type: Array,\n default: () => [],\n } as PropValidator,\n options: {\n type: Object,\n default: () => ({}),\n } as PropValidator>,\n sortBy: {\n type: [String, Array],\n } as PropValidator,\n sortDesc: {\n type: [Boolean, Array],\n } as PropValidator,\n customSort: {\n type: Function,\n default: sortItems,\n } as PropValidator,\n mustSort: Boolean,\n multiSort: Boolean,\n page: {\n type: Number,\n default: 1,\n },\n itemsPerPage: {\n type: Number,\n default: 10,\n },\n groupBy: {\n type: [String, Array],\n default: () => [],\n } as PropValidator,\n groupDesc: {\n type: [Boolean, Array],\n default: () => [],\n } as PropValidator,\n customGroup: {\n type: Function,\n default: groupItems,\n } as PropValidator,\n locale: {\n type: String,\n default: 'en-US',\n },\n disableSort: Boolean,\n disablePagination: Boolean,\n disableFiltering: Boolean,\n search: String,\n customFilter: {\n type: Function,\n default: searchItems,\n } as PropValidator,\n serverItemsLength: {\n type: Number,\n default: -1,\n },\n },\n\n data () {\n let internalOptions: DataOptions = {\n page: this.page,\n itemsPerPage: this.itemsPerPage,\n sortBy: wrapInArray(this.sortBy),\n sortDesc: wrapInArray(this.sortDesc),\n groupBy: wrapInArray(this.groupBy),\n groupDesc: wrapInArray(this.groupDesc),\n mustSort: this.mustSort,\n multiSort: this.multiSort,\n }\n\n if (this.options) {\n internalOptions = Object.assign(internalOptions, this.options)\n }\n\n const { sortBy, sortDesc, groupBy, groupDesc } = internalOptions\n const sortDiff = sortBy.length - sortDesc.length\n const groupDiff = groupBy.length - groupDesc.length\n\n if (sortDiff > 0) {\n internalOptions.sortDesc.push(...fillArray(sortDiff, false))\n }\n\n if (groupDiff > 0) {\n internalOptions.groupDesc.push(...fillArray(groupDiff, false))\n }\n\n return {\n internalOptions,\n }\n },\n\n computed: {\n itemsLength (): number {\n return this.serverItemsLength >= 0 ? this.serverItemsLength : this.filteredItems.length\n },\n pageCount (): number {\n return this.internalOptions.itemsPerPage <= 0\n ? 1\n : Math.ceil(this.itemsLength / this.internalOptions.itemsPerPage)\n },\n pageStart (): number {\n if (this.internalOptions.itemsPerPage === -1 || !this.items.length) return 0\n\n return (this.internalOptions.page - 1) * this.internalOptions.itemsPerPage\n },\n pageStop (): number {\n if (this.internalOptions.itemsPerPage === -1) return this.itemsLength\n if (!this.items.length) return 0\n\n return Math.min(this.itemsLength, this.internalOptions.page * this.internalOptions.itemsPerPage)\n },\n isGrouped (): boolean {\n return !!this.internalOptions.groupBy.length\n },\n pagination (): DataPagination {\n return {\n page: this.internalOptions.page,\n itemsPerPage: this.internalOptions.itemsPerPage,\n pageStart: this.pageStart,\n pageStop: this.pageStop,\n pageCount: this.pageCount,\n itemsLength: this.itemsLength,\n }\n },\n filteredItems (): any[] {\n let items = this.items.slice()\n\n if (!this.disableFiltering && this.serverItemsLength <= 0) {\n items = this.customFilter(items, this.search)\n }\n\n return items\n },\n computedItems (): any[] {\n let items = this.filteredItems.slice()\n\n if ((!this.disableSort || this.internalOptions.groupBy.length) && this.serverItemsLength <= 0) {\n items = this.sortItems(items)\n }\n\n if (!this.disablePagination && this.serverItemsLength <= 0) {\n items = this.paginateItems(items)\n }\n\n return items\n },\n groupedItems (): ItemGroup[] | null {\n return this.isGrouped ? this.groupItems(this.computedItems) : null\n },\n scopedProps (): DataScopeProps {\n return {\n sort: this.sort,\n sortArray: this.sortArray,\n group: this.group,\n items: this.computedItems,\n options: this.internalOptions,\n updateOptions: this.updateOptions,\n pagination: this.pagination,\n groupedItems: this.groupedItems,\n originalItemsLength: this.items.length,\n }\n },\n computedOptions (): DataOptions {\n return { ...this.options } as DataOptions\n },\n },\n\n watch: {\n computedOptions: {\n handler (options: DataOptions, old: DataOptions) {\n if (deepEqual(options, old)) return\n\n this.updateOptions(options)\n },\n deep: true,\n immediate: true,\n },\n internalOptions: {\n handler (options: DataOptions, old: DataOptions) {\n if (deepEqual(options, old)) return\n this.$emit('update:options', options)\n },\n deep: true,\n immediate: true,\n },\n page (page: number) {\n this.updateOptions({ page })\n },\n 'internalOptions.page' (page: number) {\n this.$emit('update:page', page)\n },\n itemsPerPage (itemsPerPage: number) {\n this.updateOptions({ itemsPerPage })\n },\n 'internalOptions.itemsPerPage' (itemsPerPage: number) {\n this.$emit('update:items-per-page', itemsPerPage)\n },\n sortBy (sortBy: string | string[]) {\n this.updateOptions({ sortBy: wrapInArray(sortBy) })\n },\n 'internalOptions.sortBy' (sortBy: string[], old: string[]) {\n !deepEqual(sortBy, old) && this.$emit('update:sort-by', Array.isArray(this.sortBy) ? sortBy : sortBy[0])\n },\n sortDesc (sortDesc: boolean | boolean[]) {\n this.updateOptions({ sortDesc: wrapInArray(sortDesc) })\n },\n 'internalOptions.sortDesc' (sortDesc: boolean[], old: boolean[]) {\n !deepEqual(sortDesc, old) && this.$emit('update:sort-desc', Array.isArray(this.sortDesc) ? sortDesc : sortDesc[0])\n },\n groupBy (groupBy: string | string[]) {\n this.updateOptions({ groupBy: wrapInArray(groupBy) })\n },\n 'internalOptions.groupBy' (groupBy: string[], old: string[]) {\n !deepEqual(groupBy, old) && this.$emit('update:group-by', Array.isArray(this.groupBy) ? groupBy : groupBy[0])\n },\n groupDesc (groupDesc: boolean | boolean[]) {\n this.updateOptions({ groupDesc: wrapInArray(groupDesc) })\n },\n 'internalOptions.groupDesc' (groupDesc: boolean[], old: boolean[]) {\n !deepEqual(groupDesc, old) && this.$emit('update:group-desc', Array.isArray(this.groupDesc) ? groupDesc : groupDesc[0])\n },\n multiSort (multiSort: boolean) {\n this.updateOptions({ multiSort })\n },\n 'internalOptions.multiSort' (multiSort: boolean) {\n this.$emit('update:multi-sort', multiSort)\n },\n mustSort (mustSort: boolean) {\n this.updateOptions({ mustSort })\n },\n 'internalOptions.mustSort' (mustSort: boolean) {\n this.$emit('update:must-sort', mustSort)\n },\n pageCount: {\n handler (pageCount: number) {\n this.$emit('page-count', pageCount)\n },\n immediate: true,\n },\n computedItems: {\n handler (computedItems: any[]) {\n this.$emit('current-items', computedItems)\n },\n immediate: true,\n },\n pagination: {\n handler (pagination: DataPagination, old: DataPagination) {\n if (deepEqual(pagination, old)) return\n this.$emit('pagination', this.pagination)\n },\n immediate: true,\n },\n },\n\n methods: {\n toggle (key: string, oldBy: string[], oldDesc: boolean[], page: number, mustSort: boolean, multiSort: boolean) {\n let by = oldBy.slice()\n let desc = oldDesc.slice()\n const byIndex = by.findIndex((k: string) => k === key)\n\n if (byIndex < 0) {\n if (!multiSort) {\n by = []\n desc = []\n }\n\n by.push(key)\n desc.push(false)\n } else if (byIndex >= 0 && !desc[byIndex]) {\n desc[byIndex] = true\n } else if (!mustSort) {\n by.splice(byIndex, 1)\n desc.splice(byIndex, 1)\n } else {\n desc[byIndex] = false\n }\n\n // Reset page to 1 if sortBy or sortDesc have changed\n if (!deepEqual(by, oldBy) || !deepEqual(desc, oldDesc)) {\n page = 1\n }\n\n return { by, desc, page }\n },\n group (key: string): void {\n const { by: groupBy, desc: groupDesc, page } = this.toggle(\n key,\n this.internalOptions.groupBy,\n this.internalOptions.groupDesc,\n this.internalOptions.page,\n true,\n false\n )\n this.updateOptions({ groupBy, groupDesc, page })\n },\n sort (key: string | string[]): void {\n if (Array.isArray(key)) return this.sortArray(key)\n\n const { by: sortBy, desc: sortDesc, page } = this.toggle(\n key,\n this.internalOptions.sortBy,\n this.internalOptions.sortDesc,\n this.internalOptions.page,\n this.internalOptions.mustSort,\n this.internalOptions.multiSort\n )\n this.updateOptions({ sortBy, sortDesc, page })\n },\n sortArray (sortBy: string[]) {\n const sortDesc = sortBy.map(s => {\n const i = this.internalOptions.sortBy.findIndex((k: string) => k === s)\n return i > -1 ? this.internalOptions.sortDesc[i] : false\n })\n\n this.updateOptions({ sortBy, sortDesc })\n },\n updateOptions (options: any) {\n this.internalOptions = {\n ...this.internalOptions,\n ...options,\n page: this.serverItemsLength < 0\n ? Math.max(1, Math.min(options.page || this.internalOptions.page, this.pageCount))\n : options.page || this.internalOptions.page,\n }\n },\n sortItems (items: any[]): any[] {\n let sortBy: string[] = []\n let sortDesc: boolean[] = []\n\n if (!this.disableSort) {\n sortBy = this.internalOptions.sortBy\n sortDesc = this.internalOptions.sortDesc\n }\n\n if (this.internalOptions.groupBy.length) {\n sortBy = [...this.internalOptions.groupBy, ...sortBy]\n sortDesc = [...this.internalOptions.groupDesc, ...sortDesc]\n }\n\n return this.customSort(items, sortBy, sortDesc, this.locale)\n },\n groupItems (items: any[]): ItemGroup[] {\n return this.customGroup(items, this.internalOptions.groupBy, this.internalOptions.groupDesc)\n },\n paginateItems (items: any[]): any[] {\n // Make sure we don't try to display non-existant page if items suddenly change\n // TODO: Could possibly move this to pageStart/pageStop?\n if (this.serverItemsLength === -1 && items.length <= this.pageStart) {\n this.internalOptions.page = Math.max(1, Math.ceil(items.length / this.internalOptions.itemsPerPage)) || 1 // Prevent NaN\n }\n\n return items.slice(this.pageStart, this.pageStop)\n },\n },\n\n render (): VNode {\n return this.$scopedSlots.default && this.$scopedSlots.default(this.scopedProps) as any\n },\n})\n","import './VDataFooter.sass'\n\n// Components\nimport VSelect from '../VSelect/VSelect'\nimport VIcon from '../VIcon'\nimport VBtn from '../VBtn'\n\n// Types\nimport Vue, { VNode, VNodeChildrenArrayContents, PropType } from 'vue'\nimport { DataPagination, DataOptions, DataItemsPerPageOption } from 'vuetify/types'\nimport { PropValidator } from 'vue/types/options'\nimport { getSlot } from '../../util/helpers'\n\nexport default Vue.extend({\n name: 'v-data-footer',\n\n props: {\n options: {\n type: Object as PropType,\n required: true,\n },\n pagination: {\n type: Object as PropType,\n required: true,\n },\n itemsPerPageOptions: {\n type: Array,\n default: () => ([5, 10, 15, -1]),\n } as PropValidator,\n prevIcon: {\n type: String,\n default: '$prev',\n },\n nextIcon: {\n type: String,\n default: '$next',\n },\n firstIcon: {\n type: String,\n default: '$first',\n },\n lastIcon: {\n type: String,\n default: '$last',\n },\n itemsPerPageText: {\n type: String,\n default: '$vuetify.dataFooter.itemsPerPageText',\n },\n itemsPerPageAllText: {\n type: String,\n default: '$vuetify.dataFooter.itemsPerPageAll',\n },\n showFirstLastPage: Boolean,\n showCurrentPage: Boolean,\n disablePagination: Boolean,\n disableItemsPerPage: Boolean,\n pageText: {\n type: String,\n default: '$vuetify.dataFooter.pageText',\n },\n },\n\n computed: {\n disableNextPageIcon (): boolean {\n return this.options.itemsPerPage <= 0 ||\n this.options.page * this.options.itemsPerPage >= this.pagination.itemsLength ||\n this.pagination.pageStop < 0\n },\n computedDataItemsPerPageOptions (): any[] {\n return this.itemsPerPageOptions.map(option => {\n if (typeof option === 'object') return option\n else return this.genDataItemsPerPageOption(option)\n })\n },\n },\n\n methods: {\n updateOptions (obj: object) {\n this.$emit('update:options', Object.assign({}, this.options, obj))\n },\n onFirstPage () {\n this.updateOptions({ page: 1 })\n },\n onPreviousPage () {\n this.updateOptions({ page: this.options.page - 1 })\n },\n onNextPage () {\n this.updateOptions({ page: this.options.page + 1 })\n },\n onLastPage () {\n this.updateOptions({ page: this.pagination.pageCount })\n },\n onChangeItemsPerPage (itemsPerPage: number) {\n this.updateOptions({ itemsPerPage, page: 1 })\n },\n genDataItemsPerPageOption (option: number) {\n return {\n text: option === -1 ? this.$vuetify.lang.t(this.itemsPerPageAllText) : String(option),\n value: option,\n }\n },\n genItemsPerPageSelect () {\n let value = this.options.itemsPerPage\n const computedIPPO = this.computedDataItemsPerPageOptions\n\n if (computedIPPO.length <= 1) return null\n\n if (!computedIPPO.find(ippo => ippo.value === value)) value = computedIPPO[0]\n\n return this.$createElement('div', {\n staticClass: 'v-data-footer__select',\n }, [\n this.$vuetify.lang.t(this.itemsPerPageText),\n this.$createElement(VSelect, {\n attrs: {\n 'aria-label': this.$vuetify.lang.t(this.itemsPerPageText),\n },\n props: {\n disabled: this.disableItemsPerPage,\n items: computedIPPO,\n value,\n hideDetails: true,\n auto: true,\n minWidth: '75px',\n },\n on: {\n input: this.onChangeItemsPerPage,\n },\n }),\n ])\n },\n genPaginationInfo () {\n let children: VNodeChildrenArrayContents = ['–']\n const itemsLength: number = this.pagination.itemsLength\n let pageStart: number = this.pagination.pageStart\n let pageStop: number = this.pagination.pageStop\n\n if (this.pagination.itemsLength && this.pagination.itemsPerPage) {\n pageStart = this.pagination.pageStart + 1\n pageStop = itemsLength < this.pagination.pageStop || this.pagination.pageStop < 0\n ? itemsLength\n : this.pagination.pageStop\n\n children = this.$scopedSlots['page-text']\n ? [this.$scopedSlots['page-text']!({ pageStart, pageStop, itemsLength })]\n : [this.$vuetify.lang.t(this.pageText, pageStart, pageStop, itemsLength)]\n } else if (this.$scopedSlots['page-text']) {\n children = [this.$scopedSlots['page-text']!({ pageStart, pageStop, itemsLength })]\n }\n\n return this.$createElement('div', {\n class: 'v-data-footer__pagination',\n }, children)\n },\n genIcon (click: Function, disabled: boolean, label: string, icon: string): VNode {\n return this.$createElement(VBtn, {\n props: {\n disabled: disabled || this.disablePagination,\n icon: true,\n text: true,\n // dark: this.dark, // TODO: add mixin\n // light: this.light // TODO: add mixin\n },\n on: {\n click,\n },\n attrs: {\n 'aria-label': label, // TODO: Localization\n },\n }, [this.$createElement(VIcon, icon)])\n },\n genIcons () {\n const before: VNodeChildrenArrayContents = []\n const after: VNodeChildrenArrayContents = []\n\n before.push(this.genIcon(\n this.onPreviousPage,\n this.options.page === 1,\n this.$vuetify.lang.t('$vuetify.dataFooter.prevPage'),\n this.$vuetify.rtl ? this.nextIcon : this.prevIcon\n ))\n\n after.push(this.genIcon(\n this.onNextPage,\n this.disableNextPageIcon,\n this.$vuetify.lang.t('$vuetify.dataFooter.nextPage'),\n this.$vuetify.rtl ? this.prevIcon : this.nextIcon\n ))\n\n if (this.showFirstLastPage) {\n before.unshift(this.genIcon(\n this.onFirstPage,\n this.options.page === 1,\n this.$vuetify.lang.t('$vuetify.dataFooter.firstPage'),\n this.$vuetify.rtl ? this.lastIcon : this.firstIcon\n ))\n\n after.push(this.genIcon(\n this.onLastPage,\n this.options.page >= this.pagination.pageCount || this.options.itemsPerPage === -1,\n this.$vuetify.lang.t('$vuetify.dataFooter.lastPage'),\n this.$vuetify.rtl ? this.firstIcon : this.lastIcon\n ))\n }\n\n return [\n this.$createElement('div', {\n staticClass: 'v-data-footer__icons-before',\n }, before),\n this.showCurrentPage && this.$createElement('span', [this.options.page.toString()]),\n this.$createElement('div', {\n staticClass: 'v-data-footer__icons-after',\n }, after),\n ]\n },\n },\n\n render (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-data-footer',\n }, [\n getSlot(this, 'prepend'),\n this.genItemsPerPageSelect(),\n this.genPaginationInfo(),\n this.genIcons(),\n ])\n },\n})\n","// Components\nimport { VData } from '../VData'\nimport VDataFooter from './VDataFooter'\n\n// Mixins\nimport Mobile from '../../mixins/mobile'\nimport Themeable from '../../mixins/themeable'\n\n// Helpers\nimport mixins from '../../util/mixins'\nimport { deepEqual, getObjectValueByPath, getPrefixedScopedSlots, getSlot, camelizeObjectKeys, keyCodes } from '../../util/helpers'\nimport { breaking, removed } from '../../util/console'\n\n// Types\nimport { VNode, VNodeChildren } from 'vue'\nimport { PropValidator } from 'vue/types/options'\nimport { DataItemProps, DataScopeProps } from 'vuetify/types'\n\n/* @vue/component */\nexport default mixins(\n Mobile,\n Themeable\n).extend({\n name: 'v-data-iterator',\n\n props: {\n ...VData.options.props, // TODO: filter out props not used\n itemKey: {\n type: String,\n default: 'id',\n },\n value: {\n type: Array,\n default: () => [],\n } as PropValidator,\n singleSelect: Boolean,\n expanded: {\n type: Array,\n default: () => [],\n } as PropValidator,\n mobileBreakpoint: {\n ...Mobile.options.props.mobileBreakpoint,\n default: 600,\n },\n singleExpand: Boolean,\n loading: [Boolean, String],\n noResultsText: {\n type: String,\n default: '$vuetify.dataIterator.noResultsText',\n },\n noDataText: {\n type: String,\n default: '$vuetify.noDataText',\n },\n loadingText: {\n type: String,\n default: '$vuetify.dataIterator.loadingText',\n },\n hideDefaultFooter: Boolean,\n footerProps: Object,\n selectableKey: {\n type: String,\n default: 'isSelectable',\n },\n },\n\n data: () => ({\n selection: {} as Record,\n expansion: {} as Record,\n internalCurrentItems: [] as any[],\n shiftKeyDown: false,\n lastEntry: -1,\n }),\n\n computed: {\n everyItem (): boolean {\n return !!this.selectableItems.length && this.selectableItems.every((i: any) => this.isSelected(i))\n },\n someItems (): boolean {\n return this.selectableItems.some((i: any) => this.isSelected(i))\n },\n sanitizedFooterProps (): Record {\n return camelizeObjectKeys(this.footerProps)\n },\n selectableItems (): any[] {\n return this.internalCurrentItems.filter(item => this.isSelectable(item))\n },\n },\n\n watch: {\n value: {\n handler (value: any[]) {\n this.selection = value.reduce((selection, item) => {\n selection[getObjectValueByPath(item, this.itemKey)] = item\n return selection\n }, {})\n },\n immediate: true,\n },\n selection (value: Record, old: Record) {\n if (deepEqual(Object.keys(value), Object.keys(old))) return\n\n this.$emit('input', Object.values(value))\n },\n expanded: {\n handler (value: any[]) {\n this.expansion = value.reduce((expansion, item) => {\n expansion[getObjectValueByPath(item, this.itemKey)] = true\n return expansion\n }, {})\n },\n immediate: true,\n },\n expansion (value: Record, old: Record) {\n if (deepEqual(value, old)) return\n const keys = Object.keys(value).filter(k => value[k])\n const expanded = !keys.length ? [] : this.items.filter(i => keys.includes(String(getObjectValueByPath(i, this.itemKey))))\n this.$emit('update:expanded', expanded)\n },\n },\n\n created () {\n const breakingProps = [\n ['disable-initial-sort', 'sort-by'],\n ['filter', 'custom-filter'],\n ['pagination', 'options'],\n ['total-items', 'server-items-length'],\n ['hide-actions', 'hide-default-footer'],\n ['rows-per-page-items', 'footer-props.items-per-page-options'],\n ['rows-per-page-text', 'footer-props.items-per-page-text'],\n ['prev-icon', 'footer-props.prev-icon'],\n ['next-icon', 'footer-props.next-icon'],\n ]\n\n /* istanbul ignore next */\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)\n })\n\n const removedProps = [\n 'expand',\n 'content-class',\n 'content-props',\n 'content-tag',\n ]\n\n /* istanbul ignore next */\n removedProps.forEach(prop => {\n if (this.$attrs.hasOwnProperty(prop)) removed(prop)\n })\n },\n\n mounted () {\n window.addEventListener('keydown', this.onKeyDown)\n window.addEventListener('keyup', this.onKeyUp)\n },\n beforeDestroy () {\n window.removeEventListener('keydown', this.onKeyDown)\n window.removeEventListener('keyup', this.onKeyUp)\n },\n\n methods: {\n onKeyDown (e: KeyboardEvent): void {\n if (e.keyCode !== keyCodes.shift) return\n this.shiftKeyDown = true\n },\n onKeyUp (e: KeyboardEvent): void {\n if (e.keyCode !== keyCodes.shift) return\n this.shiftKeyDown = false\n },\n toggleSelectAll (value: boolean): void {\n const selection = Object.assign({}, this.selection)\n\n for (let i = 0; i < this.selectableItems.length; i++) {\n const item = this.selectableItems[i]\n\n if (!this.isSelectable(item)) continue\n\n const key = getObjectValueByPath(item, this.itemKey)\n if (value) selection[key] = item\n else delete selection[key]\n }\n\n this.selection = selection\n this.$emit('toggle-select-all', { items: this.internalCurrentItems, value })\n },\n isSelectable (item: any): boolean {\n return getObjectValueByPath(item, this.selectableKey) !== false\n },\n isSelected (item: any): boolean {\n return !!this.selection[getObjectValueByPath(item, this.itemKey)] || false\n },\n select (item: any, value = true, emit = true): void {\n if (!this.isSelectable(item)) return\n\n const selection = this.singleSelect ? {} : Object.assign({}, this.selection)\n const key = getObjectValueByPath(item, this.itemKey)\n\n if (value) selection[key] = item\n else delete selection[key]\n\n const index = this.selectableItems.findIndex(x => getObjectValueByPath(x, this.itemKey) === key)\n if (this.lastEntry === -1) this.lastEntry = index\n else if (this.shiftKeyDown && !this.singleSelect && emit) {\n const lastEntryKey = getObjectValueByPath(this.selectableItems[this.lastEntry], this.itemKey)\n const lastEntryKeySelected = Object.keys(this.selection).includes(String(lastEntryKey))\n this.multipleSelect(lastEntryKeySelected, emit, selection, index)\n }\n this.lastEntry = index\n\n if (this.singleSelect && emit) {\n const keys = Object.keys(this.selection)\n const old = keys.length && getObjectValueByPath(this.selection[keys[0]], this.itemKey)\n old && old !== key && this.$emit('item-selected', { item: this.selection[old], value: false })\n }\n this.selection = selection\n emit && this.$emit('item-selected', { item, value })\n },\n multipleSelect (value = true, emit = true, selection: any, index: number): void {\n const start = index < this.lastEntry ? index : this.lastEntry\n const end = index < this.lastEntry ? this.lastEntry : index\n for (let i = start; i <= end; i++) {\n const currentItem = this.selectableItems[i]\n const key = getObjectValueByPath(currentItem, this.itemKey)\n if (value) selection[key] = currentItem\n else delete selection[key]\n emit && this.$emit('item-selected', { currentItem, value })\n }\n },\n isExpanded (item: any): boolean {\n return this.expansion[getObjectValueByPath(item, this.itemKey)] || false\n },\n expand (item: any, value = true): void {\n const expansion = this.singleExpand ? {} : Object.assign({}, this.expansion)\n const key = getObjectValueByPath(item, this.itemKey)\n\n if (value) expansion[key] = true\n else delete expansion[key]\n\n this.expansion = expansion\n this.$emit('item-expanded', { item, value })\n },\n createItemProps (item: any, index: number): DataItemProps {\n return {\n item,\n index,\n select: (v: boolean) => this.select(item, v),\n isSelected: this.isSelected(item),\n expand: (v: boolean) => this.expand(item, v),\n isExpanded: this.isExpanded(item),\n isMobile: this.isMobile,\n }\n },\n genEmptyWrapper (content: VNodeChildren) {\n return this.$createElement('div', content)\n },\n genEmpty (originalItemsLength: number, filteredItemsLength: number) {\n if (originalItemsLength === 0 && this.loading) {\n const loading = this.$slots.loading || this.$vuetify.lang.t(this.loadingText)\n return this.genEmptyWrapper(loading)\n } else if (originalItemsLength === 0) {\n const noData = this.$slots['no-data'] || this.$vuetify.lang.t(this.noDataText)\n return this.genEmptyWrapper(noData)\n } else if (filteredItemsLength === 0) {\n const noResults = this.$slots['no-results'] || this.$vuetify.lang.t(this.noResultsText)\n return this.genEmptyWrapper(noResults)\n }\n\n return null\n },\n genItems (props: DataScopeProps) {\n const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength)\n if (empty) return [empty]\n\n if (this.$scopedSlots.default) {\n return this.$scopedSlots.default({\n ...props,\n isSelected: this.isSelected,\n select: this.select,\n isExpanded: this.isExpanded,\n isMobile: this.isMobile,\n expand: this.expand,\n })\n }\n\n if (this.$scopedSlots.item) {\n return props.items.map((item: any, index) => this.$scopedSlots.item!(this.createItemProps(\n item,\n index\n )))\n }\n\n return []\n },\n genFooter (props: DataScopeProps) {\n if (this.hideDefaultFooter) return null\n\n const data = {\n props: {\n ...this.sanitizedFooterProps,\n options: props.options,\n pagination: props.pagination,\n },\n on: {\n 'update:options': (value: any) => props.updateOptions(value),\n },\n }\n\n const scopedSlots = getPrefixedScopedSlots('footer.', this.$scopedSlots)\n\n return this.$createElement(VDataFooter, {\n scopedSlots,\n ...data,\n })\n },\n genDefaultScopedSlot (props: any) {\n const outerProps = {\n ...props,\n someItems: this.someItems,\n everyItem: this.everyItem,\n toggleSelectAll: this.toggleSelectAll,\n }\n\n return this.$createElement('div', {\n staticClass: 'v-data-iterator',\n }, [\n getSlot(this, 'header', outerProps, true),\n this.genItems(props),\n this.genFooter(props),\n getSlot(this, 'footer', outerProps, true),\n ])\n },\n },\n\n render (): VNode {\n return this.$createElement(VData, {\n props: this.$props,\n on: {\n 'update:options': (v: any, old: any) => !deepEqual(v, old) && this.$emit('update:options', v),\n 'update:page': (v: any) => this.$emit('update:page', v),\n 'update:items-per-page': (v: any) => this.$emit('update:items-per-page', v),\n 'update:sort-by': (v: any) => this.$emit('update:sort-by', v),\n 'update:sort-desc': (v: any) => this.$emit('update:sort-desc', v),\n 'update:group-by': (v: any) => this.$emit('update:group-by', v),\n 'update:group-desc': (v: any) => this.$emit('update:group-desc', v),\n pagination: (v: any, old: any) => !deepEqual(v, old) && this.$emit('pagination', v),\n 'current-items': (v: any[]) => {\n this.internalCurrentItems = v\n this.$emit('current-items', v)\n },\n 'page-count': (v: number) => this.$emit('page-count', v),\n },\n scopedSlots: {\n default: this.genDefaultScopedSlot,\n },\n })\n },\n})\n","import { VDataTable } from '../'\nimport VIcon from '../../VIcon'\nimport VSimpleCheckbox from '../../VCheckbox/VSimpleCheckbox'\nimport ripple from '../../../directives/ripple'\n\nimport Vue from 'vue'\nimport { PropValidator } from 'vue/types/options'\nimport mixins from '../../../util/mixins'\nimport { DataOptions, DataTableHeader } from 'vuetify/types'\n\ntype VDataTableInstance = InstanceType\n\ninterface options extends Vue {\n dataTable: VDataTableInstance\n}\n\nexport default mixins().extend({\n // https://github.com/vuejs/vue/issues/6872\n directives: {\n ripple,\n },\n\n props: {\n headers: {\n type: Array,\n default: () => ([]),\n } as PropValidator,\n options: {\n type: Object,\n default: () => ({\n page: 1,\n itemsPerPage: 10,\n sortBy: [],\n sortDesc: [],\n groupBy: [],\n groupDesc: [],\n multiSort: false,\n mustSort: false,\n }),\n } as PropValidator,\n checkboxColor: String,\n sortIcon: {\n type: String,\n default: '$sort',\n },\n everyItem: Boolean,\n someItems: Boolean,\n showGroupBy: Boolean,\n singleSelect: Boolean,\n disableSort: Boolean,\n },\n\n methods: {\n genSelectAll () {\n const data = {\n props: {\n value: this.everyItem,\n indeterminate: !this.everyItem && this.someItems,\n color: this.checkboxColor ?? '',\n },\n on: {\n input: (v: boolean) => this.$emit('toggle-select-all', v),\n },\n }\n\n if (this.$scopedSlots['data-table-select']) {\n return this.$scopedSlots['data-table-select']!(data)\n }\n\n return this.$createElement(VSimpleCheckbox, {\n staticClass: 'v-data-table__checkbox',\n ...data,\n })\n },\n genSortIcon () {\n return this.$createElement(VIcon, {\n staticClass: 'v-data-table-header__icon',\n props: {\n size: 18,\n },\n }, [this.sortIcon])\n },\n },\n})\n","import { VNode, VNodeChildrenArrayContents } from 'vue'\nimport mixins from '../../util/mixins'\nimport VSelect from '../VSelect/VSelect'\nimport VChip from '../VChip'\nimport header from './mixins/header'\nimport { wrapInArray } from '../../util/helpers'\n\nexport default mixins(header).extend({\n name: 'v-data-table-header-mobile',\n\n props: {\n sortByText: {\n type: String,\n default: '$vuetify.dataTable.sortBy',\n },\n },\n\n methods: {\n genSortChip (props: any) {\n const children: VNodeChildrenArrayContents = [props.item.text]\n\n const sortIndex = this.options.sortBy.findIndex(k => k === props.item.value)\n const beingSorted = sortIndex >= 0\n const isDesc = this.options.sortDesc[sortIndex]\n\n children.push(this.$createElement('div', {\n staticClass: 'v-chip__close',\n class: {\n sortable: true,\n active: beingSorted,\n asc: beingSorted && !isDesc,\n desc: beingSorted && isDesc,\n },\n }, [this.genSortIcon()]))\n\n return this.$createElement(VChip, {\n staticClass: 'sortable',\n on: {\n click: (e: MouseEvent) => {\n e.stopPropagation()\n this.$emit('sort', props.item.value)\n },\n },\n }, children)\n },\n genSortSelect (items: any[]) {\n return this.$createElement(VSelect, {\n props: {\n label: this.$vuetify.lang.t(this.sortByText),\n items,\n hideDetails: true,\n multiple: this.options.multiSort,\n value: this.options.multiSort ? this.options.sortBy : this.options.sortBy[0],\n menuProps: { closeOnContentClick: true },\n },\n on: {\n change: (v: string | string[]) => this.$emit('sort', v),\n },\n scopedSlots: {\n selection: props => this.genSortChip(props),\n },\n })\n },\n },\n\n render (h): VNode {\n const children: VNodeChildrenArrayContents = []\n\n const header = this.headers.find(h => h.value === 'data-table-select')\n if (header && !this.singleSelect) {\n children.push(this.$createElement('div', {\n class: [\n 'v-data-table-header-mobile__select',\n ...wrapInArray(header.class),\n ],\n attrs: {\n width: header.width,\n },\n }, [this.genSelectAll()]))\n }\n\n const sortHeaders = this.headers\n .filter(h => h.sortable !== false && h.value !== 'data-table-select')\n .map(h => ({\n text: h.text,\n value: h.value,\n }))\n\n if (!this.disableSort && sortHeaders.length) {\n children.push(this.genSortSelect(sortHeaders))\n }\n\n const th = children.length\n ? h('th', [h('div', { staticClass: 'v-data-table-header-mobile__wrapper' }, children)])\n : undefined\n\n const tr = h('tr', [th])\n\n return h('thead', {\n staticClass: 'v-data-table-header v-data-table-header-mobile',\n }, [tr])\n },\n})\n","// Helpers\nimport { VNode, VNodeData } from 'vue'\nimport mixins from '../../util/mixins'\nimport header from './mixins/header'\nimport { wrapInArray, convertToUnit } from '../../util/helpers'\nimport { DataTableHeader } from 'vuetify/types'\n\nexport default mixins(header).extend({\n name: 'v-data-table-header-desktop',\n\n methods: {\n genGroupByToggle (header: DataTableHeader) {\n return this.$createElement('span', {\n on: {\n click: (e: MouseEvent) => {\n e.stopPropagation()\n this.$emit('group', header.value)\n },\n },\n }, ['group'])\n },\n getAria (beingSorted: boolean, isDesc: boolean) {\n const $t = (key: string) => this.$vuetify.lang.t(`$vuetify.dataTable.ariaLabel.${key}`)\n\n let ariaSort = 'none'\n let ariaLabel = [\n $t('sortNone'),\n $t('activateAscending'),\n ]\n\n if (!beingSorted) {\n return { ariaSort, ariaLabel: ariaLabel.join(' ') }\n }\n\n if (isDesc) {\n ariaSort = 'descending'\n ariaLabel = [\n $t('sortDescending'),\n $t(this.options.mustSort ? 'activateAscending' : 'activateNone'),\n ]\n } else {\n ariaSort = 'ascending'\n ariaLabel = [\n $t('sortAscending'),\n $t('activateDescending'),\n ]\n }\n\n return { ariaSort, ariaLabel: ariaLabel.join(' ') }\n },\n genHeader (header: DataTableHeader) {\n const data: Required> = {\n attrs: {\n role: 'columnheader',\n scope: 'col',\n 'aria-label': header.text || '',\n },\n style: {\n width: convertToUnit(header.width),\n minWidth: convertToUnit(header.width),\n },\n class: [\n `text-${header.align || 'start'}`,\n ...wrapInArray(header.class),\n header.divider && 'v-data-table__divider',\n ],\n on: {},\n }\n const children = []\n\n if (header.value === 'data-table-select' && !this.singleSelect) {\n return this.$createElement('th', data, [this.genSelectAll()])\n }\n\n children.push(\n this.$scopedSlots.hasOwnProperty(header.value)\n ? this.$scopedSlots[header.value]!({ header })\n : this.$createElement('span', [header.text])\n )\n\n if (!this.disableSort && (header.sortable || !header.hasOwnProperty('sortable'))) {\n data.on.click = () => this.$emit('sort', header.value)\n\n const sortIndex = this.options.sortBy.findIndex(k => k === header.value)\n const beingSorted = sortIndex >= 0\n const isDesc = this.options.sortDesc[sortIndex]\n\n data.class.push('sortable')\n\n const { ariaLabel, ariaSort } = this.getAria(beingSorted, isDesc)\n\n data.attrs['aria-label'] += `${header.text ? ': ' : ''}${ariaLabel}`\n data.attrs['aria-sort'] = ariaSort\n\n if (beingSorted) {\n data.class.push('active')\n data.class.push(isDesc ? 'desc' : 'asc')\n }\n\n if (header.align === 'end') children.unshift(this.genSortIcon())\n else children.push(this.genSortIcon())\n\n if (this.options.multiSort && beingSorted) {\n children.push(this.$createElement('span', { class: 'v-data-table-header__sort-badge' }, [String(sortIndex + 1)]))\n }\n }\n\n if (this.showGroupBy && header.groupable !== false) children.push(this.genGroupByToggle(header))\n\n return this.$createElement('th', data, children)\n },\n },\n\n render (): VNode {\n return this.$createElement('thead', {\n staticClass: 'v-data-table-header',\n }, [\n this.$createElement('tr', this.headers.map(header => this.genHeader(header))),\n ])\n },\n})\n","import { VNodeData } from 'vue'\n\n/**\n * Removes duplicate `@input` listeners when\n * using v-model with functional components\n *\n * @see https://github.com/vuetifyjs/vuetify/issues/4460\n */\nexport default function dedupeModelListeners (data: VNodeData): void {\n if (data.model && data.on && data.on.input) {\n if (Array.isArray(data.on.input)) {\n const i = data.on.input.indexOf(data.model.callback)\n if (i > -1) data.on.input.splice(i, 1)\n } else {\n delete data.on.input\n }\n }\n}\n","import { CreateElement, VNode } from 'vue'\n\nexport default function rebuildFunctionalSlots (slots: { [key: string]: VNode[] | undefined }, h: CreateElement) {\n const children: VNode[] = []\n\n for (const slot in slots) {\n if (slots.hasOwnProperty(slot)) {\n children.push(h('template', { slot }, slots[slot]))\n }\n }\n\n return children\n}\n","// Styles\nimport './VDataTableHeader.sass'\n\n// Components\nimport VDataTableHeaderMobile from './VDataTableHeaderMobile'\nimport VDataTableHeaderDesktop from './VDataTableHeaderDesktop'\n\n// Mixins\nimport header from './mixins/header'\n\n// Utilities\nimport dedupeModelListeners from '../../util/dedupeModelListeners'\nimport mergeData from '../../util/mergeData'\nimport rebuildSlots from '../../util/rebuildFunctionalSlots'\n\n// Types\nimport Vue from 'vue'\n\n/* @vue/component */\nexport default Vue.extend({\n name: 'v-data-table-header',\n\n functional: true,\n\n props: {\n ...header.options.props,\n mobile: Boolean,\n },\n\n render (h, { props, data, slots }) {\n dedupeModelListeners(data)\n const children = rebuildSlots(slots(), h)\n\n data = mergeData(data, { props })\n\n if (props.mobile) {\n return h(VDataTableHeaderMobile, data, children)\n } else {\n return h(VDataTableHeaderDesktop, data, children)\n }\n },\n})\n","// Types\nimport Vue, { VNode, PropType } from 'vue'\nimport { DataTableHeader } from 'vuetify/types'\n\n// Utils\nimport { getObjectValueByPath, wrapInArray } from '../../util/helpers'\n\nfunction needsTd (slot: VNode[] | undefined) {\n return slot!.length !== 1 ||\n !['td', 'th'].includes(slot![0]?.tag!)\n}\n\nexport default Vue.extend({\n name: 'row',\n\n functional: true,\n\n props: {\n headers: Array as PropType,\n index: Number,\n item: Object,\n rtl: Boolean,\n },\n\n render (h, { props, slots, data }): VNode {\n const computedSlots = slots()\n\n const columns = props.headers.map((header: DataTableHeader) => {\n const children = []\n const value = getObjectValueByPath(props.item, header.value)\n\n const slotName = header.value\n const scopedSlot = data.scopedSlots && data.scopedSlots.hasOwnProperty(slotName) && data.scopedSlots[slotName]\n const regularSlot = computedSlots.hasOwnProperty(slotName) && computedSlots[slotName]\n\n if (scopedSlot) {\n children.push(...wrapInArray(scopedSlot({\n item: props.item,\n isMobile: false,\n header,\n index: props.index,\n value,\n })))\n } else if (regularSlot) {\n children.push(...wrapInArray(regularSlot))\n } else {\n children.push(value == null ? value : String(value))\n }\n\n const textAlign = `text-${header.align || 'start'}`\n\n return needsTd(children)\n ? h('td', {\n class: [\n textAlign,\n header.cellClass,\n {\n 'v-data-table__divider': header.divider,\n },\n ],\n }, children)\n : children\n })\n\n return h('tr', data, columns)\n },\n})\n","import Vue, { VNode } from 'vue'\n\nexport default Vue.extend({\n name: 'row-group',\n\n functional: true,\n\n props: {\n value: {\n type: Boolean,\n default: true,\n },\n headerClass: {\n type: String,\n default: 'v-row-group__header',\n },\n contentClass: String,\n summaryClass: {\n type: String,\n default: 'v-row-group__summary',\n },\n },\n\n render (h, { slots, props }): VNode {\n const computedSlots = slots()\n const children = []\n\n if (computedSlots['column.header']) {\n children.push(h('tr', {\n staticClass: props.headerClass,\n }, computedSlots['column.header']))\n } else if (computedSlots['row.header']) {\n children.push(...computedSlots['row.header'])\n }\n\n if (computedSlots['row.content'] && props.value) children.push(...computedSlots['row.content'])\n\n if (computedSlots['column.summary']) {\n children.push(h('tr', {\n staticClass: props.summaryClass,\n }, computedSlots['column.summary']))\n } else if (computedSlots['row.summary']) {\n children.push(...computedSlots['row.summary'])\n }\n\n return children as any\n },\n})\n","import Vue, { VNode, PropType } from 'vue'\nimport { getObjectValueByPath } from '../../util/helpers'\nimport { DataTableHeader } from 'vuetify/types'\n\nexport default Vue.extend({\n name: 'row',\n\n functional: true,\n\n props: {\n headers: Array as PropType,\n hideDefaultHeader: Boolean,\n index: Number,\n item: Object,\n rtl: Boolean,\n },\n\n render (h, { props, slots, data }): VNode {\n const computedSlots = slots()\n\n const columns: VNode[] = props.headers.map((header: DataTableHeader) => {\n const classes = {\n 'v-data-table__mobile-row': true,\n }\n\n const children = []\n const value = getObjectValueByPath(props.item, header.value)\n\n const slotName = header.value\n const scopedSlot = data.scopedSlots && data.scopedSlots.hasOwnProperty(slotName) && data.scopedSlots[slotName]\n const regularSlot = computedSlots.hasOwnProperty(slotName) && computedSlots[slotName]\n\n if (scopedSlot) {\n children.push(scopedSlot({\n item: props.item,\n isMobile: true,\n header,\n index: props.index,\n value,\n }))\n } else if (regularSlot) {\n children.push(regularSlot)\n } else {\n children.push(value == null ? value : String(value))\n }\n\n const mobileRowChildren = [\n h('div', {\n staticClass: 'v-data-table__mobile-row__cell',\n }, children),\n ]\n\n if (header.value !== 'dataTableSelect' && !props.hideDefaultHeader) {\n mobileRowChildren.unshift(\n h('div', {\n staticClass: 'v-data-table__mobile-row__header',\n }, [header.text])\n )\n }\n\n return h('td', { class: classes }, mobileRowChildren)\n })\n\n return h('tr', { ...data, staticClass: 'v-data-table__mobile-table-row' }, columns)\n },\n})\n","import './VDataTable.sass'\n\n// Types\nimport { VNode, VNodeChildrenArrayContents, VNodeChildren } from 'vue'\nimport { PropValidator } from 'vue/types/options'\nimport {\n DataTableHeader,\n DataTableFilterFunction,\n DataScopeProps,\n DataOptions,\n DataPagination,\n DataTableCompareFunction,\n DataItemsPerPageOption,\n ItemGroup,\n RowClassFunction,\n DataTableItemProps,\n} from 'vuetify/types'\n\n// Components\nimport { VData } from '../VData'\nimport { VDataFooter, VDataIterator } from '../VDataIterator'\nimport VBtn from '../VBtn'\nimport VDataTableHeader from './VDataTableHeader'\n// import VVirtualTable from './VVirtualTable'\nimport VIcon from '../VIcon'\nimport Row from './Row'\nimport RowGroup from './RowGroup'\nimport VSimpleCheckbox from '../VCheckbox/VSimpleCheckbox'\nimport VSimpleTable from './VSimpleTable'\nimport MobileRow from './MobileRow'\n\n// Mixins\nimport Loadable from '../../mixins/loadable'\n\n// Directives\nimport ripple from '../../directives/ripple'\n\n// Helpers\nimport mixins from '../../util/mixins'\nimport { deepEqual, getObjectValueByPath, getPrefixedScopedSlots, getSlot, defaultFilter, camelizeObjectKeys, getPropertyFromItem } from '../../util/helpers'\nimport { breaking } from '../../util/console'\nimport { mergeClasses } from '../../util/mergeData'\n\nfunction filterFn (item: any, search: string | null, filter: DataTableFilterFunction) {\n return (header: DataTableHeader) => {\n const value = getObjectValueByPath(item, header.value)\n return header.filter ? header.filter(value, search, item) : filter(value, search, item)\n }\n}\n\nfunction searchTableItems (\n items: any[],\n search: string | null,\n headersWithCustomFilters: DataTableHeader[],\n headersWithoutCustomFilters: DataTableHeader[],\n customFilter: DataTableFilterFunction\n) {\n search = typeof search === 'string' ? search.trim() : null\n\n return items.filter(item => {\n // Headers with custom filters are evaluated whether or not a search term has been provided.\n // We need to match every filter to be included in the results.\n const matchesColumnFilters = headersWithCustomFilters.every(filterFn(item, search, defaultFilter))\n\n // Headers without custom filters are only filtered by the `search` property if it is defined.\n // We only need a single column to match the search term to be included in the results.\n const matchesSearchTerm = !search || headersWithoutCustomFilters.some(filterFn(item, search, customFilter))\n\n return matchesColumnFilters && matchesSearchTerm\n })\n}\n\n/* @vue/component */\nexport default mixins(\n VDataIterator,\n Loadable,\n).extend({\n name: 'v-data-table',\n\n // https://github.com/vuejs/vue/issues/6872\n directives: {\n ripple,\n },\n\n props: {\n headers: {\n type: Array,\n default: () => [],\n } as PropValidator,\n showSelect: Boolean,\n checkboxColor: String,\n showExpand: Boolean,\n showGroupBy: Boolean,\n // TODO: Fix\n // virtualRows: Boolean,\n height: [Number, String],\n hideDefaultHeader: Boolean,\n caption: String,\n dense: Boolean,\n headerProps: Object,\n calculateWidths: Boolean,\n fixedHeader: Boolean,\n headersLength: Number,\n expandIcon: {\n type: String,\n default: '$expand',\n },\n customFilter: {\n type: Function,\n default: defaultFilter,\n } as PropValidator,\n itemClass: {\n type: [String, Function],\n default: () => '',\n } as PropValidator,\n loaderHeight: {\n type: [Number, String],\n default: 4,\n },\n },\n\n data () {\n return {\n internalGroupBy: [] as string[],\n openCache: {} as { [key: string]: boolean },\n widths: [] as number[],\n }\n },\n\n computed: {\n computedHeaders (): DataTableHeader[] {\n if (!this.headers) return []\n const headers = this.headers.filter(h => h.value === undefined || !this.internalGroupBy.find(v => v === h.value))\n const defaultHeader = { text: '', sortable: false, width: '1px' }\n\n if (this.showSelect) {\n const index = headers.findIndex(h => h.value === 'data-table-select')\n if (index < 0) headers.unshift({ ...defaultHeader, value: 'data-table-select' })\n else headers.splice(index, 1, { ...defaultHeader, ...headers[index] })\n }\n\n if (this.showExpand) {\n const index = headers.findIndex(h => h.value === 'data-table-expand')\n if (index < 0) headers.unshift({ ...defaultHeader, value: 'data-table-expand' })\n else headers.splice(index, 1, { ...defaultHeader, ...headers[index] })\n }\n\n return headers\n },\n colspanAttrs (): object | undefined {\n return this.isMobile ? undefined : {\n colspan: this.headersLength || this.computedHeaders.length,\n }\n },\n columnSorters (): Record {\n return this.computedHeaders.reduce>((acc, header) => {\n if (header.sort) acc[header.value] = header.sort\n return acc\n }, {})\n },\n headersWithCustomFilters (): DataTableHeader[] {\n return this.headers.filter(header => header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true))\n },\n headersWithoutCustomFilters (): DataTableHeader[] {\n return this.headers.filter(header => !header.filter && (!header.hasOwnProperty('filterable') || header.filterable === true))\n },\n sanitizedHeaderProps (): Record {\n return camelizeObjectKeys(this.headerProps)\n },\n computedItemsPerPage (): number {\n const itemsPerPage = this.options && this.options.itemsPerPage ? this.options.itemsPerPage : this.itemsPerPage\n const itemsPerPageOptions: DataItemsPerPageOption[] | undefined = this.sanitizedFooterProps.itemsPerPageOptions\n\n if (\n itemsPerPageOptions &&\n !itemsPerPageOptions.find(item => typeof item === 'number' ? item === itemsPerPage : item.value === itemsPerPage)\n ) {\n const firstOption = itemsPerPageOptions[0]\n return typeof firstOption === 'object' ? firstOption.value : firstOption\n }\n\n return itemsPerPage\n },\n groupByText (): string {\n return this.headers?.find(header => header.value === this.internalGroupBy?.[0])?.text ?? ''\n },\n },\n\n created () {\n const breakingProps = [\n ['sort-icon', 'header-props.sort-icon'],\n ['hide-headers', 'hide-default-header'],\n ['select-all', 'show-select'],\n ]\n\n /* istanbul ignore next */\n breakingProps.forEach(([original, replacement]) => {\n if (this.$attrs.hasOwnProperty(original)) breaking(original, replacement, this)\n })\n },\n\n mounted () {\n // if ((!this.sortBy || !this.sortBy.length) && (!this.options.sortBy || !this.options.sortBy.length)) {\n // const firstSortable = this.headers.find(h => !('sortable' in h) || !!h.sortable)\n // if (firstSortable) this.updateOptions({ sortBy: [firstSortable.value], sortDesc: [false] })\n // }\n\n if (this.calculateWidths) {\n window.addEventListener('resize', this.calcWidths)\n this.calcWidths()\n }\n },\n\n beforeDestroy () {\n if (this.calculateWidths) {\n window.removeEventListener('resize', this.calcWidths)\n }\n },\n\n methods: {\n calcWidths () {\n this.widths = Array.from(this.$el.querySelectorAll('th')).map(e => e.clientWidth)\n },\n customFilterWithColumns (items: any[], search: string) {\n return searchTableItems(items, search, this.headersWithCustomFilters, this.headersWithoutCustomFilters, this.customFilter)\n },\n customSortWithHeaders (items: any[], sortBy: string[], sortDesc: boolean[], locale: string) {\n return this.customSort(items, sortBy, sortDesc, locale, this.columnSorters)\n },\n createItemProps (item: any, index: number): DataTableItemProps {\n const props = VDataIterator.options.methods.createItemProps.call(this, item, index)\n\n return Object.assign(props, { headers: this.computedHeaders })\n },\n genCaption (props: DataScopeProps) {\n if (this.caption) return [this.$createElement('caption', [this.caption])]\n\n return getSlot(this, 'caption', props, true)\n },\n genColgroup (props: DataScopeProps) {\n return this.$createElement('colgroup', this.computedHeaders.map(header => {\n return this.$createElement('col', {\n class: {\n divider: header.divider,\n },\n })\n }))\n },\n genLoading () {\n const th = this.$createElement('th', {\n staticClass: 'column',\n attrs: this.colspanAttrs,\n }, [this.genProgress()])\n\n const tr = this.$createElement('tr', {\n staticClass: 'v-data-table__progress',\n }, [th])\n\n return this.$createElement('thead', [tr])\n },\n genHeaders (props: DataScopeProps) {\n const data = {\n props: {\n ...this.sanitizedHeaderProps,\n headers: this.computedHeaders,\n options: props.options,\n mobile: this.isMobile,\n showGroupBy: this.showGroupBy,\n checkboxColor: this.checkboxColor,\n someItems: this.someItems,\n everyItem: this.everyItem,\n singleSelect: this.singleSelect,\n disableSort: this.disableSort,\n },\n on: {\n sort: props.sort,\n group: props.group,\n 'toggle-select-all': this.toggleSelectAll,\n },\n }\n\n // TODO: rename to 'head'? (thead, tbody, tfoot)\n const children: VNodeChildrenArrayContents = [getSlot(this, 'header', {\n ...data,\n isMobile: this.isMobile,\n })]\n\n if (!this.hideDefaultHeader) {\n const scopedSlots = getPrefixedScopedSlots('header.', this.$scopedSlots)\n children.push(this.$createElement(VDataTableHeader, {\n ...data,\n scopedSlots,\n }))\n }\n\n if (this.loading) children.push(this.genLoading())\n\n return children\n },\n genEmptyWrapper (content: VNodeChildrenArrayContents) {\n return this.$createElement('tr', {\n staticClass: 'v-data-table__empty-wrapper',\n }, [\n this.$createElement('td', {\n attrs: this.colspanAttrs,\n }, content),\n ])\n },\n genItems (items: any[], props: DataScopeProps) {\n const empty = this.genEmpty(props.originalItemsLength, props.pagination.itemsLength)\n if (empty) return [empty]\n\n return props.groupedItems\n ? this.genGroupedRows(props.groupedItems, props)\n : this.genRows(items, props)\n },\n genGroupedRows (groupedItems: ItemGroup[], props: DataScopeProps) {\n return groupedItems.map(group => {\n if (!this.openCache.hasOwnProperty(group.name)) this.$set(this.openCache, group.name, true)\n\n if (this.$scopedSlots.group) {\n return this.$scopedSlots.group({\n group: group.name,\n options: props.options,\n isMobile: this.isMobile,\n items: group.items,\n headers: this.computedHeaders,\n })\n } else {\n return this.genDefaultGroupedRow(group.name, group.items, props)\n }\n })\n },\n genDefaultGroupedRow (group: string, items: any[], props: DataScopeProps) {\n const isOpen = !!this.openCache[group]\n const children: VNodeChildren = [\n this.$createElement('template', { slot: 'row.content' }, this.genRows(items, props)),\n ]\n const toggleFn = () => this.$set(this.openCache, group, !this.openCache[group])\n const removeFn = () => props.updateOptions({ groupBy: [], groupDesc: [] })\n\n if (this.$scopedSlots['group.header']) {\n children.unshift(this.$createElement('template', { slot: 'column.header' }, [\n this.$scopedSlots['group.header']!({\n group,\n groupBy: props.options.groupBy,\n isMobile: this.isMobile,\n items,\n headers: this.computedHeaders,\n isOpen,\n toggle: toggleFn,\n remove: removeFn,\n }),\n ]))\n } else {\n const toggle = this.$createElement(VBtn, {\n staticClass: 'ma-0',\n props: {\n icon: true,\n small: true,\n },\n on: {\n click: toggleFn,\n },\n }, [this.$createElement(VIcon, [isOpen ? '$minus' : '$plus'])])\n\n const remove = this.$createElement(VBtn, {\n staticClass: 'ma-0',\n props: {\n icon: true,\n small: true,\n },\n on: {\n click: removeFn,\n },\n }, [this.$createElement(VIcon, ['$close'])])\n\n const column = this.$createElement('td', {\n staticClass: 'text-start',\n attrs: this.colspanAttrs,\n }, [toggle, `${this.groupByText}: ${group}`, remove])\n\n children.unshift(this.$createElement('template', { slot: 'column.header' }, [column]))\n }\n\n if (this.$scopedSlots['group.summary']) {\n children.push(this.$createElement('template', { slot: 'column.summary' }, [\n this.$scopedSlots['group.summary']!({\n group,\n groupBy: props.options.groupBy,\n isMobile: this.isMobile,\n items,\n headers: this.computedHeaders,\n isOpen,\n toggle: toggleFn,\n }),\n ]))\n }\n\n return this.$createElement(RowGroup, {\n key: group,\n props: {\n value: isOpen,\n },\n }, children)\n },\n genRows (items: any[], props: DataScopeProps) {\n return this.$scopedSlots.item ? this.genScopedRows(items, props) : this.genDefaultRows(items, props)\n },\n genScopedRows (items: any[], props: DataScopeProps) {\n const rows = []\n\n for (let i = 0; i < items.length; i++) {\n const item = items[i]\n rows.push(this.$scopedSlots.item!({\n ...this.createItemProps(item, i),\n isMobile: this.isMobile,\n }))\n\n if (this.isExpanded(item)) {\n rows.push(this.$scopedSlots['expanded-item']!({\n headers: this.computedHeaders,\n isMobile: this.isMobile,\n index: i,\n item,\n }))\n }\n }\n\n return rows\n },\n genDefaultRows (items: any[], props: DataScopeProps) {\n return this.$scopedSlots['expanded-item']\n ? items.map((item, index) => this.genDefaultExpandedRow(item, index))\n : items.map((item, index) => this.genDefaultSimpleRow(item, index))\n },\n genDefaultExpandedRow (item: any, index: number): VNode {\n const isExpanded = this.isExpanded(item)\n const classes = {\n 'v-data-table__expanded v-data-table__expanded__row': isExpanded,\n }\n const headerRow = this.genDefaultSimpleRow(item, index, classes)\n const expandedRow = this.$createElement('tr', {\n staticClass: 'v-data-table__expanded v-data-table__expanded__content',\n }, [this.$scopedSlots['expanded-item']!({\n headers: this.computedHeaders,\n isMobile: this.isMobile,\n item,\n })])\n\n return this.$createElement(RowGroup, {\n props: {\n value: isExpanded,\n },\n }, [\n this.$createElement('template', { slot: 'row.header' }, [headerRow]),\n this.$createElement('template', { slot: 'row.content' }, [expandedRow]),\n ])\n },\n genDefaultSimpleRow (item: any, index: number, classes: Record = {}): VNode {\n const scopedSlots = getPrefixedScopedSlots('item.', this.$scopedSlots)\n\n const data = this.createItemProps(item, index)\n\n if (this.showSelect) {\n const slot = scopedSlots['data-table-select']\n scopedSlots['data-table-select'] = slot ? () => slot({\n ...data,\n isMobile: this.isMobile,\n }) : () => this.$createElement(VSimpleCheckbox, {\n staticClass: 'v-data-table__checkbox',\n props: {\n value: data.isSelected,\n disabled: !this.isSelectable(item),\n color: this.checkboxColor ?? '',\n },\n on: {\n input: (val: boolean) => data.select(val),\n },\n })\n }\n\n if (this.showExpand) {\n const slot = scopedSlots['data-table-expand']\n scopedSlots['data-table-expand'] = slot ? () => slot(data) : () => this.$createElement(VIcon, {\n staticClass: 'v-data-table__expand-icon',\n class: {\n 'v-data-table__expand-icon--active': data.isExpanded,\n },\n on: {\n click: (e: MouseEvent) => {\n e.stopPropagation()\n data.expand(!data.isExpanded)\n },\n },\n }, [this.expandIcon])\n }\n\n return this.$createElement(this.isMobile ? MobileRow : Row, {\n key: getObjectValueByPath(item, this.itemKey),\n class: mergeClasses(\n { ...classes, 'v-data-table__selected': data.isSelected },\n getPropertyFromItem(item, this.itemClass)\n ),\n props: {\n headers: this.computedHeaders,\n hideDefaultHeader: this.hideDefaultHeader,\n index,\n item,\n rtl: this.$vuetify.rtl,\n },\n scopedSlots,\n on: {\n // TODO: for click, the first argument should be the event, and the second argument should be data,\n // but this is a breaking change so it's for v3\n click: () => this.$emit('click:row', item, data),\n contextmenu: (event: MouseEvent) => this.$emit('contextmenu:row', event, data),\n dblclick: (event: MouseEvent) => this.$emit('dblclick:row', event, data),\n },\n })\n },\n genBody (props: DataScopeProps): VNode | string | VNodeChildren {\n const data = {\n ...props,\n expand: this.expand,\n headers: this.computedHeaders,\n isExpanded: this.isExpanded,\n isMobile: this.isMobile,\n isSelected: this.isSelected,\n select: this.select,\n }\n\n if (this.$scopedSlots.body) {\n return this.$scopedSlots.body!(data)\n }\n\n return this.$createElement('tbody', [\n getSlot(this, 'body.prepend', data, true),\n this.genItems(props.items, props),\n getSlot(this, 'body.append', data, true),\n ])\n },\n genFoot (props: DataScopeProps): VNode[] | undefined {\n return this.$scopedSlots.foot?.(props)\n },\n genFooters (props: DataScopeProps) {\n const data = {\n props: {\n options: props.options,\n pagination: props.pagination,\n itemsPerPageText: '$vuetify.dataTable.itemsPerPageText',\n ...this.sanitizedFooterProps,\n },\n on: {\n 'update:options': (value: any) => props.updateOptions(value),\n },\n widths: this.widths,\n headers: this.computedHeaders,\n }\n\n const children: VNodeChildren = [\n getSlot(this, 'footer', data, true),\n ]\n\n if (!this.hideDefaultFooter) {\n children.push(this.$createElement(VDataFooter, {\n ...data,\n scopedSlots: getPrefixedScopedSlots('footer.', this.$scopedSlots),\n }))\n }\n\n return children\n },\n genDefaultScopedSlot (props: DataScopeProps): VNode {\n const simpleProps = {\n height: this.height,\n fixedHeader: this.fixedHeader,\n dense: this.dense,\n }\n\n // if (this.virtualRows) {\n // return this.$createElement(VVirtualTable, {\n // props: Object.assign(simpleProps, {\n // items: props.items,\n // height: this.height,\n // rowHeight: this.dense ? 24 : 48,\n // headerHeight: this.dense ? 32 : 48,\n // // TODO: expose rest of props from virtual table?\n // }),\n // scopedSlots: {\n // items: ({ items }) => this.genItems(items, props) as any,\n // },\n // }, [\n // this.proxySlot('body.before', [this.genCaption(props), this.genHeaders(props)]),\n // this.proxySlot('bottom', this.genFooters(props)),\n // ])\n // }\n\n return this.$createElement(VSimpleTable, {\n props: simpleProps,\n class: {\n 'v-data-table--mobile': this.isMobile,\n },\n }, [\n this.proxySlot('top', getSlot(this, 'top', {\n ...props,\n isMobile: this.isMobile,\n }, true)),\n this.genCaption(props),\n this.genColgroup(props),\n this.genHeaders(props),\n this.genBody(props),\n this.genFoot(props),\n this.proxySlot('bottom', this.genFooters(props)),\n ])\n },\n proxySlot (slot: string, content: VNodeChildren) {\n return this.$createElement('template', { slot }, content)\n },\n },\n\n render (): VNode {\n return this.$createElement(VData, {\n props: {\n ...this.$props,\n customFilter: this.customFilterWithColumns,\n customSort: this.customSortWithHeaders,\n itemsPerPage: this.computedItemsPerPage,\n },\n on: {\n 'update:options': (v: DataOptions, old: DataOptions) => {\n this.internalGroupBy = v.groupBy || []\n !deepEqual(v, old) && this.$emit('update:options', v)\n },\n 'update:page': (v: number) => this.$emit('update:page', v),\n 'update:items-per-page': (v: number) => this.$emit('update:items-per-page', v),\n 'update:sort-by': (v: string | string[]) => this.$emit('update:sort-by', v),\n 'update:sort-desc': (v: boolean | boolean[]) => this.$emit('update:sort-desc', v),\n 'update:group-by': (v: string | string[]) => this.$emit('update:group-by', v),\n 'update:group-desc': (v: boolean | boolean[]) => this.$emit('update:group-desc', v),\n pagination: (v: DataPagination, old: DataPagination) => !deepEqual(v, old) && this.$emit('pagination', v),\n 'current-items': (v: any[]) => {\n this.internalCurrentItems = v\n this.$emit('current-items', v)\n },\n 'page-count': (v: number) => this.$emit('page-count', v),\n },\n scopedSlots: {\n default: this.genDefaultScopedSlot,\n },\n })\n },\n})\n","import { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\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 (_vm.isSkipped)?_c('div',[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(_vm._s(_vm.$t(\"video_presentation.skipped\")))]),_c(VCardSubtitle,[_vm._v(\" \"+_vm._s(_vm._f(\"formatwithtime\")(_vm.submission.createdAt))+\" \")]),_c(VCardSubtitle,[_vm._v(_vm._s(_vm.submitter))])],1)],1):_c('div',{staticClass:\"wrapper\",class:{ horizontal: _vm.horizontal }},[_c('div',{staticClass:\"video-wrapper\"},[_c('VideoPlayer',{attrs:{\"id\":_vm.id,\"url\":_vm.submission.videoURI}})],1),_c('div',{staticClass:\"mt-4 flex-1\"},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_c('h3',[_vm._v(_vm._s(_vm._f(\"truncate\")(_vm.elementTitle,100)))]),_c('div',[_c('span',{staticClass:\"subtitle-2 text-truncate\"},[_vm._v(\" \"+_vm._s(_vm._f(\"truncate\")(_vm.submitter,50))+\" \")])]),_c('div',{staticClass:\"text-truncate\"},[_c('span',{staticClass:\"subtitle-2 text-truncate\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatwithtime\")(_vm.submission.createdAt))+\" \")])])]),_c('VideoMenu',{attrs:{\"submission\":_vm.submission,\"can-share\":_vm.canShare}})],1),_c('div',{staticClass:\"mt-4\"},[(_vm.isRateable)?_c('VideoRatings',{attrs:{\"seminar\":_vm.seminar,\"submission\":_vm.submission},on:{\"rated\":_vm.handleRated}}):_vm._e()],1),_c('div',{staticClass:\"mt-4\"},[_c(VBtn,{attrs:{\"small\":\"\",\"elevation\":\"0\"},on:{\"click\":_vm.goToVideo}},[_c('span',[_vm._v(\"See Details\")]),_c(VIcon,{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-chevron-right\")])],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\r\nimport Vue from \"vue\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport type { Seminar, Submission } from \"@/core/models\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\nimport VideoRatings from \"./VideoRatings.vue\";\r\nimport VideoMenu from \"./VideoMenu.vue\";\r\n\r\n@Component({ components: { VideoPlayer, VideoRatings, VideoMenu } })\r\nexport default class VideoSubmission extends Vue {\r\n @Prop({ default: () => false }) horizontal!: boolean;\r\n @Prop({ default: () => \"unknown_video\" }) id!: string;\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n @Getter(\"profile/id\") userId!: string;\r\n\r\n get isRateable() {\r\n return (this.submission as any).isRateable || false;\r\n }\r\n\r\n get isSkipped() {\r\n return this.submission?.skipped;\r\n }\r\n\r\n get submitter() {\r\n const user = this.seminar?.users?.find(\r\n x => x.id === this.submission?.userId,\r\n );\r\n if (!user) return \"<>\";\r\n return `${user.username}`;\r\n }\r\n\r\n get elementTitle() {\r\n const el = this.seminar?.elements?.find(\r\n x => x.id === this.submission?.elementId,\r\n );\r\n if (!el) return \"\";\r\n const other = el.submissions?.filter(\r\n x => x.elementId === this.submission?.elementId,\r\n );\r\n if (!other || other.length < 2) return el.title;\r\n const idx = other?.findIndex(x => x.id === this.submission?.id);\r\n return `${el.title} (${idx + 1})`;\r\n }\r\n\r\n get canShare() {\r\n const el = this.seminar?.elements?.find(\r\n x => x.id === this.submission?.elementId,\r\n );\r\n if (!el || el.type !== \"video_presentation\") return false;\r\n\r\n const maxShared = el.maxNumShared || 0;\r\n const numShared =\r\n this.seminar?.submissions?.filter(\r\n x => x.elementId === el.id && x.isShared,\r\n ).length || 0;\r\n\r\n return numShared < maxShared;\r\n }\r\n\r\n handleRated(payload: any) {\r\n this.$emit(\"rated\", payload);\r\n }\r\n\r\n goToVideo() {\r\n if (!this.submission?.id) return;\r\n this.$router.push(`/seminars/submission/${this.submission.id}`);\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!./VideoSubmission.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!./VideoSubmission.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VideoSubmission.vue?vue&type=template&id=4f968418&scoped=true&\"\nimport script from \"./VideoSubmission.vue?vue&type=script&lang=ts&\"\nexport * from \"./VideoSubmission.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./VideoSubmission.vue?vue&type=style&index=0&id=4f968418&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 \"4f968418\",\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&\"","import VSlider from './VSlider'\n\nexport { VSlider }\nexport default VSlider\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; }; }(); /* 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","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n autoGrow (val: boolean) {\n this.$nextTick(() => {\n val\n ? this.calculateInputHeight()\n : this.$refs.input?.style.removeProperty('height')\n })\n },\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n","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!./VideoSubmission.vue?vue&type=style&index=0&id=4f968418&prod&lang=scss&scoped=true&\"","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&\"","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","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!./VideoRatings.vue?vue&type=style&index=0&id=2e14c734&prod&lang=scss&scoped=true&\"","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VSwitch.sass'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\nimport VInput from '../VInput'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Components\nimport { VFabTransition } from '../transitions'\nimport VProgressCircular from '../VProgressCircular/VProgressCircular'\n\n// Helpers\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\n/* @vue/component */\nexport default Selectable.extend({\n name: 'v-switch',\n\n directives: { Touch },\n\n props: {\n inset: Boolean,\n loading: {\n type: [Boolean, String],\n default: false,\n },\n flat: {\n type: Boolean,\n default: false,\n },\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--switch': true,\n 'v-input--switch--flat': this.flat,\n 'v-input--switch--inset': this.inset,\n }\n },\n attrs (): object {\n return {\n 'aria-checked': String(this.isActive),\n 'aria-disabled': String(this.isDisabled),\n role: 'switch',\n }\n },\n // Do not return undefined if disabled,\n // according to spec, should still show\n // a color when disabled and active\n validationState (): string | undefined {\n if (this.hasError && this.shouldValidate) return 'error'\n if (this.hasSuccess) return 'success'\n if (this.hasColor !== null) return this.computedColor\n return undefined\n },\n switchData (): VNodeData {\n return this.setTextColor(this.loading ? undefined : this.validationState, {\n class: this.themeClasses,\n })\n },\n },\n\n methods: {\n genDefaultSlot (): (VNode | null)[] {\n return [\n this.genSwitch(),\n this.genLabel(),\n ]\n },\n genSwitch (): VNode {\n const { title, ...switchAttrs } = this.attrs$\n\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.genInput('checkbox', {\n ...this.attrs,\n ...switchAttrs,\n }),\n this.genRipple(this.setTextColor(this.validationState, {\n directives: [{\n name: 'touch',\n value: {\n left: this.onSwipeLeft,\n right: this.onSwipeRight,\n },\n }],\n })),\n this.$createElement('div', {\n staticClass: 'v-input--switch__track',\n ...this.switchData,\n }),\n this.$createElement('div', {\n staticClass: 'v-input--switch__thumb',\n ...this.switchData,\n }, [this.genProgress()]),\n ])\n },\n genProgress (): VNode {\n return this.$createElement(VFabTransition, {}, [\n this.loading === false\n ? null\n : this.$slots.progress || this.$createElement(VProgressCircular, {\n props: {\n color: (this.loading === true || this.loading === '')\n ? (this.color || 'primary')\n : this.loading,\n size: 16,\n width: 2,\n indeterminate: true,\n },\n }),\n ])\n },\n onSwipeLeft () {\n if (this.isActive) this.onChange()\n },\n onSwipeRight () {\n if (!this.isActive) this.onChange()\n },\n onKeydown (e: KeyboardEvent) {\n if (\n (e.keyCode === keyCodes.left && this.isActive) ||\n (e.keyCode === keyCodes.right && !this.isActive)\n ) this.onChange()\n },\n },\n})\n","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 { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VOverlay } from 'vuetify/lib/components/VOverlay';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\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',{staticClass:\"mb-8\"},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,{staticClass:\"d-flex justify-space-between\"},[_c('h3',{staticClass:\"mr-4 flex-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.title\"))+\" \")]),_c('div',{staticClass:\"d-flex align-center\"},[_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.removeDialog = true}}},on),[_c(VIcon,[_vm._v(\"mdi-account-remove\")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.removeAllUser\")))])]),_c('div',{staticClass:\"mx-2\"}),_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.clearDialog = true}}},on),[_c(VIcon,[_vm._v(\"mdi-delete\")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.removeAll\")))])]),_c('div',{staticClass:\"mx-2\"}),_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.filtersDialog = true}}},on),[_c(VIcon,[_vm._v(\"mdi-tune\")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.filterUsers\")))])]),_c('div',{staticClass:\"mx-2\"}),_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\",\"loading\":_vm.sentInvitationsLoading || _vm.usersLoading,\"disabled\":_vm.sentInvitationsLoading || _vm.usersLoading},on:{\"click\":_vm.refresh}},on),[_c(VIcon,[_vm._v(\"mdi-refresh\")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.refreshInv\")))])]),_c('div',{staticClass:\"mx-2\"}),_c(VTextField,{staticStyle:{\"max-width\":\"140px\"},attrs:{\"dense\":\"\",\"rounded\":\"\",\"outlined\":\"\",\"hide-details\":\"\",\"placeholder\":_vm.$t('seminars.admin.participants.search'),\"prepend-inner-icon\":\"mdi-magnify\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}}),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{attrs:{\"elevation\":\"0\",\"loading\":_vm.sending,\"disabled\":_vm.sending,\"color\":\"primary\"},on:{\"click\":_vm.openInviteUsers}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-account-group\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.invite\")))])],1)],1)]),_c(VCardText,[_c(VDataTable,{attrs:{\"loading\":_vm.usersLoading,\"headers\":_vm.headers,\"items\":_vm.items,\"items-per-page\":5,\"no-data-text\":_vm.$t('seminars.admin.participants.noParticipants')},scopedSlots:_vm._u([{key:\"item.name\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"py-4\"},[_c('h3',[_vm._v(_vm._s(item.name.username))]),_c('span',[_vm._v(\" \"+_vm._s(item.name.email)+\" · \"+_vm._s(item.id === _vm.seminar.ownerId ? \"Owner\" : \"User\")+\" \")])])]}},{key:\"item.progress\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',[_c('h4',{staticClass:\"mb-2\"},[_vm._v(_vm._s(Math.round(item.progress))+\"%\")]),_c(VProgressLinear,{staticStyle:{\"max-width\":\"100px\"},attrs:{\"value\":item.progress,\"height\":\"4px\",\"color\":\"primary\"}})],1)]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"d-flex\"},[_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.openUserDialog(item.id)}}},[_c(VIcon,[_vm._v(\"mdi-chevron-right\")])],1)],1)]}}])}),_c(VDivider),_c('div',{staticClass:\"mt-4 mb-4\"},[_c('div',{staticClass:\"overline\"},[_vm._v(_vm._s(_vm.$t(\"invitations.sent\")))]),(_vm.sentInvitations.length > 0)?_c(VList,{staticStyle:{\"overflow-y\":\"auto\"},attrs:{\"max-height\":\"200px\"}},_vm._l((_vm.sentInvitations),function(inv,i){return _c(VListItem,{key:i},[_c(VOverlay,{staticClass:\"d-flex align-center justify-center\",attrs:{\"absolute\":\"\",\"value\":_vm.revoking && _vm.revokedId === inv.id}},[_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"24\",\"width\":\"2\"}})],1),_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(inv.email))]),_c(VListItemSubtitle,[_vm._v(\" \"+_vm._s(_vm._f(\"formatwithtime\")(inv.createdAt))+\" \")])],1),_c(VListItemAction,[_c(VTooltip,{attrs:{\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.revoke(inv)}}},on),[_c(VIcon,[_vm._v(\"mdi-delete\")])],1)]}}],null,true)},[_c('span',[_vm._v(_vm._s(_vm.$t(\"invitations.revoke\")))])])],1)],1)}),1):_vm._e()],1),_c(VDivider),_c('div',{staticClass:\"mt-4\"},[_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.feedback.requested\")))]),_c('div',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.feedback.desc\")))]),_c(VList,_vm._l((_vm.askingForFeedback),function(item,i){return _c(VListItem,{key:i},[_c(VListItemContent,[_c(VListItemTitle,[_c('b',[_vm._v(_vm._s(_vm.getUser(item.userId)))])]),_c(VListItemSubtitle,[_c('span',[_vm._v(\"From element \")]),_c('b',[_vm._v(\"\\\"\"+_vm._s(_vm.getElement(item.elementId))+\"\\\"\")])]),_c(VListItemSubtitle,[_vm._v(\" \"+_vm._s(_vm._f(\"formatwithtime\")(item.createdAt))+\" \")])],1),_c(VListItemAction,[_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.selectVideo(item)}}},[_c(VIcon,[_vm._v(\"mdi-chevron-right\")])],1)],1)],1)}),1)],1)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"1000px\"},model:{value:(_vm.feedbackDialog),callback:function ($$v) {_vm.feedbackDialog=$$v},expression:\"feedbackDialog\"}},[(_vm.selectedVideo)?_c(VCard,[_c('div',{staticClass:\"d-flex py-4 px-4\"},[_c('h3',{staticClass:\"flex-1 mr-4\"},[_vm._v(_vm._s(_vm.$t(\"seminars.admin.feedback.title\")))]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.closeFeedbackDialog}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardText,[_c('VideoSubmission',{attrs:{\"id\":(\"owner_feedback_for_\" + (_vm.selectedVideo.id)),\"submission\":_vm.selectedVideo,\"seminar\":_vm.seminar,\"horizontal\":true}}),_c('div',{staticClass:\"mt-4\"}),(!_vm.givenFeedback)?_c('VideoRecorder',{attrs:{\"loading\":_vm.uploading,\"can-share\":false,\"can-ask-for-feedback\":false},on:{\"upload\":_vm.upload}}):_c('div',{staticClass:\"mt-4\"},[_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.feedback.yourFeedback\")))]),_c('p',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.feedback.alreadyGiven\")))]),_c('VideoSubmission',{attrs:{\"id\":(\"owner_given_feedback_for_\" + (_vm.selectedVideo.id)),\"submission\":_vm.givenFeedback,\"seminar\":_vm.seminar,\"horizontal\":true}})],1)],1)],1):_vm._e()],1),_c(VDialog,{attrs:{\"max-width\":\"800px\"},model:{value:(_vm.userDialog),callback:function ($$v) {_vm.userDialog=$$v},expression:\"userDialog\"}},[(_vm.user)?_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex\"},[_c('div',{staticClass:\"flex-1 mr-4 flex-column align-start\"},[_c('div',{staticClass:\"overline\",staticStyle:{\"line-height\":\"20px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.detail\"))+\" \")]),_c('div',[_vm._v(_vm._s(_vm.user.username)+\" (\"+_vm._s(_vm.user.email)+\")\")])]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.closeUserDialog}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardSubtitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.numSubmissions\"))+\": \"+_vm._s(_vm.userSubmissions.length)+\" \")]),_c(VCardText,[_c(VExpansionPanels,_vm._l((_vm.userSubmissions),function(item,i){return _c(VExpansionPanel,{key:i},[_c(VExpansionPanelHeader,[_c('div',[_c('h4',[_vm._v(_vm._s(_vm.typeName(item.type)))]),_c('div',{staticClass:\"text-subtitle-2\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatwithtime\")(item.createdAt))+\" \")])])]),_c(VExpansionPanelContent,[(item.type === 'gap_text')?_c('div',[_c('GapTextSubmission',{attrs:{\"element\":_vm.submissionElements[i],\"submission\":item}})],1):(item.type === 'rephrase')?_c('div',[_c('RephraseSubmission',{attrs:{\"element\":_vm.submissionElements[i],\"submission\":item}})],1):(item.type === 'categorize')?_c('div',[_c('CategorizeSubmission',{attrs:{\"element\":_vm.submissionElements[i],\"submission\":item}})],1):(item.type === 'video_presentation')?_c('div',[_c('VideoSubmission',{attrs:{\"id\":(\"video-presentation-\" + (item.userId)),\"seminar\":_vm.seminar,\"submission\":item}})],1):(item.type === 'give_feedback')?_c('div',[_c('VideoSubmission',{attrs:{\"id\":(\"give_feedback_from_\" + (item.userId) + \"_for_\" + (item.feedbackFor)),\"seminar\":_vm.seminar,\"submission\":item}})],1):_c('div',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.emptySub\"))+\" \")])])],1)}),1)],1),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.openRemoveUser}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.removeThisUser\")))])]),(_vm.userSubmissions.length > 0)?_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.selectUserForClearing}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.clearUserSubs\")))])]):_vm._e()],1)],1):_vm._e()],1),_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.inviteDialog),callback:function ($$v) {_vm.inviteDialog=$$v},expression:\"inviteDialog\"}},[_c(VCard,[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.invite\"))+\" \")]),_c(VCardText,[_c('EmailsInput',{attrs:{\"emails-prop\":_vm.emails,\"next-user-prop\":_vm.nextUserEmail,\"label\":_vm.$t('seminars.edit.inviteEmails')},on:{\"update:emailsProp\":function($event){_vm.emails=$event},\"update:emails-prop\":function($event){_vm.emails=$event},\"update:nextUserProp\":function($event){_vm.nextUserEmail=$event},\"update:next-user-prop\":function($event){_vm.nextUserEmail=$event}}})],1),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeInviteDialog}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.confirmInvite}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.filtersDialog),callback:function ($$v) {_vm.filtersDialog=$$v},expression:\"filtersDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.filter.title\"))+\" \")]),_c(VCardSubtitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.filter.userCount\", { n: _vm.items.length, }))+\" \")]),_c(VCardText,[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.admin.participants.filter.progressLabel'),\"hint\":_vm.$t('seminars.admin.participants.filter.progressHint'),\"persistent-hint\":\"\",\"type\":\"number\",\"min\":\"0\",\"max\":\"100\"},model:{value:(_vm.progressFilter),callback:function ($$v) {_vm.progressFilter=$$v},expression:\"progressFilter\"}}),_c('div',{staticClass:\"my-2\"}),_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.admin.participants.filter.blockLabel'),\"hint\":_vm.$t('seminars.admin.participants.filter.blockHint'),\"persistent-hint\":\"\",\"type\":\"number\",\"min\":\"0\",\"max\":\"100\"},model:{value:(_vm.currentBlockFilter),callback:function ($$v) {_vm.currentBlockFilter=$$v},expression:\"currentBlockFilter\"}}),_c('div',{staticClass:\"my-2\"}),_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.admin.participants.filter.elLabel'),\"hint\":_vm.$t('seminars.admin.participants.filter.elHint'),\"persistent-hint\":\"\",\"type\":\"number\",\"min\":\"0\",\"max\":\"100\"},model:{value:(_vm.currentElementFilter),callback:function ($$v) {_vm.currentElementFilter=$$v},expression:\"currentElementFilter\"}})],1),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.filtersDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"prezpRed\"},on:{\"click\":_vm.clearFilters}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.clear\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.applyFilters}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"300px\"},model:{value:(_vm.clearDialog),callback:function ($$v) {_vm.clearDialog=$$v},expression:\"clearDialog\"}},[(_vm.user === null)?_c(VCard,[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.areYouSureTitle\"))+\" \")]),_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.areYouSureAllUserText\"))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeClearDialog}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\",\"loading\":_vm.clearingAll,\"disabled\":_vm.clearingAll},on:{\"click\":_vm.clearAll}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1):_c(VCard,[_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.areYouSureTitle\"))+\" \")]),_c(VCardText,[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.areYouSureAllSubs\"))+\" \")]),_c('b',{staticClass:\"mx-1\"},[_vm._v(\"(\"+_vm._s(_vm.user.username)+\")\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.admin.participants.forThisSeminar\")))])]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeClearDialog}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\",\"loading\":_vm.clearingAll,\"disabled\":_vm.clearingAll},on:{\"click\":_vm.clearForUser}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1),_c(VDialog,{attrs:{\"max-width\":\"300px\"},model:{value:(_vm.removeDialog),callback:function ($$v) {_vm.removeDialog=$$v},expression:\"removeDialog\"}},[_c(VCard,[(_vm.user)?_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.removeThisUser\"))+\" \")]):_c(VCardTitle,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.removeAllUsers\"))+\" \")]),(_vm.user)?_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.areYouSure\"))+\" \")]):_c(VCardText,[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.admin.participants.removeUsersAndSubs\"))+\" \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.removeCancel}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.removeConfirm}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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, Prop, Watch } from \"vue-property-decorator\";\r\n\r\nimport { typeName } from \"@/core/utils/seminars\";\r\nimport type {\r\n InvitationData,\r\n Seminar,\r\n Invitation,\r\n SeminarUser,\r\n Submission,\r\n SemIdUId,\r\n} from \"@/core/models\";\r\nimport api from \"@/core/utils/api\";\r\n\r\nimport EmailsInput from \"@/components/common/EmailsInput.vue\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\nimport VideoRecorder from \"@/components/common/VideoRecorder.vue\";\r\nimport GapTextSubmission from \"../components/GapTextSubmission.vue\";\r\nimport RephraseSubmission from \"../components/RephraseSubmission.vue\";\r\nimport CategorizeSubmission from \"../components/CategorizeSubmission.vue\";\r\nimport VideoSubmission from \"../components/VideoSubmission.vue\";\r\n\r\ntype ItemName = { email: string; username: string };\r\n@Component({\r\n components: {\r\n EmailsInput,\r\n VideoPlayer,\r\n VideoRecorder,\r\n GapTextSubmission,\r\n RephraseSubmission,\r\n CategorizeSubmission,\r\n VideoSubmission,\r\n },\r\n})\r\nexport default class SeminarParticipants extends Vue {\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n\r\n // invitations\r\n @Getter(\"invitations/sending\") sending!: boolean;\r\n @Action(\"invitations/send\")\r\n inviteUsers!: (d: InvitationData) => Promise;\r\n\r\n // seminars\r\n @Action(\"seminars/addSubmission\") addSubmission!: (s: Submission) => void;\r\n @Action(\"seminars/clearAllSubmissions\")\r\n clearAllSubmissions!: (i: number) => Promise;\r\n @Action(\"seminars/clearUserSubmissions\")\r\n clearUserSubmissions!: (d: SemIdUId) => Promise;\r\n @Action(\"seminars/removeUser\")\r\n removeUser!: (d: SemIdUId) => Promise;\r\n @Action(\"seminars/removeAllUsers\")\r\n removeAllUsers!: (i: number) => Promise;\r\n\r\n // utils\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n typeName = typeName;\r\n\r\n // users controller\r\n userDialog = false;\r\n user: SeminarUser | null = null;\r\n get userSubmissions() {\r\n return this.seminar?.allSubmissions?.filter(\r\n x => x.userId === this.user?.id,\r\n );\r\n }\r\n get submissionElements() {\r\n return this.seminar?.allSubmissions\r\n ?.filter(x => x.userId === this.user?.id)\r\n .map(x => this.seminar?.elements?.find(y => y.id === x.elementId));\r\n }\r\n openUserDialog(id: string) {\r\n const found = this.allUsers.find(x => x.id === id);\r\n if (!found) {\r\n this.displaySnackbar(\r\n this.$t(\"seminars.admin.participants.userNotFound\").toString(),\r\n );\r\n return;\r\n }\r\n this.userDialog = true;\r\n this.user = found;\r\n }\r\n closeUserDialog() {\r\n this.userDialog = false;\r\n this.user = null;\r\n }\r\n\r\n // filter controller\r\n usersLoading = false;\r\n filtersDialog = false;\r\n progressFilter = 0;\r\n currentBlockFilter = 0;\r\n currentElementFilter = 0;\r\n filteredUsers: SeminarUser[] = [];\r\n allUsers: SeminarUser[] = [];\r\n clearFilters() {\r\n this.filtersDialog = false;\r\n this.progressFilter = 0;\r\n this.currentBlockFilter = 0;\r\n this.currentElementFilter = 0;\r\n this.filteredUsers = this.allUsers;\r\n }\r\n applyFilters() {\r\n this.filtersDialog = false;\r\n if (this.progressFilter !== 0)\r\n this.filteredUsers = this.filteredUsers.filter(\r\n x => x.progress >= this.progressFilter,\r\n );\r\n if (this.currentBlockFilter !== null)\r\n this.filteredUsers = this.filteredUsers.filter(\r\n x => x.currentBlock >= this.currentBlockFilter,\r\n );\r\n if (this.currentElementFilter !== null)\r\n this.filteredUsers = this.filteredUsers.filter(\r\n x => x.currentElement >= this.currentElementFilter,\r\n );\r\n }\r\n\r\n // search controller\r\n search = \"\";\r\n\r\n // table with users controller\r\n get headers() {\r\n return [\r\n {\r\n text: this.$t(\"seminars.admin.participants.name\").toString(),\r\n value: \"name\",\r\n sortable: true,\r\n sort: (a: ItemName, b: ItemName) =>\r\n b.email + b.username > a + a.username,\r\n },\r\n {\r\n text: this.$t(\"seminars.admin.participants.progress\").toString(),\r\n value: \"progress\",\r\n sortable: true,\r\n },\r\n // {\r\n // text: this.$t(\"seminars.admin.participants.pos\").toString(),\r\n // value: \"position\",\r\n // sortable: true,\r\n // sort: (a: [number, number], b: [number, number]) =>\r\n // b[0] + b[1] - (a[0] + a[1]),\r\n // },\r\n {\r\n text: this.$t(\"seminars.edit.actions\").toString(),\r\n value: \"actions\",\r\n sortable: false,\r\n },\r\n ];\r\n }\r\n\r\n get items() {\r\n const mapper = (x: SeminarUser) => ({\r\n id: x.id,\r\n progress: x.progress,\r\n name: { email: x.email, username: x.username },\r\n position: [x.currentBlock, x.currentElement],\r\n });\r\n\r\n let list = this.filteredUsers;\r\n if (this.search.trim().length > 0)\r\n list = list.filter(x => `${x.email};${x.username}`.includes(this.search));\r\n return list.map(mapper);\r\n }\r\n\r\n async getAllUsers() {\r\n const id = this.seminar?.id;\r\n if (!id) return;\r\n\r\n this.usersLoading = true;\r\n try {\r\n this.allUsers = await api.get(`/api/Seminar/Users/${id}`);\r\n this.clearFilters();\r\n } catch (error) {\r\n console.log(error);\r\n this.displaySnackbar(\r\n this.$t(\"seminars.admin.participants.fetchFail\").toString(),\r\n );\r\n }\r\n this.usersLoading = false;\r\n }\r\n\r\n // sent invitations controller\r\n revoking = false;\r\n revokedId = 0;\r\n sentInvitationsLoading = false;\r\n sentInvitations: Invitation[] = [];\r\n async getSentInvitations() {\r\n const id = this.seminar?.id;\r\n if (!id) return;\r\n this.sentInvitationsLoading = true;\r\n try {\r\n const end = `/api/Invitations/SentForSeminar/${id}`;\r\n const invs = (await api.get(end)) as Invitation[];\r\n this.sentInvitations = invs;\r\n } catch (error) {\r\n console.log(error);\r\n const msg = this.$t(\"seminars.admin.invitations.fetchFail\").toString();\r\n this.displaySnackbar(msg);\r\n }\r\n this.sentInvitationsLoading = false;\r\n }\r\n async revoke(inv: Invitation) {\r\n const id = inv.id;\r\n this.revokedId = id;\r\n this.revoking = true;\r\n try {\r\n await api.delete(`/api/Invitations/Revoke/${id}`);\r\n this.sentInvitations = this.sentInvitations.filter(x => x.id !== id);\r\n } catch (error) {\r\n console.log(error);\r\n this.displaySnackbar(\r\n this.$t(\"seminars.admin.invitations.revokeFail\").toString(),\r\n );\r\n }\r\n this.revokedId = 0;\r\n this.revoking = false;\r\n }\r\n\r\n // refresh the above two\r\n refresh() {\r\n this.getSentInvitations();\r\n this.getAllUsers();\r\n }\r\n\r\n // invite users controller\r\n inviteDialog = false;\r\n emails: string[] = [];\r\n nextUserEmail: string | null = null;\r\n openInviteUsers() {\r\n this.inviteDialog = true;\r\n }\r\n closeInviteDialog() {\r\n this.inviteDialog = false;\r\n }\r\n async confirmInvite() {\r\n if (!this.seminar) return;\r\n this.inviteDialog = false;\r\n\r\n // check currently typed email (tab not pressed yet)\r\n const pattern = /^\\w+([.-]?\\w+)*@\\w+([.-]?\\w+)*(\\.\\w\\w+)+$/;\r\n if (\r\n this.nextUserEmail !== null &&\r\n this.nextUserEmail.trim().length > 3 &&\r\n !pattern.test(this.nextUserEmail)\r\n ) {\r\n this.displaySnackbar(\r\n this.$t(\"seminars.admin.invitations.invalidEmail\").toString(),\r\n );\r\n return;\r\n }\r\n\r\n // exclude already invited users\r\n const emails = !this.nextUserEmail?.length\r\n ? this.emails\r\n : [...this.emails, this.nextUserEmail];\r\n const userEmails = emails.filter(\r\n x => !this.sentInvitations.map(y => y.email).includes(x),\r\n );\r\n if (userEmails.length === 0)\r\n return this.displaySnackbar(\"No new users selected\");\r\n\r\n // call api\r\n const invs = (await this.inviteUsers({\r\n seminarId: this.seminar.id,\r\n userEmails,\r\n })) as Invitation[];\r\n this.sentInvitations = [...this.sentInvitations, ...invs];\r\n }\r\n\r\n // owner giving feedback controller\r\n feedbackDialog = false;\r\n uploading = false;\r\n selectedVideo: Submission | null = null;\r\n get askingForFeedback() {\r\n return this.seminar?.allSubmissions\r\n ?.filter(x => {\r\n if (x.type === \"video_presentation\" || x.type === \"give_feedback\")\r\n return x.askForFeedback;\r\n return false;\r\n })\r\n .sort((a, b) => Date.parse(b.createdAt) - Date.parse(a.createdAt));\r\n }\r\n getUser(id: string) {\r\n return this.seminar?.users?.find(x => x.id === id)?.username;\r\n }\r\n getElement(id: number) {\r\n return this.seminar?.elements?.find(x => x.id === id)?.title;\r\n }\r\n selectVideo(item: Submission) {\r\n this.selectedVideo = item;\r\n this.feedbackDialog = true;\r\n }\r\n closeFeedbackDialog() {\r\n this.feedbackDialog = false;\r\n this.selectedVideo = null;\r\n }\r\n get givenFeedback() {\r\n if (!this.selectedVideo) return false;\r\n return this.seminar?.submissions?.find(x => {\r\n if (x.type === \"give_feedback\")\r\n return x.feedbackForSubmission === this.selectedVideo?.id;\r\n return false;\r\n });\r\n }\r\n async upload({ blob }: { blob: Blob }) {\r\n if (!this.selectedVideo || !this.seminar) return;\r\n this.uploading = true;\r\n try {\r\n const data = new FormData();\r\n data.append(\"elementId\", this.selectedVideo?.elementId.toString());\r\n data.append(\"feedbackFor\", this.selectedVideo.userId);\r\n data.append(\"feedbackForSubmission\", this.selectedVideo.id.toString());\r\n data.append(\"isShared\", new Boolean(false).toString());\r\n data.append(\"videoFile\", blob);\r\n data.append(\"seminarId\", this.seminar.id.toString());\r\n data.append(\"askForFeedback\", new Boolean(false).toString());\r\n const submission = (await api.post(\r\n \"/api/Submissions/GiveFeedback\",\r\n data,\r\n { headers: { \"Content-Type\": \"multipart/form-data\" } },\r\n )) as Submission;\r\n this.addSubmission(submission);\r\n } catch (error) {\r\n console.log(error);\r\n this.displaySnackbar(error);\r\n }\r\n this.uploading = false;\r\n }\r\n\r\n // check if seminar is changed\r\n @Watch(\"seminar\", { immediate: true })\r\n seminarChanged() {\r\n if (!this.seminar?.id) return;\r\n this.getSentInvitations();\r\n this.filteredUsers = this.seminar.users || [];\r\n this.allUsers = this.seminar.users || [];\r\n }\r\n\r\n // remove user\r\n removeDialog = false;\r\n removing = false;\r\n removeCancel() {\r\n this.removeDialog = false;\r\n this.user = null;\r\n }\r\n async removeConfirm() {\r\n const seminarId = this.seminar?.id;\r\n if (!seminarId) return;\r\n\r\n this.removing = true;\r\n try {\r\n const userId = this.user?.id;\r\n userId\r\n ? await this.removeUser({ seminarId, userId })\r\n : await this.removeAllUsers(seminarId);\r\n this.removeCancel();\r\n } catch (error) {\r\n console.log(error);\r\n this.displaySnackbar(\"Could not remove this user\");\r\n }\r\n this.removing = false;\r\n }\r\n openRemoveUser() {\r\n this.userDialog = false;\r\n this.removeDialog = true;\r\n }\r\n\r\n // clearing submissions\r\n clearDialog = false;\r\n clearingAll = false;\r\n async clearAll() {\r\n const id = this.seminar?.id;\r\n if (!id) return;\r\n this.clearDialog = false;\r\n this.clearingAll = true;\r\n await this.clearAllSubmissions(id);\r\n this.clearingAll = false;\r\n }\r\n\r\n selectUserForClearing() {\r\n this.userDialog = false;\r\n this.clearDialog = true;\r\n }\r\n closeClearDialog() {\r\n this.clearDialog = false;\r\n this.clearDialog = false;\r\n this.clearingAll = false;\r\n this.user = null;\r\n }\r\n async clearForUser() {\r\n // seminar dne\r\n const id = this.seminar?.id;\r\n if (!id) return;\r\n\r\n // user dne\r\n const uid = this.user?.id;\r\n if (!uid || !this.seminar?.users?.some(x => x.id === uid)) return;\r\n\r\n // send request\r\n this.clearDialog = false;\r\n this.clearingAll = true;\r\n await this.clearUserSubmissions({ seminarId: id, userId: uid });\r\n this.clearingAll = false;\r\n this.user = 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!./Participants.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!./Participants.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Participants.vue?vue&type=template&id=662c89ab&\"\nimport script from \"./Participants.vue?vue&type=script&lang=ts&\"\nexport * from \"./Participants.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';\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","import { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\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(VExpansionPanel,{staticClass:\"block\",class:{ current: _vm.blockIndex === _vm.index },attrs:{\"id\":(\"block-\" + _vm.index)}},[_c(VExpansionPanelHeader,[_c('div',[_c('h3',[_vm._v(_vm._s(_vm.block.title))]),_c('div',{staticClass:\"accentText--text\"},[_vm._v(_vm._s(_vm.block.description))])])]),_c(VExpansionPanelContent,[_c('h4',[_vm._v(_vm._s(_vm.$t(\"seminars.tasks\")))]),_c('div',_vm._l((_vm.block.elements),function(el,i){return _c('div',{key:i,staticClass:\"element\",class:{ last: i === _vm.block.elements.length - 1 },attrs:{\"id\":(\"element-\" + _vm.index + \"-\" + i)},on:{\"click\":function($event){return _vm.selectEl(i)}}},[_c('div',{staticClass:\"utils-container\"},[_c('div',{staticClass:\"circle\",class:{\n current: _vm.isCurrentElement(_vm.index, i),\n completed: _vm.isComplete(el),\n skipped: _vm.isSkipped(el),\n }},[(_vm.isComplete(el))?_c(VIcon,{attrs:{\"small\":\"\",\"color\":\"other\"}},[_vm._v(\" mdi-check \")]):_vm._e(),(_vm.isSkipped(el))?_c(VIcon,{attrs:{\"small\":\"\",\"color\":\"primary\"}},[_vm._v(\" mdi-skip-next \")]):_vm._e()],1),_c('div',{staticClass:\"line\",class:{ first: i === 0, completed: _vm.isComplete(el) }})]),_c('div',{staticClass:\"title text-truncate\",class:{ current: _vm.isCurrentElement(_vm.index, i) }},[_c('div',{staticClass:\"text-truncate\"},[_vm._v(_vm._s(el.title))])])])}),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\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, Prop } from \"vue-property-decorator\";\r\n\r\nimport type { Seminar, SeminarBlock, SeminarElement } from \"@/core/models\";\r\nimport { elementStatus } from \"@/core/utils/seminars\";\r\n\r\n@Component\r\nexport default class Block extends Vue {\r\n @Prop({ default: () => 0 }) index!: number;\r\n\r\n @Getter(\"seminars/selected\") seminar!: Seminar;\r\n @Getter(\"seminars/blocks\") blocks!: SeminarBlock[];\r\n @Getter(\"seminars/blockIndex\") blockIndex!: number;\r\n @Getter(\"seminars/elementIndex\") elementIndex!: number;\r\n @Getter(\"profile/id\") userId!: string;\r\n\r\n @Action(\"seminars/setindices\") set!: (d: [number, number]) => void;\r\n\r\n get block() {\r\n return this.blocks[this.index];\r\n }\r\n\r\n isCurrentElement(block: number, el: number) {\r\n return this.blockIndex === block && this.elementIndex === el;\r\n }\r\n\r\n isComplete(e: SeminarElement) {\r\n return elementStatus(e, this.seminar) === \"completed\";\r\n }\r\n\r\n isSkipped(e: SeminarElement) {\r\n return elementStatus(e, this.seminar) === \"skipped\";\r\n }\r\n\r\n selectEl(i: number) {\r\n const prevBlock = this.index - 1 < 0 ? null : this.blocks[this.index - 1];\r\n const lastElOfPrevBlock =\r\n prevBlock?.elements[prevBlock.elements.length - 1];\r\n const prevEl =\r\n i === 0 ? lastElOfPrevBlock : this.blocks[this.index].elements[i - 1];\r\n\r\n if (!prevEl || elementStatus(prevEl, this.seminar) !== \"active\")\r\n this.set([this.index, i]);\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!./Block.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!./Block.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Block.vue?vue&type=template&id=187cfdb6&\"\nimport script from \"./Block.vue?vue&type=script&lang=ts&\"\nexport * from \"./Block.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Block.vue?vue&type=style&index=0&id=187cfdb6&prod&lang=scss&\"\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","// Components\nimport { VFadeTransition } from '../transitions'\nimport VExpansionPanel from './VExpansionPanel'\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport { inject as RegistrableInject } from '../../mixins/registrable'\n\n// Directives\nimport ripple from '../../directives/ripple'\n\n// Utilities\nimport { getSlot } from '../../util/helpers'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport Vue, { VNode, VueConstructor } from 'vue'\n\nconst baseMixins = mixins(\n Colorable,\n RegistrableInject<'expansionPanel', VueConstructor>('expansionPanel', 'v-expansion-panel-header', 'v-expansion-panel')\n)\n\ninterface options extends ExtractVue {\n $el: HTMLElement\n expansionPanel: InstanceType\n}\n\nexport default baseMixins.extend().extend({\n name: 'v-expansion-panel-header',\n\n directives: { ripple },\n\n props: {\n disableIconRotate: Boolean,\n expandIcon: {\n type: String,\n default: '$expand',\n },\n hideActions: Boolean,\n ripple: {\n type: [Boolean, Object],\n default: false,\n },\n },\n\n data: () => ({\n hasMousedown: false,\n }),\n\n computed: {\n classes (): object {\n return {\n 'v-expansion-panel-header--active': this.isActive,\n 'v-expansion-panel-header--mousedown': this.hasMousedown,\n }\n },\n isActive (): boolean {\n return this.expansionPanel.isActive\n },\n isDisabled (): boolean {\n return this.expansionPanel.isDisabled\n },\n isReadonly (): boolean {\n return this.expansionPanel.isReadonly\n },\n },\n\n created () {\n this.expansionPanel.registerHeader(this)\n },\n\n beforeDestroy () {\n this.expansionPanel.unregisterHeader()\n },\n\n methods: {\n onClick (e: MouseEvent) {\n this.$emit('click', e)\n },\n genIcon () {\n const icon = getSlot(this, 'actions') ||\n [this.$createElement(VIcon, this.expandIcon)]\n\n return this.$createElement(VFadeTransition, [\n this.$createElement('div', {\n staticClass: 'v-expansion-panel-header__icon',\n class: {\n 'v-expansion-panel-header__icon--disable-rotate': this.disableIconRotate,\n },\n directives: [{\n name: 'show',\n value: !this.isDisabled,\n }],\n }, icon),\n ])\n },\n },\n\n render (h): VNode {\n return h('button', this.setBackgroundColor(this.color, {\n staticClass: 'v-expansion-panel-header',\n class: this.classes,\n attrs: {\n tabindex: this.isDisabled ? -1 : null,\n type: 'button',\n 'aria-expanded': this.isActive,\n },\n directives: [{\n name: 'ripple',\n value: this.ripple,\n }],\n on: {\n ...this.$listeners,\n click: this.onClick,\n mousedown: () => (this.hasMousedown = true),\n mouseup: () => (this.hasMousedown = false),\n },\n }), [\n getSlot(this, 'default', { open: this.isActive }, true),\n this.hideActions || this.genIcon(),\n ])\n },\n})\n","// Components\nimport VExpansionPanels from './VExpansionPanels'\nimport VExpansionPanelHeader from './VExpansionPanelHeader'\nimport VExpansionPanelContent from './VExpansionPanelContent'\n\n// Mixins\nimport { factory as GroupableFactory } from '../../mixins/groupable'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Utilities\nimport { getSlot } from '../../util/helpers'\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\ntype VExpansionPanelHeaderInstance = InstanceType\ntype VExpansionPanelContentInstance = InstanceType\n\nexport default mixins(\n GroupableFactory<'expansionPanels', typeof VExpansionPanels>('expansionPanels', 'v-expansion-panel', 'v-expansion-panels'),\n RegistrableProvide('expansionPanel', true)\n /* @vue/component */\n).extend({\n name: 'v-expansion-panel',\n\n props: {\n disabled: Boolean,\n readonly: Boolean,\n },\n\n data () {\n return {\n content: null as VExpansionPanelContentInstance | null,\n header: null as VExpansionPanelHeaderInstance | null,\n nextIsActive: false,\n }\n },\n\n computed: {\n classes (): object {\n return {\n 'v-expansion-panel--active': this.isActive,\n 'v-expansion-panel--next-active': this.nextIsActive,\n 'v-expansion-panel--disabled': this.isDisabled,\n ...this.groupClasses,\n }\n },\n isDisabled (): boolean {\n return this.expansionPanels.disabled || this.disabled\n },\n isReadonly (): boolean {\n return this.expansionPanels.readonly || this.readonly\n },\n },\n\n methods: {\n registerContent (vm: VExpansionPanelContentInstance) {\n this.content = vm\n },\n unregisterContent () {\n this.content = null\n },\n registerHeader (vm: VExpansionPanelHeaderInstance) {\n this.header = vm\n vm.$on('click', this.onClick)\n },\n unregisterHeader () {\n this.header = null\n },\n onClick (e: MouseEvent) {\n if (e.detail) this.header!.$el.blur()\n\n this.$emit('click', e)\n\n this.isReadonly || this.isDisabled || this.toggle()\n },\n toggle () {\n this.$nextTick(() => this.$emit('change'))\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-expansion-panel',\n class: this.classes,\n attrs: {\n 'aria-expanded': String(this.isActive),\n },\n }, getSlot(this))\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 { 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';\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',[_c(VDialog,{attrs:{\"max-width\":\"800px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[(_vm.block)?_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex justify-content-between\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.blocks.editBtn\"))+\" \")]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.closeBlockDialog}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardText,[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.edit.blocks.blockTitle')},model:{value:(_vm.block.title),callback:function ($$v) {_vm.$set(_vm.block, \"title\", $$v)},expression:\"block.title\"}}),_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.edit.blocks.blockDesc')},model:{value:(_vm.block.description),callback:function ($$v) {_vm.$set(_vm.block, \"description\", $$v)},expression:\"block.description\"}})],1),_c(VCardActions,[_c(VSpacer),(_vm.block.id !== 0)?_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"prezpRed\"},on:{\"click\":function($event){_vm.removeDialog = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.remove\")))])]):_vm._e(),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeBlockDialog}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.confirmBlockChanges}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1):_vm._e()],1),_c(VDialog,{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.removeDialog),callback:function ($$v) {_vm.removeDialog=$$v},expression:\"removeDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\"Delete block\")]),_c(VCardText,[_vm._v(\" Are you sure you wish to delete this block?\")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.removeDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.deleteBlock}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],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\r\nimport Vue from \"vue\";\r\nimport { Action } from \"vuex-class\";\r\nimport { Component, Prop, PropSync } from \"vue-property-decorator\";\r\n\r\nimport { SeminarBlock } from \"@/core/models\";\r\nimport Element from \"./Element.vue\";\r\nimport ElementDialog from \"./ElementDialog.vue\";\r\n\r\n@Component({ components: { Element, ElementDialog } })\r\nexport default class AdminBlockDialog extends Vue {\r\n @PropSync(\"dialogProp\") dialog!: boolean;\r\n @PropSync(\"tempBlock\") block?: SeminarBlock | null;\r\n @PropSync(\"addLoadingProp\") addLoading!: boolean;\r\n @PropSync(\"editLoadingProp\") editLoading!: boolean;\r\n @PropSync(\"deleteLoadingProp\") deleteLoading!: boolean;\r\n @Prop({ default: false }) editing!: boolean;\r\n\r\n @Action(\"seminars/addBlock\")\r\n addBlock!: (b: SeminarBlock) => Promise;\r\n @Action(\"seminars/editBlock\")\r\n editBlock!: (b: SeminarBlock) => Promise;\r\n @Action(\"seminars/removeBlock\")\r\n removeBlock!: (id: number) => Promise;\r\n\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n // blocks\r\n closeBlockDialog() {\r\n this.dialog = false;\r\n }\r\n async confirmBlockChanges() {\r\n if (!this.block) return;\r\n if (!this.block.title) {\r\n this.displaySnackbar(\"Must provide title for each block\");\r\n return;\r\n }\r\n\r\n this.dialog = false;\r\n this.editing ? (this.editLoading = true) : (this.addLoading = true);\r\n try {\r\n if (this.editing) await this.editBlock(this.block);\r\n else await this.addBlock(this.block);\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n this.editing ? (this.editLoading = false) : (this.addLoading = false);\r\n this.block = null;\r\n }\r\n\r\n removeDialog = false;\r\n async deleteBlock() {\r\n if (!this.block) return;\r\n this.dialog = false;\r\n this.removeDialog = false;\r\n try {\r\n await this.removeBlock(this.block.id);\r\n this.block = null;\r\n } catch (error) {\r\n console.log(error);\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!./BlockDialog.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!./BlockDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BlockDialog.vue?vue&type=template&id=3c013f62&\"\nimport script from \"./BlockDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./BlockDialog.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 { 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',[_c('div',{staticClass:\"flex-1\",staticStyle:{\"max-height\":\"500px\",\"overflow\":\"auto\"}},[_c('h3',{staticClass:\"mb-4\"},[_vm._v(_vm._s(_vm.$t(\"seminars.categorize.categories\")))]),_c('div',_vm._l((_vm.categories),function(category,i){return _c('div',{key:i,staticClass:\"category-container\"},[_c('h5',[_vm._v(_vm._s(category))]),_c('div',{staticClass:\"answers-container\"},_vm._l((_vm.answers[i]),function(phrase,j){return _c('div',{key:j,staticClass:\"phrase submitted\",class:{ isCorrect: _vm.isCorrect(i, j) }},[_c('div',[_vm._v(_vm._s(phrase))]),(!_vm.isCorrect(i, j))?_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VIcon,_vm._g({},on),[_vm._v(\"mdi-information-outline\")])]}}],null,true)},[_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.categorize.correct\"))+\": \"),_c('b',[_vm._v(_vm._s(_vm.correctCategory(i, j)))])])]):_vm._e()],1)}),0)])}),0)]),_c('SubmissionFooter',{attrs:{\"submission\":_vm.submission}})],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\r\nimport Vue from \"vue\";\r\nimport { Component, Prop, Watch } from \"vue-property-decorator\";\r\n\r\nimport type { SeminarElement, Submission } from \"@/core/models\";\r\nimport SubmissionFooter from \"./SubmissionFooter.vue\";\r\n\r\n@Component({ components: { SubmissionFooter } })\r\nexport default class CategorizeSubmission extends Vue {\r\n @Prop({ default: () => undefined }) element?: SeminarElement;\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n\r\n categories: string[] = [];\r\n solutions: string[][] = [];\r\n answers: string[][] = [];\r\n onChange() {\r\n if (\r\n this.element?.type !== \"categorize\" ||\r\n this.submission?.type !== \"categorize\"\r\n )\r\n return;\r\n this.categories = this.element.categories;\r\n this.solutions = this.element.answers;\r\n this.answers = (this.submission as any).answers;\r\n }\r\n created() {\r\n this.onChange();\r\n }\r\n\r\n @Watch(\"element\")\r\n elementChanged() {\r\n if (!this.element) return;\r\n this.onChange();\r\n }\r\n\r\n isCorrect(i: number, j: number) {\r\n const phrase = this.answers[i][j];\r\n return this.solutions[i].includes(phrase);\r\n }\r\n\r\n correctCategory(i: number, j: number) {\r\n if (this.element?.type !== \"categorize\") return \"<>\";\r\n const phrase = this.answers[i][j];\r\n for (let ci = 0; ci < this.element.answers.length; ci++)\r\n if (this.element.answers[ci].some(x => x === phrase))\r\n return this.element.categories[ci];\r\n return \"<>\";\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!./CategorizeSubmission.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!./CategorizeSubmission.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CategorizeSubmission.vue?vue&type=template&id=19331535&scoped=true&\"\nimport script from \"./CategorizeSubmission.vue?vue&type=script&lang=ts&\"\nexport * from \"./CategorizeSubmission.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CategorizeSubmission.vue?vue&type=style&index=0&id=19331535&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 \"19331535\",\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 { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } 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 { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\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 { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\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(VExpansionPanel,{attrs:{\"disabled\":_vm.addLoading || _vm.editLoading || _vm.deleteLoading}},[(_vm.addLoading || _vm.editLoading || _vm.deleteLoading)?_c(VProgressLinear,{attrs:{\"indeterminate\":\"\",\"height\":\"4\"}}):_vm._e(),(_vm.block)?_c('div',[_c(VExpansionPanelHeader,[_c('div',{staticClass:\"d-flex mr-4\"},[_c('div',{staticClass:\"mr-4 flex-1\"},[_c('div',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.block.title))]),_c('div',[_vm._v(_vm._s(_vm.block.description))])]),_c(VTooltip,{scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.moveDialog = true}}},on),[_c(VIcon,[_vm._v(\"mdi-reorder-horizontal\")])],1)]}}],null,false,1186110037)},[_c('span',[_vm._v(\"Move this block\")])])],1)]),_c(VExpansionPanelContent,{staticClass:\"px-2\"},[_c(VDivider,{staticClass:\"mb-4\"}),_c('div',{staticClass:\"d-flex justify-space-between\"},[_c('div',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.actions\")))]),_c('div',{staticClass:\"d-flex\"},[_c(VBtn,{attrs:{\"small\":\"\",\"elevation\":\"0\",\"loading\":_vm.editLoading || _vm.deleteLoading,\"disabled\":_vm.editLoading || _vm.deleteLoading},on:{\"click\":_vm.openDialog}},[_c(VIcon,{attrs:{\"left\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-pencil\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.blocks.editBtn\")))])],1),_c('div',{staticClass:\"mx-2\"}),_c(VMenu,{scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VBtn,_vm._g({attrs:{\"small\":\"\",\"elevation\":\"0\",\"loading\":_vm.addLoading || _vm.deleteLoading,\"disabled\":_vm.addLoading || _vm.deleteLoading}},on),[_c(VIcon,{attrs:{\"left\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-plus\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.elements.addBtn\")))])],1)]}}],null,false,2466655865)},[_c(VList,{attrs:{\"dense\":\"\"}},_vm._l((_vm.types),function(item){return _c(VListItem,{key:item.value,on:{\"click\":function($event){return _vm.openAddElement(item.value)}}},[_vm._v(\" \"+_vm._s(item.text)+\" \")])}),1)],1)],1)]),_c('h4',{staticClass:\"mt-4\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.edit.elements.title\"))+\" (\"+_vm._s(_vm.block.elements.length)+\") \")]),_c(VList,_vm._l((_vm.block.elements),function(el,i){return _c('Element',{key:i,attrs:{\"element\":el,\"block-id\":_vm.block.id,\"seminar\":_vm.seminar}})}),1)],1),_c('BlockDialog',{attrs:{\"dialog-prop\":_vm.dialog,\"editing\":true,\"temp-block\":_vm.tempBlock,\"add-loading-prop\":_vm.addLoading,\"edit-loading-prop\":_vm.editLoading,\"delete-loading-prop\":_vm.deleteLoading},on:{\"update:dialogProp\":function($event){_vm.dialog=$event},\"update:dialog-prop\":function($event){_vm.dialog=$event},\"update:tempBlock\":function($event){_vm.tempBlock=$event},\"update:temp-block\":function($event){_vm.tempBlock=$event},\"update:addLoadingProp\":function($event){_vm.addLoading=$event},\"update:add-loading-prop\":function($event){_vm.addLoading=$event},\"update:editLoadingProp\":function($event){_vm.editLoading=$event},\"update:edit-loading-prop\":function($event){_vm.editLoading=$event},\"update:deleteLoadingProp\":function($event){_vm.deleteLoading=$event},\"update:delete-loading-prop\":function($event){_vm.deleteLoading=$event}}}),_c('ElementDialog',{attrs:{\"block-id\":_vm.block.id,\"temp-element\":_vm.tempElement,\"dialog-prop\":_vm.elementDialog,\"editing\":false,\"seminar\":_vm.seminar},on:{\"update:tempElement\":function($event){_vm.tempElement=$event},\"update:temp-element\":function($event){_vm.tempElement=$event},\"update:dialogProp\":function($event){_vm.elementDialog=$event},\"update:dialog-prop\":function($event){_vm.elementDialog=$event}}}),_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.moveDialog),callback:function ($$v) {_vm.moveDialog=$$v},expression:\"moveDialog\"}},[_c(VCard,[_c(VCardTitle,[_vm._v(\"Move this block\")]),_c(VCardSubtitle,[_c('div',[_vm._v(_vm._s(_vm.block.title))]),_c('div',[_vm._v(_vm._s(_vm.block.description))]),_c('div',[_vm._v(_vm._s(_vm.block.elements.length)+\" Elements\")])]),_c(VCardText,[_c('div',{staticClass:\"d-flex align-center justify-center\"},[(_vm.selectedPosition === -2)?_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.selectedPosition = -1}}},[_c(VIcon,[_vm._v(\"mdi-plus-circle\")])],1):_vm._e(),(_vm.selectedPosition === -1)?_c('div',{staticClass:\"move-blocks__content d-flex flex-1\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_c('div',{staticClass:\"move-blocks__overline\"},[_vm._v(\" The current block will be placed here \")]),_c('div',{staticClass:\"move-blocks__title\"},[_vm._v(_vm._s(_vm.block.title))]),_c('div',{staticClass:\"move-blocks__desc\"},[_vm._v(_vm._s(_vm.block.description))]),_c('div',{staticClass:\"move-blocks__els\"},[_vm._v(\" \"+_vm._s(_vm.block.elements.length)+\" Elements \")])]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.selectedPosition = -2}}},[_c(VIcon,[_vm._v(\"mdi-minus-circle\")])],1)],1):_vm._e()],1),_vm._l((_vm.blocks.filter(function (x) { return x.id !== _vm.block.id; })),function(b,i){return _c('div',{key:i,staticClass:\"my-2\"},[_c('div',{staticClass:\"move-blocks__content\"},[_c('div',{staticClass:\"move-blocks__title\"},[_vm._v(_vm._s(b.title))]),_c('div',{staticClass:\"move-blocks__desc\"},[_vm._v(_vm._s(b.description))]),_c('div',{staticClass:\"move-blocks__els\"},[_vm._v(\" \"+_vm._s(b.elements.length)+\" Elements \")])]),_c('div',{staticClass:\"d-flex align-center justify-center\"},[(_vm.selectedPosition === -2)?_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.selectedPosition = i}}},[_c(VIcon,[_vm._v(\"mdi-plus-circle\")])],1):_vm._e(),(_vm.selectedPosition === i)?_c('div',{staticClass:\"move-blocks__content d-flex flex-1\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_c('div',{staticClass:\"move-blocks__overline\"},[_vm._v(\" The current block will be placed here \")]),_c('div',{staticClass:\"move-blocks__title\"},[_vm._v(_vm._s(_vm.block.title))]),_c('div',{staticClass:\"move-blocks__desc\"},[_vm._v(\" \"+_vm._s(_vm.block.description)+\" \")]),_c('div',{staticClass:\"move-blocks__els\"},[_vm._v(\" \"+_vm._s(_vm.block.elements.length)+\" Elements \")])]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.selectedPosition = -2}}},[_c(VIcon,[_vm._v(\"mdi-minus-circle\")])],1)],1):_vm._e()],1)])})],2),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.cancelMove}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\",\"disabled\":_vm.selectedPosition === -2},on:{\"click\":_vm.confirmMove}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1)],1)],1):_c('div',[_vm._v(\"Block not found\")])],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\r\nimport Vue from \"vue\";\r\nimport { Action, Getter } from \"vuex-class\";\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\n\r\nimport type {\r\n ElementType,\r\n SelectItem,\r\n Seminar,\r\n SeminarBlock,\r\n SeminarElement,\r\n SeminarOrder,\r\n} from \"@/core/models\";\r\nimport { elementTypes, emptyElement, typeName } from \"@/core/utils/seminars\";\r\n\r\nimport Element from \"./Element.vue\";\r\nimport BlockDialog from \"./BlockDialog.vue\";\r\nimport ElementDialog from \"./ElementDialog.vue\";\r\n\r\n@Component({ components: { Element, ElementDialog, BlockDialog } })\r\nexport default class AdminBlock extends Vue {\r\n @Prop({ default: () => undefined }) block?: SeminarBlock;\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n\r\n @Getter(\"seminars/blocks\") blocks!: SeminarBlock[];\r\n @Getter(\"seminars/order\") order!: SeminarOrder;\r\n @Action(\"seminars/reorder\") reorder!: (o: SeminarOrder) => void;\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n // block stuff\r\n typeToString = typeName;\r\n dialog = false;\r\n addLoading = false;\r\n editLoading = false;\r\n deleteLoading = false;\r\n tempBlock: SeminarBlock | null = null;\r\n openDialog() {\r\n if (!this.block) return;\r\n this.dialog = true;\r\n this.tempBlock = JSON.parse(JSON.stringify(this.block));\r\n }\r\n\r\n // add element stuff\r\n tempElement: SeminarElement | null = null;\r\n elementDialog = false;\r\n get types(): SelectItem[] {\r\n return elementTypes.map(x => ({\r\n text: this.$t(`seminars.${x}.title`).toString(),\r\n value: x as ElementType,\r\n }));\r\n }\r\n openAddElement(type: ElementType) {\r\n if (!this.seminar || !this.block) return;\r\n this.elementDialog = true;\r\n this.tempElement = {\r\n ...emptyElement(type),\r\n seminarId: this.seminar.id,\r\n blockId: this.block.id,\r\n };\r\n }\r\n\r\n moveDialog = false;\r\n selectedPosition = -2;\r\n cancelMove() {\r\n this.selectedPosition = -2;\r\n this.moveDialog = false;\r\n }\r\n confirmMove() {\r\n const newOrder = JSON.parse(JSON.stringify(this.order)) as SeminarOrder;\r\n if (!newOrder) return;\r\n\r\n // get new index\r\n const newIndex = this.selectedPosition + 1;\r\n const idx = newOrder.blocks.findIndex(x => x.blockId === this.block?.id);\r\n if (idx === -1) return;\r\n newOrder.blocks[idx].blockIndex = newIndex;\r\n console.debug(\"Moving\", this.block?.id, \"to\", newIndex);\r\n\r\n // push blocks back\r\n const blocks = newOrder.blocks.sort((a, b) => a.blockIndex - b.blockIndex);\r\n console.debug(JSON.parse(JSON.stringify(blocks)));\r\n for (let i = newIndex; i < blocks.length; i++)\r\n if (blocks[i].blockId !== this.block?.id) blocks[i].blockIndex += 1;\r\n\r\n blocks.sort((a, b) => a.blockIndex - b.blockIndex);\r\n console.debug(JSON.parse(JSON.stringify(blocks)));\r\n\r\n // fix blocks where pos diff > 1\r\n for (let i = 0; i < blocks.length - 1; i++) {\r\n const curr = blocks[i];\r\n const next = blocks[i + 1];\r\n if (next.blockIndex - curr.blockIndex > 1)\r\n blocks[i + 1].blockIndex = curr.blockIndex + 1;\r\n }\r\n console.debug(JSON.parse(JSON.stringify(blocks)));\r\n\r\n // put blocks in\r\n newOrder.blocks = blocks;\r\n\r\n // send to api\r\n this.reorder(newOrder);\r\n\r\n // reset\r\n this.moveDialog = false;\r\n this.selectedPosition = -2;\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!./Block.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!./Block.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Block.vue?vue&type=template&id=3945cba0&\"\nimport script from \"./Block.vue?vue&type=script&lang=ts&\"\nexport * from \"./Block.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&\"","// Styles\nimport './VRangeSlider.sass'\n\n// Components\nimport VSlider from '../VSlider'\n\n// Helpers\nimport {\n addOnceEventListener,\n createRange,\n deepEqual,\n passiveSupported,\n} from '../../util/helpers'\n\n// Types\nimport { PropValidator } from 'vue/types/options'\n\n/* @vue/component */\nexport default VSlider.extend({\n name: 'v-range-slider',\n\n props: {\n value: {\n type: Array,\n default: () => ([0, 0]),\n } as unknown as PropValidator<[number, number]>,\n },\n\n data () {\n return {\n activeThumb: null as null | number,\n lazyValue: this.value,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VSlider.options.computed.classes.call(this),\n 'v-input--range-slider': true,\n }\n },\n internalValue: {\n get (): number[] {\n return this.lazyValue\n },\n set (val: number[]) {\n // Round value to ensure the\n // entire slider range can\n // be selected with step\n let value = val.map((v = 0) => this.roundValue(Math.min(Math.max(v, this.minValue), this.maxValue)))\n\n // Switch values if range and wrong order\n if (value[0] > value[1] || value[1] < value[0]) {\n if (this.activeThumb !== null) {\n const toFocus = this.activeThumb === 1 ? 0 : 1\n const el = this.$refs[`thumb_${toFocus}`] as HTMLElement\n el.focus()\n }\n value = [value[1], value[0]]\n }\n\n this.lazyValue = value\n if (!deepEqual(value, this.value)) this.$emit('input', value)\n\n this.validate()\n },\n },\n inputWidth (): number[] {\n return this.internalValue.map((v: number) => (\n this.roundValue(v) - this.minValue) / (this.maxValue - this.minValue) * 100\n )\n },\n },\n\n methods: {\n getTrackStyle (startLength: number, endLength: number, startPadding = 0, endPadding = 0) {\n const startDir = this.vertical ? this.$vuetify.rtl ? 'top' : 'bottom' : this.$vuetify.rtl ? 'right' : 'left'\n const endDir = this.vertical ? 'height' : 'width'\n\n const start = `calc(${startLength}% + ${startPadding}px)`\n const end = `calc(${endLength}% + ${endPadding}px)`\n\n return {\n transition: this.trackTransition,\n [startDir]: start,\n [endDir]: end,\n }\n },\n getIndexOfClosestValue (arr: number[], v: number) {\n if (Math.abs(arr[0] - v) < Math.abs(arr[1] - v)) return 0\n else return 1\n },\n genInput () {\n return createRange(2).map(i => {\n const input = VSlider.options.methods.genInput.call(this)\n\n input.data = input.data || {}\n input.data.attrs = input.data.attrs || {}\n input.data.attrs.value = this.internalValue[i]\n input.data.attrs.id = `input-${i ? 'max' : 'min'}-${this._uid}`\n\n return input\n })\n },\n genTrackContainer () {\n const children = []\n\n const padding = this.isDisabled ? 10 : 0\n const sections: { class: string, color: string | undefined, styles: [number, number, number, number] }[] = [\n {\n class: 'v-slider__track-background',\n color: this.computedTrackColor,\n styles: [0, this.inputWidth[0], 0, -padding],\n },\n {\n class: this.isDisabled ? 'v-slider__track-background' : 'v-slider__track-fill',\n color: this.isDisabled ? this.computedTrackColor : this.computedTrackFillColor,\n styles: [this.inputWidth[0], Math.abs(this.inputWidth[1] - this.inputWidth[0]), padding, padding * -2],\n },\n {\n class: 'v-slider__track-background',\n color: this.computedTrackColor,\n styles: [this.inputWidth[1], Math.abs(100 - this.inputWidth[1]), padding, -padding],\n },\n ]\n\n if (this.$vuetify.rtl) sections.reverse()\n\n children.push(...sections.map(section => this.$createElement('div', this.setBackgroundColor(section.color, {\n staticClass: section.class,\n style: this.getTrackStyle(...section.styles),\n }))))\n\n return this.$createElement('div', {\n staticClass: 'v-slider__track-container',\n ref: 'track',\n }, children)\n },\n genChildren () {\n return [\n this.genInput(),\n this.genTrackContainer(),\n this.genSteps(),\n createRange(2).map(index => {\n const value = this.internalValue[index]\n const onFocus = (e: Event) => {\n this.isFocused = true\n this.activeThumb = index\n\n this.$emit('focus', e)\n }\n\n const onBlur = (e: Event) => {\n this.isFocused = false\n this.activeThumb = null\n\n this.$emit('blur', e)\n }\n\n const valueWidth = this.inputWidth[index]\n const isActive = this.isActive && this.activeThumb === index\n const isFocused = this.isFocused && this.activeThumb === index\n\n return this.genThumbContainer(value, valueWidth, isActive, isFocused, onFocus, onBlur, `thumb_${index}`)\n }),\n ]\n },\n reevaluateSelected (value: number) {\n this.activeThumb = this.getIndexOfClosestValue(this.internalValue, value)\n const refName = `thumb_${this.activeThumb}`\n const thumbRef = this.$refs[refName] as HTMLElement\n thumbRef.focus()\n },\n onSliderMouseDown (e: MouseEvent | TouchEvent) {\n const value = this.parseMouseMove(e)\n\n this.reevaluateSelected(value)\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 onSliderClick (e: MouseEvent) {\n if (!this.isActive) {\n if (this.noClick) {\n this.noClick = false\n return\n }\n\n const value = this.parseMouseMove(e)\n\n this.reevaluateSelected(value)\n\n this.setInternalValue(value)\n\n this.$emit('change', this.internalValue)\n }\n },\n onMouseMove (e: MouseEvent | TouchEvent) {\n const value = this.parseMouseMove(e)\n\n if (e.type === 'mousemove') {\n this.thumbPressed = true\n }\n\n if (this.activeThumb === null) {\n this.activeThumb = this.getIndexOfClosestValue(this.internalValue, value)\n }\n\n this.setInternalValue(value)\n },\n onKeyDown (e: KeyboardEvent) {\n if (this.activeThumb === null) return\n\n const value = this.parseKeyDown(e, this.internalValue[this.activeThumb])\n\n if (value == null) return\n\n this.setInternalValue(value)\n this.$emit('change', this.internalValue)\n },\n setInternalValue (value: number) {\n this.internalValue = this.internalValue.map((v: number, i: number) => {\n if (i === this.activeThumb) return value\n else return Number(v)\n })\n },\n },\n})\n","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 { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRangeSlider } from 'vuetify/lib/components/VRangeSlider';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSlider } from 'vuetify/lib/components/VSlider';\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',[_vm._l((_vm.conds),function(condition,idx){return _c(VCard,{key:idx,staticClass:\"mb-4\",attrs:{\"elevation\":\"0\",\"outlined\":\"\"}},[_c(VCardTitle,{staticClass:\"d-flex\",staticStyle:{\"justify-content\":\"space-between\",\"align-items\":\"center\"}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"goals.cond\"))+\" #\"+_vm._s(idx + 1))]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.removeCondition(idx)}}},[_c(VIcon,[_vm._v(\"mdi-delete\")])],1)],1),_c(VCardText,[_c(VSelect,{staticClass:\"mb-4\",attrs:{\"hide-details\":\"\",\"items\":_vm.items,\"label\":_vm.$t('goalsSections.addGoalPopUp.conditionType')},on:{\"change\":function($event){return _vm.handleTypeChange(idx)}},model:{value:(_vm.conds[idx].type),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"type\", $$v)},expression:\"conds[idx].type\"}}),(_vm.conds[idx].type === 'due_date')?_c(VDialog,{ref:\"dueDateCondition\",refInFor:true,attrs:{\"width\":\"290px\",\"persistent\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c(VTextField,_vm._g({attrs:{\"prepend-icon\":\"mdi-calendar\",\"label\":_vm.$t('goals.due'),\"readonly\":\"\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}},on))]}}],null,true),model:{value:(_vm.dueDateDialog),callback:function ($$v) {_vm.dueDateDialog=$$v},expression:\"dueDateDialog\"}},[_c(VDatePicker,{attrs:{\"locale\":_vm.$i18n.locale,\"scrollable\":\"\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}},[_c(VSpacer),_c(VBtn,{attrs:{\"text\":\"\",\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.dueDateDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.close\")))])])],1)],1):_vm._e(),(_vm.conds[idx].type === 'pitch')?_c(VRangeSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.pitch'),\"thumb-label\":\"\",\"min\":70,\"max\":400,\"hide-details\":\"\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e(),(_vm.conds[idx].type === 'pauses')?_c(VRangeSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.pauses'),\"hide-details\":\"\",\"thumb-label\":\"\",\"max\":20,\"min\":0},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e(),(_vm.conds[idx].type === 'speech_speed')?_c(VRangeSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.wpm'),\"hide-details\":\"\",\"thumb-label\":\"\",\"max\":180,\"min\":60},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e(),(_vm.conds[idx].type === 'speech_clarity')?_c(VSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.clarity'),\"hide-details\":\"\",\"thumb-label\":\"\",\"max\":\"10\",\"min\":\"0\",\"step\":\"0.1\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e(),(_vm.conds[idx].type === 'repetition')?_c(VSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.repetition'),\"hide-details\":\"\",\"thumb-label\":\"\",\"max\":\"10\",\"min\":\"0\",\"step\":\"0.1\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e(),(_vm.conds[idx].type === 'filler_words')?_c(VSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.filler'),\"hide-details\":\"\",\"thumb-label\":\"\",\"max\":\"10\",\"min\":\"0\",\"step\":\"0.1\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e(),(_vm.conds[idx].type === 'overall_score')?_c(VSlider,{staticClass:\"mb-2\",attrs:{\"label\":_vm.$t('goals.overall'),\"hide-details\":\"\",\"thumb-label\":\"\",\"max\":\"10\",\"min\":\"0\",\"step\":\"0.1\"},model:{value:(_vm.conds[idx].value),callback:function ($$v) {_vm.$set(_vm.conds[idx], \"value\", $$v)},expression:\"conds[idx].value\"}}):_vm._e()],1)],1)}),(_vm.items.length !== _vm.conds.length)?_c(VBtn,{staticClass:\"mb-4\",attrs:{\"elevation\":\"0\",\"block\":\"\",\"text\":\"\"},on:{\"click\":_vm.addCondition}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-plus\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"goals.addc\")))])],1):_vm._e()],2)}\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\r\nimport Vue from \"vue\";\r\nimport { Component, PropSync } from \"vue-property-decorator\";\r\nimport { ConditionType, Condition } from \"@/core/models\";\r\n\r\n@Component\r\nexport default class ConditionsSelect extends Vue {\r\n @PropSync(\"conditions\") conds!: Condition[];\r\n dueDateDialog = false;\r\n get items() {\r\n return [\r\n {\r\n text: this.$t(\"goals.condtype.date\"),\r\n value: ConditionType.DueDate,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.pitch\"),\r\n value: ConditionType.Pitch,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.ppm\"),\r\n value: ConditionType.Pauses,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.wpm\"),\r\n value: ConditionType.SpeechSpeed,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.overall\"),\r\n value: ConditionType.OverallScore,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.repetition\"),\r\n value: ConditionType.Repetition,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.clarity\"),\r\n value: ConditionType.SpeechClarity,\r\n disabled: false,\r\n },\r\n {\r\n text: this.$t(\"goals.condtype.filler\"),\r\n value: ConditionType.FillerWords,\r\n disabled: false,\r\n },\r\n ];\r\n }\r\n\r\n handleTypeChange(i: number) {\r\n if (this.conds[i].type === ConditionType.SessionScore)\r\n this.conds[i].value = 50;\r\n if (this.conds[i].type === ConditionType.Sentiment)\r\n this.conds[i].value = [20, 70];\r\n if (this.conds[i].type === ConditionType.Pitch)\r\n this.conds[i].value = [300, 500];\r\n if (this.conds[i].type === ConditionType.Volume)\r\n this.conds[i].value = [10, 50];\r\n if (this.conds[i].type === ConditionType.Pauses)\r\n this.conds[i].value = [5, 10];\r\n if (this.conds[i].type === ConditionType.SpeechSpeed)\r\n this.conds[i].value = [80, 120];\r\n if (this.conds[i].type === ConditionType.OverallScore)\r\n this.conds[i].value = 7;\r\n if (this.conds[i].type === ConditionType.FillerWords)\r\n this.conds[i].value = 7;\r\n if (this.conds[i].type === ConditionType.SpeechClarity)\r\n this.conds[i].value = 7;\r\n if (this.conds[i].type === ConditionType.Repetition)\r\n this.conds[i].value = 7;\r\n if (this.conds[i].type === ConditionType.DueDate)\r\n this.conds[i].value = new Date().toISOString().substr(0, 10);\r\n\r\n this.refreshItems();\r\n }\r\n\r\n refreshItems() {\r\n this.items.forEach(i => (i.disabled = false));\r\n let takenTypes = this.conds.map(c => c.type);\r\n if (takenTypes.length > 0)\r\n takenTypes.forEach(t => {\r\n const item = this.items.find(i => i.value === t);\r\n if (item) item.disabled = true;\r\n });\r\n }\r\n\r\n removeCondition(index: number) {\r\n if (this.conds.length === 1) this.conds = [];\r\n this.conds.splice(index, 1);\r\n this.refreshItems();\r\n }\r\n\r\n addCondition() {\r\n this.conds.push({ type: \"\", 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!./ConditionsSelect.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!./ConditionsSelect.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConditionsSelect.vue?vue&type=template&id=66008348&\"\nimport script from \"./ConditionsSelect.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConditionsSelect.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 { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\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',[_c('div',{staticClass:\"d-flex flex-wrap align-center\"},[_c('div',{staticClass:\"rating-button\",class:{ selected: _vm.hasRated('amusing') },on:{\"click\":function($event){$event.stopPropagation();return _vm.rate('amusing')}}},[(_vm.extended)?_c('span',{staticClass:\"text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.ratings.amusing\"))+\" \")]):_vm._e(),(_vm.extended)?_c('span',{staticClass:\"icon\"},[_vm._v(\"😮\")]):_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('span',_vm._g({staticClass:\"icon\"},on),[_vm._v(\"😮\")])]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.ratings.amusing\")))])]),(_vm.isLoading('amusing'))?_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"16\",\"width\":\"2\"}}):_c('div',[_vm._v(_vm._s(_vm.countRatings(\"amusing\")))])],1),_c('div',{staticClass:\"rating-button\",class:{ selected: _vm.hasRated('creative') },on:{\"click\":function($event){$event.stopPropagation();return _vm.rate('creative')}}},[(_vm.extended)?_c('span',{staticClass:\"text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.ratings.creative\"))+\" \")]):_vm._e(),(_vm.extended)?_c('span',{staticClass:\"icon\"},[_vm._v(\"🎨\")]):_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('span',_vm._g({staticClass:\"icon\"},on),[_vm._v(\"🎨\")])]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.ratings.creative\")))])]),(_vm.isLoading('creative'))?_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"16\",\"width\":\"2\"}}):_c('div',[_vm._v(_vm._s(_vm.countRatings(\"creative\")))])],1),_c('div',{staticClass:\"rating-button\",class:{ selected: _vm.hasRated('professional') },on:{\"click\":function($event){$event.stopPropagation();return _vm.rate('professional')}}},[(_vm.extended)?_c('span',{staticClass:\"text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"seminars.ratings.professional\"))+\" \")]):_vm._e(),(_vm.extended)?_c('span',{staticClass:\"icon\"},[_vm._v(\"💼\")]):_c(VTooltip,{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('span',_vm._g({staticClass:\"icon\"},on),[_vm._v(\"💼\")])]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.ratings.professional\")))])]),(_vm.isLoading('professional'))?_c(VProgressCircular,{attrs:{\"indeterminate\":\"\",\"size\":\"16\",\"width\":\"2\"}}):_c('div',[_vm._v(_vm._s(_vm.countRatings(\"professional\")))])],1),(_vm.extended)?_c(VBtn,{staticClass:\"ml-4\",attrs:{\"text\":\"\",\"small\":\"\"},on:{\"click\":_vm.openRatings}},[_c('span',[_vm._v(\"Details\")])]):_vm._e()],1),(_vm.extended)?_c(VDialog,{attrs:{\"max-width\":\"600px\"},model:{value:(_vm.ratingsDialog),callback:function ($$v) {_vm.ratingsDialog=$$v},expression:\"ratingsDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\"Ratings for this video\")]),_c(VCardText,[_c('div',{staticClass:\"ratings-toggle\"},[_c('div',{staticClass:\"tab-wrapper mr-4\"},[_c('div',{staticClass:\"tab\",on:{\"click\":function($event){_vm.selectedType = ''}}},[_c('div',[_vm._v(\"All\")])]),_c('div',{staticClass:\"indicator\",class:{ shown: _vm.selectedType === '' }})]),_c('div',{staticClass:\"tab-wrapper mr-4\"},[_c('div',{staticClass:\"tab\",on:{\"click\":function($event){_vm.selectedType = 'amusing'}}},[_c('span',{staticClass:\"icon\"},[_vm._v(\"😮\")]),_c('div',[_vm._v(_vm._s(_vm.countRatings(\"amusing\")))])]),_c('div',{staticClass:\"indicator\",class:{ shown: _vm.selectedType === 'amusing' }})]),_c('div',{staticClass:\"tab-wrapper mr-4\"},[_c('div',{staticClass:\"tab\",on:{\"click\":function($event){_vm.selectedType = 'creative'}}},[_c('span',{staticClass:\"icon\"},[_vm._v(\"🎨\")]),_c('div',[_vm._v(_vm._s(_vm.countRatings(\"creative\")))])]),_c('div',{staticClass:\"indicator\",class:{ shown: _vm.selectedType === 'creative' }})]),_c('div',{staticClass:\"tab-wrapper\"},[_c('div',{staticClass:\"tab\",on:{\"click\":function($event){_vm.selectedType = 'professional'}}},[_c('span',{staticClass:\"icon\"},[_vm._v(\"💼\")]),_c('div',[_vm._v(_vm._s(_vm.countRatings(\"professional\")))])]),_c('div',{staticClass:\"indicator\",class:{ shown: _vm.selectedType === 'professional' }})])]),(!_vm.ratings.length)?_c('div',[_vm._v(\"None\")]):_c('div',[_c(VList,_vm._l((_vm.filteredRatigns),function(r,i){return _c(VListItem,{key:i},[_c(VListItemContent,[_c(VListItemTitle,[_vm._v(_vm._s(_vm.getUser(r.rater)))]),_c(VListItemSubtitle,[_vm._v(\" \"+_vm._s(_vm._f(\"formatwithtime\")(r.createdAt))+\" \")]),(_vm.selectedType === '')?_c(VListItemSubtitle,[_vm._v(\" \"+_vm._s(_vm.$t((\"seminars.ratings.\" + (r.type))))+\" \")]):_vm._e()],1)],1)}),1)],1)])],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\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 } from \"vue-property-decorator\";\r\n\r\nimport type {\r\n RateVideoAction,\r\n Rating,\r\n Seminar,\r\n SimpleUser,\r\n Submission,\r\n} from \"@/core/models\";\r\nimport VideoPlayer from \"@/components/common/VideoPlayer.vue\";\r\n\r\n@Component({ components: { VideoPlayer } })\r\nexport default class VideoRatings extends Vue {\r\n @Prop({ default: () => false }) extended!: boolean;\r\n @Prop({ default: () => undefined }) seminar?: Seminar;\r\n @Prop({ default: () => undefined }) submission?: Submission;\r\n @Getter(\"profile/id\") userId!: string;\r\n @Getter(\"seminars/users\") users!: SimpleUser[];\r\n @Action(\"seminars/rateVideo\")\r\n rateVideo!: (d: RateVideoAction) => Promise;\r\n\r\n get ownSub() {\r\n return this.submission?.userId === this.userId;\r\n }\r\n\r\n get isShared() {\r\n return (this.submission as any).isShared || false;\r\n }\r\n\r\n get isRateable() {\r\n return (this.submission as any).isRateable || false;\r\n }\r\n\r\n rateLoading = false;\r\n typeLoading = \"\";\r\n async rate(type: string) {\r\n if (\r\n !this.submission?.id ||\r\n this.rateLoading ||\r\n this.submission.type === \"watch_feedback\"\r\n )\r\n return;\r\n\r\n this.rateLoading = true;\r\n this.typeLoading = type;\r\n await this.rateVideo({\r\n submissionId: this.submission.id,\r\n type,\r\n });\r\n this.$emit(\"rated\", {\r\n submissionId: this.submission.id,\r\n type,\r\n });\r\n this.typeLoading = \"\";\r\n this.rateLoading = false;\r\n }\r\n\r\n isLoading(type: string) {\r\n return this.rateLoading && this.typeLoading === type;\r\n }\r\n\r\n countRatings(type: string) {\r\n const ratings = (this.submission as any)?.videoRatings as\r\n | Rating[]\r\n | undefined;\r\n if (!ratings?.length) return 0;\r\n return ratings.filter(x => x.type === type).length;\r\n }\r\n\r\n hasRated(type: string) {\r\n const ratings = (this.submission as any)?.videoRatings as\r\n | Rating[]\r\n | undefined;\r\n if (!ratings?.length) return false;\r\n return ratings.some(x => x.type === type && x.rater === this.userId);\r\n }\r\n\r\n selectedType = \"\";\r\n ratingsDialog = false;\r\n ratings: Rating[] = [];\r\n openRatings() {\r\n if (!this.submission) return;\r\n this.ratingsDialog = true;\r\n this.ratings = (this.submission as any).videoRatings;\r\n }\r\n get filteredRatigns() {\r\n if (!this.selectedType) return this.ratings;\r\n return this.ratings.filter(x => x.type === this.selectedType);\r\n }\r\n getUser(id: string) {\r\n const u = this.users.find(x => x.id === id);\r\n if (!u) {\r\n if (id === this.seminar?.owner?.id)\r\n return `${this.seminar.owner.username} (${this.seminar.owner.email}) - Owner`;\r\n return \"\";\r\n }\r\n return `${u.username} (${u.email})`;\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!./VideoRatings.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!./VideoRatings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./VideoRatings.vue?vue&type=template&id=2e14c734&scoped=true&\"\nimport script from \"./VideoRatings.vue?vue&type=script&lang=ts&\"\nexport * from \"./VideoRatings.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./VideoRatings.vue?vue&type=style&index=0&id=2e14c734&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 \"2e14c734\",\n null\n \n)\n\nexport default component.exports","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 { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\nimport { VFileInput } from 'vuetify/lib/components/VFileInput';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\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',{staticClass:\"pb-12 px-6\"},[(_vm.loading)?_c('div',[_vm._v(_vm._s(_vm.$t(\"seminars.loading\")))]):(!_vm.seminar)?_c('div',[_vm._v(_vm._s(_vm.$t(\"seminars.notFound\")))]):_c('div',[_c('div',{staticClass:\"d-flex my-4\"},[_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){return _vm.$router.replace('/seminars')}}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-chevron-left\")]),_c('span',[_vm._v(\"Back to Seminar List\")])],1),_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.goToSeminar}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-checkbox-marked-circle\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.dash.progressLink\")))])],1),(_vm.isAdmin)?_c(VBtn,{staticClass:\"ml-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.goToDash}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-view-dashboard\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.dash.title\")))])],1):_vm._e()],1),_c('div',{staticClass:\"justify-space-between mb-4\"},[_c('div',[_c('h1',{staticClass:\"mb-0\"},[_vm._v(_vm._s(_vm.seminar.name))]),_c('p',[_vm._v(_vm._s(_vm.seminar.description))])]),_c('Participants',{attrs:{\"seminar\":_vm.seminar}}),(_vm.seminar.orderChanged)?_c('div',{staticClass:\"my-4\"},[_c('div',{staticClass:\"text-h6 mb-4\"},[_vm._v(\" Seminar order has been changed. Confirm changes? \")]),(_vm.reorderLoading)?_c('div',[_vm._v(\"Loading...\")]):_c('div',{staticClass:\"d-flex\"},[_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.revertOrder}},[_c('span',[_vm._v(\"Cancel Changes\")])]),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.confirmReorder}},[_c('span',[_vm._v(\"Confirm Changes\")])])],1)]):_vm._e(),_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"flex-1\"},[_c('h3',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.actions\")))])]),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.openEditSeminar}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-pencil\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.editBtn\")))])],1),_c('div',{staticClass:\"mx-2\"}),_c(VBtn,{attrs:{\"elevation\":\"0\",\"loading\":_vm.adding,\"disabled\":_vm.adding},on:{\"click\":_vm.openAddBlock}},[_c(VIcon,{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-plus\")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"seminars.edit.blocks.addBtn\")))])],1)],1)],1),_c('h3',{staticClass:\"mb-4\"},[_vm._v(_vm._s(_vm.$t(\"seminars.edit.blocks.title\")))]),(_vm.seminar)?_c(VExpansionPanels,_vm._l((_vm.blocks),function(block,i){return _c('Block',{key:i,attrs:{\"block\":block,\"seminar\":_vm.seminar}})}),1):_vm._e(),_c(VDialog,{attrs:{\"max-width\":\"800px\"},model:{value:(_vm.seminarDialog),callback:function ($$v) {_vm.seminarDialog=$$v},expression:\"seminarDialog\"}},[(!!_vm.newSeminar)?_c(VCard,[_c(VCardTitle,{staticClass:\"d-flex justify-content-between\"},[_c('div',{staticClass:\"flex-1 mr-4\"},[_vm._v(_vm._s(_vm.$t(\"seminars.edit.editBtn\")))]),_c(VBtn,{attrs:{\"icon\":\"\"},on:{\"click\":_vm.closeSeminarDialog}},[_c(VIcon,[_vm._v(\"mdi-close\")])],1)],1),_c(VCardText,[_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.name')},model:{value:(_vm.newSeminar.name),callback:function ($$v) {_vm.$set(_vm.newSeminar, \"name\", $$v)},expression:\"newSeminar.name\"}}),_c(VTextField,{attrs:{\"label\":_vm.$t('seminars.description')},model:{value:(_vm.newSeminar.description),callback:function ($$v) {_vm.$set(_vm.newSeminar, \"description\", $$v)},expression:\"newSeminar.description\"}}),(_vm.seminarLogo)?_c('div',{staticClass:\"mb-4\"},[_c('h3',{staticClass:\"font-weight-bold\"},[_vm._v(\"Current seminar logo\")]),_c('div',{staticClass:\"mb-4\"},[_vm._v(\" Uploading a new logo will replace the existing one. \")]),_c(VImg,{attrs:{\"src\":_vm.seminarLogo,\"max-width\":\"300px\",\"max-height\":\"100px\"}}),_c(VBtn,{staticClass:\"mt-4\",attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.removeLogo}},[_c('span',[_vm._v(\"Remove logo\")]),_c(VIcon,{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-delete\")])],1)],1):_vm._e(),_c('h3',[_vm._v(\"Upload a new logo\")]),_c(VImg,{attrs:{\"src\":_vm.preview,\"width\":\"100%\"}}),_c(VFileInput,{attrs:{\"show-size\":\"\",\"accept\":\".png, .jpg, .jpeg\"},on:{\"change\":_vm.handleFileChanged},model:{value:(_vm.logo),callback:function ($$v) {_vm.logo=$$v},expression:\"logo\"}})],1),_c(VCardActions,[_c(VSpacer),(_vm.newSeminar.id !== 0)?_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"prezpRed\"},on:{\"click\":function($event){_vm.deleteDialog = true}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.remove\")))])]):_vm._e(),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":_vm.closeSeminarDialog}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.confirmSeminarChanges}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],1)],1):_vm._e()],1),_c('BlockDialog',{attrs:{\"dialog-prop\":_vm.blockDialog,\"editing\":false,\"temp-block\":_vm.newBlock},on:{\"update:dialogProp\":function($event){_vm.blockDialog=$event},\"update:dialog-prop\":function($event){_vm.blockDialog=$event},\"update:tempBlock\":function($event){_vm.newBlock=$event},\"update:temp-block\":function($event){_vm.newBlock=$event}}}),_c(VDialog,{attrs:{\"max-width\":\"400px\"},model:{value:(_vm.deleteDialog),callback:function ($$v) {_vm.deleteDialog=$$v},expression:\"deleteDialog\"}},[_c(VCard,{attrs:{\"outlined\":\"\"}},[_c(VCardTitle,[_vm._v(\"Delete seminar\")]),_c(VCardText,[_vm._v(\" Are you sure you want to delete this seminar? \")]),_c(VCardActions,[_c(VSpacer),_c(VBtn,{attrs:{\"elevation\":\"0\"},on:{\"click\":function($event){_vm.deleteDialog = false}}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.cancel\")))])]),_c(VBtn,{attrs:{\"elevation\":\"0\",\"color\":\"primary\"},on:{\"click\":_vm.deleteSeminar}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"global.confirm\")))])])],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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 } from \"vue-property-decorator\";\r\n\r\nimport type { EditSeminarRequest, Seminar, SeminarBlock } from \"@/core/models\";\r\n\r\nimport Sidebar from \"../components/Sidebar.vue\";\r\nimport Participants from \"../components/Participants.vue\";\r\nimport Block from \"../components/admin/Block.vue\";\r\nimport BlockDialog from \"../components/admin/BlockDialog.vue\";\r\n\r\n@Component({ components: { Sidebar, Participants, Block, BlockDialog } })\r\nexport default class SeminarDetails extends Vue {\r\n @Getter(\"profile/id\") userId!: string;\r\n @Getter(\"seminars/loading\") loading!: boolean;\r\n @Getter(\"seminars/adding\") adding!: boolean;\r\n @Getter(\"seminars/selected\") seminar?: Seminar;\r\n @Getter(\"seminars/blocks\") blocks!: SeminarBlock[];\r\n @Getter(\"seminars/currentLogo\") seminarLogo?: string;\r\n\r\n @Action(\"seminars/revertOrder\") revertOrder!: () => void;\r\n @Action(\"seminars/updateOrder\") updateOrder!: () => Promise;\r\n @Action(\"seminars/get\") getSeminar!: (d: any) => Promise;\r\n @Action(\"seminars/remove\") removeSeminar!: (id: number) => Promise;\r\n @Action(\"seminars/removeLogo\") removeLogoAction!: (d: any) => Promise;\r\n @Action(\"seminars/edit\")\r\n editSeminar!: (s: EditSeminarRequest) => Promise;\r\n\r\n @Action(\"displaySnackbar\") displaySnackbar!: (m: string) => void;\r\n\r\n // seminar\r\n seminarDialog = false;\r\n editing = false;\r\n newSeminar: Seminar | null = null;\r\n logo: File | null = null;\r\n preview: string | null = null;\r\n openEditSeminar() {\r\n if (!this.seminar) return;\r\n this.editing = true;\r\n this.seminarDialog = true;\r\n this.newSeminar = JSON.parse(JSON.stringify(this.seminar));\r\n }\r\n closeSeminarDialog() {\r\n this.editing = false;\r\n this.newSeminar = null;\r\n this.seminarDialog = false;\r\n }\r\n async removeLogo() {\r\n if (!this.seminar) return;\r\n await this.removeLogoAction(this.seminar.id);\r\n }\r\n async confirmSeminarChanges() {\r\n if (!this.seminar || !this.editing || !this.newSeminar) return;\r\n\r\n if (!this.newSeminar.name) {\r\n this.displaySnackbar(\"Must provide title for the seminar\");\r\n return;\r\n }\r\n\r\n this.seminarDialog = false;\r\n try {\r\n console.debug(this.newSeminar);\r\n await this.editSeminar({\r\n logo: this.logo,\r\n seminarId: this.seminar.id,\r\n name: this.newSeminar.name.trim(),\r\n description: this.newSeminar.description?.trim() || \"\",\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n this.newSeminar = null;\r\n }\r\n\r\n handleFileChanged(f: File | null) {\r\n if (!f) this.preview = null;\r\n else {\r\n const reader = new FileReader();\r\n reader.onload = _ => {\r\n this.preview = reader.result as string;\r\n };\r\n reader.readAsDataURL(f);\r\n }\r\n }\r\n\r\n deleteDialog = false;\r\n async deleteSeminar() {\r\n if (!this.newSeminar) return;\r\n this.seminarDialog = false;\r\n await this.removeSeminar(this.newSeminar.id);\r\n this.deleteDialog = false;\r\n this.$router.replace(\"/seminars\");\r\n }\r\n\r\n // blocks\r\n blockDialog = false;\r\n newBlock: SeminarBlock | null = null;\r\n openAddBlock() {\r\n if (!this.seminar) return;\r\n this.blockDialog = true;\r\n this.newBlock = {\r\n id: 0,\r\n seminarId: this.seminar.id,\r\n title: \"\",\r\n description: \"\",\r\n elements: [],\r\n };\r\n }\r\n\r\n // updating seminar order\r\n reorderLoading = false;\r\n async confirmReorder() {\r\n this.reorderLoading = true;\r\n await this.updateOrder();\r\n this.reorderLoading = false;\r\n }\r\n\r\n // buttons\r\n get isAdmin() {\r\n return this.seminar?.ownerId === this.userId;\r\n }\r\n goToSeminar() {\r\n if (!this.seminar) return;\r\n this.$router.push(`/seminars/details/${this.seminar.id}`);\r\n }\r\n goToDash() {\r\n if (!this.seminar) return;\r\n this.$router.push(`/seminars/dashboard/${this.seminar.id}`);\r\n }\r\n\r\n created() {\r\n const { id } = this.$route.params;\r\n this.getSeminar({ id: Number(id) });\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!./Edit.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!./Edit.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=5f1e3dfa&\"\nimport script from \"./Edit.vue?vue&type=script&lang=ts&\"\nexport * from \"./Edit.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 { 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":""}