diff --git a/vuetify.0.16.1.patched/vuetify.js b/vuetify.0.16.1.patched/vuetify.js index b827765..ad9fc61 100644 --- a/vuetify.0.16.1.patched/vuetify.js +++ b/vuetify.0.16.1.patched/vuetify.js @@ -8598,15 +8598,6 @@ __webpack_require__(115); }, render: function render(h) { - // Do not add click outside for hover menu - var directives = [{ - name: 'resize', - value: { - debounce: 500, - value: this.onResize - } - }]; - var data = { staticClass: 'menu', class: { @@ -8615,7 +8606,13 @@ __webpack_require__(115); style: { display: this.fullWidth ? 'block' : 'inline-block' }, - directives: directives, + directives: [{ + name: 'resize', + value: { + debounce: 500, + value: this.onResize + } + }], on: { keydown: this.changeListIndex } @@ -8742,7 +8739,7 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr } }, [this.genContent()]); }, - genContent: function genContent() { + genDirectives: function genDirectives() { var _this = this; // Do not add click outside for hover menu @@ -8762,17 +8759,21 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr name: 'show', value: this.isContentActive }); + return directives; + }, + genContent: function genContent() { + var _this2 = this; var options = { 'class': [('menu__content ' + this.contentClass).trim(), { 'menuable__content__active': this.isActive }], style: this.styles, - directives: directives, + directives: this.genDirectives(), ref: 'content', on: { click: function click(e) { e.stopPropagation(); if (e.target.getAttribute('disabled')) return; - if (_this.closeOnContentClick) _this.isActive = false; + if (_this2.closeOnContentClick) _this2.isActive = false; } } }; diff --git a/vuetify.0.16.1.patched/vuetify.js.map b/vuetify.0.16.1.patched/vuetify.js.map index ff6dcd2..60e4bc5 100644 --- a/vuetify.0.16.1.patched/vuetify.js.map +++ b/vuetify.0.16.1.patched/vuetify.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 76736fde674a191b9a2b","webpack:///./src/mixins/themeable.js","webpack:///./src/util/helpers.js","webpack:///./src/components/VIcon/index.js","webpack:///./src/mixins/colorable.js","webpack:///./src/mixins/toggleable.js","webpack:///./src/components/transitions/index.js","webpack:///./src/directives/click-outside.js","webpack:///./src/directives/resize.js","webpack:///./src/directives/ripple.js","webpack:///./src/components/VBtn/index.js","webpack:///./src/directives/touch.js","webpack:///./src/mixins/bootable.js","webpack:///./src/mixins/routable.js","webpack:///./src/stylus/components/_input-groups.styl","webpack:///./src/mixins/input.js","webpack:///./src/mixins/dependent.js","webpack:///./src/components/VCard/index.js","webpack:///./src/mixins/applicationable.js","webpack:///./src/mixins/detachable.js","webpack:///./src/mixins/positionable.js","webpack:///./src/stylus/components/_selection-controls.styl","webpack:///./src/mixins/rippleable.js","webpack:///./src/stylus/components/_grid.styl","webpack:///./src/components/VGrid/grid.js","webpack:///./src/mixins/contextualable.js","webpack:///./src/mixins/button-group.js","webpack:///./src/components/VDialog/VDialog.js","webpack:///./src/mixins/overlayable.js","webpack:///./src/mixins/stackable.js","webpack:///./src/components/VCheckbox/index.js","webpack:///./src/components/transitions/row-expand-transition.js","webpack:///./src/mixins/selectable.js","webpack:///./src/mixins/loadable.js","webpack:///./src/components/VProgressLinear/index.js","webpack:///./src/components/VSelect/index.js","webpack:///./src/stylus/components/_text-fields.styl","webpack:///./src/components/VList/index.js","webpack:///./src/components/VMenu/index.js","webpack:///./src/mixins/delayable.js","webpack:///./src/mixins/menuable.js","webpack:///./src/mixins/filterable.js","webpack:///./src/mixins/maskable.js","webpack:///./src/util/mask.js","webpack:///./src/stylus/components/_pickers.styl","webpack:///./src/mixins/picker.js","webpack:///./src/index.js","webpack:///./src/stylus/app.styl","webpack:///./node_modules/semver/semver.js","webpack:///./node_modules/process/browser.js","webpack:///./package.json","webpack:///./src/components/index.js","webpack:///./src/components/Vuetify/index.js","webpack:///./src/util/load.js","webpack:///./src/components/VApp/index.js","webpack:///./src/components/VApp/VApp.js","webpack:///./src/stylus/components/_app.styl","webpack:///./src/util/breakpoint.js","webpack:///./src/util/touchSupport.js","webpack:///./src/components/VAlert/index.js","webpack:///./src/components/VAlert/VAlert.js","webpack:///./src/stylus/components/_alerts.styl","webpack:///./src/components/VIcon/VIcon.js","webpack:///./src/stylus/components/_icons.styl","webpack:///./src/mixins/transitionable.js","webpack:///./src/components/VAvatar/index.js","webpack:///./src/components/VAvatar/VAvatar.js","webpack:///./src/stylus/components/_avatars.styl","webpack:///./src/components/VBadge/index.js","webpack:///./src/components/VBadge/VBadge.js","webpack:///./src/stylus/components/_badges.styl","webpack:///./src/components/VBottomNav/index.js","webpack:///./src/components/VBottomNav/VBottomNav.js","webpack:///./src/stylus/components/_bottom-navs.styl","webpack:///./src/components/VBottomSheet/index.js","webpack:///./src/components/VBottomSheet/VBottomSheet.js","webpack:///./src/stylus/components/_bottom-sheets.styl","webpack:///./src/stylus/components/_dialogs.styl","webpack:///./src/stylus/components/_overlay.styl","webpack:///./src/components/VBreadcrumbs/index.js","webpack:///./src/components/VBreadcrumbs/VBreadcrumbs.js","webpack:///./src/stylus/components/_breadcrumbs.styl","webpack:///./src/components/VBreadcrumbs/VBreadcrumbsItem.js","webpack:///./src/components/VBtn/VBtn.js","webpack:///./src/stylus/components/_buttons.styl","webpack:///./src/components/VBtnToggle/index.js","webpack:///./src/components/VBtnToggle/VBtnToggle.js","webpack:///./src/stylus/components/_button-toggle.styl","webpack:///./src/components/VCard/VCard.js","webpack:///./src/stylus/components/_cards.styl","webpack:///./src/components/VCard/VCardMedia.js","webpack:///./src/components/VCard/VCardTitle.js","webpack:///./src/components/VCarousel/index.js","webpack:///./src/components/VCarousel/VCarousel.js","webpack:///./src/stylus/components/_carousel.styl","webpack:///./src/components/VCarousel/VCarouselItem.js","webpack:///./src/components/VCheckbox/VCheckbox.js","webpack:///./src/components/transitions/expand-transition.js","webpack:///./src/mixins/validatable.js","webpack:///./src/components/VChip/index.js","webpack:///./src/components/VChip/VChip.js","webpack:///./src/stylus/components/_chips.styl","webpack:///./src/components/VDataTable/index.js","webpack:///./src/components/VDataTable/VDataTable.js","webpack:///./src/stylus/components/_tables.styl","webpack:///./src/stylus/components/_data-table.styl","webpack:///./src/components/VProgressLinear/VProgressLinear.js","webpack:///./src/stylus/components/_progress-linear.styl","webpack:///./src/components/VSelect/VSelect.js","webpack:///./src/stylus/components/_select.styl","webpack:///./src/components/VList/VList.js","webpack:///./src/stylus/components/_lists.styl","webpack:///./src/components/VList/VListGroup.js","webpack:///./src/components/VList/VListTile.js","webpack:///./src/components/VList/VListTileAction.js","webpack:///./src/components/VMenu/VMenu.js","webpack:///./src/stylus/components/_menus.styl","webpack:///./src/components/VMenu/mixins/menu-activator.js","webpack:///./src/components/VMenu/mixins/menu-generators.js","webpack:///./src/components/VMenu/mixins/menu-keyable.js","webpack:///./src/components/VMenu/mixins/menu-position.js","webpack:///./src/components/VSelect/mixins/select-autocomplete.js","webpack:///./src/components/VSelect/mixins/select-generators.js","webpack:///./src/components/VDataTable/mixins/head.js","webpack:///./src/components/VDataTable/mixins/body.js","webpack:///./src/components/VDataTable/mixins/foot.js","webpack:///./src/components/VDataTable/mixins/progress.js","webpack:///./src/components/VDataTable/VEditDialog.js","webpack:///./src/stylus/components/_small-dialog.styl","webpack:///./src/components/VDatePicker/index.js","webpack:///./src/components/VDatePicker/VDatePicker.js","webpack:///./src/stylus/components/_date-picker.styl","webpack:///./src/components/VDatePicker/mixins/date-years.js","webpack:///./src/components/VDatePicker/mixins/date-title.js","webpack:///./src/components/VDatePicker/mixins/date-header.js","webpack:///./src/components/VDatePicker/mixins/date-table.js","webpack:///./src/components/VDatePicker/mixins/month-table.js","webpack:///./src/components/VDialog/index.js","webpack:///./src/components/VDivider/index.js","webpack:///./src/components/VDivider/VDivider.js","webpack:///./src/stylus/components/_dividers.styl","webpack:///./src/components/VExpansionPanel/index.js","webpack:///./src/components/VExpansionPanel/VExpansionPanel.js","webpack:///./src/stylus/components/_expansion-panel.styl","webpack:///./src/components/VExpansionPanel/VExpansionPanelContent.js","webpack:///./src/components/VFooter/index.js","webpack:///./src/components/VFooter/VFooter.js","webpack:///./src/stylus/components/_footer.styl","webpack:///./src/components/VForm/index.js","webpack:///./src/components/VForm/VForm.js","webpack:///./src/components/VGrid/index.js","webpack:///./src/components/VGrid/VContent.js","webpack:///./src/stylus/components/_content.styl","webpack:///./src/components/VGrid/VContainer.js","webpack:///./src/components/VGrid/VFlex.js","webpack:///./src/components/VGrid/VLayout.js","webpack:///./src/components/VNavigationDrawer/index.js","webpack:///./src/components/VNavigationDrawer/VNavigationDrawer.js","webpack:///./src/stylus/components/_navigation-drawer.styl","webpack:///./src/components/VPagination/index.js","webpack:///./src/components/VPagination/VPagination.js","webpack:///./src/stylus/components/_pagination.styl","webpack:///./src/components/VParallax/index.js","webpack:///./src/components/VParallax/VParallax.js","webpack:///./src/stylus/components/_parallax.styl","webpack:///./src/mixins/translatable.js","webpack:///./src/components/VProgressCircular/index.js","webpack:///./src/components/VProgressCircular/VProgressCircular.js","webpack:///./src/stylus/components/_progress-circular.styl","webpack:///./src/components/VRadioGroup/index.js","webpack:///./src/components/VRadioGroup/VRadioGroup.js","webpack:///./src/stylus/components/_radio-group.styl","webpack:///./src/components/VRadioGroup/VRadio.js","webpack:///./src/mixins/tab-focusable.js","webpack:///./src/components/VSlider/index.js","webpack:///./src/components/VSlider/VSlider.js","webpack:///./src/stylus/components/_sliders.styl","webpack:///./src/components/VSnackbar/index.js","webpack:///./src/components/VSnackbar/VSnackbar.js","webpack:///./src/stylus/components/_snackbars.styl","webpack:///./src/components/VSpeedDial/index.js","webpack:///./src/components/VSpeedDial/VSpeedDial.js","webpack:///./src/stylus/components/_speed-dial.styl","webpack:///./src/components/VStepper/index.js","webpack:///./src/components/VStepper/VStepper.js","webpack:///./src/stylus/components/_steppers.styl","webpack:///./src/components/VStepper/VStepperStep.js","webpack:///./src/components/VStepper/VStepperContent.js","webpack:///./src/components/VSubheader/index.js","webpack:///./src/components/VSubheader/VSubheader.js","webpack:///./src/stylus/components/_subheaders.styl","webpack:///./src/components/VSwitch/index.js","webpack:///./src/components/VSwitch/VSwitch.js","webpack:///./src/stylus/components/_switch.styl","webpack:///./src/components/VSystemBar/index.js","webpack:///./src/components/VSystemBar/VSystemBar.js","webpack:///./src/stylus/components/_system-bars.styl","webpack:///./src/components/VTabs/index.js","webpack:///./src/components/VTabs/VTabs.js","webpack:///./src/stylus/components/_tabs.styl","webpack:///./src/components/VTabs/VTabsItem.js","webpack:///./src/components/VTabs/VTabsItems.js","webpack:///./src/components/VTabs/VTabsContent.js","webpack:///./src/components/VTabs/VTabsBar.js","webpack:///./src/components/VTextField/index.js","webpack:///./src/components/VTextField/VTextField.js","webpack:///./src/components/VTimePicker/index.js","webpack:///./src/components/VTimePicker/VTimePicker.js","webpack:///./src/stylus/components/_time-picker.styl","webpack:///./src/components/VTimePicker/mixins/time-title.js","webpack:///./src/components/VTimePicker/mixins/time-body.js","webpack:///./src/components/VToolbar/index.js","webpack:///./src/components/VToolbar/VToolbar.js","webpack:///./src/stylus/components/_toolbar.styl","webpack:///./src/components/VToolbar/VToolbarSideIcon.js","webpack:///./src/components/VTooltip/index.js","webpack:///./src/components/VTooltip/VTooltip.js","webpack:///./src/stylus/components/_tooltips.styl","webpack:///./src/directives/index.js","webpack:///./src/directives/scroll.js"],"names":["props","dark","Boolean","light","computed","themeClasses","createSimpleFunctional","c","el","name","replace","functional","render","h","data","children","staticClass","trim","createSimpleTransition","origin","mode","type","String","default","context","on","Object","isExtensible","beforeEnter","style","transformOrigin","webkitTransformOrigin","createJavaScriptTransition","functions","css","directiveConfig","binding","defaults","assign","modifiers","value","arg","addOnceEventListener","event","cb","once","removeEventListener","addEventListener","getObjectValueByPath","obj","path","constructor","a","split","i","n","length","k","createRange","Array","from","v","getZIndex","nodeType","Node","ELEMENT_NODE","zi","document","defaultView","getComputedStyle","getPropertyValue","isNaN","parentNode","VIcon","install","Vue","component","color","methods","addColorClassChecks","classes","parts","factory","prop","model","required","isActive","watch","val","$emit","Toggleable","VBottomSheetTranstion","VCarouselTransition","VCarouselReverseTransition","VTabTransition","VTabReverseTransition","VMenuTransition","VFabTransition","VDialogTransition","VDialogBottomTransition","VFadeTransition","VScaleTransition","VSlideXTransition","VSlideXReverseTransition","VSlideYTransition","VSlideYReverseTransition","VExpandTransition","VRowExpandTransition","directive","e","callback","elements","include","push","clickedInEls","setTimeout","x","clientX","y","clientY","clickedInEl","b","getBoundingClientRect","left","right","top","bottom","bind","$vuetify","load","onClick","_clickOutside","unbind","inserted","debounce","debounceTimeout","onResize","clearTimeout","window","passive","_onResize","forEach","ripple","show","container","createElement","animation","appendChild","className","class","size","clientWidth","clientHeight","width","center","height","position","offset","classList","add","dataset","activated","Date","now","remove","hide","ripples","getElementsByClassName","diff","Number","delay","removeChild","VBtn","touchstart","wrapper","touch","changedTouches","touchstartX","touchstartY","start","touchend","touchendX","touchendY","end","handleGesture","touchmove","touchmoveX","touchmoveY","move","offsetX","offsetY","up","down","target","parent","options","isBooted","lazy","showLazyContent","content","directives","Ripple","append","disabled","exact","href","to","nuxt","router","tag","click","generateRouteLink","attrs","$listeners","activeClass","components","mixins","isFocused","tabFocused","internalTabIndex","lazyValue","appendIcon","appendIconCb","Function","hint","hideDetails","label","persistentHint","placeholder","prependIcon","prependIconCb","readonly","tabindex","toggleKeys","inputGroupClasses","loading","isDirty","hasError","inputValue","groupFocus","groupBlur","genLabel","$createElement","for","$attrs","id","$slots","genMessages","messages","validations","genHint","map","genError","key","domProps","innerHTML","error","genIcon","defaultCallback","shouldClear","clearable","icon","clearableCallback","stopPropagation","genInputGroup","input","defaultAppendCallback","wrapperChildren","detailsChildren","focus","blur","keyup","includes","keyCode","keydown","toggle","preventDefault","unshift","progress","genProgress","counter","genCounter","searchChildren","results","child","isDependent","closeDependents","$children","opts","getOpenDependents","getOpenDependentElements","d","getClickableDependentElements","result","$el","$refs","dependent","Dependent","VCard","VCardActions","VCardText","VCardMedia","VCardTitle","app","created","updateApplication","contentClass","mounted","initDetach","beforeDestroy","_isDestroyed","querySelector","console","warn","insertBefore","firstChild","absolute","fixed","genRipple","rippleClasses","Grid","keys","join","primary","secondary","success","info","warning","buttons","listeners","getValue","update","selected","button","elm","removeAttribute","isSelected","setAttribute","contains","index","updateValue","$on","$off","require","DependentFactory","Stackable","StackableFactory","minZIndex","stackClass","ClickOutside","persistent","fullscreen","fullWidth","scrollable","transition","stackedActions","contentClasses","hideOverlay","genOverlay","hideScroll","removeOverlay","showScroll","closeConditional","getMaxZIndex","ref","activator","dialog","zIndex","activeZIndex","display","overlay","overlayOffset","overlayTimeout","overlayTransitionDuration","undefined","requestAnimationFrame","scrollListener","deltaY","body","checkPath","hasScrollbar","scrollHeight","shouldScroll","delta","scrollTop","isInside","composedPath","wheelDelta","getSelection","anchorNode","documentElement","tagName","parentElement","breakpoint","mdAndDown","exclude","base","zis","activeElements","activeElement","Math","max","VCheckbox","enter","done","td","overflow","afterEnter","leave","afterLeave","falseValue","trueValue","isArray","indexOf","indeterminate","inputIndeterminate","slice","splice","validate","VProgressLinear","VSelect","VListTileActionText","VListTileAvatar","VListTileContent","VListTileTitle","VListTileSubTitle","VList","VListGroup","VListTile","VListTileAction","VMenu","openTimeout","closeTimeout","openDelay","closeDelay","clearDelay","runDelay","parseInt","dimensions","offsetTop","hasWindow","absoluteX","absoluteY","isContentActive","pageYOffset","allowOverflow","maxWidth","minWidth","nudgeBottom","nudgeLeft","nudgeRight","nudgeTop","nudgeWidth","offsetOverflow","positionX","positionY","hasActivator","callDeactivate","callActivate","absolutePosition","activate","calcLeft","calcTop","calcXOverflow","parsedMaxWidth","innerWidth","getInnerWidth","totalWidth","availableWidth","calcYOverflow","documentHeight","getInnerHeight","toTop","contentHeight","totalHeight","isOverflowing","checkForWindow","deactivate","getOffsetTop","getActivator","innerHeight","measure","selector","sneakPeek","isShown","startTransition","resetDimensions","updateDimensions","noDataText","selection","preDefined","dontFillMaskBlanks","mask","returnMaskedValue","masked","oldText","newText","maskText","substr","char","isMaskDelimiter","setCaretPosition","setSelectionRange","updateRange","newValue","lazySelection","text","unmaskText","$nextTick","allowedMasks","test","match","convert","toUpperCase","toLowerCase","defaultDelimiters","isMask","hasOwnProperty","maskValidates","textIndex","maskIndex","RegExp","isSaving","actions","autosave","landscape","noTitle","save","cancel","genSlot","$scopedSlots","Vuetify","use","version","checkVueVersion","vueDep","devDependencies","vue","Semver","satisfies","application","bar","touchSupport","util","defineReactive","prototype","transitions","t","startsWith","_loadCallbacks","readyState","VApp","Resize","resizeTimeout","runCallbacks","pop","xs","sm","md","lg","xl","xsOnly","smOnly","smAndDown","smAndUp","mdOnly","mdAndUp","lgOnly","lgAndDown","lgAndUp","xlOnly","VAlert","dismissible","close","alert","fa","mdi","large","medium","xLarge","Contextualable","iconName","iconType","textContent","thirdPartyIcon","Colorable","call","iconClasses","filter","comparison","VAvatar","tile","VBadge","overlap","badge","VBottomNav","active","shift","item","VBottomSheet","VDialog","inset","slot","VBreadcrumbs","VBreadcrumbsItem","provide","divider","icons","items","inject","ToggleableFactory","block","fab","flat","outline","round","small","colorBackground","colorText","hover","detail","genContent","genLoader","loader","JSON","stringify","VBtnToggle","mandatory","multiple","hasValue","handler","deep","img","raised","horizontal","styles","background","contain","src","primaryTitle","VCarousel","VCarouselItem","Touch","slideTimeout","reverse","cycle","hideControls","interval","validator","leftControlIcon","rightControlIcon","open","_uid","restartTimeout","init","genControls","genItems","direction","fn","select","raf","startTimeout","next","prev","reverseTransition","computedTransition","backgroundImage","role","errorBucket","hasFocused","hasInput","shouldValidate","valid","errorMessages","rules","validateOnBlur","newVal","oldVal","reset","isMultiple","force","rule","TypeError","VChip","VDataTable","VTableOverflow","VEditDialog","all","searchLength","defaultPagination","descending","page","rowsPerPage","sortBy","totalItems","expanded","expand","headers","headerText","hideActions","mustSort","noResultsText","rowsPerPageItems","rowsPerPageText","selectAll","search","toString","customFilter","some","j","customSort","isDescending","sort","sortA","sortB","s","toLocaleLowerCase","itemKey","pagination","computedPagination","hasPagination","hasSelectAll","itemsLength","someItems","everyItem","filteredItems","every","getPage","pageStart","pageStop","hasSearch","updatePagination","updatedPagination","isExpanded","needsTR","row","find","genTR","firstSortable","sortable","genTHead","genTProgress","genTBody","genTFoot","backgroundColor","backgroundOpacity","bufferValue","query","effectiveWidth","bufferStyles","backgroundStyle","parseFloat","opacity","genDeterminate","genBar","genIndeterminate","fade","slide","inheritAttrs","cachedItems","tags","lastItem","lazySearch","menuIsActive","searchTimeout","selectedIndex","selectedItems","shouldBreak","auto","autocomplete","cacheItems","chips","debounceSearch","browserAutocomplete","itemAvatar","itemText","itemValue","itemDisabled","maxHeight","multiLine","solo","searchInput","singleLine","returnObject","segmented","editable","isAutocomplete","isDropdown","computedContentClass","computedItems","filterDuplicates","concat","isNotFiltering","filterSearch","hideSelections","searchValue","getText","selectedItem","get","set","genSelectedItems","EventTarget","onScroll","len","menu","listIndex","scrollWidth","changeSelectedIndex","indexes","newIndex","selectItem","compareObjects","aProps","bProps","propName","arr","self","findIndex","genDirectives","genListeners","showMenuItems","onKeyDown","getPropertyFromItem","field","showMenu","showMoreItems","savedIndex","genSelectionsAndSearch","genMenu","listClick","listClose","uid","groups","dense","subheader","threeLine","twoLine","$options","_componentTag","group","noAction","$route","matchRoute","avatar","isLink","isRouteLink","defaultOffset","maxHeightAutoDefault","startIndex","stopIndex","hasJustFocused","closeOnClick","closeOnContentClick","openOnClick","openOnHover","calculatedLeft","calcLeftAuto","calculatedMaxHeight","calculatedMaxWidth","calculatedMinWidth","min","calculatedTop","calcTopAuto","newActivator","oldActivator","removeActivatorEvents","addActivatorEvents","getTiles","calculateScroll","offsetWidth","changeListIndex","genActivator","genTransition","activatorClickHandler","mouseEnterHandler","mouseLeaveHandler","relatedTarget","getAttribute","mouseenter","mouseleave","tiles","setActiveListIndex","querySelectorAll","actingIndex","offsetPadding","queryText","genFiltered","getMaskedCharacters","middle","genHighlight","menuZIndex","genList","flex","genSelections","slots","genSlotSelection","genChipSelection","genSegmentedBtn","genCommaSelection","isDisabled","comma","o","header","genHeader","genDivider","genTile","noData","genAction","checkbox","change","array","headerCell","genHeaderData","scope","genHeaderSortingData","align","tabIndex","beingSorted","genEmptyBody","genFilteredItems","genExpandedRow","colspan","RowExpandTransitionFunctions","createProps","defineProperty","$set","rows","expandRow","genPrevIcon","genNextIcon","genSelect","genPagination","stop","pageText","genActions","footer","col","cancelText","saveText","genButton","VDatePicker","createDefaultDateFormat","pad","isoString","date","getFullYear","getMonth","getDate","month","year","tableDate","originalDate","currentDay","currentMonth","currentYear","isReversing","narrowDays","activePicker","locale","dateFormat","titleDateFormat","headerDateFormat","monthFormat","formattedValue","allowedDates","firstDayOfWeek","yearIcon","timeZone","Intl","DateTimeFormat","resolvedOptions","toLocaleDateString","day","supportsLocaleFormat","firstAllowedDate","setDate","setHours","setMonth","isAllowed","inputDate","makeDate","pickerDateFormat","tableMonth","tableYear","titleText","normalizeDate","defaultTitleDateFormat","weekday","setInterval","years","clearInterval","getWeekDays","$parent","first","getDay","format","allowedDate","genTableTouch","touchCallback","genTable","tableChildren","wheel","monthWheelScroll","table","genPickerBody","pickerBodyChildren","genSelector","dateGenTHead","dateGenTBody","monthGenTBody","genYears","genTitle","genYearItems","yearClick","buttonText","genYearIcon","getYearBtn","titleDate","genTitleText","title","genTitleDate","genBtn","nativeOn","keyValue","selectorText","selectorDate","dateWheelScroll","days","dateGenTR","dateClick","dateGenButtonText","dateGenTD","dateIsActive","dateIsCurrent","daysInMonth","monthClick","monthGenTD","monthName","monthIsActive","monthIsCurrent","cols","fill","_","VDivider","VExpansionPanel","VExpansionPanelContent","panelClick","focusable","popout","getChildren","panel","genBody","VFooter","paddingLeft","paddingRight","destroyed","VForm","inputs","errorBag","lazyValidation","errors","values","getInputs","depth","watchInputs","watchChild","watcher","$watch","immediate","$delete","updated","removed","submit","VSpacer","VGrid","VContent","VContainer","VFlex","VLayout","paddingTop","paddingBottom","VNavigationDrawer","isMobile","touchArea","clipped","disableRouteWatcher","enableResizeWatcher","floating","miniVariant","miniVariantWidth","mobileBreakPoint","permanent","temporary","touchless","calculatedHeight","calculatedWidth","marginTop","showOverlay","calculateTouchArea","parentRect","checkIfMobile","swipeLeft","swipeRight","abs","VPagination","circle","totalVisible","nextIcon","prevIcon","maxButtons","maxLength","range","even","floor","previous","genItem","VParallax","alt","jumbotron","transform","parallax","complete","translate","objHeight","naturalHeight","elOffsetTop","imgData","normalizedHeight","parallaxDist","percentScrolled","windowHeight","windowBottom","imgHeight","calcDimensions","translated","VProgressCircular","rotate","calculatedSize","circumference","PI","radius","cxy","normalizedValue","strokeDashArray","strokeDashOffset","svgSize","svgStyles","viewBox","genCircle","cx","cy","r","genSvg","xmlns","svg","VRadioGroup","VRadio","isMandatory","registerChild","unregisterChild","column","getRadios","radio","toggleRadio","radioBlur","radioFocus","genInput","genWrapper","checked","$vnode","endsWith","VSlider","keyPressed","inverted","step","thumbColor","thumbLabel","vertical","snap","trackColor","inputWidth","thumbContainerClasses","thumbStyles","tickContainerStyles","trackStyles","scaleX","calculateScale","translateX","trackFillStyles","numTicks","scale","onMouseDown","onMouseMove","onMouseUp","track","offsetLeft","trackWidth","touches","multiplier","shiftKey","ctrlKey","amount","onKeyUp","sliderMove","genThumbLabel","genThumbContainer","mousedown","genSteps","ticks","span","genTrackContainer","slider","mouseup","VSnackbar","activeTimeout","timeout","VSpeedDial","list","VStepper","VStepperHeader","VStepperItems","VStepperContent","VStepperStep","stepClick","steps","isReverse","nonLinear","altLabels","getSteps","isVertical","isInactive","completeIcon","editIcon","errorIcon","stepContent","wrapperClasses","onTransition","contentData","wrapperData","VSubheader","VSwitch","containerClasses","toggleClasses","VSystemBar","lightsOut","status","computedHeight","VTabs","VTabsSlider","VTabsBar","VTabsContent","VTabsItem","VTabsItems","registerContent","unregisterContent","registerTabItem","unregisterTabItem","tabClick","isScrollable","tabItems","activeIndex","tabsSlider","targetEl","tabsContainer","centered","grow","updateTabs","newItems","oldItems","tab","nextIndex","prevIndex","setActiveIndex","action","callSlider","addTabItem","removeTabItem","link","showTransition","div","scrollOffset","itemOffset","startX","containerStyles","leftIconVisible","rightIconVisible","newOffsetRight","itemWidth","genContainer","capitalize","charAt","scrollLeft","newOffset","scrollRight","newOffsetLeft","currentOffset","currentIndex","VTextField","initialValue","inputHeight","badInput","autofocus","autoGrow","box","prefix","suffix","textarea","count","inputLength","counterLength","parsedLength","shouldAutoGrow","calculateInputHeight","minHeight","onInput","resetSelections","validity","maxlength","genFix","selectionStart","VTimePicker","isDragging","originalTime","period","selectingHour","ranges","hours","minutes","allowedHours","allowedMinutes","is24hr","is24hrAfter12","hour","degrees","degreesPerUnit","inputTime","getHours","minute","getMinutes","firstAllowed","timeArray","clockHand","clockSize","allowed","mod","convert12to24hr","pm","generateRange","genTime","genAMPM","genPeriod","hasChanged","genHand","mousemove","onDragMove","genHours","genMinutes","changing","getTransform","num","getPosition","radiusPercentage","sin","cos","changeHour","time","changeMinute","current","m","rect","clock","coords","selecting","angle","insideClick","euclidean","p0","p1","dx","dy","sqrt","atan2","VToolbarTitle","VToolbarItems","VToolbar","heights","mobileLandscape","mobile","desktop","denseHeight","defaultHeight","prominentHeight","isExtended","isScrollingProxy","previousScroll","card","clippedLeft","clippedRight","extended","manualScroll","prominent","scrollOffScreen","scrollTarget","scrollThreshold","computedMarginTop","isScrolling","whenScrolled","currentScroll","extension","defaultSlot","VTooltip","tooltip","_onScroll"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;AC7DA,yDAAe;AACbA,SAAO;AACLC,UAAMC,OADD;AAELC,WAAOD;AAFF,GADM;;AAMbE,YAAU;AACRC,gBADQ,0B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ACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD,sCAAsC;AACtC,oCAAoC;AACpC,sCAAsC;AACtC,oCAAoC;AACpC,sCAAsC;AACtC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,2BAA2B;AAC3B,4CAA4C;AAC5C;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,2BAA2B;AAC3B,2CAA2C;AAC3C;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/wCA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;AACA,4BAA4B,UAAU;;;;;;;ACvLtC;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF,mBAAmB;AACnB;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,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.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Vuetify\"] = factory();\n\telse\n\t\troot[\"Vuetify\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 45);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 76736fde674a191b9a2b","export default {\n props: {\n dark: Boolean,\n light: Boolean\n },\n\n computed: {\n themeClasses () {\n return {\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/themeable.js","export function createSimpleFunctional (c, el = 'div', name) {\n name = name || c.replace(/__/g, '-')\n\n return {\n name: `v-${name}`,\n functional: true,\n\n render: (h, { data, children }) => {\n data.staticClass = (`${c} ${data.staticClass || ''}`).trim()\n\n return h(el, data, children)\n }\n }\n}\n\nexport function createSimpleTransition (name, origin = 'top center 0', mode) {\n return {\n name,\n\n functional: true,\n\n props: {\n origin: {\n type: String,\n default: origin\n }\n },\n\n render (h, context) {\n context.data = context.data || {}\n context.data.props = { name }\n context.data.on = context.data.on || {}\n if (!Object.isExtensible(context.data.on)) {\n context.data.on = { ...context.data.on }\n }\n\n if (mode) context.data.props.mode = mode\n\n context.data.on.beforeEnter = el => {\n el.style.transformOrigin = context.props.origin\n el.style.webkitTransformOrigin = context.props.origin\n }\n\n return h('transition', context.data, context.children)\n }\n }\n}\n\nexport function createJavaScriptTransition (name, functions, css = true, mode = 'in-out') {\n return {\n name,\n\n functional: true,\n\n props: {\n css: {\n type: Boolean,\n default: css\n },\n mode: {\n type: String,\n default: mode\n }\n },\n\n render (h, context) {\n const data = {\n props: {\n ...context.props,\n name\n },\n on: functions\n }\n\n return h('transition', data, context.children)\n }\n }\n}\n\nexport function directiveConfig (binding, defaults = {}) {\n return Object.assign({},\n defaults,\n binding.modifiers,\n { value: binding.arg },\n binding.value || {}\n )\n}\n\nexport function addOnceEventListener (el, event, cb) {\n var once = () => {\n cb()\n el.removeEventListener(event, once, false)\n }\n\n el.addEventListener(event, once, false)\n}\n\nexport function getObjectValueByPath (obj, path) {\n // credit: http://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key#comment55278413_6491621\n if (!path || path.constructor !== String) return\n path = path.replace(/\\[(\\w+)\\]/g, '.$1') // convert indexes to properties\n path = path.replace(/^\\./, '') // strip a leading dot\n const a = path.split('.')\n for (var i = 0, n = a.length; i < n; ++i) {\n var k = a[i]\n if (obj instanceof Object && k in obj) {\n obj = obj[k]\n } else {\n return\n }\n }\n return obj\n}\n\nexport function createRange (length) {\n return [...Array.from({ length }, (v, k) => k)]\n}\n\nexport function getZIndex (el) {\n if (!el || el.nodeType !== Node.ELEMENT_NODE) return 0\n var zi = document.defaultView.getComputedStyle(el).getPropertyValue('z-index')\n if (isNaN(zi)) return getZIndex(el.parentNode)\n return zi\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/helpers.js","import VIcon from './VIcon'\n\nVIcon.install = function install (Vue) {\n Vue.component(VIcon.name, VIcon)\n}\n\nexport default VIcon\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VIcon/index.js","export default {\n props: {\n color: String\n },\n methods: {\n addColorClassChecks (classes) {\n const parts = this.color ? this.color.trim().split(' ') : ['']\n let color = parts[0] + '--text'\n if (parts.length > 1) color += ' text--' + parts[1]\n classes[color] = !!this.color\n return classes\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/colorable.js","export function factory (prop = 'value', event = 'input') {\n return {\n model: { prop, event },\n\n props: {\n [prop]: { required: false }\n },\n\n data () {\n return {\n isActive: !!this[prop]\n }\n },\n\n watch: {\n [prop] (val) {\n this.isActive = !!val\n },\n isActive (val) {\n !!val !== this[prop] && this.$emit(event, val)\n }\n }\n }\n}\n\nconst Toggleable = factory()\n\nexport default Toggleable\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/toggleable.js","import {\n createSimpleTransition,\n createJavaScriptTransition\n} from '../../util/helpers'\n\nimport ExpandTransitionFunctions from './expand-transition'\nimport RowExpandTransitionFunctions from './row-expand-transition'\n\n// Component specific transitions\nexport const VBottomSheetTranstion = createSimpleTransition('bottom-sheet-transition')\nexport const VCarouselTransition = createSimpleTransition('carousel-transition')\nexport const VCarouselReverseTransition = createSimpleTransition('carousel-reverse-transition')\nexport const VTabTransition = createSimpleTransition('tab-transition')\nexport const VTabReverseTransition = createSimpleTransition('tab-reverse-transition')\nexport const VMenuTransition = createSimpleTransition('menu-transition')\nexport const VFabTransition = createSimpleTransition('fab-transition', 'center center', 'out-in')\n\n// Generic transitions\nexport const VDialogTransition = createSimpleTransition('dialog-transition')\nexport const VDialogBottomTransition = createSimpleTransition('dialog-bottom-transition')\nexport const VFadeTransition = createSimpleTransition('fade-transition')\nexport const VScaleTransition = createSimpleTransition('scale-transition')\nexport const VSlideXTransition = createSimpleTransition('slide-x-transition')\nexport const VSlideXReverseTransition = createSimpleTransition('slide-x-reverse-transition')\nexport const VSlideYTransition = createSimpleTransition('slide-y-transition')\nexport const VSlideYReverseTransition = createSimpleTransition('slide-y-reverse-transition')\n\n// JavaScript transitions\nexport const VExpandTransition = createJavaScriptTransition('expand-transition', ExpandTransitionFunctions)\nexport const VRowExpandTransition = createJavaScriptTransition('row-expand-transition', RowExpandTransitionFunctions)\n\nexport default function install (Vue) {\n Vue.component('v-bottom-sheet-transition', VBottomSheetTranstion)\n Vue.component('v-carousel-transition', VCarouselTransition)\n Vue.component('v-carousel-reverse-transition', VCarouselReverseTransition)\n Vue.component('v-dialog-transition', VDialogTransition)\n Vue.component('v-dialog-bottom-transition', VDialogBottomTransition)\n Vue.component('v-fab-transition', VFabTransition)\n Vue.component('v-fade-transition', VFadeTransition)\n Vue.component('v-menu-transition', VMenuTransition)\n Vue.component('v-scale-transition', VScaleTransition)\n Vue.component('v-slide-x-transition', VSlideXTransition)\n Vue.component('v-slide-x-reverse-transition', VSlideXReverseTransition)\n Vue.component('v-slide-y-transition', VSlideYTransition)\n Vue.component('v-slide-y-reverse-transition', VSlideYReverseTransition)\n Vue.component('v-tab-reverse-transition', VTabReverseTransition)\n Vue.component('v-tab-transition', VTabTransition)\n Vue.component('v-expand-transition', VExpandTransition)\n Vue.component('v-row-expand-transition', VRowExpandTransition)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/transitions/index.js","function directive (e, el, binding, v) {\n if (!e || !v.context.isActive) return\n\n const val = binding.value || (() => true)\n // Check if callback was passed in object or as the value\n const cb = val.callback || val\n // Check if additional elements were passed to be included in check\n const elements = (val.include || (() => []))()\n // Add the element this directive was defined on\n elements.push(el)\n\n if (!clickedInEls(e, elements) && cb(e)) {\n setTimeout(() => (v.context.isActive = false), 0)\n }\n}\n\nfunction clickedInEls (e, elements) {\n // Get position of click\n const x = e.clientX\n const y = e.clientY\n // Loop over all included elements to see if click was in any of them\n for (const el of elements) {\n if (clickedInEl(el, x, y)) return true\n }\n return false\n}\n\nfunction clickedInEl (el, x, y) {\n // Get bounding rect for element (we're in capturing event so can't trust target)\n const b = el.getBoundingClientRect()\n // Check if the click was in the element's bounding rect\n return x >= b.left && x <= b.right && y >= b.top && y <= b.bottom\n}\n\nexport default {\n name: 'click-outside',\n\n bind (el, binding, v) {\n v.context.$vuetify.load(() => {\n const onClick = e => directive(e, el, binding, v)\n document.addEventListener('click', onClick, true)\n el._clickOutside = onClick\n })\n },\n\n unbind (el) {\n document.removeEventListener('click', el._clickOutside, true)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/click-outside.js","function inserted (el, binding) {\n let cb = binding.value\n let debounce = 200\n\n if (typeof binding.value !== 'function') {\n cb = binding.value.value\n debounce = binding.value.debounce\n }\n\n let debounceTimeout = setTimeout(cb, debounce)\n const onResize = () => {\n clearTimeout(debounceTimeout)\n debounceTimeout = setTimeout(cb, debounce)\n }\n\n window.addEventListener('resize', onResize, { passive: true })\n el._onResize = onResize\n\n onResize()\n}\n\nfunction unbind (el, binding) {\n window.removeEventListener('resize', el._onResize)\n}\n\nexport default {\n name: 'resize',\n inserted,\n unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/resize.js","function style (el, value) {\n [\n 'transform',\n 'webkitTransform'\n ].forEach(i => {\n el.style[i] = value\n })\n}\n\nconst ripple = {\n show: (e, el, { value = {} }) => {\n var container = document.createElement('span')\n var animation = document.createElement('span')\n\n container.appendChild(animation)\n container.className = 'ripple__container'\n\n if (value.class) {\n container.className += ` ${value.class}`\n }\n\n const size = el.clientWidth > el.clientHeight\n ? el.clientWidth\n : el.clientHeight\n animation.className = 'ripple__animation'\n animation.style.width = `${size * (value.center ? 1 : 2)}px`\n animation.style.height = animation.style.width\n\n el.appendChild(container)\n const computed = window.getComputedStyle(el)\n if (computed.position !== 'absolute' && computed.position !== 'fixed') el.style.position = 'relative'\n\n const offset = el.getBoundingClientRect()\n const x = value.center ? '50%' : `${e.clientX - offset.left}px`\n const y = value.center ? '50%' : `${e.clientY - offset.top}px`\n\n animation.classList.add('ripple__animation--enter')\n animation.classList.add('ripple__animation--visible')\n style(animation, `translate(-50%, -50%) translate(${x}, ${y}) scale3d(0.01,0.01,0.01)`)\n animation.dataset.activated = Date.now()\n\n setTimeout(() => {\n animation.classList.remove('ripple__animation--enter')\n style(animation, `translate(-50%, -50%) translate(${x}, ${y}) scale3d(0.99,0.99,0.99)`)\n }, 0)\n },\n\n hide: (el) => {\n const ripples = el.getElementsByClassName('ripple__animation')\n\n if (ripples.length === 0) return\n const animation = ripples[ripples.length - 1]\n const diff = Date.now() - Number(animation.dataset.activated)\n let delay = 400 - diff\n\n delay = delay < 0 ? 0 : delay\n\n setTimeout(() => {\n animation.classList.remove('ripple__animation--visible')\n\n setTimeout(() => {\n // Need to figure out a new way to do this\n try {\n if (ripples.length < 1) el.style.position = null\n animation.parentNode && el.removeChild(animation.parentNode)\n } catch (e) {}\n }, 300)\n }, delay)\n }\n}\n\nfunction directive (el, binding, v) {\n if (binding.value === false) return\n\n if ('ontouchstart' in window) {\n el.addEventListener('touchend', () => ripple.hide(el), false)\n el.addEventListener('touchcancel', () => ripple.hide(el), false)\n }\n\n el.addEventListener('mousedown', e => ripple.show(e, el, binding), false)\n el.addEventListener('mouseup', () => ripple.hide(el), false)\n el.addEventListener('mouseleave', () => ripple.hide(el), false)\n // Anchor tags can be dragged, causes other hides to fail - #1537\n el.addEventListener('dragstart', () => ripple.hide(el), false)\n}\n\nfunction unbind (el, binding) {\n el.removeEventListener('touchstart', e => ripple.show(e, el, binding), false)\n el.removeEventListener('mousedown', e => ripple.show(e, el, binding), false)\n el.removeEventListener('touchend', () => ripple.hide(el), false)\n el.removeEventListener('touchcancel', () => ripple.hide(el), false)\n el.removeEventListener('mouseup', () => ripple.hide(el), false)\n el.removeEventListener('mouseleave', () => ripple.hide(el), false)\n el.removeEventListener('dragstart', () => ripple.hide(el), false)\n}\n\nexport default {\n name: 'ripple',\n bind: directive,\n unbind: unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/ripple.js","import VBtn from './VBtn'\n\nVBtn.install = function install (Vue) {\n Vue.component(VBtn.name, VBtn)\n}\n\nexport default VBtn\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtn/index.js","const touchstart = (event, wrapper) => {\n const touch = event.changedTouches[0]\n wrapper.touchstartX = touch.clientX\n wrapper.touchstartY = touch.clientY\n\n wrapper.start &&\n wrapper.start(Object.assign(event, wrapper))\n}\n\nconst touchend = (event, wrapper) => {\n const touch = event.changedTouches[0]\n wrapper.touchendX = touch.clientX\n wrapper.touchendY = touch.clientY\n\n wrapper.end &&\n wrapper.end(Object.assign(event, wrapper))\n\n handleGesture(wrapper)\n}\n\nconst touchmove = (event, wrapper) => {\n const touch = event.changedTouches[0]\n wrapper.touchmoveX = touch.clientX\n wrapper.touchmoveY = touch.clientY\n\n wrapper.move && wrapper.move(Object.assign(event, wrapper))\n}\n\nconst handleGesture = (wrapper) => {\n const { touchstartX, touchendX, touchstartY, touchendY } = wrapper\n wrapper.offsetX = touchendX - touchstartX\n wrapper.offsetY = touchendY - touchstartY\n\n if (touchendX < touchstartX) {\n wrapper.left && wrapper.left(wrapper)\n }\n if (touchendX > touchstartX) {\n wrapper.right && wrapper.right(wrapper)\n }\n if (touchendY < touchstartY) {\n wrapper.up && wrapper.up(wrapper)\n }\n if (touchendY > touchstartY) {\n wrapper.down && wrapper.down(wrapper)\n }\n}\n\nfunction inserted (el, { value }) {\n const wrapper = {\n touchstartX: 0,\n touchstartY: 0,\n touchendX: 0,\n touchendY: 0,\n touchmoveX: 0,\n touchmoveY: 0,\n offsetX: 0,\n offsetY: 0,\n left: value.left,\n right: value.right,\n up: value.up,\n down: value.down,\n start: value.start,\n move: value.move,\n end: value.end\n }\n\n const target = value.parent ? el.parentNode : el\n const options = value.options || { passive: true }\n\n // Needed to pass unit tests\n if (!target) return\n target.addEventListener('touchstart', e => touchstart(e, wrapper), options)\n target.addEventListener('touchend', e => touchend(e, wrapper), options)\n target.addEventListener('touchmove', e => touchmove(e, wrapper), options)\n}\n\nfunction unbind (el, { value }) {\n const target = value.parent ? el.parentNode : el\n\n if (!target) return\n\n target.removeEventListener('touchstart', touchstart)\n target.removeEventListener('touchend', touchend)\n target.removeEventListener('touchmove', touchmove)\n}\n\nexport default {\n name: 'touch',\n inserted,\n unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/touch.js","/**\n * Bootable\n * @mixin\n *\n * Used to add lazy content functionality to components\n * Looks for change in \"isActive\" to automatically boot\n * Otherwise can be set manually\n */\nexport default {\n data: () => ({\n isBooted: false\n }),\n\n props: {\n lazy: Boolean\n },\n\n watch: {\n isActive () {\n this.isBooted = true\n }\n },\n\n methods: {\n showLazyContent (content) {\n return (this.isBooted || !this.lazy)\n ? content\n : null\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/bootable.js","import Ripple from '../directives/ripple'\n\nexport default {\n directives: {\n Ripple\n },\n\n props: {\n append: Boolean,\n disabled: Boolean,\n exact: Boolean,\n href: [String, Object],\n to: [String, Object],\n nuxt: Boolean,\n replace: Boolean,\n router: Boolean,\n ripple: Boolean,\n tag: String\n },\n\n methods: {\n click () {},\n generateRouteLink () {\n let exact = this.exact\n let tag\n\n const data = {\n attrs: { disabled: this.disabled },\n class: this.classes,\n props: {},\n directives: [{\n name: 'ripple',\n value: this.ripple || false\n }],\n on: {\n ...(this.$listeners || {}),\n click: this.click\n }\n }\n\n if (typeof this.exact === 'undefined') {\n exact = this.to === '/' ||\n (this.to === Object(this.to) && this.to.path === '/')\n }\n\n if (this.to) {\n tag = this.nuxt ? 'nuxt-link' : 'router-link'\n data.props.to = this.to\n data.props.exact = exact\n data.props.activeClass = this.activeClass\n data.props.append = this.append\n data.props.replace = this.replace\n } else {\n tag = this.href && 'a' || this.tag || 'a'\n\n if (tag === 'a') {\n data.attrs.href = this.href || 'javascript:;'\n }\n }\n\n return { tag, data }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/routable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_input-groups.styl\n// module id = 13\n// module chunks = 0","import Loadable from './loadable'\nimport Themeable from './themeable'\nimport Validatable from './validatable'\nimport VIcon from '../components/VIcon'\n\nexport default {\n components: {\n VIcon\n },\n\n mixins: [Loadable, Themeable, Validatable],\n\n data () {\n return {\n isFocused: false,\n tabFocused: false,\n internalTabIndex: null,\n lazyValue: this.value\n }\n },\n\n props: {\n appendIcon: String,\n appendIconCb: Function,\n disabled: Boolean,\n hint: String,\n hideDetails: Boolean,\n label: String,\n persistentHint: Boolean,\n placeholder: String,\n prependIcon: String,\n prependIconCb: Function,\n readonly: Boolean,\n required: Boolean,\n tabindex: {\n default: 0\n },\n toggleKeys: {\n type: Array,\n default: () => [13, 32]\n },\n value: {\n required: false\n }\n },\n\n computed: {\n inputGroupClasses () {\n return Object.assign({\n 'input-group': true,\n 'input-group--async-loading': this.loading !== false,\n 'input-group--focused': this.isFocused,\n 'input-group--dirty': this.isDirty,\n 'input-group--tab-focused': this.tabFocused,\n 'input-group--disabled': this.disabled,\n 'input-group--error': this.hasError,\n 'input-group--append-icon': this.appendIcon,\n 'input-group--prepend-icon': this.prependIcon,\n 'input-group--required': this.required,\n 'input-group--hide-details': this.hideDetails,\n 'input-group--placeholder': !!this.placeholder,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }, this.classes)\n },\n isDirty () {\n return !!this.inputValue\n }\n },\n\n methods: {\n groupFocus (e) {},\n groupBlur (e) {\n this.tabFocused = false\n },\n genLabel () {\n return this.$createElement('label', {\n attrs: {\n for: this.$attrs.id\n }\n }, this.$slots.label || this.label)\n },\n genMessages () {\n let messages = []\n\n if ((this.hint &&\n this.isFocused ||\n this.hint &&\n this.persistentHint) &&\n this.validations.length === 0\n ) {\n messages = [this.genHint()]\n } else if (this.validations.length) {\n messages = this.validations.map(v => this.genError(v))\n }\n\n return this.$createElement('transition-group', {\n 'class': 'input-group__messages',\n props: {\n tag: 'div',\n name: 'slide-y-transition'\n }\n }, messages)\n },\n genHint () {\n return this.$createElement('div', {\n 'class': 'input-group__hint',\n key: this.hint,\n domProps: { innerHTML: this.hint }\n })\n },\n genError (error) {\n return this.$createElement(\n 'div',\n {\n 'class': 'input-group__error',\n key: error\n },\n error\n )\n },\n genIcon (type, defaultCallback = null) {\n const shouldClear = type === 'append' && this.clearable && this.isDirty\n const icon = shouldClear ? 'clear' : this[`${type}Icon`]\n const callback = shouldClear\n ? this.clearableCallback\n : (this[`${type}IconCb`] || defaultCallback)\n\n return this.$createElement('v-icon', {\n attrs: {\n 'aria-hidden': true\n },\n 'class': {\n [`input-group__${type}-icon`]: true,\n 'input-group__icon-cb': !!callback,\n 'input-group__icon-clearable': shouldClear\n },\n props: {\n disabled: this.disabled\n },\n on: {\n click: e => {\n if (!callback) return\n\n e.stopPropagation()\n callback()\n }\n }\n }, icon)\n },\n genInputGroup (input, data = {}, defaultAppendCallback = null) {\n const children = []\n const wrapperChildren = []\n const detailsChildren = []\n\n data = Object.assign({}, {\n 'class': this.inputGroupClasses,\n attrs: {\n tabindex: this.disabled\n ? -1\n : this.internalTabIndex || this.tabindex\n },\n on: {\n focus: this.groupFocus,\n blur: this.groupBlur,\n click: () => (this.tabFocused = false),\n keyup: e => {\n if ([9, 16].includes(e.keyCode)) {\n this.tabFocused = true\n }\n },\n keydown: e => {\n if (!this.toggle) return\n\n if (this.toggleKeys.includes(e.keyCode)) {\n e.preventDefault()\n this.toggle()\n }\n }\n }\n }, data)\n\n if (this.$slots.label || this.label) {\n children.push(this.genLabel())\n }\n\n wrapperChildren.push(input)\n\n if (this.prependIcon) {\n wrapperChildren.unshift(this.genIcon('prepend'))\n }\n\n if (this.appendIcon || this.clearable) {\n wrapperChildren.push(this.genIcon('append', defaultAppendCallback))\n }\n\n const progress = this.genProgress()\n progress && detailsChildren.push(progress)\n\n children.push(\n this.$createElement('div', {\n 'class': 'input-group__input'\n }, wrapperChildren)\n )\n detailsChildren.push(this.genMessages())\n\n if (this.counter) {\n detailsChildren.push(this.genCounter())\n }\n\n children.push(\n this.$createElement('div', {\n 'class': 'input-group__details'\n }, detailsChildren)\n )\n\n return this.$createElement('div', data, children)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/input.js","function searchChildren (children) {\n const results = []\n for (const child of children) {\n if (child.isActive && (child.isDependent || (child.closeDependents && child.isDependent !== false))) {\n results.push(child)\n } else {\n results.push(...searchChildren(child.$children))\n }\n }\n return results\n}\n\nexport function factory (opts = { closeDependents: true }) {\n return {\n props: {\n closeDependents: {\n type: Boolean,\n default: opts.closeDependents\n },\n isDependent: {\n type: Boolean,\n default: opts.isDependent\n }\n },\n\n methods: {\n getOpenDependents () {\n if (this.closeDependents) return searchChildren(this.$children)\n return []\n },\n getOpenDependentElements () {\n return this.getOpenDependents().map(d => d.getClickableDependentElements())\n },\n getClickableDependentElements () {\n const result = [this.$el]\n if (this.$refs.content) result.push(this.$refs.content)\n result.push(...this.getOpenDependentElements())\n return result\n }\n },\n\n watch: {\n isActive (val) {\n if (!val) {\n for (const dependent of this.getOpenDependents()) {\n dependent.isActive = false\n }\n }\n }\n }\n }\n}\n\nconst Dependent = factory()\n\nexport default Dependent\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/dependent.js","import { createSimpleFunctional } from '../../util/helpers'\nimport VCard from './VCard'\nimport VCardMedia from './VCardMedia'\nimport VCardTitle from './VCardTitle'\n\nexport { VCard, VCardMedia, VCardTitle }\n\nVCard.install = function install (Vue) {\n const VCardActions = createSimpleFunctional('card__actions')\n const VCardText = createSimpleFunctional('card__text')\n\n Vue.component(VCard.name, VCard)\n Vue.component(VCardMedia.name, VCardMedia)\n Vue.component(VCardTitle.name, VCardTitle)\n Vue.component('v-card-actions', VCardActions)\n Vue.component('v-card-text', VCardText)\n}\n\nexport default VCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/index.js","export default {\n props: {\n app: Boolean\n },\n\n created () {\n this.updateApplication()\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/applicationable.js","import Bootable from './bootable'\n\nexport default {\n mixins: [Bootable],\n\n props: {\n contentClass: {\n default: ''\n }\n },\n\n mounted () {\n this.$vuetify.load(this.initDetach)\n },\n\n beforeDestroy () {\n if (!this.$refs.content) return\n\n // IE11 Fix\n try {\n this.$refs.content.parentNode.removeChild(this.$refs.content)\n } catch (e) {}\n },\n\n methods: {\n initDetach () {\n if (this._isDestroyed) return\n\n const app = document.querySelector('[data-app]')\n\n if (!app) {\n return console.warn('Application is missing component.')\n }\n\n // If child has already been removed, bail\n if (!this.$refs.content) return\n\n app.insertBefore(\n this.$refs.content,\n app.firstChild\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/detachable.js","export default {\n props: {\n absolute: Boolean,\n bottom: Boolean,\n fixed: Boolean,\n left: Boolean,\n right: Boolean,\n top: Boolean\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/positionable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_selection-controls.styl\n// module id = 20\n// module chunks = 0","import Ripple from '../directives/ripple'\n\n/** @mixin */\nexport default {\n directives: { Ripple },\n\n methods: {\n genRipple () {\n return this.$createElement('div', {\n 'class': this.rippleClasses || 'input-group--selection-controls__ripple',\n on: Object.assign({}, {\n click: this.toggle\n }, this.$listeners),\n directives: [{\n name: 'ripple',\n value: !this.disabled && { center: true }\n }]\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/rippleable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_grid.styl\n// module id = 22\n// module chunks = 0","export default function Grid (name) {\n return {\n name: `v-${name}`,\n\n functional: true,\n\n props: {\n id: String\n },\n\n render: (h, { props, data, children }) => {\n data.staticClass = (`${name} ${data.staticClass || ''}`).trim()\n\n if (data.attrs) {\n const classes = []\n\n Object.keys(data.attrs).forEach(key => {\n const value = data.attrs[key]\n\n if (typeof value === 'string') classes.push(key)\n else if (value) classes.push(key)\n })\n\n data.staticClass += ` ${classes.join(' ')}`\n delete data.attrs\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h('div', data, children)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/grid.js","export default {\n props: {\n primary: Boolean,\n secondary: Boolean,\n success: Boolean,\n info: Boolean,\n warning: Boolean,\n error: Boolean\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/contextualable.js","export default {\n data () {\n return {\n buttons: [],\n listeners: []\n }\n },\n\n methods: {\n getValue (i) {\n if (this.buttons[i].value != null) {\n return this.buttons[i].value\n }\n\n // Fix for testing, this should always be false in the browser\n if (this.buttons[i].$el.value != null && this.buttons[i].$el.value !== '') {\n return this.buttons[i].$el.value\n }\n\n return i\n },\n update () {\n const selected = []\n\n this.buttons\n .forEach((button, i) => {\n const elm = button.$el\n\n // Fix for testing, dataset does not exist on elm?\n if (!elm.dataset) elm.dataset = {}\n\n elm.removeAttribute('data-only-child')\n\n if (this.isSelected(i)) {\n elm.setAttribute('data-selected', true)\n\n if (!elm.classList.contains('btn--router')) {\n elm.classList.add('btn--active')\n }\n\n selected.push(i)\n } else {\n elm.removeAttribute('data-selected')\n\n if (!elm.classList.contains('btn--router')) {\n elm.classList.remove('btn--active')\n }\n }\n\n elm.dataset.index = i\n })\n\n if (selected.length === 1) {\n this.buttons[selected[0]].$el.setAttribute('data-only-child', true)\n }\n }\n },\n\n mounted () {\n this.$vuetify.load(() => {\n this.buttons = this.$children\n\n this.buttons.forEach((button, i) => {\n this.listeners.push(this.updateValue.bind(this, i))\n button.$on('click', this.listeners[i])\n })\n\n this.update()\n })\n },\n\n beforeDestroy () {\n this.buttons.forEach((button, i) => {\n button.$off('click', this.listeners[i])\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/button-group.js","require('../../stylus/components/_dialogs.styl')\n\n// Mixins\nimport { factory as DependentFactory } from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport { factory as StackableFactory } from '../../mixins/stackable'\nimport Toggleable from '../../mixins/toggleable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport { getZIndex } from '../../util/helpers'\n\nconst Dependent = DependentFactory({ closeDependents: true, isDependent: false })\nconst Stackable = StackableFactory({ minZIndex: 200, stackClass: 'dialog__content__active' })\n\nexport default {\n name: 'v-dialog',\n\n mixins: [Dependent, Detachable, Overlayable, Stackable, Toggleable],\n\n directives: {\n ClickOutside\n },\n\n props: {\n disabled: Boolean,\n persistent: Boolean,\n fullscreen: Boolean,\n fullWidth: Boolean,\n origin: {\n type: String,\n default: 'center center'\n },\n width: {\n type: [String, Number],\n default: 290\n },\n scrollable: Boolean,\n transition: {\n type: [String, Boolean],\n default: 'dialog-transition'\n }\n },\n\n computed: {\n classes () {\n return {\n [(`dialog ${this.contentClass}`).trim()]: true,\n 'dialog--active': this.isActive,\n 'dialog--persistent': this.persistent,\n 'dialog--fullscreen': this.fullscreen,\n 'dialog--stacked-actions': this.stackedActions && !this.fullscreen,\n 'dialog--scrollable': this.scrollable\n }\n },\n contentClasses () {\n return {\n 'dialog__content': true,\n 'dialog__content__active': this.isActive\n }\n }\n },\n\n watch: {\n isActive (val) {\n if (val) {\n !this.fullscreen && !this.hideOverlay && this.genOverlay()\n this.fullscreen && this.hideScroll()\n this.$refs.content.focus()\n } else {\n if (!this.fullscreen) this.removeOverlay()\n else this.showScroll()\n }\n }\n },\n\n mounted () {\n this.isBooted = this.isActive\n this.$vuetify.load(() => (this.isActive && this.genOverlay()))\n },\n\n methods: {\n closeConditional (e) {\n // close dialog if !persistent, clicked outside and we're the topmost dialog.\n // Since this should only be called in a capture event (bottom up), we shouldn't need to stop propagation\n return !this.persistent && getZIndex(this.$refs.content) >= this.getMaxZIndex()\n }\n },\n\n render (h) {\n const children = []\n const data = {\n 'class': this.classes,\n ref: 'dialog',\n directives: [\n {\n name: 'click-outside',\n value: {\n callback: this.closeConditional,\n include: () => this.getOpenDependentElements()\n }\n },\n { name: 'show', value: this.isActive }\n ],\n on: { click: e => e.stopPropagation() }\n }\n\n if (!this.fullscreen) {\n data.style = {\n width: isNaN(this.width) ? this.width : `${this.width}px`\n }\n }\n\n if (this.$slots.activator) {\n children.push(h('div', {\n 'class': 'dialog__activator',\n on: {\n click: e => {\n if (!this.disabled) this.isActive = !this.isActive\n }\n }\n }, [this.$slots.activator]))\n }\n\n const dialog = h('transition', {\n props: {\n name: this.transition || '', // If false, show nothing\n origin: this.origin\n }\n }, [h('div', data,\n this.showLazyContent(this.$slots.default)\n )])\n\n children.push(h('div', {\n 'class': this.contentClasses,\n style: { zIndex: this.activeZIndex },\n ref: 'content'\n }, [dialog]))\n\n return h('div', {\n 'class': 'dialog__container',\n style: {\n display: !this.$slots.activator && 'none' || this.fullWidth ? 'block' : 'inline-block'\n }\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDialog/VDialog.js","require('../stylus/components/_overlay.styl')\n\nexport default {\n data () {\n return {\n overlay: null,\n overlayOffset: 0,\n overlayTimeout: null,\n overlayTransitionDuration: 500\n }\n },\n\n props: {\n hideOverlay: Boolean\n },\n\n beforeDestroy () {\n this.removeOverlay()\n },\n\n methods: {\n genOverlay () {\n // If fn is called and timeout is active\n // or overlay already exists\n // cancel removal of overlay and re-add active\n if ((!this.isActive || this.hideOverlay) ||\n (this.isActive && this.overlayTimeout) ||\n this.overlay\n ) {\n clearTimeout(this.overlayTimeout)\n\n return this.overlay &&\n this.overlay.classList.add('overlay--active')\n }\n\n this.overlay = document.createElement('div')\n this.overlay.className = 'overlay'\n\n if (this.absolute) this.overlay.className += ' overlay--absolute'\n if (this.activeZIndex !== undefined) this.overlay.style.zIndex = this.activeZIndex - 1\n\n this.hideScroll()\n\n if (this.absolute) {\n // Required for IE11\n const parent = this.$el.parentNode\n parent.insertBefore(this.overlay, parent.firstChild)\n } else {\n document.querySelector('[data-app]').appendChild(this.overlay)\n }\n\n this.overlay.clientHeight // Force repaint\n requestAnimationFrame(() => {\n this.overlay.className += ' overlay--active'\n })\n\n return true\n },\n removeOverlay () {\n if (!this.overlay) {\n return this.showScroll()\n }\n\n this.overlay.classList.remove('overlay--active')\n\n this.overlayTimeout = setTimeout(() => {\n // IE11 Fix\n try {\n this.overlay.parentNode.removeChild(this.overlay)\n this.overlay = null\n this.showScroll()\n } catch (e) {}\n\n clearTimeout(this.overlayTimeout)\n this.overlayTimeout = null\n }, this.overlayTransitionDuration)\n },\n /**\n * @param {Event} e\n * @returns void\n */\n scrollListener (e) {\n if (e.type === 'keydown') {\n const up = [38, 33]\n const down = [40, 34]\n\n if (up.includes(e.keyCode)) {\n e.deltaY = -1\n } else if (down.includes(e.keyCode)) {\n e.deltaY = 1\n } else {\n return\n }\n }\n\n if (e.target === this.overlay ||\n (e.type !== 'keydown' && e.target === document.body) ||\n this.checkPath(e)) e.preventDefault()\n },\n hasScrollbar (el) {\n const style = window.getComputedStyle(el)\n return ['auto', 'scroll'].includes(style['overflow-y']) && el.scrollHeight > el.clientHeight\n },\n shouldScroll (el, delta) {\n if (el.scrollTop === 0 && delta < 0) return true\n return el.scrollTop + el.clientHeight === el.scrollHeight && delta > 0\n },\n isInside (el, parent) {\n if (el === parent) {\n return true\n } else if (el === null || el === document.body) {\n return false\n } else {\n return this.isInside(el.parentNode, parent)\n }\n },\n /**\n * @param {Event} e\n * @returns boolean\n */\n checkPath (e) {\n const path = e.path || this.composedPath(e)\n const delta = e.deltaY || -e.wheelDelta\n\n if (e.type === 'keydown' && path[0] === document.body) {\n const dialog = this.$refs.dialog\n const selected = window.getSelection().anchorNode\n if (this.hasScrollbar(dialog) && this.isInside(selected, dialog)) {\n return this.shouldScroll(dialog, delta)\n }\n return true\n }\n\n for (const el of path) {\n if ([document, document.documentElement, this.$refs.content].includes(el)) return true\n if (this.hasScrollbar(el)) return this.shouldScroll(el, delta)\n }\n\n return true\n },\n /**\n * Polyfill for Event.prototype.composedPath\n * @param {Event} e\n * @returns Element[]\n */\n composedPath (e) {\n if (e.composedPath) return e.composedPath()\n\n const path = []\n let el = e.target\n\n while (el) {\n path.push(el)\n\n if (el.tagName === 'HTML') {\n path.push(document)\n path.push(window)\n\n return path\n }\n\n el = el.parentElement\n }\n },\n hideScroll () {\n if (this.$vuetify.breakpoint.mdAndDown) {\n document.documentElement.classList.add('overflow-y-hidden')\n } else {\n window.addEventListener('wheel', this.scrollListener)\n window.addEventListener('keydown', this.scrollListener)\n }\n },\n showScroll () {\n document.documentElement.classList.remove('overflow-y-hidden')\n window.removeEventListener('wheel', this.scrollListener)\n window.removeEventListener('keydown', this.scrollListener)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/overlayable.js","import { getZIndex } from '../util/helpers'\n\nexport function factory (opts = { stackClass: 'unspecified' }) {\n return {\n computed: {\n activeZIndex () {\n const content = opts.content || this.$refs.content\n if (!this.isActive) {\n // Return current zindex if not active\n return getZIndex(content)\n }\n // Return max current z-index (excluding self) + 2 (2 to leave room for an overlay below, if needed)\n return this.getMaxZIndex((opts.exclude || (() => [content]))()) + 2\n }\n },\n methods: {\n getMaxZIndex (exclude = []) {\n const base = opts.base || this.$el\n // start with lowest allowed z-index or z-index of base component's element, whichever is greater\n const zis = [opts.minZIndex, getZIndex(base)]\n // get z-index for all active dialogs\n const activeElements = document.getElementsByClassName(opts.stackClass)\n for (const activeElement of activeElements) {\n if (!exclude.includes(activeElement)) {\n zis.push(getZIndex(activeElement))\n }\n }\n return Math.max(...zis)\n }\n }\n }\n}\n\nconst Stackable = factory()\n\nexport default Stackable\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/stackable.js","import VCheckbox from './VCheckbox'\n\nVCheckbox.install = function install (Vue) {\n Vue.component(VCheckbox.name, VCheckbox)\n}\n\nexport default VCheckbox\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCheckbox/index.js","import { addOnceEventListener } from '../../util/helpers'\n\nexport default {\n enter (el, done) {\n el.td = el.parentNode\n\n addOnceEventListener(el, 'transitionend', done)\n\n // Get height that is to be scrolled\n const height = el.dataset.height || el.clientHeight\n el.dataset.height = height\n el.style.overflow = 'hidden'\n el.style.height = 0\n el.td.style['border-bottom'] = '1px solid rgba(0,0,0,0.12)'\n\n setTimeout(() => {\n el.style.height = `${height}px`\n }, 50)\n },\n afterEnter (el) {\n el.style.overflow = null\n },\n leave (el, done) {\n // Remove initial transition\n addOnceEventListener(el, 'transitionend', done)\n\n // Set height before we transition to 0\n el.style.overflow = 'hidden'\n el.style.height = `${el.dataset.height}px`\n\n setTimeout(() => {\n el.style.height = 0\n }, 50)\n },\n afterLeave (el) {\n el.td.style['border-bottom'] = null\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/transitions/row-expand-transition.js","import Colorable from './colorable'\nimport Input from './input'\n\nexport default {\n mixins: [Input, Colorable],\n\n model: {\n prop: 'inputValue',\n event: 'change'\n },\n\n props: {\n id: String,\n inputValue: null,\n falseValue: null,\n trueValue: null\n },\n\n computed: {\n isActive () {\n if ((Array.isArray(this.inputValue))\n ) {\n return this.inputValue.indexOf(this.value) !== -1\n }\n\n if (!this.trueValue || !this.falseValue) {\n return this.value\n ? this.value === this.inputValue\n : Boolean(this.inputValue)\n }\n\n return this.inputValue === this.trueValue\n },\n isDirty () {\n return this.isActive\n }\n },\n\n watch: {\n indeterminate (val) {\n this.inputIndeterminate = val\n }\n },\n\n methods: {\n genLabel () {\n return this.$createElement('label', {\n on: { click: this.toggle },\n attrs: {\n for: this.id\n }\n }, this.$slots.label || this.label)\n },\n toggle () {\n if (this.disabled) {\n return\n }\n\n let input = this.inputValue\n if (Array.isArray(input)) {\n input = input.slice()\n const i = input.indexOf(this.value)\n\n if (i === -1) {\n input.push(this.value)\n } else {\n input.splice(i, 1)\n }\n } else if (this.trueValue || this.falseValue) {\n input = input === this.trueValue ? this.falseValue : this.trueValue\n } else if (this.value) {\n input = this.value === this.inputValue\n ? null\n : this.value\n } else {\n input = !input\n }\n\n this.validate(true, input)\n\n this.$emit('change', input)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/selectable.js","/**\n * Loadable\n *\n * @mixin\n *\n * Used to add linear progress bar to components\n * Can use a default bar with a specific color\n * or designate a custom progress linear bar\n */\nexport default {\n props: {\n loading: {\n type: [Boolean, String],\n default: false\n }\n },\n\n methods: {\n genProgress () {\n if (this.loading === false) return null\n\n return this.$slots.progress || this.$createElement('v-progress-linear', {\n props: {\n color: (this.loading === true || this.loading === '')\n ? (this.color || 'primary')\n : this.loading,\n height: 2,\n indeterminate: true\n }\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/loadable.js","import VProgressLinear from './VProgressLinear'\n\nVProgressLinear.install = function install (Vue) {\n Vue.component(VProgressLinear.name, VProgressLinear)\n}\n\nexport default VProgressLinear\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressLinear/index.js","import VSelect from './VSelect'\n\nVSelect.install = function install (Vue) {\n Vue.component(VSelect.name, VSelect)\n}\n\nexport default VSelect\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/index.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_text-fields.styl\n// module id = 35\n// module chunks = 0","import { createSimpleFunctional } from '../../util/helpers'\n\nimport VList from './VList'\nimport VListGroup from './VListGroup'\nimport VListTile from './VListTile'\nimport VListTileAction from './VListTileAction'\n\nexport { VList, VListGroup, VListTile, VListTileAction }\nexport const VListTileActionText = createSimpleFunctional('list__tile__action-text', 'span')\nexport const VListTileAvatar = createSimpleFunctional('list__tile__avatar', 'v-avatar')\nexport const VListTileContent = createSimpleFunctional('list__tile__content', 'div')\nexport const VListTileTitle = createSimpleFunctional('list__tile__title', 'div')\nexport const VListTileSubTitle = createSimpleFunctional('list__tile__sub-title', 'div')\n\nVList.install = function install (Vue) {\n Vue.component(VList.name, VList)\n Vue.component(VListGroup.name, VListGroup)\n Vue.component(VListTile.name, VListTile)\n Vue.component(VListTileAction.name, VListTileAction)\n Vue.component('v-list-tile-action-text', VListTileActionText)\n Vue.component('v-list-tile-avatar', VListTileAvatar)\n Vue.component('v-list-tile-content', VListTileContent)\n Vue.component('v-list-tile-sub-title', VListTileSubTitle)\n Vue.component('v-list-tile-title', VListTileTitle)\n}\n\nexport default VList\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/index.js","import VMenu from './VMenu'\n\nVMenu.install = function install (Vue) {\n Vue.component(VMenu.name, VMenu)\n}\n\nexport default VMenu\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/index.js","/**\n * Delayable\n *\n * @mixin\n *\n * Changes the open or close\n * delay time for elements\n */\nexport default {\n data: () => ({\n openTimeout: null,\n closeTimeout: null\n }),\n\n props: {\n openDelay: {\n type: [Number, String],\n default: 0\n },\n closeDelay: {\n type: [Number, String],\n default: 200\n }\n },\n\n methods: {\n /**\n * Clear any pending delay\n * timers from executing\n * \n * @return {void}\n */\n clearDelay () {\n clearTimeout(this.openTimeout)\n clearTimeout(this.closeTimeout)\n },\n /**\n * Runs callback after\n * a specified delay\n * \n * @param {String} type\n * @param {Function} cb\n * \n * @return {void}\n */\n runDelay (type, cb) {\n this.clearDelay()\n\n const delay = parseInt(this[`${type}Delay`], 10)\n\n this[`${type}Timeout`] = setTimeout(cb, delay)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/delayable.js","import Positionable from './positionable'\n\nimport { factory as StackableFactory } from './stackable'\n\nconst Stackable = StackableFactory({ minZIndex: 6, stackClass: 'menuable__content__active' })\n\nconst dimensions = {\n activator: {\n top: 0, left: 0,\n bottom: 0, right: 0,\n width: 0, height: 0,\n offsetTop: 0, scrollHeight: 0\n },\n content: {\n top: 0, left: 0,\n bottom: 0, right: 0,\n width: 0, height: 0,\n offsetTop: 0, scrollHeight: 0\n },\n hasWindow: false\n}\n\n/**\n * Menuable\n *\n * @mixin\n *\n * Used for fixed or absolutely positioning\n * elements within the DOM\n * Can calculate X and Y axis overflows\n * As well as be manually positioned\n */\nexport default {\n mixins: [Positionable, Stackable],\n\n data: () => ({\n absoluteX: 0,\n absoluteY: 0,\n dimensions: Object.assign({}, dimensions),\n isContentActive: false,\n pageYOffset: 0\n }),\n\n props: {\n activator: { default: null },\n allowOverflow: Boolean,\n maxWidth: {\n type: [Number, String],\n default: 'auto'\n },\n minWidth: [Number, String],\n nudgeBottom: {\n type: Number,\n default: 0\n },\n nudgeLeft: {\n type: Number,\n default: 0\n },\n nudgeRight: {\n type: Number,\n default: 0\n },\n nudgeTop: {\n type: Number,\n default: 0\n },\n nudgeWidth: {\n type: Number,\n default: 0\n },\n offsetOverflow: Boolean,\n positionX: {\n type: Number,\n default: null\n },\n positionY: {\n type: Number,\n default: null\n },\n zIndex: {\n type: [Number, String],\n default: null\n }\n },\n\n computed: {\n hasActivator () {\n return !!this.$slots.activator || this.activator\n }\n },\n\n watch: {\n disabled (val) {\n val && this.callDeactivate()\n },\n isActive (val) {\n if (this.disabled) return\n\n val && this.callActivate() || this.callDeactivate()\n }\n },\n\n methods: {\n absolutePosition () {\n return {\n offsetTop: 0,\n scrollHeight: 0,\n top: this.positionY || this.absoluteY,\n bottom: this.positionY || this.absoluteY,\n left: this.positionX || this.absoluteX,\n right: this.positionX || this.absoluteX,\n height: 0,\n width: 0\n }\n },\n activate () {},\n calcLeft () {\n const a = this.dimensions.activator\n const c = this.dimensions.content\n let left = this.left ? a.right - c.width : a.left\n\n if (this.offsetX) left += this.left ? -a.width : a.width\n if (this.nudgeLeft) left -= this.nudgeLeft\n if (this.nudgeRight) left += this.nudgeRight\n\n return left\n },\n calcTop () {\n const a = this.dimensions.activator\n const c = this.dimensions.content\n let top = this.top ? a.bottom - c.height : a.top\n\n if (this.offsetY) top += this.top ? -a.height : a.height\n if (this.nudgeTop) top -= this.nudgeTop\n if (this.nudgeBottom) top += this.nudgeBottom\n\n return top + this.pageYOffset\n },\n calcXOverflow (left) {\n const parsedMaxWidth = isNaN(parseInt(this.maxWidth))\n ? 0\n : parseInt(this.maxWidth)\n const innerWidth = this.getInnerWidth()\n const maxWidth = Math.max(\n this.dimensions.content.width,\n parsedMaxWidth\n )\n const totalWidth = left + maxWidth\n const availableWidth = totalWidth - innerWidth\n\n if ((!this.left || this.right) && availableWidth > 0) {\n left = (\n innerWidth -\n maxWidth -\n (innerWidth > 600 ? 30 : 12) // Account for scrollbar\n )\n }\n\n if (left < 0) left = 12\n\n return left\n },\n calcYOverflow (top) {\n const documentHeight = this.getInnerHeight()\n const toTop = this.pageYOffset + documentHeight\n const activator = this.dimensions.activator\n const contentHeight = this.dimensions.content.height\n const totalHeight = top + contentHeight\n const isOverflowing = toTop < totalHeight\n\n // If overflowing bottom and offset\n if (isOverflowing && this.offsetOverflow) {\n top = this.pageYOffset + (activator.top - contentHeight)\n // If overflowing bottom\n } else if (isOverflowing && !this.allowOverflow) {\n top = toTop - contentHeight - 12\n // If overflowing top\n } else if (top < this.pageYOffset && !this.allowOverflow) {\n top = this.pageYOffset + 12\n }\n\n return top < 12 ? 12 : top\n },\n callActivate () {\n this.checkForWindow()\n if (!this.hasWindow) return\n\n this.activate()\n },\n callDeactivate () {\n this.isContentActive = false\n\n this.deactivate()\n },\n checkForWindow () {\n this.hasWindow = typeof window !== 'undefined'\n\n if (this.hasWindow) {\n this.pageYOffset = this.getOffsetTop()\n }\n },\n deactivate () {},\n getActivator () {\n if (this.activator) {\n return typeof this.activator === 'string'\n ? document.querySelector(this.activator)\n : this.activator\n }\n\n return this.$refs.activator.children\n ? this.$refs.activator.children[0]\n : this.$refs.activator\n },\n getInnerHeight () {\n if (!this.hasWindow) return 0\n\n return window.innerHeight ||\n document.documentElement.clientHeight\n },\n getInnerWidth () {\n if (!this.hasWindow) return 0\n\n return window.innerWidth\n },\n getOffsetTop () {\n if (!this.hasWindow) return 0\n\n return window.pageYOffset ||\n document.documentElement.scrollTop\n },\n measure (el, selector) {\n el = selector ? el.querySelector(selector) : el\n\n if (!el) return null\n\n const {\n top,\n bottom,\n left,\n right,\n height,\n width\n } = el.getBoundingClientRect()\n\n return {\n offsetTop: el.offsetTop,\n scrollHeight: el.scrollHeight,\n top, bottom, left, right, height, width\n }\n },\n sneakPeek (cb) {\n requestAnimationFrame(() => {\n const el = this.$refs.content\n\n if (this.isShown(el)) return cb()\n\n el.style.display = 'inline-block'\n cb()\n el.style.display = 'none'\n })\n },\n startTransition () {\n requestAnimationFrame(() => (this.isContentActive = true))\n },\n isShown (el) {\n return el.style.display !== 'none'\n },\n resetDimensions () {\n this.dimensions = Object.assign({}, dimensions)\n },\n updateDimensions () {\n // Ensure that overflow calculation\n // can work properly every update\n this.resetDimensions()\n\n const dimensions = {}\n\n // Activate should already be shown\n dimensions.activator = !this.hasActivator || this.absolute\n ? this.absolutePosition()\n : this.measure(this.getActivator())\n\n // Display and hide to get dimensions\n this.sneakPeek(() => {\n dimensions.content = this.measure(this.$refs.content)\n\n this.dimensions = dimensions\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/menuable.js","export default {\n props: {\n noDataText: {\n type: String,\n default: 'No data available'\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/filterable.js","/**\n * Maskable\n *\n * @mixin\n *\n * Creates an input mask that is\n * generated from a masked str\n *\n * Example: mask=\"#### #### #### ####\"\n */\n\nimport {\n isMaskDelimiter,\n maskText,\n unmaskText\n} from '../util/mask'\n\nexport default {\n data: () => ({\n selection: 0,\n preDefined: {\n 'credit-card': '#### - #### - #### - ####',\n 'date': '##/##/####',\n 'date-with-time': '##/##/#### ##:##',\n 'phone': '(###) ### - ####',\n 'social': '###-##-####',\n 'time': '##:##',\n 'time-with-seconds': '##:##:##'\n }\n }),\n\n props: {\n dontFillMaskBlanks: Boolean,\n mask: {\n type: [Object, String],\n default: null\n },\n returnMaskedValue: Boolean\n },\n\n computed: {\n masked () {\n const preDefined = this.preDefined[this.mask]\n const mask = preDefined || this.mask || ''\n\n return mask.split('')\n }\n },\n\n watch: {\n /**\n * Make sure the cursor is in the correct\n * location when the mask changes\n */\n mask () {\n if (!this.$refs.input) return\n\n const oldText = this.$refs.input.value || ''\n const newText = this.maskText(this.lazyValue || '')\n let position = 0\n let selection = this.selection\n\n for (const char of oldText.substr(0, selection)) {\n isMaskDelimiter(char) || position++\n }\n\n selection = 0\n for (const char of newText) {\n isMaskDelimiter(char) || position--\n selection++\n if (position <= 0) break\n }\n\n this.setCaretPosition(selection)\n }\n },\n\n methods: {\n setCaretPosition (selection) {\n this.selection = selection\n this.$refs.input.setSelectionRange(selection, selection)\n },\n updateRange () {\n if (!this.$refs.input) return\n\n const newValue = this.maskText(this.lazyValue)\n let selection = 0\n\n this.$refs.input.value = newValue\n for (const char of newValue) {\n if (this.lazySelection <= 0) break\n isMaskDelimiter(char) || this.lazySelection--\n selection++\n }\n\n this.setCaretPosition(selection)\n },\n maskText (text) {\n if (!this.mask) return text\n\n return maskText(text, this.masked, this.dontFillMaskBlanks)\n },\n unmaskText (text) {\n if (this.returnMaskedValue || !this.mask) return text\n\n return unmaskText(text)\n },\n // When the input changes and is\n // re-created, ensure that the\n // caret location is correct\n setSelectionRange () {\n this.$nextTick(this.updateRange)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/maskable.js","/**\n * Mask keys\n *\n * @type {Object}\n */\nconst allowedMasks = {\n '#': {\n test: char => char.match(/[0-9]/)\n },\n 'A': {\n test: char => char.match(/[A-Z]/i),\n convert: char => char.toUpperCase()\n },\n 'a': {\n test: char => char.match(/[a-z]/i),\n convert: char => char.toLowerCase()\n },\n 'N': {\n test: char => char.match(/[0-9A-Z]/i),\n convert: char => char.toUpperCase()\n },\n 'n': {\n test: char => char.match(/[0-9a-z]/i),\n convert: char => char.toLowerCase()\n },\n 'X': {\n test: isMaskDelimiter\n }\n}\n\n/**\n * Default delimiter RegExp\n *\n * @type {RegExp}\n */\nexport const defaultDelimiters = /[-!$%^&*()_+|~=`{}\\[\\]:\";'<>?,.\\/\\\\ ]/\n\n/**\n * Is Character mask\n *\n * @param {String} char\n *\n * @return {Boolean}\n */\nconst isMask = char => allowedMasks.hasOwnProperty(char)\n\n/**\n * Automatically convert char case\n *\n * @param {String} mask\n * @param {String} char\n *\n * @return {String}\n */\nconst convert = (mask, char) => {\n return allowedMasks[mask].convert ? allowedMasks[mask].convert(char) : char\n}\n\n/**\n *\n * @param {String} char\n *\n * @return {Boolean}\n */\nexport const isMaskDelimiter = char => char && char.match(defaultDelimiters)\n\n/**\n * Mask Validation\n *\n * @param {String} mask\n * @param {String} char\n *\n * @return {Boolean}\n */\nconst maskValidates = (mask, char) => {\n if (char == null || !isMask(mask)) return false\n return allowedMasks[mask].test(char)\n}\n\n/**\n * Mask Text\n *\n * Takes an array of characters\n * and returns a compiled str\n *\n * @param {String} text\n * @param {Array|String} masked\n * @param {Boolean} dontFillMaskBlanks\n *\n * @return {String}\n */\nexport const maskText = (text, masked, dontFillMaskBlanks) => {\n if (!masked.length || !text.length) return text\n if (!Array.isArray(masked)) masked = masked.split('')\n\n let textIndex = 0\n let maskIndex = 0\n let newText = ''\n while (maskIndex < masked.length) {\n const mask = masked[maskIndex]\n\n // Assign the next character\n const char = text[textIndex]\n\n // Check if mask is delimiter\n // and current char matches\n if (!isMask(mask) && char === mask) {\n newText += mask\n textIndex++\n // Check if not mask\n } else if (!isMask(mask) && !dontFillMaskBlanks) {\n newText += mask\n // Check if is mask and validates\n } else if (maskValidates(mask, char)) {\n newText += convert(mask, char)\n textIndex++\n } else {\n return newText\n }\n\n maskIndex++\n }\n\n return newText\n}\n\n/**\n * Unmask Text\n *\n * @param {String} text\n *\n * @return {String}\n */\nexport const unmaskText = (text) => {\n return text.replace(new RegExp(defaultDelimiters, 'g'), '')\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/mask.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_pickers.styl\n// module id = 43\n// module chunks = 0","import Themeable from './themeable'\n\nexport default {\n mixins: [Themeable],\n\n data () {\n return {\n isSaving: false\n }\n },\n\n props: {\n actions: Boolean,\n autosave: Boolean,\n landscape: Boolean,\n noTitle: Boolean,\n scrollable: Boolean,\n value: {\n required: true\n },\n light: Boolean,\n dark: Boolean\n },\n\n methods: {\n save () {},\n cancel () {},\n genSlot () {\n return this.$scopedSlots.default({\n save: this.save,\n cancel: this.cancel\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/picker.js","require('./stylus/app.styl')\nimport Semver from 'semver'\nimport { devDependencies, version } from '../package.json'\nimport * as components from './components'\nimport * as directives from './directives'\n\nfunction Vuetify (Vue) {\n const Vuetify = components.Vuetify\n\n Vue.use(Vuetify, {\n components,\n directives\n })\n}\n\nVuetify.version = version\n\nfunction checkVueVersion () {\n const vueDep = devDependencies.vue\n if (!Semver.satisfies(window.Vue.version, vueDep)) {\n console.warn(`Vuetify requires Vue version ${vueDep}`)\n }\n}\n\nif (typeof window !== 'undefined' && window.Vue) {\n window.Vue.version && checkVueVersion()\n window.Vue.use(Vuetify)\n}\n\nexport default Vuetify\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/app.styl\n// module id = 46\n// module chunks = 0","exports = module.exports = SemVer;\n\n// The debug function is excluded entirely from the minified version.\n/* nomin */ var debug;\n/* nomin */ if (typeof process === 'object' &&\n /* nomin */ process.env &&\n /* nomin */ process.env.NODE_DEBUG &&\n /* nomin */ /\\bsemver\\b/i.test(process.env.NODE_DEBUG))\n /* nomin */ debug = function() {\n /* nomin */ var args = Array.prototype.slice.call(arguments, 0);\n /* nomin */ args.unshift('SEMVER');\n /* nomin */ console.log.apply(console, args);\n /* nomin */ };\n/* nomin */ else\n /* nomin */ debug = function() {};\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0';\n\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\n\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar src = exports.src = [];\nvar R = 0;\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\nvar NUMERICIDENTIFIER = R++;\nsrc[NUMERICIDENTIFIER] = '0|[1-9]\\\\d*';\nvar NUMERICIDENTIFIERLOOSE = R++;\nsrc[NUMERICIDENTIFIERLOOSE] = '[0-9]+';\n\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\nvar NONNUMERICIDENTIFIER = R++;\nsrc[NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*';\n\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\nvar MAINVERSION = R++;\nsrc[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIER] + ')';\n\nvar MAINVERSIONLOOSE = R++;\nsrc[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIERLOOSE] + ')';\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\nvar PRERELEASEIDENTIFIER = R++;\nsrc[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +\n '|' + src[NONNUMERICIDENTIFIER] + ')';\n\nvar PRERELEASEIDENTIFIERLOOSE = R++;\nsrc[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +\n '|' + src[NONNUMERICIDENTIFIER] + ')';\n\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\nvar PRERELEASE = R++;\nsrc[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[PRERELEASEIDENTIFIER] + ')*))';\n\nvar PRERELEASELOOSE = R++;\nsrc[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))';\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\nvar BUILDIDENTIFIER = R++;\nsrc[BUILDIDENTIFIER] = '[0-9A-Za-z-]+';\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\nvar BUILD = R++;\nsrc[BUILD] = '(?:\\\\+(' + src[BUILDIDENTIFIER] +\n '(?:\\\\.' + src[BUILDIDENTIFIER] + ')*))';\n\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\nvar FULL = R++;\nvar FULLPLAIN = 'v?' + src[MAINVERSION] +\n src[PRERELEASE] + '?' +\n src[BUILD] + '?';\n\nsrc[FULL] = '^' + FULLPLAIN + '$';\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\nvar LOOSEPLAIN = '[v=\\\\s]*' + src[MAINVERSIONLOOSE] +\n src[PRERELEASELOOSE] + '?' +\n src[BUILD] + '?';\n\nvar LOOSE = R++;\nsrc[LOOSE] = '^' + LOOSEPLAIN + '$';\n\nvar GTLT = R++;\nsrc[GTLT] = '((?:<|>)?=?)';\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\nvar XRANGEIDENTIFIERLOOSE = R++;\nsrc[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*';\nvar XRANGEIDENTIFIER = R++;\nsrc[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\\\*';\n\nvar XRANGEPLAIN = R++;\nsrc[XRANGEPLAIN] = '[v=\\\\s]*(' + src[XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIER] + ')' +\n '(?:' + src[PRERELEASE] + ')?' +\n src[BUILD] + '?' +\n ')?)?';\n\nvar XRANGEPLAINLOOSE = R++;\nsrc[XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[PRERELEASELOOSE] + ')?' +\n src[BUILD] + '?' +\n ')?)?';\n\nvar XRANGE = R++;\nsrc[XRANGE] = '^' + src[GTLT] + '\\\\s*' + src[XRANGEPLAIN] + '$';\nvar XRANGELOOSE = R++;\nsrc[XRANGELOOSE] = '^' + src[GTLT] + '\\\\s*' + src[XRANGEPLAINLOOSE] + '$';\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\nvar LONETILDE = R++;\nsrc[LONETILDE] = '(?:~>?)';\n\nvar TILDETRIM = R++;\nsrc[TILDETRIM] = '(\\\\s*)' + src[LONETILDE] + '\\\\s+';\nre[TILDETRIM] = new RegExp(src[TILDETRIM], 'g');\nvar tildeTrimReplace = '$1~';\n\nvar TILDE = R++;\nsrc[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$';\nvar TILDELOOSE = R++;\nsrc[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$';\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\nvar LONECARET = R++;\nsrc[LONECARET] = '(?:\\\\^)';\n\nvar CARETTRIM = R++;\nsrc[CARETTRIM] = '(\\\\s*)' + src[LONECARET] + '\\\\s+';\nre[CARETTRIM] = new RegExp(src[CARETTRIM], 'g');\nvar caretTrimReplace = '$1^';\n\nvar CARET = R++;\nsrc[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$';\nvar CARETLOOSE = R++;\nsrc[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$';\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\nvar COMPARATORLOOSE = R++;\nsrc[COMPARATORLOOSE] = '^' + src[GTLT] + '\\\\s*(' + LOOSEPLAIN + ')$|^$';\nvar COMPARATOR = R++;\nsrc[COMPARATOR] = '^' + src[GTLT] + '\\\\s*(' + FULLPLAIN + ')$|^$';\n\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\nvar COMPARATORTRIM = R++;\nsrc[COMPARATORTRIM] = '(\\\\s*)' + src[GTLT] +\n '\\\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')';\n\n// this one has to use the /g flag\nre[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g');\nvar comparatorTrimReplace = '$1$2$3';\n\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\nvar HYPHENRANGE = R++;\nsrc[HYPHENRANGE] = '^\\\\s*(' + src[XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[XRANGEPLAIN] + ')' +\n '\\\\s*$';\n\nvar HYPHENRANGELOOSE = R++;\nsrc[HYPHENRANGELOOSE] = '^\\\\s*(' + src[XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$';\n\n// Star ranges basically just allow anything at all.\nvar STAR = R++;\nsrc[STAR] = '(<|>)?=?\\\\s*\\\\*';\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i]);\n if (!re[i])\n re[i] = new RegExp(src[i]);\n}\n\nexports.parse = parse;\nfunction parse(version, loose) {\n if (version instanceof SemVer)\n return version;\n\n if (typeof version !== 'string')\n return null;\n\n if (version.length > MAX_LENGTH)\n return null;\n\n var r = loose ? re[LOOSE] : re[FULL];\n if (!r.test(version))\n return null;\n\n try {\n return new SemVer(version, loose);\n } catch (er) {\n return null;\n }\n}\n\nexports.valid = valid;\nfunction valid(version, loose) {\n var v = parse(version, loose);\n return v ? v.version : null;\n}\n\n\nexports.clean = clean;\nfunction clean(version, loose) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), loose);\n return s ? s.version : null;\n}\n\nexports.SemVer = SemVer;\n\nfunction SemVer(version, loose) {\n if (version instanceof SemVer) {\n if (version.loose === loose)\n return version;\n else\n version = version.version;\n } else if (typeof version !== 'string') {\n throw new TypeError('Invalid Version: ' + version);\n }\n\n if (version.length > MAX_LENGTH)\n throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')\n\n if (!(this instanceof SemVer))\n return new SemVer(version, loose);\n\n debug('SemVer', version, loose);\n this.loose = loose;\n var m = version.trim().match(loose ? re[LOOSE] : re[FULL]);\n\n if (!m)\n throw new TypeError('Invalid Version: ' + version);\n\n this.raw = version;\n\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0)\n throw new TypeError('Invalid major version')\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0)\n throw new TypeError('Invalid minor version')\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0)\n throw new TypeError('Invalid patch version')\n\n // numberify any prerelease numeric ids\n if (!m[4])\n this.prerelease = [];\n else\n this.prerelease = m[4].split('.').map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER)\n return num;\n }\n return id;\n });\n\n this.build = m[5] ? m[5].split('.') : [];\n this.format();\n}\n\nSemVer.prototype.format = function() {\n this.version = this.major + '.' + this.minor + '.' + this.patch;\n if (this.prerelease.length)\n this.version += '-' + this.prerelease.join('.');\n return this.version;\n};\n\nSemVer.prototype.toString = function() {\n return this.version;\n};\n\nSemVer.prototype.compare = function(other) {\n debug('SemVer.compare', this.version, this.loose, other);\n if (!(other instanceof SemVer))\n other = new SemVer(other, this.loose);\n\n return this.compareMain(other) || this.comparePre(other);\n};\n\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer))\n other = new SemVer(other, this.loose);\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch);\n};\n\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer))\n other = new SemVer(other, this.loose);\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length)\n return -1;\n else if (!this.prerelease.length && other.prerelease.length)\n return 1;\n else if (!this.prerelease.length && !other.prerelease.length)\n return 0;\n\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug('prerelease compare', i, a, b);\n if (a === undefined && b === undefined)\n return 0;\n else if (b === undefined)\n return 1;\n else if (a === undefined)\n return -1;\n else if (a === b)\n continue;\n else\n return compareIdentifiers(a, b);\n } while (++i);\n};\n\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function(release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor = 0;\n this.major++;\n this.inc('pre', identifier);\n break;\n case 'preminor':\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc('pre', identifier);\n break;\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0;\n this.inc('patch', identifier);\n this.inc('pre', identifier);\n break;\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0)\n this.inc('patch', identifier);\n this.inc('pre', identifier);\n break;\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0)\n this.major++;\n this.minor = 0;\n this.patch = 0;\n this.prerelease = [];\n break;\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0)\n this.minor++;\n this.patch = 0;\n this.prerelease = [];\n break;\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0)\n this.patch++;\n this.prerelease = [];\n break;\n // This probably shouldn't be used publicly.\n // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0)\n this.prerelease = [0];\n else {\n var i = this.prerelease.length;\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++;\n i = -2;\n }\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1]))\n this.prerelease = [identifier, 0];\n } else\n this.prerelease = [identifier, 0];\n }\n break;\n\n default:\n throw new Error('invalid increment argument: ' + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\n\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof(loose) === 'string') {\n identifier = loose;\n loose = undefined;\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\n\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) {\n return null;\n } else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n if (v1.prerelease.length || v2.prerelease.length) {\n for (var key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return 'pre'+key;\n }\n }\n }\n return 'prerelease';\n }\n for (var key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return key;\n }\n }\n }\n }\n}\n\nexports.compareIdentifiers = compareIdentifiers;\n\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n\n return (anum && !bnum) ? -1 :\n (bnum && !anum) ? 1 :\n a < b ? -1 :\n a > b ? 1 :\n 0;\n}\n\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\n\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\n\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\n\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\n\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\n\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\n\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\n\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compare(a, b, loose);\n });\n}\n\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.rcompare(a, b, loose);\n });\n}\n\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\n\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\n\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\n\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\n\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\n\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\n\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n var ret;\n switch (op) {\n case '===':\n if (typeof a === 'object') a = a.version;\n if (typeof b === 'object') b = b.version;\n ret = a === b;\n break;\n case '!==':\n if (typeof a === 'object') a = a.version;\n if (typeof b === 'object') b = b.version;\n ret = a !== b;\n break;\n case '': case '=': case '==': ret = eq(a, b, loose); break;\n case '!=': ret = neq(a, b, loose); break;\n case '>': ret = gt(a, b, loose); break;\n case '>=': ret = gte(a, b, loose); break;\n case '<': ret = lt(a, b, loose); break;\n case '<=': ret = lte(a, b, loose); break;\n default: throw new TypeError('Invalid operator: ' + op);\n }\n return ret;\n}\n\nexports.Comparator = Comparator;\nfunction Comparator(comp, loose) {\n if (comp instanceof Comparator) {\n if (comp.loose === loose)\n return comp;\n else\n comp = comp.value;\n }\n\n if (!(this instanceof Comparator))\n return new Comparator(comp, loose);\n\n debug('comparator', comp, loose);\n this.loose = loose;\n this.parse(comp);\n\n if (this.semver === ANY)\n this.value = '';\n else\n this.value = this.operator + this.semver.version;\n\n debug('comp', this);\n}\n\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.loose ? re[COMPARATORLOOSE] : re[COMPARATOR];\n var m = comp.match(r);\n\n if (!m)\n throw new TypeError('Invalid comparator: ' + comp);\n\n this.operator = m[1];\n if (this.operator === '=')\n this.operator = '';\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2])\n this.semver = ANY;\n else\n this.semver = new SemVer(m[2], this.loose);\n};\n\nComparator.prototype.toString = function() {\n return this.value;\n};\n\nComparator.prototype.test = function(version) {\n debug('Comparator.test', version, this.loose);\n\n if (this.semver === ANY)\n return true;\n\n if (typeof version === 'string')\n version = new SemVer(version, this.loose);\n\n return cmp(version, this.operator, this.semver, this.loose);\n};\n\nComparator.prototype.intersects = function(comp, loose) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required');\n }\n\n var rangeTmp;\n\n if (this.operator === '') {\n rangeTmp = new Range(comp.value, loose);\n return satisfies(this.value, rangeTmp, loose);\n } else if (comp.operator === '') {\n rangeTmp = new Range(this.value, loose);\n return satisfies(comp.semver, rangeTmp, loose);\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>');\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<');\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=');\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, loose) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'));\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, loose) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'));\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\n\n\nexports.Range = Range;\nfunction Range(range, loose) {\n if (range instanceof Range) {\n if (range.loose === loose) {\n return range;\n } else {\n return new Range(range.raw, loose);\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, loose);\n }\n\n if (!(this instanceof Range))\n return new Range(range, loose);\n\n this.loose = loose;\n\n // First, split based on boolean or ||\n this.raw = range;\n this.set = range.split(/\\s*\\|\\|\\s*/).map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + range);\n }\n\n this.format();\n}\n\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(' ').trim();\n }).join('||').trim();\n return this.range;\n};\n\nRange.prototype.toString = function() {\n return this.range;\n};\n\nRange.prototype.parseRange = function(range) {\n var loose = this.loose;\n range = range.trim();\n debug('range', range, loose);\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug('hyphen replace', range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace);\n debug('comparator trim', range, re[COMPARATORTRIM]);\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[TILDETRIM], tildeTrimReplace);\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[CARETTRIM], caretTrimReplace);\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ');\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR];\n var set = range.split(' ').map(function(comp) {\n return parseComparator(comp, loose);\n }).join(' ').split(/\\s+/);\n if (this.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n }\n set = set.map(function(comp) {\n return new Comparator(comp, loose);\n });\n\n return set;\n};\n\nRange.prototype.intersects = function(range, loose) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required');\n }\n\n return this.set.some(function(thisComparators) {\n return thisComparators.every(function(thisComparator) {\n return range.set.some(function(rangeComparators) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, loose);\n });\n });\n });\n });\n};\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, loose) {\n return new Range(range, loose).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(' ').trim().split(' ');\n });\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator(comp, loose) {\n debug('comp', comp);\n comp = replaceCarets(comp, loose);\n debug('caret', comp);\n comp = replaceTildes(comp, loose);\n debug('tildes', comp);\n comp = replaceXRanges(comp, loose);\n debug('xrange', comp);\n comp = replaceStars(comp, loose);\n debug('stars', comp);\n return comp;\n}\n\nfunction isX(id) {\n return !id || id.toLowerCase() === 'x' || id === '*';\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, loose) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, loose);\n }).join(' ');\n}\n\nfunction replaceTilde(comp, loose) {\n var r = loose ? re[TILDELOOSE] : re[TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr);\n var ret;\n\n if (isX(M))\n ret = '';\n else if (isX(m))\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n else if (isX(p))\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n else if (pr) {\n debug('replaceTilde pr', pr);\n if (pr.charAt(0) !== '-')\n pr = '-' + pr;\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + M + '.' + (+m + 1) + '.0';\n } else\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0';\n\n debug('tilde return', ret);\n return ret;\n });\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, loose) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, loose);\n }).join(' ');\n}\n\nfunction replaceCaret(comp, loose) {\n debug('caret', comp, loose);\n var r = loose ? re[CARETLOOSE] : re[CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr);\n var ret;\n\n if (isX(M))\n ret = '';\n else if (isX(m))\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n else if (isX(p)) {\n if (M === '0')\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n else\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0';\n } else if (pr) {\n debug('replaceCaret pr', pr);\n if (pr.charAt(0) !== '-')\n pr = '-' + pr;\n if (M === '0') {\n if (m === '0')\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + M + '.' + m + '.' + (+p + 1);\n else\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + M + '.' + (+m + 1) + '.0';\n } else\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + (+M + 1) + '.0.0';\n } else {\n debug('no pr');\n if (M === '0') {\n if (m === '0')\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1);\n else\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0';\n } else\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0';\n }\n\n debug('caret return', ret);\n return ret;\n });\n}\n\nfunction replaceXRanges(comp, loose) {\n debug('replaceXRanges', comp, loose);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, loose);\n }).join(' ');\n}\n\nfunction replaceXRange(comp, loose) {\n comp = comp.trim();\n var r = loose ? re[XRANGELOOSE] : re[XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n\n if (gtlt === '=' && anyX)\n gtlt = '';\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0';\n } else {\n // nothing is forbidden\n ret = '*';\n }\n } else if (gtlt && anyX) {\n // replace X with 0\n if (xm)\n m = 0;\n if (xp)\n p = 0;\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\n gtlt = '>=';\n if (xm) {\n M = +M + 1;\n m = 0;\n p = 0;\n } else if (xp) {\n m = +m + 1;\n p = 0;\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<';\n if (xm)\n M = +M + 1;\n else\n m = +m + 1;\n }\n\n ret = gtlt + M + '.' + m + '.' + p;\n } else if (xm) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n }\n\n debug('xRange return', ret);\n\n return ret;\n });\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars(comp, loose) {\n debug('replaceStars', comp, loose);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[STAR], '');\n}\n\n// This function is passed to string.replace(re[HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) {\n\n if (isX(fM))\n from = '';\n else if (isX(fm))\n from = '>=' + fM + '.0.0';\n else if (isX(fp))\n from = '>=' + fM + '.' + fm + '.0';\n else\n from = '>=' + from;\n\n if (isX(tM))\n to = '';\n else if (isX(tm))\n to = '<' + (+tM + 1) + '.0.0';\n else if (isX(tp))\n to = '<' + tM + '.' + (+tm + 1) + '.0';\n else if (tpr)\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr;\n else\n to = '<=' + to;\n\n return (from + ' ' + to).trim();\n}\n\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version)\n return false;\n\n if (typeof version === 'string')\n version = new SemVer(version, this.loose);\n\n for (var i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version))\n return true;\n }\n return false;\n};\n\nfunction testSet(set, version) {\n for (var i = 0; i < set.length; i++) {\n if (!set[i].test(version))\n return false;\n }\n\n if (version.prerelease.length) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (var i = 0; i < set.length; i++) {\n debug(set[i].semver);\n if (set[i].semver === ANY)\n continue;\n\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch)\n return true;\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n\n return true;\n}\n\nexports.satisfies = satisfies;\nfunction satisfies(version, range, loose) {\n try {\n range = new Range(range, loose);\n } catch (er) {\n return false;\n }\n return range.test(version);\n}\n\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, loose) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, loose);\n } catch (er) {\n return null;\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) { // satisfies(v, range, loose)\n if (!max || maxSV.compare(v) === -1) { // compare(max, v, true)\n max = v;\n maxSV = new SemVer(max, loose);\n }\n }\n })\n return max;\n}\n\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, loose) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, loose);\n } catch (er) {\n return null;\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) { // satisfies(v, range, loose)\n if (!min || minSV.compare(v) === 1) { // compare(min, v, true)\n min = v;\n minSV = new SemVer(min, loose);\n }\n }\n })\n return min;\n}\n\nexports.validRange = validRange;\nfunction validRange(range, loose) {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, loose).range || '*';\n } catch (er) {\n return null;\n }\n}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, loose) {\n return outside(version, range, '<', loose);\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, loose) {\n return outside(version, range, '>', loose);\n}\n\nexports.outside = outside;\nfunction outside(version, range, hilo, loose) {\n version = new SemVer(version, loose);\n range = new Range(range, loose);\n\n var gtfn, ltefn, ltfn, comp, ecomp;\n switch (hilo) {\n case '>':\n gtfn = gt;\n ltefn = lte;\n ltfn = lt;\n comp = '>';\n ecomp = '>=';\n break;\n case '<':\n gtfn = lt;\n ltefn = gte;\n ltfn = gt;\n comp = '<';\n ecomp = '<=';\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n\n // If it satisifes the range it is not outside\n if (satisfies(version, range, loose)) {\n return false;\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i];\n\n var high = null;\n var low = null;\n\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, loose)) {\n high = comparator;\n } else if (ltfn(comparator.semver, low.semver, loose)) {\n low = comparator;\n }\n });\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false;\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false;\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false;\n }\n }\n return true;\n}\n\nexports.prerelease = prerelease;\nfunction prerelease(version, loose) {\n var parsed = parse(version, loose);\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null;\n}\n\nexports.intersects = intersects;\nfunction intersects(r1, r2, loose) {\n r1 = new Range(r1, loose)\n r2 = new Range(r2, loose)\n return r1.intersects(r2)\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/semver/semver.js\n// module id = 47\n// module chunks = 0","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/process/browser.js\n// module id = 48\n// module chunks = 0","module.exports = {\n\t\"name\": \"vuetify\",\n\t\"version\": \"0.16.1\",\n\t\"author\": {\n\t\t\"name\": \"John Leider\",\n\t\t\"email\": \"john@vuetifyjs.com\"\n\t},\n\t\"license\": \"MIT\",\n\t\"homepage\": \"http://vuetifyjs.com\",\n\t\"main\": \"dist/vuetify.js\",\n\t\"unpkg\": \"dist/vuetify.js\",\n\t\"types\": \"index.d.ts\",\n\t\"scripts\": {\n\t\t\"watch\": \"cross-env TARGET=development webpack --config build/config.js --progress --hide-modules --watch\",\n\t\t\"dev\": \"cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.config.js --open --hot\",\n\t\t\"build\": \"npm run build:dist && npm run build:es5\",\n\t\t\"build:dev\": \"cross-env NODE_ENV=production node build/webpack.dev.config.js\",\n\t\t\"build:dist\": \"rimraf dist && cross-env NODE_ENV=production webpack --config build/config.js --progress --hide-modules\",\n\t\t\"build:es5\": \"rimraf es5 && cross-env NODE_ENV=es5 babel src --out-dir es5\",\n\t\t\"debug-build\": \"node --inspect --debug-brk build/config.js\",\n\t\t\"debug:test\": \"./node_modules/.bin/cross-env NODE_ENV=test node --inspect --inspect-brk ./node_modules/jest/bin/jest.js --no-cache --runInBand --verbose\",\n\t\t\"version\": \"npm run build\",\n\t\t\"test\": \"cross-env NODE_ENV=test jest\",\n\t\t\"lint\": \"eslint --ext .js,.vue src\",\n\t\t\"precommit\": \"yarn run lint && yarn test\",\n\t\t\"prepush\": \"yarn run lint && yarn test\"\n\t},\n\t\"description\": \"Vue.js 2 Semantic Component Framework\",\n\t\"devDependencies\": {\n\t\t\"autoprefixer\": \"^7.1.4\",\n\t\t\"avoriaz\": \"^4.1.0\",\n\t\t\"babel-cli\": \"^6.26.0\",\n\t\t\"babel-core\": \"^6.26.0\",\n\t\t\"babel-eslint\": \"^8.0.0\",\n\t\t\"babel-jest\": \"^21.0.2\",\n\t\t\"babel-loader\": \"^7.1.2\",\n\t\t\"babel-plugin-add-filehash\": \"^6.9.4\",\n\t\t\"babel-plugin-detective\": \"^2.0.0\",\n\t\t\"babel-plugin-module-resolver\": \"^2.7.1\",\n\t\t\"babel-plugin-transform-async-to-generator\": \"^6.24.1\",\n\t\t\"babel-plugin-transform-runtime\": \"^6.23.0\",\n\t\t\"babel-polyfill\": \"^6.26.0\",\n\t\t\"babel-preset-env\": \"^1.5.1\",\n\t\t\"babel-preset-es2015\": \"^6.24.1\",\n\t\t\"babel-preset-stage-2\": \"^6.24.1\",\n\t\t\"cross-env\": \"^5.0.5\",\n\t\t\"cross-spawn\": \"^5.1.0\",\n\t\t\"css-loader\": \"^0.28.7\",\n\t\t\"css-mqpacker\": \"^6.0.1\",\n\t\t\"cssnano\": \"^3.10.0\",\n\t\t\"eslint\": \"^4.6.1\",\n\t\t\"eslint-config-standard\": \"^10.2.1\",\n\t\t\"eslint-config-vue\": \"^2.0.2\",\n\t\t\"eslint-friendly-formatter\": \"^3.0.0\",\n\t\t\"eslint-loader\": \"^1.6.1\",\n\t\t\"eslint-plugin-html\": \"^3.2.1\",\n\t\t\"eslint-plugin-import\": \"^2.7.0\",\n\t\t\"eslint-plugin-node\": \"^5.1.1\",\n\t\t\"eslint-plugin-promise\": \"^3.4.0\",\n\t\t\"eslint-plugin-pug\": \"^1.0.0\",\n\t\t\"eslint-plugin-standard\": \"^3.0.1\",\n\t\t\"eslint-plugin-vue\": \"^2.1.0\",\n\t\t\"eventsource-polyfill\": \"^0.9.6\",\n\t\t\"extract-text-webpack-plugin\": \"^3.0.0\",\n\t\t\"friendly-errors-webpack-plugin\": \"^1.6.1\",\n\t\t\"function-bind\": \"^1.1.1\",\n\t\t\"husky\": \"^0.14.3\",\n\t\t\"jest\": \"^21.1.0\",\n\t\t\"jest-cli\": \"^21.1.0\",\n\t\t\"jest-css-modules\": \"^1.1.0\",\n\t\t\"jest-serializer-html\": \"^4.0.0\",\n\t\t\"jest-vue-preprocessor\": \"^1.1.0\",\n\t\t\"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\n\t\t\"optimize-js-plugin\": \"^0.0.4\",\n\t\t\"postcss-loader\": \"^1.3.3\",\n\t\t\"progress-bar-webpack-plugin\": \"^1.10.0\",\n\t\t\"pug\": \"^2.0.0-rc.4\",\n\t\t\"pug-loader\": \"^2.3.0\",\n\t\t\"ress\": \"^1.1.1\",\n\t\t\"rimraf\": \"^2.6.2\",\n\t\t\"semver\": \"^5.4.1\",\n\t\t\"serialize-javascript\": \"^1.3.0\",\n\t\t\"style-loader\": \"^0.18.2\",\n\t\t\"stylus\": \"^0.54.5\",\n\t\t\"stylus-loader\": \"^3.0.1\",\n\t\t\"uglifyjs-webpack-plugin\": \"^0.4.6\",\n\t\t\"vue\": \"^2.4.4\",\n\t\t\"vue-loader\": \"^13.0.4\",\n\t\t\"vue-router\": \"^2.7.0\",\n\t\t\"vue-server-renderer\": \"^2.4.4\",\n\t\t\"vue-template-compiler\": \"^2.4.4\",\n\t\t\"webpack\": \"^3.6.0\",\n\t\t\"webpack-bundle-analyzer\": \"^2.9.0\",\n\t\t\"webpack-bundle-size-analyzer\": \"^2.7.0\",\n\t\t\"webpack-dev-server\": \"^2.8.2\",\n\t\t\"webpack-merge\": \"^4.1.0\",\n\t\t\"write-file-webpack-plugin\": \"^4.1.0\"\n\t},\n\t\"dependencies\": {},\n\t\"engines\": {\n\t\t\"node\": \">= 4.0.0\",\n\t\t\"npm\": \">= 3.0.0\"\n\t},\n\t\"jest\": {\n\t\t\"verbose\": false,\n\t\t\"roots\": [\n\t\t\t\"/src\"\n\t\t],\n\t\t\"moduleFileExtensions\": [\n\t\t\t\"js\",\n\t\t\t\"vue\"\n\t\t],\n\t\t\"moduleDirectories\": [\n\t\t\t\"node_modules\"\n\t\t],\n\t\t\"moduleNameMapper\": {\n\t\t\t\"src/(.*)\": \"/src/$1\"\n\t\t},\n\t\t\"transform\": {\n\t\t\t\".*\\\\.(vue)$\": \"/node_modules/jest-vue-preprocessor\",\n\t\t\t\"\\\\.(styl)$\": \"/node_modules/jest-css-modules\",\n\t\t\t\".*\\\\.(vue|js)$\": \"/node_modules/babel-jest\"\n\t\t},\n\t\t\"transformIgnorePatterns\": [\n\t\t\t\"node_modules/(?!vue-router)\"\n\t\t],\n\t\t\"snapshotSerializers\": [\n\t\t\t\"jest-serializer-html\"\n\t\t]\n\t}\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./package.json\n// module id = 49\n// module chunks = 0","export { default as Vuetify } from './Vuetify'\nexport { default as VApp } from './VApp'\nexport { default as VAlert } from './VAlert'\nexport { default as VAvatar } from './VAvatar'\nexport { default as VBadge } from './VBadge'\nexport { default as VBottomNav } from './VBottomNav'\nexport { default as VBottomSheet } from './VBottomSheet'\nexport { default as VBreadcrumbs } from './VBreadcrumbs'\nexport { default as VBtn } from './VBtn'\nexport { default as VBtnToggle } from './VBtnToggle'\nexport { default as VCard } from './VCard'\nexport { default as VCarousel } from './VCarousel'\nexport { default as VCheckbox } from './VCheckbox'\nexport { default as VChip } from './VChip'\nexport { default as VDataTable } from './VDataTable'\nexport { default as VDatePicker } from './VDatePicker'\nexport { default as VDialog } from './VDialog'\nexport { default as VDivider } from './VDivider'\nexport { default as VExpansionPanel } from './VExpansionPanel'\nexport { default as VFooter } from './VFooter'\nexport { default as VForm } from './VForm'\nexport { default as VGrid } from './VGrid'\nexport { default as VIcon } from './VIcon'\nexport { default as VList } from './VList'\nexport { default as VMenu } from './VMenu'\nexport { default as VNavigationDrawer } from './VNavigationDrawer'\nexport { default as VPagination } from './VPagination'\nexport { default as VParallax } from './VParallax'\nexport { default as VProgressCircular } from './VProgressCircular'\nexport { default as VProgressLinear } from './VProgressLinear'\nexport { default as VRadioGroup } from './VRadioGroup'\nexport { default as VSelect } from './VSelect'\nexport { default as VSlider } from './VSlider'\nexport { default as VSnackbar } from './VSnackbar'\nexport { default as VSpeedDial } from './VSpeedDial'\nexport { default as VStepper } from './VStepper'\nexport { default as VSubheader } from './VSubheader'\nexport { default as VSwitch } from './VSwitch'\nexport { default as VSystemBar } from './VSystemBar'\nexport { default as VTabs } from './VTabs'\nexport { default as VTextField } from './VTextField'\nexport { default as VTimePicker } from './VTimePicker'\nexport { default as VToolbar } from './VToolbar'\nexport { default as VTooltip } from './VTooltip'\nexport { default as Transitions } from './transitions'\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/index.js","import load from '../../util/load'\n\nconst Vuetify = {\n install (Vue, opts = {}) {\n const $vuetify = {\n load,\n application: {\n bar: 0,\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n },\n breakpoint: {},\n touchSupport: false\n }\n\n Vue.util.defineReactive({}, 'breakpoint', $vuetify)\n Vue.util.defineReactive({}, 'application', $vuetify)\n\n Vue.prototype.$vuetify = $vuetify\n\n if (opts.transitions) {\n Object.keys(opts.transitions).forEach(key => {\n const t = opts.transitions[key]\n if (t.name !== undefined && t.name.startsWith('v-')) {\n Vue.component(t.name, t)\n }\n })\n }\n\n if (opts.directives) {\n Object.keys(opts.directives).forEach(key => {\n const d = opts.directives[key]\n Vue.directive(d.name, d)\n })\n }\n\n if (opts.components) {\n Object.keys(opts.components).forEach(key => {\n const c = opts.components[key]\n Vue.use(c)\n })\n }\n }\n}\n\nexport default Vuetify\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/Vuetify/index.js","function load (cb, i = 0) {\n if (!document._loadCallbacks) {\n document._loadCallbacks = []\n }\n\n if (document.readyState === 'complete') {\n return cb()\n }\n\n document._loadCallbacks.push(cb)\n}\n\nexport default load\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/load.js","import VApp from './VApp'\n\nVApp.install = function install (Vue) {\n Vue.component(VApp.name, VApp)\n}\n\nexport default VApp\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VApp/index.js","require('../../stylus/components/_app.styl')\n\nimport Breakpoint from '../../util/breakpoint'\nimport Themeable from '../../mixins/themeable'\nimport TouchSupport from '../../util/touchSupport'\n\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-app',\n\n mixins: [Breakpoint, Themeable, TouchSupport],\n\n directives: {\n Resize\n },\n\n data: () => ({\n resizeTimeout: {}\n }),\n\n props: {\n id: {\n type: String,\n default: 'app'\n }\n },\n\n mounted () {\n window.addEventListener('load', this.runCallbacks)\n },\n\n methods: {\n // Run all load callbacks created\n // from the load helper utility\n runCallbacks () {\n // For unit tests\n if (!document._loadCallbacks) return\n\n while (document._loadCallbacks.length) {\n document._loadCallbacks.pop()()\n }\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'application',\n 'class': {\n 'application--dark': this.dark,\n 'application--light': !this.dark\n },\n attrs: { 'data-app': true },\n domProps: { id: this.id },\n directives: [{\n name: 'resize',\n value: this.onResize\n }]\n }\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VApp/VApp.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_app.styl\n// module id = 55\n// module chunks = 0","/**\n * A modified version of https://gist.github.com/cb109/b074a65f7595cffc21cea59ce8d15f9b\n */\n\n/**\n * A Vue mixin to get the current width/height and the associated breakpoint.\n *\n * Useful to e.g. adapt the user interface from inside a Vue component\n * as opposed to using CSS classes. The breakpoint pixel values and\n * range names are taken from Vuetify (https://github.com/vuetifyjs).\n *\n * Use within a component:\n *\n * import breakpoint from './breakpoint.js'\n *\n * export default {\n * name: 'my-component',\n * mixins: [breakpoint],\n * ...\n *\n * Then inside a template:\n *\n *
...
\n */\nvar breakpoint = {\n data () {\n return {\n clientWidth: 0,\n clientHeight: 0\n }\n },\n\n computed: {\n breakpoint () {\n const xs = this.clientWidth < 600\n const sm = this.clientWidth < 960 && !xs\n const md = this.clientWidth < (1280 - 16) && !(sm || xs)\n const lg = this.clientWidth < (1920 - 16) && !(md || sm || xs)\n const xl = this.clientWidth >= (1920 - 16) && !(lg || md || sm || xs)\n\n const xsOnly = xs\n const smOnly = sm\n const smAndDown = (xs || sm) && !(md || lg || xl)\n const smAndUp = !xs && (sm || md || lg || xl)\n const mdOnly = md\n const mdAndDown = (xs || sm || md) && !(lg || xl)\n const mdAndUp = !(xs || sm) && (md || lg || xl)\n const lgOnly = lg\n const lgAndDown = (xs || sm || md || lg) && !xl\n const lgAndUp = !(xs || sm || md) && (lg || xl)\n const xlOnly = xl\n\n let name\n switch (true) {\n case (xs):\n name = 'xs'\n break\n case (sm):\n name = 'sm'\n break\n case (md):\n name = 'md'\n break\n case (lg):\n name = 'lg'\n break\n default:\n name = 'xl'\n break\n }\n\n const result = {\n // Definite breakpoint.\n xs,\n sm,\n md,\n lg,\n xl,\n\n // Useful e.g. to construct CSS class names dynamically.\n name,\n\n // Breakpoint ranges.\n xsOnly,\n smOnly,\n smAndDown,\n smAndUp,\n mdOnly,\n mdAndDown,\n mdAndUp,\n lgOnly,\n lgAndDown,\n lgAndUp,\n xlOnly,\n\n // For custom breakpoint logic.\n width: this.clientWidth,\n height: this.clientHeight\n }\n\n return result\n }\n },\n\n watch: {\n breakpoint (val) {\n this.$vuetify.breakpoint = val\n }\n },\n\n methods: {\n onResize () {\n // Cross-browser support as described in:\n // https://stackoverflow.com/questions/1248081\n this.clientWidth = Math.max(\n document.documentElement.clientWidth,\n window.innerWidth || 0\n )\n this.clientHeight = Math.max(\n document.documentElement.clientHeight,\n window.innerHeight || 0\n )\n }\n }\n}\n\nexport default breakpoint\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/breakpoint.js","import { addOnceEventListener } from './helpers'\n\n/**\n * @mixin\n */\nexport default {\n mounted () {\n addOnceEventListener(window, 'touchstart', () => {\n this.$vuetify.touchSupport = true\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/touchSupport.js","import VAlert from './VAlert'\n\nVAlert.install = function install (Vue) {\n Vue.component(VAlert.name, VAlert)\n}\n\nexport default VAlert\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAlert/index.js","require('../../stylus/components/_alerts.styl')\n\nimport VIcon from '../VIcon'\n\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\nimport Transitionable from '../../mixins/transitionable'\n\nexport default {\n name: 'v-alert',\n\n components: {\n VIcon\n },\n\n mixins: [Colorable, Toggleable, Transitionable],\n\n props: {\n dismissible: Boolean,\n icon: String\n },\n\n computed: {\n classes () {\n return {\n 'alert--dismissible': this.dismissible,\n [this.color || 'error']: true\n }\n }\n },\n\n render (h) {\n const children = [h('div', this.$slots.default)]\n\n if (this.icon) {\n children.unshift(h('v-icon', {\n 'class': 'alert__icon'\n }, this.icon))\n }\n\n if (this.dismissible) {\n const close = h('a', {\n 'class': 'alert__dismissible',\n domProps: { href: 'javascript:;' },\n on: { click: () => this.$emit('input', false) }\n }, [\n h(VIcon, {\n props: {\n right: true\n }\n }, 'cancel')\n ])\n\n children.push(close)\n }\n\n const alert = h('div', {\n staticClass: 'alert',\n 'class': this.classes,\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n on: this.$listeners\n }, children)\n\n if (!this.transition) return alert\n\n return h('transition', {\n props: {\n name: this.transition,\n origin: this.origin,\n mode: this.mode\n }\n }, [alert])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAlert/VAlert.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_alerts.styl\n// module id = 60\n// module chunks = 0","require('../../stylus/components/_icons.styl')\n\nimport Themeable from '../../mixins/themeable'\nimport Colorable from '../../mixins/colorable'\nimport Contextualable from '../../mixins/contextualable'\n\nexport default {\n name: 'v-icon',\n\n functional: true,\n\n mixins: [Colorable, Contextualable, Themeable],\n\n props: {\n disabled: Boolean,\n fa: Boolean,\n mdi: Boolean,\n large: Boolean,\n left: Boolean,\n medium: Boolean,\n right: Boolean,\n xLarge: Boolean\n },\n\n render (h, { props, data, children = [] }) {\n Object.keys(Contextualable.props).forEach(prop => {\n if (props[prop]) {\n console.warn(`Context prop '${prop}' for VIcon component has been deprecated. Use 'color' prop instead.`)\n }\n })\n\n if (props.fa || props.mdi) console.warn(`The v-icon prop 'fa' and 'mdi' will be deprecated in the next release. Use 'fa' or 'mdi' prefix in icon name instead.`)\n let iconName = ''\n let iconType = 'material-icons'\n\n if (children.length) {\n iconName = children.pop().text\n } else if (data.domProps && data.domProps.textContent) {\n iconName = data.domProps.textContent\n delete data.domProps.textContent\n } else if (data.domProps && data.domProps.innerHTML) {\n iconName = data.domProps.innerHTML\n delete data.domProps.innerHTML\n }\n\n const thirdPartyIcon = iconName.indexOf('-') > -1\n if (thirdPartyIcon) iconType = iconName.slice(0, iconName.indexOf('-'))\n\n // To keep things backwards compatible for now\n iconType = props.fa ? 'fa' : props.mdi ? 'mdi' : iconType\n\n data.staticClass = (`${iconType} icon ${data.staticClass || ''}`).trim()\n data.attrs = data.attrs || {}\n\n const classes = Object.assign({\n 'icon--disabled': props.disabled,\n 'icon--large': props.large,\n 'icon--left': props.left,\n 'icon--medium': props.medium,\n 'icon--right': props.right,\n 'icon--x-large': props.xLarge,\n 'theme--dark': props.dark,\n 'theme--light': props.light\n }, props.color ? Colorable.methods.addColorClassChecks.call(props, {}) : {\n 'primary--text': props.primary,\n 'secondary--text': props.secondary,\n 'success--text': props.success,\n 'info--text': props.info,\n 'warning--text': props.warning,\n 'error--text': props.error\n })\n\n const iconClasses = Object.keys(classes).filter(k => classes[k]).join(' ')\n iconClasses && (data.staticClass += ` ${iconClasses}`)\n\n // To keep things backwards compatible for now\n if (props.fa || props.mdi) {\n const comparison = props.fa ? 'fa' : 'mdi'\n\n if (iconName.indexOf(' ') > -1) data.staticClass += ` ${comparison}-${iconName}`\n else data.staticClass += ` ${comparison}-${iconName.split(' ').join('-')}`\n }\n\n if (thirdPartyIcon) data.staticClass += ` ${iconName}`\n !(thirdPartyIcon || props.fa || props.mdi) && children.push(iconName)\n\n return h('i', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VIcon/VIcon.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_icons.styl\n// module id = 62\n// module chunks = 0","export default {\n props: {\n mode: String,\n origin: String,\n transition: String\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/transitionable.js","import VAvatar from './VAvatar'\n\nVAvatar.install = function install (Vue) {\n Vue.component(VAvatar.name, VAvatar)\n}\n\nexport default VAvatar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAvatar/index.js","require('../../stylus/components/_avatars.styl')\n\nexport default {\n name: 'v-avatar',\n\n functional: true,\n\n props: {\n size: {\n type: String,\n default: '48px'\n },\n tile: Boolean\n },\n\n render (h, { data, props, children }) {\n data.staticClass = (`avatar ${data.staticClass || ''}`).trim()\n data.style = data.style || {}\n\n if (props.tile) data.staticClass += ' avatar--tile'\n\n data.style.height = props.size\n data.style.width = props.size\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAvatar/VAvatar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_avatars.styl\n// module id = 66\n// module chunks = 0","import VBadge from './VBadge'\n\nVBadge.install = function install (Vue) {\n Vue.component(VBadge.name, VBadge)\n}\n\nexport default VBadge\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBadge/index.js","require('../../stylus/components/_badges.styl')\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-badge',\n\n mixins: [Colorable, Toggleable],\n\n props: {\n bottom: Boolean,\n color: {\n type: String,\n default: 'primary'\n },\n left: Boolean,\n overlap: Boolean,\n transition: {\n type: String,\n default: 'fab-transition'\n },\n value: {\n default: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'badge--bottom': this.bottom,\n 'badge--left': this.left,\n 'badge--overlap': this.overlap\n }\n }\n },\n\n render (h) {\n const badge = this.$slots.badge ? [h('span', {\n staticClass: 'badge__badge',\n 'class': [this.color],\n attrs: this.attrs,\n directives: [{\n name: 'show',\n value: this.isActive\n }]\n }, this.$slots.badge)] : null\n\n return h('span', {\n staticClass: 'badge',\n 'class': this.classes\n }, [\n this.$slots.default,\n h('transition', {\n props: {\n name: this.transition\n }\n }, badge)\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBadge/VBadge.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_badges.styl\n// module id = 69\n// module chunks = 0","import VBottomNav from './VBottomNav'\n\nVBottomNav.install = function install (Vue) {\n Vue.component(VBottomNav.name, VBottomNav)\n}\n\nexport default VBottomNav\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomNav/index.js","require('../../stylus/components/_bottom-navs.styl')\n\nimport ButtonGroup from '../../mixins/button-group'\n\nexport default {\n name: 'v-bottom-nav',\n\n mixins: [ButtonGroup],\n\n props: {\n absolute: Boolean,\n active: [Number, String],\n shift: Boolean,\n value: { required: false }\n },\n\n watch: {\n active () {\n this.update()\n }\n },\n\n computed: {\n classes () {\n return {\n 'bottom-nav': true,\n 'bottom-nav--absolute': this.absolute,\n 'bottom-nav--shift': this.shift,\n 'bottom-nav--active': this.value\n }\n }\n },\n\n methods: {\n isSelected (i) {\n const item = this.getValue(i)\n return this.active === item\n },\n updateValue (i) {\n const item = this.getValue(i)\n this.$emit('update:active', item)\n }\n },\n\n render (h) {\n return h('div', {\n class: this.classes\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomNav/VBottomNav.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_bottom-navs.styl\n// module id = 72\n// module chunks = 0","import VBottomSheet from './VBottomSheet'\n\nVBottomSheet.install = function install (Vue) {\n Vue.component(VBottomSheet.name, VBottomSheet)\n}\n\nexport default VBottomSheet\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomSheet/index.js","require('../../stylus/components/_bottom-sheets.styl')\n\nimport VDialog from '../VDialog/VDialog'\n\nexport default {\n name: 'v-bottom-sheet',\n\n components: {\n VDialog\n },\n\n props: {\n inset: Boolean,\n value: null\n },\n\n render (h) {\n const activator = h('template', {\n slot: 'activator'\n }, this.$slots.activator)\n\n const contentClass = [\n 'bottom-sheet',\n this.inset ? 'bottom-sheet--inset' : ''\n ].join(' ')\n\n return h(VDialog, {\n attrs: {\n ...this.$attrs\n },\n on: {\n ...this.$listeners\n },\n props: {\n contentClass: contentClass,\n transition: 'bottom-sheet-transition',\n value: this.value\n }\n }, [activator, this.$slots.default])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomSheet/VBottomSheet.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_bottom-sheets.styl\n// module id = 75\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_dialogs.styl\n// module id = 76\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_overlay.styl\n// module id = 77\n// module chunks = 0","import VBreadcrumbs from './VBreadcrumbs'\nimport VBreadcrumbsItem from './VBreadcrumbsItem'\n\nexport { VBreadcrumbs, VBreadcrumbsItem }\n\nVBreadcrumbs.install = function install (Vue) {\n Vue.component(VBreadcrumbs.name, VBreadcrumbs)\n Vue.component(VBreadcrumbsItem.name, VBreadcrumbsItem)\n}\n\nexport default VBreadcrumbs\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBreadcrumbs/index.js","require('../../stylus/components/_breadcrumbs.styl')\n\nexport default {\n name: 'v-breadcrumbs',\n\n provide () {\n return {\n divider: this.divider\n }\n },\n\n props: {\n divider: {\n type: String,\n default: '/'\n },\n icons: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'breadcrumbs': true,\n 'breadcrumbs--with-icons': this.icons\n }\n }\n },\n\n render (h) {\n return h('ul', {\n 'class': this.classes,\n props: { items: this.items }\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBreadcrumbs/VBreadcrumbs.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_breadcrumbs.styl\n// module id = 80\n// module chunks = 0","import Routable from '../../mixins/routable'\n\nexport default {\n name: 'v-breadcrumbs-item',\n\n mixins: [Routable],\n\n inject: ['divider'],\n\n props: {\n activeClass: {\n type: String,\n default: 'breadcrumbs__item--disabled'\n }\n },\n\n computed: {\n classes () {\n const classes = {\n 'breadcrumbs__item': true\n }\n\n classes[this.activeClass] = this.disabled\n\n return classes\n }\n },\n\n render (h) {\n const { tag, data } = this.generateRouteLink()\n\n return h('li', {\n attrs: { 'data-divider': this.divider }\n }, [\n h(tag, data, this.$slots.default)\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBreadcrumbs/VBreadcrumbsItem.js","require('../../stylus/components/_buttons.styl')\n\nimport Colorable from '../../mixins/colorable'\nimport Contextualable from '../../mixins/contextualable'\nimport Positionable from '../../mixins/positionable'\nimport Routable from '../../mixins/routable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\n\nexport default {\n name: 'v-btn',\n\n mixins: [\n Colorable,\n Contextualable,\n Routable,\n Positionable,\n Themeable,\n ToggleableFactory('inputValue')\n ],\n\n props: {\n activeClass: {\n type: String,\n default: 'btn--active'\n },\n block: Boolean,\n fab: Boolean,\n flat: Boolean,\n icon: Boolean,\n large: Boolean,\n loading: Boolean,\n outline: Boolean,\n ripple: {\n type: [Boolean, Object],\n default: true\n },\n round: Boolean,\n small: Boolean,\n tag: {\n type: String,\n default: 'button'\n },\n type: {\n type: String,\n default: 'button'\n },\n value: null\n },\n\n computed: {\n classes () {\n const colorBackground = !this.outline && !this.flat\n const colorText = !this.disabled && !colorBackground\n\n const classes = {\n 'btn': true,\n 'btn--active': this.isActive,\n 'btn--absolute': this.absolute,\n 'btn--block': this.block,\n 'btn--bottom': this.bottom,\n 'btn--disabled': this.disabled,\n 'btn--flat': this.flat,\n 'btn--floating': this.fab,\n 'btn--fixed': this.fixed,\n 'btn--hover': this.hover,\n 'btn--icon': this.icon,\n 'btn--large': this.large,\n 'btn--left': this.left,\n 'btn--loader': this.loading,\n 'btn--outline': this.outline,\n 'btn--raised': !this.flat,\n 'btn--right': this.right,\n 'btn--round': this.round,\n 'btn--router': this.to,\n 'btn--small': this.small,\n 'btn--top': this.top,\n ...this.themeClasses\n }\n\n if (!this.color) {\n return Object.assign(classes, {\n 'primary': this.primary && colorBackground,\n 'secondary': this.secondary && colorBackground,\n 'success': this.success && colorBackground,\n 'info': this.info && colorBackground,\n 'warning': this.warning && colorBackground,\n 'error': this.error && colorBackground,\n 'primary--text': this.primary && colorText,\n 'secondary--text': this.secondary && colorText,\n 'success--text': this.success && colorText,\n 'info--text': this.info && colorText,\n 'warning--text': this.warning && colorText,\n 'error--text': this.error && colorText\n })\n }\n\n return colorBackground ? Object.assign(classes, {\n [this.color]: true\n }) : this.addColorClassChecks(classes)\n }\n },\n\n methods: {\n // Prevent focus to match md spec\n click (e) {\n !this.fab &&\n e.detail &&\n this.$el.blur()\n\n this.$emit('click', e)\n },\n genContent () {\n return this.$createElement(\n 'div',\n { 'class': 'btn__content' },\n [this.$slots.default]\n )\n },\n genLoader () {\n const children = []\n\n if (!this.$slots.loader) {\n children.push(this.$createElement('v-progress-circular', {\n props: {\n indeterminate: true,\n size: 26\n }\n }))\n } else {\n children.push(this.$slots.loader)\n }\n\n return this.$createElement('span', { 'class': 'btn__loading' }, children)\n }\n },\n\n mounted () {\n Object.keys(Contextualable.props).forEach(prop => {\n if (this[prop]) {\n console.warn(`Context prop '${prop}' for VBtn component has been deprecated. Use 'color' prop instead.`)\n }\n })\n },\n\n render (h) {\n const { tag, data } = this.generateRouteLink()\n const children = [this.genContent()]\n\n tag === 'button' && (data.attrs.type = this.type)\n this.loading && children.push(this.genLoader())\n\n data.attrs.value = ['string', 'number'].includes(typeof this.value)\n ? this.value\n : JSON.stringify(this.value)\n\n return h(tag, data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtn/VBtn.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_buttons.styl\n// module id = 83\n// module chunks = 0","import VBtnToggle from './VBtnToggle'\n\nVBtnToggle.install = function install (Vue) {\n Vue.component(VBtnToggle.name, VBtnToggle)\n}\n\nexport default VBtnToggle\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtnToggle/index.js","require('../../stylus/components/_button-toggle.styl')\n\nimport ButtonGroup from '../../mixins/button-group'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-btn-toggle',\n\n model: {\n prop: 'inputValue',\n event: 'change'\n },\n\n mixins: [ButtonGroup, Themeable],\n\n props: {\n inputValue: {\n required: false\n },\n items: {\n type: Array,\n default: () => []\n },\n mandatory: Boolean,\n multiple: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'btn-toggle': true,\n 'btn-toggle--selected': this.hasValue,\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n },\n hasValue () {\n return (this.multiple && this.inputValue.length) ||\n (!this.multiple && this.inputValue !== null &&\n typeof this.inputValue !== 'undefined')\n }\n },\n\n watch: {\n inputValue: {\n handler () {\n this.update()\n },\n deep: true\n }\n },\n\n methods: {\n isSelected (i) {\n const item = this.getValue(i)\n if (!this.multiple) {\n return this.inputValue === item\n }\n\n return this.inputValue.includes(item)\n },\n updateValue (i) {\n const item = this.getValue(i)\n if (!this.multiple) {\n if (this.mandatory && this.inputValue === item) return\n return this.$emit('change', this.inputValue === item ? null : item)\n }\n\n const items = this.inputValue.slice()\n\n const index = items.indexOf(item)\n if (index > -1) {\n if (this.mandatory && items.length === 1) return\n items.length >= 1 && items.splice(index, 1)\n } else {\n items.push(item)\n }\n\n this.$emit('change', items)\n }\n },\n\n mounted () {\n if (this.items.length > 0) {\n console.warn('The \\'items\\' props has been deprecated. v-btn-toggle now has a default slot where you can place buttons.')\n }\n },\n\n render (h) {\n return h('div', { class: this.classes }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtnToggle/VBtnToggle.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_button-toggle.styl\n// module id = 86\n// module chunks = 0","require('../../stylus/components/_cards.styl')\n\nimport Themeable from '../../mixins/themeable'\nimport Routable from '../../mixins/routable'\n\nexport default {\n name: 'v-card',\n\n mixins: [Routable, Themeable],\n\n props: {\n flat: Boolean,\n height: {\n type: String,\n default: 'auto'\n },\n hover: Boolean,\n img: String,\n raised: Boolean,\n tag: {\n type: String,\n default: 'div'\n },\n tile: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'card': true,\n 'card--flat': this.flat,\n 'card--horizontal': this.horizontal,\n 'card--hover': this.hover,\n 'card--raised': this.raised,\n 'card--tile': this.tile,\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n },\n styles () {\n const style = {\n height: isNaN(this.height) ? this.height : `${this.height}px`\n }\n\n if (this.img) {\n style.background = `url(${this.img}) center center / cover no-repeat`\n }\n\n return style\n }\n },\n\n render (h) {\n const { tag, data } = this.generateRouteLink()\n\n data.style = this.styles\n\n return h(tag, data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/VCard.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_cards.styl\n// module id = 88\n// module chunks = 0","export default {\n name: 'v-card-media',\n\n props: {\n contain: Boolean,\n height: {\n type: [Number, String],\n default: 'auto'\n },\n src: {\n type: String\n }\n },\n\n render (h) {\n const data = {\n 'class': 'card__media',\n style: {\n height: !isNaN(this.height) ? `${this.height}px` : this.height\n },\n on: this.$listeners\n }\n\n const children = []\n\n if (this.src) {\n children.push(h('div', {\n 'class': 'card__media__background',\n style: {\n background: `url(${this.src}) center center / ${this.contain ? 'contain' : 'cover'} no-repeat`\n }\n }))\n }\n\n children.push(h('div', {\n 'class': 'card__media__content'\n }, this.$slots.default))\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/VCardMedia.js","export default {\n name: 'v-card-title',\n\n functional: true,\n\n props: {\n primaryTitle: Boolean\n },\n\n render (h, { data, props, children }) {\n data.staticClass = (`card__title ${data.staticClass || ''}`).trim()\n\n if (props.primaryTitle) data.staticClass += ' card__title--primary'\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/VCardTitle.js","import VCarousel from './VCarousel'\nimport VCarouselItem from './VCarouselItem'\n\nexport { VCarousel, VCarouselItem }\n\nVCarousel.install = function install (Vue) {\n Vue.component(VCarousel.name, VCarousel)\n Vue.component(VCarouselItem.name, VCarouselItem)\n}\n\nexport default VCarousel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCarousel/index.js","require('../../stylus/components/_carousel.styl')\n\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\n\nimport Bootable from '../../mixins/bootable'\nimport Themeable from '../../mixins/themeable'\n\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-carousel',\n\n mixins: [Bootable, Themeable],\n\n directives: { Touch },\n\n data () {\n return {\n inputValue: null,\n items: [],\n slideTimeout: null,\n reverse: false\n }\n },\n\n props: {\n cycle: {\n type: Boolean,\n default: true\n },\n hideControls: Boolean,\n icon: {\n type: String,\n default: 'fiber_manual_record'\n },\n interval: {\n type: [Number, String],\n default: 6000,\n validator: value => value > 0\n },\n leftControlIcon: {\n type: [Boolean, String],\n default: 'chevron_left'\n },\n rightControlIcon: {\n type: [Boolean, String],\n default: 'chevron_right'\n },\n value: Number\n },\n\n watch: {\n inputValue () {\n // Evaluate items when inputValue changes to account for\n // dynamic changing of children\n this.items = this.$children.filter(i => {\n return i.$el.classList && i.$el.classList.contains('carousel__item')\n })\n\n this.items.forEach(i => i.open(\n this.items[this.inputValue]._uid,\n this.reverse\n ))\n\n this.$emit('input', this.inputValue)\n this.restartTimeout()\n },\n value (val) {\n this.inputValue = val\n },\n interval () {\n this.restartTimeout()\n },\n cycle (val) {\n if (val) {\n this.restartTimeout()\n } else {\n clearTimeout(this.slideTimeout)\n this.slideTimeout = null\n }\n }\n },\n\n mounted () {\n this.init()\n },\n\n methods: {\n genControls () {\n return this.$createElement('div', {\n staticClass: 'carousel__controls'\n }, this.genItems())\n },\n genIcon (direction, icon, fn) {\n if (!icon) return null\n\n return this.$createElement('div', {\n staticClass: `carousel__${direction}`\n }, [\n this.$createElement(VBtn, {\n props: {\n icon: true,\n dark: this.dark || !this.light,\n light: this.light\n },\n on: { click: fn }\n }, [this.$createElement(VIcon, icon)])\n ])\n },\n genItems () {\n return this.items.map((item, index) => {\n return this.$createElement(VBtn, {\n class: {\n 'carousel__controls__item': true,\n 'carousel__controls__item--active': index === this.inputValue\n },\n props: {\n icon: true,\n dark: this.dark || !this.light,\n light: this.light\n },\n key: index,\n on: { click: this.select.bind(this, index) }\n }, [this.$createElement(VIcon, this.icon)])\n })\n },\n restartTimeout () {\n this.slideTimeout && clearTimeout(this.slideTimeout)\n this.slideTimeout = null\n\n const raf = requestAnimationFrame || setTimeout\n raf(this.startTimeout)\n },\n init () {\n this.inputValue = this.value || 0\n },\n next () {\n this.reverse = false\n this.inputValue = (this.inputValue + 1) % this.items.length\n },\n prev () {\n this.reverse = true\n this.inputValue = (this.inputValue + this.items.length - 1) % this.items.length\n },\n select (index) {\n this.reverse = index < this.inputValue\n this.inputValue = index\n },\n startTimeout () {\n if (!this.cycle) return\n\n this.slideTimeout = setTimeout(() => this.next(), this.interval > 0 ? this.interval : 6000)\n }\n },\n\n render (h) {\n return h('div', {\n staticClass: 'carousel',\n directives: [{\n name: 'touch',\n value: {\n left: this.next,\n right: this.prev\n }\n }]\n }, [\n this.genIcon('left', this.leftControlIcon, this.prev),\n this.genIcon('right', this.rightControlIcon, this.next),\n this.hideControls ? null : this.genControls(),\n this.$slots.default\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCarousel/VCarousel.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_carousel.styl\n// module id = 93\n// module chunks = 0","export default {\n name: 'v-carousel-item',\n\n data () {\n return {\n active: false,\n reverse: false\n }\n },\n\n props: {\n src: {\n type: String,\n required: true\n },\n\n transition: {\n type: String,\n default: 'tab-transition'\n },\n\n reverseTransition: {\n type: String,\n default: 'tab-reverse-transition'\n }\n },\n\n computed: {\n computedTransition () {\n return this.reverse ? this.reverseTransition : this.transition\n },\n\n styles () {\n return {\n backgroundImage: `url(${this.src})`\n }\n }\n },\n\n methods: {\n open (id, reverse) {\n this.active = this._uid === id\n this.reverse = reverse\n }\n },\n\n render (h) {\n const item = h('div', {\n class: {\n 'carousel__item': true,\n 'reverse': this.reverse\n },\n style: this.styles,\n on: this.$listeners,\n directives: [\n {\n name: 'show',\n value: this.active\n }\n ]\n }, [this.$slots.default])\n\n return h('transition', { props: { name: this.computedTransition } }, [item])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCarousel/VCarouselItem.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_selection-controls.styl')\n\nimport VIcon from '../VIcon'\nimport { VFadeTransition } from '../transitions'\nimport Rippleable from '../../mixins/rippleable'\nimport Selectable from '../../mixins/selectable'\n\nexport default {\n name: 'v-checkbox',\n\n components: {\n VFadeTransition,\n VIcon\n },\n\n mixins: [Rippleable, Selectable],\n\n data () {\n return {\n inputIndeterminate: this.indeterminate\n }\n },\n\n props: {\n indeterminate: Boolean\n },\n\n computed: {\n classes () {\n const classes = {\n 'checkbox': true,\n 'input-group--selection-controls': true,\n 'input-group--active': this.isActive\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n icon () {\n if (this.inputIndeterminate) {\n return 'indeterminate_check_box'\n } else if (this.isActive) {\n return 'check_box'\n } else {\n return 'check_box_outline_blank'\n }\n }\n },\n\n methods: {\n groupFocus (e) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n groupBlur (e) {\n this.isFocused = false\n this.tabFocused = false\n this.$emit('blur', this.inputValue)\n }\n },\n\n render (h) {\n const transition = h('v-fade-transition', [\n h('v-icon', {\n staticClass: 'icon--selection-control',\n 'class': {\n 'icon--checkbox': this.icon === 'check_box'\n },\n key: this.icon\n }, this.icon)\n ])\n\n const data = {\n attrs: {\n tabindex: this.disabled\n ? -1\n : this.internalTabIndex || this.tabindex,\n role: 'checkbox',\n 'aria-checked': this.inputIndeterminate && 'mixed' || this.isActive && 'true' || 'false',\n 'aria-label': this.label\n }\n }\n\n return this.genInputGroup([transition, this.genRipple()], data)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCheckbox/VCheckbox.js","import { addOnceEventListener } from '../../util/helpers'\n\nexport default {\n enter (el, done) {\n // Remove initial transition\n el.style.transition = 'none'\n addOnceEventListener(el, 'transitionend', done)\n\n // Get height that is to be scrolled\n el.style.overflow = 'hidden'\n el.style.height = null\n el.style.display = 'block'\n const height = `${el.clientHeight}px`\n el.style.height = 0\n el.style.transition = null\n\n setTimeout(() => (el.style.height = height), 100)\n },\n\n afterEnter (el) {\n el.style.height = 'auto'\n el.style.overflow = null\n },\n\n leave (el, done) {\n addOnceEventListener(el, 'transitionend', done)\n\n // Set height before we transition to 0\n el.style.overflow = 'hidden'\n el.style.height = `${el.clientHeight}px`\n\n setTimeout(() => (el.style.height = 0), 100)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/transitions/expand-transition.js","export default {\n data () {\n return {\n errorBucket: [],\n hasFocused: false,\n hasInput: false,\n shouldValidate: false,\n valid: false\n }\n },\n\n props: {\n error: {\n type: Boolean\n },\n errorMessages: {\n type: [String, Array],\n default: () => []\n },\n rules: {\n type: Array,\n default: () => []\n },\n validateOnBlur: Boolean\n },\n\n computed: {\n validations () {\n if (!Array.isArray(this.errorMessages)) {\n return [this.errorMessages]\n } else if (this.errorMessages.length > 0) {\n return this.errorMessages\n } else if (this.shouldValidate) {\n return this.errorBucket\n } else {\n return []\n }\n },\n hasError () {\n return this.validations.length > 0 ||\n this.errorMessages.length > 0 ||\n this.error\n }\n },\n\n watch: {\n rules: {\n handler (newVal, oldVal) {\n // TODO: This handler seems to trigger when input changes, even though\n // rules array stays the same? Solved it like this for now\n if (newVal.length === oldVal.length) return\n\n this.validate()\n },\n deep: true\n },\n inputValue (val) {\n // If it's the first time we're setting input,\n // mark it with hasInput\n if (!!val && !this.hasInput) this.hasInput = true\n\n if (this.hasInput && !this.validateOnBlur) this.shouldValidate = true\n },\n isFocused (val) {\n // If we're not focused, and it's the first time\n // we're defocusing, set shouldValidate to true\n if (!val && !this.hasFocused) {\n this.hasFocused = true\n this.shouldValidate = true\n\n this.$emit('update:error', this.errorBucket.length > 0)\n }\n },\n hasError (val) {\n if (this.shouldValidate) {\n this.$emit('update:error', val)\n }\n },\n error (val) {\n this.shouldValidate = !!val\n }\n },\n\n mounted () {\n this.shouldValidate = !!this.error\n this.validate()\n },\n\n methods: {\n reset () {\n // TODO: Do this another way!\n // This is so that we can reset all types of inputs\n this.$emit('input', this.isMultiple ? [] : null)\n this.$emit('change', null)\n\n this.$nextTick(() => {\n this.shouldValidate = false\n this.hasFocused = false\n this.validate()\n })\n },\n validate (force = false, value) {\n if (force) this.shouldValidate = true\n\n this.errorBucket = []\n\n this.rules.forEach(rule => {\n const valid = typeof rule === 'function'\n ? rule(typeof value !== 'undefined' ? value : this.inputValue)\n : rule\n\n if (valid !== true && !['string', 'boolean'].includes(typeof valid)) {\n throw new TypeError(`Rules should return a string or boolean, received '${typeof valid}' instead`)\n }\n\n if (valid !== true) {\n this.errorBucket.push(valid)\n }\n })\n\n this.valid = this.errorBucket.length === 0\n\n return this.valid\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/validatable.js","import VChip from './VChip'\n\nVChip.install = function install (Vue) {\n Vue.component(VChip.name, VChip)\n}\n\nexport default VChip\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VChip/index.js","require('../../stylus/components/_chips.styl')\n\nimport VIcon from '../VIcon'\nimport Themeable from '../../mixins/themeable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-chip',\n\n components: {\n VIcon\n },\n\n mixins: [Themeable, Toggleable],\n\n props: {\n close: Boolean,\n disabled: Boolean,\n label: Boolean,\n outline: Boolean,\n // Used for selects/tagging\n selected: Boolean,\n small: Boolean,\n value: {\n type: Boolean,\n default: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'chip': true,\n 'chip--disabled': this.disabled,\n 'chip--selected': this.selected,\n 'chip--label': this.label,\n 'chip--outline': this.outline,\n 'chip--small': this.small,\n 'chip--removable': this.close,\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n }\n },\n\n render (h) {\n const children = [this.$slots.default]\n const data = {\n 'class': this.classes,\n attrs: { tabindex: this.disabled ? -1 : 0 },\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n on: this.$listeners\n }\n\n if (this.close) {\n const data = {\n staticClass: 'chip__close',\n on: {\n click: e => {\n e.stopPropagation()\n\n this.$emit('input', false)\n }\n }\n }\n\n children.push(h('div', data, [\n h(VIcon, { props: { right: true } }, 'cancel')\n ]))\n }\n\n return h('span', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VChip/VChip.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_chips.styl\n// module id = 100\n// module chunks = 0","import {\n createSimpleFunctional\n} from '../../util/helpers'\n\nimport VDataTable from './VDataTable'\nimport VEditDialog from './VEditDialog'\n\nVDataTable.install = function install (Vue) {\n const VTableOverflow = createSimpleFunctional('table__overflow')\n\n Vue.component(VDataTable.name, VDataTable)\n Vue.component(VEditDialog.name, VEditDialog)\n Vue.component('v-table-overflow', VTableOverflow)\n}\n\nexport default VDataTable\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/index.js","require('../../stylus/components/_tables.styl')\nrequire('../../stylus/components/_data-table.styl')\n\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\nimport VProgressLinear from '../VProgressLinear'\nimport VSelect from '../VSelect'\n\nimport Filterable from '../../mixins/filterable'\nimport Themeable from '../../mixins/themeable'\nimport Loadable from '../../mixins/loadable'\nimport Head from './mixins/head'\nimport Body from './mixins/body'\nimport Foot from './mixins/foot'\nimport Progress from './mixins/progress'\n\nimport {\n createSimpleFunctional,\n getObjectValueByPath\n} from '../../util/helpers'\n\nexport default {\n name: 'v-data-table',\n\n components: {\n VBtn,\n VIcon,\n VProgressLinear,\n VSelect,\n // Importing does not work properly\n 'v-table-overflow': createSimpleFunctional('table__overflow')\n },\n\n data () {\n return {\n all: false,\n searchLength: 0,\n defaultPagination: {\n descending: false,\n page: 1,\n rowsPerPage: 5,\n sortBy: null,\n totalItems: 0\n },\n expanded: {}\n }\n },\n\n mixins: [Head, Body, Filterable, Foot, Loadable, Progress, Themeable],\n\n props: {\n expand: {\n type: Boolean\n },\n headers: {\n type: Array,\n default: () => []\n },\n headerText: {\n type: String,\n default: 'text'\n },\n hideActions: Boolean,\n mustSort: Boolean,\n noResultsText: {\n type: String,\n default: 'No matching records found'\n },\n rowsPerPageItems: {\n type: Array,\n default () {\n return [\n 5,\n 10,\n 25,\n { text: 'All', value: -1 }\n ]\n }\n },\n rowsPerPageText: {\n type: String,\n default: 'Rows per page:'\n },\n selectAll: [Boolean, String],\n search: {\n required: false\n },\n filter: {\n type: Function,\n default: (val, search) => {\n return val !== null &&\n ['undefined', 'boolean'].indexOf(typeof val) === -1 &&\n val.toString().toLowerCase().indexOf(search) !== -1\n }\n },\n customFilter: {\n type: Function,\n default: (items, search, filter) => {\n search = search.toString().toLowerCase()\n return items.filter(i => (\n Object.keys(i).some(j => filter(i[j], search))\n ))\n }\n },\n customSort: {\n type: Function,\n default: (items, index, isDescending) => {\n if (index === null) return items\n\n return items.sort((a, b) => {\n let sortA = getObjectValueByPath(a, index)\n let sortB = getObjectValueByPath(b, index)\n\n if (isDescending) {\n [sortA, sortB] = [sortB, sortA]\n }\n\n // Check if both are numbers\n if (!isNaN(sortA) && !isNaN(sortB)) {\n return sortA - sortB\n }\n\n // Check if both cannot be evaluated\n if (sortA === null && sortB === null) {\n return 0\n }\n\n [sortA, sortB] = [sortA, sortB]\n .map(s => (\n (s || '').toString().toLocaleLowerCase()\n ))\n\n if (sortA > sortB) return 1\n if (sortA < sortB) return -1\n\n return 0\n })\n }\n },\n value: {\n type: Array,\n default: () => []\n },\n items: {\n type: Array,\n required: true,\n default: () => []\n },\n totalItems: {\n type: Number,\n default: null\n },\n itemKey: {\n type: String,\n default: 'id'\n },\n pagination: {\n type: Object,\n default: () => {}\n }\n },\n\n computed: {\n classes () {\n return {\n 'datatable table': true,\n 'datatable--select-all': this.selectAll !== false,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n computedPagination () {\n return this.hasPagination\n ? this.pagination\n : this.defaultPagination\n },\n hasPagination () {\n const pagination = this.pagination || {}\n\n return Object.keys(pagination).length > 0\n },\n hasSelectAll () {\n return this.selectAll !== undefined && this.selectAll !== false\n },\n itemsLength () {\n if (this.search) return this.searchLength\n return this.totalItems || this.items.length\n },\n indeterminate () {\n return this.hasSelectAll && this.someItems && !this.everyItem\n },\n everyItem () {\n return this.filteredItems.length &&\n this.filteredItems.every(i => this.isSelected(i))\n },\n someItems () {\n return this.filteredItems.some(i => this.isSelected(i))\n },\n getPage () {\n const { rowsPerPage } = this.computedPagination\n\n return rowsPerPage === Object(rowsPerPage)\n ? rowsPerPage.value\n : rowsPerPage\n },\n pageStart () {\n return this.getPage === -1\n ? 0\n : (this.computedPagination.page - 1) * this.getPage\n },\n pageStop () {\n return this.getPage === -1\n ? this.itemsLength\n : this.computedPagination.page * this.getPage\n },\n filteredItems () {\n if (this.totalItems) return this.items\n\n let items = this.items.slice()\n const hasSearch = typeof this.search !== 'undefined' &&\n this.search !== null\n\n if (hasSearch) {\n items = this.customFilter(items, this.search, this.filter)\n this.searchLength = items.length\n }\n\n items = this.customSort(\n items,\n this.computedPagination.sortBy,\n this.computedPagination.descending\n )\n\n return this.hideActions &&\n !this.hasPagination\n ? items\n : items.slice(this.pageStart, this.pageStop)\n },\n selected () {\n const selected = {}\n this.value.forEach(i => (selected[i[this.itemKey]] = true))\n return selected\n }\n },\n\n watch: {\n indeterminate (val) {\n if (val) this.all = true\n },\n someItems (val) {\n if (!val) this.all = false\n },\n search () {\n this.updatePagination({ page: 1, totalItems: this.itemsLength })\n },\n everyItem (val) {\n if (val) this.all = true\n }\n },\n\n methods: {\n updatePagination (val) {\n const pagination = this.hasPagination\n ? this.pagination\n : this.defaultPagination\n const updatedPagination = Object.assign({}, pagination, val)\n this.$emit('update:pagination', updatedPagination)\n\n if (!this.hasPagination) {\n this.defaultPagination = updatedPagination\n }\n },\n isSelected (item) {\n return this.selected[item[this.itemKey]]\n },\n isExpanded (item) {\n return this.expanded[item[this.itemKey]]\n },\n sort (index) {\n const { sortBy, descending } = this.computedPagination\n if (sortBy === null) {\n this.updatePagination({ sortBy: index, descending: false })\n } else if (sortBy === index && !descending) {\n this.updatePagination({ descending: true })\n } else if (sortBy !== index) {\n this.updatePagination({ sortBy: index, descending: false })\n } else if (!this.mustSort) {\n this.updatePagination({ sortBy: null, descending: null })\n } else {\n this.updatePagination({ sortBy: index, descending: false })\n }\n },\n needsTR (row) {\n return row.length && row.find(c => c.tag === 'td')\n },\n genTR (children, data = {}) {\n return this.$createElement('tr', data, children)\n },\n toggle (value) {\n const selected = Object.assign({}, this.selected)\n this.filteredItems.forEach(i => (\n selected[i[this.itemKey]] = value)\n )\n\n this.$emit('input', this.items.filter(i => (\n selected[i[this.itemKey]]))\n )\n }\n },\n\n created () {\n const firstSortable = this.headers.find(h => (\n !('sortable' in h) || h.sortable)\n )\n\n this.defaultPagination.sortBy = firstSortable\n ? firstSortable.value\n : null\n\n if (!this.rowsPerPageItems.length) {\n console.warn('The prop \\'rows-per-page-items\\' in v-data-table can not be empty.')\n } else {\n this.defaultPagination.rowsPerPage = this.rowsPerPageItems[0]\n }\n\n this.defaultPagination.totalItems = this.itemsLength\n\n this.updatePagination(\n Object.assign({}, this.defaultPagination, this.pagination)\n )\n },\n\n render (h) {\n return h('v-table-overflow', {}, [\n h('table', {\n 'class': this.classes\n }, [\n this.genTHead(),\n this.genTProgress(),\n this.genTBody(),\n this.genTFoot()\n ])\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/VDataTable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_tables.styl\n// module id = 103\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_data-table.styl\n// module id = 104\n// module chunks = 0","require('../../stylus/components/_progress-linear.styl')\n\nimport Colorable from '../../mixins/colorable'\n\nimport {\n VFadeTransition,\n VSlideXTransition\n} from '../transitions'\n\nexport default {\n name: 'v-progress-linear',\n\n components: {\n VFadeTransition,\n VSlideXTransition\n },\n\n mixins: [Colorable],\n\n props: {\n active: {\n type: Boolean,\n default: true\n },\n backgroundColor: {\n type: String,\n default: null\n },\n backgroundOpacity: {\n type: [Number, String],\n default: null\n },\n bufferValue: {\n type: [Number, String],\n default: 100\n },\n color: {\n type: String,\n default: 'primary'\n },\n height: {\n type: [Number, String],\n default: 7\n },\n indeterminate: Boolean,\n query: Boolean,\n value: {\n type: [Number, String],\n default: 0\n }\n },\n\n computed: {\n styles () {\n const styles = {}\n\n if (!this.active) {\n styles.height = 0\n }\n\n if (!this.indeterminate && parseInt(this.bufferValue, 10) !== 100) {\n styles.width = `${this.bufferValue}%`\n }\n\n return styles\n },\n effectiveWidth () {\n if (!this.bufferValue) {\n return 0\n }\n\n return this.value * 100 / this.bufferValue\n },\n bufferStyles () {\n const styles = {}\n\n if (!this.active) {\n styles.height = 0\n }\n\n return styles\n },\n backgroundStyle () {\n const backgroundOpacity = this.backgroundOpacity == null\n ? (this.backgroundColor ? 1 : 0.3)\n : parseFloat(this.backgroundOpacity)\n\n return {\n height: this.active ? 'auto' : 0,\n opacity: backgroundOpacity,\n width: `${this.bufferValue}%`\n }\n }\n },\n\n methods: {\n genDeterminate (h) {\n return h('div', {\n ref: 'front',\n staticClass: `progress-linear__bar__determinate`,\n class: {\n [this.color]: true\n },\n style: {\n width: `${this.effectiveWidth}%`\n }\n })\n },\n genBar (h, name) {\n return h('div', {\n staticClass: 'progress-linear__bar__indeterminate',\n class: {\n [name]: true,\n [this.color]: true\n }\n })\n },\n genIndeterminate (h) {\n return h('div', {\n ref: 'front',\n staticClass: 'progress-linear__bar__indeterminate',\n class: {\n 'progress-linear__bar__indeterminate--active': this.active\n }\n }, [\n this.genBar(h, 'long'),\n this.genBar(h, 'short')\n ])\n }\n },\n\n render (h) {\n const fade = h('v-fade-transition', [this.indeterminate && this.genIndeterminate(h)])\n const slide = h('v-slide-x-transition', [!this.indeterminate && this.genDeterminate(h)])\n\n const bar = h('div', {\n staticClass: 'progress-linear__bar',\n style: this.styles\n }, [fade, slide])\n const background = h('div', {\n staticClass: 'progress-linear__background',\n class: [this.backgroundColor || this.color],\n style: this.backgroundStyle\n })\n\n return h('div', {\n staticClass: 'progress-linear',\n class: {\n 'progress-linear--query': this.query\n },\n style: {\n height: `${this.height}px`\n },\n on: this.$listeners\n }, [\n background,\n bar\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressLinear/VProgressLinear.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_progress-linear.styl\n// module id = 106\n// module chunks = 0","require('../../stylus/components/_text-fields.styl')\nrequire('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_select.styl')\n\n// Components\nimport VCard from '../VCard'\nimport VCheckbox from '../VCheckbox'\nimport {\n VList,\n VListTile,\n VListTileAction,\n VListTileContent,\n VListTileTitle\n} from '../VList'\nimport VMenu from '../VMenu'\nimport VBtn from '../VBtn'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Dependent from '../../mixins/dependent'\nimport Filterable from '../../mixins/filterable'\nimport Input from '../../mixins/input'\nimport Maskable from '../../mixins/maskable'\n\n// Component level mixins\nimport Autocomplete from './mixins/select-autocomplete'\nimport Generators from './mixins/select-generators'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport { getObjectValueByPath } from '../../util/helpers'\n\nexport default {\n name: 'v-select',\n\n inheritAttrs: false,\n\n components: {\n VCard,\n VCheckbox,\n VList,\n VListTile,\n VListTileAction,\n VListTileContent,\n VListTileTitle,\n VMenu,\n VBtn\n },\n\n directives: {\n ClickOutside\n },\n\n mixins: [Autocomplete, Colorable, Dependent, Filterable, Generators, Input, Maskable],\n\n data () {\n return {\n cachedItems: [],\n content: {},\n inputValue: (this.multiple || this.tags) && !this.value ? [] : this.value,\n isBooted: false,\n lastItem: 20,\n lazySearch: null,\n isActive: false,\n menuIsActive: false,\n searchTimeout: null,\n selectedIndex: -1,\n selectedItems: [],\n shouldBreak: false\n }\n },\n\n props: {\n appendIcon: {\n type: String,\n default: 'arrow_drop_down'\n },\n appendIconCb: Function,\n auto: Boolean,\n autocomplete: Boolean,\n bottom: Boolean,\n cacheItems: Boolean,\n chips: Boolean,\n clearable: Boolean,\n close: Boolean,\n color: {\n type: String,\n default: 'primary'\n },\n debounceSearch: {\n type: [Number, String],\n default: 200\n },\n browserAutocomplete: {\n type: String,\n default: 'on'\n },\n items: {\n type: Array,\n default: () => []\n },\n itemAvatar: {\n type: String,\n default: 'avatar'\n },\n itemText: {\n type: String,\n default: 'text'\n },\n itemValue: {\n type: String,\n default: 'value'\n },\n itemDisabled: {\n type: String,\n default: 'disabled'\n },\n maxHeight: {\n type: [Number, String],\n default: 300\n },\n minWidth: {\n type: [Boolean, Number, String],\n default: false\n },\n multiple: Boolean,\n multiLine: Boolean,\n offset: Boolean,\n solo: Boolean,\n searchInput: {\n default: null\n },\n singleLine: Boolean,\n tags: Boolean,\n top: Boolean,\n returnObject: Boolean,\n overflow: Boolean,\n segmented: Boolean,\n editable: Boolean\n },\n\n computed: {\n classes () {\n const classes = {\n 'input-group--text-field input-group--select': true,\n 'input-group--auto': this.auto,\n 'input-group--overflow': this.overflow,\n 'input-group--segmented': this.segmented,\n 'input-group--editable': this.editable,\n 'input-group--autocomplete': this.isAutocomplete,\n 'input-group--single-line': this.singleLine || this.isDropdown,\n 'input-group--multi-line': this.multiLine,\n 'input-group--chips': this.chips,\n 'input-group--solo': this.solo,\n 'input-group--multiple': this.multiple\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n computedContentClass () {\n const children = [\n 'menu__content--select',\n this.auto ? 'menu__content--auto' : '',\n this.isDropdown ? 'menu__content--dropdown' : '',\n this.isAutocomplete ? 'menu__content--autocomplete' : ''\n ]\n\n return children.join(' ')\n },\n computedItems () {\n return this.filterDuplicates(this.cachedItems.concat(this.items))\n },\n filteredItems () {\n // If we are not actively filtering\n // Show all available items\n const items = this.isNotFiltering\n ? this.computedItems\n : this.filterSearch()\n\n return !this.auto ? items.slice(0, this.lastItem) : items\n },\n hideSelections () {\n return this.isAutocomplete &&\n !this.isMultiple &&\n this.isFocused &&\n this.isDirty &&\n !this.chips\n },\n isNotFiltering () {\n return this.isAutocomplete &&\n this.isDirty &&\n this.searchValue === this.getText(this.selectedItem)\n },\n isAutocomplete () {\n return this.autocomplete || this.editable || this.tags\n },\n isDirty () {\n return this.selectedItems.length > 0\n },\n isDropdown () {\n return this.segmented || this.overflow || this.editable || this.solo\n },\n isMultiple () {\n return this.multiple || this.tags\n },\n searchValue: {\n get () { return this.lazySearch },\n set (val) {\n if (!this.isAutocomplete ||\n this.selectedIndex > -1\n ) return\n\n this.lazySearch = val\n\n clearTimeout(this.searchTimeout)\n\n this.searchTimeout = setTimeout(() => {\n this.$emit('update:searchInput', val)\n }, this.debounceSearch)\n }\n },\n selectedItem () {\n if (this.isMultiple) return null\n\n return this.selectedItems.find(i => (\n this.getValue(i) === this.getValue(this.inputValue)\n )) || null\n }\n },\n\n watch: {\n inputValue (val) {\n // Populate selected items\n this.genSelectedItems(val)\n\n this.$emit('input', val)\n },\n isActive (val) {\n if (!val) {\n this.searchValue = null\n this.menuIsActive = false\n this.isFocused = false\n this.selectedIndex = -1\n } else {\n this.searchValue = this.getText(this.selectedItem)\n }\n\n // this.lastItem += !val ? 20 : 0\n },\n isBooted () {\n this.$nextTick(() => {\n if (this.content instanceof EventTarget) {\n this.content.addEventListener('scroll', this.onScroll, false)\n }\n })\n },\n isFocused (val) {\n // Always ensure caret is\n // in correct position\n if (this.isAutocomplete &&\n !this.mask &&\n !this.isMultiple\n ) {\n const len = (this.selectedItem || '').length\n\n requestAnimationFrame(() => {\n this.$refs.input.setSelectionRange(len, len)\n })\n }\n },\n items (val) {\n if (this.cacheItems) {\n this.cachedItems = this.filterDuplicates(this.cachedItems.concat(val))\n }\n\n this.$refs.menu.listIndex = -1\n\n this.searchValue && this.$nextTick(() => {\n this.$refs.menu && (this.$refs.menu.listIndex = 0)\n })\n\n this.genSelectedItems()\n },\n menuIsActive (val) {\n if (!val) return\n\n this.isBooted = true\n this.isActive = true\n },\n isMultiple (val) {\n this.inputValue = val ? [] : null\n },\n searchInput (val) {\n this.searchValue = val\n },\n searchValue (val) {\n // Wrap input to next line if overflowing\n if (this.$refs.input.scrollWidth > this.$refs.input.clientWidth) {\n this.shouldBreak = true\n this.$nextTick(this.$refs.menu.updateDimensions)\n } else if (val === null) {\n this.shouldBreak = false\n }\n\n // Activate menu if inactive and searching\n if (this.isActive &&\n !this.menuIsActive &&\n val !== this.getValue(this.selectedItem)\n ) {\n this.menuIsActive = true\n }\n\n this.$refs.menu.listIndex = null\n\n this.$nextTick(() => {\n this.$refs.menu && (this.$refs.menu.listIndex = val ? 0 : -1)\n })\n },\n selectedItems () {\n clearTimeout(this.searchTimeout)\n\n if (this.isAutocomplete) {\n this.$nextTick(this.$refs.menu.updateDimensions)\n }\n },\n value (val) {\n this.inputValue = val\n this.validate()\n }\n },\n\n created () {\n if (this.tags) this.selectedItems = this.inputValue\n },\n\n mounted () {\n this.$vuetify.load(() => {\n if (this._isDestroyed) return\n\n this.content = this.$refs.menu.$refs.content\n this.genSelectedItems()\n })\n },\n\n beforeDestroy () {\n if (this.isBooted) {\n if (this.content) {\n this.content.removeEventListener('scroll', this.onScroll, false)\n }\n }\n },\n\n methods: {\n blur () {\n this.$emit('blur')\n if (this.isAutocomplete && this.$refs.input) this.$refs.input.blur()\n this.$nextTick(() => (this.isActive = false))\n },\n changeSelectedIndex (keyCode) {\n if (keyCode === 32 ||\n ![8, 37, 39, 46].includes(keyCode)\n ) return\n\n const indexes = this.selectedItems.length - 1\n\n if (keyCode === 37) {\n this.selectedIndex = this.selectedIndex === -1\n ? indexes\n : this.selectedIndex - 1\n } else if (keyCode === 39) {\n this.selectedIndex = this.selectedIndex >= indexes\n ? -1\n : this.selectedIndex + 1\n } else if (this.selectedIndex === -1) {\n this.selectedIndex = indexes\n return\n }\n\n if (![8, 46].includes(keyCode)) return\n const newIndex = this.selectedIndex === indexes\n ? this.selectedIndex - 1\n : this.selectedItems[this.selectedIndex + 1]\n ? this.selectedIndex\n : -1\n\n this.selectItem(this.selectedItems[this.selectedIndex])\n this.selectedIndex = newIndex\n },\n compareObjects (a, b) {\n const aProps = Object.keys(a)\n const bProps = Object.keys(b)\n\n if (aProps.length !== bProps.length) return false\n\n for (let i = 0, length = aProps.length; i < length; i++) {\n const propName = aProps[i]\n\n if (a[propName] !== b[propName]) return false\n }\n\n return true\n },\n filterDuplicates (arr) {\n const val = this.returnObject ? this.getValue : el => el\n return arr.filter((el, i, self) => i === self.findIndex(e => val(e) === val(el)))\n },\n focus () {\n this.isActive = true\n this.isFocused = true\n\n if (this.$refs.input && this.isAutocomplete) {\n this.$refs.input.focus()\n } else {\n this.$el.focus()\n }\n\n this.$emit('focus')\n },\n genDirectives () {\n return [{\n name: 'click-outside',\n value: {\n callback: () => (this.isActive = false),\n include: () => this.closeDependents ? this.getOpenDependentElements() : []\n }\n }]\n },\n genListeners () {\n const listeners = Object.assign({}, this.$listeners)\n delete listeners.input\n\n return {\n ...listeners,\n click: () => {\n if (this.disabled || this.readonly) return\n this.showMenuItems()\n this.selectedIndex = -1\n },\n focus: () => {\n if (this.disabled || this.readonly) return\n\n !this.isFocused && this.focus()\n },\n keydown: this.onKeyDown // Located in mixins/select-autocomplete.js\n }\n },\n genLabel () {\n const singleLine = this.singleLine || this.isDropdown\n if (singleLine && this.isDirty ||\n singleLine && this.isFocused && this.searchValue\n ) return null\n\n const data = {}\n\n if (this.id) data.attrs = { for: this.id }\n\n return this.$createElement('label', data, this.$slots.label || this.label)\n },\n getPropertyFromItem (item, field) {\n if (item !== Object(item)) return item\n\n const value = getObjectValueByPath(item, field)\n\n return typeof value === 'undefined' ? item : value\n },\n genSelectedItems (val = this.inputValue) {\n // If we are using tags, don't filter results\n if (this.tags) return (this.selectedItems = val)\n\n let selectedItems = this.computedItems.filter(i => {\n if (!this.isMultiple) {\n return this.getValue(i) === this.getValue(val)\n } else {\n // Always return Boolean\n return val.find((j) => {\n const a = this.getValue(j)\n const b = this.getValue(i)\n\n if (a !== Object(a)) return a === b\n\n return this.compareObjects(a, b)\n }) !== undefined\n }\n })\n\n if (!selectedItems.length &&\n val != null &&\n this.tags\n ) {\n selectedItems = Array.isArray(val) ? val : [val]\n }\n\n this.selectedItems = selectedItems\n },\n getText (item) {\n return this.getPropertyFromItem(item, this.itemText)\n },\n getValue (item) {\n return this.getPropertyFromItem(item, this.itemValue)\n },\n clearableCallback () {\n const inputValue = this.isMultiple ? [] : null\n\n this.inputValue = inputValue\n this.searchValue = null\n this.$emit('change', inputValue)\n this.genSelectedItems()\n this.showMenu()\n },\n showMenu () {\n this.showMenuItems()\n this.isAutocomplete && this.focus()\n },\n onScroll () {\n if (!this.isActive) {\n requestAnimationFrame(() => (this.content.scrollTop = 0))\n } else {\n const showMoreItems = (\n this.content.scrollHeight -\n (this.content.scrollTop +\n this.content.clientHeight)\n ) < 200\n\n if (showMoreItems) {\n this.lastItem += 20\n }\n }\n },\n selectItem (item) {\n if (!this.isMultiple) {\n this.inputValue = this.returnObject ? item : this.getValue(item)\n this.selectedItems = [item]\n } else {\n const selectedItems = []\n const inputValue = this.inputValue.slice()\n const i = this.inputValue.findIndex((i) => {\n const a = this.getValue(i)\n const b = this.getValue(item)\n\n if (a !== Object(a)) return a === b\n\n return this.compareObjects(a, b)\n })\n\n i !== -1 && inputValue.splice(i, 1) || inputValue.push(item)\n this.inputValue = inputValue.map((i) => {\n selectedItems.push(i)\n return this.returnObject ? i : this.getValue(i)\n })\n\n this.selectedItems = selectedItems\n }\n\n this.searchValue = !this.isMultiple || this.chips\n ? this.getText(this.selectedItem)\n : ''\n\n this.$emit('change', this.inputValue)\n\n // List tile will re-render, reset index to\n // maintain highlighting\n const savedIndex = this.$refs.menu.listIndex\n this.$refs.menu.listIndex = -1\n\n this.$nextTick(() => {\n if (this.isAutocomplete &&\n this.$refs.input\n ) this.$refs.input.focus()\n else this.$el.focus()\n this.$refs.menu && (this.$refs.menu.listIndex = savedIndex)\n })\n },\n showMenuItems () {\n this.isActive = true\n this.menuIsActive = true\n }\n },\n\n render (h) {\n const data = {\n attrs: {\n tabindex: this.isAutocomplete || this.disabled ? -1 : this.tabindex,\n ...(this.isAutocomplete ? null : this.$attrs),\n role: this.isAutocomplete ? null : 'combobox'\n }\n }\n\n if (!this.isAutocomplete) {\n data.on = this.genListeners()\n data.directives = this.genDirectives()\n } else {\n data.on = {\n click: () => {\n if (this.disabled || this.readonly) return\n\n // Workaround for clicking select\n // when using autocomplete\n // and click doesn't target the input\n setTimeout(() => {\n if (this.menuIsActive) return\n\n this.focus()\n this.menuIsActive = true\n }, 100)\n }\n }\n }\n\n return this.genInputGroup([\n this.genSelectionsAndSearch(),\n this.genMenu()\n ], data, () => this.showMenu())\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/VSelect.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_select.styl\n// module id = 108\n// module chunks = 0","require('../../stylus/components/_lists.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-list',\n\n provide () {\n return {\n listClick: this.listClick,\n listClose: this.listClose\n }\n },\n\n mixins: [Themeable],\n\n data () {\n return {\n uid: null,\n groups: []\n }\n },\n\n props: {\n dense: Boolean,\n subheader: Boolean,\n threeLine: Boolean,\n twoLine: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'list': true,\n 'list--two-line': this.twoLine,\n 'list--dense': this.dense,\n 'list--three-line': this.threeLine,\n 'list--subheader': this.subheader,\n 'theme--dark dark--bg': this.dark,\n 'theme--light light--bg': this.light\n }\n }\n },\n\n watch: {\n uid () {\n this.$children.filter(i => i.$options._componentTag === 'v-list-group').forEach(i => i.toggle(this.uid))\n }\n },\n\n methods: {\n listClick (uid, force) {\n if (force) {\n this.uid = uid\n } else {\n this.uid = this.uid === uid ? null : uid\n }\n },\n\n listClose (uid) {\n if (this.uid === uid) {\n this.uid = null\n }\n }\n },\n\n render (h) {\n const data = {\n 'class': this.classes,\n attrs: { 'data-uid': this._uid }\n }\n\n return h('ul', data, [this.$slots.default])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VList.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_lists.styl\n// module id = 110\n// module chunks = 0","import { VExpandTransition } from '../transitions'\n\nimport Bootable from '../../mixins/bootable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-list-group',\n\n inject: ['listClick', 'listClose'],\n\n mixins: [Bootable, Toggleable],\n\n props: {\n group: String,\n noAction: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'list--group__header': true,\n 'list--group__header--active': this.isActive,\n 'list--group__header--no-action': this.noAction\n }\n }\n },\n\n watch: {\n isActive () {\n this.isBooted = true\n\n if (!this.isActive) {\n this.listClose(this._uid)\n }\n },\n $route (to) {\n const isActive = this.matchRoute(to.path)\n\n if (this.group) {\n if (isActive && this.isActive !== isActive) {\n this.listClick(this._uid)\n }\n this.isActive = isActive\n }\n }\n },\n\n mounted () {\n this.isBooted = this.isActive\n\n if (this.group) {\n this.isActive = this.matchRoute(this.$route.path)\n }\n\n if (this.isActive) {\n this.listClick(this._uid)\n }\n },\n\n methods: {\n click () {\n if (!this.$refs.item.querySelector('.list__tile--disabled')) {\n requestAnimationFrame(() => this.listClick(this._uid))\n }\n },\n toggle (uid) {\n this.isActive = this._uid === uid\n },\n matchRoute (to) {\n if (!this.group) return false\n return to.match(this.group) !== null\n }\n },\n\n render (h) {\n const group = h('ul', {\n 'class': 'list list--group',\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n ref: 'group'\n }, this.showLazyContent(this.$slots.default))\n\n const item = h('div', {\n 'class': this.classes,\n on: Object.assign({}, { click: this.click }, this.$listeners),\n ref: 'item'\n }, [this.$slots.item])\n\n const transition = h(VExpandTransition, [group])\n\n return h('div', { 'class': 'list--group__container' }, [item, transition])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VListGroup.js","import Routable from '../../mixins/routable'\nimport Toggleable from '../../mixins/toggleable'\nimport Ripple from '../../directives/ripple'\n\nexport default {\n name: 'v-list-tile',\n\n mixins: [Routable, Toggleable],\n\n directives: {\n Ripple\n },\n\n inheritAttrs: false,\n\n props: {\n activeClass: {\n type: String,\n default: 'list__tile--active'\n },\n active: {\n type: Boolean,\n default: true\n },\n avatar: Boolean,\n tag: String\n },\n\n computed: {\n classes () {\n return {\n 'list__tile': true,\n 'list__tile--link': this.isLink && this.active,\n 'list__tile--avatar': this.avatar,\n 'list__tile--disabled': this.disabled,\n [this.activeClass]: this.isActive\n }\n },\n isLink () {\n return this.href || this.to ||\n (this.$listeners && (this.$listeners.click || this.$listeners['!click']))\n }\n },\n\n render (h) {\n const isRouteLink = this.active && this.isLink\n const { tag, data } = isRouteLink ? this.generateRouteLink() : {\n tag: this.tag || 'div',\n data: {\n class: this.classes\n }\n }\n\n data.attrs = Object.assign({}, data.attrs, this.$attrs)\n\n return h('li', {\n attrs: {\n disabled: this.disabled\n },\n on: {\n ...this.$listeners\n }\n }, [h(tag, data, this.$slots.default)])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VListTile.js","export default {\n functional: true,\n\n name: 'v-list-tile-action',\n\n render (h, { data, children }) {\n data.staticClass = data.staticClass ? `list__tile__action ${data.staticClass || ''}` : 'list__tile__action'\n if ((children || []).length > 1) data.staticClass += ' list__tile__action--stack'\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VListTileAction.js","require('../../stylus/components/_menus.styl')\n\n// Mixins\nimport Delayable from '../../mixins/delayable'\nimport Dependent from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable.js'\nimport Toggleable from '../../mixins/toggleable'\n\n// Component level mixins\nimport Activator from './mixins/menu-activator'\nimport Generators from './mixins/menu-generators'\nimport Keyable from './mixins/menu-keyable'\nimport Position from './mixins/menu-position'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-menu',\n\n mixins: [\n Activator,\n Dependent,\n Delayable,\n Detachable,\n Generators,\n Keyable,\n Menuable,\n Position,\n Toggleable\n ],\n\n directives: {\n ClickOutside,\n Resize\n },\n\n data () {\n return {\n defaultOffset: 8,\n maxHeightAutoDefault: '200px',\n startIndex: 3,\n stopIndex: 0,\n hasJustFocused: false,\n resizeTimeout: null\n }\n },\n\n props: {\n auto: Boolean,\n closeOnClick: {\n type: Boolean,\n default: true\n },\n closeOnContentClick: {\n type: Boolean,\n default: true\n },\n disabled: Boolean,\n fullWidth: Boolean,\n maxHeight: { default: 'auto' },\n offsetX: Boolean,\n offsetY: Boolean,\n openOnClick: {\n type: Boolean,\n default: true\n },\n openOnHover: Boolean,\n origin: {\n type: String,\n default: 'top left'\n },\n transition: {\n type: [Boolean, String],\n default: 'menu-transition'\n }\n },\n\n computed: {\n calculatedLeft () {\n let left = this.calcLeft\n if (this.auto) left = this.calcLeftAuto\n\n return `${this.calcXOverflow(left())}px`\n },\n calculatedMaxHeight () {\n return this.auto\n ? '200px'\n : isNaN(this.maxHeight)\n ? this.maxHeight\n : `${this.maxHeight}px`\n },\n calculatedMaxWidth () {\n return isNaN(this.maxWidth)\n ? this.maxWidth\n : `${this.maxWidth}px`\n },\n calculatedMinWidth () {\n if (this.minWidth) {\n return isNaN(this.minWidth)\n ? this.minWidth\n : `${this.minWidth}px`\n }\n\n const minWidth = (\n this.dimensions.activator.width +\n this.nudgeWidth +\n (this.auto ? 16 : 0)\n )\n\n const calculatedMaxWidth = isNaN(parseInt(this.calculatedMaxWidth))\n ? minWidth\n : parseInt(this.calculatedMaxWidth)\n\n return `${Math.min(\n calculatedMaxWidth,\n minWidth\n )}px`\n },\n calculatedTop () {\n let top = this.calcTop\n if (this.auto) top = this.calcTopAuto\n\n return `${this.calcYOverflow(top())}px`\n },\n styles () {\n return {\n maxHeight: this.calculatedMaxHeight,\n minWidth: this.calculatedMinWidth,\n maxWidth: this.calculatedMaxWidth,\n top: this.calculatedTop,\n left: this.calculatedLeft,\n transformOrigin: this.origin,\n zIndex: this.zIndex || this.activeZIndex\n }\n }\n },\n\n watch: {\n activator (newActivator, oldActivator) {\n this.removeActivatorEvents(oldActivator)\n this.addActivatorEvents(newActivator)\n },\n isContentActive (val) {\n this.hasJustFocused = val\n }\n },\n\n methods: {\n activate () {\n // This exists primarily for v-select\n // helps determine which tiles to activate\n this.getTiles()\n // Update coordinates and dimensions of menu\n // and its activator\n this.updateDimensions()\n // Start the transition\n requestAnimationFrame(this.startTransition)\n // Once transitioning, calculate scroll position\n setTimeout(this.calculateScroll, 50)\n },\n onResize () {\n if (!this.isActive) return\n\n // Account for screen resize\n // and orientation change\n this.$refs.content.offsetWidth\n this.updateDimensions()\n\n // When resizing to a smaller width\n // content width is evaluated before\n // the new activator width has been\n // set, causing it to not size properly\n // hacky but will revisit in the future\n clearTimeout(this.resizeTimeout)\n this.resizeTimeout = setTimeout(this.updateDimensions, 100)\n }\n },\n\n render (h) {\n // Do not add click outside for hover menu\n const directives = [{\n name: 'resize',\n value: {\n debounce: 500,\n value: this.onResize\n }\n }]\n\n const data = {\n staticClass: 'menu',\n class: {\n 'menu--disabled': this.disabled\n },\n style: {\n display: this.fullWidth ? 'block' : 'inline-block'\n },\n directives,\n on: {\n keydown: this.changeListIndex\n }\n }\n\n return h('div', data, [\n this.genActivator(),\n this.genTransition()\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/VMenu.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_menus.styl\n// module id = 115\n// module chunks = 0","/**\n * Menu activator\n *\n * @mixin\n *\n * Handles the click and hover activation\n * Supports slotted and detached activators\n */\nexport default {\n methods: {\n activatorClickHandler (e) {\n if (this.disabled) return\n if (this.openOnClick && !this.isActive) {\n this.getActivator().focus()\n this.isActive = true\n this.absoluteX = e.clientX\n this.absoluteY = e.clientY\n } else if (this.closeOnClick && this.isActive) {\n this.getActivator().blur()\n this.isActive = false\n }\n },\n mouseEnterHandler (e) {\n this.runDelay('open', () => {\n if (this.hasJustFocused) return\n\n this.hasJustFocused = true\n this.isActive = true\n })\n },\n mouseLeaveHandler (e) {\n // Prevent accidental re-activation\n this.runDelay('close', () => {\n if (this.$refs.content.contains(e.relatedTarget)) return\n\n requestAnimationFrame(() => {\n this.isActive = false\n this.callDeactivate()\n })\n })\n },\n addActivatorEvents (activator = null) {\n if (!activator) return\n activator.addEventListener('click', this.activatorClickHandler)\n },\n removeActivatorEvents (activator = null) {\n if (!activator) return\n activator.removeEventListener('click', this.activatorClickHandler)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-activator.js","/**\n * Menu generators\n *\n * @mixin\n *\n * Used for creating the DOM elements for VMenu\n */\nexport default {\n methods: {\n genActivator () {\n if (!this.$slots.activator) return null\n\n const options = {\n staticClass: 'menu__activator',\n 'class': {\n 'menu__activator--active': this.hasJustFocused || this.isActive\n },\n ref: 'activator',\n on: {}\n }\n\n if (this.openOnHover) {\n options.on['mouseenter'] = this.mouseEnterHandler\n options.on['mouseleave'] = this.mouseLeaveHandler\n } else if (this.openOnClick) {\n options.on['click'] = this.activatorClickHandler\n }\n\n return this.$createElement('div', options, this.$slots.activator)\n },\n\n genTransition () {\n if (!this.transition) return this.genContent()\n\n return this.$createElement('transition', {\n props: {\n name: this.transition\n }\n }, [this.genContent()])\n },\n\n genContent () {\n // Do not add click outside for hover menu\n const directives = !this.openOnHover ? [{\n name: 'click-outside',\n value: {\n callback: () => this.closeOnClick,\n include: () => [this.$el, ...this.getOpenDependentElements()]\n }\n }] : []\n\n directives.push({\n name: 'show',\n value: this.isContentActive\n })\n\n const options = {\n 'class': [\n (`menu__content ${this.contentClass}`).trim(),\n { 'menuable__content__active': this.isActive }\n ],\n style: this.styles,\n directives,\n ref: 'content',\n on: {\n click: e => {\n e.stopPropagation()\n if (e.target.getAttribute('disabled')) return\n if (this.closeOnContentClick) this.isActive = false\n }\n }\n }\n\n !this.disabled && this.openOnHover && (options.on.mouseenter = this.mouseEnterHandler)\n this.openOnHover && (options.on.mouseleave = this.mouseLeaveHandler)\n\n return this.$createElement('div', options, this.showLazyContent(this.$slots.default))\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-generators.js","/**\n * Menu keyable\n * \n * @mixin\n *\n * Primarily used to support VSelect\n * Handles opening and closing of VMenu from keystrokes\n * Will conditionally highlight VListTiles for VSelect\n */\nexport default {\n data: () => ({\n listIndex: -1,\n tiles: []\n }),\n\n watch: {\n isActive (val) {\n if (!val) this.listIndex = -1\n },\n listIndex (next, prev) {\n // For infinite scroll and autocomplete, re-evaluate children\n this.getTiles()\n\n if (next in this.tiles) {\n this.tiles[next].classList.add('list__tile--highlighted')\n this.$refs.content.scrollTop = next * 48\n }\n\n prev in this.tiles &&\n this.tiles[prev].classList.remove('list__tile--highlighted')\n }\n },\n\n methods: {\n changeListIndex (e) {\n // Up, Down, Enter, Space\n if ([40, 38, 13].includes(e.keyCode) ||\n e.keyCode === 32 && !this.isActive\n ) {\n e.preventDefault()\n }\n\n // Esc, Tab\n if ([27, 9].includes(e.keyCode)) return this.isActive = false\n else if (!this.isActive &&\n // Enter, Space\n [13, 32].includes(e.keyCode) &&\n this.openOnClick\n ) {\n return this.isActive = true\n }\n\n // Down\n if (e.keyCode === 40 && this.listIndex < this.tiles.length - 1) {\n this.listIndex++\n // Up\n } else if (e.keyCode === 38 && this.listIndex > 0) {\n this.listIndex--\n // Enter\n } else if (e.keyCode === 13 && this.listIndex !== -1) {\n this.tiles[this.listIndex].click()\n }\n\n if (this.listIndex === -1) this.setActiveListIndex()\n },\n getTiles () {\n this.tiles = this.$refs.content.querySelectorAll('.list__tile')\n },\n setActiveListIndex () {\n const tiles = Array.from(this.tiles || [])\n tiles.forEach((t, i) => {\n if (t.classList.contains('list__tile--active')) {\n this.listIndex = i\n return\n }\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-keyable.js","/**\n * Menu position\n * \n * @mixin\n *\n * Used for calculating an automatic position (used for VSelect)\n * Will position the VMenu content properly over the VSelect\n */\nexport default {\n methods: {\n // Revisit this\n calculateScroll () {\n if (this.selectedIndex === null) return\n\n let scrollTop = 0\n\n if (this.selectedIndex >= this.stopIndex) {\n scrollTop = this.$refs.content.scrollHeight\n } else if (this.selectedIndex > this.startIndex) {\n scrollTop = (\n (this.selectedIndex * (this.defaultOffset * 6)) -\n (this.defaultOffset * 7)\n )\n }\n\n this.$refs.content.scrollTop = scrollTop\n },\n calcLeftAuto () {\n const a = this.dimensions.activator\n\n return parseInt(a.left - this.defaultOffset * 2)\n },\n calcTopAuto () {\n if (!this.hasActivator) return this.calcTop()\n\n const selectedIndex = Array.from(this.tiles)\n .findIndex(n => n.classList.contains('list__tile--active'))\n\n if (selectedIndex === -1) {\n this.selectedIndex = null\n\n return this.calcTop()\n }\n\n this.selectedIndex = selectedIndex\n let actingIndex = selectedIndex\n\n let offsetPadding = -(this.defaultOffset * 2)\n // #708 Stop index should vary by tile length\n this.stopIndex = this.tiles.length > 4\n ? this.tiles.length - 4\n : this.tiles.length\n\n if (selectedIndex > this.startIndex && selectedIndex < this.stopIndex) {\n actingIndex = 2\n offsetPadding = (this.defaultOffset * 3)\n } else if (selectedIndex >= this.stopIndex) {\n offsetPadding = -(this.defaultOffset)\n actingIndex = selectedIndex - this.stopIndex\n }\n\n // Is always off by 1 pixel, send help (┛ಠ_ಠ)┛彡┻━┻\n offsetPadding--\n\n return (\n this.calcTop() +\n offsetPadding -\n (actingIndex * (this.defaultOffset * 6))\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-position.js","/**\n * Select autocomplete\n *\n * @mixin\n *\n * Handles logic when using the \"autocomplete\" prop\n */\nexport default {\n props: {\n filter: {\n type: Function,\n default: (item, queryText, itemText) => {\n const hasValue = val => [undefined, null].includes(val)\n\n const text = hasValue(itemText) ? '' : itemText\n const query = hasValue(queryText) ? '' : queryText\n\n return text.toString()\n .toLowerCase()\n .indexOf(query.toString().toLowerCase()) > -1\n }\n }\n },\n\n methods: {\n genFiltered (text) {\n if (!this.isAutocomplete ||\n !this.searchValue ||\n this.filteredItems.length < 1\n ) return text\n\n text = (text || '').toString()\n\n const { start, middle, end } = this.getMaskedCharacters(text)\n\n return `${start}${this.genHighlight(middle)}${end}`\n },\n genHighlight (text) {\n if (this.isNotFiltering) return text\n\n return `${text}`\n },\n getMaskedCharacters (text) {\n const searchValue = (this.searchValue || '').toString().toLowerCase()\n const index = text.toLowerCase().indexOf(searchValue)\n\n const start = text.slice(0, index)\n const middle = text.slice(index, index + searchValue.length)\n const end = text.slice(index + searchValue.length)\n return { start, middle, end }\n },\n filterSearch () {\n if (!this.isAutocomplete) return this.computedItems\n\n return this.computedItems.filter(i => this.filter(\n i, this.searchValue, this.getText(i))\n )\n },\n onKeyDown (e) {\n // If enter or space is pressed, open menu\n if (!this.menuIsActive &&\n [13, 32, 38, 40].includes(e.keyCode)\n ) {\n e.preventDefault()\n return this.showMenuItems()\n } else if ([9, 27].includes(e.keyCode)) {\n // If select is being tabbed, blur\n return this.blur()\n } else if (e.keyCode === 13 &&\n this.searchValue &&\n this.tags &&\n !this.filteredItems.length\n ) {\n this.selectedItems.push(this.searchValue)\n\n this.$nextTick(() => {\n this.searchValue = null\n this.$emit('change', this.selectedItems)\n })\n }\n\n if (!this.isAutocomplete ||\n ![32].includes(e.keyCode)\n ) this.$refs.menu.changeListIndex(e)\n\n if ([38, 40].includes(e.keyCode)) this.selectedIndex = -1\n\n if (this.isAutocomplete &&\n !this.hideSelections &&\n !this.searchValue\n ) this.changeSelectedIndex(e.keyCode)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/mixins/select-autocomplete.js","import { getObjectValueByPath } from '../../../util/helpers'\n\n/**\n * Select generators\n *\n * @mixin\n *\n * Used for creating the DOM elements for VSelect\n */\nexport default {\n methods: {\n genMenu () {\n const offsetY = this.isAutocomplete || this.offset || this.isDropdown\n let nudgeTop = 0\n\n if (this.auto) nudgeTop = -18\n else if (this.solo) nudgeTop = 0\n else if (this.isDropdown) nudgeTop = 26\n else if (offsetY) nudgeTop = 24\n\n const data = {\n ref: 'menu',\n props: {\n activator: this.$el,\n auto: this.auto,\n closeOnClick: false,\n closeOnContentClick: !this.isMultiple,\n contentClass: this.computedContentClass,\n disabled: this.disabled,\n maxHeight: this.maxHeight,\n nudgeTop,\n offsetY,\n offsetOverflow: this.isAutocomplete,\n openOnClick: false,\n value: this.menuIsActive &&\n this.computedItems.length &&\n (!this.tags || this.tags && this.filteredItems.length > 0),\n zIndex: this.menuZIndex\n },\n on: {\n input: val => {\n if (!val) {\n this.menuIsActive = false\n }\n }\n }\n }\n\n if (this.isAutocomplete) data.props.transition = ''\n\n this.minWidth && (data.props.minWidth = this.minWidth)\n\n return this.$createElement('v-menu', data, [this.genList()])\n },\n genSelectionsAndSearch () {\n const data = {\n staticClass: 'input-group--select__autocomplete',\n 'class': {\n 'input-group--select__autocomplete--index': this.selectedIndex > -1\n },\n style: {\n flex: this.shouldBreak ? '1 0 100%' : null\n },\n attrs: {\n ...this.$attrs,\n disabled: this.disabled || !this.isAutocomplete,\n readonly: this.readonly,\n tabindex: this.disabled || !this.isAutocomplete ? -1 : this.tabindex\n },\n domProps: {\n value: this.maskText(this.lazySearch || '')\n },\n directives: [{\n name: 'show',\n value: (this.isAutocomplete) ||\n (this.placeholder && !this.selectedItems.length)\n }],\n ref: 'input',\n key: 'input'\n }\n\n if (this.isAutocomplete) {\n data.attrs.role = 'combobox'\n data.domProps.autocomplete = this.browserAutocomplete\n\n data.on = {\n ...this.genListeners(),\n input: e => {\n this.searchValue = this.unmaskText(e.target.value)\n }\n }\n\n data.directives = data.directives.concat(this.genDirectives())\n }\n\n if (this.placeholder) data.domProps.placeholder = this.placeholder\n\n return this.$createElement('div', {\n 'class': 'input-group__selections',\n style: { 'overflow': 'hidden' },\n ref: 'activator'\n }, [\n this.genSelections(),\n this.$createElement('input', data)\n ])\n },\n genSelections () {\n if (this.hideSelections) return []\n\n const children = []\n const chips = this.chips\n const slots = this.$scopedSlots.selection\n const length = this.selectedItems.length\n this.selectedItems.forEach((item, i) => {\n if (slots) {\n children.push(this.genSlotSelection(item, i))\n } else if (chips) {\n children.push(this.genChipSelection(item, i))\n } else if (this.segmented) {\n children.push(this.genSegmentedBtn(item, i))\n } else {\n children.push(this.genCommaSelection(item, i < length - 1, i))\n }\n })\n\n return children\n },\n genSegmentedBtn (item) {\n if (!item.text || !item.callback) {\n console.warn('[Vuetify] Warn: When using the v-select component with \\'segmented\\' prop without a selection slot, items must contain both a text and callback property')\n return null\n }\n\n return this.$createElement('v-btn', {\n props: {\n flat: true\n },\n on: {\n click (e) {\n e.stopPropagation()\n item.callback(e)\n }\n }\n }, [item.text])\n },\n genSlotSelection (item, index) {\n return this.$scopedSlots.selection({\n parent: this,\n item,\n index,\n selected: index === this.selectedIndex,\n disabled: this.disabled || this.readonly\n })\n },\n genChipSelection (item, index) {\n const isDisabled = this.disabled || this.readonly\n const click = e => {\n if (isDisabled) return\n\n e.stopPropagation()\n this.focus()\n this.selectedIndex = index\n }\n\n return this.$createElement('v-chip', {\n staticClass: 'chip--select-multi',\n attrs: { tabindex: '-1' },\n props: {\n close: !isDisabled,\n dark: this.dark,\n disabled: isDisabled,\n selected: index === this.selectedIndex\n },\n on: {\n click: click,\n focus: click,\n input: () => this.selectItem(item)\n },\n key: this.getValue(item)\n }, this.getText(item))\n },\n genCommaSelection (item, comma, index) {\n return this.$createElement('div', {\n staticClass: 'input-group__selections__comma',\n 'class': {\n 'input-group__selections__comma--active': index === this.selectedIndex\n },\n key: JSON.stringify(this.getValue(item)) // Item may be an object\n }, `${this.getText(item)}${comma ? ', ' : ''}`)\n },\n genList () {\n const children = this.filteredItems.map(o => {\n if (o.header) return this.genHeader(o)\n if (o.divider) return this.genDivider(o)\n else return this.genTile(o)\n })\n\n if (!children.length) {\n const noData = this.$slots['no-data']\n if (noData) {\n children.push(noData)\n } else {\n children.push(this.genTile(this.noDataText, true))\n }\n }\n\n return this.$createElement('v-card', [\n this.$createElement('v-list', {\n ref: 'list'\n }, children)\n ])\n },\n genHeader (item) {\n return this.$createElement('v-subheader', {\n props: item\n }, item.header)\n },\n genDivider (item) {\n return this.$createElement('v-divider', {\n props: item\n })\n },\n genTile (item, disabled) {\n const active = this.selectedItems.indexOf(item) !== -1\n\n if (typeof disabled === 'undefined') {\n disabled = getObjectValueByPath(item, this.itemDisabled)\n }\n\n const data = {\n on: {\n click: e => {\n if (disabled) return\n\n this.selectItem(item)\n }\n },\n props: {\n avatar: item === Object(item) && this.itemAvatar in item,\n ripple: true,\n value: active\n }\n }\n\n if (disabled) {\n data.props.disabled = disabled\n }\n\n if (this.$scopedSlots.item) {\n return this.$createElement('v-list-tile', data,\n [this.$scopedSlots.item({ parent: this, item })]\n )\n }\n\n return this.$createElement('v-list-tile', data,\n [this.genAction(item, active && !disabled), this.genContent(item)]\n )\n },\n genAction (item, active) {\n if (!this.isMultiple) return null\n\n const data = {\n staticClass: 'list__tile__action--select-multi',\n on: {\n click: e => {\n e.stopPropagation()\n this.selectItem(item)\n }\n }\n }\n\n return this.$createElement('v-list-tile-action', data, [\n this.$createElement('v-checkbox', { props: { inputValue: active } })\n ])\n },\n genContent (item) {\n const text = this.getText(item)\n\n return this.$createElement('v-list-tile-content',\n [this.$createElement('v-list-tile-title', {\n domProps: {\n innerHTML: this.genFiltered(text)\n }\n })]\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/mixins/select-generators.js","export default {\n methods: {\n genTHead () {\n let children = []\n\n if (this.$scopedSlots.headers) {\n const row = this.$scopedSlots.headers({\n headers: this.headers,\n indeterminate: this.indeterminate,\n all: this.all\n })\n\n children = this.needsTR(row) ? this.genTR(row) : row\n } else {\n const row = this.headers.map(o => this.genHeader(o))\n const checkbox = this.$createElement('v-checkbox', {\n props: {\n dark: this.dark,\n light: this.light,\n color: this.selectAll === true ? '' : this.selectAll,\n hideDetails: true,\n inputValue: this.all,\n indeterminate: this.indeterminate\n },\n on: { change: this.toggle }\n })\n\n this.hasSelectAll && row.unshift(this.$createElement('th', [checkbox]))\n\n children = this.genTR(row)\n }\n\n return this.$createElement('thead', [children])\n },\n genHeader (header) {\n const array = [\n this.$scopedSlots.headerCell\n ? this.$scopedSlots.headerCell({ header })\n : header[this.headerText]\n ]\n\n return this.$createElement('th', ...this.genHeaderData(header, array))\n },\n genHeaderData (header, children) {\n const classes = ['column']\n const data = {\n attrs: {\n role: 'columnheader',\n scope: 'col',\n 'aria-label': header[this.headerText] || '',\n 'aria-sort': 'none'\n }\n }\n\n if ('sortable' in header && header.sortable || !('sortable' in header)) {\n this.genHeaderSortingData(header, children, data, classes)\n } else {\n data.attrs['aria-label'] += ': Not sorted.' // TODO: Localization\n }\n\n classes.push(`text-xs-${header.align || 'right'}`)\n if (Array.isArray(header.class)) {\n classes.push(...header.class)\n } else if (header.class) {\n classes.push(header.class)\n }\n data.class = classes\n\n return [data, children]\n },\n genHeaderSortingData (header, children, data, classes) {\n if (!('value' in header)) {\n console.warn('Data table headers must have a value property that corresponds to a value in the v-model array')\n }\n\n data.attrs.tabIndex = 0\n data.on = {\n click: () => {\n this.expanded = []\n this.sort(header.value)\n },\n keydown: e => {\n // check for space\n if (e.keyCode === 32) {\n e.preventDefault()\n this.sort(header.value)\n }\n }\n }\n\n classes.push('sortable')\n const icon = this.$createElement('v-icon', { attrs: { 'aria-hidden': true } }, 'arrow_upward')\n if (header.align && header.align === 'left') {\n children.push(icon)\n } else {\n children.unshift(icon)\n }\n\n const pagination = this.computedPagination\n const beingSorted = pagination.sortBy === header.value\n if (beingSorted) {\n classes.push('active')\n if (pagination.descending) {\n classes.push('desc')\n data.attrs['aria-sort'] = 'descending'\n data.attrs['aria-label'] += ': Sorted descending. Activate to remove sorting.' // TODO: Localization\n } else {\n classes.push('asc')\n data.attrs['aria-sort'] = 'ascending'\n data.attrs['aria-label'] += ': Sorted ascending. Activate to sort descending.' // TODO: Localization\n }\n } else {\n data.attrs['aria-label'] += ': Not sorted. Activate to sort ascending.' // TODO: Localization\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/head.js","import RowExpandTransitionFunctions from '../../transitions/row-expand-transition'\n\nexport default {\n methods: {\n genTBody () {\n const children = []\n\n if (!this.itemsLength) {\n children.push(this.genEmptyBody(this.noDataText))\n } else if (!this.filteredItems.length) {\n children.push(this.genEmptyBody(this.noResultsText))\n } else {\n children.push(this.genFilteredItems())\n }\n\n return this.$createElement('tbody', children)\n },\n genExpandedRow (props) {\n const children = []\n\n if (this.isExpanded(props.item)) {\n const expand = this.$createElement('div', {\n class: 'datatable__expand-content',\n key: props.item[this.itemKey]\n }, this.$scopedSlots.expand(props))\n\n children.push(expand)\n }\n\n const transition = this.$createElement('transition-group', {\n class: 'datatable__expand-col',\n attrs: { colspan: '100%' },\n props: {\n tag: 'td'\n },\n on: RowExpandTransitionFunctions\n }, children)\n\n return this.genTR([transition], { class: 'datatable__expand-row' })\n },\n createProps (item, index) {\n const props = { item, index }\n const key = this.itemKey\n\n Object.defineProperty(props, 'selected', {\n get: () => this.selected[item[this.itemKey]],\n set: (value) => {\n let selected = this.value.slice()\n if (value) selected.push(item)\n else selected = selected.filter(i => i[key] !== item[key])\n this.$emit('input', selected)\n }\n })\n\n Object.defineProperty(props, 'expanded', {\n get: () => this.expanded[item[this.itemKey]],\n set: (value) => {\n if (!this.expand) {\n Object.keys(this.expanded).forEach((key) => {\n this.$set(this.expanded, key, false)\n })\n }\n this.$set(this.expanded, item[this.itemKey], value)\n }\n })\n\n return props\n },\n genFilteredItems () {\n const rows = []\n this.filteredItems.forEach((item, index) => {\n const props = this.createProps(item, index)\n const row = this.$scopedSlots.items\n ? this.$scopedSlots.items(props)\n : []\n\n rows.push(this.needsTR(row)\n ? this.genTR(row, {\n attrs: { active: this.isSelected(item) }\n })\n : row)\n\n if (this.$scopedSlots.expand) {\n const expandRow = this.genExpandedRow(props)\n rows.push(expandRow)\n }\n })\n\n return rows\n },\n genEmptyBody (text) {\n return this.genTR([this.$createElement('td', {\n 'class': 'text-xs-center',\n attrs: { colspan: '100%' }\n }, text)])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/body.js","export default {\n methods: {\n genPrevIcon () {\n return this.$createElement('v-btn', {\n props: {\n disabled: this.computedPagination.page === 1,\n icon: true,\n flat: true,\n dark: this.dark,\n light: this.light\n },\n on: {\n click: () => {\n const page = this.computedPagination.page\n this.updatePagination({ page: page - 1 })\n }\n },\n attrs: {\n 'aria-label': 'Previous page' // TODO: Localization\n }\n }, [this.$createElement('v-icon', 'chevron_left')])\n },\n genNextIcon () {\n const pagination = this.computedPagination\n const disabled = pagination.rowsPerPage < 0 ||\n pagination.page * pagination.rowsPerPage >= this.itemsLength ||\n this.pageStop < 0\n\n return this.$createElement('v-btn', {\n props: {\n disabled,\n icon: true,\n flat: true,\n dark: this.dark,\n light: this.light\n },\n on: {\n click: () => {\n const page = this.computedPagination.page\n this.updatePagination({ page: page + 1 })\n }\n },\n attrs: {\n 'aria-label': 'Next page' // TODO: Localization\n }\n }, [this.$createElement('v-icon', 'chevron_right')])\n },\n genSelect () {\n return this.$createElement('div', {\n 'class': 'datatable__actions__select'\n }, [\n this.rowsPerPageText,\n this.$createElement('v-select', {\n attrs: {\n 'aria-label': this.rowsPerPageText\n },\n props: {\n items: this.rowsPerPageItems,\n value: this.computedPagination.rowsPerPage,\n hideDetails: true,\n auto: true,\n minWidth: '75px'\n },\n on: {\n input: (val) => {\n this.updatePagination({\n page: 1,\n rowsPerPage: val\n })\n }\n }\n })\n ])\n },\n genPagination () {\n let pagination = '–'\n\n if (this.itemsLength) {\n const stop = this.itemsLength < this.pageStop || this.pageStop < 0\n ? this.itemsLength\n : this.pageStop\n\n pagination = this.$scopedSlots.pageText\n ? this.$scopedSlots.pageText({\n pageStart: this.pageStart + 1,\n pageStop: stop,\n itemsLength: this.itemsLength\n })\n : `${this.pageStart + 1}-${stop} of ${this.itemsLength}`\n }\n\n return this.$createElement('div', {\n 'class': 'datatable__actions__pagination'\n }, [pagination])\n },\n genActions () {\n return [this.$createElement('div', {\n 'class': 'datatable__actions'\n }, [\n this.genSelect(),\n this.genPagination(),\n this.genPrevIcon(),\n this.genNextIcon()\n ])]\n },\n genTFoot () {\n const children = []\n\n if (this.$slots.footer) {\n const footer = this.$slots.footer\n const row = this.needsTR(footer) ? this.genTR(footer) : footer\n\n children.push(row)\n }\n\n if (!this.hideActions) {\n children.push(this.genTR([\n this.$createElement('td', {\n attrs: { colspan: '100%' }\n }, this.genActions())\n ]))\n }\n\n if (!children.length) return null\n return this.$createElement('tfoot', children)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/foot.js","export default {\n methods: {\n genTProgress () {\n const col = this.$createElement('th', {\n staticClass: 'column',\n attrs: {\n colspan: '100%'\n }\n }, [this.genProgress()])\n\n return this.$createElement('thead', {\n staticClass: 'datatable__progress'\n }, [this.genTR([col])])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/progress.js","require('../../stylus/components/_small-dialog.styl')\n\nexport default {\n name: 'v-edit-dialog',\n\n data () {\n return {\n isActive: false,\n isSaving: false\n }\n },\n\n props: {\n cancelText: {\n default: 'Cancel'\n },\n large: Boolean,\n lazy: Boolean,\n saveText: {\n default: 'Save'\n },\n transition: {\n type: String,\n default: 'slide-x-reverse-transition'\n }\n },\n\n watch: {\n isActive (val) {\n val &&\n this.$emit('open') &&\n setTimeout(this.focus, 50) // Give DOM time to paint\n\n if (!val) {\n !this.isSaving && this.$emit('cancel')\n this.isSaving && this.$emit('close')\n this.isSaving = false\n }\n }\n },\n\n methods: {\n cancel () {\n this.isActive = false\n },\n focus () {\n const input = this.$refs.content.querySelector('input')\n input && input.focus()\n },\n save () {\n this.isSaving = true\n this.isActive = false\n this.$emit('save')\n },\n genButton (fn, text) {\n return this.$createElement('v-btn', {\n props: {\n flat: true,\n primary: true,\n light: true\n },\n on: { click: fn }\n }, text)\n },\n genActions () {\n return this.$createElement('div', {\n 'class': 'small-dialog__actions',\n directives: [{\n name: 'show',\n value: this.large\n }]\n }, [\n this.genButton(this.cancel, this.cancelText),\n this.genButton(this.save, this.saveText)\n ])\n },\n genContent () {\n return this.$createElement('div', {\n on: {\n keydown: e => {\n e.keyCode === 27 && this.cancel()\n e.keyCode === 13 && this.save()\n }\n },\n ref: 'content'\n }, [this.$slots.input])\n }\n },\n\n render (h) {\n return h('v-menu', {\n 'class': 'small-dialog',\n props: {\n contentClass: 'small-dialog__content',\n transition: this.transition,\n origin: 'top right',\n right: true,\n value: this.isActive,\n closeOnContentClick: false,\n lazy: this.lazy\n },\n on: {\n input: val => (this.isActive = val)\n }\n }, [\n h('a', {\n domProps: { href: 'javascript:;' },\n slot: 'activator'\n }, this.$slots.default),\n this.genContent(),\n this.genActions()\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/VEditDialog.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_small-dialog.styl\n// module id = 127\n// module chunks = 0","import VDatePicker from './VDatePicker'\n\nVDatePicker.install = function install (Vue) {\n Vue.component(VDatePicker.name, VDatePicker)\n}\n\nexport default VDatePicker\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/index.js","require('../../stylus/components/_pickers.styl')\nrequire('../../stylus/components/_date-picker.styl')\n\nimport { createRange } from '../../util/helpers'\n\nimport Picker from '../../mixins/picker'\nimport DateYears from './mixins/date-years'\nimport DateTitle from './mixins/date-title'\nimport DateHeader from './mixins/date-header'\nimport DateTable from './mixins/date-table'\nimport MonthTable from './mixins/month-table'\nimport VBtn from '../VBtn'\nimport VCard from '../VCard'\nimport VIcon from '../VIcon'\n\nimport Touch from '../../directives/touch'\n\nconst createDefaultDateFormat = type => date => {\n const pad = n => n < 10 ? `0${n}` : `${n}`\n const isoString = `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`\n return isoString.substr(0, { date: 10, month: 7, year: 4 }[type])\n}\n\nexport default {\n name: 'v-date-picker',\n\n components: {\n VBtn,\n VCard,\n VIcon\n },\n\n mixins: [Picker, DateYears, DateTitle, DateHeader, DateTable, MonthTable],\n\n directives: { Touch },\n\n data () {\n return {\n tableDate: new Date(),\n originalDate: this.value,\n currentDay: null,\n currentMonth: null,\n currentYear: null,\n isReversing: false,\n narrowDays: [],\n activePicker: this.type.toUpperCase()\n }\n },\n\n props: {\n locale: {\n type: String,\n default: 'en-us'\n },\n type: {\n type: String,\n default: 'date',\n validator: type => ['date', 'month'/*, 'year'*/].includes(type)\n },\n dateFormat: {\n type: Function,\n default: null\n },\n titleDateFormat: {\n type: [Object, Function],\n default: null\n },\n headerDateFormat: {\n type: [Object, Function],\n default: () => ({ month: 'long', year: 'numeric' })\n },\n monthFormat: {\n type: [Object, Function],\n default: () => ({ month: 'short' })\n },\n formattedValue: {\n required: false\n },\n allowedDates: {\n type: [Array, Object, Function],\n default: () => (null)\n },\n firstDayOfWeek: {\n type: [String, Number],\n default: 0\n },\n yearIcon: String\n },\n\n computed: {\n timeZone () {\n try {\n const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone\n new Date('2000-01-15').toLocaleDateString('en', {\n day: 'numeric',\n timeZone\n })\n return timeZone\n } catch (e) {\n return 'UTC'\n }\n },\n supportsLocaleFormat () {\n return ('toLocaleDateString' in Date.prototype) &&\n new Date('2000-01-15').toLocaleDateString('en', {\n day: 'numeric',\n timeZone: 'UTC'\n }) === '15'\n },\n firstAllowedDate () {\n const date = new Date()\n\n if (this.type === 'month') {\n date.setDate(1)\n date.setHours(1)\n\n if (this.allowedDates) {\n const valid = new Date(date)\n for (let month = 0; month < 12; month++) {\n valid.setMonth(month)\n if (this.isAllowed(valid)) {\n return valid\n }\n }\n }\n } else if (this.type === 'date') {\n date.setHours(1)\n const month = date.getMonth()\n\n if (this.allowedDates) {\n const valid = new Date(date)\n for (let i = 0; i < 31; i++) {\n if (date.getMonth() === month && this.isAllowed(valid)) return valid\n valid.setDate(i)\n }\n }\n }\n\n return date\n },\n inputDate: {\n get () {\n const date = this.makeDate(this.value)\n return date == null ? this.firstAllowedDate : date\n },\n set (value) {\n const date = this.makeDate(value)\n const pickerDateFormat = createDefaultDateFormat(this.type)\n this.$emit('input', date == null ? this.originalDate : pickerDateFormat(date))\n this.$emit('update:formattedValue', (this.dateFormat || pickerDateFormat)(date == null ? (this.makeDate(this.originalDate) || this.firstAllowedDate) : date))\n }\n },\n day () {\n return this.inputDate.getDate()\n },\n month () {\n return this.inputDate.getMonth()\n },\n year () {\n return this.inputDate.getFullYear()\n },\n tableMonth () {\n return this.tableDate.getMonth()\n },\n tableYear () {\n return this.tableDate.getFullYear()\n },\n computedTransition () {\n return this.isReversing ? 'tab-reverse-transition' : 'tab-transition'\n },\n titleText () {\n const date = this.normalizeDate(this.year, this.month, this.day)\n\n const defaultTitleDateFormat = this.type === 'year' ? {\n year: 'numeric'\n } : (this.type === 'month' ? {\n month: 'long'\n } : {\n weekday: 'short',\n month: 'short',\n day: 'numeric'\n })\n\n let titleText\n if (typeof this.titleDateFormat === 'function') {\n titleText = this.titleDateFormat(date)\n } else if (this.supportsLocaleFormat) {\n titleText = date.toLocaleDateString(this.locale, Object.assign(this.titleDateFormat || defaultTitleDateFormat, {\n timeZone: this.timeZone\n }))\n } else if ('toLocaleDateString' in Date.prototype) {\n titleText = createDefaultDateFormat(this.type)(date)\n }\n\n if (this.landscape) {\n if (titleText.indexOf(',') > -1) titleText = titleText.replace(',', ',
')\n else if (titleText.indexOf(' ') > -1) titleText = titleText.replace(' ', '
')\n }\n\n return titleText\n }\n },\n\n watch: {\n activePicker (val, prev) {\n if (val !== 'YEAR') return\n\n // That's a quirk, setting timeout stopped working after fixing #1649\n // It worked but for timeouts significantly longer than the transition duration\n const interval = setInterval(() => {\n if (this.$refs.years) {\n this.$refs.years.scrollTop = this.$refs.years.scrollHeight / 2 - 125\n clearInterval(interval)\n }\n }, 100)\n },\n tableDate (val, prev) {\n this.isReversing = val < prev\n },\n value (val) {\n if (val) this.tableDate = this.inputDate\n },\n type (val) {\n if (val === 'month' && this.activePicker === 'DATE') {\n this.activePicker = 'MONTH'\n } else if (val === 'year') {\n this.activePicker = 'YEAR'\n }\n },\n firstDayOfWeek () {\n this.getWeekDays()\n }\n },\n\n methods: {\n save () {\n if (this.originalDate) {\n this.originalDate = this.value\n } else {\n this.originalDate = this.inputDate\n }\n\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n },\n cancel () {\n this.inputDate = this.originalDate\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n },\n getWeekDays () {\n const first = parseInt(this.firstDayOfWeek, 10)\n if (this.supportsLocaleFormat) {\n const date = this.normalizeDate(2000, 1, 7)\n const day = date.getDate() - date.getDay() + first\n const format = { weekday: 'narrow' }\n this.narrowDays = createRange(7).map(i => this.normalizeDate(2000, 1, day + i).toLocaleDateString(this.locale, format))\n } else {\n this.narrowDays = createRange(7).map(i => ['S', 'M', 'T', 'W', 'T', 'F', 'S'][(i + first) % 7])\n }\n },\n isAllowed (date) {\n if (!this.allowedDates) return true\n\n if (Array.isArray(this.allowedDates)) {\n const format = createDefaultDateFormat(this.activePicker === 'MONTH' ? 'month' : 'date')\n date = format(this.makeDate(date))\n return !!this.allowedDates.find(allowedDate => {\n allowedDate = this.makeDate(allowedDate)\n return allowedDate && format(allowedDate) === date\n })\n } else if (this.allowedDates instanceof Function) {\n return this.allowedDates(date)\n } else if (this.allowedDates instanceof Object) {\n const format = createDefaultDateFormat(this.activePicker === 'MONTH' ? 'month' : 'date')\n const min = format(this.makeDate(this.allowedDates.min))\n const max = format(this.makeDate(this.allowedDates.max))\n date = format(date)\n return (!min || min <= date) && (!max || max >= date)\n }\n\n return true\n },\n genTableTouch (touchCallback) {\n return {\n name: 'touch',\n value: {\n left: e => (e.offsetX < -15) && touchCallback(1),\n right: e => (e.offsetX > 15) && touchCallback(-1)\n }\n }\n },\n genTable (tableChildren, touchCallback) {\n const options = {\n staticClass: 'picker--date__table',\n 'class': {\n 'picker--month__table': this.activePicker === 'MONTH'\n },\n on: this.scrollable ? { wheel: this.monthWheelScroll } : undefined,\n directives: [this.genTableTouch(touchCallback)]\n }\n\n const table = this.$createElement('table', {\n key: this.activePicker === 'MONTH' ? this.tableYear : this.tableMonth\n }, tableChildren)\n\n return this.$createElement('div', options, [\n this.$createElement('transition', {\n props: { name: this.computedTransition }\n }, [table])\n ])\n },\n genPickerBody (h) {\n const pickerBodyChildren = []\n if (this.activePicker === 'DATE') {\n pickerBodyChildren.push(h('div', { staticClass: 'picker--date__header' }, [this.genSelector()]))\n pickerBodyChildren.push(this.genTable([\n this.dateGenTHead(),\n this.dateGenTBody()\n ], value => this.tableDate = this.normalizeDate(this.tableYear, this.tableMonth + value)))\n } else if (this.activePicker === 'MONTH') {\n pickerBodyChildren.push(h('div', { staticClass: 'picker--date__header' }, [this.genSelector()]))\n pickerBodyChildren.push(this.genTable([\n this.monthGenTBody()\n ], value => this.tableDate = this.normalizeDate(this.tableYear + value)))\n } else if (this.activePicker === 'YEAR') {\n pickerBodyChildren.push(this.genYears())\n }\n\n return pickerBodyChildren\n },\n makeDate (val) {\n if (val == null) return val\n if (val instanceof Date) return val\n if (!isNaN(val)) return new Date(val)\n const [year, month, date] = val.trim().split(' ')[0].split('-')\n return this.normalizeDate(year, month ? (month - 1) : 0, date ? (date * 1) : 1)\n },\n normalizeDate (year, month = 0, date = 1) {\n return new Date(year, month, date, 1 /* Workaround for #1409 */)\n }\n },\n\n created () {\n this.getWeekDays()\n this.tableDate = this.inputDate\n },\n\n mounted () {\n const date = new Date()\n this.currentDay = date.getDate()\n this.currentMonth = date.getMonth()\n this.currentYear = date.getFullYear()\n },\n\n render (h) {\n const children = []\n\n !this.noTitle && children.push(this.genTitle(this.titleText))\n\n children.push(h('transition', {\n props: {\n origin: 'center center',\n mode: 'out-in',\n name: 'scale-transition'\n }\n }, [h('div', {\n staticClass: 'picker__body',\n key: this.activePicker\n }, this.genPickerBody(h))]))\n\n this.$scopedSlots.default && children.push(this.genSlot())\n\n return h('v-card', {\n staticClass: 'picker picker--date',\n 'class': {\n 'picker--landscape': this.landscape,\n ...this.themeClasses\n }\n }, children)\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/VDatePicker.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_date-picker.styl\n// module id = 130\n// module chunks = 0","export default {\n methods: {\n genYears () {\n return this.$createElement('ul', {\n staticClass: 'picker--date__years',\n key: 'year',\n ref: 'years'\n }, this.genYearItems())\n },\n yearClick (year) {\n this.inputDate = this.normalizeDate(year, this.tableMonth, this.day)\n\n if (this.type === 'year') {\n this.$nextTick(() => (this.autosave && this.save()))\n } else {\n this.activePicker = 'MONTH'\n }\n },\n genYearItems () {\n const children = []\n for (let year = this.year + 100, length = this.year - 100; year > length; year--) {\n const date = this.normalizeDate(year, this.month, this.day)\n const buttonText = this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, {\n year: 'numeric',\n timeZone: this.timeZone\n })\n : year\n\n children.push(this.$createElement('li', {\n 'class': {\n active: this.year === year\n },\n on: {\n click: () => this.yearClick(year)\n }\n }, buttonText))\n }\n return children\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-years.js","\nexport default {\n methods: {\n genYearIcon () {\n return this.yearIcon\n ? this.$createElement('v-icon', {\n props: {\n dark: true\n }\n }, this.yearIcon)\n : null\n },\n\n getYearBtn () {\n const titleDate = this.normalizeDate(this.year, this.month, this.day)\n return this.$createElement('div', {\n 'class': {\n 'picker--date__title-year': true,\n 'active': this.activePicker === 'YEAR'\n },\n on: {\n click: e => {\n e.stopPropagation()\n this.activePicker = 'YEAR'\n }\n }\n }, [\n this.supportsLocaleFormat\n ? titleDate.toLocaleDateString(this.locale, {\n year: 'numeric',\n timeZone: this.timeZone\n })\n : this.year,\n this.genYearIcon()\n ])\n },\n\n genTitleText (title) {\n return this.$createElement('transition', {\n props: {\n name: 'slide-y-reverse-transition',\n mode: 'out-in'\n }\n }, [\n this.$createElement('div', {\n domProps: { innerHTML: title },\n key: title\n })\n ])\n },\n\n genTitleDate (title) {\n return this.$createElement('div', {\n staticClass: 'picker--date__title-date',\n 'class': {\n 'active': this.activePicker === this.type.toUpperCase()\n },\n on: {\n click: e => {\n e.stopPropagation()\n this.activePicker = this.type.toUpperCase()\n }\n }\n }, [this.genTitleText(title)])\n },\n\n genTitle (title) {\n return this.$createElement('div', {\n 'class': 'picker__title'\n }, [\n this.getYearBtn(),\n this.genTitleDate(title)\n ])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-title.js","export default {\n methods: {\n genBtn (change, children) {\n return this.$createElement('v-btn', {\n props: {\n dark: this.dark,\n icon: true\n },\n nativeOn: {\n click: e => {\n e.stopPropagation()\n if (this.activePicker === 'DATE') {\n this.tableDate = this.normalizeDate(this.tableYear, change)\n } else if (this.activePicker === 'MONTH') {\n this.tableDate = this.normalizeDate(change, this.tableMonth)\n }\n }\n }\n }, children)\n },\n\n genHeader (keyValue, selectorText) {\n const header = this.$createElement('strong', {\n key: keyValue,\n on: {\n click: () => this.activePicker = this.activePicker === 'DATE' ? 'MONTH' : 'YEAR'\n }\n }, selectorText)\n\n const transition = this.$createElement('transition', {\n props: { name: this.computedTransition }\n }, [header])\n\n return this.$createElement('div', {\n 'class': 'picker--date__header-selector-date'\n }, [transition])\n },\n\n genSelector () {\n const keyValue = this.activePicker === 'DATE' ? this.tableMonth : this.tableYear\n const selectorDate = this.normalizeDate(this.tableYear, this.tableMonth)\n\n let selectorText = ''\n if (typeof this.headerDateFormat === 'function' && this.activePicker === 'DATE') {\n selectorText = this.headerDateFormat(selectorDate, this.activePicker)\n } else if (this.supportsLocaleFormat) {\n const format = this.activePicker === 'DATE'\n ? this.headerDateFormat\n : { year: 'numeric' }\n selectorText = selectorDate.toLocaleDateString(this.locale, Object.assign(format, {\n timeZone: this.timeZone\n }))\n } else if (this.activePicker === 'DATE') {\n selectorText = selectorDate.getFullYear() + '/'\n if (selectorDate.getMonth() < 9) selectorText += '0'\n selectorText += (1 + selectorDate.getMonth())\n } else if (this.activePicker === 'MONTH') {\n selectorText = selectorDate.getFullYear()\n }\n\n return this.$createElement('div', {\n 'class': 'picker--date__header-selector'\n }, [\n this.genBtn(keyValue - 1, [\n this.$createElement('v-icon', 'chevron_left')\n ]),\n this.genHeader(keyValue, selectorText),\n this.genBtn(keyValue + 1, [\n this.$createElement('v-icon', 'chevron_right')\n ])\n ])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-header.js","export default {\n methods: {\n dateWheelScroll (e) {\n e.preventDefault()\n\n let month = this.tableMonth\n\n if (e.deltaY < 0) month++\n else month--\n\n this.tableDate = this.normalizeDate(this.tableYear, month)\n },\n dateGenTHead () {\n const days = this.narrowDays.map(day => this.$createElement('th', day))\n return this.$createElement('thead', this.dateGenTR(days))\n },\n dateClick (day) {\n this.inputDate = this.normalizeDate(this.tableYear, this.tableMonth, day)\n this.$nextTick(() => (this.autosave && this.save()))\n },\n dateGenButtonText (date, day) {\n return this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, {\n day: 'numeric',\n timeZone: this.timeZone\n })\n : day\n },\n dateGenTD (day) {\n const date = this.normalizeDate(this.tableYear, this.tableMonth, day)\n const buttonText = this.dateGenButtonText(date, day)\n const button = this.$createElement('button', {\n staticClass: 'btn btn--date-picker btn--floating btn--small btn--flat',\n 'class': {\n 'btn--active': this.dateIsActive(day),\n 'btn--outline': this.dateIsCurrent(day) && !this.dateIsActive(day),\n 'btn--disabled': !this.isAllowed(date)\n },\n attrs: {\n type: 'button'\n },\n domProps: {\n innerHTML: `${buttonText}`\n },\n on: {\n click: () => this.dateClick(day)\n }\n })\n\n return this.$createElement('td', [button])\n },\n dateGenTBody () {\n const children = []\n const daysInMonth = this.normalizeDate(this.tableYear, this.tableMonth + 1, 0).getDate()\n let rows = []\n const day = (this.normalizeDate(this.tableYear, this.tableMonth).getDay() - parseInt(this.firstDayOfWeek) + 7) % 7\n\n for (let i = 0; i < day; i++) {\n rows.push(this.$createElement('td'))\n }\n\n for (let i = 1; i <= daysInMonth; i++) {\n rows.push(this.dateGenTD(i))\n\n if (rows.length % 7 === 0) {\n children.push(this.dateGenTR(rows))\n rows = []\n }\n }\n\n if (rows.length) {\n children.push(this.dateGenTR(rows))\n }\n\n children.length < 6 && children.push(this.dateGenTR([\n this.$createElement('td', { domProps: { innerHTML: ' ' } })\n ]))\n\n return this.$createElement('tbody', children)\n },\n dateGenTR (children = [], data = {}) {\n return [this.$createElement('tr', data, children)]\n },\n dateIsActive (i) {\n return this.tableYear === this.year &&\n this.tableMonth === this.month &&\n this.day === i\n },\n dateIsCurrent (i) {\n return this.currentYear === this.tableYear &&\n this.currentMonth === this.tableMonth &&\n this.currentDay === i\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-table.js","export default {\n methods: {\n monthWheelScroll (e) {\n e.preventDefault()\n\n let year = this.tableYear\n\n if (e.deltaY < 0) year++\n else year--\n\n this.tableDate = this.normalizeDate(year)\n },\n monthClick (month) {\n this.inputDate = this.normalizeDate(this.tableYear, month, this.day)\n if (this.type === 'date') {\n this.activePicker = 'DATE'\n } else {\n this.$nextTick(() => (this.autosave && this.save()))\n }\n },\n monthGenTD (month) {\n const date = this.normalizeDate(this.tableYear, month)\n let monthName\n\n if (typeof this.monthFormat === 'function') {\n monthName = this.monthFormat(date)\n } else if (this.supportsLocaleFormat) {\n monthName = date.toLocaleDateString(this.locale, Object.assign(this.monthFormat, {\n timeZone: this.timeZone\n }))\n } else {\n monthName = date.getMonth() + 1\n if (monthName < 10) {\n monthName = `0${monthName}`\n }\n }\n\n return this.$createElement('td', [\n this.$createElement('button', {\n 'class': {\n 'btn btn--date-picker': true,\n 'btn--raised': this.monthIsActive(month),\n 'btn--flat': true,\n 'btn--active': this.monthIsActive(month),\n 'btn--outline': this.monthIsCurrent(month) && !this.monthIsActive(month),\n 'btn--disabled': this.type === 'month' && !this.isAllowed(date)\n },\n attrs: {\n type: 'button'\n },\n domProps: {\n innerHTML: `${monthName}`\n },\n on: {\n click: () => this.monthClick(month)\n }\n })\n ])\n },\n monthGenTBody () {\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 children.push(this.$createElement('tr', cols.map((_, col) => {\n return this.monthGenTD(row * cols.length + col)\n })))\n }\n\n return this.$createElement('tbody', children)\n },\n monthIsActive (i) {\n return this.tableYear === this.year &&\n this.month === i\n },\n monthIsCurrent (i) {\n return this.currentYear === this.tableYear &&\n this.currentMonth === i\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/month-table.js","import VDialog from './VDialog'\n\nVDialog.install = function install (Vue) {\n Vue.component(VDialog.name, VDialog)\n}\n\nexport default VDialog\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDialog/index.js","import VDivider from './VDivider'\n\nVDivider.install = function install (Vue) {\n Vue.component(VDivider.name, VDivider)\n}\n\nexport default VDivider\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDivider/index.js","require('../../stylus/components/_dividers.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-divider',\n\n functional: true,\n\n mixins: [Themeable],\n\n props: {\n inset: Boolean\n },\n\n render (h, { props, data, children }) {\n data.staticClass = (`divider ${data.staticClass || ''}`).trim()\n\n if (props.inset) data.staticClass += ' divider--inset'\n if (props.light) data.staticClass += ' theme--light'\n if (props.dark) data.staticClass += ' theme--dark'\n\n return h('hr', data)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDivider/VDivider.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_dividers.styl\n// module id = 139\n// module chunks = 0","import VExpansionPanel from './VExpansionPanel'\nimport VExpansionPanelContent from './VExpansionPanelContent'\n\nVExpansionPanel.install = function install (Vue) {\n Vue.component(VExpansionPanel.name, VExpansionPanel)\n Vue.component(VExpansionPanelContent.name, VExpansionPanelContent)\n}\n\nexport default VExpansionPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VExpansionPanel/index.js","require('../../stylus/components/_expansion-panel.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-expansion-panel',\n\n mixins: [Themeable],\n\n provide () {\n return {\n panelClick: this.panelClick,\n focusable: this.focusable\n }\n },\n\n props: {\n expand: Boolean,\n focusable: Boolean,\n inset: Boolean,\n popout: Boolean\n },\n\n methods: {\n getChildren () {\n return this.$children.filter(c => {\n if (!c.$options) return\n\n return c.$options._componentTag === 'v-expansion-panel-content'\n })\n },\n panelClick (uid) {\n if (!this.expand) {\n return this.getChildren()\n .forEach(e => e.toggle(uid))\n }\n\n const panel = this.$children.find(e => e._uid === uid)\n\n panel && panel.toggle(uid)\n }\n },\n\n render (h) {\n return h('ul', {\n staticClass: 'expansion-panel',\n 'class': {\n 'expansion-panel--focusable': this.focusable,\n 'expansion-panel--popout': this.popout,\n 'expansion-panel--inset': this.inset,\n ...this.themeClasses\n }\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VExpansionPanel/VExpansionPanel.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_expansion-panel.styl\n// module id = 142\n// module chunks = 0","import { VExpandTransition } from '../transitions'\n\nimport Bootable from '../../mixins/bootable'\nimport Toggleable from '../../mixins/toggleable'\n\nimport VIcon from '../VIcon'\n\nimport Ripple from '../../directives/ripple'\nimport ClickOutside from '../../directives/click-outside'\n\nexport default {\n name: 'v-expansion-panel-content',\n\n mixins: [Bootable, Toggleable],\n\n components: {\n VIcon\n },\n\n directives: {\n Ripple,\n ClickOutside\n },\n\n inject: ['focusable', 'panelClick'],\n\n data () {\n return {\n height: 'auto'\n }\n },\n\n props: {\n hideActions: Boolean,\n ripple: Boolean\n },\n\n methods: {\n genBody () {\n return this.$createElement('div', {\n ref: 'body',\n class: 'expansion-panel__body',\n directives: [\n {\n name: 'show',\n value: this.isActive\n }\n ]\n }, this.showLazyContent(this.$slots.default))\n },\n genHeader () {\n return this.$createElement('div', {\n staticClass: 'expansion-panel__header',\n directives: [{\n name: 'ripple',\n value: this.ripple\n }],\n on: {\n click: () => this.panelClick(this._uid)\n }\n }, [\n this.$slots.header,\n this.genIcon()\n ])\n },\n genIcon (h) {\n if (this.hideActions) return null\n\n const icon = this.$slots.actions ||\n this.$createElement('v-icon', 'keyboard_arrow_down')\n\n return this.$createElement('div', {\n staticClass: 'header__icon'\n }, [icon])\n },\n toggle (uid) {\n const isActive = this._uid === uid && !this.isActive\n\n if (isActive) this.isBooted = true\n\n // We treat bootable differently\n // Needs time to calc height\n this.$nextTick(() => (this.isActive = isActive))\n }\n },\n\n render (h) {\n const children = []\n\n this.$slots.header && children.push(this.genHeader())\n children.push(h(VExpandTransition, [this.genBody()]))\n\n return h('li', {\n staticClass: 'expansion-panel__container',\n 'class': {\n 'expansion-panel__container--active': this.isActive\n },\n attrs: {\n tabindex: 0\n },\n on: {\n keydown: e => {\n // Ensure element is focusable and the activeElement\n if (this.focusable &&\n this.$el === document.activeElement &&\n e.keyCode === 13\n ) this.panelClick(this._uid)\n }\n }\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VExpansionPanel/VExpansionPanelContent.js","import VFooter from './VFooter'\n\nVFooter.install = function install (Vue) {\n Vue.component(VFooter.name, VFooter)\n}\n\nexport default VFooter\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VFooter/index.js","require('../../stylus/components/_footer.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-footer',\n\n mixins: [Applicationable, Themeable],\n\n props: {\n absolute: Boolean,\n fixed: Boolean\n },\n\n computed: {\n paddingLeft () {\n return this.fixed || !this.app\n ? 0\n : this.$vuetify.application.left\n },\n paddingRight () {\n return this.fixed || !this.app\n ? 0\n : this.$vuetify.application.right\n }\n },\n\n destroyed () {\n if (this.app) this.$vuetify.application.bottom = 0\n },\n\n methods: {\n updateApplication () {\n if (!this.app) return\n\n this.$vuetify.application.bottom = this.fixed\n ? this.$el && this.$el.clientHeight\n : 0\n }\n },\n\n mounted () {\n this.updateApplication()\n },\n\n render (h) {\n this.updateApplication()\n\n const data = {\n staticClass: 'footer',\n 'class': {\n 'footer--absolute': this.absolute,\n 'footer--fixed': this.fixed,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n },\n style: {\n paddingLeft: `${this.paddingLeft}px`,\n paddingRight: `${this.paddingRight}px`\n }\n }\n\n return h('footer', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VFooter/VFooter.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_footer.styl\n// module id = 146\n// module chunks = 0","import VForm from './VForm'\n\nVForm.install = function install (Vue) {\n Vue.component(VForm.name, VForm)\n}\n\nexport default VForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VForm/index.js","export default {\n name: 'v-form',\n\n inheritAttrs: false,\n\n data () {\n return {\n inputs: [],\n errorBag: {}\n }\n },\n\n props: {\n value: Boolean,\n lazyValidation: Boolean\n },\n\n watch: {\n errorBag: {\n handler () {\n const errors = Object.values(this.errorBag).includes(true)\n\n this.$emit('input', !errors)\n\n return !errors\n },\n deep: true\n }\n },\n\n methods: {\n getInputs () {\n const results = []\n\n const search = (children, depth = 0) => {\n for (const child of children) {\n if (child.errorBucket !== undefined) {\n results.push(child)\n } else {\n search(child.$children, depth + 1)\n }\n }\n if (depth === 0) return results\n }\n\n return search(this.$children)\n },\n watchInputs (inputs = this.getInputs()) {\n for (const child of inputs) {\n if (this.inputs.includes(child)) {\n continue // We already know about this input\n }\n\n this.inputs.push(child)\n this.watchChild(child)\n }\n },\n watchChild (child) {\n const watcher = (child) => {\n child.$watch('valid', (val) => {\n this.$set(this.errorBag, child._uid, !val)\n }, { immediate: true })\n }\n\n if (!this.lazyValidation) return watcher(child)\n\n // Only start watching inputs if we need to\n child.$watch('shouldValidate', (val) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(child._uid)) return\n\n watcher(child)\n })\n },\n validate () {\n const errors = this.inputs.filter(input => !input.validate(true)).length\n return !errors\n },\n reset () {\n this.inputs.forEach((input) => input.reset())\n if (this.lazyValidation) {\n Object.keys(this.errorBag).forEach(key => this.$delete(this.errorBag, key))\n }\n }\n },\n\n mounted () {\n this.$vuetify.load(() => this.watchInputs())\n },\n\n updated () {\n const inputs = this.getInputs()\n\n if (inputs.length < this.inputs.length) {\n // Something was removed, we don't want it in the errorBag any more\n const removed = this.inputs.filter(i => !inputs.includes(i))\n\n for (const input of removed) {\n this.$delete(this.errorBag, input._uid)\n this.$delete(this.inputs, this.inputs.indexOf(input))\n }\n }\n\n this.watchInputs(inputs)\n },\n\n render (h) {\n return h('form', {\n attrs: this.$attrs,\n on: {\n submit: e => this.$emit('submit', e)\n }\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VForm/VForm.js","import {\n createSimpleFunctional\n} from '../../util/helpers'\nimport VContent from './VContent'\nimport VContainer from './VContainer'\nimport VFlex from './VFlex'\nimport VLayout from './VLayout'\n\nexport const VSpacer = createSimpleFunctional('spacer')\nexport {\n VContainer,\n VContent,\n VFlex,\n VLayout\n}\n\nconst VGrid = {}\n\nVGrid.install = function install (Vue) {\n Vue.component(VContent.name, VContent)\n Vue.component(VContainer.name, VContainer)\n Vue.component(VFlex.name, VFlex)\n Vue.component(VLayout.name, VLayout)\n Vue.component(VSpacer.name, VSpacer)\n}\n\nexport default VGrid\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/index.js","require('../../stylus/components/_content.styl')\n\nexport default {\n name: 'v-content',\n\n computed: {\n styles () {\n const {\n bar, top, right, bottom, left\n } = this.$vuetify.application\n\n return {\n paddingTop: `${top + bar}px`,\n paddingRight: `${right}px`,\n paddingBottom: `${bottom}px`,\n paddingLeft: `${left}px`\n }\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'content',\n style: this.styles\n }\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VContent.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_content.styl\n// module id = 151\n// module chunks = 0","require('../../stylus/components/_grid.styl')\n\nimport Grid from './grid'\n\nexport default Grid('container')\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VContainer.js","require('../../stylus/components/_grid.styl')\n\nimport Grid from './grid'\n\nexport default Grid('flex')\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VFlex.js","require('../../stylus/components/_grid.styl')\n\nimport Grid from './grid'\n\nexport default Grid('layout')\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VLayout.js","import VNavigationDrawer from './VNavigationDrawer'\n\nVNavigationDrawer.install = function install (Vue) {\n Vue.component(VNavigationDrawer.name, VNavigationDrawer)\n}\n\nexport default VNavigationDrawer\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VNavigationDrawer/index.js","require('../../stylus/components/_navigation-drawer.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Overlayable from '../../mixins/overlayable'\nimport Themeable from '../../mixins/themeable'\n\nimport ClickOutside from '../../directives/click-outside'\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-navigation-drawer',\n\n mixins: [Applicationable, Overlayable, Themeable],\n\n directives: {\n ClickOutside,\n Resize,\n Touch\n },\n\n data () {\n return {\n isActive: this.value,\n isBooted: false,\n isMobile: false,\n touchArea: {\n left: 0,\n right: 0\n }\n }\n },\n\n props: {\n absolute: Boolean,\n clipped: Boolean,\n disableRouteWatcher: Boolean,\n enableResizeWatcher: Boolean,\n height: String,\n floating: Boolean,\n miniVariant: Boolean,\n miniVariantWidth: {\n type: [Number, String],\n default: 80\n },\n mobileBreakPoint: {\n type: Number,\n default: 1264\n },\n permanent: Boolean,\n persistent: Boolean,\n right: Boolean,\n temporary: Boolean,\n touchless: Boolean,\n width: {\n type: [Number, String],\n default: 300\n },\n value: { required: false }\n },\n\n computed: {\n calculatedHeight () {\n return this.height || '100%'\n },\n calculatedWidth () {\n return this.miniVariant\n ? this.miniVariantWidth\n : this.width\n },\n classes () {\n return {\n 'navigation-drawer': true,\n 'navigation-drawer--absolute': this.absolute,\n 'navigation-drawer--clipped': this.clipped,\n 'navigation-drawer--close': !this.isActive,\n 'navigation-drawer--floating': this.floating,\n 'navigation-drawer--is-booted': this.isBooted,\n 'navigation-drawer--is-mobile': this.isMobile,\n 'navigation-drawer--mini-variant': this.miniVariant,\n 'navigation-drawer--open': this.isActive,\n 'navigation-drawer--permanent': this.permanent,\n 'navigation-drawer--persistent': this.persistent,\n 'navigation-drawer--right': this.right,\n 'navigation-drawer--temporary': this.temporary,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n marginTop () {\n if (!this.app) return 0\n let marginTop = this.$vuetify.application.bar\n\n marginTop += this.clipped\n ? this.$vuetify.application.top\n : 0\n\n return marginTop\n },\n maxHeight () {\n if (!this.app) return '100%'\n\n return this.clipped\n ? this.$vuetify.application.top + this.$vuetify.application.bottom\n : this.$vuetify.application.bottom\n },\n showOverlay () {\n return !this.permanent &&\n this.isActive &&\n (this.temporary || this.isMobile)\n },\n styles () {\n return {\n height: this.calculatedHeight,\n marginTop: `${this.marginTop}px`,\n maxHeight: `calc(100% - ${this.maxHeight}px)`,\n width: `${this.calculatedWidth}px`\n }\n }\n },\n\n watch: {\n $route () {\n if (!this.disableRouteWatcher) {\n this.isActive = !this.closeConditional()\n }\n },\n isActive (val) {\n this.$emit('input', val)\n this.showOverlay &&\n val &&\n this.genOverlay() ||\n this.removeOverlay()\n this.$el.scrollTop = 0\n },\n isMobile (val) {\n !val && this.removeOverlay()\n },\n permanent (val) {\n this.$emit('input', val)\n },\n value (val) {\n if (this.permanent) return\n if (val !== this.isActive) this.isActive = val\n }\n },\n\n mounted () {\n this.$vuetify.load(this.init)\n },\n\n methods: {\n init () {\n if (this.value != null) this.isActive = this.value\n else if (this.permanent) this.isActive = true\n else if (this.isMobile) this.isActive = false\n else if (!this.value &&\n (this.persistent || this.temporary)\n ) this.isActive = false\n else this.isActive = true\n\n setTimeout(() => (this.isBooted = true), 0)\n },\n calculateTouchArea () {\n if (!this.$el.parentNode) return\n const parentRect = this.$el.parentNode.getBoundingClientRect()\n\n this.touchArea = {\n left: parentRect.left + 50,\n right: parentRect.right - 50\n }\n },\n checkIfMobile () {\n this.isMobile = window.innerWidth < parseInt(this.mobileBreakPoint)\n },\n closeConditional () {\n return !this.permanent && (this.temporary || this.isMobile)\n },\n genDirectives () {\n const directives = [\n {\n name: 'click-outside',\n value: this.closeConditional\n },\n {\n name: 'resize',\n value: this.onResize\n }\n ]\n\n !this.touchless && directives.push({\n name: 'touch',\n value: {\n parent: true,\n left: this.swipeLeft,\n right: this.swipeRight\n }\n })\n\n return directives\n },\n onResize () {\n if (!this.enableResizeWatcher ||\n this.permanent ||\n this.temporary\n ) return\n\n this.checkIfMobile()\n\n this.isActive = !this.isMobile\n },\n swipeRight (e) {\n if (this.isActive && !this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n else if (!this.right &&\n e.touchstartX <= this.touchArea.left\n ) this.isActive = true\n else if (this.right && this.isActive) this.isActive = false\n },\n swipeLeft (e) {\n if (this.isActive && this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n else if (this.right &&\n e.touchstartX >= this.touchArea.right\n ) this.isActive = true\n else if (!this.right && this.isActive) this.isActive = false\n },\n updateApplication () {\n if (!this.app) return\n\n const width = !this.isActive ||\n !this.permanent &&\n this.$vuetify.breakpoint.width < this.mobileBreakPoint\n ? 0\n : this.calculatedWidth\n\n if (this.right) {\n this.$vuetify.application.right = width\n } else {\n this.$vuetify.application.left = width\n }\n }\n },\n\n render (h) {\n this.updateApplication()\n\n const data = {\n 'class': this.classes,\n style: this.styles,\n directives: this.genDirectives(),\n on: {\n click: () => this.$emit('update:miniVariant', false)\n }\n }\n\n return h('aside', data, [\n this.$slots.default,\n h('div', { 'class': 'navigation-drawer__border' })\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VNavigationDrawer/VNavigationDrawer.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_navigation-drawer.styl\n// module id = 157\n// module chunks = 0","import VPagination from './VPagination'\n\nVPagination.install = function install (Vue) {\n Vue.component(VPagination.name, VPagination)\n}\n\nexport default VPagination\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VPagination/index.js","require('../../stylus/components/_pagination.styl')\n\nimport VIcon from '../VIcon'\n\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-pagination',\n\n directives: { Resize },\n\n props: {\n circle: Boolean,\n disabled: Boolean,\n length: {\n type: Number,\n default: 0,\n validator: val => val % 1 === 0\n },\n totalVisible: [Number, String],\n nextIcon: {\n type: String,\n default: 'chevron_right'\n },\n prevIcon: {\n type: String,\n default: 'chevron_left'\n },\n value: {\n type: Number,\n default: 0\n }\n },\n\n data () {\n return {\n maxButtons: 0\n }\n },\n\n watch: {\n value () {\n this.init()\n }\n },\n\n computed: {\n classes () {\n return {\n 'pagination': true,\n 'pagination--circle': this.circle,\n 'pagination--disabled': this.disabled\n }\n },\n\n items () {\n const maxLength = this.totalVisible || this.maxButtons\n if (this.length <= maxLength) {\n return this.range(1, this.length)\n }\n\n const even = maxLength % 2 === 0 ? 1 : 0\n const left = Math.floor(maxLength / 2)\n const right = this.length - left + 1 + even\n\n if (this.value >= left && this.value <= right) {\n const start = this.value - left + 2\n const end = this.value + left - 2 - even\n\n return [1, '...', ...this.range(start, end), '...', this.length]\n } else {\n return [\n ...this.range(1, left),\n '...',\n ...this.range(this.length - left + 1 + even, this.length)\n ]\n }\n }\n },\n\n mounted () {\n this.$vuetify.load.call(this, this.init)\n },\n\n methods: {\n onResize () {\n const width = this.$el && this.$el.parentNode\n ? this.$el.parentNode.clientWidth\n : window.innerWidth\n\n this.maxButtons = Math.floor((width - 96) / 42)\n },\n init () {\n this.selected = null\n\n // Change this\n setTimeout(() => (this.selected = this.value), 100)\n },\n next (e) {\n e.preventDefault()\n this.$emit('input', this.value + 1)\n this.$emit('next')\n },\n previous (e) {\n e.preventDefault()\n this.$emit('input', this.value - 1)\n this.$emit('previous')\n },\n range (from, to) {\n const range = []\n\n from = from > 0 ? from : 1\n\n for (let i = from; i <= to; i++) {\n range.push(i)\n }\n\n return range\n },\n genIcon (h, icon, disabled, fn) {\n return h('li', [\n h('a', {\n class: {\n 'pagination__navigation': true,\n 'pagination__navigation--disabled': disabled\n },\n attrs: { href: '#!' },\n on: { click: fn }\n }, [h(VIcon, [icon])])\n ])\n },\n genItem (h, i) {\n return h('a', {\n class: {\n 'pagination__item': true,\n 'pagination__item--active': i === this.value\n },\n attrs: { href: '#!' },\n on: {\n click: (e) => {\n e.preventDefault()\n this.$emit('input', i)\n }\n }\n }, [i])\n },\n genItems (h) {\n return this.items.map((i) => {\n return h('li', [\n isNaN(i) && h('span', { class: 'pagination__more' }, [i]) || this.genItem(h, i)\n ])\n })\n }\n },\n\n render (h) {\n const children = [\n this.genIcon(h, this.prevIcon, this.value === 1, this.previous),\n this.genItems(h),\n this.genIcon(h, this.nextIcon, this.value === this.length, this.next)\n ]\n\n return h('ul', {\n directives: [{ name: 'resize', value: this.onResize }],\n class: this.classes\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VPagination/VPagination.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_pagination.styl\n// module id = 160\n// module chunks = 0","import VParallax from './VParallax'\n\nVParallax.install = function install (Vue) {\n Vue.component(VParallax.name, VParallax)\n}\n\nexport default VParallax\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VParallax/index.js","require('../../stylus/components/_parallax.styl')\n\nimport Translatable from '../../mixins/translatable'\n\nexport default {\n name: 'v-parallax',\n\n mixins: [Translatable],\n\n data () {\n return {\n isBooted: false\n }\n },\n\n props: {\n alt: String,\n height: {\n type: [String, Number],\n default: 500\n },\n jumbotron: Boolean,\n src: String\n },\n\n computed: {\n styles () {\n return {\n display: 'block',\n opacity: this.isBooted ? 1 : 0,\n transform: `translate3d(-50%, ${this.jumbotron ? 0 : this.parallax + 'px'}, 0)`\n }\n }\n },\n\n watch: {\n parallax () {\n this.isBooted = true\n }\n },\n\n methods: {\n init () {\n if (!this.$refs.img) return\n\n if (this.$refs.img.complete) {\n this.translate()\n this.listeners()\n } else {\n this.$refs.img.addEventListener('load', () => {\n this.translate()\n this.listeners()\n }, false)\n }\n },\n objHeight () {\n return this.$refs.img.naturalHeight\n },\n elOffsetTop () {\n return this.$el.offsetTop\n }\n },\n\n render (h) {\n const imgData = {\n staticClass: 'parallax__image',\n 'class': {\n 'parallax__image--jumbotron': this.jumbotron\n },\n style: this.styles,\n attrs: {\n src: this.src\n },\n ref: 'img'\n }\n\n if (this.alt) imgData.attrs.alt = this.alt\n\n const container = h('div', {\n staticClass: 'parallax__image-container'\n }, [\n h('img', imgData)\n ])\n\n const content = h('div', {\n staticClass: 'parallax__content'\n }, this.$slots.default)\n\n return h('div', {\n staticClass: 'parallax',\n style: {\n height: this.jumbotron\n ? this.normalizedHeight\n : `${this.normalizedHeight}px`\n },\n on: this.$listeners\n }, [container, content])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VParallax/VParallax.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_parallax.styl\n// module id = 163\n// module chunks = 0","export default {\n data () {\n return {\n parallax: null,\n parallaxDist: null,\n percentScrolled: null,\n scrollTop: null,\n windowHeight: null,\n windowBottom: null\n }\n },\n\n computed: {\n normalizedHeight () {\n if (this.jumbotron) {\n return isNaN(this.height) ? this.height : `${this.height}px`\n }\n\n return Number(this.height.toString().replace(/(^[0-9]*$)/, '$1'))\n },\n\n imgHeight () {\n return this.objHeight()\n }\n },\n\n mounted () {\n this.$vuetify.load(this.init)\n },\n\n beforeDestroy () {\n window.removeEventListener('scroll', this.translate, false)\n window.removeEventListener('resize', this.translate, false)\n },\n\n methods: {\n listeners () {\n window.addEventListener('scroll', this.translate, false)\n window.addEventListener('resize', this.translate, false)\n },\n\n translate () {\n this.calcDimensions()\n\n this.percentScrolled = (\n (this.windowBottom - this.elOffsetTop) /\n (this.normalizedHeight + this.windowHeight)\n )\n\n this.parallax = Math.round(this.parallaxDist * this.percentScrolled)\n\n if (this.translated) {\n this.translated()\n }\n },\n\n calcDimensions () {\n const offset = this.$el.getBoundingClientRect()\n\n this.scrollTop = window.pageYOffset\n this.parallaxDist = this.imgHeight - this.normalizedHeight\n this.elOffsetTop = offset.top + this.scrollTop\n this.windowHeight = window.innerHeight\n this.windowBottom = this.scrollTop + this.windowHeight\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/translatable.js","import VProgressCircular from './VProgressCircular'\n\nVProgressCircular.install = function install (Vue) {\n Vue.component(VProgressCircular.name, VProgressCircular)\n}\n\nexport default VProgressCircular\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressCircular/index.js","require('../../stylus/components/_progress-circular.styl')\n\nimport Colorable from '../../mixins/colorable'\n\nexport default {\n name: 'v-progress-circular',\n\n mixins: [Colorable],\n\n props: {\n button: Boolean,\n\n fill: {\n type: String,\n default () { return this.indeterminate ? 'none' : 'transparent' }\n },\n\n indeterminate: Boolean,\n\n rotate: {\n type: Number,\n default: 0\n },\n\n size: {\n type: [Number, String],\n default: 32\n },\n\n width: {\n type: Number,\n default: 4\n },\n\n value: {\n type: Number,\n default: 0\n }\n },\n\n computed: {\n calculatedSize () {\n let size = Number(this.size)\n\n if (this.button) {\n size += 8\n }\n\n return size\n },\n\n circumference () {\n return 2 * Math.PI * this.radius\n },\n\n classes () {\n return this.addColorClassChecks({\n 'progress-circular': true,\n 'progress-circular--indeterminate': this.indeterminate,\n 'progress-circular--button': this.button\n })\n },\n\n cxy () {\n return this.indeterminate && !this.button ? 50 : this.calculatedSize / 2\n },\n\n normalizedValue () {\n if (this.value < 0) {\n return 0\n }\n\n if (this.value > 100) {\n return 100\n }\n\n return this.value\n },\n\n radius () {\n return this.indeterminate &&\n !this.button\n ? 20\n : (this.calculatedSize - this.width) / 2\n },\n\n strokeDashArray () {\n return Math.round(this.circumference * 1000) / 1000\n },\n\n strokeDashOffset () {\n return ((100 - this.normalizedValue) / 100) * this.circumference + 'px'\n },\n\n styles () {\n return {\n height: `${this.calculatedSize}px`,\n width: `${this.calculatedSize}px`\n }\n },\n\n svgSize () {\n return this.indeterminate ? false : this.calculatedSize\n },\n\n svgStyles () {\n return {\n transform: `rotate(${this.rotate}deg)`\n }\n },\n\n viewBox () {\n return this.indeterminate ? '25 25 50 50' : false\n }\n },\n\n methods: {\n genCircle (h, name, offset) {\n return h('circle', {\n class: `progress-circular__${name}`,\n attrs: {\n fill: 'transparent',\n cx: this.cxy,\n cy: this.cxy,\n r: this.radius,\n 'stroke-width': this.width,\n 'stroke-dasharray': this.strokeDashArray,\n 'stroke-dashoffset': offset\n }\n })\n },\n genSvg (h) {\n const children = [\n !this.indeterminate && this.genCircle(h, 'underlay', 0),\n this.genCircle(h, 'overlay', this.strokeDashOffset)\n ]\n\n return h('svg', {\n style: this.svgStyles,\n attrs: {\n xmlns: 'http://www.w3.org/2000/svg',\n height: this.svgSize,\n width: this.svgSize,\n viewBox: this.viewBox\n }\n }, children)\n }\n },\n\n render (h) {\n const info = h('div', { class: 'progress-circular__info' }, [this.$slots.default])\n const svg = this.genSvg(h)\n\n return h('div', {\n class: this.classes,\n style: this.styles,\n on: this.$listeners\n }, [svg, info])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressCircular/VProgressCircular.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_progress-circular.styl\n// module id = 167\n// module chunks = 0","import VRadioGroup from './VRadioGroup'\nimport VRadio from './VRadio'\n\nexport { VRadioGroup, VRadio }\n\nVRadioGroup.install = function install (Vue) {\n Vue.component(VRadioGroup.name, VRadioGroup)\n Vue.component(VRadio.name, VRadio)\n}\n\nexport default VRadioGroup\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VRadioGroup/index.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_selection-controls.styl')\nrequire('../../stylus/components/_radio-group.styl')\n\nimport Input from '../../mixins/input'\n\nexport default {\n name: 'v-radio-group',\n\n mixins: [Input],\n\n model: {\n prop: 'inputValue',\n event: 'change'\n },\n\n provide () {\n return {\n isMandatory: () => this.mandatory,\n name: () => this.name,\n registerChild: this.registerChild,\n unregisterChild: this.unregisterChild\n }\n },\n\n props: {\n column: {\n type: Boolean,\n default: true\n },\n inputValue: null,\n mandatory: {\n type: Boolean,\n default: true\n },\n name: String,\n row: Boolean\n },\n\n data () {\n return {\n internalTabIndex: -1\n }\n },\n\n watch: {\n inputValue (val) {\n this.getRadios().forEach((radio) => {\n radio.isActive = val === radio.value\n })\n }\n },\n\n computed: {\n classes () {\n return {\n 'radio-group': true,\n 'radio-group--column': this.column && !this.row,\n 'radio-group--row': this.row\n }\n }\n },\n\n methods: {\n getRadios () {\n return this.$children\n .filter((child) => child.$el.classList.contains('radio'))\n },\n toggleRadio (value) {\n if (this.disabled) {\n return\n }\n\n this.shouldValidate = true\n this.$emit('change', value)\n this.$nextTick(() => this.validate())\n\n this.getRadios()\n .filter(r => r.value !== value)\n .forEach(r => r.isActive = false)\n },\n radioBlur (e) {\n if (!e.relatedTarget || !e.relatedTarget.classList.contains('radio')) {\n this.shouldValidate = true\n this.$emit('blur', this.inputValue)\n }\n },\n registerChild (radio) {\n radio.isActive = this.inputValue === radio.value\n radio.$el.tabIndex = radio.$el.tabIndex > 0 ? radio.$el.tabIndex : 0\n radio.$on('change', this.toggleRadio)\n radio.$on('blur', this.radioBlur)\n radio.$on('focus', this.radioFocus)\n },\n unregisterChild (radio) {\n radio.$off('change', this.toggleRadio)\n radio.$off('blur', this.radioBlur)\n radio.$off('focus', this.radioFocus)\n }\n },\n\n mounted () {\n this.getRadios().forEach(radio => this.registerChild(radio))\n },\n\n beforeDestroy () {\n this.getRadios().forEach(radio => this.unregisterChild(radio))\n },\n\n render (h) {\n const data = {\n attrs: {\n role: 'radiogroup'\n }\n }\n return this.genInputGroup(this.$slots.default, data)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VRadioGroup/VRadioGroup.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_radio-group.styl\n// module id = 170\n// module chunks = 0","import { VFadeTransition } from '../transitions'\nimport VIcon from '../VIcon'\n\nimport Colorable from '../../mixins/colorable'\nimport Rippleable from '../../mixins/rippleable'\nimport TabFocusable from '../../mixins/tab-focusable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-radio',\n\n inheritAttrs: false,\n\n inject: ['isMandatory', 'name', 'registerChild', 'unregisterChild'],\n\n components: {\n VFadeTransition,\n VIcon\n },\n\n mixins: [Colorable, Rippleable, TabFocusable, Themeable],\n\n props: {\n disabled: Boolean,\n value: null,\n label: String\n },\n\n data () {\n return {\n isActive: false\n }\n },\n\n computed: {\n classes () {\n return this.addColorClassChecks({\n 'input-group': true,\n 'input-group--active': this.isActive,\n 'input-group--disabled': this.disabled,\n 'input-group--selection-controls': true,\n 'input-group--tab-focused': this.tabFocused,\n 'radio': true,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n })\n },\n\n icon () {\n return this.isActive ? 'radio_button_checked' : 'radio_button_unchecked'\n }\n },\n\n methods: {\n genInput (radio) {\n const value = ['string', 'number'].includes(typeof this.value)\n ? this.value\n : JSON.stringify(this.value)\n const input = this.$createElement('input', {\n ref: 'input',\n style: {\n display: 'none'\n },\n attrs: Object.assign({\n name: this.name && this.name(),\n id: this.id,\n type: 'radio',\n value\n }, this.$attrs)\n }, [value])\n\n radio.push(input)\n\n return this.$createElement('div', {\n class: 'input-group__input'\n }, radio)\n },\n genWrapper (radio) {\n const children = []\n\n children.push(this.genLabel())\n children.push(this.genInput(radio))\n\n return this.$createElement('div', {\n class: this.classes,\n attrs: {\n role: 'radio',\n 'aria-checked': this.isActive && 'true' || 'false',\n 'aria-label': this.label\n },\n on: {\n keydown: e => {\n if ([13, 32].includes(e.keyCode)) {\n e.preventDefault()\n this.toggle()\n }\n },\n blur: e => {\n this.$emit('blur', e)\n this.tabFocused = false\n }\n }\n }, children)\n },\n genLabel () {\n return this.$createElement('label', {\n on: {\n click: this.toggle\n }\n }, this.$slots.label || this.label)\n },\n toggle () {\n const mandatory = this.isMandatory &&\n this.isMandatory() || false\n\n if (!this.disabled && (!this.isActive || !mandatory)) {\n this.$refs.input.checked = true\n this.isActive = true\n this.$emit('change', this.value)\n }\n }\n },\n\n created () {\n // Semantic check to help people identify the reason for the inject error above it.\n if (!this.$parent || !this.$parent.$vnode || !this.$parent.$vnode.tag ||\n !this.$parent.$vnode.tag.endsWith('v-radio-group')) {\n console.warn('[Vuetify] Warn: The v-radio component must have an immediate parent of v-radio-group.')\n }\n },\n\n mounted () {\n this.registerChild(this)\n },\n\n beforeDestroy () {\n this.unregisterChild(this)\n },\n\n render (h) {\n const transition = h('v-fade-transition', {}, [\n h('v-icon', {\n staticClass: 'icon--selection-control',\n 'class': {\n 'icon--radio': this.isActive\n },\n key: this.icon\n }, this.icon)\n ])\n\n return this.genWrapper([transition, this.genRipple()])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VRadioGroup/VRadio.js","export default {\n data () {\n return {\n tabFocused: false\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/tab-focusable.js","import VSlider from './VSlider'\n\nVSlider.install = function install (Vue) {\n Vue.component(VSlider.name, VSlider)\n}\n\nexport default VSlider\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSlider/index.js","require('../../stylus/components/_sliders.styl')\n\nimport { addOnceEventListener, createRange } from '../../util/helpers'\n\nimport Input from '../../mixins/input'\n\nimport ClickOutside from '../../directives/click-outside'\n\nexport default {\n name: 'v-slider',\n\n mixins: [Input],\n\n directives: { ClickOutside },\n\n data () {\n return {\n app: {},\n isActive: false,\n keyPressed: 0\n }\n },\n\n props: {\n color: {\n type: String,\n default: null\n },\n inverted: Boolean,\n min: {\n type: [Number, String],\n default: 0\n },\n max: {\n type: [Number, String],\n default: 100\n },\n step: {\n type: [Number, String],\n default: null\n },\n thumbColor: {\n type: String,\n default: null\n },\n thumbLabel: Boolean,\n value: [Number, String],\n vertical: Boolean,\n snap: Boolean,\n trackColor: {\n type: String,\n default: null\n }\n },\n\n computed: {\n classes () {\n return {\n 'input-group--slider': true,\n 'input-group--active': this.isActive,\n 'input-group--dirty': this.inputWidth > 0,\n 'input-group--disabled': this.disabled,\n 'input-group--ticks': !this.disabled && this.step\n }\n },\n inputValue: {\n get () {\n return this.value\n },\n set (val) {\n const { min, max, step, snap } = this\n val = val < min && min || val > max && max || val\n /*\n if (Math.ceil(val) % Math.ceil(this.lazyValue) < 2) {\n this.inputWidth = this.calculateWidth(val)\n }\n */\n\n const value = snap ? Math.round(val / step) * step : parseInt(val)\n this.lazyValue = value\n\n if (value !== this.value) {\n this.$emit('input', value)\n }\n }\n },\n interval () {\n return 100 / (this.max - this.min) * this.step\n },\n thumbContainerClasses () {\n return {\n 'slider__thumb-container': true,\n 'slider__thumb-container--label': this.thumbLabel\n }\n },\n thumbStyles () {\n return {\n transition: this.keyPressed >= 2 ? 'none' : '',\n left: `${this.inputWidth}%`\n }\n },\n tickContainerStyles () {\n return {\n transform: `translate3d(0, -50%, 0)`\n }\n },\n trackStyles () {\n const scaleX = this.calculateScale(1 - (this.inputWidth / 100))\n const offsetX = this.thumbLabel ? 0 : !this.isActive ? 8 : 12\n const translateX = `${offsetX}px`\n return {\n transition: this.keyPressed >= 2 ? 'none' : '',\n transform: `scaleX(${scaleX}) translateX(${translateX})`\n }\n },\n trackFillStyles () {\n const inputWidth = this.inputWidth\n const scaleX = this.calculateScale(inputWidth / 100)\n const translateX = inputWidth > 99 && !this.thumbLabel ? `${-8}px` : 0\n return {\n transition: this.keyPressed >= 2 ? 'none' : '',\n transform: `scaleX(${scaleX}) translateX(${translateX})`\n }\n },\n numTicks () {\n return parseInt((this.max - this.min) / this.step)\n },\n inputWidth () {\n let val = this.inputValue\n if (this.snap) {\n val = Math.round(val / this.step) * this.step\n }\n\n val = (val - this.min) / (this.max - this.min) * 100\n\n return val < 0.15 ? 0 : val\n }\n },\n\n watch: {\n isActive (val) {\n this.isFocused = val\n },\n min (val) {\n val > this.inputValue && this.$emit('input', val)\n },\n max (val) {\n val < this.inputValue && this.$emit('input', val)\n },\n value (val) {\n this.inputValue = val\n }\n },\n\n mounted () {\n this.inputValue = this.value\n\n // Without a v-app, iOS does not work with body selectors\n this.app = document.querySelector('[data-app]') ||\n console.warn('The v-slider component requires the present of v-app or a non-body wrapping element with the [data-app] attribute.')\n },\n\n methods: {\n calculateScale (scale) {\n return this.disabled ? scale - 0.015 : scale\n },\n onMouseDown (e) {\n this.keyPressed = 2\n const options = { passive: true }\n this.isActive = true\n\n if ('touches' in e) {\n this.app.addEventListener('touchmove', this.onMouseMove, options)\n addOnceEventListener(this.app, 'touchend', this.onMouseUp)\n } else {\n this.app.addEventListener('mousemove', this.onMouseMove, options)\n addOnceEventListener(this.app, 'mouseup', this.onMouseUp)\n }\n },\n onMouseUp () {\n this.keyPressed = 0\n const options = { passive: true }\n this.isActive = false\n this.app.removeEventListener('touchmove', this.onMouseMove, options)\n this.app.removeEventListener('mousemove', this.onMouseMove, options)\n },\n onMouseMove (e) {\n const {\n left: offsetLeft,\n width: trackWidth\n } = this.$refs.track.getBoundingClientRect()\n const clientX = 'touches' in e ? e.touches[0].clientX : e.clientX\n const left = (\n ((clientX - offsetLeft) / trackWidth) * 100\n )\n\n if (left >= 0 && left <= 100) {\n this.inputValue = parseInt(this.min, 10) + ((left / 100) * (this.max - this.min))\n }\n },\n onKeyDown (e) {\n if (e.keyCode === 37 || e.keyCode === 39) {\n this.keyPressed += 1\n\n const direction = e.keyCode === 37 && -1 || e.keyCode === 39 && 1 || 0\n const multiplier = e.shiftKey && 3 || e.ctrlKey && 2 || 1\n const amount = this.snap && this.step || 1\n\n this.inputValue = this.inputValue + (direction * amount * multiplier)\n }\n },\n onKeyUp (e) {\n this.keyPressed = 0\n },\n sliderMove (e) {\n if (!this.isActive) {\n this.onMouseMove(e)\n }\n },\n genThumbLabel (h) {\n return h('v-scale-transition', {\n props: { origin: 'bottom center' }\n }, [\n h('div', {\n 'class': 'slider__thumb--label__container',\n directives: [\n {\n name: 'show',\n value: this.isActive\n }\n ]\n }, [\n h('div', { 'class': ['slider__thumb--label', this.thumbColor || this.color] }, [\n h('span', {}, parseInt(this.inputValue))\n ])\n ])\n ])\n },\n genThumbContainer (h) {\n const children = []\n children.push(h('div', { 'class': ['slider__thumb', this.thumbColor || this.color] }))\n\n this.thumbLabel && children.push(this.genThumbLabel(h))\n\n return h('div', {\n 'class': this.thumbContainerClasses,\n style: this.thumbStyles,\n on: {\n touchstart: this.onMouseDown,\n mousedown: this.onMouseDown\n },\n ref: 'thumb'\n }, children)\n },\n genSteps (h) {\n const ticks = createRange(this.numTicks + 1).map((i) => {\n const span = h('span', {\n class: 'slider__tick',\n style: {\n left: `${i * (100 / this.numTicks)}%`\n }\n })\n\n return span\n })\n\n return h('div', {\n 'class': 'slider__ticks-container',\n style: this.tickContainerStyles\n }, ticks)\n },\n genTrackContainer (h) {\n const children = [\n h('div', {\n 'class': ['slider__track', this.trackColor],\n style: this.trackStyles\n }),\n h('div', {\n 'class': ['slider__track-fill', this.color],\n style: this.trackFillStyles\n })\n ]\n\n return h('div', {\n 'class': 'slider__track__container',\n ref: 'track'\n }, children)\n }\n },\n\n render (h) {\n const children = []\n\n children.push(this.genTrackContainer(h))\n this.step && children.push(this.genSteps(h))\n children.push(this.genThumbContainer(h))\n\n const slider = h('div', { 'class': 'slider' }, children)\n\n return this.genInputGroup([slider], {\n attrs: {\n role: 'slider',\n tabindex: this.tabindex\n },\n on: Object.assign({}, {\n mouseup: this.sliderMove,\n keydown: this.onKeyDown,\n keyup: this.onKeyUp\n }, this.$listeners),\n directives: [{\n name: 'click-outside'\n }]\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSlider/VSlider.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_sliders.styl\n// module id = 175\n// module chunks = 0","import VSnackbar from './VSnackbar'\n\nVSnackbar.install = function install (Vue) {\n Vue.component(VSnackbar.name, VSnackbar)\n}\n\nexport default VSnackbar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSnackbar/index.js","require('../../stylus/components/_snackbars.styl')\n\nimport {\n VSlideYTransition,\n VSlideYReverseTransition\n} from '../transitions'\n\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-snackbar',\n\n components: {\n VSlideYTransition,\n VSlideYReverseTransition\n },\n\n mixins: [Colorable, Toggleable],\n\n data () {\n return {\n activeTimeout: {}\n }\n },\n\n props: {\n absolute: Boolean,\n bottom: Boolean,\n left: Boolean,\n multiLine: Boolean,\n right: Boolean,\n top: Boolean,\n // TODO: change this to closeDelay to match other API in delayable.js\n timeout: {\n type: Number,\n default: 6000\n },\n vertical: Boolean\n },\n\n computed: {\n classes () {\n const classes = {\n 'snack--active': this.isActive,\n 'snack--absolute': this.absolute,\n 'snack--bottom': this.bottom || !this.top,\n 'snack--left': this.left,\n 'snack--multi-line': this.multiLine && !this.vertical,\n 'snack--right': this.right,\n 'snack--top': this.top,\n 'snack--vertical': this.vertical\n }\n if (this.color) {\n classes[this.color] = true\n }\n return classes\n },\n computedTransition () {\n return this.top ? 'v-slide-y-transition' : 'v-slide-y-reverse-transition'\n }\n },\n\n watch: {\n isActive () {\n this.setTimeout()\n }\n },\n\n methods: {\n setTimeout () {\n clearTimeout(this.activeTimeout)\n\n if (this.isActive && this.timeout) {\n this.activeTimeout = setTimeout(() => {\n this.isActive = false\n }, this.timeout)\n }\n }\n },\n\n mounted () {\n this.setTimeout()\n },\n\n render (h) {\n const children = []\n\n if (this.isActive) {\n children.push(h('div', {\n staticClass: 'snack__content'\n }, this.$slots.default))\n }\n\n return h('div', {\n staticClass: 'snack',\n 'class': this.classes,\n on: this.$listeners\n }, [h(this.computedTransition, children)])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSnackbar/VSnackbar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_snackbars.styl\n// module id = 178\n// module chunks = 0","import VSpeedDial from './VSpeedDial'\n\nVSpeedDial.install = function install (Vue) {\n Vue.component(VSpeedDial.name, VSpeedDial)\n}\n\nexport default VSpeedDial\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSpeedDial/index.js","require('../../stylus/components/_speed-dial.styl')\n\nimport Toggleable from '../../mixins/toggleable'\nimport Positionable from '../../mixins/positionable'\n\nimport ClickOutside from '../../directives/click-outside'\n\nexport default {\n name: 'v-speed-dial',\n\n mixins: [Positionable, Toggleable],\n\n directives: { ClickOutside },\n\n props: {\n direction: {\n type: String,\n default: 'top',\n validator: (val) => {\n return ['top', 'right', 'bottom', 'left'].includes(val)\n }\n },\n hover: Boolean,\n transition: {\n type: String,\n default: 'scale-transition'\n }\n },\n\n computed: {\n classes () {\n return {\n 'speed-dial': true,\n 'speed-dial--top': this.top,\n 'speed-dial--right': this.right,\n 'speed-dial--bottom': this.bottom,\n 'speed-dial--left': this.left,\n 'speed-dial--absolute': this.absolute,\n 'speed-dial--fixed': this.fixed,\n [`speed-dial--direction-${this.direction}`]: true\n }\n }\n },\n\n render (h) {\n let children = []\n const data = {\n 'class': this.classes,\n directives: [{\n name: 'click-outside'\n }],\n on: {\n click: () => (this.isActive = !this.isActive)\n }\n }\n\n if (this.hover) {\n data.on.mouseenter = () => (this.isActive = true)\n data.on.mouseleave = () => (this.isActive = false)\n }\n\n if (this.isActive) {\n children = (this.$slots.default || []).map((b, i) => {\n b.key = i\n\n return b\n })\n }\n\n const list = h('transition-group', {\n 'class': 'speed-dial__list',\n props: {\n name: this.transition,\n tag: 'div'\n }\n }, children)\n\n return h('div', data, [this.$slots.activator, list])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSpeedDial/VSpeedDial.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_speed-dial.styl\n// module id = 181\n// module chunks = 0","import { createSimpleFunctional } from '../../util/helpers'\nimport VStepper from './VStepper'\nimport VStepperStep from './VStepperStep'\nimport VStepperContent from './VStepperContent'\n\nVStepper.install = function install (Vue) {\n const VStepperHeader = createSimpleFunctional('stepper__header')\n const VStepperItems = createSimpleFunctional('stepper__items')\n\n Vue.component(VStepper.name, VStepper)\n Vue.component(VStepperContent.name, VStepperContent)\n Vue.component(VStepperStep.name, VStepperStep)\n Vue.component(VStepperHeader.name, VStepperHeader)\n Vue.component(VStepperItems.name, VStepperItems)\n}\n\nexport default VStepper\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/index.js","require('../../stylus/components/_steppers.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-stepper',\n\n mixins: [Themeable],\n\n provide () {\n return {\n stepClick: this.stepClick\n }\n },\n\n data () {\n return {\n inputValue: null,\n isBooted: false,\n steps: [],\n content: [],\n isReverse: false\n }\n },\n\n props: {\n nonLinear: Boolean,\n altLabels: Boolean,\n vertical: Boolean,\n value: [Number, String]\n },\n\n computed: {\n classes () {\n return {\n 'stepper': true,\n 'stepper--is-booted': this.isBooted,\n 'stepper--vertical': this.vertical,\n 'stepper--alt-labels': this.altLabels,\n 'stepper--non-linear': this.nonLinear,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n }\n },\n\n watch: {\n inputValue (val, prev) {\n this.isReverse = Number(val) < Number(prev)\n this.steps.forEach(i => i.toggle(this.inputValue))\n this.content.forEach(i => i.toggle(this.inputValue, this.isReverse))\n\n this.$emit('input', this.inputValue)\n prev && (this.isBooted = true)\n },\n value () {\n this.getSteps()\n this.$nextTick(() => (this.inputValue = this.value))\n }\n },\n\n mounted () {\n this.$vuetify.load(this.init)\n },\n\n methods: {\n init () {\n this.getSteps()\n\n this.inputValue = this.value || this.steps[0].step || 1\n },\n getSteps () {\n this.steps = []\n this.content = []\n this.$children.forEach(i => {\n if (i.$options._componentTag === 'v-stepper-step') {\n this.steps.push(i)\n } else if (i.$options._componentTag === 'v-stepper-content') {\n i.isVertical = this.vertical\n this.content.push(i)\n }\n })\n },\n stepClick (step) {\n this.getSteps()\n this.$nextTick(() => (this.inputValue = step))\n }\n },\n\n render (h) {\n return h('div', {\n 'class': this.classes\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/VStepper.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_steppers.styl\n// module id = 184\n// module chunks = 0","import VIcon from '../VIcon'\nimport Ripple from '../../directives/ripple'\n\nexport default {\n name: 'v-stepper-step',\n\n components: { VIcon },\n\n directives: { Ripple },\n\n inject: ['stepClick'],\n\n data () {\n return {\n isActive: false,\n isInactive: true\n }\n },\n\n props: {\n complete: Boolean,\n completeIcon: {\n type: String,\n default: 'check'\n },\n editIcon: {\n type: String,\n default: 'edit'\n },\n errorIcon: {\n type: String,\n default: 'warning'\n },\n editable: Boolean,\n rules: {\n type: Array,\n default: () => []\n },\n step: [Number, String]\n },\n\n computed: {\n classes () {\n return {\n 'stepper__step': true,\n 'stepper__step--active': this.isActive,\n 'stepper__step--editable': this.editable,\n 'stepper__step--inactive': this.isInactive,\n 'stepper__step--error': this.hasError,\n 'stepper__step--complete': this.complete\n }\n },\n hasError () {\n return this.rules.some(i => (i() !== true))\n }\n },\n\n methods: {\n click (e) {\n e.stopPropagation()\n\n if (this.editable) {\n this.stepClick(this.step)\n }\n },\n toggle (step) {\n this.isActive = step.toString() === this.step.toString()\n this.isInactive = Number(step) < Number(this.step)\n }\n },\n\n render (h) {\n const data = {\n 'class': this.classes,\n directives: [{\n name: 'ripple',\n value: this.editable\n }],\n on: { click: this.click }\n }\n let stepContent\n\n if (this.hasError) {\n stepContent = [h('v-icon', {}, this.errorIcon)]\n } else if (this.complete) {\n if (this.editable) {\n stepContent = [h('v-icon', {}, this.editIcon)]\n } else {\n stepContent = [h('v-icon', {}, this.completeIcon)]\n }\n } else {\n stepContent = this.step\n }\n\n const step = h('span', { 'class': 'stepper__step__step' }, stepContent)\n const label = h('div', { 'class': 'stepper__label' }, this.$slots.default)\n\n return h('div', data, [step, label])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/VStepperStep.js","import {\n VTabTransition,\n VTabReverseTransition\n} from '../transitions'\n\nexport default {\n name: 'v-stepper-content',\n\n components: {\n VTabTransition,\n VTabReverseTransition\n },\n\n data () {\n return {\n height: 0,\n isActive: false,\n isReverse: false,\n isVertical: false\n }\n },\n\n props: {\n step: {\n type: [Number, String],\n required: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'stepper__content': true\n }\n },\n computedTransition () {\n return this.isReverse\n ? 'v-tab-reverse-transition'\n : 'v-tab-transition'\n },\n styles () {\n if (!this.isVertical) return {}\n\n return {\n height: !isNaN(this.height) ? `${this.height}px` : this.height\n }\n },\n wrapperClasses () {\n return {\n 'stepper__wrapper': true\n }\n }\n },\n\n watch: {\n isActive () {\n if (!this.isVertical) {\n return\n }\n\n if (this.isActive) {\n this.enter()\n } else {\n this.leave()\n }\n }\n },\n\n mounted () {\n this.$refs.wrapper.addEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n },\n\n beforeDestroy () {\n this.$refs.wrapper.removeEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n },\n\n methods: {\n onTransition () {\n if (!this.isActive) return\n\n this.height = 'auto'\n },\n enter () {\n let scrollHeight = 0\n\n // Render bug with height\n setTimeout(() => {\n scrollHeight = this.$refs.wrapper.scrollHeight\n }, 0)\n\n this.height = 0\n\n // Give the collapsing element time to collapse\n setTimeout(() => (this.height = (scrollHeight || 'auto')), 450)\n },\n leave () {\n this.height = this.$refs.wrapper.clientHeight\n setTimeout(() => (this.height = 0), 0)\n },\n toggle (step, reverse) {\n this.isActive = step.toString() === this.step.toString()\n this.isReverse = reverse\n }\n },\n\n render (h) {\n const contentData = {\n 'class': this.classes\n }\n const wrapperData = {\n 'class': this.wrapperClasses,\n style: this.styles,\n ref: 'wrapper'\n }\n\n if (!this.isVertical) {\n contentData.directives = [{\n name: 'show',\n value: this.isActive\n }]\n }\n\n const wrapper = h('div', wrapperData, [this.$slots.default])\n const content = h('div', contentData, [wrapper])\n\n return h(this.computedTransition, {\n on: this.$listeners\n }, [content])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/VStepperContent.js","import VSubheader from './VSubheader'\n\nVSubheader.install = function install (Vue) {\n Vue.component(VSubheader.name, VSubheader)\n}\n\nexport default VSubheader\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSubheader/index.js","require('../../stylus/components/_subheaders.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-subheader',\n\n functional: true,\n\n mixins: [Themeable],\n\n props: {\n inset: Boolean\n },\n\n render (h, { data, children, props }) {\n data.staticClass = (`subheader ${data.staticClass || ''}`).trim()\n\n if (props.inset) data.staticClass += ' subheader--inset'\n if (props.light) data.staticClass += ' theme--light'\n if (props.dark) data.staticClass += ' theme--dark'\n\n return h('li', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSubheader/VSubheader.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_subheaders.styl\n// module id = 189\n// module chunks = 0","import VSwitch from './VSwitch'\n\nVSwitch.install = function install (Vue) {\n Vue.component(VSwitch.name, VSwitch)\n}\n\nexport default VSwitch\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSwitch/index.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_selection-controls.styl')\nrequire('../../stylus/components/_switch.styl')\n\nimport Rippleable from '../../mixins/rippleable'\nimport Selectable from '../../mixins/selectable'\n\nexport default {\n name: 'v-switch',\n\n mixins: [Rippleable, Selectable],\n\n computed: {\n classes () {\n const classes = {\n 'input-group--selection-controls switch': true\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n rippleClasses () {\n return {\n 'input-group--selection-controls__ripple': true,\n 'input-group--selection-controls__ripple--active': this.isActive\n }\n },\n containerClasses () {\n return {\n 'input-group--selection-controls__container': true,\n 'input-group--selection-controls__container--light': this.light,\n 'input-group--selection-controls__container--disabled': this.disabled\n }\n },\n toggleClasses () {\n return {\n 'input-group--selection-controls__toggle': true,\n 'input-group--selection-controls__toggle--active': this.isActive\n }\n }\n },\n\n render (h) {\n const container = h('div', {\n 'class': this.containerClasses\n }, [\n h('div', { 'class': this.toggleClasses }),\n this.genRipple()\n ])\n\n return this.genInputGroup([container])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSwitch/VSwitch.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_switch.styl\n// module id = 192\n// module chunks = 0","import VSystemBar from './VSystemBar'\n\nVSystemBar.install = function install (Vue) {\n Vue.component(VSystemBar.name, VSystemBar)\n}\n\nexport default VSystemBar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSystemBar/index.js","require('../../stylus/components/_system-bars.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-system-bar',\n\n mixins: [Applicationable, Themeable],\n\n props: {\n lightsOut: Boolean,\n status: Boolean,\n window: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'system-bar': true,\n 'system-bar--lights-out': this.lightsOut,\n 'system-bar--status': this.status,\n 'system-bar--window': this.window,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n computedHeight () {\n if (this.window) return 32\n\n return 24\n }\n },\n\n methods: {\n updateApplication () {\n if (!this.app) return\n\n this.$vuetify.application.bar = this.computedHeight\n }\n },\n\n render (h) {\n const data = {\n 'class': this.classes,\n style: {\n height: `${this.computedHeight}px`\n }\n }\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSystemBar/VSystemBar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_system-bars.styl\n// module id = 195\n// module chunks = 0","import {\n createSimpleFunctional\n} from '../../util/helpers'\n\nimport VTabs from './VTabs'\nimport VTabsItem from './VTabsItem'\nimport VTabsItems from './VTabsItems'\nimport VTabsContent from './VTabsContent'\nimport VTabsBar from './VTabsBar'\n\nVTabs.install = function install (Vue) {\n const VTabsSlider = createSimpleFunctional('tabs__slider', 'li')\n\n Vue.component(VTabs.name, VTabs)\n Vue.component(VTabsBar.name, VTabsBar)\n Vue.component(VTabsContent.name, VTabsContent)\n Vue.component(VTabsItem.name, VTabsItem)\n Vue.component(VTabsSlider.name, VTabsSlider)\n Vue.component(VTabsItems.name, VTabsItems)\n}\n\nexport default VTabs\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/index.js","require('../../stylus/components/_tabs.styl')\n\nimport Themeable from '../../mixins/themeable'\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-tabs',\n\n directives: {\n Resize\n },\n\n mixins: [Themeable],\n\n provide () {\n return {\n registerContent: this.registerContent,\n unregisterContent: this.unregisterContent,\n registerTabItem: this.registerTabItem,\n unregisterTabItem: this.unregisterTabItem,\n next: this.next,\n prev: this.prev,\n slider: this.slider,\n tabClick: this.tabClick,\n isScrollable: () => this.scrollable,\n isMobile: () => this.isMobile\n }\n },\n\n data () {\n return {\n content: [],\n tabItems: [],\n activeIndex: null,\n isBooted: false,\n isMobile: false,\n reverse: false,\n target: null,\n tabsSlider: null,\n targetEl: null,\n tabsContainer: null\n }\n },\n\n props: {\n centered: Boolean,\n fixed: Boolean,\n grow: Boolean,\n icons: Boolean,\n mobileBreakPoint: {\n type: [Number, String],\n default: 1280\n },\n value: String,\n scrollable: {\n type: Boolean,\n default: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'tabs': true,\n 'tabs--centered': this.centered,\n 'tabs--fixed': this.fixed,\n 'tabs--grow': this.grow,\n 'tabs--icons': this.icons,\n 'tabs--mobile': this.isMobile,\n 'tabs--scroll-bars': this.scrollable,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n }\n },\n\n watch: {\n value () {\n this.tabClick(this.value)\n },\n activeIndex () {\n this.updateTabs()\n this.$nextTick(() => (this.isBooted = true))\n },\n tabItems (newItems, oldItems) {\n // Tab item got removed\n if (oldItems.length > newItems.length) {\n if (!newItems.find(o => o.id === this.target)) {\n const i = oldItems.findIndex(o => o.id === this.target)\n\n this.$nextTick(() => {\n this.activeIndex = this.tabItems[i > 0 ? i - 1 : 0].id\n this.target = this.activeIndex\n })\n }\n }\n this.slider()\n }\n },\n\n mounted () {\n this.$vuetify.load(() => {\n // // This is a workaround to detect if link is active\n // // when being used as a router or nuxt link\n const i = this.tabItems.findIndex(({ el }) => {\n return el.firstChild.classList.contains('tabs__item--active')\n })\n\n const tab = this.value || (this.tabItems[i !== -1 ? i : 0] || {}).id\n\n tab && this.tabClick(tab) && this.onResize()\n })\n },\n\n methods: {\n registerContent (id, toggle) {\n this.content.push({ id, toggle })\n },\n registerTabItem (id, toggle, el) {\n this.tabItems.push({ id, toggle, el })\n },\n unregisterContent (id) {\n this.content = this.content.filter(o => o.id !== id)\n },\n unregisterTabItem (id) {\n this.tabItems = this.tabItems.filter(o => o.id !== id)\n },\n next (cycle) {\n let nextIndex = this.activeIndex + 1\n\n if (!this.content[nextIndex]) {\n if (!cycle) return\n nextIndex = 0\n }\n\n this.tabClick(this.tabItems[nextIndex].id)\n },\n prev (cycle) {\n let prevIndex = this.activeIndex - 1\n\n if (!this.content[prevIndex]) {\n if (!cycle) return\n prevIndex = this.content.length - 1\n }\n\n this.tabClick(this.tabItems[prevIndex].id)\n },\n onResize () {\n this.isMobile = window.innerWidth < this.mobileBreakPoint\n this.slider()\n },\n slider (el) {\n this.tabsSlider = this.tabsSlider ||\n this.$el.querySelector('.tabs__slider')\n\n this.tabsContainer = this.tabsContainer ||\n this.$el.querySelector('.tabs__container')\n\n if (!this.tabsSlider || !this.tabsContainer) return\n\n this.targetEl = el || this.targetEl\n\n if (!this.targetEl) return\n\n // Gives DOM time to paint when\n // processing slider for\n // dynamic tabs\n this.$nextTick(() => {\n // #684 Calculate width as %\n const width = (\n this.targetEl.scrollWidth /\n this.tabsContainer.clientWidth *\n 100\n )\n\n this.tabsSlider.style.width = `${width}%`\n this.tabsSlider.style.left = `${this.targetEl.offsetLeft}px`\n })\n },\n tabClick (target) {\n const setActiveIndex = index => {\n if (this.activeIndex === index) {\n // #762 update tabs display\n // In case tabs count got changed but activeIndex didn't\n this.updateTabs()\n } else {\n this.activeIndex = index\n }\n }\n\n this.target = target\n\n this.$nextTick(() => {\n const nextIndex = this.content.findIndex(o => o.id === target)\n this.reverse = nextIndex < this.activeIndex\n setActiveIndex(nextIndex)\n\n this.$emit('input', this.target)\n })\n },\n updateTabs () {\n this.content.forEach(({ toggle }) => {\n toggle(this.target, this.reverse, this.isBooted)\n })\n\n this.tabItems.forEach(({ toggle }) => {\n toggle(this.target)\n })\n }\n },\n\n render (h) {\n return h('div', {\n 'class': this.classes,\n directives: [{\n name: 'resize',\n value: this.onResize\n }]\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabs.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_tabs.styl\n// module id = 198\n// module chunks = 0","import Routable from '../../mixins/routable'\n\nexport default {\n name: 'v-tabs-item',\n\n inject: ['slider', 'tabClick', 'addTabItem', 'removeTabItem'],\n\n mixins: [Routable],\n\n data () {\n return {\n isActive: false\n }\n },\n\n props: {\n activeClass: {\n type: String,\n default: 'tabs__item--active'\n }\n },\n\n computed: {\n classes () {\n const classes = {\n 'tabs__item': true,\n 'tabs__item--disabled': this.disabled\n }\n\n classes[this.activeClass] = !this.to && this.isActive\n\n return classes\n },\n action () {\n const to = this.to || this.href\n\n if (!to || to === Object(to)) return this._uid\n\n return to.replace('#', '')\n }\n },\n\n watch: {\n $route () {\n this.to && this.callSlider()\n }\n },\n\n mounted () {\n this.addTabItem(this.action, this.toggle, this.$el)\n this.callSlider()\n },\n\n beforeDestroy () {\n this.removeTabItem(this.action)\n },\n\n methods: {\n callSlider () {\n setTimeout(() => {\n this.$el.firstChild.classList.contains('tabs__item--active') &&\n this.slider(this.$el)\n }, 0)\n },\n click (e) {\n e.preventDefault()\n\n if (!this.to && !this.href) return\n\n if (!this.to) {\n this.tabClick(this.action)\n }\n\n this.callSlider()\n },\n\n toggle (action) {\n this.isActive = this.action === action\n\n this.$nextTick(() => {\n this.isActive && this.slider(this.$el)\n })\n }\n },\n\n render (h) {\n const link = this.generateRouteLink()\n const { data } = link\n\n // If disabled, use div as anchor tags do not support\n // being disabled\n const tag = this.disabled ? 'div' : link.tag\n\n return h('li', {\n 'class': 'tabs__li'\n }, [h(tag, data, this.$slots.default)])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsItem.js","export default {\n name: 'v-tabs-items',\n\n inject: ['next', 'prev'],\n\n props: {\n cycle: Boolean,\n touchless: Boolean\n },\n\n methods: {\n swipeLeft () {\n this.next(this.cycle)\n },\n swipeRight () {\n this.prev(this.cycle)\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'tabs__items',\n directives: []\n }\n\n !this.touchless && data.directives.push({\n name: 'touch',\n value: {\n left: this.swipeLeft,\n right: this.swipeRight\n }\n })\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsItems.js","import Bootable from '../../mixins/bootable'\n\nimport {\n VTabTransition,\n VTabReverseTransition\n} from '../transitions'\n\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-tabs-content',\n\n mixins: [Bootable],\n\n inject: ['registerContent', 'unregisterContent'],\n\n components: {\n VTabTransition,\n VTabReverseTransition\n },\n\n directives: {\n Touch\n },\n\n data () {\n return {\n isActive: false,\n reverse: false\n }\n },\n\n props: {\n id: {\n type: String,\n required: true\n },\n transition: {\n type: [Boolean, String],\n default: 'tab-transition'\n },\n reverseTransition: {\n type: [Boolean, String],\n default: 'tab-reverse-transition'\n }\n },\n\n computed: {\n computedTransition () {\n return this.reverse ? this.reverseTransition : this.transition\n }\n },\n\n methods: {\n toggle (target, reverse, showTransition) {\n this.$el.style.transition = !showTransition ? 'none' : null\n this.reverse = reverse\n this.isActive = this.id === target\n }\n },\n\n mounted () {\n this.registerContent(this.id, this.toggle)\n },\n\n beforeDestroy () {\n this.unregisterContent(this.id)\n },\n\n render (h) {\n const data = {\n 'class': 'tabs__content',\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n on: this.$listeners\n }\n\n const div = h('div', data, this.showLazyContent(this.$slots.default))\n\n if (!this.computedTransition) {\n return div\n }\n\n return h('transition', {\n props: {\n name: this.computedTransition\n }\n }, [div])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsContent.js","import VIcon from '../VIcon'\n\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-tabs-bar',\n\n directives: {\n Resize,\n Touch\n },\n\n provide () {\n return {\n addTabItem: (action, toggle, el) => {\n this.registerTabItem(action, toggle, el)\n this.onResize()\n },\n removeTabItem: (action) => {\n this.unregisterTabItem(action)\n this.onResize()\n }\n }\n },\n\n inject: ['isScrollable', 'isMobile', 'registerTabItem', 'unregisterTabItem'],\n\n data () {\n return {\n isOverflowing: false,\n scrollOffset: 0,\n itemOffset: 0,\n startX: 0\n }\n },\n\n computed: {\n classes () {\n return {\n 'tabs__bar': true\n }\n },\n containerClasses () {\n return {\n 'tabs__container': true\n }\n },\n wrapperClasses () {\n return {\n 'tabs__wrapper': true,\n 'tabs__wrapper--scrollable': this.isScrollable(),\n 'tabs__wrapper--overflow': this.isOverflowing\n }\n },\n containerStyles () {\n return {\n 'transform': `translateX(${-this.scrollOffset}px)`\n }\n },\n leftIconVisible () {\n return !this.isMobile() &&\n this.isScrollable() &&\n this.isOverflowing &&\n this.scrollOffset > 0\n },\n rightIconVisible () {\n if (this.isMobile() ||\n !this.isScrollable() ||\n !this.isOverflowing) return\n\n // Check one scroll ahead to know the width of right-most item\n const container = this.$refs.container\n const item = this.newOffsetRight(this.scrollOffset, this.itemOffset)\n const itemWidth = item && container.children[item.index].clientWidth || 0\n const scrollOffset = this.scrollOffset + container.clientWidth\n\n return container.scrollWidth - scrollOffset > itemWidth * 0.30\n }\n },\n\n methods: {\n genContainer () {\n return this.$createElement('ul', {\n 'class': this.containerClasses,\n 'style': this.containerStyles,\n ref: 'container'\n }, this.$slots.default)\n },\n genIcon (direction) {\n const capitalize = direction.charAt(0).toUpperCase() + direction.slice(1)\n return this.$createElement(VIcon, {\n props: { [`${direction}`]: true },\n style: { display: 'inline-flex' },\n on: {\n click: this[`scroll${capitalize}`]\n }\n }, `chevron_${direction}`)\n },\n genWrapper () {\n return this.$createElement('div', {\n class: this.wrapperClasses,\n directives: [{\n name: 'touch',\n value: {\n start: this.start,\n move: this.move,\n end: this.end\n }\n }]\n }, [this.genContainer()])\n },\n start (e) {\n this.startX = this.scrollOffset + e.touchstartX\n this.$refs.container.style.transition = 'none'\n },\n move (e) {\n const offset = this.startX - e.touchmoveX\n this.scrollOffset = offset\n },\n end (e) {\n this.onResize()\n const container = this.$refs.container\n const scrollWidth = container.scrollWidth - this.$el.clientWidth / 2\n container.style.transition = null\n\n if (this.scrollOffset < 0 || !this.isOverflowing) {\n this.scrollOffset = 0\n } else if (this.scrollOffset >= scrollWidth) {\n const lastItem = container.children[container.children.length - 1]\n this.scrollOffset = scrollWidth - lastItem.clientWidth\n }\n },\n scrollLeft () {\n const { offset, index } = this.newOffset('Left')\n this.scrollOffset = offset\n this.itemOffset = index\n },\n scrollRight () {\n const { offset, index } = this.newOffset('Right')\n this.scrollOffset = offset\n this.itemOffset = index\n },\n onResize () {\n if (this._isDestroyed) return\n\n const container = this.$refs.container\n this.isOverflowing = container.clientWidth < container.scrollWidth\n },\n newOffset (direction) {\n return this[`newOffset${direction}`](this.scrollOffset, this.itemOffset)\n },\n newOffsetLeft (currentOffset, currentIndex) {\n const container = this.$refs.container\n const items = container.children\n let offset = 0\n\n for (let index = currentIndex - 1; index >= 0; index--) {\n if (!items[index].classList.contains('tabs__slider')) {\n const newOffset = offset + items[index].clientWidth\n if (newOffset >= container.clientWidth) {\n return { offset: currentOffset - offset, index: index + 1 }\n }\n offset = newOffset\n }\n }\n\n return { offset: 0, index: 0 }\n },\n newOffsetRight (currentOffset, currentIndex) {\n const container = this.$refs.container\n const items = container.children\n let offset = currentOffset\n\n for (let index = currentIndex; index < items.length; index++) {\n if (!items[index].classList.contains('tabs__slider')) {\n const newOffset = offset + items[index].clientWidth\n if (newOffset > currentOffset + container.clientWidth) {\n return { offset, index }\n }\n offset = newOffset\n }\n }\n\n return null\n }\n },\n\n render (h) {\n return h('div', {\n 'class': this.classes,\n directives: [{\n name: 'resize',\n value: this.onResize\n }]\n }, [\n this.genWrapper(),\n this.leftIconVisible ? this.genIcon('left') : null,\n this.rightIconVisible ? this.genIcon('right') : null\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsBar.js","import VTextField from './VTextField'\n\nVTextField.install = function install (Vue) {\n Vue.component(VTextField.name, VTextField)\n}\n\nexport default VTextField\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTextField/index.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_text-fields.styl')\n\nimport Colorable from '../../mixins/colorable'\nimport Input from '../../mixins/input'\nimport Maskable from '../../mixins/maskable'\nimport { isMaskDelimiter } from '../../util/mask'\n\nexport default {\n name: 'v-text-field',\n\n mixins: [Colorable, Input, Maskable],\n\n inheritAttrs: false,\n\n data () {\n return {\n initialValue: null,\n inputHeight: null,\n badInput: false,\n lazySelection: 0\n }\n },\n\n props: {\n autofocus: Boolean,\n autoGrow: Boolean,\n box: Boolean,\n clearable: Boolean,\n color: {\n type: String,\n default: 'primary'\n },\n counter: [Boolean, Number, String],\n fullWidth: Boolean,\n multiLine: Boolean,\n placeholder: String,\n prefix: String,\n rows: {\n default: 5\n },\n singleLine: Boolean,\n solo: Boolean,\n suffix: String,\n textarea: Boolean,\n type: {\n type: String,\n default: 'text'\n }\n },\n\n computed: {\n classes () {\n const classes = {\n 'input-group--text-field': true,\n 'input-group--text-field-box': this.box,\n 'input-group--single-line': this.singleLine || this.solo,\n 'input-group--solo': this.solo,\n 'input-group--multi-line': this.multiLine,\n 'input-group--full-width': this.fullWidth,\n 'input-group--prefix': this.prefix,\n 'input-group--suffix': this.suffix,\n 'input-group--textarea': this.textarea\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n count () {\n let inputLength\n if (this.inputValue) inputLength = this.inputValue.toString().length\n else inputLength = 0\n\n return `${inputLength} / ${this.counterLength}`\n },\n counterLength () {\n const parsedLength = parseInt(this.counter, 10)\n return isNaN(parsedLength) ? 25 : parsedLength\n },\n inputValue: {\n get () {\n return this.value\n },\n set (val) {\n this.lazyValue = val\n this.mask && this.setSelectionRange()\n this.$emit('input', val)\n }\n },\n isDirty () {\n return this.lazyValue != null &&\n this.lazyValue.toString().length > 0 ||\n this.badInput ||\n ['time', 'date', 'datetime-local', 'week', 'month'].includes(this.type)\n },\n shouldAutoGrow () {\n return (this.multiLine || this.textarea) && this.autoGrow\n }\n },\n\n watch: {\n isFocused (val) {\n if (val) {\n this.initialValue = this.lazyValue\n } else if (this.initialValue !== this.lazyValue) {\n this.$emit('change', this.lazyValue)\n }\n },\n value (val) {\n // Value was changed externally, update lazy\n this.lazyValue = val\n\n !this.validateOnBlur && this.validate()\n this.shouldAutoGrow && this.calculateInputHeight()\n }\n },\n\n mounted () {\n this.$vuetify.load(() => {\n this.shouldAutoGrow && this.calculateInputHeight()\n this.autofocus && this.focus()\n })\n },\n\n methods: {\n calculateInputHeight () {\n this.inputHeight = null\n\n this.$nextTick(() => {\n const height = this.$refs.input\n ? this.$refs.input.scrollHeight\n : 0\n const minHeight = this.rows * 24\n const inputHeight = height < minHeight ? minHeight : height\n this.inputHeight = inputHeight + (this.textarea ? 4 : 0)\n })\n },\n onInput (e) {\n this.resetSelections(e.target)\n this.inputValue = this.unmaskText(e.target.value)\n this.badInput = e.target.validity && e.target.validity.badInput\n this.shouldAutoGrow && this.calculateInputHeight()\n },\n blur (e) {\n this.isFocused = false\n\n this.$nextTick(() => {\n this.validate()\n })\n this.$emit('blur', e)\n },\n focus (e) {\n if (!this.$refs.input) return\n\n this.isFocused = true\n if (document.activeElement !== this.$refs.input) {\n this.$refs.input.focus()\n }\n this.$emit('focus', e)\n },\n genCounter () {\n return this.$createElement('div', {\n 'class': {\n 'input-group__counter': true,\n 'input-group__counter--error': this.hasError\n }\n }, this.count)\n },\n genInput () {\n const tag = this.multiLine || this.textarea ? 'textarea' : 'input'\n const listeners = Object.assign({}, this.$listeners)\n delete listeners['change'] // Change should not be bound externally\n\n const data = {\n style: {},\n domProps: {\n autofocus: this.autofocus,\n disabled: this.disabled,\n required: this.required,\n value: this.maskText(this.lazyValue || '')\n },\n attrs: {\n ...this.$attrs,\n readonly: this.readonly,\n tabindex: this.tabindex,\n 'aria-label': (!this.$attrs || !this.$attrs.id) && this.label // Label `for` will be set if we have an id\n },\n on: Object.assign(listeners, {\n blur: this.blur,\n input: this.onInput,\n focus: this.focus\n }),\n ref: 'input'\n }\n\n if (this.shouldAutoGrow) {\n data.style.height = this.inputHeight && `${this.inputHeight}px`\n }\n\n if (this.placeholder) data.domProps.placeholder = this.placeholder\n\n if (!this.textarea && !this.multiLine) {\n data.domProps.type = this.type\n } else {\n data.domProps.rows = this.rows\n }\n\n if (this.mask) {\n data.attrs.maxlength = this.masked.length\n }\n\n const children = [this.$createElement(tag, data)]\n\n this.prefix && children.unshift(this.genFix('prefix'))\n this.suffix && children.push(this.genFix('suffix'))\n\n return children\n },\n genFix (type) {\n return this.$createElement('span', {\n 'class': `input-group--text-field__${type}`\n }, this[type])\n },\n clearableCallback () {\n this.inputValue = null\n this.$nextTick(() => this.$refs.input.focus())\n },\n resetSelections (input) {\n this.selection = input.selectionStart\n this.lazySelection = 0\n\n for (const char of input.value.substr(0, this.selection)) {\n isMaskDelimiter(char) || this.lazySelection++\n }\n }\n },\n\n render () {\n return this.genInputGroup(this.genInput(), { attrs: { tabindex: false } })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTextField/VTextField.js","import VTimePicker from './VTimePicker'\n\nVTimePicker.install = function install (Vue) {\n Vue.component(VTimePicker.name, VTimePicker)\n}\n\nexport default VTimePicker\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/index.js","require('../../stylus/components/_pickers.styl')\nrequire('../../stylus/components/_time-picker.styl')\n\nimport { createRange } from '../../util/helpers'\n\nimport VCard from '../VCard'\n\nimport Picker from '../../mixins/picker'\nimport TimeTitle from './mixins/time-title'\nimport TimeBody from './mixins/time-body'\n\nexport default {\n name: 'v-time-picker',\n\n components: {\n VCard\n },\n\n mixins: [Picker, TimeBody, TimeTitle],\n\n data () {\n return {\n isDragging: false,\n rotate: 0,\n originalTime: this.value,\n period: 'am',\n selectingHour: true,\n ranges: {\n hours: createRange(24),\n minutes: createRange(60)\n }\n }\n },\n\n props: {\n format: {\n type: String,\n default: 'ampm',\n validator (val) {\n return ['ampm', '24hr'].includes(val)\n }\n },\n allowedHours: {\n type: [Array, Object, Function],\n default: () => (null)\n },\n allowedMinutes: {\n type: [Array, Object, Function],\n default: () => (null)\n }\n },\n\n computed: {\n is24hr () {\n return this.format !== 'ampm'\n },\n is24hrAfter12 () {\n return this.selectingHour && this.is24hr && this.hour >= 12\n },\n divider () {\n return this.selectingHour ? 12 : 60\n },\n degrees () {\n return this.degreesPerUnit * Math.PI / 180\n },\n degreesPerUnit () {\n return 360 / this.divider\n },\n inputTime: {\n get () {\n if (this.value && !(this.value instanceof Date)) {\n if (!this.is24hr) {\n this.period = this.value.match(/pm/i)\n ? 'pm'\n : 'am'\n }\n\n return this.value\n }\n let value = new Date()\n\n if (this.value instanceof Date) {\n value = this.value\n }\n\n let hour = value.getHours()\n let minute = value.getMinutes()\n let period = ''\n\n if (!this.is24hr) {\n period = hour >= 12 ? 'pm' : 'am'\n hour = hour > 12 ? hour - 12 : hour\n hour = hour === 0 ? 12 : hour\n }\n\n period && (this.period = period)\n\n hour = this.firstAllowed('hour', hour)\n minute = this.firstAllowed('minute', minute)\n\n minute = minute < 10 ? `0${minute}` : minute > 59 ? '00' : minute\n\n return `${hour}:${minute}${period}`\n },\n set (val) {\n return this.$emit('input', val)\n }\n },\n timeArray () {\n return this.inputTime.replace(/(am|pm)/, '').split(':')\n },\n hour: {\n get () {\n return parseInt(this.timeArray[0])\n },\n set (val) {\n if (!this.is24hr) {\n val = val > 12 ? val - 12 : val < 1 ? 12 : val\n } else {\n val = val < 10 ? `0${val}` : val > 23 ? '00' : val\n }\n\n this.inputTime = `${val}:${this.minute}${!this.is24hr ? this.period : ''}`\n }\n },\n minute: {\n get () {\n const minute = parseInt(this.timeArray[1])\n\n return minute < 10 ? `0${minute}` : minute > 59 ? '00' : minute\n },\n set (val) {\n val = val < 10 ? `0${parseInt(val)}` : val > 59 ? '00' : val\n let hour = this.hour\n\n if (this.is24hr && hour < 10) {\n hour = `0${hour}`\n }\n\n this.inputTime = `${hour}:${val}${!this.is24hr ? this.period : ''}`\n }\n },\n clockHand () {\n if (this.selectingHour) return this.degreesPerUnit * this.hour\n return this.degreesPerUnit * this.minute\n },\n radius () {\n return this.clockSize / 2\n },\n clockSize: {\n get () {\n return this.size\n },\n set (val) {\n this.size = val\n }\n },\n size () {\n return this.landscape ? 250 : 280\n }\n },\n\n watch: {\n period (val) {\n const hour = !!this.allowedHours && this.selectingHour ? this.firstAllowed('hour', this.hour - 1) : this.hour\n this.inputTime = `${hour}:${this.minute}${val}`\n },\n value (val) {\n if (this.isSaving) {\n this.originalTime = this.inputTime\n this.isSaving = false\n }\n }\n },\n\n methods: {\n save () {\n if (this.originalTime) {\n this.originalTime = this.value\n } else {\n this.inputTime = this.inputTime\n this.originalTime = this.inputTime\n }\n\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n\n // Fix for #1818\n // Wait for data to persist\n // then set selectingHour\n this.$nextTick(() => (this.selectingHour = true))\n },\n cancel () {\n this.inputTime = this.originalTime\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n\n // Fix for #1818\n // Wait for data to persist\n // then set selectingHour\n this.$nextTick(() => (this.selectingHour = true))\n },\n isAllowed (type, value) {\n const allowed = this[`allowed${type.charAt(0).toUpperCase() + type.slice(1)}s`]\n\n if (!allowed) return true\n\n if (Array.isArray(allowed)) {\n return !!allowed.some(v => v === value)\n } else if (allowed instanceof Function) {\n return allowed(value)\n } else if (allowed === Object(allowed)) {\n const range = type === 'minute' ? this.ranges.minutes : this.ranges.hours\n const mod = type === 'minute' ? 60 : 24\n\n if (allowed.min === String(allowed.min)) {\n allowed.min = this.convert12to24hr(allowed.min)\n }\n\n if (allowed.max === String(allowed.max)) {\n allowed.max = this.convert12to24hr(allowed.max)\n }\n\n const steps = allowed.max - allowed.min\n value = type === 'hour' && !this.is24hr && this.period === 'pm' ? value + 12 : value\n\n for (let i = 0; i <= steps; i++) {\n const index = (allowed.min + i) % mod\n if (range[index] === value) return true\n }\n\n return false\n }\n\n return true\n },\n convert12to24hr (input) {\n input = input.toLowerCase()\n const pm = input.indexOf('pm') !== -1\n const hour = parseInt(input.slice(0, input.indexOf(pm ? 'pm' : 'am')))\n\n return pm ? hour + 12 : hour\n },\n generateRange (type, start) {\n let range = type === 'hour' ? this.ranges.hours : this.ranges.minutes\n let offset = 1\n\n if (type === 'hour' && !this.is24hr) {\n range = range.slice(1, 13)\n offset = 0\n }\n\n return range.slice(start + offset, range.length)\n .concat(range.slice(0, start + offset))\n },\n firstAllowed (type, value) {\n const allowed = this[`allowed${type.charAt(0).toUpperCase() + type.slice(1)}s`]\n\n if (!allowed) return value\n\n const range = this.generateRange(type, value)\n\n const first = range.find(v => this.isAllowed(type, v))\n\n return first || value\n }\n },\n\n render (h) {\n const children = [this.genBody()]\n\n !this.noTitle && children.unshift(this.genTitle())\n this.$scopedSlots.default && children.push(this.genSlot())\n\n return h('v-card', {\n 'class': {\n 'picker picker--time': true,\n 'picker--landscape': this.landscape,\n 'picker--time--hours': this.selectingHour,\n ...this.themeClasses\n }\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/VTimePicker.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_time-picker.styl\n// module id = 207\n// module chunks = 0","export default {\n methods: {\n genTitle () {\n const children = [this.genTime()]\n\n if (this.format === 'ampm') {\n children.push(this.genAMPM())\n }\n\n return this.$createElement('div', {\n 'class': 'picker__title'\n }, children)\n },\n genTime () {\n let hour = this.hour\n\n if (this.is24hr && hour < 10) {\n hour = `0${hour}`\n }\n\n return this.$createElement('div', {\n 'class': 'picker--time__title'\n }, [\n this.$createElement('span', {\n 'class': { active: this.selectingHour },\n on: {\n click: () => (this.selectingHour = true)\n }\n }, hour),\n this.$createElement('span', {\n 'class': { active: !this.selectingHour },\n on: {\n click: () => (this.selectingHour = false)\n }\n }, `:${this.minute}`)\n ])\n },\n genAMPM () {\n return this.$createElement('div', [\n this.genPeriod('am'),\n this.genPeriod('pm')\n ])\n },\n genPeriod (period) {\n return this.$createElement('span', {\n 'class': { active: this.period === period },\n on: { click: () => (this.period = period) }\n }, period.toUpperCase())\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/mixins/time-title.js","export default {\n data () {\n return {\n hasChanged: false\n }\n },\n methods: {\n genBody () {\n const children = [this.genHand(this.selectingHour ? 'hour' : 'minute')]\n const data = {\n 'class': 'picker--time__clock',\n on: {\n mousedown: this.onMouseDown,\n mouseup: this.onMouseUp,\n mouseleave: () => {\n this.isDragging && this.onMouseUp()\n },\n touchstart: this.onMouseDown,\n touchend: this.onMouseUp,\n mousemove: this.onDragMove,\n touchmove: this.onDragMove\n },\n key: this.selectingHour ? 'hour' : 'minute',\n ref: 'clock'\n }\n\n this.selectingHour &&\n children.push(this.genHours()) ||\n children.push(this.genMinutes())\n\n if (this.scrollable) {\n data.on.wheel = e => {\n e.preventDefault()\n\n const diff = e.wheelDelta > 0 ? 1 : -1\n const changing = this.selectingHour ? 'changeHour' : 'changeMinute'\n\n this[changing](diff)\n }\n }\n\n return this.$createElement('div', {\n 'class': 'picker__body'\n }, [\n this.$createElement('transition', {\n props: {\n name: 'fade-transition',\n mode: 'out-in'\n }\n }, [\n this.$createElement('div', data, children)\n ])\n ])\n },\n genHand (type) {\n const scale = this.is24hrAfter12 ? 'scaleY(0.6)' : ''\n return [this.$createElement('div', {\n 'class': `picker--time__clock-hand ${type}`,\n style: {\n transform: `rotate(${this.clockHand}deg) ${scale}`\n }\n })]\n },\n genHours () {\n let hours = this.is24hr ? 24 : 12\n const children = []\n let start = 0\n\n if (hours === 12) {\n hours++\n start = 1\n }\n\n for (let i = start; i < hours; i++) {\n children.push(this.$createElement('span', {\n 'class': {\n 'active': i === this.hour,\n 'disabled': !this.isAllowed('hour', i)\n },\n style: this.getTransform(i),\n domProps: { innerHTML: `${i}` }\n }))\n }\n\n return children\n },\n genMinutes () {\n const children = []\n\n for (let i = 0; i < 60; i = i + 5) {\n let num = i\n\n if (num < 10) num = `0${num}`\n if (num === 60) num = '00'\n\n children.push(this.$createElement('span', {\n 'class': {\n 'active': num.toString() === this.minute.toString(),\n 'disabled': !this.isAllowed('minute', i)\n },\n style: this.getTransform(i),\n domProps: { innerHTML: `${num}` }\n }))\n }\n\n return children\n },\n getTransform (i) {\n const { x, y } = this.getPosition(i)\n\n return { transform: `translate(${x}px, ${y}px)` }\n },\n getPosition (i) {\n const radiusPercentage = this.selectingHour &&\n this.is24hr &&\n i >= 12 ? 0.5 : 0.8\n const r = this.radius * radiusPercentage\n i = this.selectingHour && this.is24hr ? i % 12 : i\n return {\n x: Math.round(Math.sin(i * this.degrees) * r),\n y: Math.round(-Math.cos(i * this.degrees) * r)\n }\n },\n changeHour (time) {\n let range = this.generateRange('hour', this.hour)\n\n time < 0 && (range = range.reverse().slice(1))\n this.hour = range.find((h) => {\n return this.allowedHours ? this.isAllowed('hour', h) : true\n })\n\n return true\n },\n changeMinute (time) {\n const current = Number(this.minute)\n let range = this.generateRange('minute', current)\n\n time < 0 && (range = range.reverse().slice(1))\n const minute = range.find((m) => {\n return this.allowedMinutes ? this.isAllowed('minute', m) : true\n })\n\n this.minute = minute < 10 ? `0${minute}` : minute\n\n return true\n },\n onMouseDown (e) {\n e.preventDefault()\n\n this.isDragging = true\n this.onDragMove(e)\n },\n onMouseUp () {\n this.isDragging = false\n !this.selectingHour && this.autosave && this.save()\n if (this.hasChanged) {\n this.selectingHour = false\n this.hasChanged = false\n }\n },\n onDragMove (e) {\n e.preventDefault()\n if (!this.isDragging && e.type !== 'click') return\n\n const rect = this.$refs.clock.getBoundingClientRect()\n const center = { x: rect.width / 2, y: 0 - rect.width / 2 }\n const clientY = 'touches' in e ? e.touches[0].clientY : e.clientY\n const clientX = 'touches' in e ? e.touches[0].clientX : e.clientX\n const coords = {\n y: rect.top - clientY,\n x: clientX - rect.left\n }\n\n const selecting = this.selectingHour ? 'hour' : 'minute'\n let value = Math.round(this.angle(center, coords) / this.degreesPerUnit)\n\n if (this.selectingHour && this.is24hr) {\n const insideClick = this.euclidean(center, coords) / this.radius < 0.65\n value = insideClick ? value + 12 : value\n\n // Necessary to fix edge case when selecting left part of 0 and 12\n value = this.angle(center, coords) >= 345 ? (value + 12) % 24 : value\n }\n\n if (this.isAllowed(selecting, value)) {\n this[selecting] = value\n this.hasChanged = true\n }\n },\n euclidean (p0, p1) {\n const dx = Math.abs(p1.x - p0.x)\n const dy = Math.abs(p1.y - p0.y)\n\n return Math.sqrt(dx * dx + dy * dy)\n },\n angle (center, p1) {\n var p0 = {\n x: center.x,\n y: center.y + Math.sqrt(\n Math.abs(p1.x - center.x) * Math.abs(p1.x - center.x) +\n Math.abs(p1.y - center.y) * Math.abs(p1.y - center.y))\n }\n\n const value = 2 * Math.atan2(p1.y - p0.y, p1.x - p0.x)\n return Math.abs(value * 180 / Math.PI)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/mixins/time-body.js","import {\n createSimpleFunctional\n} from '../../util/helpers'\n\nimport VToolbar from './VToolbar'\nimport VToolbarSideIcon from './VToolbarSideIcon'\n\nexport { VToolbar, VToolbarSideIcon }\nexport const VToolbarTitle = createSimpleFunctional('toolbar__title')\nexport const VToolbarItems = createSimpleFunctional('toolbar__items')\n\nVToolbar.install = function install (Vue) {\n Vue.component('v-toolbar', VToolbar)\n Vue.component('v-toolbar-items', VToolbarItems)\n Vue.component('v-toolbar-title', VToolbarTitle)\n Vue.component('v-toolbar-side-icon', VToolbarSideIcon)\n}\n\nexport default VToolbar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VToolbar/index.js","require('../../stylus/components/_toolbar.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-toolbar',\n\n mixins: [Applicationable, Themeable],\n\n data: () => ({\n heights: {\n mobileLandscape: 48,\n mobile: 56,\n desktop: 64,\n dense: 48\n },\n denseHeight: 48,\n defaultHeight: 56,\n prominentHeight: 64,\n isExtended: false,\n isScrollingProxy: false,\n marginTop: 0,\n previousScroll: null,\n target: null\n }),\n\n props: {\n absolute: Boolean,\n card: Boolean,\n clippedLeft: Boolean,\n clippedRight: Boolean,\n dense: Boolean,\n extended: Boolean,\n fixed: Boolean,\n flat: Boolean,\n floating: Boolean,\n height: [Number, String],\n manualScroll: {\n type: Boolean,\n default: null\n },\n prominent: Boolean,\n scrollOffScreen: Boolean,\n scrollTarget: String,\n scrollThreshold: {\n type: Number,\n default: 100\n }\n },\n\n computed: {\n computedHeight () {\n if (this.height) return this.height\n if (this.dense) return this.heights.dense\n if (this.prominent ||\n this.$vuetify.breakpoint.mdAndUp\n ) return this.heights.desktop\n if (this.$vuetify.breakpoint.width >\n this.$vuetify.breakpoint.height\n ) return this.mobileLandscape\n\n return this.heights.mobile\n },\n computedMarginTop () {\n return this.marginTop + this.$vuetify.application.bar\n },\n classes () {\n return {\n 'toolbar': true,\n 'elevation-0': this.flat,\n 'toolbar--absolute': this.absolute,\n 'toolbar--card': this.card,\n 'toolbar--clipped': this.clippedLeft || this.clippedRight,\n 'toolbar--dense': this.dense,\n 'toolbar--fixed': this.fixed,\n 'toolbar--floating': this.floating,\n 'toolbar--prominent': this.prominent,\n 'toolbar--extended': this.isExtended,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n isScrolling: {\n get () {\n return this.manualScroll != null\n ? this.manualScroll\n : this.isScrollingProxy\n },\n set (val) {\n this.isScrollingProxy = val\n }\n },\n paddingLeft () {\n if (!this.app || this.clippedLeft) return 0\n\n return this.$vuetify.application.left\n },\n paddingRight () {\n if (!this.app || this.clippedRight) return 0\n\n return this.$vuetify.application.right\n },\n styles () {\n return {\n marginTop: `${this.computedMarginTop}px`,\n paddingLeft: `${this.paddingLeft}px`,\n paddingRight: `${this.paddingRight}px`\n }\n }\n },\n\n watch: {\n isScrolling (val) {\n this.whenScrolled(val)\n }\n },\n\n mounted () {\n this.whenScrolled(this.isScrolling)\n },\n\n destroyed () {\n if (this.app) this.$vuetify.application.top = 0\n },\n\n methods: {\n onScroll () {\n if (typeof window === 'undefined') return\n\n if (!this.target) {\n this.target = this.scrollTarget\n ? document.querySelector(this.scrollTarget)\n : window\n }\n\n const currentScroll = this.scrollTarget\n ? this.target.scrollTop\n : this.target.pageYOffset || document.documentElement.scrollTop\n\n if (currentScroll < this.scrollThreshold) return\n\n if (this.previousScroll === null) {\n this.previousScroll = currentScroll\n }\n\n this.isScrollingProxy = this.previousScroll < currentScroll\n\n this.previousScroll = currentScroll\n },\n updateApplication () {\n if (!this.app) return\n\n this.$vuetify.application.top = !this.fixed && !this.absolute\n ? 0\n : this.isExtended && !this.isScrolling\n ? this.computedHeight * 2\n : this.computedHeight\n },\n whenScrolled (val) {\n this.marginTop = val\n ? -this.$refs.content.clientHeight - 6\n : 0\n\n this.updateApplication()\n }\n },\n\n render (h) {\n this.isExtended = this.extended || !!this.$slots.extension\n this.updateApplication()\n\n const children = []\n const data = {\n 'class': this.classes,\n style: this.styles,\n on: this.$listeners\n }\n\n if (this.scrollOffScreen) {\n data.directives = [{\n name: 'scroll',\n value: {\n callback: this.onScroll,\n target: this.scrollTarget\n }\n }]\n }\n\n children.push(h('div', {\n staticClass: 'toolbar__content',\n style: { height: `${this.computedHeight}px` },\n ref: 'content'\n }, this.$slots.default))\n\n if (this.isExtended) {\n children.push(h('div', {\n staticClass: 'toolbar__extension',\n style: { height: `${this.computedHeight}px` }\n }, this.$slots.extension))\n }\n\n return h('nav', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VToolbar/VToolbar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_toolbar.styl\n// module id = 212\n// module chunks = 0","import VBtn from '../../components/VBtn'\nimport VIcon from '../../components/VIcon'\n\nexport default {\n name: 'v-toolbar-side-icon',\n\n functional: true,\n\n render (h, { slots, listeners, props, data }) {\n const classes = data.staticClass\n ? `${data.staticClass} toolbar__side-icon`\n : 'toolbar__side-icon'\n\n const d = Object.assign(data, {\n staticClass: classes,\n props: Object.assign(props, {\n icon: true\n }),\n on: listeners\n })\n\n const defaultSlot = slots().default\n\n return h(VBtn, d, defaultSlot || [h(VIcon, 'menu')])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VToolbar/VToolbarSideIcon.js","import VTooltip from './VTooltip'\n\nVTooltip.install = function install (Vue) {\n Vue.component(VTooltip.name, VTooltip)\n}\n\nexport default VTooltip\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTooltip/index.js","require('../../stylus/components/_tooltips.styl')\n\n// Mixins\nimport Delayable from '../../mixins/delayable'\nimport Dependent from '../../mixins/dependent'\nimport Colorable from '../../mixins/colorable'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-tooltip',\n\n mixins: [Colorable, Dependent, Delayable, Detachable, Menuable, Toggleable],\n\n data: () => ({\n calculatedMinWidth: 0\n }),\n\n props: {\n debounce: {\n type: [Number, String],\n default: 0\n },\n fixed: {\n type: Boolean,\n default: true\n },\n tag: {\n type: String,\n default: 'span'\n },\n transition: String,\n zIndex: {\n default: null\n }\n },\n\n computed: {\n calculatedLeft () {\n const { activator, content } = this.dimensions\n let left = 0\n\n if (this.top || this.bottom) {\n left = (\n activator.left +\n (activator.width / 2) -\n (content.width / 2)\n )\n } else if (this.left || this.right) {\n left = (\n activator.left +\n (this.right ? activator.width : -content.width) +\n (this.right ? 10 : -10)\n )\n }\n\n return `${this.calcXOverflow(left)}px`\n },\n calculatedTop () {\n const { activator, content } = this.dimensions\n let top = 0\n\n if (this.top || this.bottom) {\n top = (\n activator.top -\n (this.top ? content.height : -content.height) -\n (this.top ? 10 : -20)\n )\n } else if (this.left || this.right) {\n top = (\n activator.top +\n (activator.height / 2) -\n (content.height / 2)\n )\n }\n\n return `${this.calcYOverflow(top + this.pageYOffset)}px`\n },\n classes () {\n return {\n 'tooltip--absolute': this.absolute,\n 'tooltip--fixed': this.fixed && !this.absolute,\n 'tooltip--top': this.top,\n 'tooltip--right': this.right,\n 'tooltip--bottom': this.bottom,\n 'tooltip--left': this.left\n }\n },\n computedTransition () {\n if (this.transition) return this.transition\n if (this.top) return 'slide-y-reverse-transition'\n if (this.right) return 'slide-x-transition'\n if (this.bottom) return 'slide-y-transition'\n if (this.left) return 'slide-x-reverse-transition'\n },\n offsetY () {\n this.top || this.bottom\n },\n offsetX () {\n return this.left || this.right\n },\n styles () {\n return {\n left: this.calculatedLeft,\n opacity: this.isActive ? 0.9 : 0,\n top: this.calculatedTop,\n zIndex: this.zIndex || this.activeZIndex\n }\n }\n },\n\n methods: {\n activate () {\n // Update coordinates and dimensions of menu\n // and its activator\n this.updateDimensions()\n // Start the transition\n requestAnimationFrame(this.startTransition)\n }\n },\n\n render (h) {\n const tooltip = h('div', {\n staticClass: 'tooltip__content',\n 'class': {\n [this.color]: this.color,\n [this.contentClass]: true,\n 'menuable__content__active': this.isActive\n },\n style: this.styles,\n attrs: this.attrs,\n directives: [{\n name: 'show',\n value: this.isContentActive\n }],\n ref: 'content'\n }, this.$slots.default)\n\n return h(this.tag, {\n staticClass: 'tooltip',\n 'class': this.classes\n }, [\n h('transition', {\n props: {\n name: this.computedTransition\n }\n }, [tooltip]),\n h('span', {\n on: {\n mouseenter: () => {\n this.runDelay('open', () => (this.isActive = true))\n },\n mouseleave: () => {\n this.runDelay('close', () => (this.isActive = false))\n }\n },\n ref: 'activator'\n }, this.$slots.activator)\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTooltip/VTooltip.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_tooltips.styl\n// module id = 216\n// module chunks = 0","import ClickOutside from './click-outside'\nimport Resize from './resize'\nimport Ripple from './ripple'\nimport Scroll from './scroll'\nimport Touch from './touch'\n\nexport {\n ClickOutside,\n Ripple,\n Resize,\n Scroll,\n Touch\n}\n\nexport default function install (Vue) {\n Vue.directive('click-outside', ClickOutside)\n Vue.directive('ripple', Ripple)\n Vue.directive('resize', Resize)\n Vue.directive('scroll', Scroll)\n Vue.directive('touch', Touch)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/index.js","function inserted (el, binding) {\n const callback = typeof binding.value === 'function'\n ? binding.value\n : binding.value.callback\n const options = binding.value.options || { passive: true }\n let target = binding.value.target || window\n if (target === 'undefined') return\n\n if (target !== window) {\n target = document.querySelector(target)\n }\n\n target.addEventListener('scroll', callback, options)\n\n el._onScroll = {\n target,\n options\n }\n}\n\nfunction unbind (el, binding) {\n const { target, options } = el._onScroll\n\n target.removeEventListener('scroll', binding.callback, options)\n}\n\nexport default {\n name: 'scroll',\n inserted,\n unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/scroll.js"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap fe7848070c1159d72647","webpack:///./src/mixins/themeable.js","webpack:///./src/util/helpers.js","webpack:///./src/components/VIcon/index.js","webpack:///./src/mixins/colorable.js","webpack:///./src/mixins/toggleable.js","webpack:///./src/components/transitions/index.js","webpack:///./src/directives/click-outside.js","webpack:///./src/directives/resize.js","webpack:///./src/directives/ripple.js","webpack:///./src/components/VBtn/index.js","webpack:///./src/directives/touch.js","webpack:///./src/mixins/bootable.js","webpack:///./src/mixins/routable.js","webpack:///./src/stylus/components/_input-groups.styl","webpack:///./src/mixins/input.js","webpack:///./src/mixins/dependent.js","webpack:///./src/components/VCard/index.js","webpack:///./src/mixins/applicationable.js","webpack:///./src/mixins/detachable.js","webpack:///./src/mixins/positionable.js","webpack:///./src/stylus/components/_selection-controls.styl","webpack:///./src/mixins/rippleable.js","webpack:///./src/stylus/components/_grid.styl","webpack:///./src/components/VGrid/grid.js","webpack:///./src/mixins/contextualable.js","webpack:///./src/mixins/button-group.js","webpack:///./src/components/VDialog/VDialog.js","webpack:///./src/mixins/overlayable.js","webpack:///./src/mixins/stackable.js","webpack:///./src/components/VCheckbox/index.js","webpack:///./src/components/transitions/row-expand-transition.js","webpack:///./src/mixins/selectable.js","webpack:///./src/mixins/loadable.js","webpack:///./src/components/VProgressLinear/index.js","webpack:///./src/components/VSelect/index.js","webpack:///./src/stylus/components/_text-fields.styl","webpack:///./src/components/VList/index.js","webpack:///./src/components/VMenu/index.js","webpack:///./src/mixins/delayable.js","webpack:///./src/mixins/menuable.js","webpack:///./src/mixins/filterable.js","webpack:///./src/mixins/maskable.js","webpack:///./src/util/mask.js","webpack:///./src/stylus/components/_pickers.styl","webpack:///./src/mixins/picker.js","webpack:///./src/index.js","webpack:///./src/stylus/app.styl","webpack:///./node_modules/semver/semver.js","webpack:///./node_modules/process/browser.js","webpack:///./package.json","webpack:///./src/components/index.js","webpack:///./src/components/Vuetify/index.js","webpack:///./src/util/load.js","webpack:///./src/components/VApp/index.js","webpack:///./src/components/VApp/VApp.js","webpack:///./src/stylus/components/_app.styl","webpack:///./src/util/breakpoint.js","webpack:///./src/util/touchSupport.js","webpack:///./src/components/VAlert/index.js","webpack:///./src/components/VAlert/VAlert.js","webpack:///./src/stylus/components/_alerts.styl","webpack:///./src/components/VIcon/VIcon.js","webpack:///./src/stylus/components/_icons.styl","webpack:///./src/mixins/transitionable.js","webpack:///./src/components/VAvatar/index.js","webpack:///./src/components/VAvatar/VAvatar.js","webpack:///./src/stylus/components/_avatars.styl","webpack:///./src/components/VBadge/index.js","webpack:///./src/components/VBadge/VBadge.js","webpack:///./src/stylus/components/_badges.styl","webpack:///./src/components/VBottomNav/index.js","webpack:///./src/components/VBottomNav/VBottomNav.js","webpack:///./src/stylus/components/_bottom-navs.styl","webpack:///./src/components/VBottomSheet/index.js","webpack:///./src/components/VBottomSheet/VBottomSheet.js","webpack:///./src/stylus/components/_bottom-sheets.styl","webpack:///./src/stylus/components/_dialogs.styl","webpack:///./src/stylus/components/_overlay.styl","webpack:///./src/components/VBreadcrumbs/index.js","webpack:///./src/components/VBreadcrumbs/VBreadcrumbs.js","webpack:///./src/stylus/components/_breadcrumbs.styl","webpack:///./src/components/VBreadcrumbs/VBreadcrumbsItem.js","webpack:///./src/components/VBtn/VBtn.js","webpack:///./src/stylus/components/_buttons.styl","webpack:///./src/components/VBtnToggle/index.js","webpack:///./src/components/VBtnToggle/VBtnToggle.js","webpack:///./src/stylus/components/_button-toggle.styl","webpack:///./src/components/VCard/VCard.js","webpack:///./src/stylus/components/_cards.styl","webpack:///./src/components/VCard/VCardMedia.js","webpack:///./src/components/VCard/VCardTitle.js","webpack:///./src/components/VCarousel/index.js","webpack:///./src/components/VCarousel/VCarousel.js","webpack:///./src/stylus/components/_carousel.styl","webpack:///./src/components/VCarousel/VCarouselItem.js","webpack:///./src/components/VCheckbox/VCheckbox.js","webpack:///./src/components/transitions/expand-transition.js","webpack:///./src/mixins/validatable.js","webpack:///./src/components/VChip/index.js","webpack:///./src/components/VChip/VChip.js","webpack:///./src/stylus/components/_chips.styl","webpack:///./src/components/VDataTable/index.js","webpack:///./src/components/VDataTable/VDataTable.js","webpack:///./src/stylus/components/_tables.styl","webpack:///./src/stylus/components/_data-table.styl","webpack:///./src/components/VProgressLinear/VProgressLinear.js","webpack:///./src/stylus/components/_progress-linear.styl","webpack:///./src/components/VSelect/VSelect.js","webpack:///./src/stylus/components/_select.styl","webpack:///./src/components/VList/VList.js","webpack:///./src/stylus/components/_lists.styl","webpack:///./src/components/VList/VListGroup.js","webpack:///./src/components/VList/VListTile.js","webpack:///./src/components/VList/VListTileAction.js","webpack:///./src/components/VMenu/VMenu.js","webpack:///./src/stylus/components/_menus.styl","webpack:///./src/components/VMenu/mixins/menu-activator.js","webpack:///./src/components/VMenu/mixins/menu-generators.js","webpack:///./src/components/VMenu/mixins/menu-keyable.js","webpack:///./src/components/VMenu/mixins/menu-position.js","webpack:///./src/components/VSelect/mixins/select-autocomplete.js","webpack:///./src/components/VSelect/mixins/select-generators.js","webpack:///./src/components/VDataTable/mixins/head.js","webpack:///./src/components/VDataTable/mixins/body.js","webpack:///./src/components/VDataTable/mixins/foot.js","webpack:///./src/components/VDataTable/mixins/progress.js","webpack:///./src/components/VDataTable/VEditDialog.js","webpack:///./src/stylus/components/_small-dialog.styl","webpack:///./src/components/VDatePicker/index.js","webpack:///./src/components/VDatePicker/VDatePicker.js","webpack:///./src/stylus/components/_date-picker.styl","webpack:///./src/components/VDatePicker/mixins/date-years.js","webpack:///./src/components/VDatePicker/mixins/date-title.js","webpack:///./src/components/VDatePicker/mixins/date-header.js","webpack:///./src/components/VDatePicker/mixins/date-table.js","webpack:///./src/components/VDatePicker/mixins/month-table.js","webpack:///./src/components/VDialog/index.js","webpack:///./src/components/VDivider/index.js","webpack:///./src/components/VDivider/VDivider.js","webpack:///./src/stylus/components/_dividers.styl","webpack:///./src/components/VExpansionPanel/index.js","webpack:///./src/components/VExpansionPanel/VExpansionPanel.js","webpack:///./src/stylus/components/_expansion-panel.styl","webpack:///./src/components/VExpansionPanel/VExpansionPanelContent.js","webpack:///./src/components/VFooter/index.js","webpack:///./src/components/VFooter/VFooter.js","webpack:///./src/stylus/components/_footer.styl","webpack:///./src/components/VForm/index.js","webpack:///./src/components/VForm/VForm.js","webpack:///./src/components/VGrid/index.js","webpack:///./src/components/VGrid/VContent.js","webpack:///./src/stylus/components/_content.styl","webpack:///./src/components/VGrid/VContainer.js","webpack:///./src/components/VGrid/VFlex.js","webpack:///./src/components/VGrid/VLayout.js","webpack:///./src/components/VNavigationDrawer/index.js","webpack:///./src/components/VNavigationDrawer/VNavigationDrawer.js","webpack:///./src/stylus/components/_navigation-drawer.styl","webpack:///./src/components/VPagination/index.js","webpack:///./src/components/VPagination/VPagination.js","webpack:///./src/stylus/components/_pagination.styl","webpack:///./src/components/VParallax/index.js","webpack:///./src/components/VParallax/VParallax.js","webpack:///./src/stylus/components/_parallax.styl","webpack:///./src/mixins/translatable.js","webpack:///./src/components/VProgressCircular/index.js","webpack:///./src/components/VProgressCircular/VProgressCircular.js","webpack:///./src/stylus/components/_progress-circular.styl","webpack:///./src/components/VRadioGroup/index.js","webpack:///./src/components/VRadioGroup/VRadioGroup.js","webpack:///./src/stylus/components/_radio-group.styl","webpack:///./src/components/VRadioGroup/VRadio.js","webpack:///./src/mixins/tab-focusable.js","webpack:///./src/components/VSlider/index.js","webpack:///./src/components/VSlider/VSlider.js","webpack:///./src/stylus/components/_sliders.styl","webpack:///./src/components/VSnackbar/index.js","webpack:///./src/components/VSnackbar/VSnackbar.js","webpack:///./src/stylus/components/_snackbars.styl","webpack:///./src/components/VSpeedDial/index.js","webpack:///./src/components/VSpeedDial/VSpeedDial.js","webpack:///./src/stylus/components/_speed-dial.styl","webpack:///./src/components/VStepper/index.js","webpack:///./src/components/VStepper/VStepper.js","webpack:///./src/stylus/components/_steppers.styl","webpack:///./src/components/VStepper/VStepperStep.js","webpack:///./src/components/VStepper/VStepperContent.js","webpack:///./src/components/VSubheader/index.js","webpack:///./src/components/VSubheader/VSubheader.js","webpack:///./src/stylus/components/_subheaders.styl","webpack:///./src/components/VSwitch/index.js","webpack:///./src/components/VSwitch/VSwitch.js","webpack:///./src/stylus/components/_switch.styl","webpack:///./src/components/VSystemBar/index.js","webpack:///./src/components/VSystemBar/VSystemBar.js","webpack:///./src/stylus/components/_system-bars.styl","webpack:///./src/components/VTabs/index.js","webpack:///./src/components/VTabs/VTabs.js","webpack:///./src/stylus/components/_tabs.styl","webpack:///./src/components/VTabs/VTabsItem.js","webpack:///./src/components/VTabs/VTabsItems.js","webpack:///./src/components/VTabs/VTabsContent.js","webpack:///./src/components/VTabs/VTabsBar.js","webpack:///./src/components/VTextField/index.js","webpack:///./src/components/VTextField/VTextField.js","webpack:///./src/components/VTimePicker/index.js","webpack:///./src/components/VTimePicker/VTimePicker.js","webpack:///./src/stylus/components/_time-picker.styl","webpack:///./src/components/VTimePicker/mixins/time-title.js","webpack:///./src/components/VTimePicker/mixins/time-body.js","webpack:///./src/components/VToolbar/index.js","webpack:///./src/components/VToolbar/VToolbar.js","webpack:///./src/stylus/components/_toolbar.styl","webpack:///./src/components/VToolbar/VToolbarSideIcon.js","webpack:///./src/components/VTooltip/index.js","webpack:///./src/components/VTooltip/VTooltip.js","webpack:///./src/stylus/components/_tooltips.styl","webpack:///./src/directives/index.js","webpack:///./src/directives/scroll.js"],"names":["props","dark","Boolean","light","computed","themeClasses","createSimpleFunctional","c","el","name","replace","functional","render","h","data","children","staticClass","trim","createSimpleTransition","origin","mode","type","String","default","context","on","Object","isExtensible","beforeEnter","style","transformOrigin","webkitTransformOrigin","createJavaScriptTransition","functions","css","directiveConfig","binding","defaults","assign","modifiers","value","arg","addOnceEventListener","event","cb","once","removeEventListener","addEventListener","getObjectValueByPath","obj","path","constructor","a","split","i","n","length","k","createRange","Array","from","v","getZIndex","nodeType","Node","ELEMENT_NODE","zi","document","defaultView","getComputedStyle","getPropertyValue","isNaN","parentNode","VIcon","install","Vue","component","color","methods","addColorClassChecks","classes","parts","factory","prop","model","required","isActive","watch","val","$emit","Toggleable","VBottomSheetTranstion","VCarouselTransition","VCarouselReverseTransition","VTabTransition","VTabReverseTransition","VMenuTransition","VFabTransition","VDialogTransition","VDialogBottomTransition","VFadeTransition","VScaleTransition","VSlideXTransition","VSlideXReverseTransition","VSlideYTransition","VSlideYReverseTransition","VExpandTransition","VRowExpandTransition","directive","e","callback","elements","include","push","clickedInEls","setTimeout","x","clientX","y","clientY","clickedInEl","b","getBoundingClientRect","left","right","top","bottom","bind","$vuetify","load","onClick","_clickOutside","unbind","inserted","debounce","debounceTimeout","onResize","clearTimeout","window","passive","_onResize","forEach","ripple","show","container","createElement","animation","appendChild","className","class","size","clientWidth","clientHeight","width","center","height","position","offset","classList","add","dataset","activated","Date","now","remove","hide","ripples","getElementsByClassName","diff","Number","delay","removeChild","VBtn","touchstart","wrapper","touch","changedTouches","touchstartX","touchstartY","start","touchend","touchendX","touchendY","end","handleGesture","touchmove","touchmoveX","touchmoveY","move","offsetX","offsetY","up","down","target","parent","options","isBooted","lazy","showLazyContent","content","directives","Ripple","append","disabled","exact","href","to","nuxt","router","tag","click","generateRouteLink","attrs","$listeners","activeClass","components","mixins","isFocused","tabFocused","internalTabIndex","lazyValue","appendIcon","appendIconCb","Function","hint","hideDetails","label","persistentHint","placeholder","prependIcon","prependIconCb","readonly","tabindex","toggleKeys","inputGroupClasses","loading","isDirty","hasError","inputValue","groupFocus","groupBlur","genLabel","$createElement","for","$attrs","id","$slots","genMessages","messages","validations","genHint","map","genError","key","domProps","innerHTML","error","genIcon","defaultCallback","shouldClear","clearable","icon","clearableCallback","stopPropagation","genInputGroup","input","defaultAppendCallback","wrapperChildren","detailsChildren","focus","blur","keyup","includes","keyCode","keydown","toggle","preventDefault","unshift","progress","genProgress","counter","genCounter","searchChildren","results","child","isDependent","closeDependents","$children","opts","getOpenDependents","getOpenDependentElements","d","getClickableDependentElements","result","$el","$refs","dependent","Dependent","VCard","VCardActions","VCardText","VCardMedia","VCardTitle","app","created","updateApplication","contentClass","mounted","initDetach","beforeDestroy","_isDestroyed","querySelector","console","warn","insertBefore","firstChild","absolute","fixed","genRipple","rippleClasses","Grid","keys","join","primary","secondary","success","info","warning","buttons","listeners","getValue","update","selected","button","elm","removeAttribute","isSelected","setAttribute","contains","index","updateValue","$on","$off","require","DependentFactory","Stackable","StackableFactory","minZIndex","stackClass","ClickOutside","persistent","fullscreen","fullWidth","scrollable","transition","stackedActions","contentClasses","hideOverlay","genOverlay","hideScroll","removeOverlay","showScroll","closeConditional","getMaxZIndex","ref","activator","dialog","zIndex","activeZIndex","display","overlay","overlayOffset","overlayTimeout","overlayTransitionDuration","undefined","requestAnimationFrame","scrollListener","deltaY","body","checkPath","hasScrollbar","scrollHeight","shouldScroll","delta","scrollTop","isInside","composedPath","wheelDelta","getSelection","anchorNode","documentElement","tagName","parentElement","breakpoint","mdAndDown","exclude","base","zis","activeElements","activeElement","Math","max","VCheckbox","enter","done","td","overflow","afterEnter","leave","afterLeave","falseValue","trueValue","isArray","indexOf","indeterminate","inputIndeterminate","slice","splice","validate","VProgressLinear","VSelect","VListTileActionText","VListTileAvatar","VListTileContent","VListTileTitle","VListTileSubTitle","VList","VListGroup","VListTile","VListTileAction","VMenu","openTimeout","closeTimeout","openDelay","closeDelay","clearDelay","runDelay","parseInt","dimensions","offsetTop","hasWindow","absoluteX","absoluteY","isContentActive","pageYOffset","allowOverflow","maxWidth","minWidth","nudgeBottom","nudgeLeft","nudgeRight","nudgeTop","nudgeWidth","offsetOverflow","positionX","positionY","hasActivator","callDeactivate","callActivate","absolutePosition","activate","calcLeft","calcTop","calcXOverflow","parsedMaxWidth","innerWidth","getInnerWidth","totalWidth","availableWidth","calcYOverflow","documentHeight","getInnerHeight","toTop","contentHeight","totalHeight","isOverflowing","checkForWindow","deactivate","getOffsetTop","getActivator","innerHeight","measure","selector","sneakPeek","isShown","startTransition","resetDimensions","updateDimensions","noDataText","selection","preDefined","dontFillMaskBlanks","mask","returnMaskedValue","masked","oldText","newText","maskText","substr","char","isMaskDelimiter","setCaretPosition","setSelectionRange","updateRange","newValue","lazySelection","text","unmaskText","$nextTick","allowedMasks","test","match","convert","toUpperCase","toLowerCase","defaultDelimiters","isMask","hasOwnProperty","maskValidates","textIndex","maskIndex","RegExp","isSaving","actions","autosave","landscape","noTitle","save","cancel","genSlot","$scopedSlots","Vuetify","use","version","checkVueVersion","vueDep","devDependencies","vue","Semver","satisfies","application","bar","touchSupport","util","defineReactive","prototype","transitions","t","startsWith","_loadCallbacks","readyState","VApp","Resize","resizeTimeout","runCallbacks","pop","xs","sm","md","lg","xl","xsOnly","smOnly","smAndDown","smAndUp","mdOnly","mdAndUp","lgOnly","lgAndDown","lgAndUp","xlOnly","VAlert","dismissible","close","alert","fa","mdi","large","medium","xLarge","Contextualable","iconName","iconType","textContent","thirdPartyIcon","Colorable","call","iconClasses","filter","comparison","VAvatar","tile","VBadge","overlap","badge","VBottomNav","active","shift","item","VBottomSheet","VDialog","inset","slot","VBreadcrumbs","VBreadcrumbsItem","provide","divider","icons","items","inject","ToggleableFactory","block","fab","flat","outline","round","small","colorBackground","colorText","hover","detail","genContent","genLoader","loader","JSON","stringify","VBtnToggle","mandatory","multiple","hasValue","handler","deep","img","raised","horizontal","styles","background","contain","src","primaryTitle","VCarousel","VCarouselItem","Touch","slideTimeout","reverse","cycle","hideControls","interval","validator","leftControlIcon","rightControlIcon","open","_uid","restartTimeout","init","genControls","genItems","direction","fn","select","raf","startTimeout","next","prev","reverseTransition","computedTransition","backgroundImage","role","errorBucket","hasFocused","hasInput","shouldValidate","valid","errorMessages","rules","validateOnBlur","newVal","oldVal","reset","isMultiple","force","rule","TypeError","VChip","VDataTable","VTableOverflow","VEditDialog","all","searchLength","defaultPagination","descending","page","rowsPerPage","sortBy","totalItems","expanded","expand","headers","headerText","hideActions","mustSort","noResultsText","rowsPerPageItems","rowsPerPageText","selectAll","search","toString","customFilter","some","j","customSort","isDescending","sort","sortA","sortB","s","toLocaleLowerCase","itemKey","pagination","computedPagination","hasPagination","hasSelectAll","itemsLength","someItems","everyItem","filteredItems","every","getPage","pageStart","pageStop","hasSearch","updatePagination","updatedPagination","isExpanded","needsTR","row","find","genTR","firstSortable","sortable","genTHead","genTProgress","genTBody","genTFoot","backgroundColor","backgroundOpacity","bufferValue","query","effectiveWidth","bufferStyles","backgroundStyle","parseFloat","opacity","genDeterminate","genBar","genIndeterminate","fade","slide","inheritAttrs","cachedItems","tags","lastItem","lazySearch","menuIsActive","searchTimeout","selectedIndex","selectedItems","shouldBreak","auto","autocomplete","cacheItems","chips","debounceSearch","browserAutocomplete","itemAvatar","itemText","itemValue","itemDisabled","maxHeight","multiLine","solo","searchInput","singleLine","returnObject","segmented","editable","isAutocomplete","isDropdown","computedContentClass","computedItems","filterDuplicates","concat","isNotFiltering","filterSearch","hideSelections","searchValue","getText","selectedItem","get","set","genSelectedItems","EventTarget","onScroll","len","menu","listIndex","scrollWidth","changeSelectedIndex","indexes","newIndex","selectItem","compareObjects","aProps","bProps","propName","arr","self","findIndex","genDirectives","genListeners","showMenuItems","onKeyDown","getPropertyFromItem","field","showMenu","showMoreItems","savedIndex","genSelectionsAndSearch","genMenu","listClick","listClose","uid","groups","dense","subheader","threeLine","twoLine","$options","_componentTag","group","noAction","$route","matchRoute","avatar","isLink","isRouteLink","defaultOffset","maxHeightAutoDefault","startIndex","stopIndex","hasJustFocused","closeOnClick","closeOnContentClick","openOnClick","openOnHover","calculatedLeft","calcLeftAuto","calculatedMaxHeight","calculatedMaxWidth","calculatedMinWidth","min","calculatedTop","calcTopAuto","newActivator","oldActivator","removeActivatorEvents","addActivatorEvents","getTiles","calculateScroll","offsetWidth","changeListIndex","genActivator","genTransition","activatorClickHandler","mouseEnterHandler","mouseLeaveHandler","relatedTarget","getAttribute","mouseenter","mouseleave","tiles","setActiveListIndex","querySelectorAll","actingIndex","offsetPadding","queryText","genFiltered","getMaskedCharacters","middle","genHighlight","menuZIndex","genList","flex","genSelections","slots","genSlotSelection","genChipSelection","genSegmentedBtn","genCommaSelection","isDisabled","comma","o","header","genHeader","genDivider","genTile","noData","genAction","checkbox","change","array","headerCell","genHeaderData","scope","genHeaderSortingData","align","tabIndex","beingSorted","genEmptyBody","genFilteredItems","genExpandedRow","colspan","RowExpandTransitionFunctions","createProps","defineProperty","$set","rows","expandRow","genPrevIcon","genNextIcon","genSelect","genPagination","stop","pageText","genActions","footer","col","cancelText","saveText","genButton","VDatePicker","createDefaultDateFormat","pad","isoString","date","getFullYear","getMonth","getDate","month","year","tableDate","originalDate","currentDay","currentMonth","currentYear","isReversing","narrowDays","activePicker","locale","dateFormat","titleDateFormat","headerDateFormat","monthFormat","formattedValue","allowedDates","firstDayOfWeek","yearIcon","timeZone","Intl","DateTimeFormat","resolvedOptions","toLocaleDateString","day","supportsLocaleFormat","firstAllowedDate","setDate","setHours","setMonth","isAllowed","inputDate","makeDate","pickerDateFormat","tableMonth","tableYear","titleText","normalizeDate","defaultTitleDateFormat","weekday","setInterval","years","clearInterval","getWeekDays","$parent","first","getDay","format","allowedDate","genTableTouch","touchCallback","genTable","tableChildren","wheel","monthWheelScroll","table","genPickerBody","pickerBodyChildren","genSelector","dateGenTHead","dateGenTBody","monthGenTBody","genYears","genTitle","genYearItems","yearClick","buttonText","genYearIcon","getYearBtn","titleDate","genTitleText","title","genTitleDate","genBtn","nativeOn","keyValue","selectorText","selectorDate","dateWheelScroll","days","dateGenTR","dateClick","dateGenButtonText","dateGenTD","dateIsActive","dateIsCurrent","daysInMonth","monthClick","monthGenTD","monthName","monthIsActive","monthIsCurrent","cols","fill","_","VDivider","VExpansionPanel","VExpansionPanelContent","panelClick","focusable","popout","getChildren","panel","genBody","VFooter","paddingLeft","paddingRight","destroyed","VForm","inputs","errorBag","lazyValidation","errors","values","getInputs","depth","watchInputs","watchChild","watcher","$watch","immediate","$delete","updated","removed","submit","VSpacer","VGrid","VContent","VContainer","VFlex","VLayout","paddingTop","paddingBottom","VNavigationDrawer","isMobile","touchArea","clipped","disableRouteWatcher","enableResizeWatcher","floating","miniVariant","miniVariantWidth","mobileBreakPoint","permanent","temporary","touchless","calculatedHeight","calculatedWidth","marginTop","showOverlay","calculateTouchArea","parentRect","checkIfMobile","swipeLeft","swipeRight","abs","VPagination","circle","totalVisible","nextIcon","prevIcon","maxButtons","maxLength","range","even","floor","previous","genItem","VParallax","alt","jumbotron","transform","parallax","complete","translate","objHeight","naturalHeight","elOffsetTop","imgData","normalizedHeight","parallaxDist","percentScrolled","windowHeight","windowBottom","imgHeight","calcDimensions","translated","VProgressCircular","rotate","calculatedSize","circumference","PI","radius","cxy","normalizedValue","strokeDashArray","strokeDashOffset","svgSize","svgStyles","viewBox","genCircle","cx","cy","r","genSvg","xmlns","svg","VRadioGroup","VRadio","isMandatory","registerChild","unregisterChild","column","getRadios","radio","toggleRadio","radioBlur","radioFocus","genInput","genWrapper","checked","$vnode","endsWith","VSlider","keyPressed","inverted","step","thumbColor","thumbLabel","vertical","snap","trackColor","inputWidth","thumbContainerClasses","thumbStyles","tickContainerStyles","trackStyles","scaleX","calculateScale","translateX","trackFillStyles","numTicks","scale","onMouseDown","onMouseMove","onMouseUp","track","offsetLeft","trackWidth","touches","multiplier","shiftKey","ctrlKey","amount","onKeyUp","sliderMove","genThumbLabel","genThumbContainer","mousedown","genSteps","ticks","span","genTrackContainer","slider","mouseup","VSnackbar","activeTimeout","timeout","VSpeedDial","list","VStepper","VStepperHeader","VStepperItems","VStepperContent","VStepperStep","stepClick","steps","isReverse","nonLinear","altLabels","getSteps","isVertical","isInactive","completeIcon","editIcon","errorIcon","stepContent","wrapperClasses","onTransition","contentData","wrapperData","VSubheader","VSwitch","containerClasses","toggleClasses","VSystemBar","lightsOut","status","computedHeight","VTabs","VTabsSlider","VTabsBar","VTabsContent","VTabsItem","VTabsItems","registerContent","unregisterContent","registerTabItem","unregisterTabItem","tabClick","isScrollable","tabItems","activeIndex","tabsSlider","targetEl","tabsContainer","centered","grow","updateTabs","newItems","oldItems","tab","nextIndex","prevIndex","setActiveIndex","action","callSlider","addTabItem","removeTabItem","link","showTransition","div","scrollOffset","itemOffset","startX","containerStyles","leftIconVisible","rightIconVisible","newOffsetRight","itemWidth","genContainer","capitalize","charAt","scrollLeft","newOffset","scrollRight","newOffsetLeft","currentOffset","currentIndex","VTextField","initialValue","inputHeight","badInput","autofocus","autoGrow","box","prefix","suffix","textarea","count","inputLength","counterLength","parsedLength","shouldAutoGrow","calculateInputHeight","minHeight","onInput","resetSelections","validity","maxlength","genFix","selectionStart","VTimePicker","isDragging","originalTime","period","selectingHour","ranges","hours","minutes","allowedHours","allowedMinutes","is24hr","is24hrAfter12","hour","degrees","degreesPerUnit","inputTime","getHours","minute","getMinutes","firstAllowed","timeArray","clockHand","clockSize","allowed","mod","convert12to24hr","pm","generateRange","genTime","genAMPM","genPeriod","hasChanged","genHand","mousemove","onDragMove","genHours","genMinutes","changing","getTransform","num","getPosition","radiusPercentage","sin","cos","changeHour","time","changeMinute","current","m","rect","clock","coords","selecting","angle","insideClick","euclidean","p0","p1","dx","dy","sqrt","atan2","VToolbarTitle","VToolbarItems","VToolbar","heights","mobileLandscape","mobile","desktop","denseHeight","defaultHeight","prominentHeight","isExtended","isScrollingProxy","previousScroll","card","clippedLeft","clippedRight","extended","manualScroll","prominent","scrollOffScreen","scrollTarget","scrollThreshold","computedMarginTop","isScrolling","whenScrolled","currentScroll","extension","defaultSlot","VTooltip","tooltip","_onScroll"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AAC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AACA;AACA;;AAEA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,eAAe,OAAO;AACtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD;AACxD,sCAAsC;AACtC,oCAAoC;AACpC,sCAAsC;AACtC,oCAAoC;AACpC,sCAAsC;AACtC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,qBAAqB;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,2BAA2B;AAC3B,4CAA4C;AAC5C;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,2BAA2B;AAC3B,2CAA2C;AAC3C;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/wCA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;AACA,4BAA4B,UAAU;;;;;;;ACvLtC;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF,mBAAmB;AACnB;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AClIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3CA;;AAEA,IAAMA,UAAU;AACdzc,SADc,mBACLC,GADK,EACW;AAAA,QAAXqN,IAAW,uEAAJ,EAAI;;AACvB,QAAMhK,WAAW;AACfC,YAAA,2DADe;AAEf2Z,mBAAa;AACXC,aAAK,CADM;AAEXha,aAAK,CAFM;AAGXC,gBAAQ,CAHG;AAIXH,cAAM,CAJK;AAKXC,eAAO;AALI,OAFE;AASf6Q,kBAAY,EATG;AAUfqJ,oBAAc;AAVC,KAAjB;;AAaAnd,QAAIod,IAAJ,CAASC,cAAT,CAAwB,EAAxB,EAA4B,YAA5B,EAA0Cha,QAA1C;AACArD,QAAIod,IAAJ,CAASC,cAAT,CAAwB,EAAxB,EAA4B,aAA5B,EAA2Cha,QAA3C;;AAEArD,QAAIsd,SAAJ,CAAcja,QAAd,GAAyBA,QAAzB;;AAEA,QAAIgK,KAAKkQ,WAAT,EAAsB;AACpBxgB,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CqF,OAA5C;;AAEA3L,KAAG43C,SAAH,GAAe;AACbnsC,kBADa;AAEbE;AAFa,GAAf;AAID;;AAED,SAAS/D,MAAT,CAAiB5H,EAAjB,EAAqB4B,OAArB,EAA8B;AAAA,sBACA5B,GAAG43C,SADH;AAAA,MACpBnsC,MADoB,iBACpBA,MADoB;AAAA,MACZE,OADY,iBACZA,OADY;;;AAG5BF,SAAOnJ,mBAAP,CAA2B,QAA3B,EAAqCV,QAAQ0E,QAA7C,EAAuDqF,OAAvD;AACD;;AAED,yDAAe;AACb1L,QAAM,QADO;AAEb4H,oBAFa;AAGbD;AAHa,CAAf,E","file":"vuetify.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Vuetify\"] = factory();\n\telse\n\t\troot[\"Vuetify\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 45);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap fe7848070c1159d72647","export default {\n props: {\n dark: Boolean,\n light: Boolean\n },\n\n computed: {\n themeClasses () {\n return {\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/themeable.js","export function createSimpleFunctional (c, el = 'div', name) {\n name = name || c.replace(/__/g, '-')\n\n return {\n name: `v-${name}`,\n functional: true,\n\n render: (h, { data, children }) => {\n data.staticClass = (`${c} ${data.staticClass || ''}`).trim()\n\n return h(el, data, children)\n }\n }\n}\n\nexport function createSimpleTransition (name, origin = 'top center 0', mode) {\n return {\n name,\n\n functional: true,\n\n props: {\n origin: {\n type: String,\n default: origin\n }\n },\n\n render (h, context) {\n context.data = context.data || {}\n context.data.props = { name }\n context.data.on = context.data.on || {}\n if (!Object.isExtensible(context.data.on)) {\n context.data.on = { ...context.data.on }\n }\n\n if (mode) context.data.props.mode = mode\n\n context.data.on.beforeEnter = el => {\n el.style.transformOrigin = context.props.origin\n el.style.webkitTransformOrigin = context.props.origin\n }\n\n return h('transition', context.data, context.children)\n }\n }\n}\n\nexport function createJavaScriptTransition (name, functions, css = true, mode = 'in-out') {\n return {\n name,\n\n functional: true,\n\n props: {\n css: {\n type: Boolean,\n default: css\n },\n mode: {\n type: String,\n default: mode\n }\n },\n\n render (h, context) {\n const data = {\n props: {\n ...context.props,\n name\n },\n on: functions\n }\n\n return h('transition', data, context.children)\n }\n }\n}\n\nexport function directiveConfig (binding, defaults = {}) {\n return Object.assign({},\n defaults,\n binding.modifiers,\n { value: binding.arg },\n binding.value || {}\n )\n}\n\nexport function addOnceEventListener (el, event, cb) {\n var once = () => {\n cb()\n el.removeEventListener(event, once, false)\n }\n\n el.addEventListener(event, once, false)\n}\n\nexport function getObjectValueByPath (obj, path) {\n // credit: http://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key#comment55278413_6491621\n if (!path || path.constructor !== String) return\n path = path.replace(/\\[(\\w+)\\]/g, '.$1') // convert indexes to properties\n path = path.replace(/^\\./, '') // strip a leading dot\n const a = path.split('.')\n for (var i = 0, n = a.length; i < n; ++i) {\n var k = a[i]\n if (obj instanceof Object && k in obj) {\n obj = obj[k]\n } else {\n return\n }\n }\n return obj\n}\n\nexport function createRange (length) {\n return [...Array.from({ length }, (v, k) => k)]\n}\n\nexport function getZIndex (el) {\n if (!el || el.nodeType !== Node.ELEMENT_NODE) return 0\n var zi = document.defaultView.getComputedStyle(el).getPropertyValue('z-index')\n if (isNaN(zi)) return getZIndex(el.parentNode)\n return zi\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/helpers.js","import VIcon from './VIcon'\n\nVIcon.install = function install (Vue) {\n Vue.component(VIcon.name, VIcon)\n}\n\nexport default VIcon\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VIcon/index.js","export default {\n props: {\n color: String\n },\n methods: {\n addColorClassChecks (classes) {\n const parts = this.color ? this.color.trim().split(' ') : ['']\n let color = parts[0] + '--text'\n if (parts.length > 1) color += ' text--' + parts[1]\n classes[color] = !!this.color\n return classes\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/colorable.js","export function factory (prop = 'value', event = 'input') {\n return {\n model: { prop, event },\n\n props: {\n [prop]: { required: false }\n },\n\n data () {\n return {\n isActive: !!this[prop]\n }\n },\n\n watch: {\n [prop] (val) {\n this.isActive = !!val\n },\n isActive (val) {\n !!val !== this[prop] && this.$emit(event, val)\n }\n }\n }\n}\n\nconst Toggleable = factory()\n\nexport default Toggleable\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/toggleable.js","import {\n createSimpleTransition,\n createJavaScriptTransition\n} from '../../util/helpers'\n\nimport ExpandTransitionFunctions from './expand-transition'\nimport RowExpandTransitionFunctions from './row-expand-transition'\n\n// Component specific transitions\nexport const VBottomSheetTranstion = createSimpleTransition('bottom-sheet-transition')\nexport const VCarouselTransition = createSimpleTransition('carousel-transition')\nexport const VCarouselReverseTransition = createSimpleTransition('carousel-reverse-transition')\nexport const VTabTransition = createSimpleTransition('tab-transition')\nexport const VTabReverseTransition = createSimpleTransition('tab-reverse-transition')\nexport const VMenuTransition = createSimpleTransition('menu-transition')\nexport const VFabTransition = createSimpleTransition('fab-transition', 'center center', 'out-in')\n\n// Generic transitions\nexport const VDialogTransition = createSimpleTransition('dialog-transition')\nexport const VDialogBottomTransition = createSimpleTransition('dialog-bottom-transition')\nexport const VFadeTransition = createSimpleTransition('fade-transition')\nexport const VScaleTransition = createSimpleTransition('scale-transition')\nexport const VSlideXTransition = createSimpleTransition('slide-x-transition')\nexport const VSlideXReverseTransition = createSimpleTransition('slide-x-reverse-transition')\nexport const VSlideYTransition = createSimpleTransition('slide-y-transition')\nexport const VSlideYReverseTransition = createSimpleTransition('slide-y-reverse-transition')\n\n// JavaScript transitions\nexport const VExpandTransition = createJavaScriptTransition('expand-transition', ExpandTransitionFunctions)\nexport const VRowExpandTransition = createJavaScriptTransition('row-expand-transition', RowExpandTransitionFunctions)\n\nexport default function install (Vue) {\n Vue.component('v-bottom-sheet-transition', VBottomSheetTranstion)\n Vue.component('v-carousel-transition', VCarouselTransition)\n Vue.component('v-carousel-reverse-transition', VCarouselReverseTransition)\n Vue.component('v-dialog-transition', VDialogTransition)\n Vue.component('v-dialog-bottom-transition', VDialogBottomTransition)\n Vue.component('v-fab-transition', VFabTransition)\n Vue.component('v-fade-transition', VFadeTransition)\n Vue.component('v-menu-transition', VMenuTransition)\n Vue.component('v-scale-transition', VScaleTransition)\n Vue.component('v-slide-x-transition', VSlideXTransition)\n Vue.component('v-slide-x-reverse-transition', VSlideXReverseTransition)\n Vue.component('v-slide-y-transition', VSlideYTransition)\n Vue.component('v-slide-y-reverse-transition', VSlideYReverseTransition)\n Vue.component('v-tab-reverse-transition', VTabReverseTransition)\n Vue.component('v-tab-transition', VTabTransition)\n Vue.component('v-expand-transition', VExpandTransition)\n Vue.component('v-row-expand-transition', VRowExpandTransition)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/transitions/index.js","function directive (e, el, binding, v) {\n if (!e || !v.context.isActive) return\n\n const val = binding.value || (() => true)\n // Check if callback was passed in object or as the value\n const cb = val.callback || val\n // Check if additional elements were passed to be included in check\n const elements = (val.include || (() => []))()\n // Add the element this directive was defined on\n elements.push(el)\n\n if (!clickedInEls(e, elements) && cb(e)) {\n setTimeout(() => (v.context.isActive = false), 0)\n }\n}\n\nfunction clickedInEls (e, elements) {\n // Get position of click\n const x = e.clientX\n const y = e.clientY\n // Loop over all included elements to see if click was in any of them\n for (const el of elements) {\n if (clickedInEl(el, x, y)) return true\n }\n return false\n}\n\nfunction clickedInEl (el, x, y) {\n // Get bounding rect for element (we're in capturing event so can't trust target)\n const b = el.getBoundingClientRect()\n // Check if the click was in the element's bounding rect\n return x >= b.left && x <= b.right && y >= b.top && y <= b.bottom\n}\n\nexport default {\n name: 'click-outside',\n\n bind (el, binding, v) {\n v.context.$vuetify.load(() => {\n const onClick = e => directive(e, el, binding, v)\n document.addEventListener('click', onClick, true)\n el._clickOutside = onClick\n })\n },\n\n unbind (el) {\n document.removeEventListener('click', el._clickOutside, true)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/click-outside.js","function inserted (el, binding) {\n let cb = binding.value\n let debounce = 200\n\n if (typeof binding.value !== 'function') {\n cb = binding.value.value\n debounce = binding.value.debounce\n }\n\n let debounceTimeout = setTimeout(cb, debounce)\n const onResize = () => {\n clearTimeout(debounceTimeout)\n debounceTimeout = setTimeout(cb, debounce)\n }\n\n window.addEventListener('resize', onResize, { passive: true })\n el._onResize = onResize\n\n onResize()\n}\n\nfunction unbind (el, binding) {\n window.removeEventListener('resize', el._onResize)\n}\n\nexport default {\n name: 'resize',\n inserted,\n unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/resize.js","function style (el, value) {\n [\n 'transform',\n 'webkitTransform'\n ].forEach(i => {\n el.style[i] = value\n })\n}\n\nconst ripple = {\n show: (e, el, { value = {} }) => {\n var container = document.createElement('span')\n var animation = document.createElement('span')\n\n container.appendChild(animation)\n container.className = 'ripple__container'\n\n if (value.class) {\n container.className += ` ${value.class}`\n }\n\n const size = el.clientWidth > el.clientHeight\n ? el.clientWidth\n : el.clientHeight\n animation.className = 'ripple__animation'\n animation.style.width = `${size * (value.center ? 1 : 2)}px`\n animation.style.height = animation.style.width\n\n el.appendChild(container)\n const computed = window.getComputedStyle(el)\n if (computed.position !== 'absolute' && computed.position !== 'fixed') el.style.position = 'relative'\n\n const offset = el.getBoundingClientRect()\n const x = value.center ? '50%' : `${e.clientX - offset.left}px`\n const y = value.center ? '50%' : `${e.clientY - offset.top}px`\n\n animation.classList.add('ripple__animation--enter')\n animation.classList.add('ripple__animation--visible')\n style(animation, `translate(-50%, -50%) translate(${x}, ${y}) scale3d(0.01,0.01,0.01)`)\n animation.dataset.activated = Date.now()\n\n setTimeout(() => {\n animation.classList.remove('ripple__animation--enter')\n style(animation, `translate(-50%, -50%) translate(${x}, ${y}) scale3d(0.99,0.99,0.99)`)\n }, 0)\n },\n\n hide: (el) => {\n const ripples = el.getElementsByClassName('ripple__animation')\n\n if (ripples.length === 0) return\n const animation = ripples[ripples.length - 1]\n const diff = Date.now() - Number(animation.dataset.activated)\n let delay = 400 - diff\n\n delay = delay < 0 ? 0 : delay\n\n setTimeout(() => {\n animation.classList.remove('ripple__animation--visible')\n\n setTimeout(() => {\n // Need to figure out a new way to do this\n try {\n if (ripples.length < 1) el.style.position = null\n animation.parentNode && el.removeChild(animation.parentNode)\n } catch (e) {}\n }, 300)\n }, delay)\n }\n}\n\nfunction directive (el, binding, v) {\n if (binding.value === false) return\n\n if ('ontouchstart' in window) {\n el.addEventListener('touchend', () => ripple.hide(el), false)\n el.addEventListener('touchcancel', () => ripple.hide(el), false)\n }\n\n el.addEventListener('mousedown', e => ripple.show(e, el, binding), false)\n el.addEventListener('mouseup', () => ripple.hide(el), false)\n el.addEventListener('mouseleave', () => ripple.hide(el), false)\n // Anchor tags can be dragged, causes other hides to fail - #1537\n el.addEventListener('dragstart', () => ripple.hide(el), false)\n}\n\nfunction unbind (el, binding) {\n el.removeEventListener('touchstart', e => ripple.show(e, el, binding), false)\n el.removeEventListener('mousedown', e => ripple.show(e, el, binding), false)\n el.removeEventListener('touchend', () => ripple.hide(el), false)\n el.removeEventListener('touchcancel', () => ripple.hide(el), false)\n el.removeEventListener('mouseup', () => ripple.hide(el), false)\n el.removeEventListener('mouseleave', () => ripple.hide(el), false)\n el.removeEventListener('dragstart', () => ripple.hide(el), false)\n}\n\nexport default {\n name: 'ripple',\n bind: directive,\n unbind: unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/ripple.js","import VBtn from './VBtn'\n\nVBtn.install = function install (Vue) {\n Vue.component(VBtn.name, VBtn)\n}\n\nexport default VBtn\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtn/index.js","const touchstart = (event, wrapper) => {\n const touch = event.changedTouches[0]\n wrapper.touchstartX = touch.clientX\n wrapper.touchstartY = touch.clientY\n\n wrapper.start &&\n wrapper.start(Object.assign(event, wrapper))\n}\n\nconst touchend = (event, wrapper) => {\n const touch = event.changedTouches[0]\n wrapper.touchendX = touch.clientX\n wrapper.touchendY = touch.clientY\n\n wrapper.end &&\n wrapper.end(Object.assign(event, wrapper))\n\n handleGesture(wrapper)\n}\n\nconst touchmove = (event, wrapper) => {\n const touch = event.changedTouches[0]\n wrapper.touchmoveX = touch.clientX\n wrapper.touchmoveY = touch.clientY\n\n wrapper.move && wrapper.move(Object.assign(event, wrapper))\n}\n\nconst handleGesture = (wrapper) => {\n const { touchstartX, touchendX, touchstartY, touchendY } = wrapper\n wrapper.offsetX = touchendX - touchstartX\n wrapper.offsetY = touchendY - touchstartY\n\n if (touchendX < touchstartX) {\n wrapper.left && wrapper.left(wrapper)\n }\n if (touchendX > touchstartX) {\n wrapper.right && wrapper.right(wrapper)\n }\n if (touchendY < touchstartY) {\n wrapper.up && wrapper.up(wrapper)\n }\n if (touchendY > touchstartY) {\n wrapper.down && wrapper.down(wrapper)\n }\n}\n\nfunction inserted (el, { value }) {\n const wrapper = {\n touchstartX: 0,\n touchstartY: 0,\n touchendX: 0,\n touchendY: 0,\n touchmoveX: 0,\n touchmoveY: 0,\n offsetX: 0,\n offsetY: 0,\n left: value.left,\n right: value.right,\n up: value.up,\n down: value.down,\n start: value.start,\n move: value.move,\n end: value.end\n }\n\n const target = value.parent ? el.parentNode : el\n const options = value.options || { passive: true }\n\n // Needed to pass unit tests\n if (!target) return\n target.addEventListener('touchstart', e => touchstart(e, wrapper), options)\n target.addEventListener('touchend', e => touchend(e, wrapper), options)\n target.addEventListener('touchmove', e => touchmove(e, wrapper), options)\n}\n\nfunction unbind (el, { value }) {\n const target = value.parent ? el.parentNode : el\n\n if (!target) return\n\n target.removeEventListener('touchstart', touchstart)\n target.removeEventListener('touchend', touchend)\n target.removeEventListener('touchmove', touchmove)\n}\n\nexport default {\n name: 'touch',\n inserted,\n unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/touch.js","/**\n * Bootable\n * @mixin\n *\n * Used to add lazy content functionality to components\n * Looks for change in \"isActive\" to automatically boot\n * Otherwise can be set manually\n */\nexport default {\n data: () => ({\n isBooted: false\n }),\n\n props: {\n lazy: Boolean\n },\n\n watch: {\n isActive () {\n this.isBooted = true\n }\n },\n\n methods: {\n showLazyContent (content) {\n return (this.isBooted || !this.lazy)\n ? content\n : null\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/bootable.js","import Ripple from '../directives/ripple'\n\nexport default {\n directives: {\n Ripple\n },\n\n props: {\n append: Boolean,\n disabled: Boolean,\n exact: Boolean,\n href: [String, Object],\n to: [String, Object],\n nuxt: Boolean,\n replace: Boolean,\n router: Boolean,\n ripple: Boolean,\n tag: String\n },\n\n methods: {\n click () {},\n generateRouteLink () {\n let exact = this.exact\n let tag\n\n const data = {\n attrs: { disabled: this.disabled },\n class: this.classes,\n props: {},\n directives: [{\n name: 'ripple',\n value: this.ripple || false\n }],\n on: {\n ...(this.$listeners || {}),\n click: this.click\n }\n }\n\n if (typeof this.exact === 'undefined') {\n exact = this.to === '/' ||\n (this.to === Object(this.to) && this.to.path === '/')\n }\n\n if (this.to) {\n tag = this.nuxt ? 'nuxt-link' : 'router-link'\n data.props.to = this.to\n data.props.exact = exact\n data.props.activeClass = this.activeClass\n data.props.append = this.append\n data.props.replace = this.replace\n } else {\n tag = this.href && 'a' || this.tag || 'a'\n\n if (tag === 'a') {\n data.attrs.href = this.href || 'javascript:;'\n }\n }\n\n return { tag, data }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/routable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_input-groups.styl\n// module id = 13\n// module chunks = 0","import Loadable from './loadable'\nimport Themeable from './themeable'\nimport Validatable from './validatable'\nimport VIcon from '../components/VIcon'\n\nexport default {\n components: {\n VIcon\n },\n\n mixins: [Loadable, Themeable, Validatable],\n\n data () {\n return {\n isFocused: false,\n tabFocused: false,\n internalTabIndex: null,\n lazyValue: this.value\n }\n },\n\n props: {\n appendIcon: String,\n appendIconCb: Function,\n disabled: Boolean,\n hint: String,\n hideDetails: Boolean,\n label: String,\n persistentHint: Boolean,\n placeholder: String,\n prependIcon: String,\n prependIconCb: Function,\n readonly: Boolean,\n required: Boolean,\n tabindex: {\n default: 0\n },\n toggleKeys: {\n type: Array,\n default: () => [13, 32]\n },\n value: {\n required: false\n }\n },\n\n computed: {\n inputGroupClasses () {\n return Object.assign({\n 'input-group': true,\n 'input-group--async-loading': this.loading !== false,\n 'input-group--focused': this.isFocused,\n 'input-group--dirty': this.isDirty,\n 'input-group--tab-focused': this.tabFocused,\n 'input-group--disabled': this.disabled,\n 'input-group--error': this.hasError,\n 'input-group--append-icon': this.appendIcon,\n 'input-group--prepend-icon': this.prependIcon,\n 'input-group--required': this.required,\n 'input-group--hide-details': this.hideDetails,\n 'input-group--placeholder': !!this.placeholder,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }, this.classes)\n },\n isDirty () {\n return !!this.inputValue\n }\n },\n\n methods: {\n groupFocus (e) {},\n groupBlur (e) {\n this.tabFocused = false\n },\n genLabel () {\n return this.$createElement('label', {\n attrs: {\n for: this.$attrs.id\n }\n }, this.$slots.label || this.label)\n },\n genMessages () {\n let messages = []\n\n if ((this.hint &&\n this.isFocused ||\n this.hint &&\n this.persistentHint) &&\n this.validations.length === 0\n ) {\n messages = [this.genHint()]\n } else if (this.validations.length) {\n messages = this.validations.map(v => this.genError(v))\n }\n\n return this.$createElement('transition-group', {\n 'class': 'input-group__messages',\n props: {\n tag: 'div',\n name: 'slide-y-transition'\n }\n }, messages)\n },\n genHint () {\n return this.$createElement('div', {\n 'class': 'input-group__hint',\n key: this.hint,\n domProps: { innerHTML: this.hint }\n })\n },\n genError (error) {\n return this.$createElement(\n 'div',\n {\n 'class': 'input-group__error',\n key: error\n },\n error\n )\n },\n genIcon (type, defaultCallback = null) {\n const shouldClear = type === 'append' && this.clearable && this.isDirty\n const icon = shouldClear ? 'clear' : this[`${type}Icon`]\n const callback = shouldClear\n ? this.clearableCallback\n : (this[`${type}IconCb`] || defaultCallback)\n\n return this.$createElement('v-icon', {\n attrs: {\n 'aria-hidden': true\n },\n 'class': {\n [`input-group__${type}-icon`]: true,\n 'input-group__icon-cb': !!callback,\n 'input-group__icon-clearable': shouldClear\n },\n props: {\n disabled: this.disabled\n },\n on: {\n click: e => {\n if (!callback) return\n\n e.stopPropagation()\n callback()\n }\n }\n }, icon)\n },\n genInputGroup (input, data = {}, defaultAppendCallback = null) {\n const children = []\n const wrapperChildren = []\n const detailsChildren = []\n\n data = Object.assign({}, {\n 'class': this.inputGroupClasses,\n attrs: {\n tabindex: this.disabled\n ? -1\n : this.internalTabIndex || this.tabindex\n },\n on: {\n focus: this.groupFocus,\n blur: this.groupBlur,\n click: () => (this.tabFocused = false),\n keyup: e => {\n if ([9, 16].includes(e.keyCode)) {\n this.tabFocused = true\n }\n },\n keydown: e => {\n if (!this.toggle) return\n\n if (this.toggleKeys.includes(e.keyCode)) {\n e.preventDefault()\n this.toggle()\n }\n }\n }\n }, data)\n\n if (this.$slots.label || this.label) {\n children.push(this.genLabel())\n }\n\n wrapperChildren.push(input)\n\n if (this.prependIcon) {\n wrapperChildren.unshift(this.genIcon('prepend'))\n }\n\n if (this.appendIcon || this.clearable) {\n wrapperChildren.push(this.genIcon('append', defaultAppendCallback))\n }\n\n const progress = this.genProgress()\n progress && detailsChildren.push(progress)\n\n children.push(\n this.$createElement('div', {\n 'class': 'input-group__input'\n }, wrapperChildren)\n )\n detailsChildren.push(this.genMessages())\n\n if (this.counter) {\n detailsChildren.push(this.genCounter())\n }\n\n children.push(\n this.$createElement('div', {\n 'class': 'input-group__details'\n }, detailsChildren)\n )\n\n return this.$createElement('div', data, children)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/input.js","function searchChildren (children) {\n const results = []\n for (const child of children) {\n if (child.isActive && (child.isDependent || (child.closeDependents && child.isDependent !== false))) {\n results.push(child)\n } else {\n results.push(...searchChildren(child.$children))\n }\n }\n return results\n}\n\nexport function factory (opts = { closeDependents: true }) {\n return {\n props: {\n closeDependents: {\n type: Boolean,\n default: opts.closeDependents\n },\n isDependent: {\n type: Boolean,\n default: opts.isDependent\n }\n },\n\n methods: {\n getOpenDependents () {\n if (this.closeDependents) return searchChildren(this.$children)\n return []\n },\n getOpenDependentElements () {\n return this.getOpenDependents().map(d => d.getClickableDependentElements())\n },\n getClickableDependentElements () {\n const result = [this.$el]\n if (this.$refs.content) result.push(this.$refs.content)\n result.push(...this.getOpenDependentElements())\n return result\n }\n },\n\n watch: {\n isActive (val) {\n if (!val) {\n for (const dependent of this.getOpenDependents()) {\n dependent.isActive = false\n }\n }\n }\n }\n }\n}\n\nconst Dependent = factory()\n\nexport default Dependent\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/dependent.js","import { createSimpleFunctional } from '../../util/helpers'\nimport VCard from './VCard'\nimport VCardMedia from './VCardMedia'\nimport VCardTitle from './VCardTitle'\n\nexport { VCard, VCardMedia, VCardTitle }\n\nVCard.install = function install (Vue) {\n const VCardActions = createSimpleFunctional('card__actions')\n const VCardText = createSimpleFunctional('card__text')\n\n Vue.component(VCard.name, VCard)\n Vue.component(VCardMedia.name, VCardMedia)\n Vue.component(VCardTitle.name, VCardTitle)\n Vue.component('v-card-actions', VCardActions)\n Vue.component('v-card-text', VCardText)\n}\n\nexport default VCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/index.js","export default {\n props: {\n app: Boolean\n },\n\n created () {\n this.updateApplication()\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/applicationable.js","import Bootable from './bootable'\n\nexport default {\n mixins: [Bootable],\n\n props: {\n contentClass: {\n default: ''\n }\n },\n\n mounted () {\n this.$vuetify.load(this.initDetach)\n },\n\n beforeDestroy () {\n if (!this.$refs.content) return\n\n // IE11 Fix\n try {\n this.$refs.content.parentNode.removeChild(this.$refs.content)\n } catch (e) {}\n },\n\n methods: {\n initDetach () {\n if (this._isDestroyed) return\n\n const app = document.querySelector('[data-app]')\n\n if (!app) {\n return console.warn('Application is missing component.')\n }\n\n // If child has already been removed, bail\n if (!this.$refs.content) return\n\n app.insertBefore(\n this.$refs.content,\n app.firstChild\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/detachable.js","export default {\n props: {\n absolute: Boolean,\n bottom: Boolean,\n fixed: Boolean,\n left: Boolean,\n right: Boolean,\n top: Boolean\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/positionable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_selection-controls.styl\n// module id = 20\n// module chunks = 0","import Ripple from '../directives/ripple'\n\n/** @mixin */\nexport default {\n directives: { Ripple },\n\n methods: {\n genRipple () {\n return this.$createElement('div', {\n 'class': this.rippleClasses || 'input-group--selection-controls__ripple',\n on: Object.assign({}, {\n click: this.toggle\n }, this.$listeners),\n directives: [{\n name: 'ripple',\n value: !this.disabled && { center: true }\n }]\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/rippleable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_grid.styl\n// module id = 22\n// module chunks = 0","export default function Grid (name) {\n return {\n name: `v-${name}`,\n\n functional: true,\n\n props: {\n id: String\n },\n\n render: (h, { props, data, children }) => {\n data.staticClass = (`${name} ${data.staticClass || ''}`).trim()\n\n if (data.attrs) {\n const classes = []\n\n Object.keys(data.attrs).forEach(key => {\n const value = data.attrs[key]\n\n if (typeof value === 'string') classes.push(key)\n else if (value) classes.push(key)\n })\n\n data.staticClass += ` ${classes.join(' ')}`\n delete data.attrs\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h('div', data, children)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/grid.js","export default {\n props: {\n primary: Boolean,\n secondary: Boolean,\n success: Boolean,\n info: Boolean,\n warning: Boolean,\n error: Boolean\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/contextualable.js","export default {\n data () {\n return {\n buttons: [],\n listeners: []\n }\n },\n\n methods: {\n getValue (i) {\n if (this.buttons[i].value != null) {\n return this.buttons[i].value\n }\n\n // Fix for testing, this should always be false in the browser\n if (this.buttons[i].$el.value != null && this.buttons[i].$el.value !== '') {\n return this.buttons[i].$el.value\n }\n\n return i\n },\n update () {\n const selected = []\n\n this.buttons\n .forEach((button, i) => {\n const elm = button.$el\n\n // Fix for testing, dataset does not exist on elm?\n if (!elm.dataset) elm.dataset = {}\n\n elm.removeAttribute('data-only-child')\n\n if (this.isSelected(i)) {\n elm.setAttribute('data-selected', true)\n\n if (!elm.classList.contains('btn--router')) {\n elm.classList.add('btn--active')\n }\n\n selected.push(i)\n } else {\n elm.removeAttribute('data-selected')\n\n if (!elm.classList.contains('btn--router')) {\n elm.classList.remove('btn--active')\n }\n }\n\n elm.dataset.index = i\n })\n\n if (selected.length === 1) {\n this.buttons[selected[0]].$el.setAttribute('data-only-child', true)\n }\n }\n },\n\n mounted () {\n this.$vuetify.load(() => {\n this.buttons = this.$children\n\n this.buttons.forEach((button, i) => {\n this.listeners.push(this.updateValue.bind(this, i))\n button.$on('click', this.listeners[i])\n })\n\n this.update()\n })\n },\n\n beforeDestroy () {\n this.buttons.forEach((button, i) => {\n button.$off('click', this.listeners[i])\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/button-group.js","require('../../stylus/components/_dialogs.styl')\n\n// Mixins\nimport { factory as DependentFactory } from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport { factory as StackableFactory } from '../../mixins/stackable'\nimport Toggleable from '../../mixins/toggleable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport { getZIndex } from '../../util/helpers'\n\nconst Dependent = DependentFactory({ closeDependents: true, isDependent: false })\nconst Stackable = StackableFactory({ minZIndex: 200, stackClass: 'dialog__content__active' })\n\nexport default {\n name: 'v-dialog',\n\n mixins: [Dependent, Detachable, Overlayable, Stackable, Toggleable],\n\n directives: {\n ClickOutside\n },\n\n props: {\n disabled: Boolean,\n persistent: Boolean,\n fullscreen: Boolean,\n fullWidth: Boolean,\n origin: {\n type: String,\n default: 'center center'\n },\n width: {\n type: [String, Number],\n default: 290\n },\n scrollable: Boolean,\n transition: {\n type: [String, Boolean],\n default: 'dialog-transition'\n }\n },\n\n computed: {\n classes () {\n return {\n [(`dialog ${this.contentClass}`).trim()]: true,\n 'dialog--active': this.isActive,\n 'dialog--persistent': this.persistent,\n 'dialog--fullscreen': this.fullscreen,\n 'dialog--stacked-actions': this.stackedActions && !this.fullscreen,\n 'dialog--scrollable': this.scrollable\n }\n },\n contentClasses () {\n return {\n 'dialog__content': true,\n 'dialog__content__active': this.isActive\n }\n }\n },\n\n watch: {\n isActive (val) {\n if (val) {\n !this.fullscreen && !this.hideOverlay && this.genOverlay()\n this.fullscreen && this.hideScroll()\n this.$refs.content.focus()\n } else {\n if (!this.fullscreen) this.removeOverlay()\n else this.showScroll()\n }\n }\n },\n\n mounted () {\n this.isBooted = this.isActive\n this.$vuetify.load(() => (this.isActive && this.genOverlay()))\n },\n\n methods: {\n closeConditional (e) {\n // close dialog if !persistent, clicked outside and we're the topmost dialog.\n // Since this should only be called in a capture event (bottom up), we shouldn't need to stop propagation\n return !this.persistent && getZIndex(this.$refs.content) >= this.getMaxZIndex()\n }\n },\n\n render (h) {\n const children = []\n const data = {\n 'class': this.classes,\n ref: 'dialog',\n directives: [\n {\n name: 'click-outside',\n value: {\n callback: this.closeConditional,\n include: () => this.getOpenDependentElements()\n }\n },\n { name: 'show', value: this.isActive }\n ],\n on: { click: e => e.stopPropagation() }\n }\n\n if (!this.fullscreen) {\n data.style = {\n width: isNaN(this.width) ? this.width : `${this.width}px`\n }\n }\n\n if (this.$slots.activator) {\n children.push(h('div', {\n 'class': 'dialog__activator',\n on: {\n click: e => {\n if (!this.disabled) this.isActive = !this.isActive\n }\n }\n }, [this.$slots.activator]))\n }\n\n const dialog = h('transition', {\n props: {\n name: this.transition || '', // If false, show nothing\n origin: this.origin\n }\n }, [h('div', data,\n this.showLazyContent(this.$slots.default)\n )])\n\n children.push(h('div', {\n 'class': this.contentClasses,\n style: { zIndex: this.activeZIndex },\n ref: 'content'\n }, [dialog]))\n\n return h('div', {\n 'class': 'dialog__container',\n style: {\n display: !this.$slots.activator && 'none' || this.fullWidth ? 'block' : 'inline-block'\n }\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDialog/VDialog.js","require('../stylus/components/_overlay.styl')\n\nexport default {\n data () {\n return {\n overlay: null,\n overlayOffset: 0,\n overlayTimeout: null,\n overlayTransitionDuration: 500\n }\n },\n\n props: {\n hideOverlay: Boolean\n },\n\n beforeDestroy () {\n this.removeOverlay()\n },\n\n methods: {\n genOverlay () {\n // If fn is called and timeout is active\n // or overlay already exists\n // cancel removal of overlay and re-add active\n if ((!this.isActive || this.hideOverlay) ||\n (this.isActive && this.overlayTimeout) ||\n this.overlay\n ) {\n clearTimeout(this.overlayTimeout)\n\n return this.overlay &&\n this.overlay.classList.add('overlay--active')\n }\n\n this.overlay = document.createElement('div')\n this.overlay.className = 'overlay'\n\n if (this.absolute) this.overlay.className += ' overlay--absolute'\n if (this.activeZIndex !== undefined) this.overlay.style.zIndex = this.activeZIndex - 1\n\n this.hideScroll()\n\n if (this.absolute) {\n // Required for IE11\n const parent = this.$el.parentNode\n parent.insertBefore(this.overlay, parent.firstChild)\n } else {\n document.querySelector('[data-app]').appendChild(this.overlay)\n }\n\n this.overlay.clientHeight // Force repaint\n requestAnimationFrame(() => {\n this.overlay.className += ' overlay--active'\n })\n\n return true\n },\n removeOverlay () {\n if (!this.overlay) {\n return this.showScroll()\n }\n\n this.overlay.classList.remove('overlay--active')\n\n this.overlayTimeout = setTimeout(() => {\n // IE11 Fix\n try {\n this.overlay.parentNode.removeChild(this.overlay)\n this.overlay = null\n this.showScroll()\n } catch (e) {}\n\n clearTimeout(this.overlayTimeout)\n this.overlayTimeout = null\n }, this.overlayTransitionDuration)\n },\n /**\n * @param {Event} e\n * @returns void\n */\n scrollListener (e) {\n if (e.type === 'keydown') {\n const up = [38, 33]\n const down = [40, 34]\n\n if (up.includes(e.keyCode)) {\n e.deltaY = -1\n } else if (down.includes(e.keyCode)) {\n e.deltaY = 1\n } else {\n return\n }\n }\n\n if (e.target === this.overlay ||\n (e.type !== 'keydown' && e.target === document.body) ||\n this.checkPath(e)) e.preventDefault()\n },\n hasScrollbar (el) {\n const style = window.getComputedStyle(el)\n return ['auto', 'scroll'].includes(style['overflow-y']) && el.scrollHeight > el.clientHeight\n },\n shouldScroll (el, delta) {\n if (el.scrollTop === 0 && delta < 0) return true\n return el.scrollTop + el.clientHeight === el.scrollHeight && delta > 0\n },\n isInside (el, parent) {\n if (el === parent) {\n return true\n } else if (el === null || el === document.body) {\n return false\n } else {\n return this.isInside(el.parentNode, parent)\n }\n },\n /**\n * @param {Event} e\n * @returns boolean\n */\n checkPath (e) {\n const path = e.path || this.composedPath(e)\n const delta = e.deltaY || -e.wheelDelta\n\n if (e.type === 'keydown' && path[0] === document.body) {\n const dialog = this.$refs.dialog\n const selected = window.getSelection().anchorNode\n if (this.hasScrollbar(dialog) && this.isInside(selected, dialog)) {\n return this.shouldScroll(dialog, delta)\n }\n return true\n }\n\n for (const el of path) {\n if ([document, document.documentElement, this.$refs.content].includes(el)) return true\n if (this.hasScrollbar(el)) return this.shouldScroll(el, delta)\n }\n\n return true\n },\n /**\n * Polyfill for Event.prototype.composedPath\n * @param {Event} e\n * @returns Element[]\n */\n composedPath (e) {\n if (e.composedPath) return e.composedPath()\n\n const path = []\n let el = e.target\n\n while (el) {\n path.push(el)\n\n if (el.tagName === 'HTML') {\n path.push(document)\n path.push(window)\n\n return path\n }\n\n el = el.parentElement\n }\n },\n hideScroll () {\n if (this.$vuetify.breakpoint.mdAndDown) {\n document.documentElement.classList.add('overflow-y-hidden')\n } else {\n window.addEventListener('wheel', this.scrollListener)\n window.addEventListener('keydown', this.scrollListener)\n }\n },\n showScroll () {\n document.documentElement.classList.remove('overflow-y-hidden')\n window.removeEventListener('wheel', this.scrollListener)\n window.removeEventListener('keydown', this.scrollListener)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/overlayable.js","import { getZIndex } from '../util/helpers'\n\nexport function factory (opts = { stackClass: 'unspecified' }) {\n return {\n computed: {\n activeZIndex () {\n const content = opts.content || this.$refs.content\n if (!this.isActive) {\n // Return current zindex if not active\n return getZIndex(content)\n }\n // Return max current z-index (excluding self) + 2 (2 to leave room for an overlay below, if needed)\n return this.getMaxZIndex((opts.exclude || (() => [content]))()) + 2\n }\n },\n methods: {\n getMaxZIndex (exclude = []) {\n const base = opts.base || this.$el\n // start with lowest allowed z-index or z-index of base component's element, whichever is greater\n const zis = [opts.minZIndex, getZIndex(base)]\n // get z-index for all active dialogs\n const activeElements = document.getElementsByClassName(opts.stackClass)\n for (const activeElement of activeElements) {\n if (!exclude.includes(activeElement)) {\n zis.push(getZIndex(activeElement))\n }\n }\n return Math.max(...zis)\n }\n }\n }\n}\n\nconst Stackable = factory()\n\nexport default Stackable\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/stackable.js","import VCheckbox from './VCheckbox'\n\nVCheckbox.install = function install (Vue) {\n Vue.component(VCheckbox.name, VCheckbox)\n}\n\nexport default VCheckbox\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCheckbox/index.js","import { addOnceEventListener } from '../../util/helpers'\n\nexport default {\n enter (el, done) {\n el.td = el.parentNode\n\n addOnceEventListener(el, 'transitionend', done)\n\n // Get height that is to be scrolled\n const height = el.dataset.height || el.clientHeight\n el.dataset.height = height\n el.style.overflow = 'hidden'\n el.style.height = 0\n el.td.style['border-bottom'] = '1px solid rgba(0,0,0,0.12)'\n\n setTimeout(() => {\n el.style.height = `${height}px`\n }, 50)\n },\n afterEnter (el) {\n el.style.overflow = null\n },\n leave (el, done) {\n // Remove initial transition\n addOnceEventListener(el, 'transitionend', done)\n\n // Set height before we transition to 0\n el.style.overflow = 'hidden'\n el.style.height = `${el.dataset.height}px`\n\n setTimeout(() => {\n el.style.height = 0\n }, 50)\n },\n afterLeave (el) {\n el.td.style['border-bottom'] = null\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/transitions/row-expand-transition.js","import Colorable from './colorable'\nimport Input from './input'\n\nexport default {\n mixins: [Input, Colorable],\n\n model: {\n prop: 'inputValue',\n event: 'change'\n },\n\n props: {\n id: String,\n inputValue: null,\n falseValue: null,\n trueValue: null\n },\n\n computed: {\n isActive () {\n if ((Array.isArray(this.inputValue))\n ) {\n return this.inputValue.indexOf(this.value) !== -1\n }\n\n if (!this.trueValue || !this.falseValue) {\n return this.value\n ? this.value === this.inputValue\n : Boolean(this.inputValue)\n }\n\n return this.inputValue === this.trueValue\n },\n isDirty () {\n return this.isActive\n }\n },\n\n watch: {\n indeterminate (val) {\n this.inputIndeterminate = val\n }\n },\n\n methods: {\n genLabel () {\n return this.$createElement('label', {\n on: { click: this.toggle },\n attrs: {\n for: this.id\n }\n }, this.$slots.label || this.label)\n },\n toggle () {\n if (this.disabled) {\n return\n }\n\n let input = this.inputValue\n if (Array.isArray(input)) {\n input = input.slice()\n const i = input.indexOf(this.value)\n\n if (i === -1) {\n input.push(this.value)\n } else {\n input.splice(i, 1)\n }\n } else if (this.trueValue || this.falseValue) {\n input = input === this.trueValue ? this.falseValue : this.trueValue\n } else if (this.value) {\n input = this.value === this.inputValue\n ? null\n : this.value\n } else {\n input = !input\n }\n\n this.validate(true, input)\n\n this.$emit('change', input)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/selectable.js","/**\n * Loadable\n *\n * @mixin\n *\n * Used to add linear progress bar to components\n * Can use a default bar with a specific color\n * or designate a custom progress linear bar\n */\nexport default {\n props: {\n loading: {\n type: [Boolean, String],\n default: false\n }\n },\n\n methods: {\n genProgress () {\n if (this.loading === false) return null\n\n return this.$slots.progress || this.$createElement('v-progress-linear', {\n props: {\n color: (this.loading === true || this.loading === '')\n ? (this.color || 'primary')\n : this.loading,\n height: 2,\n indeterminate: true\n }\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/loadable.js","import VProgressLinear from './VProgressLinear'\n\nVProgressLinear.install = function install (Vue) {\n Vue.component(VProgressLinear.name, VProgressLinear)\n}\n\nexport default VProgressLinear\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressLinear/index.js","import VSelect from './VSelect'\n\nVSelect.install = function install (Vue) {\n Vue.component(VSelect.name, VSelect)\n}\n\nexport default VSelect\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/index.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_text-fields.styl\n// module id = 35\n// module chunks = 0","import { createSimpleFunctional } from '../../util/helpers'\n\nimport VList from './VList'\nimport VListGroup from './VListGroup'\nimport VListTile from './VListTile'\nimport VListTileAction from './VListTileAction'\n\nexport { VList, VListGroup, VListTile, VListTileAction }\nexport const VListTileActionText = createSimpleFunctional('list__tile__action-text', 'span')\nexport const VListTileAvatar = createSimpleFunctional('list__tile__avatar', 'v-avatar')\nexport const VListTileContent = createSimpleFunctional('list__tile__content', 'div')\nexport const VListTileTitle = createSimpleFunctional('list__tile__title', 'div')\nexport const VListTileSubTitle = createSimpleFunctional('list__tile__sub-title', 'div')\n\nVList.install = function install (Vue) {\n Vue.component(VList.name, VList)\n Vue.component(VListGroup.name, VListGroup)\n Vue.component(VListTile.name, VListTile)\n Vue.component(VListTileAction.name, VListTileAction)\n Vue.component('v-list-tile-action-text', VListTileActionText)\n Vue.component('v-list-tile-avatar', VListTileAvatar)\n Vue.component('v-list-tile-content', VListTileContent)\n Vue.component('v-list-tile-sub-title', VListTileSubTitle)\n Vue.component('v-list-tile-title', VListTileTitle)\n}\n\nexport default VList\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/index.js","import VMenu from './VMenu'\n\nVMenu.install = function install (Vue) {\n Vue.component(VMenu.name, VMenu)\n}\n\nexport default VMenu\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/index.js","/**\n * Delayable\n *\n * @mixin\n *\n * Changes the open or close\n * delay time for elements\n */\nexport default {\n data: () => ({\n openTimeout: null,\n closeTimeout: null\n }),\n\n props: {\n openDelay: {\n type: [Number, String],\n default: 0\n },\n closeDelay: {\n type: [Number, String],\n default: 200\n }\n },\n\n methods: {\n /**\n * Clear any pending delay\n * timers from executing\n * \n * @return {void}\n */\n clearDelay () {\n clearTimeout(this.openTimeout)\n clearTimeout(this.closeTimeout)\n },\n /**\n * Runs callback after\n * a specified delay\n * \n * @param {String} type\n * @param {Function} cb\n * \n * @return {void}\n */\n runDelay (type, cb) {\n this.clearDelay()\n\n const delay = parseInt(this[`${type}Delay`], 10)\n\n this[`${type}Timeout`] = setTimeout(cb, delay)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/delayable.js","import Positionable from './positionable'\n\nimport { factory as StackableFactory } from './stackable'\n\nconst Stackable = StackableFactory({ minZIndex: 6, stackClass: 'menuable__content__active' })\n\nconst dimensions = {\n activator: {\n top: 0, left: 0,\n bottom: 0, right: 0,\n width: 0, height: 0,\n offsetTop: 0, scrollHeight: 0\n },\n content: {\n top: 0, left: 0,\n bottom: 0, right: 0,\n width: 0, height: 0,\n offsetTop: 0, scrollHeight: 0\n },\n hasWindow: false\n}\n\n/**\n * Menuable\n *\n * @mixin\n *\n * Used for fixed or absolutely positioning\n * elements within the DOM\n * Can calculate X and Y axis overflows\n * As well as be manually positioned\n */\nexport default {\n mixins: [Positionable, Stackable],\n\n data: () => ({\n absoluteX: 0,\n absoluteY: 0,\n dimensions: Object.assign({}, dimensions),\n isContentActive: false,\n pageYOffset: 0\n }),\n\n props: {\n activator: { default: null },\n allowOverflow: Boolean,\n maxWidth: {\n type: [Number, String],\n default: 'auto'\n },\n minWidth: [Number, String],\n nudgeBottom: {\n type: Number,\n default: 0\n },\n nudgeLeft: {\n type: Number,\n default: 0\n },\n nudgeRight: {\n type: Number,\n default: 0\n },\n nudgeTop: {\n type: Number,\n default: 0\n },\n nudgeWidth: {\n type: Number,\n default: 0\n },\n offsetOverflow: Boolean,\n positionX: {\n type: Number,\n default: null\n },\n positionY: {\n type: Number,\n default: null\n },\n zIndex: {\n type: [Number, String],\n default: null\n }\n },\n\n computed: {\n hasActivator () {\n return !!this.$slots.activator || this.activator\n }\n },\n\n watch: {\n disabled (val) {\n val && this.callDeactivate()\n },\n isActive (val) {\n if (this.disabled) return\n\n val && this.callActivate() || this.callDeactivate()\n }\n },\n\n methods: {\n absolutePosition () {\n return {\n offsetTop: 0,\n scrollHeight: 0,\n top: this.positionY || this.absoluteY,\n bottom: this.positionY || this.absoluteY,\n left: this.positionX || this.absoluteX,\n right: this.positionX || this.absoluteX,\n height: 0,\n width: 0\n }\n },\n activate () {},\n calcLeft () {\n const a = this.dimensions.activator\n const c = this.dimensions.content\n let left = this.left ? a.right - c.width : a.left\n\n if (this.offsetX) left += this.left ? -a.width : a.width\n if (this.nudgeLeft) left -= this.nudgeLeft\n if (this.nudgeRight) left += this.nudgeRight\n\n return left\n },\n calcTop () {\n const a = this.dimensions.activator\n const c = this.dimensions.content\n let top = this.top ? a.bottom - c.height : a.top\n\n if (this.offsetY) top += this.top ? -a.height : a.height\n if (this.nudgeTop) top -= this.nudgeTop\n if (this.nudgeBottom) top += this.nudgeBottom\n\n return top + this.pageYOffset\n },\n calcXOverflow (left) {\n const parsedMaxWidth = isNaN(parseInt(this.maxWidth))\n ? 0\n : parseInt(this.maxWidth)\n const innerWidth = this.getInnerWidth()\n const maxWidth = Math.max(\n this.dimensions.content.width,\n parsedMaxWidth\n )\n const totalWidth = left + maxWidth\n const availableWidth = totalWidth - innerWidth\n\n if ((!this.left || this.right) && availableWidth > 0) {\n left = (\n innerWidth -\n maxWidth -\n (innerWidth > 600 ? 30 : 12) // Account for scrollbar\n )\n }\n\n if (left < 0) left = 12\n\n return left\n },\n calcYOverflow (top) {\n const documentHeight = this.getInnerHeight()\n const toTop = this.pageYOffset + documentHeight\n const activator = this.dimensions.activator\n const contentHeight = this.dimensions.content.height\n const totalHeight = top + contentHeight\n const isOverflowing = toTop < totalHeight\n\n // If overflowing bottom and offset\n if (isOverflowing && this.offsetOverflow) {\n top = this.pageYOffset + (activator.top - contentHeight)\n // If overflowing bottom\n } else if (isOverflowing && !this.allowOverflow) {\n top = toTop - contentHeight - 12\n // If overflowing top\n } else if (top < this.pageYOffset && !this.allowOverflow) {\n top = this.pageYOffset + 12\n }\n\n return top < 12 ? 12 : top\n },\n callActivate () {\n this.checkForWindow()\n if (!this.hasWindow) return\n\n this.activate()\n },\n callDeactivate () {\n this.isContentActive = false\n\n this.deactivate()\n },\n checkForWindow () {\n this.hasWindow = typeof window !== 'undefined'\n\n if (this.hasWindow) {\n this.pageYOffset = this.getOffsetTop()\n }\n },\n deactivate () {},\n getActivator () {\n if (this.activator) {\n return typeof this.activator === 'string'\n ? document.querySelector(this.activator)\n : this.activator\n }\n\n return this.$refs.activator.children\n ? this.$refs.activator.children[0]\n : this.$refs.activator\n },\n getInnerHeight () {\n if (!this.hasWindow) return 0\n\n return window.innerHeight ||\n document.documentElement.clientHeight\n },\n getInnerWidth () {\n if (!this.hasWindow) return 0\n\n return window.innerWidth\n },\n getOffsetTop () {\n if (!this.hasWindow) return 0\n\n return window.pageYOffset ||\n document.documentElement.scrollTop\n },\n measure (el, selector) {\n el = selector ? el.querySelector(selector) : el\n\n if (!el) return null\n\n const {\n top,\n bottom,\n left,\n right,\n height,\n width\n } = el.getBoundingClientRect()\n\n return {\n offsetTop: el.offsetTop,\n scrollHeight: el.scrollHeight,\n top, bottom, left, right, height, width\n }\n },\n sneakPeek (cb) {\n requestAnimationFrame(() => {\n const el = this.$refs.content\n\n if (this.isShown(el)) return cb()\n\n el.style.display = 'inline-block'\n cb()\n el.style.display = 'none'\n })\n },\n startTransition () {\n requestAnimationFrame(() => (this.isContentActive = true))\n },\n isShown (el) {\n return el.style.display !== 'none'\n },\n resetDimensions () {\n this.dimensions = Object.assign({}, dimensions)\n },\n updateDimensions () {\n // Ensure that overflow calculation\n // can work properly every update\n this.resetDimensions()\n\n const dimensions = {}\n\n // Activate should already be shown\n dimensions.activator = !this.hasActivator || this.absolute\n ? this.absolutePosition()\n : this.measure(this.getActivator())\n\n // Display and hide to get dimensions\n this.sneakPeek(() => {\n dimensions.content = this.measure(this.$refs.content)\n\n this.dimensions = dimensions\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/menuable.js","export default {\n props: {\n noDataText: {\n type: String,\n default: 'No data available'\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/filterable.js","/**\n * Maskable\n *\n * @mixin\n *\n * Creates an input mask that is\n * generated from a masked str\n *\n * Example: mask=\"#### #### #### ####\"\n */\n\nimport {\n isMaskDelimiter,\n maskText,\n unmaskText\n} from '../util/mask'\n\nexport default {\n data: () => ({\n selection: 0,\n preDefined: {\n 'credit-card': '#### - #### - #### - ####',\n 'date': '##/##/####',\n 'date-with-time': '##/##/#### ##:##',\n 'phone': '(###) ### - ####',\n 'social': '###-##-####',\n 'time': '##:##',\n 'time-with-seconds': '##:##:##'\n }\n }),\n\n props: {\n dontFillMaskBlanks: Boolean,\n mask: {\n type: [Object, String],\n default: null\n },\n returnMaskedValue: Boolean\n },\n\n computed: {\n masked () {\n const preDefined = this.preDefined[this.mask]\n const mask = preDefined || this.mask || ''\n\n return mask.split('')\n }\n },\n\n watch: {\n /**\n * Make sure the cursor is in the correct\n * location when the mask changes\n */\n mask () {\n if (!this.$refs.input) return\n\n const oldText = this.$refs.input.value || ''\n const newText = this.maskText(this.lazyValue || '')\n let position = 0\n let selection = this.selection\n\n for (const char of oldText.substr(0, selection)) {\n isMaskDelimiter(char) || position++\n }\n\n selection = 0\n for (const char of newText) {\n isMaskDelimiter(char) || position--\n selection++\n if (position <= 0) break\n }\n\n this.setCaretPosition(selection)\n }\n },\n\n methods: {\n setCaretPosition (selection) {\n this.selection = selection\n this.$refs.input.setSelectionRange(selection, selection)\n },\n updateRange () {\n if (!this.$refs.input) return\n\n const newValue = this.maskText(this.lazyValue)\n let selection = 0\n\n this.$refs.input.value = newValue\n for (const char of newValue) {\n if (this.lazySelection <= 0) break\n isMaskDelimiter(char) || this.lazySelection--\n selection++\n }\n\n this.setCaretPosition(selection)\n },\n maskText (text) {\n if (!this.mask) return text\n\n return maskText(text, this.masked, this.dontFillMaskBlanks)\n },\n unmaskText (text) {\n if (this.returnMaskedValue || !this.mask) return text\n\n return unmaskText(text)\n },\n // When the input changes and is\n // re-created, ensure that the\n // caret location is correct\n setSelectionRange () {\n this.$nextTick(this.updateRange)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/maskable.js","/**\n * Mask keys\n *\n * @type {Object}\n */\nconst allowedMasks = {\n '#': {\n test: char => char.match(/[0-9]/)\n },\n 'A': {\n test: char => char.match(/[A-Z]/i),\n convert: char => char.toUpperCase()\n },\n 'a': {\n test: char => char.match(/[a-z]/i),\n convert: char => char.toLowerCase()\n },\n 'N': {\n test: char => char.match(/[0-9A-Z]/i),\n convert: char => char.toUpperCase()\n },\n 'n': {\n test: char => char.match(/[0-9a-z]/i),\n convert: char => char.toLowerCase()\n },\n 'X': {\n test: isMaskDelimiter\n }\n}\n\n/**\n * Default delimiter RegExp\n *\n * @type {RegExp}\n */\nexport const defaultDelimiters = /[-!$%^&*()_+|~=`{}\\[\\]:\";'<>?,.\\/\\\\ ]/\n\n/**\n * Is Character mask\n *\n * @param {String} char\n *\n * @return {Boolean}\n */\nconst isMask = char => allowedMasks.hasOwnProperty(char)\n\n/**\n * Automatically convert char case\n *\n * @param {String} mask\n * @param {String} char\n *\n * @return {String}\n */\nconst convert = (mask, char) => {\n return allowedMasks[mask].convert ? allowedMasks[mask].convert(char) : char\n}\n\n/**\n *\n * @param {String} char\n *\n * @return {Boolean}\n */\nexport const isMaskDelimiter = char => char && char.match(defaultDelimiters)\n\n/**\n * Mask Validation\n *\n * @param {String} mask\n * @param {String} char\n *\n * @return {Boolean}\n */\nconst maskValidates = (mask, char) => {\n if (char == null || !isMask(mask)) return false\n return allowedMasks[mask].test(char)\n}\n\n/**\n * Mask Text\n *\n * Takes an array of characters\n * and returns a compiled str\n *\n * @param {String} text\n * @param {Array|String} masked\n * @param {Boolean} dontFillMaskBlanks\n *\n * @return {String}\n */\nexport const maskText = (text, masked, dontFillMaskBlanks) => {\n if (!masked.length || !text.length) return text\n if (!Array.isArray(masked)) masked = masked.split('')\n\n let textIndex = 0\n let maskIndex = 0\n let newText = ''\n while (maskIndex < masked.length) {\n const mask = masked[maskIndex]\n\n // Assign the next character\n const char = text[textIndex]\n\n // Check if mask is delimiter\n // and current char matches\n if (!isMask(mask) && char === mask) {\n newText += mask\n textIndex++\n // Check if not mask\n } else if (!isMask(mask) && !dontFillMaskBlanks) {\n newText += mask\n // Check if is mask and validates\n } else if (maskValidates(mask, char)) {\n newText += convert(mask, char)\n textIndex++\n } else {\n return newText\n }\n\n maskIndex++\n }\n\n return newText\n}\n\n/**\n * Unmask Text\n *\n * @param {String} text\n *\n * @return {String}\n */\nexport const unmaskText = (text) => {\n return text.replace(new RegExp(defaultDelimiters, 'g'), '')\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/mask.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_pickers.styl\n// module id = 43\n// module chunks = 0","import Themeable from './themeable'\n\nexport default {\n mixins: [Themeable],\n\n data () {\n return {\n isSaving: false\n }\n },\n\n props: {\n actions: Boolean,\n autosave: Boolean,\n landscape: Boolean,\n noTitle: Boolean,\n scrollable: Boolean,\n value: {\n required: true\n },\n light: Boolean,\n dark: Boolean\n },\n\n methods: {\n save () {},\n cancel () {},\n genSlot () {\n return this.$scopedSlots.default({\n save: this.save,\n cancel: this.cancel\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/picker.js","require('./stylus/app.styl')\nimport Semver from 'semver'\nimport { devDependencies, version } from '../package.json'\nimport * as components from './components'\nimport * as directives from './directives'\n\nfunction Vuetify (Vue) {\n const Vuetify = components.Vuetify\n\n Vue.use(Vuetify, {\n components,\n directives\n })\n}\n\nVuetify.version = version\n\nfunction checkVueVersion () {\n const vueDep = devDependencies.vue\n if (!Semver.satisfies(window.Vue.version, vueDep)) {\n console.warn(`Vuetify requires Vue version ${vueDep}`)\n }\n}\n\nif (typeof window !== 'undefined' && window.Vue) {\n window.Vue.version && checkVueVersion()\n window.Vue.use(Vuetify)\n}\n\nexport default Vuetify\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/app.styl\n// module id = 46\n// module chunks = 0","exports = module.exports = SemVer;\n\n// The debug function is excluded entirely from the minified version.\n/* nomin */ var debug;\n/* nomin */ if (typeof process === 'object' &&\n /* nomin */ process.env &&\n /* nomin */ process.env.NODE_DEBUG &&\n /* nomin */ /\\bsemver\\b/i.test(process.env.NODE_DEBUG))\n /* nomin */ debug = function() {\n /* nomin */ var args = Array.prototype.slice.call(arguments, 0);\n /* nomin */ args.unshift('SEMVER');\n /* nomin */ console.log.apply(console, args);\n /* nomin */ };\n/* nomin */ else\n /* nomin */ debug = function() {};\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0';\n\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\n\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar src = exports.src = [];\nvar R = 0;\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\nvar NUMERICIDENTIFIER = R++;\nsrc[NUMERICIDENTIFIER] = '0|[1-9]\\\\d*';\nvar NUMERICIDENTIFIERLOOSE = R++;\nsrc[NUMERICIDENTIFIERLOOSE] = '[0-9]+';\n\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\nvar NONNUMERICIDENTIFIER = R++;\nsrc[NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*';\n\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\nvar MAINVERSION = R++;\nsrc[MAINVERSION] = '(' + src[NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIER] + ')';\n\nvar MAINVERSIONLOOSE = R++;\nsrc[MAINVERSIONLOOSE] = '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIERLOOSE] + ')\\\\.' +\n '(' + src[NUMERICIDENTIFIERLOOSE] + ')';\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\nvar PRERELEASEIDENTIFIER = R++;\nsrc[PRERELEASEIDENTIFIER] = '(?:' + src[NUMERICIDENTIFIER] +\n '|' + src[NONNUMERICIDENTIFIER] + ')';\n\nvar PRERELEASEIDENTIFIERLOOSE = R++;\nsrc[PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[NUMERICIDENTIFIERLOOSE] +\n '|' + src[NONNUMERICIDENTIFIER] + ')';\n\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\nvar PRERELEASE = R++;\nsrc[PRERELEASE] = '(?:-(' + src[PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[PRERELEASEIDENTIFIER] + ')*))';\n\nvar PRERELEASELOOSE = R++;\nsrc[PRERELEASELOOSE] = '(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))';\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\nvar BUILDIDENTIFIER = R++;\nsrc[BUILDIDENTIFIER] = '[0-9A-Za-z-]+';\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\nvar BUILD = R++;\nsrc[BUILD] = '(?:\\\\+(' + src[BUILDIDENTIFIER] +\n '(?:\\\\.' + src[BUILDIDENTIFIER] + ')*))';\n\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\nvar FULL = R++;\nvar FULLPLAIN = 'v?' + src[MAINVERSION] +\n src[PRERELEASE] + '?' +\n src[BUILD] + '?';\n\nsrc[FULL] = '^' + FULLPLAIN + '$';\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\nvar LOOSEPLAIN = '[v=\\\\s]*' + src[MAINVERSIONLOOSE] +\n src[PRERELEASELOOSE] + '?' +\n src[BUILD] + '?';\n\nvar LOOSE = R++;\nsrc[LOOSE] = '^' + LOOSEPLAIN + '$';\n\nvar GTLT = R++;\nsrc[GTLT] = '((?:<|>)?=?)';\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\nvar XRANGEIDENTIFIERLOOSE = R++;\nsrc[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*';\nvar XRANGEIDENTIFIER = R++;\nsrc[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + '|x|X|\\\\*';\n\nvar XRANGEPLAIN = R++;\nsrc[XRANGEPLAIN] = '[v=\\\\s]*(' + src[XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIER] + ')' +\n '(?:' + src[PRERELEASE] + ')?' +\n src[BUILD] + '?' +\n ')?)?';\n\nvar XRANGEPLAINLOOSE = R++;\nsrc[XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[PRERELEASELOOSE] + ')?' +\n src[BUILD] + '?' +\n ')?)?';\n\nvar XRANGE = R++;\nsrc[XRANGE] = '^' + src[GTLT] + '\\\\s*' + src[XRANGEPLAIN] + '$';\nvar XRANGELOOSE = R++;\nsrc[XRANGELOOSE] = '^' + src[GTLT] + '\\\\s*' + src[XRANGEPLAINLOOSE] + '$';\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\nvar LONETILDE = R++;\nsrc[LONETILDE] = '(?:~>?)';\n\nvar TILDETRIM = R++;\nsrc[TILDETRIM] = '(\\\\s*)' + src[LONETILDE] + '\\\\s+';\nre[TILDETRIM] = new RegExp(src[TILDETRIM], 'g');\nvar tildeTrimReplace = '$1~';\n\nvar TILDE = R++;\nsrc[TILDE] = '^' + src[LONETILDE] + src[XRANGEPLAIN] + '$';\nvar TILDELOOSE = R++;\nsrc[TILDELOOSE] = '^' + src[LONETILDE] + src[XRANGEPLAINLOOSE] + '$';\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\nvar LONECARET = R++;\nsrc[LONECARET] = '(?:\\\\^)';\n\nvar CARETTRIM = R++;\nsrc[CARETTRIM] = '(\\\\s*)' + src[LONECARET] + '\\\\s+';\nre[CARETTRIM] = new RegExp(src[CARETTRIM], 'g');\nvar caretTrimReplace = '$1^';\n\nvar CARET = R++;\nsrc[CARET] = '^' + src[LONECARET] + src[XRANGEPLAIN] + '$';\nvar CARETLOOSE = R++;\nsrc[CARETLOOSE] = '^' + src[LONECARET] + src[XRANGEPLAINLOOSE] + '$';\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\nvar COMPARATORLOOSE = R++;\nsrc[COMPARATORLOOSE] = '^' + src[GTLT] + '\\\\s*(' + LOOSEPLAIN + ')$|^$';\nvar COMPARATOR = R++;\nsrc[COMPARATOR] = '^' + src[GTLT] + '\\\\s*(' + FULLPLAIN + ')$|^$';\n\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\nvar COMPARATORTRIM = R++;\nsrc[COMPARATORTRIM] = '(\\\\s*)' + src[GTLT] +\n '\\\\s*(' + LOOSEPLAIN + '|' + src[XRANGEPLAIN] + ')';\n\n// this one has to use the /g flag\nre[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], 'g');\nvar comparatorTrimReplace = '$1$2$3';\n\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\nvar HYPHENRANGE = R++;\nsrc[HYPHENRANGE] = '^\\\\s*(' + src[XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[XRANGEPLAIN] + ')' +\n '\\\\s*$';\n\nvar HYPHENRANGELOOSE = R++;\nsrc[HYPHENRANGELOOSE] = '^\\\\s*(' + src[XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$';\n\n// Star ranges basically just allow anything at all.\nvar STAR = R++;\nsrc[STAR] = '(<|>)?=?\\\\s*\\\\*';\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i]);\n if (!re[i])\n re[i] = new RegExp(src[i]);\n}\n\nexports.parse = parse;\nfunction parse(version, loose) {\n if (version instanceof SemVer)\n return version;\n\n if (typeof version !== 'string')\n return null;\n\n if (version.length > MAX_LENGTH)\n return null;\n\n var r = loose ? re[LOOSE] : re[FULL];\n if (!r.test(version))\n return null;\n\n try {\n return new SemVer(version, loose);\n } catch (er) {\n return null;\n }\n}\n\nexports.valid = valid;\nfunction valid(version, loose) {\n var v = parse(version, loose);\n return v ? v.version : null;\n}\n\n\nexports.clean = clean;\nfunction clean(version, loose) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), loose);\n return s ? s.version : null;\n}\n\nexports.SemVer = SemVer;\n\nfunction SemVer(version, loose) {\n if (version instanceof SemVer) {\n if (version.loose === loose)\n return version;\n else\n version = version.version;\n } else if (typeof version !== 'string') {\n throw new TypeError('Invalid Version: ' + version);\n }\n\n if (version.length > MAX_LENGTH)\n throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters')\n\n if (!(this instanceof SemVer))\n return new SemVer(version, loose);\n\n debug('SemVer', version, loose);\n this.loose = loose;\n var m = version.trim().match(loose ? re[LOOSE] : re[FULL]);\n\n if (!m)\n throw new TypeError('Invalid Version: ' + version);\n\n this.raw = version;\n\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0)\n throw new TypeError('Invalid major version')\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0)\n throw new TypeError('Invalid minor version')\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0)\n throw new TypeError('Invalid patch version')\n\n // numberify any prerelease numeric ids\n if (!m[4])\n this.prerelease = [];\n else\n this.prerelease = m[4].split('.').map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER)\n return num;\n }\n return id;\n });\n\n this.build = m[5] ? m[5].split('.') : [];\n this.format();\n}\n\nSemVer.prototype.format = function() {\n this.version = this.major + '.' + this.minor + '.' + this.patch;\n if (this.prerelease.length)\n this.version += '-' + this.prerelease.join('.');\n return this.version;\n};\n\nSemVer.prototype.toString = function() {\n return this.version;\n};\n\nSemVer.prototype.compare = function(other) {\n debug('SemVer.compare', this.version, this.loose, other);\n if (!(other instanceof SemVer))\n other = new SemVer(other, this.loose);\n\n return this.compareMain(other) || this.comparePre(other);\n};\n\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer))\n other = new SemVer(other, this.loose);\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch);\n};\n\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer))\n other = new SemVer(other, this.loose);\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length)\n return -1;\n else if (!this.prerelease.length && other.prerelease.length)\n return 1;\n else if (!this.prerelease.length && !other.prerelease.length)\n return 0;\n\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug('prerelease compare', i, a, b);\n if (a === undefined && b === undefined)\n return 0;\n else if (b === undefined)\n return 1;\n else if (a === undefined)\n return -1;\n else if (a === b)\n continue;\n else\n return compareIdentifiers(a, b);\n } while (++i);\n};\n\n// preminor will bump the version up to the next minor release, and immediately\n// down to pre-release. premajor and prepatch work the same way.\nSemVer.prototype.inc = function(release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor = 0;\n this.major++;\n this.inc('pre', identifier);\n break;\n case 'preminor':\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc('pre', identifier);\n break;\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0;\n this.inc('patch', identifier);\n this.inc('pre', identifier);\n break;\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0)\n this.inc('patch', identifier);\n this.inc('pre', identifier);\n break;\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0)\n this.major++;\n this.minor = 0;\n this.patch = 0;\n this.prerelease = [];\n break;\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0)\n this.minor++;\n this.patch = 0;\n this.prerelease = [];\n break;\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0)\n this.patch++;\n this.prerelease = [];\n break;\n // This probably shouldn't be used publicly.\n // 1.0.0 \"pre\" would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0)\n this.prerelease = [0];\n else {\n var i = this.prerelease.length;\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++;\n i = -2;\n }\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1]))\n this.prerelease = [identifier, 0];\n } else\n this.prerelease = [identifier, 0];\n }\n break;\n\n default:\n throw new Error('invalid increment argument: ' + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\n\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof(loose) === 'string') {\n identifier = loose;\n loose = undefined;\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\n\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) {\n return null;\n } else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n if (v1.prerelease.length || v2.prerelease.length) {\n for (var key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return 'pre'+key;\n }\n }\n }\n return 'prerelease';\n }\n for (var key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return key;\n }\n }\n }\n }\n}\n\nexports.compareIdentifiers = compareIdentifiers;\n\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n\n return (anum && !bnum) ? -1 :\n (bnum && !anum) ? 1 :\n a < b ? -1 :\n a > b ? 1 :\n 0;\n}\n\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\n\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\n\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\n\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\n\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\n\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\n\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\n\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compare(a, b, loose);\n });\n}\n\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.rcompare(a, b, loose);\n });\n}\n\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\n\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\n\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\n\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\n\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\n\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\n\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n var ret;\n switch (op) {\n case '===':\n if (typeof a === 'object') a = a.version;\n if (typeof b === 'object') b = b.version;\n ret = a === b;\n break;\n case '!==':\n if (typeof a === 'object') a = a.version;\n if (typeof b === 'object') b = b.version;\n ret = a !== b;\n break;\n case '': case '=': case '==': ret = eq(a, b, loose); break;\n case '!=': ret = neq(a, b, loose); break;\n case '>': ret = gt(a, b, loose); break;\n case '>=': ret = gte(a, b, loose); break;\n case '<': ret = lt(a, b, loose); break;\n case '<=': ret = lte(a, b, loose); break;\n default: throw new TypeError('Invalid operator: ' + op);\n }\n return ret;\n}\n\nexports.Comparator = Comparator;\nfunction Comparator(comp, loose) {\n if (comp instanceof Comparator) {\n if (comp.loose === loose)\n return comp;\n else\n comp = comp.value;\n }\n\n if (!(this instanceof Comparator))\n return new Comparator(comp, loose);\n\n debug('comparator', comp, loose);\n this.loose = loose;\n this.parse(comp);\n\n if (this.semver === ANY)\n this.value = '';\n else\n this.value = this.operator + this.semver.version;\n\n debug('comp', this);\n}\n\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.loose ? re[COMPARATORLOOSE] : re[COMPARATOR];\n var m = comp.match(r);\n\n if (!m)\n throw new TypeError('Invalid comparator: ' + comp);\n\n this.operator = m[1];\n if (this.operator === '=')\n this.operator = '';\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2])\n this.semver = ANY;\n else\n this.semver = new SemVer(m[2], this.loose);\n};\n\nComparator.prototype.toString = function() {\n return this.value;\n};\n\nComparator.prototype.test = function(version) {\n debug('Comparator.test', version, this.loose);\n\n if (this.semver === ANY)\n return true;\n\n if (typeof version === 'string')\n version = new SemVer(version, this.loose);\n\n return cmp(version, this.operator, this.semver, this.loose);\n};\n\nComparator.prototype.intersects = function(comp, loose) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required');\n }\n\n var rangeTmp;\n\n if (this.operator === '') {\n rangeTmp = new Range(comp.value, loose);\n return satisfies(this.value, rangeTmp, loose);\n } else if (comp.operator === '') {\n rangeTmp = new Range(this.value, loose);\n return satisfies(comp.semver, rangeTmp, loose);\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>');\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<');\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=');\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, loose) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'));\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, loose) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'));\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\n\n\nexports.Range = Range;\nfunction Range(range, loose) {\n if (range instanceof Range) {\n if (range.loose === loose) {\n return range;\n } else {\n return new Range(range.raw, loose);\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, loose);\n }\n\n if (!(this instanceof Range))\n return new Range(range, loose);\n\n this.loose = loose;\n\n // First, split based on boolean or ||\n this.raw = range;\n this.set = range.split(/\\s*\\|\\|\\s*/).map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + range);\n }\n\n this.format();\n}\n\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(' ').trim();\n }).join('||').trim();\n return this.range;\n};\n\nRange.prototype.toString = function() {\n return this.range;\n};\n\nRange.prototype.parseRange = function(range) {\n var loose = this.loose;\n range = range.trim();\n debug('range', range, loose);\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? re[HYPHENRANGELOOSE] : re[HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug('hyphen replace', range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[COMPARATORTRIM], comparatorTrimReplace);\n debug('comparator trim', range, re[COMPARATORTRIM]);\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[TILDETRIM], tildeTrimReplace);\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[CARETTRIM], caretTrimReplace);\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ');\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n var compRe = loose ? re[COMPARATORLOOSE] : re[COMPARATOR];\n var set = range.split(' ').map(function(comp) {\n return parseComparator(comp, loose);\n }).join(' ').split(/\\s+/);\n if (this.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n }\n set = set.map(function(comp) {\n return new Comparator(comp, loose);\n });\n\n return set;\n};\n\nRange.prototype.intersects = function(range, loose) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required');\n }\n\n return this.set.some(function(thisComparators) {\n return thisComparators.every(function(thisComparator) {\n return range.set.some(function(rangeComparators) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, loose);\n });\n });\n });\n });\n};\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, loose) {\n return new Range(range, loose).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(' ').trim().split(' ');\n });\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nfunction parseComparator(comp, loose) {\n debug('comp', comp);\n comp = replaceCarets(comp, loose);\n debug('caret', comp);\n comp = replaceTildes(comp, loose);\n debug('tildes', comp);\n comp = replaceXRanges(comp, loose);\n debug('xrange', comp);\n comp = replaceStars(comp, loose);\n debug('stars', comp);\n return comp;\n}\n\nfunction isX(id) {\n return !id || id.toLowerCase() === 'x' || id === '*';\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, loose) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, loose);\n }).join(' ');\n}\n\nfunction replaceTilde(comp, loose) {\n var r = loose ? re[TILDELOOSE] : re[TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr);\n var ret;\n\n if (isX(M))\n ret = '';\n else if (isX(m))\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n else if (isX(p))\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n else if (pr) {\n debug('replaceTilde pr', pr);\n if (pr.charAt(0) !== '-')\n pr = '-' + pr;\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + M + '.' + (+m + 1) + '.0';\n } else\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0';\n\n debug('tilde return', ret);\n return ret;\n });\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, loose) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, loose);\n }).join(' ');\n}\n\nfunction replaceCaret(comp, loose) {\n debug('caret', comp, loose);\n var r = loose ? re[CARETLOOSE] : re[CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr);\n var ret;\n\n if (isX(M))\n ret = '';\n else if (isX(m))\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n else if (isX(p)) {\n if (M === '0')\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n else\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0';\n } else if (pr) {\n debug('replaceCaret pr', pr);\n if (pr.charAt(0) !== '-')\n pr = '-' + pr;\n if (M === '0') {\n if (m === '0')\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + M + '.' + m + '.' + (+p + 1);\n else\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + M + '.' + (+m + 1) + '.0';\n } else\n ret = '>=' + M + '.' + m + '.' + p + pr +\n ' <' + (+M + 1) + '.0.0';\n } else {\n debug('no pr');\n if (M === '0') {\n if (m === '0')\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1);\n else\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0';\n } else\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0';\n }\n\n debug('caret return', ret);\n return ret;\n });\n}\n\nfunction replaceXRanges(comp, loose) {\n debug('replaceXRanges', comp, loose);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, loose);\n }).join(' ');\n}\n\nfunction replaceXRange(comp, loose) {\n comp = comp.trim();\n var r = loose ? re[XRANGELOOSE] : re[XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n\n if (gtlt === '=' && anyX)\n gtlt = '';\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0';\n } else {\n // nothing is forbidden\n ret = '*';\n }\n } else if (gtlt && anyX) {\n // replace X with 0\n if (xm)\n m = 0;\n if (xp)\n p = 0;\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\n gtlt = '>=';\n if (xm) {\n M = +M + 1;\n m = 0;\n p = 0;\n } else if (xp) {\n m = +m + 1;\n p = 0;\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<';\n if (xm)\n M = +M + 1;\n else\n m = +m + 1;\n }\n\n ret = gtlt + M + '.' + m + '.' + p;\n } else if (xm) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0';\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0';\n }\n\n debug('xRange return', ret);\n\n return ret;\n });\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction replaceStars(comp, loose) {\n debug('replaceStars', comp, loose);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[STAR], '');\n}\n\n// This function is passed to string.replace(re[HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) {\n\n if (isX(fM))\n from = '';\n else if (isX(fm))\n from = '>=' + fM + '.0.0';\n else if (isX(fp))\n from = '>=' + fM + '.' + fm + '.0';\n else\n from = '>=' + from;\n\n if (isX(tM))\n to = '';\n else if (isX(tm))\n to = '<' + (+tM + 1) + '.0.0';\n else if (isX(tp))\n to = '<' + tM + '.' + (+tm + 1) + '.0';\n else if (tpr)\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr;\n else\n to = '<=' + to;\n\n return (from + ' ' + to).trim();\n}\n\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version)\n return false;\n\n if (typeof version === 'string')\n version = new SemVer(version, this.loose);\n\n for (var i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version))\n return true;\n }\n return false;\n};\n\nfunction testSet(set, version) {\n for (var i = 0; i < set.length; i++) {\n if (!set[i].test(version))\n return false;\n }\n\n if (version.prerelease.length) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (var i = 0; i < set.length; i++) {\n debug(set[i].semver);\n if (set[i].semver === ANY)\n continue;\n\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch)\n return true;\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n\n return true;\n}\n\nexports.satisfies = satisfies;\nfunction satisfies(version, range, loose) {\n try {\n range = new Range(range, loose);\n } catch (er) {\n return false;\n }\n return range.test(version);\n}\n\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, loose) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, loose);\n } catch (er) {\n return null;\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) { // satisfies(v, range, loose)\n if (!max || maxSV.compare(v) === -1) { // compare(max, v, true)\n max = v;\n maxSV = new SemVer(max, loose);\n }\n }\n })\n return max;\n}\n\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, loose) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, loose);\n } catch (er) {\n return null;\n }\n versions.forEach(function (v) {\n if (rangeObj.test(v)) { // satisfies(v, range, loose)\n if (!min || minSV.compare(v) === 1) { // compare(min, v, true)\n min = v;\n minSV = new SemVer(min, loose);\n }\n }\n })\n return min;\n}\n\nexports.validRange = validRange;\nfunction validRange(range, loose) {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, loose).range || '*';\n } catch (er) {\n return null;\n }\n}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, loose) {\n return outside(version, range, '<', loose);\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, loose) {\n return outside(version, range, '>', loose);\n}\n\nexports.outside = outside;\nfunction outside(version, range, hilo, loose) {\n version = new SemVer(version, loose);\n range = new Range(range, loose);\n\n var gtfn, ltefn, ltfn, comp, ecomp;\n switch (hilo) {\n case '>':\n gtfn = gt;\n ltefn = lte;\n ltfn = lt;\n comp = '>';\n ecomp = '>=';\n break;\n case '<':\n gtfn = lt;\n ltefn = gte;\n ltfn = gt;\n comp = '<';\n ecomp = '<=';\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n\n // If it satisifes the range it is not outside\n if (satisfies(version, range, loose)) {\n return false;\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i];\n\n var high = null;\n var low = null;\n\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, loose)) {\n high = comparator;\n } else if (ltfn(comparator.semver, low.semver, loose)) {\n low = comparator;\n }\n });\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false;\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false;\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false;\n }\n }\n return true;\n}\n\nexports.prerelease = prerelease;\nfunction prerelease(version, loose) {\n var parsed = parse(version, loose);\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null;\n}\n\nexports.intersects = intersects;\nfunction intersects(r1, r2, loose) {\n r1 = new Range(r1, loose)\n r2 = new Range(r2, loose)\n return r1.intersects(r2)\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/semver/semver.js\n// module id = 47\n// module chunks = 0","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/process/browser.js\n// module id = 48\n// module chunks = 0","module.exports = {\n\t\"name\": \"vuetify\",\n\t\"version\": \"0.16.1\",\n\t\"author\": {\n\t\t\"name\": \"John Leider\",\n\t\t\"email\": \"john@vuetifyjs.com\"\n\t},\n\t\"license\": \"MIT\",\n\t\"homepage\": \"http://vuetifyjs.com\",\n\t\"main\": \"dist/vuetify.js\",\n\t\"unpkg\": \"dist/vuetify.js\",\n\t\"types\": \"index.d.ts\",\n\t\"scripts\": {\n\t\t\"watch\": \"cross-env TARGET=development webpack --config build/config.js --progress --hide-modules --watch\",\n\t\t\"dev\": \"cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.config.js --open --hot\",\n\t\t\"build\": \"npm run build:dist && npm run build:es5\",\n\t\t\"build:dev\": \"cross-env NODE_ENV=production node build/webpack.dev.config.js\",\n\t\t\"build:dist\": \"rimraf dist && cross-env NODE_ENV=production webpack --config build/config.js --progress --hide-modules\",\n\t\t\"build:es5\": \"rimraf es5 && cross-env NODE_ENV=es5 babel src --out-dir es5\",\n\t\t\"debug-build\": \"node --inspect --debug-brk build/config.js\",\n\t\t\"debug:test\": \"./node_modules/.bin/cross-env NODE_ENV=test node --inspect --inspect-brk ./node_modules/jest/bin/jest.js --no-cache --runInBand --verbose\",\n\t\t\"version\": \"npm run build\",\n\t\t\"test\": \"cross-env NODE_ENV=test jest\",\n\t\t\"lint\": \"eslint --ext .js,.vue src\",\n\t\t\"precommit\": \"yarn run lint && yarn test\",\n\t\t\"prepush\": \"yarn run lint && yarn test\"\n\t},\n\t\"description\": \"Vue.js 2 Semantic Component Framework\",\n\t\"devDependencies\": {\n\t\t\"autoprefixer\": \"^7.1.4\",\n\t\t\"avoriaz\": \"^4.1.0\",\n\t\t\"babel-cli\": \"^6.26.0\",\n\t\t\"babel-core\": \"^6.26.0\",\n\t\t\"babel-eslint\": \"^8.0.0\",\n\t\t\"babel-jest\": \"^21.0.2\",\n\t\t\"babel-loader\": \"^7.1.2\",\n\t\t\"babel-plugin-add-filehash\": \"^6.9.4\",\n\t\t\"babel-plugin-detective\": \"^2.0.0\",\n\t\t\"babel-plugin-module-resolver\": \"^2.7.1\",\n\t\t\"babel-plugin-transform-async-to-generator\": \"^6.24.1\",\n\t\t\"babel-plugin-transform-runtime\": \"^6.23.0\",\n\t\t\"babel-polyfill\": \"^6.26.0\",\n\t\t\"babel-preset-env\": \"^1.5.1\",\n\t\t\"babel-preset-es2015\": \"^6.24.1\",\n\t\t\"babel-preset-stage-2\": \"^6.24.1\",\n\t\t\"cross-env\": \"^5.0.5\",\n\t\t\"cross-spawn\": \"^5.1.0\",\n\t\t\"css-loader\": \"^0.28.7\",\n\t\t\"css-mqpacker\": \"^6.0.1\",\n\t\t\"cssnano\": \"^3.10.0\",\n\t\t\"eslint\": \"^4.6.1\",\n\t\t\"eslint-config-standard\": \"^10.2.1\",\n\t\t\"eslint-config-vue\": \"^2.0.2\",\n\t\t\"eslint-friendly-formatter\": \"^3.0.0\",\n\t\t\"eslint-loader\": \"^1.6.1\",\n\t\t\"eslint-plugin-html\": \"^3.2.1\",\n\t\t\"eslint-plugin-import\": \"^2.7.0\",\n\t\t\"eslint-plugin-node\": \"^5.1.1\",\n\t\t\"eslint-plugin-promise\": \"^3.4.0\",\n\t\t\"eslint-plugin-pug\": \"^1.0.0\",\n\t\t\"eslint-plugin-standard\": \"^3.0.1\",\n\t\t\"eslint-plugin-vue\": \"^2.1.0\",\n\t\t\"eventsource-polyfill\": \"^0.9.6\",\n\t\t\"extract-text-webpack-plugin\": \"^3.0.0\",\n\t\t\"friendly-errors-webpack-plugin\": \"^1.6.1\",\n\t\t\"function-bind\": \"^1.1.1\",\n\t\t\"husky\": \"^0.14.3\",\n\t\t\"jest\": \"^21.1.0\",\n\t\t\"jest-cli\": \"^21.1.0\",\n\t\t\"jest-css-modules\": \"^1.1.0\",\n\t\t\"jest-serializer-html\": \"^4.0.0\",\n\t\t\"jest-vue-preprocessor\": \"^1.1.0\",\n\t\t\"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\n\t\t\"optimize-js-plugin\": \"^0.0.4\",\n\t\t\"postcss-loader\": \"^1.3.3\",\n\t\t\"progress-bar-webpack-plugin\": \"^1.10.0\",\n\t\t\"pug\": \"^2.0.0-rc.4\",\n\t\t\"pug-loader\": \"^2.3.0\",\n\t\t\"ress\": \"^1.1.1\",\n\t\t\"rimraf\": \"^2.6.2\",\n\t\t\"semver\": \"^5.4.1\",\n\t\t\"serialize-javascript\": \"^1.3.0\",\n\t\t\"style-loader\": \"^0.18.2\",\n\t\t\"stylus\": \"^0.54.5\",\n\t\t\"stylus-loader\": \"^3.0.1\",\n\t\t\"uglifyjs-webpack-plugin\": \"^0.4.6\",\n\t\t\"vue\": \"^2.4.4\",\n\t\t\"vue-loader\": \"^13.0.4\",\n\t\t\"vue-router\": \"^2.7.0\",\n\t\t\"vue-server-renderer\": \"^2.4.4\",\n\t\t\"vue-template-compiler\": \"^2.4.4\",\n\t\t\"webpack\": \"^3.6.0\",\n\t\t\"webpack-bundle-analyzer\": \"^2.9.0\",\n\t\t\"webpack-bundle-size-analyzer\": \"^2.7.0\",\n\t\t\"webpack-dev-server\": \"^2.8.2\",\n\t\t\"webpack-merge\": \"^4.1.0\",\n\t\t\"write-file-webpack-plugin\": \"^4.1.0\"\n\t},\n\t\"dependencies\": {},\n\t\"engines\": {\n\t\t\"node\": \">= 4.0.0\",\n\t\t\"npm\": \">= 3.0.0\"\n\t},\n\t\"jest\": {\n\t\t\"verbose\": false,\n\t\t\"roots\": [\n\t\t\t\"/src\"\n\t\t],\n\t\t\"moduleFileExtensions\": [\n\t\t\t\"js\",\n\t\t\t\"vue\"\n\t\t],\n\t\t\"moduleDirectories\": [\n\t\t\t\"node_modules\"\n\t\t],\n\t\t\"moduleNameMapper\": {\n\t\t\t\"src/(.*)\": \"/src/$1\"\n\t\t},\n\t\t\"transform\": {\n\t\t\t\".*\\\\.(vue)$\": \"/node_modules/jest-vue-preprocessor\",\n\t\t\t\"\\\\.(styl)$\": \"/node_modules/jest-css-modules\",\n\t\t\t\".*\\\\.(vue|js)$\": \"/node_modules/babel-jest\"\n\t\t},\n\t\t\"transformIgnorePatterns\": [\n\t\t\t\"node_modules/(?!vue-router)\"\n\t\t],\n\t\t\"snapshotSerializers\": [\n\t\t\t\"jest-serializer-html\"\n\t\t]\n\t}\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./package.json\n// module id = 49\n// module chunks = 0","export { default as Vuetify } from './Vuetify'\nexport { default as VApp } from './VApp'\nexport { default as VAlert } from './VAlert'\nexport { default as VAvatar } from './VAvatar'\nexport { default as VBadge } from './VBadge'\nexport { default as VBottomNav } from './VBottomNav'\nexport { default as VBottomSheet } from './VBottomSheet'\nexport { default as VBreadcrumbs } from './VBreadcrumbs'\nexport { default as VBtn } from './VBtn'\nexport { default as VBtnToggle } from './VBtnToggle'\nexport { default as VCard } from './VCard'\nexport { default as VCarousel } from './VCarousel'\nexport { default as VCheckbox } from './VCheckbox'\nexport { default as VChip } from './VChip'\nexport { default as VDataTable } from './VDataTable'\nexport { default as VDatePicker } from './VDatePicker'\nexport { default as VDialog } from './VDialog'\nexport { default as VDivider } from './VDivider'\nexport { default as VExpansionPanel } from './VExpansionPanel'\nexport { default as VFooter } from './VFooter'\nexport { default as VForm } from './VForm'\nexport { default as VGrid } from './VGrid'\nexport { default as VIcon } from './VIcon'\nexport { default as VList } from './VList'\nexport { default as VMenu } from './VMenu'\nexport { default as VNavigationDrawer } from './VNavigationDrawer'\nexport { default as VPagination } from './VPagination'\nexport { default as VParallax } from './VParallax'\nexport { default as VProgressCircular } from './VProgressCircular'\nexport { default as VProgressLinear } from './VProgressLinear'\nexport { default as VRadioGroup } from './VRadioGroup'\nexport { default as VSelect } from './VSelect'\nexport { default as VSlider } from './VSlider'\nexport { default as VSnackbar } from './VSnackbar'\nexport { default as VSpeedDial } from './VSpeedDial'\nexport { default as VStepper } from './VStepper'\nexport { default as VSubheader } from './VSubheader'\nexport { default as VSwitch } from './VSwitch'\nexport { default as VSystemBar } from './VSystemBar'\nexport { default as VTabs } from './VTabs'\nexport { default as VTextField } from './VTextField'\nexport { default as VTimePicker } from './VTimePicker'\nexport { default as VToolbar } from './VToolbar'\nexport { default as VTooltip } from './VTooltip'\nexport { default as Transitions } from './transitions'\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/index.js","import load from '../../util/load'\n\nconst Vuetify = {\n install (Vue, opts = {}) {\n const $vuetify = {\n load,\n application: {\n bar: 0,\n top: 0,\n bottom: 0,\n left: 0,\n right: 0\n },\n breakpoint: {},\n touchSupport: false\n }\n\n Vue.util.defineReactive({}, 'breakpoint', $vuetify)\n Vue.util.defineReactive({}, 'application', $vuetify)\n\n Vue.prototype.$vuetify = $vuetify\n\n if (opts.transitions) {\n Object.keys(opts.transitions).forEach(key => {\n const t = opts.transitions[key]\n if (t.name !== undefined && t.name.startsWith('v-')) {\n Vue.component(t.name, t)\n }\n })\n }\n\n if (opts.directives) {\n Object.keys(opts.directives).forEach(key => {\n const d = opts.directives[key]\n Vue.directive(d.name, d)\n })\n }\n\n if (opts.components) {\n Object.keys(opts.components).forEach(key => {\n const c = opts.components[key]\n Vue.use(c)\n })\n }\n }\n}\n\nexport default Vuetify\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/Vuetify/index.js","function load (cb, i = 0) {\n if (!document._loadCallbacks) {\n document._loadCallbacks = []\n }\n\n if (document.readyState === 'complete') {\n return cb()\n }\n\n document._loadCallbacks.push(cb)\n}\n\nexport default load\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/load.js","import VApp from './VApp'\n\nVApp.install = function install (Vue) {\n Vue.component(VApp.name, VApp)\n}\n\nexport default VApp\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VApp/index.js","require('../../stylus/components/_app.styl')\n\nimport Breakpoint from '../../util/breakpoint'\nimport Themeable from '../../mixins/themeable'\nimport TouchSupport from '../../util/touchSupport'\n\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-app',\n\n mixins: [Breakpoint, Themeable, TouchSupport],\n\n directives: {\n Resize\n },\n\n data: () => ({\n resizeTimeout: {}\n }),\n\n props: {\n id: {\n type: String,\n default: 'app'\n }\n },\n\n mounted () {\n window.addEventListener('load', this.runCallbacks)\n },\n\n methods: {\n // Run all load callbacks created\n // from the load helper utility\n runCallbacks () {\n // For unit tests\n if (!document._loadCallbacks) return\n\n while (document._loadCallbacks.length) {\n document._loadCallbacks.pop()()\n }\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'application',\n 'class': {\n 'application--dark': this.dark,\n 'application--light': !this.dark\n },\n attrs: { 'data-app': true },\n domProps: { id: this.id },\n directives: [{\n name: 'resize',\n value: this.onResize\n }]\n }\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VApp/VApp.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_app.styl\n// module id = 55\n// module chunks = 0","/**\n * A modified version of https://gist.github.com/cb109/b074a65f7595cffc21cea59ce8d15f9b\n */\n\n/**\n * A Vue mixin to get the current width/height and the associated breakpoint.\n *\n * Useful to e.g. adapt the user interface from inside a Vue component\n * as opposed to using CSS classes. The breakpoint pixel values and\n * range names are taken from Vuetify (https://github.com/vuetifyjs).\n *\n * Use within a component:\n *\n * import breakpoint from './breakpoint.js'\n *\n * export default {\n * name: 'my-component',\n * mixins: [breakpoint],\n * ...\n *\n * Then inside a template:\n *\n *
...
\n */\nvar breakpoint = {\n data () {\n return {\n clientWidth: 0,\n clientHeight: 0\n }\n },\n\n computed: {\n breakpoint () {\n const xs = this.clientWidth < 600\n const sm = this.clientWidth < 960 && !xs\n const md = this.clientWidth < (1280 - 16) && !(sm || xs)\n const lg = this.clientWidth < (1920 - 16) && !(md || sm || xs)\n const xl = this.clientWidth >= (1920 - 16) && !(lg || md || sm || xs)\n\n const xsOnly = xs\n const smOnly = sm\n const smAndDown = (xs || sm) && !(md || lg || xl)\n const smAndUp = !xs && (sm || md || lg || xl)\n const mdOnly = md\n const mdAndDown = (xs || sm || md) && !(lg || xl)\n const mdAndUp = !(xs || sm) && (md || lg || xl)\n const lgOnly = lg\n const lgAndDown = (xs || sm || md || lg) && !xl\n const lgAndUp = !(xs || sm || md) && (lg || xl)\n const xlOnly = xl\n\n let name\n switch (true) {\n case (xs):\n name = 'xs'\n break\n case (sm):\n name = 'sm'\n break\n case (md):\n name = 'md'\n break\n case (lg):\n name = 'lg'\n break\n default:\n name = 'xl'\n break\n }\n\n const result = {\n // Definite breakpoint.\n xs,\n sm,\n md,\n lg,\n xl,\n\n // Useful e.g. to construct CSS class names dynamically.\n name,\n\n // Breakpoint ranges.\n xsOnly,\n smOnly,\n smAndDown,\n smAndUp,\n mdOnly,\n mdAndDown,\n mdAndUp,\n lgOnly,\n lgAndDown,\n lgAndUp,\n xlOnly,\n\n // For custom breakpoint logic.\n width: this.clientWidth,\n height: this.clientHeight\n }\n\n return result\n }\n },\n\n watch: {\n breakpoint (val) {\n this.$vuetify.breakpoint = val\n }\n },\n\n methods: {\n onResize () {\n // Cross-browser support as described in:\n // https://stackoverflow.com/questions/1248081\n this.clientWidth = Math.max(\n document.documentElement.clientWidth,\n window.innerWidth || 0\n )\n this.clientHeight = Math.max(\n document.documentElement.clientHeight,\n window.innerHeight || 0\n )\n }\n }\n}\n\nexport default breakpoint\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/breakpoint.js","import { addOnceEventListener } from './helpers'\n\n/**\n * @mixin\n */\nexport default {\n mounted () {\n addOnceEventListener(window, 'touchstart', () => {\n this.$vuetify.touchSupport = true\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/util/touchSupport.js","import VAlert from './VAlert'\n\nVAlert.install = function install (Vue) {\n Vue.component(VAlert.name, VAlert)\n}\n\nexport default VAlert\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAlert/index.js","require('../../stylus/components/_alerts.styl')\n\nimport VIcon from '../VIcon'\n\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\nimport Transitionable from '../../mixins/transitionable'\n\nexport default {\n name: 'v-alert',\n\n components: {\n VIcon\n },\n\n mixins: [Colorable, Toggleable, Transitionable],\n\n props: {\n dismissible: Boolean,\n icon: String\n },\n\n computed: {\n classes () {\n return {\n 'alert--dismissible': this.dismissible,\n [this.color || 'error']: true\n }\n }\n },\n\n render (h) {\n const children = [h('div', this.$slots.default)]\n\n if (this.icon) {\n children.unshift(h('v-icon', {\n 'class': 'alert__icon'\n }, this.icon))\n }\n\n if (this.dismissible) {\n const close = h('a', {\n 'class': 'alert__dismissible',\n domProps: { href: 'javascript:;' },\n on: { click: () => this.$emit('input', false) }\n }, [\n h(VIcon, {\n props: {\n right: true\n }\n }, 'cancel')\n ])\n\n children.push(close)\n }\n\n const alert = h('div', {\n staticClass: 'alert',\n 'class': this.classes,\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n on: this.$listeners\n }, children)\n\n if (!this.transition) return alert\n\n return h('transition', {\n props: {\n name: this.transition,\n origin: this.origin,\n mode: this.mode\n }\n }, [alert])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAlert/VAlert.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_alerts.styl\n// module id = 60\n// module chunks = 0","require('../../stylus/components/_icons.styl')\n\nimport Themeable from '../../mixins/themeable'\nimport Colorable from '../../mixins/colorable'\nimport Contextualable from '../../mixins/contextualable'\n\nexport default {\n name: 'v-icon',\n\n functional: true,\n\n mixins: [Colorable, Contextualable, Themeable],\n\n props: {\n disabled: Boolean,\n fa: Boolean,\n mdi: Boolean,\n large: Boolean,\n left: Boolean,\n medium: Boolean,\n right: Boolean,\n xLarge: Boolean\n },\n\n render (h, { props, data, children = [] }) {\n Object.keys(Contextualable.props).forEach(prop => {\n if (props[prop]) {\n console.warn(`Context prop '${prop}' for VIcon component has been deprecated. Use 'color' prop instead.`)\n }\n })\n\n if (props.fa || props.mdi) console.warn(`The v-icon prop 'fa' and 'mdi' will be deprecated in the next release. Use 'fa' or 'mdi' prefix in icon name instead.`)\n let iconName = ''\n let iconType = 'material-icons'\n\n if (children.length) {\n iconName = children.pop().text\n } else if (data.domProps && data.domProps.textContent) {\n iconName = data.domProps.textContent\n delete data.domProps.textContent\n } else if (data.domProps && data.domProps.innerHTML) {\n iconName = data.domProps.innerHTML\n delete data.domProps.innerHTML\n }\n\n const thirdPartyIcon = iconName.indexOf('-') > -1\n if (thirdPartyIcon) iconType = iconName.slice(0, iconName.indexOf('-'))\n\n // To keep things backwards compatible for now\n iconType = props.fa ? 'fa' : props.mdi ? 'mdi' : iconType\n\n data.staticClass = (`${iconType} icon ${data.staticClass || ''}`).trim()\n data.attrs = data.attrs || {}\n\n const classes = Object.assign({\n 'icon--disabled': props.disabled,\n 'icon--large': props.large,\n 'icon--left': props.left,\n 'icon--medium': props.medium,\n 'icon--right': props.right,\n 'icon--x-large': props.xLarge,\n 'theme--dark': props.dark,\n 'theme--light': props.light\n }, props.color ? Colorable.methods.addColorClassChecks.call(props, {}) : {\n 'primary--text': props.primary,\n 'secondary--text': props.secondary,\n 'success--text': props.success,\n 'info--text': props.info,\n 'warning--text': props.warning,\n 'error--text': props.error\n })\n\n const iconClasses = Object.keys(classes).filter(k => classes[k]).join(' ')\n iconClasses && (data.staticClass += ` ${iconClasses}`)\n\n // To keep things backwards compatible for now\n if (props.fa || props.mdi) {\n const comparison = props.fa ? 'fa' : 'mdi'\n\n if (iconName.indexOf(' ') > -1) data.staticClass += ` ${comparison}-${iconName}`\n else data.staticClass += ` ${comparison}-${iconName.split(' ').join('-')}`\n }\n\n if (thirdPartyIcon) data.staticClass += ` ${iconName}`\n !(thirdPartyIcon || props.fa || props.mdi) && children.push(iconName)\n\n return h('i', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VIcon/VIcon.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_icons.styl\n// module id = 62\n// module chunks = 0","export default {\n props: {\n mode: String,\n origin: String,\n transition: String\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/transitionable.js","import VAvatar from './VAvatar'\n\nVAvatar.install = function install (Vue) {\n Vue.component(VAvatar.name, VAvatar)\n}\n\nexport default VAvatar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAvatar/index.js","require('../../stylus/components/_avatars.styl')\n\nexport default {\n name: 'v-avatar',\n\n functional: true,\n\n props: {\n size: {\n type: String,\n default: '48px'\n },\n tile: Boolean\n },\n\n render (h, { data, props, children }) {\n data.staticClass = (`avatar ${data.staticClass || ''}`).trim()\n data.style = data.style || {}\n\n if (props.tile) data.staticClass += ' avatar--tile'\n\n data.style.height = props.size\n data.style.width = props.size\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VAvatar/VAvatar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_avatars.styl\n// module id = 66\n// module chunks = 0","import VBadge from './VBadge'\n\nVBadge.install = function install (Vue) {\n Vue.component(VBadge.name, VBadge)\n}\n\nexport default VBadge\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBadge/index.js","require('../../stylus/components/_badges.styl')\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-badge',\n\n mixins: [Colorable, Toggleable],\n\n props: {\n bottom: Boolean,\n color: {\n type: String,\n default: 'primary'\n },\n left: Boolean,\n overlap: Boolean,\n transition: {\n type: String,\n default: 'fab-transition'\n },\n value: {\n default: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'badge--bottom': this.bottom,\n 'badge--left': this.left,\n 'badge--overlap': this.overlap\n }\n }\n },\n\n render (h) {\n const badge = this.$slots.badge ? [h('span', {\n staticClass: 'badge__badge',\n 'class': [this.color],\n attrs: this.attrs,\n directives: [{\n name: 'show',\n value: this.isActive\n }]\n }, this.$slots.badge)] : null\n\n return h('span', {\n staticClass: 'badge',\n 'class': this.classes\n }, [\n this.$slots.default,\n h('transition', {\n props: {\n name: this.transition\n }\n }, badge)\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBadge/VBadge.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_badges.styl\n// module id = 69\n// module chunks = 0","import VBottomNav from './VBottomNav'\n\nVBottomNav.install = function install (Vue) {\n Vue.component(VBottomNav.name, VBottomNav)\n}\n\nexport default VBottomNav\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomNav/index.js","require('../../stylus/components/_bottom-navs.styl')\n\nimport ButtonGroup from '../../mixins/button-group'\n\nexport default {\n name: 'v-bottom-nav',\n\n mixins: [ButtonGroup],\n\n props: {\n absolute: Boolean,\n active: [Number, String],\n shift: Boolean,\n value: { required: false }\n },\n\n watch: {\n active () {\n this.update()\n }\n },\n\n computed: {\n classes () {\n return {\n 'bottom-nav': true,\n 'bottom-nav--absolute': this.absolute,\n 'bottom-nav--shift': this.shift,\n 'bottom-nav--active': this.value\n }\n }\n },\n\n methods: {\n isSelected (i) {\n const item = this.getValue(i)\n return this.active === item\n },\n updateValue (i) {\n const item = this.getValue(i)\n this.$emit('update:active', item)\n }\n },\n\n render (h) {\n return h('div', {\n class: this.classes\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomNav/VBottomNav.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_bottom-navs.styl\n// module id = 72\n// module chunks = 0","import VBottomSheet from './VBottomSheet'\n\nVBottomSheet.install = function install (Vue) {\n Vue.component(VBottomSheet.name, VBottomSheet)\n}\n\nexport default VBottomSheet\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomSheet/index.js","require('../../stylus/components/_bottom-sheets.styl')\n\nimport VDialog from '../VDialog/VDialog'\n\nexport default {\n name: 'v-bottom-sheet',\n\n components: {\n VDialog\n },\n\n props: {\n inset: Boolean,\n value: null\n },\n\n render (h) {\n const activator = h('template', {\n slot: 'activator'\n }, this.$slots.activator)\n\n const contentClass = [\n 'bottom-sheet',\n this.inset ? 'bottom-sheet--inset' : ''\n ].join(' ')\n\n return h(VDialog, {\n attrs: {\n ...this.$attrs\n },\n on: {\n ...this.$listeners\n },\n props: {\n contentClass: contentClass,\n transition: 'bottom-sheet-transition',\n value: this.value\n }\n }, [activator, this.$slots.default])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBottomSheet/VBottomSheet.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_bottom-sheets.styl\n// module id = 75\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_dialogs.styl\n// module id = 76\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_overlay.styl\n// module id = 77\n// module chunks = 0","import VBreadcrumbs from './VBreadcrumbs'\nimport VBreadcrumbsItem from './VBreadcrumbsItem'\n\nexport { VBreadcrumbs, VBreadcrumbsItem }\n\nVBreadcrumbs.install = function install (Vue) {\n Vue.component(VBreadcrumbs.name, VBreadcrumbs)\n Vue.component(VBreadcrumbsItem.name, VBreadcrumbsItem)\n}\n\nexport default VBreadcrumbs\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBreadcrumbs/index.js","require('../../stylus/components/_breadcrumbs.styl')\n\nexport default {\n name: 'v-breadcrumbs',\n\n provide () {\n return {\n divider: this.divider\n }\n },\n\n props: {\n divider: {\n type: String,\n default: '/'\n },\n icons: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'breadcrumbs': true,\n 'breadcrumbs--with-icons': this.icons\n }\n }\n },\n\n render (h) {\n return h('ul', {\n 'class': this.classes,\n props: { items: this.items }\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBreadcrumbs/VBreadcrumbs.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_breadcrumbs.styl\n// module id = 80\n// module chunks = 0","import Routable from '../../mixins/routable'\n\nexport default {\n name: 'v-breadcrumbs-item',\n\n mixins: [Routable],\n\n inject: ['divider'],\n\n props: {\n activeClass: {\n type: String,\n default: 'breadcrumbs__item--disabled'\n }\n },\n\n computed: {\n classes () {\n const classes = {\n 'breadcrumbs__item': true\n }\n\n classes[this.activeClass] = this.disabled\n\n return classes\n }\n },\n\n render (h) {\n const { tag, data } = this.generateRouteLink()\n\n return h('li', {\n attrs: { 'data-divider': this.divider }\n }, [\n h(tag, data, this.$slots.default)\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBreadcrumbs/VBreadcrumbsItem.js","require('../../stylus/components/_buttons.styl')\n\nimport Colorable from '../../mixins/colorable'\nimport Contextualable from '../../mixins/contextualable'\nimport Positionable from '../../mixins/positionable'\nimport Routable from '../../mixins/routable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\n\nexport default {\n name: 'v-btn',\n\n mixins: [\n Colorable,\n Contextualable,\n Routable,\n Positionable,\n Themeable,\n ToggleableFactory('inputValue')\n ],\n\n props: {\n activeClass: {\n type: String,\n default: 'btn--active'\n },\n block: Boolean,\n fab: Boolean,\n flat: Boolean,\n icon: Boolean,\n large: Boolean,\n loading: Boolean,\n outline: Boolean,\n ripple: {\n type: [Boolean, Object],\n default: true\n },\n round: Boolean,\n small: Boolean,\n tag: {\n type: String,\n default: 'button'\n },\n type: {\n type: String,\n default: 'button'\n },\n value: null\n },\n\n computed: {\n classes () {\n const colorBackground = !this.outline && !this.flat\n const colorText = !this.disabled && !colorBackground\n\n const classes = {\n 'btn': true,\n 'btn--active': this.isActive,\n 'btn--absolute': this.absolute,\n 'btn--block': this.block,\n 'btn--bottom': this.bottom,\n 'btn--disabled': this.disabled,\n 'btn--flat': this.flat,\n 'btn--floating': this.fab,\n 'btn--fixed': this.fixed,\n 'btn--hover': this.hover,\n 'btn--icon': this.icon,\n 'btn--large': this.large,\n 'btn--left': this.left,\n 'btn--loader': this.loading,\n 'btn--outline': this.outline,\n 'btn--raised': !this.flat,\n 'btn--right': this.right,\n 'btn--round': this.round,\n 'btn--router': this.to,\n 'btn--small': this.small,\n 'btn--top': this.top,\n ...this.themeClasses\n }\n\n if (!this.color) {\n return Object.assign(classes, {\n 'primary': this.primary && colorBackground,\n 'secondary': this.secondary && colorBackground,\n 'success': this.success && colorBackground,\n 'info': this.info && colorBackground,\n 'warning': this.warning && colorBackground,\n 'error': this.error && colorBackground,\n 'primary--text': this.primary && colorText,\n 'secondary--text': this.secondary && colorText,\n 'success--text': this.success && colorText,\n 'info--text': this.info && colorText,\n 'warning--text': this.warning && colorText,\n 'error--text': this.error && colorText\n })\n }\n\n return colorBackground ? Object.assign(classes, {\n [this.color]: true\n }) : this.addColorClassChecks(classes)\n }\n },\n\n methods: {\n // Prevent focus to match md spec\n click (e) {\n !this.fab &&\n e.detail &&\n this.$el.blur()\n\n this.$emit('click', e)\n },\n genContent () {\n return this.$createElement(\n 'div',\n { 'class': 'btn__content' },\n [this.$slots.default]\n )\n },\n genLoader () {\n const children = []\n\n if (!this.$slots.loader) {\n children.push(this.$createElement('v-progress-circular', {\n props: {\n indeterminate: true,\n size: 26\n }\n }))\n } else {\n children.push(this.$slots.loader)\n }\n\n return this.$createElement('span', { 'class': 'btn__loading' }, children)\n }\n },\n\n mounted () {\n Object.keys(Contextualable.props).forEach(prop => {\n if (this[prop]) {\n console.warn(`Context prop '${prop}' for VBtn component has been deprecated. Use 'color' prop instead.`)\n }\n })\n },\n\n render (h) {\n const { tag, data } = this.generateRouteLink()\n const children = [this.genContent()]\n\n tag === 'button' && (data.attrs.type = this.type)\n this.loading && children.push(this.genLoader())\n\n data.attrs.value = ['string', 'number'].includes(typeof this.value)\n ? this.value\n : JSON.stringify(this.value)\n\n return h(tag, data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtn/VBtn.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_buttons.styl\n// module id = 83\n// module chunks = 0","import VBtnToggle from './VBtnToggle'\n\nVBtnToggle.install = function install (Vue) {\n Vue.component(VBtnToggle.name, VBtnToggle)\n}\n\nexport default VBtnToggle\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtnToggle/index.js","require('../../stylus/components/_button-toggle.styl')\n\nimport ButtonGroup from '../../mixins/button-group'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-btn-toggle',\n\n model: {\n prop: 'inputValue',\n event: 'change'\n },\n\n mixins: [ButtonGroup, Themeable],\n\n props: {\n inputValue: {\n required: false\n },\n items: {\n type: Array,\n default: () => []\n },\n mandatory: Boolean,\n multiple: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'btn-toggle': true,\n 'btn-toggle--selected': this.hasValue,\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n },\n hasValue () {\n return (this.multiple && this.inputValue.length) ||\n (!this.multiple && this.inputValue !== null &&\n typeof this.inputValue !== 'undefined')\n }\n },\n\n watch: {\n inputValue: {\n handler () {\n this.update()\n },\n deep: true\n }\n },\n\n methods: {\n isSelected (i) {\n const item = this.getValue(i)\n if (!this.multiple) {\n return this.inputValue === item\n }\n\n return this.inputValue.includes(item)\n },\n updateValue (i) {\n const item = this.getValue(i)\n if (!this.multiple) {\n if (this.mandatory && this.inputValue === item) return\n return this.$emit('change', this.inputValue === item ? null : item)\n }\n\n const items = this.inputValue.slice()\n\n const index = items.indexOf(item)\n if (index > -1) {\n if (this.mandatory && items.length === 1) return\n items.length >= 1 && items.splice(index, 1)\n } else {\n items.push(item)\n }\n\n this.$emit('change', items)\n }\n },\n\n mounted () {\n if (this.items.length > 0) {\n console.warn('The \\'items\\' props has been deprecated. v-btn-toggle now has a default slot where you can place buttons.')\n }\n },\n\n render (h) {\n return h('div', { class: this.classes }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VBtnToggle/VBtnToggle.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_button-toggle.styl\n// module id = 86\n// module chunks = 0","require('../../stylus/components/_cards.styl')\n\nimport Themeable from '../../mixins/themeable'\nimport Routable from '../../mixins/routable'\n\nexport default {\n name: 'v-card',\n\n mixins: [Routable, Themeable],\n\n props: {\n flat: Boolean,\n height: {\n type: String,\n default: 'auto'\n },\n hover: Boolean,\n img: String,\n raised: Boolean,\n tag: {\n type: String,\n default: 'div'\n },\n tile: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'card': true,\n 'card--flat': this.flat,\n 'card--horizontal': this.horizontal,\n 'card--hover': this.hover,\n 'card--raised': this.raised,\n 'card--tile': this.tile,\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n },\n styles () {\n const style = {\n height: isNaN(this.height) ? this.height : `${this.height}px`\n }\n\n if (this.img) {\n style.background = `url(${this.img}) center center / cover no-repeat`\n }\n\n return style\n }\n },\n\n render (h) {\n const { tag, data } = this.generateRouteLink()\n\n data.style = this.styles\n\n return h(tag, data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/VCard.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_cards.styl\n// module id = 88\n// module chunks = 0","export default {\n name: 'v-card-media',\n\n props: {\n contain: Boolean,\n height: {\n type: [Number, String],\n default: 'auto'\n },\n src: {\n type: String\n }\n },\n\n render (h) {\n const data = {\n 'class': 'card__media',\n style: {\n height: !isNaN(this.height) ? `${this.height}px` : this.height\n },\n on: this.$listeners\n }\n\n const children = []\n\n if (this.src) {\n children.push(h('div', {\n 'class': 'card__media__background',\n style: {\n background: `url(${this.src}) center center / ${this.contain ? 'contain' : 'cover'} no-repeat`\n }\n }))\n }\n\n children.push(h('div', {\n 'class': 'card__media__content'\n }, this.$slots.default))\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/VCardMedia.js","export default {\n name: 'v-card-title',\n\n functional: true,\n\n props: {\n primaryTitle: Boolean\n },\n\n render (h, { data, props, children }) {\n data.staticClass = (`card__title ${data.staticClass || ''}`).trim()\n\n if (props.primaryTitle) data.staticClass += ' card__title--primary'\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCard/VCardTitle.js","import VCarousel from './VCarousel'\nimport VCarouselItem from './VCarouselItem'\n\nexport { VCarousel, VCarouselItem }\n\nVCarousel.install = function install (Vue) {\n Vue.component(VCarousel.name, VCarousel)\n Vue.component(VCarouselItem.name, VCarouselItem)\n}\n\nexport default VCarousel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCarousel/index.js","require('../../stylus/components/_carousel.styl')\n\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\n\nimport Bootable from '../../mixins/bootable'\nimport Themeable from '../../mixins/themeable'\n\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-carousel',\n\n mixins: [Bootable, Themeable],\n\n directives: { Touch },\n\n data () {\n return {\n inputValue: null,\n items: [],\n slideTimeout: null,\n reverse: false\n }\n },\n\n props: {\n cycle: {\n type: Boolean,\n default: true\n },\n hideControls: Boolean,\n icon: {\n type: String,\n default: 'fiber_manual_record'\n },\n interval: {\n type: [Number, String],\n default: 6000,\n validator: value => value > 0\n },\n leftControlIcon: {\n type: [Boolean, String],\n default: 'chevron_left'\n },\n rightControlIcon: {\n type: [Boolean, String],\n default: 'chevron_right'\n },\n value: Number\n },\n\n watch: {\n inputValue () {\n // Evaluate items when inputValue changes to account for\n // dynamic changing of children\n this.items = this.$children.filter(i => {\n return i.$el.classList && i.$el.classList.contains('carousel__item')\n })\n\n this.items.forEach(i => i.open(\n this.items[this.inputValue]._uid,\n this.reverse\n ))\n\n this.$emit('input', this.inputValue)\n this.restartTimeout()\n },\n value (val) {\n this.inputValue = val\n },\n interval () {\n this.restartTimeout()\n },\n cycle (val) {\n if (val) {\n this.restartTimeout()\n } else {\n clearTimeout(this.slideTimeout)\n this.slideTimeout = null\n }\n }\n },\n\n mounted () {\n this.init()\n },\n\n methods: {\n genControls () {\n return this.$createElement('div', {\n staticClass: 'carousel__controls'\n }, this.genItems())\n },\n genIcon (direction, icon, fn) {\n if (!icon) return null\n\n return this.$createElement('div', {\n staticClass: `carousel__${direction}`\n }, [\n this.$createElement(VBtn, {\n props: {\n icon: true,\n dark: this.dark || !this.light,\n light: this.light\n },\n on: { click: fn }\n }, [this.$createElement(VIcon, icon)])\n ])\n },\n genItems () {\n return this.items.map((item, index) => {\n return this.$createElement(VBtn, {\n class: {\n 'carousel__controls__item': true,\n 'carousel__controls__item--active': index === this.inputValue\n },\n props: {\n icon: true,\n dark: this.dark || !this.light,\n light: this.light\n },\n key: index,\n on: { click: this.select.bind(this, index) }\n }, [this.$createElement(VIcon, this.icon)])\n })\n },\n restartTimeout () {\n this.slideTimeout && clearTimeout(this.slideTimeout)\n this.slideTimeout = null\n\n const raf = requestAnimationFrame || setTimeout\n raf(this.startTimeout)\n },\n init () {\n this.inputValue = this.value || 0\n },\n next () {\n this.reverse = false\n this.inputValue = (this.inputValue + 1) % this.items.length\n },\n prev () {\n this.reverse = true\n this.inputValue = (this.inputValue + this.items.length - 1) % this.items.length\n },\n select (index) {\n this.reverse = index < this.inputValue\n this.inputValue = index\n },\n startTimeout () {\n if (!this.cycle) return\n\n this.slideTimeout = setTimeout(() => this.next(), this.interval > 0 ? this.interval : 6000)\n }\n },\n\n render (h) {\n return h('div', {\n staticClass: 'carousel',\n directives: [{\n name: 'touch',\n value: {\n left: this.next,\n right: this.prev\n }\n }]\n }, [\n this.genIcon('left', this.leftControlIcon, this.prev),\n this.genIcon('right', this.rightControlIcon, this.next),\n this.hideControls ? null : this.genControls(),\n this.$slots.default\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCarousel/VCarousel.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_carousel.styl\n// module id = 93\n// module chunks = 0","export default {\n name: 'v-carousel-item',\n\n data () {\n return {\n active: false,\n reverse: false\n }\n },\n\n props: {\n src: {\n type: String,\n required: true\n },\n\n transition: {\n type: String,\n default: 'tab-transition'\n },\n\n reverseTransition: {\n type: String,\n default: 'tab-reverse-transition'\n }\n },\n\n computed: {\n computedTransition () {\n return this.reverse ? this.reverseTransition : this.transition\n },\n\n styles () {\n return {\n backgroundImage: `url(${this.src})`\n }\n }\n },\n\n methods: {\n open (id, reverse) {\n this.active = this._uid === id\n this.reverse = reverse\n }\n },\n\n render (h) {\n const item = h('div', {\n class: {\n 'carousel__item': true,\n 'reverse': this.reverse\n },\n style: this.styles,\n on: this.$listeners,\n directives: [\n {\n name: 'show',\n value: this.active\n }\n ]\n }, [this.$slots.default])\n\n return h('transition', { props: { name: this.computedTransition } }, [item])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCarousel/VCarouselItem.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_selection-controls.styl')\n\nimport VIcon from '../VIcon'\nimport { VFadeTransition } from '../transitions'\nimport Rippleable from '../../mixins/rippleable'\nimport Selectable from '../../mixins/selectable'\n\nexport default {\n name: 'v-checkbox',\n\n components: {\n VFadeTransition,\n VIcon\n },\n\n mixins: [Rippleable, Selectable],\n\n data () {\n return {\n inputIndeterminate: this.indeterminate\n }\n },\n\n props: {\n indeterminate: Boolean\n },\n\n computed: {\n classes () {\n const classes = {\n 'checkbox': true,\n 'input-group--selection-controls': true,\n 'input-group--active': this.isActive\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n icon () {\n if (this.inputIndeterminate) {\n return 'indeterminate_check_box'\n } else if (this.isActive) {\n return 'check_box'\n } else {\n return 'check_box_outline_blank'\n }\n }\n },\n\n methods: {\n groupFocus (e) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n groupBlur (e) {\n this.isFocused = false\n this.tabFocused = false\n this.$emit('blur', this.inputValue)\n }\n },\n\n render (h) {\n const transition = h('v-fade-transition', [\n h('v-icon', {\n staticClass: 'icon--selection-control',\n 'class': {\n 'icon--checkbox': this.icon === 'check_box'\n },\n key: this.icon\n }, this.icon)\n ])\n\n const data = {\n attrs: {\n tabindex: this.disabled\n ? -1\n : this.internalTabIndex || this.tabindex,\n role: 'checkbox',\n 'aria-checked': this.inputIndeterminate && 'mixed' || this.isActive && 'true' || 'false',\n 'aria-label': this.label\n }\n }\n\n return this.genInputGroup([transition, this.genRipple()], data)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VCheckbox/VCheckbox.js","import { addOnceEventListener } from '../../util/helpers'\n\nexport default {\n enter (el, done) {\n // Remove initial transition\n el.style.transition = 'none'\n addOnceEventListener(el, 'transitionend', done)\n\n // Get height that is to be scrolled\n el.style.overflow = 'hidden'\n el.style.height = null\n el.style.display = 'block'\n const height = `${el.clientHeight}px`\n el.style.height = 0\n el.style.transition = null\n\n setTimeout(() => (el.style.height = height), 100)\n },\n\n afterEnter (el) {\n el.style.height = 'auto'\n el.style.overflow = null\n },\n\n leave (el, done) {\n addOnceEventListener(el, 'transitionend', done)\n\n // Set height before we transition to 0\n el.style.overflow = 'hidden'\n el.style.height = `${el.clientHeight}px`\n\n setTimeout(() => (el.style.height = 0), 100)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/transitions/expand-transition.js","export default {\n data () {\n return {\n errorBucket: [],\n hasFocused: false,\n hasInput: false,\n shouldValidate: false,\n valid: false\n }\n },\n\n props: {\n error: {\n type: Boolean\n },\n errorMessages: {\n type: [String, Array],\n default: () => []\n },\n rules: {\n type: Array,\n default: () => []\n },\n validateOnBlur: Boolean\n },\n\n computed: {\n validations () {\n if (!Array.isArray(this.errorMessages)) {\n return [this.errorMessages]\n } else if (this.errorMessages.length > 0) {\n return this.errorMessages\n } else if (this.shouldValidate) {\n return this.errorBucket\n } else {\n return []\n }\n },\n hasError () {\n return this.validations.length > 0 ||\n this.errorMessages.length > 0 ||\n this.error\n }\n },\n\n watch: {\n rules: {\n handler (newVal, oldVal) {\n // TODO: This handler seems to trigger when input changes, even though\n // rules array stays the same? Solved it like this for now\n if (newVal.length === oldVal.length) return\n\n this.validate()\n },\n deep: true\n },\n inputValue (val) {\n // If it's the first time we're setting input,\n // mark it with hasInput\n if (!!val && !this.hasInput) this.hasInput = true\n\n if (this.hasInput && !this.validateOnBlur) this.shouldValidate = true\n },\n isFocused (val) {\n // If we're not focused, and it's the first time\n // we're defocusing, set shouldValidate to true\n if (!val && !this.hasFocused) {\n this.hasFocused = true\n this.shouldValidate = true\n\n this.$emit('update:error', this.errorBucket.length > 0)\n }\n },\n hasError (val) {\n if (this.shouldValidate) {\n this.$emit('update:error', val)\n }\n },\n error (val) {\n this.shouldValidate = !!val\n }\n },\n\n mounted () {\n this.shouldValidate = !!this.error\n this.validate()\n },\n\n methods: {\n reset () {\n // TODO: Do this another way!\n // This is so that we can reset all types of inputs\n this.$emit('input', this.isMultiple ? [] : null)\n this.$emit('change', null)\n\n this.$nextTick(() => {\n this.shouldValidate = false\n this.hasFocused = false\n this.validate()\n })\n },\n validate (force = false, value) {\n if (force) this.shouldValidate = true\n\n this.errorBucket = []\n\n this.rules.forEach(rule => {\n const valid = typeof rule === 'function'\n ? rule(typeof value !== 'undefined' ? value : this.inputValue)\n : rule\n\n if (valid !== true && !['string', 'boolean'].includes(typeof valid)) {\n throw new TypeError(`Rules should return a string or boolean, received '${typeof valid}' instead`)\n }\n\n if (valid !== true) {\n this.errorBucket.push(valid)\n }\n })\n\n this.valid = this.errorBucket.length === 0\n\n return this.valid\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/validatable.js","import VChip from './VChip'\n\nVChip.install = function install (Vue) {\n Vue.component(VChip.name, VChip)\n}\n\nexport default VChip\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VChip/index.js","require('../../stylus/components/_chips.styl')\n\nimport VIcon from '../VIcon'\nimport Themeable from '../../mixins/themeable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-chip',\n\n components: {\n VIcon\n },\n\n mixins: [Themeable, Toggleable],\n\n props: {\n close: Boolean,\n disabled: Boolean,\n label: Boolean,\n outline: Boolean,\n // Used for selects/tagging\n selected: Boolean,\n small: Boolean,\n value: {\n type: Boolean,\n default: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'chip': true,\n 'chip--disabled': this.disabled,\n 'chip--selected': this.selected,\n 'chip--label': this.label,\n 'chip--outline': this.outline,\n 'chip--small': this.small,\n 'chip--removable': this.close,\n 'theme--light': this.light,\n 'theme--dark': this.dark\n }\n }\n },\n\n render (h) {\n const children = [this.$slots.default]\n const data = {\n 'class': this.classes,\n attrs: { tabindex: this.disabled ? -1 : 0 },\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n on: this.$listeners\n }\n\n if (this.close) {\n const data = {\n staticClass: 'chip__close',\n on: {\n click: e => {\n e.stopPropagation()\n\n this.$emit('input', false)\n }\n }\n }\n\n children.push(h('div', data, [\n h(VIcon, { props: { right: true } }, 'cancel')\n ]))\n }\n\n return h('span', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VChip/VChip.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_chips.styl\n// module id = 100\n// module chunks = 0","import {\n createSimpleFunctional\n} from '../../util/helpers'\n\nimport VDataTable from './VDataTable'\nimport VEditDialog from './VEditDialog'\n\nVDataTable.install = function install (Vue) {\n const VTableOverflow = createSimpleFunctional('table__overflow')\n\n Vue.component(VDataTable.name, VDataTable)\n Vue.component(VEditDialog.name, VEditDialog)\n Vue.component('v-table-overflow', VTableOverflow)\n}\n\nexport default VDataTable\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/index.js","require('../../stylus/components/_tables.styl')\nrequire('../../stylus/components/_data-table.styl')\n\nimport VBtn from '../VBtn'\nimport VIcon from '../VIcon'\nimport VProgressLinear from '../VProgressLinear'\nimport VSelect from '../VSelect'\n\nimport Filterable from '../../mixins/filterable'\nimport Themeable from '../../mixins/themeable'\nimport Loadable from '../../mixins/loadable'\nimport Head from './mixins/head'\nimport Body from './mixins/body'\nimport Foot from './mixins/foot'\nimport Progress from './mixins/progress'\n\nimport {\n createSimpleFunctional,\n getObjectValueByPath\n} from '../../util/helpers'\n\nexport default {\n name: 'v-data-table',\n\n components: {\n VBtn,\n VIcon,\n VProgressLinear,\n VSelect,\n // Importing does not work properly\n 'v-table-overflow': createSimpleFunctional('table__overflow')\n },\n\n data () {\n return {\n all: false,\n searchLength: 0,\n defaultPagination: {\n descending: false,\n page: 1,\n rowsPerPage: 5,\n sortBy: null,\n totalItems: 0\n },\n expanded: {}\n }\n },\n\n mixins: [Head, Body, Filterable, Foot, Loadable, Progress, Themeable],\n\n props: {\n expand: {\n type: Boolean\n },\n headers: {\n type: Array,\n default: () => []\n },\n headerText: {\n type: String,\n default: 'text'\n },\n hideActions: Boolean,\n mustSort: Boolean,\n noResultsText: {\n type: String,\n default: 'No matching records found'\n },\n rowsPerPageItems: {\n type: Array,\n default () {\n return [\n 5,\n 10,\n 25,\n { text: 'All', value: -1 }\n ]\n }\n },\n rowsPerPageText: {\n type: String,\n default: 'Rows per page:'\n },\n selectAll: [Boolean, String],\n search: {\n required: false\n },\n filter: {\n type: Function,\n default: (val, search) => {\n return val !== null &&\n ['undefined', 'boolean'].indexOf(typeof val) === -1 &&\n val.toString().toLowerCase().indexOf(search) !== -1\n }\n },\n customFilter: {\n type: Function,\n default: (items, search, filter) => {\n search = search.toString().toLowerCase()\n return items.filter(i => (\n Object.keys(i).some(j => filter(i[j], search))\n ))\n }\n },\n customSort: {\n type: Function,\n default: (items, index, isDescending) => {\n if (index === null) return items\n\n return items.sort((a, b) => {\n let sortA = getObjectValueByPath(a, index)\n let sortB = getObjectValueByPath(b, index)\n\n if (isDescending) {\n [sortA, sortB] = [sortB, sortA]\n }\n\n // Check if both are numbers\n if (!isNaN(sortA) && !isNaN(sortB)) {\n return sortA - sortB\n }\n\n // Check if both cannot be evaluated\n if (sortA === null && sortB === null) {\n return 0\n }\n\n [sortA, sortB] = [sortA, sortB]\n .map(s => (\n (s || '').toString().toLocaleLowerCase()\n ))\n\n if (sortA > sortB) return 1\n if (sortA < sortB) return -1\n\n return 0\n })\n }\n },\n value: {\n type: Array,\n default: () => []\n },\n items: {\n type: Array,\n required: true,\n default: () => []\n },\n totalItems: {\n type: Number,\n default: null\n },\n itemKey: {\n type: String,\n default: 'id'\n },\n pagination: {\n type: Object,\n default: () => {}\n }\n },\n\n computed: {\n classes () {\n return {\n 'datatable table': true,\n 'datatable--select-all': this.selectAll !== false,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n computedPagination () {\n return this.hasPagination\n ? this.pagination\n : this.defaultPagination\n },\n hasPagination () {\n const pagination = this.pagination || {}\n\n return Object.keys(pagination).length > 0\n },\n hasSelectAll () {\n return this.selectAll !== undefined && this.selectAll !== false\n },\n itemsLength () {\n if (this.search) return this.searchLength\n return this.totalItems || this.items.length\n },\n indeterminate () {\n return this.hasSelectAll && this.someItems && !this.everyItem\n },\n everyItem () {\n return this.filteredItems.length &&\n this.filteredItems.every(i => this.isSelected(i))\n },\n someItems () {\n return this.filteredItems.some(i => this.isSelected(i))\n },\n getPage () {\n const { rowsPerPage } = this.computedPagination\n\n return rowsPerPage === Object(rowsPerPage)\n ? rowsPerPage.value\n : rowsPerPage\n },\n pageStart () {\n return this.getPage === -1\n ? 0\n : (this.computedPagination.page - 1) * this.getPage\n },\n pageStop () {\n return this.getPage === -1\n ? this.itemsLength\n : this.computedPagination.page * this.getPage\n },\n filteredItems () {\n if (this.totalItems) return this.items\n\n let items = this.items.slice()\n const hasSearch = typeof this.search !== 'undefined' &&\n this.search !== null\n\n if (hasSearch) {\n items = this.customFilter(items, this.search, this.filter)\n this.searchLength = items.length\n }\n\n items = this.customSort(\n items,\n this.computedPagination.sortBy,\n this.computedPagination.descending\n )\n\n return this.hideActions &&\n !this.hasPagination\n ? items\n : items.slice(this.pageStart, this.pageStop)\n },\n selected () {\n const selected = {}\n this.value.forEach(i => (selected[i[this.itemKey]] = true))\n return selected\n }\n },\n\n watch: {\n indeterminate (val) {\n if (val) this.all = true\n },\n someItems (val) {\n if (!val) this.all = false\n },\n search () {\n this.updatePagination({ page: 1, totalItems: this.itemsLength })\n },\n everyItem (val) {\n if (val) this.all = true\n }\n },\n\n methods: {\n updatePagination (val) {\n const pagination = this.hasPagination\n ? this.pagination\n : this.defaultPagination\n const updatedPagination = Object.assign({}, pagination, val)\n this.$emit('update:pagination', updatedPagination)\n\n if (!this.hasPagination) {\n this.defaultPagination = updatedPagination\n }\n },\n isSelected (item) {\n return this.selected[item[this.itemKey]]\n },\n isExpanded (item) {\n return this.expanded[item[this.itemKey]]\n },\n sort (index) {\n const { sortBy, descending } = this.computedPagination\n if (sortBy === null) {\n this.updatePagination({ sortBy: index, descending: false })\n } else if (sortBy === index && !descending) {\n this.updatePagination({ descending: true })\n } else if (sortBy !== index) {\n this.updatePagination({ sortBy: index, descending: false })\n } else if (!this.mustSort) {\n this.updatePagination({ sortBy: null, descending: null })\n } else {\n this.updatePagination({ sortBy: index, descending: false })\n }\n },\n needsTR (row) {\n return row.length && row.find(c => c.tag === 'td')\n },\n genTR (children, data = {}) {\n return this.$createElement('tr', data, children)\n },\n toggle (value) {\n const selected = Object.assign({}, this.selected)\n this.filteredItems.forEach(i => (\n selected[i[this.itemKey]] = value)\n )\n\n this.$emit('input', this.items.filter(i => (\n selected[i[this.itemKey]]))\n )\n }\n },\n\n created () {\n const firstSortable = this.headers.find(h => (\n !('sortable' in h) || h.sortable)\n )\n\n this.defaultPagination.sortBy = firstSortable\n ? firstSortable.value\n : null\n\n if (!this.rowsPerPageItems.length) {\n console.warn('The prop \\'rows-per-page-items\\' in v-data-table can not be empty.')\n } else {\n this.defaultPagination.rowsPerPage = this.rowsPerPageItems[0]\n }\n\n this.defaultPagination.totalItems = this.itemsLength\n\n this.updatePagination(\n Object.assign({}, this.defaultPagination, this.pagination)\n )\n },\n\n render (h) {\n return h('v-table-overflow', {}, [\n h('table', {\n 'class': this.classes\n }, [\n this.genTHead(),\n this.genTProgress(),\n this.genTBody(),\n this.genTFoot()\n ])\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/VDataTable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_tables.styl\n// module id = 103\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_data-table.styl\n// module id = 104\n// module chunks = 0","require('../../stylus/components/_progress-linear.styl')\n\nimport Colorable from '../../mixins/colorable'\n\nimport {\n VFadeTransition,\n VSlideXTransition\n} from '../transitions'\n\nexport default {\n name: 'v-progress-linear',\n\n components: {\n VFadeTransition,\n VSlideXTransition\n },\n\n mixins: [Colorable],\n\n props: {\n active: {\n type: Boolean,\n default: true\n },\n backgroundColor: {\n type: String,\n default: null\n },\n backgroundOpacity: {\n type: [Number, String],\n default: null\n },\n bufferValue: {\n type: [Number, String],\n default: 100\n },\n color: {\n type: String,\n default: 'primary'\n },\n height: {\n type: [Number, String],\n default: 7\n },\n indeterminate: Boolean,\n query: Boolean,\n value: {\n type: [Number, String],\n default: 0\n }\n },\n\n computed: {\n styles () {\n const styles = {}\n\n if (!this.active) {\n styles.height = 0\n }\n\n if (!this.indeterminate && parseInt(this.bufferValue, 10) !== 100) {\n styles.width = `${this.bufferValue}%`\n }\n\n return styles\n },\n effectiveWidth () {\n if (!this.bufferValue) {\n return 0\n }\n\n return this.value * 100 / this.bufferValue\n },\n bufferStyles () {\n const styles = {}\n\n if (!this.active) {\n styles.height = 0\n }\n\n return styles\n },\n backgroundStyle () {\n const backgroundOpacity = this.backgroundOpacity == null\n ? (this.backgroundColor ? 1 : 0.3)\n : parseFloat(this.backgroundOpacity)\n\n return {\n height: this.active ? 'auto' : 0,\n opacity: backgroundOpacity,\n width: `${this.bufferValue}%`\n }\n }\n },\n\n methods: {\n genDeterminate (h) {\n return h('div', {\n ref: 'front',\n staticClass: `progress-linear__bar__determinate`,\n class: {\n [this.color]: true\n },\n style: {\n width: `${this.effectiveWidth}%`\n }\n })\n },\n genBar (h, name) {\n return h('div', {\n staticClass: 'progress-linear__bar__indeterminate',\n class: {\n [name]: true,\n [this.color]: true\n }\n })\n },\n genIndeterminate (h) {\n return h('div', {\n ref: 'front',\n staticClass: 'progress-linear__bar__indeterminate',\n class: {\n 'progress-linear__bar__indeterminate--active': this.active\n }\n }, [\n this.genBar(h, 'long'),\n this.genBar(h, 'short')\n ])\n }\n },\n\n render (h) {\n const fade = h('v-fade-transition', [this.indeterminate && this.genIndeterminate(h)])\n const slide = h('v-slide-x-transition', [!this.indeterminate && this.genDeterminate(h)])\n\n const bar = h('div', {\n staticClass: 'progress-linear__bar',\n style: this.styles\n }, [fade, slide])\n const background = h('div', {\n staticClass: 'progress-linear__background',\n class: [this.backgroundColor || this.color],\n style: this.backgroundStyle\n })\n\n return h('div', {\n staticClass: 'progress-linear',\n class: {\n 'progress-linear--query': this.query\n },\n style: {\n height: `${this.height}px`\n },\n on: this.$listeners\n }, [\n background,\n bar\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressLinear/VProgressLinear.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_progress-linear.styl\n// module id = 106\n// module chunks = 0","require('../../stylus/components/_text-fields.styl')\nrequire('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_select.styl')\n\n// Components\nimport VCard from '../VCard'\nimport VCheckbox from '../VCheckbox'\nimport {\n VList,\n VListTile,\n VListTileAction,\n VListTileContent,\n VListTileTitle\n} from '../VList'\nimport VMenu from '../VMenu'\nimport VBtn from '../VBtn'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport Dependent from '../../mixins/dependent'\nimport Filterable from '../../mixins/filterable'\nimport Input from '../../mixins/input'\nimport Maskable from '../../mixins/maskable'\n\n// Component level mixins\nimport Autocomplete from './mixins/select-autocomplete'\nimport Generators from './mixins/select-generators'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport { getObjectValueByPath } from '../../util/helpers'\n\nexport default {\n name: 'v-select',\n\n inheritAttrs: false,\n\n components: {\n VCard,\n VCheckbox,\n VList,\n VListTile,\n VListTileAction,\n VListTileContent,\n VListTileTitle,\n VMenu,\n VBtn\n },\n\n directives: {\n ClickOutside\n },\n\n mixins: [Autocomplete, Colorable, Dependent, Filterable, Generators, Input, Maskable],\n\n data () {\n return {\n cachedItems: [],\n content: {},\n inputValue: (this.multiple || this.tags) && !this.value ? [] : this.value,\n isBooted: false,\n lastItem: 20,\n lazySearch: null,\n isActive: false,\n menuIsActive: false,\n searchTimeout: null,\n selectedIndex: -1,\n selectedItems: [],\n shouldBreak: false\n }\n },\n\n props: {\n appendIcon: {\n type: String,\n default: 'arrow_drop_down'\n },\n appendIconCb: Function,\n auto: Boolean,\n autocomplete: Boolean,\n bottom: Boolean,\n cacheItems: Boolean,\n chips: Boolean,\n clearable: Boolean,\n close: Boolean,\n color: {\n type: String,\n default: 'primary'\n },\n debounceSearch: {\n type: [Number, String],\n default: 200\n },\n browserAutocomplete: {\n type: String,\n default: 'on'\n },\n items: {\n type: Array,\n default: () => []\n },\n itemAvatar: {\n type: String,\n default: 'avatar'\n },\n itemText: {\n type: String,\n default: 'text'\n },\n itemValue: {\n type: String,\n default: 'value'\n },\n itemDisabled: {\n type: String,\n default: 'disabled'\n },\n maxHeight: {\n type: [Number, String],\n default: 300\n },\n minWidth: {\n type: [Boolean, Number, String],\n default: false\n },\n multiple: Boolean,\n multiLine: Boolean,\n offset: Boolean,\n solo: Boolean,\n searchInput: {\n default: null\n },\n singleLine: Boolean,\n tags: Boolean,\n top: Boolean,\n returnObject: Boolean,\n overflow: Boolean,\n segmented: Boolean,\n editable: Boolean\n },\n\n computed: {\n classes () {\n const classes = {\n 'input-group--text-field input-group--select': true,\n 'input-group--auto': this.auto,\n 'input-group--overflow': this.overflow,\n 'input-group--segmented': this.segmented,\n 'input-group--editable': this.editable,\n 'input-group--autocomplete': this.isAutocomplete,\n 'input-group--single-line': this.singleLine || this.isDropdown,\n 'input-group--multi-line': this.multiLine,\n 'input-group--chips': this.chips,\n 'input-group--solo': this.solo,\n 'input-group--multiple': this.multiple\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n computedContentClass () {\n const children = [\n 'menu__content--select',\n this.auto ? 'menu__content--auto' : '',\n this.isDropdown ? 'menu__content--dropdown' : '',\n this.isAutocomplete ? 'menu__content--autocomplete' : ''\n ]\n\n return children.join(' ')\n },\n computedItems () {\n return this.filterDuplicates(this.cachedItems.concat(this.items))\n },\n filteredItems () {\n // If we are not actively filtering\n // Show all available items\n const items = this.isNotFiltering\n ? this.computedItems\n : this.filterSearch()\n\n return !this.auto ? items.slice(0, this.lastItem) : items\n },\n hideSelections () {\n return this.isAutocomplete &&\n !this.isMultiple &&\n this.isFocused &&\n this.isDirty &&\n !this.chips\n },\n isNotFiltering () {\n return this.isAutocomplete &&\n this.isDirty &&\n this.searchValue === this.getText(this.selectedItem)\n },\n isAutocomplete () {\n return this.autocomplete || this.editable || this.tags\n },\n isDirty () {\n return this.selectedItems.length > 0\n },\n isDropdown () {\n return this.segmented || this.overflow || this.editable || this.solo\n },\n isMultiple () {\n return this.multiple || this.tags\n },\n searchValue: {\n get () { return this.lazySearch },\n set (val) {\n if (!this.isAutocomplete ||\n this.selectedIndex > -1\n ) return\n\n this.lazySearch = val\n\n clearTimeout(this.searchTimeout)\n\n this.searchTimeout = setTimeout(() => {\n this.$emit('update:searchInput', val)\n }, this.debounceSearch)\n }\n },\n selectedItem () {\n if (this.isMultiple) return null\n\n return this.selectedItems.find(i => (\n this.getValue(i) === this.getValue(this.inputValue)\n )) || null\n }\n },\n\n watch: {\n inputValue (val) {\n // Populate selected items\n this.genSelectedItems(val)\n\n this.$emit('input', val)\n },\n isActive (val) {\n if (!val) {\n this.searchValue = null\n this.menuIsActive = false\n this.isFocused = false\n this.selectedIndex = -1\n } else {\n this.searchValue = this.getText(this.selectedItem)\n }\n\n // this.lastItem += !val ? 20 : 0\n },\n isBooted () {\n this.$nextTick(() => {\n if (this.content instanceof EventTarget) {\n this.content.addEventListener('scroll', this.onScroll, false)\n }\n })\n },\n isFocused (val) {\n // Always ensure caret is\n // in correct position\n if (this.isAutocomplete &&\n !this.mask &&\n !this.isMultiple\n ) {\n const len = (this.selectedItem || '').length\n\n requestAnimationFrame(() => {\n this.$refs.input.setSelectionRange(len, len)\n })\n }\n },\n items (val) {\n if (this.cacheItems) {\n this.cachedItems = this.filterDuplicates(this.cachedItems.concat(val))\n }\n\n this.$refs.menu.listIndex = -1\n\n this.searchValue && this.$nextTick(() => {\n this.$refs.menu && (this.$refs.menu.listIndex = 0)\n })\n\n this.genSelectedItems()\n },\n menuIsActive (val) {\n if (!val) return\n\n this.isBooted = true\n this.isActive = true\n },\n isMultiple (val) {\n this.inputValue = val ? [] : null\n },\n searchInput (val) {\n this.searchValue = val\n },\n searchValue (val) {\n // Wrap input to next line if overflowing\n if (this.$refs.input.scrollWidth > this.$refs.input.clientWidth) {\n this.shouldBreak = true\n this.$nextTick(this.$refs.menu.updateDimensions)\n } else if (val === null) {\n this.shouldBreak = false\n }\n\n // Activate menu if inactive and searching\n if (this.isActive &&\n !this.menuIsActive &&\n val !== this.getValue(this.selectedItem)\n ) {\n this.menuIsActive = true\n }\n\n this.$refs.menu.listIndex = null\n\n this.$nextTick(() => {\n this.$refs.menu && (this.$refs.menu.listIndex = val ? 0 : -1)\n })\n },\n selectedItems () {\n clearTimeout(this.searchTimeout)\n\n if (this.isAutocomplete) {\n this.$nextTick(this.$refs.menu.updateDimensions)\n }\n },\n value (val) {\n this.inputValue = val\n this.validate()\n }\n },\n\n created () {\n if (this.tags) this.selectedItems = this.inputValue\n },\n\n mounted () {\n this.$vuetify.load(() => {\n if (this._isDestroyed) return\n\n this.content = this.$refs.menu.$refs.content\n this.genSelectedItems()\n })\n },\n\n beforeDestroy () {\n if (this.isBooted) {\n if (this.content) {\n this.content.removeEventListener('scroll', this.onScroll, false)\n }\n }\n },\n\n methods: {\n blur () {\n this.$emit('blur')\n if (this.isAutocomplete && this.$refs.input) this.$refs.input.blur()\n this.$nextTick(() => (this.isActive = false))\n },\n changeSelectedIndex (keyCode) {\n if (keyCode === 32 ||\n ![8, 37, 39, 46].includes(keyCode)\n ) return\n\n const indexes = this.selectedItems.length - 1\n\n if (keyCode === 37) {\n this.selectedIndex = this.selectedIndex === -1\n ? indexes\n : this.selectedIndex - 1\n } else if (keyCode === 39) {\n this.selectedIndex = this.selectedIndex >= indexes\n ? -1\n : this.selectedIndex + 1\n } else if (this.selectedIndex === -1) {\n this.selectedIndex = indexes\n return\n }\n\n if (![8, 46].includes(keyCode)) return\n const newIndex = this.selectedIndex === indexes\n ? this.selectedIndex - 1\n : this.selectedItems[this.selectedIndex + 1]\n ? this.selectedIndex\n : -1\n\n this.selectItem(this.selectedItems[this.selectedIndex])\n this.selectedIndex = newIndex\n },\n compareObjects (a, b) {\n const aProps = Object.keys(a)\n const bProps = Object.keys(b)\n\n if (aProps.length !== bProps.length) return false\n\n for (let i = 0, length = aProps.length; i < length; i++) {\n const propName = aProps[i]\n\n if (a[propName] !== b[propName]) return false\n }\n\n return true\n },\n filterDuplicates (arr) {\n const val = this.returnObject ? this.getValue : el => el\n return arr.filter((el, i, self) => i === self.findIndex(e => val(e) === val(el)))\n },\n focus () {\n this.isActive = true\n this.isFocused = true\n\n if (this.$refs.input && this.isAutocomplete) {\n this.$refs.input.focus()\n } else {\n this.$el.focus()\n }\n\n this.$emit('focus')\n },\n genDirectives () {\n return [{\n name: 'click-outside',\n value: {\n callback: () => (this.isActive = false),\n include: () => this.closeDependents ? this.getOpenDependentElements() : []\n }\n }]\n },\n genListeners () {\n const listeners = Object.assign({}, this.$listeners)\n delete listeners.input\n\n return {\n ...listeners,\n click: () => {\n if (this.disabled || this.readonly) return\n this.showMenuItems()\n this.selectedIndex = -1\n },\n focus: () => {\n if (this.disabled || this.readonly) return\n\n !this.isFocused && this.focus()\n },\n keydown: this.onKeyDown // Located in mixins/select-autocomplete.js\n }\n },\n genLabel () {\n const singleLine = this.singleLine || this.isDropdown\n if (singleLine && this.isDirty ||\n singleLine && this.isFocused && this.searchValue\n ) return null\n\n const data = {}\n\n if (this.id) data.attrs = { for: this.id }\n\n return this.$createElement('label', data, this.$slots.label || this.label)\n },\n getPropertyFromItem (item, field) {\n if (item !== Object(item)) return item\n\n const value = getObjectValueByPath(item, field)\n\n return typeof value === 'undefined' ? item : value\n },\n genSelectedItems (val = this.inputValue) {\n // If we are using tags, don't filter results\n if (this.tags) return (this.selectedItems = val)\n\n let selectedItems = this.computedItems.filter(i => {\n if (!this.isMultiple) {\n return this.getValue(i) === this.getValue(val)\n } else {\n // Always return Boolean\n return val.find((j) => {\n const a = this.getValue(j)\n const b = this.getValue(i)\n\n if (a !== Object(a)) return a === b\n\n return this.compareObjects(a, b)\n }) !== undefined\n }\n })\n\n if (!selectedItems.length &&\n val != null &&\n this.tags\n ) {\n selectedItems = Array.isArray(val) ? val : [val]\n }\n\n this.selectedItems = selectedItems\n },\n getText (item) {\n return this.getPropertyFromItem(item, this.itemText)\n },\n getValue (item) {\n return this.getPropertyFromItem(item, this.itemValue)\n },\n clearableCallback () {\n const inputValue = this.isMultiple ? [] : null\n\n this.inputValue = inputValue\n this.searchValue = null\n this.$emit('change', inputValue)\n this.genSelectedItems()\n this.showMenu()\n },\n showMenu () {\n this.showMenuItems()\n this.isAutocomplete && this.focus()\n },\n onScroll () {\n if (!this.isActive) {\n requestAnimationFrame(() => (this.content.scrollTop = 0))\n } else {\n const showMoreItems = (\n this.content.scrollHeight -\n (this.content.scrollTop +\n this.content.clientHeight)\n ) < 200\n\n if (showMoreItems) {\n this.lastItem += 20\n }\n }\n },\n selectItem (item) {\n if (!this.isMultiple) {\n this.inputValue = this.returnObject ? item : this.getValue(item)\n this.selectedItems = [item]\n } else {\n const selectedItems = []\n const inputValue = this.inputValue.slice()\n const i = this.inputValue.findIndex((i) => {\n const a = this.getValue(i)\n const b = this.getValue(item)\n\n if (a !== Object(a)) return a === b\n\n return this.compareObjects(a, b)\n })\n\n i !== -1 && inputValue.splice(i, 1) || inputValue.push(item)\n this.inputValue = inputValue.map((i) => {\n selectedItems.push(i)\n return this.returnObject ? i : this.getValue(i)\n })\n\n this.selectedItems = selectedItems\n }\n\n this.searchValue = !this.isMultiple || this.chips\n ? this.getText(this.selectedItem)\n : ''\n\n this.$emit('change', this.inputValue)\n\n // List tile will re-render, reset index to\n // maintain highlighting\n const savedIndex = this.$refs.menu.listIndex\n this.$refs.menu.listIndex = -1\n\n this.$nextTick(() => {\n if (this.isAutocomplete &&\n this.$refs.input\n ) this.$refs.input.focus()\n else this.$el.focus()\n this.$refs.menu && (this.$refs.menu.listIndex = savedIndex)\n })\n },\n showMenuItems () {\n this.isActive = true\n this.menuIsActive = true\n }\n },\n\n render (h) {\n const data = {\n attrs: {\n tabindex: this.isAutocomplete || this.disabled ? -1 : this.tabindex,\n ...(this.isAutocomplete ? null : this.$attrs),\n role: this.isAutocomplete ? null : 'combobox'\n }\n }\n\n if (!this.isAutocomplete) {\n data.on = this.genListeners()\n data.directives = this.genDirectives()\n } else {\n data.on = {\n click: () => {\n if (this.disabled || this.readonly) return\n\n // Workaround for clicking select\n // when using autocomplete\n // and click doesn't target the input\n setTimeout(() => {\n if (this.menuIsActive) return\n\n this.focus()\n this.menuIsActive = true\n }, 100)\n }\n }\n }\n\n return this.genInputGroup([\n this.genSelectionsAndSearch(),\n this.genMenu()\n ], data, () => this.showMenu())\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/VSelect.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_select.styl\n// module id = 108\n// module chunks = 0","require('../../stylus/components/_lists.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-list',\n\n provide () {\n return {\n listClick: this.listClick,\n listClose: this.listClose\n }\n },\n\n mixins: [Themeable],\n\n data () {\n return {\n uid: null,\n groups: []\n }\n },\n\n props: {\n dense: Boolean,\n subheader: Boolean,\n threeLine: Boolean,\n twoLine: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'list': true,\n 'list--two-line': this.twoLine,\n 'list--dense': this.dense,\n 'list--three-line': this.threeLine,\n 'list--subheader': this.subheader,\n 'theme--dark dark--bg': this.dark,\n 'theme--light light--bg': this.light\n }\n }\n },\n\n watch: {\n uid () {\n this.$children.filter(i => i.$options._componentTag === 'v-list-group').forEach(i => i.toggle(this.uid))\n }\n },\n\n methods: {\n listClick (uid, force) {\n if (force) {\n this.uid = uid\n } else {\n this.uid = this.uid === uid ? null : uid\n }\n },\n\n listClose (uid) {\n if (this.uid === uid) {\n this.uid = null\n }\n }\n },\n\n render (h) {\n const data = {\n 'class': this.classes,\n attrs: { 'data-uid': this._uid }\n }\n\n return h('ul', data, [this.$slots.default])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VList.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_lists.styl\n// module id = 110\n// module chunks = 0","import { VExpandTransition } from '../transitions'\n\nimport Bootable from '../../mixins/bootable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-list-group',\n\n inject: ['listClick', 'listClose'],\n\n mixins: [Bootable, Toggleable],\n\n props: {\n group: String,\n noAction: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'list--group__header': true,\n 'list--group__header--active': this.isActive,\n 'list--group__header--no-action': this.noAction\n }\n }\n },\n\n watch: {\n isActive () {\n this.isBooted = true\n\n if (!this.isActive) {\n this.listClose(this._uid)\n }\n },\n $route (to) {\n const isActive = this.matchRoute(to.path)\n\n if (this.group) {\n if (isActive && this.isActive !== isActive) {\n this.listClick(this._uid)\n }\n this.isActive = isActive\n }\n }\n },\n\n mounted () {\n this.isBooted = this.isActive\n\n if (this.group) {\n this.isActive = this.matchRoute(this.$route.path)\n }\n\n if (this.isActive) {\n this.listClick(this._uid)\n }\n },\n\n methods: {\n click () {\n if (!this.$refs.item.querySelector('.list__tile--disabled')) {\n requestAnimationFrame(() => this.listClick(this._uid))\n }\n },\n toggle (uid) {\n this.isActive = this._uid === uid\n },\n matchRoute (to) {\n if (!this.group) return false\n return to.match(this.group) !== null\n }\n },\n\n render (h) {\n const group = h('ul', {\n 'class': 'list list--group',\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n ref: 'group'\n }, this.showLazyContent(this.$slots.default))\n\n const item = h('div', {\n 'class': this.classes,\n on: Object.assign({}, { click: this.click }, this.$listeners),\n ref: 'item'\n }, [this.$slots.item])\n\n const transition = h(VExpandTransition, [group])\n\n return h('div', { 'class': 'list--group__container' }, [item, transition])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VListGroup.js","import Routable from '../../mixins/routable'\nimport Toggleable from '../../mixins/toggleable'\nimport Ripple from '../../directives/ripple'\n\nexport default {\n name: 'v-list-tile',\n\n mixins: [Routable, Toggleable],\n\n directives: {\n Ripple\n },\n\n inheritAttrs: false,\n\n props: {\n activeClass: {\n type: String,\n default: 'list__tile--active'\n },\n active: {\n type: Boolean,\n default: true\n },\n avatar: Boolean,\n tag: String\n },\n\n computed: {\n classes () {\n return {\n 'list__tile': true,\n 'list__tile--link': this.isLink && this.active,\n 'list__tile--avatar': this.avatar,\n 'list__tile--disabled': this.disabled,\n [this.activeClass]: this.isActive\n }\n },\n isLink () {\n return this.href || this.to ||\n (this.$listeners && (this.$listeners.click || this.$listeners['!click']))\n }\n },\n\n render (h) {\n const isRouteLink = this.active && this.isLink\n const { tag, data } = isRouteLink ? this.generateRouteLink() : {\n tag: this.tag || 'div',\n data: {\n class: this.classes\n }\n }\n\n data.attrs = Object.assign({}, data.attrs, this.$attrs)\n\n return h('li', {\n attrs: {\n disabled: this.disabled\n },\n on: {\n ...this.$listeners\n }\n }, [h(tag, data, this.$slots.default)])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VListTile.js","export default {\n functional: true,\n\n name: 'v-list-tile-action',\n\n render (h, { data, children }) {\n data.staticClass = data.staticClass ? `list__tile__action ${data.staticClass || ''}` : 'list__tile__action'\n if ((children || []).length > 1) data.staticClass += ' list__tile__action--stack'\n\n return h('div', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VList/VListTileAction.js","require('../../stylus/components/_menus.styl')\n\n// Mixins\nimport Delayable from '../../mixins/delayable'\nimport Dependent from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable.js'\nimport Toggleable from '../../mixins/toggleable'\n\n// Component level mixins\nimport Activator from './mixins/menu-activator'\nimport Generators from './mixins/menu-generators'\nimport Keyable from './mixins/menu-keyable'\nimport Position from './mixins/menu-position'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-menu',\n\n mixins: [\n Activator,\n Dependent,\n Delayable,\n Detachable,\n Generators,\n Keyable,\n Menuable,\n Position,\n Toggleable\n ],\n\n directives: {\n ClickOutside,\n Resize\n },\n\n data () {\n return {\n defaultOffset: 8,\n maxHeightAutoDefault: '200px',\n startIndex: 3,\n stopIndex: 0,\n hasJustFocused: false,\n resizeTimeout: null\n }\n },\n\n props: {\n auto: Boolean,\n closeOnClick: {\n type: Boolean,\n default: true\n },\n closeOnContentClick: {\n type: Boolean,\n default: true\n },\n disabled: Boolean,\n fullWidth: Boolean,\n maxHeight: { default: 'auto' },\n offsetX: Boolean,\n offsetY: Boolean,\n openOnClick: {\n type: Boolean,\n default: true\n },\n openOnHover: Boolean,\n origin: {\n type: String,\n default: 'top left'\n },\n transition: {\n type: [Boolean, String],\n default: 'menu-transition'\n }\n },\n\n computed: {\n calculatedLeft () {\n let left = this.calcLeft\n if (this.auto) left = this.calcLeftAuto\n\n return `${this.calcXOverflow(left())}px`\n },\n calculatedMaxHeight () {\n return this.auto\n ? '200px'\n : isNaN(this.maxHeight)\n ? this.maxHeight\n : `${this.maxHeight}px`\n },\n calculatedMaxWidth () {\n return isNaN(this.maxWidth)\n ? this.maxWidth\n : `${this.maxWidth}px`\n },\n calculatedMinWidth () {\n if (this.minWidth) {\n return isNaN(this.minWidth)\n ? this.minWidth\n : `${this.minWidth}px`\n }\n\n const minWidth = (\n this.dimensions.activator.width +\n this.nudgeWidth +\n (this.auto ? 16 : 0)\n )\n\n const calculatedMaxWidth = isNaN(parseInt(this.calculatedMaxWidth))\n ? minWidth\n : parseInt(this.calculatedMaxWidth)\n\n return `${Math.min(\n calculatedMaxWidth,\n minWidth\n )}px`\n },\n calculatedTop () {\n let top = this.calcTop\n if (this.auto) top = this.calcTopAuto\n\n return `${this.calcYOverflow(top())}px`\n },\n styles () {\n return {\n maxHeight: this.calculatedMaxHeight,\n minWidth: this.calculatedMinWidth,\n maxWidth: this.calculatedMaxWidth,\n top: this.calculatedTop,\n left: this.calculatedLeft,\n transformOrigin: this.origin,\n zIndex: this.zIndex || this.activeZIndex\n }\n }\n },\n\n watch: {\n activator (newActivator, oldActivator) {\n this.removeActivatorEvents(oldActivator)\n this.addActivatorEvents(newActivator)\n },\n isContentActive (val) {\n this.hasJustFocused = val\n }\n },\n\n methods: {\n activate () {\n // This exists primarily for v-select\n // helps determine which tiles to activate\n this.getTiles()\n // Update coordinates and dimensions of menu\n // and its activator\n this.updateDimensions()\n // Start the transition\n requestAnimationFrame(this.startTransition)\n // Once transitioning, calculate scroll position\n setTimeout(this.calculateScroll, 50)\n },\n onResize () {\n if (!this.isActive) return\n\n // Account for screen resize\n // and orientation change\n this.$refs.content.offsetWidth\n this.updateDimensions()\n\n // When resizing to a smaller width\n // content width is evaluated before\n // the new activator width has been\n // set, causing it to not size properly\n // hacky but will revisit in the future\n clearTimeout(this.resizeTimeout)\n this.resizeTimeout = setTimeout(this.updateDimensions, 100)\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'menu',\n class: {\n 'menu--disabled': this.disabled\n },\n style: {\n display: this.fullWidth ? 'block' : 'inline-block'\n },\n directives: [{\n name: 'resize',\n value: {\n debounce: 500,\n value: this.onResize\n }\n }],\n on: {\n keydown: this.changeListIndex\n }\n }\n\n return h('div', data, [\n this.genActivator(),\n this.genTransition()\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/VMenu.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_menus.styl\n// module id = 115\n// module chunks = 0","/**\n * Menu activator\n *\n * @mixin\n *\n * Handles the click and hover activation\n * Supports slotted and detached activators\n */\nexport default {\n methods: {\n activatorClickHandler (e) {\n if (this.disabled) return\n if (this.openOnClick && !this.isActive) {\n this.getActivator().focus()\n this.isActive = true\n this.absoluteX = e.clientX\n this.absoluteY = e.clientY\n } else if (this.closeOnClick && this.isActive) {\n this.getActivator().blur()\n this.isActive = false\n }\n },\n mouseEnterHandler (e) {\n this.runDelay('open', () => {\n if (this.hasJustFocused) return\n\n this.hasJustFocused = true\n this.isActive = true\n })\n },\n mouseLeaveHandler (e) {\n // Prevent accidental re-activation\n this.runDelay('close', () => {\n if (this.$refs.content.contains(e.relatedTarget)) return\n\n requestAnimationFrame(() => {\n this.isActive = false\n this.callDeactivate()\n })\n })\n },\n addActivatorEvents (activator = null) {\n if (!activator) return\n activator.addEventListener('click', this.activatorClickHandler)\n },\n removeActivatorEvents (activator = null) {\n if (!activator) return\n activator.removeEventListener('click', this.activatorClickHandler)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-activator.js","/**\n * Menu generators\n *\n * @mixin\n *\n * Used for creating the DOM elements for VMenu\n */\nexport default {\n methods: {\n genActivator () {\n if (!this.$slots.activator) return null\n\n const options = {\n staticClass: 'menu__activator',\n 'class': {\n 'menu__activator--active': this.hasJustFocused || this.isActive\n },\n ref: 'activator',\n on: {}\n }\n\n if (this.openOnHover) {\n options.on['mouseenter'] = this.mouseEnterHandler\n options.on['mouseleave'] = this.mouseLeaveHandler\n } else if (this.openOnClick) {\n options.on['click'] = this.activatorClickHandler\n }\n\n return this.$createElement('div', options, this.$slots.activator)\n },\n\n genTransition () {\n if (!this.transition) return this.genContent()\n\n return this.$createElement('transition', {\n props: {\n name: this.transition\n }\n }, [this.genContent()])\n },\n\n genDirectives () {\n // Do not add click outside for hover menu\n const directives = !this.openOnHover ? [{\n name: 'click-outside',\n value: {\n callback: () => this.closeOnClick,\n include: () => [this.$el, ...(this.getOpenDependentElements())]\n }\n }] : []\n\n directives.push({\n name: 'show',\n value: this.isContentActive\n })\n return directives\n },\n\n genContent () {\n const options = {\n 'class': [(`menu__content ${this.contentClass}`).trim(), { 'menuable__content__active': this.isActive }],\n style: this.styles,\n directives: this.genDirectives(),\n ref: 'content',\n on: {\n click: e => {\n e.stopPropagation()\n if (e.target.getAttribute('disabled')) return\n if (this.closeOnContentClick) this.isActive = false\n }\n }\n }\n\n !this.disabled && this.openOnHover && (options.on.mouseenter = this.mouseEnterHandler)\n this.openOnHover && (options.on.mouseleave = this.mouseLeaveHandler)\n\n return this.$createElement('div', options, this.showLazyContent(this.$slots.default))\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-generators.js","/**\n * Menu keyable\n * \n * @mixin\n *\n * Primarily used to support VSelect\n * Handles opening and closing of VMenu from keystrokes\n * Will conditionally highlight VListTiles for VSelect\n */\nexport default {\n data: () => ({\n listIndex: -1,\n tiles: []\n }),\n\n watch: {\n isActive (val) {\n if (!val) this.listIndex = -1\n },\n listIndex (next, prev) {\n // For infinite scroll and autocomplete, re-evaluate children\n this.getTiles()\n\n if (next in this.tiles) {\n this.tiles[next].classList.add('list__tile--highlighted')\n this.$refs.content.scrollTop = next * 48\n }\n\n prev in this.tiles &&\n this.tiles[prev].classList.remove('list__tile--highlighted')\n }\n },\n\n methods: {\n changeListIndex (e) {\n // Up, Down, Enter, Space\n if ([40, 38, 13].includes(e.keyCode) ||\n e.keyCode === 32 && !this.isActive\n ) {\n e.preventDefault()\n }\n\n // Esc, Tab\n if ([27, 9].includes(e.keyCode)) return this.isActive = false\n else if (!this.isActive &&\n // Enter, Space\n [13, 32].includes(e.keyCode) &&\n this.openOnClick\n ) {\n return this.isActive = true\n }\n\n // Down\n if (e.keyCode === 40 && this.listIndex < this.tiles.length - 1) {\n this.listIndex++\n // Up\n } else if (e.keyCode === 38 && this.listIndex > 0) {\n this.listIndex--\n // Enter\n } else if (e.keyCode === 13 && this.listIndex !== -1) {\n this.tiles[this.listIndex].click()\n }\n\n if (this.listIndex === -1) this.setActiveListIndex()\n },\n getTiles () {\n this.tiles = this.$refs.content.querySelectorAll('.list__tile')\n },\n setActiveListIndex () {\n const tiles = Array.from(this.tiles || [])\n tiles.forEach((t, i) => {\n if (t.classList.contains('list__tile--active')) {\n this.listIndex = i\n return\n }\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-keyable.js","/**\n * Menu position\n * \n * @mixin\n *\n * Used for calculating an automatic position (used for VSelect)\n * Will position the VMenu content properly over the VSelect\n */\nexport default {\n methods: {\n // Revisit this\n calculateScroll () {\n if (this.selectedIndex === null) return\n\n let scrollTop = 0\n\n if (this.selectedIndex >= this.stopIndex) {\n scrollTop = this.$refs.content.scrollHeight\n } else if (this.selectedIndex > this.startIndex) {\n scrollTop = (\n (this.selectedIndex * (this.defaultOffset * 6)) -\n (this.defaultOffset * 7)\n )\n }\n\n this.$refs.content.scrollTop = scrollTop\n },\n calcLeftAuto () {\n const a = this.dimensions.activator\n\n return parseInt(a.left - this.defaultOffset * 2)\n },\n calcTopAuto () {\n if (!this.hasActivator) return this.calcTop()\n\n const selectedIndex = Array.from(this.tiles)\n .findIndex(n => n.classList.contains('list__tile--active'))\n\n if (selectedIndex === -1) {\n this.selectedIndex = null\n\n return this.calcTop()\n }\n\n this.selectedIndex = selectedIndex\n let actingIndex = selectedIndex\n\n let offsetPadding = -(this.defaultOffset * 2)\n // #708 Stop index should vary by tile length\n this.stopIndex = this.tiles.length > 4\n ? this.tiles.length - 4\n : this.tiles.length\n\n if (selectedIndex > this.startIndex && selectedIndex < this.stopIndex) {\n actingIndex = 2\n offsetPadding = (this.defaultOffset * 3)\n } else if (selectedIndex >= this.stopIndex) {\n offsetPadding = -(this.defaultOffset)\n actingIndex = selectedIndex - this.stopIndex\n }\n\n // Is always off by 1 pixel, send help (┛ಠ_ಠ)┛彡┻━┻\n offsetPadding--\n\n return (\n this.calcTop() +\n offsetPadding -\n (actingIndex * (this.defaultOffset * 6))\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VMenu/mixins/menu-position.js","/**\n * Select autocomplete\n *\n * @mixin\n *\n * Handles logic when using the \"autocomplete\" prop\n */\nexport default {\n props: {\n filter: {\n type: Function,\n default: (item, queryText, itemText) => {\n const hasValue = val => [undefined, null].includes(val)\n\n const text = hasValue(itemText) ? '' : itemText\n const query = hasValue(queryText) ? '' : queryText\n\n return text.toString()\n .toLowerCase()\n .indexOf(query.toString().toLowerCase()) > -1\n }\n }\n },\n\n methods: {\n genFiltered (text) {\n if (!this.isAutocomplete ||\n !this.searchValue ||\n this.filteredItems.length < 1\n ) return text\n\n text = (text || '').toString()\n\n const { start, middle, end } = this.getMaskedCharacters(text)\n\n return `${start}${this.genHighlight(middle)}${end}`\n },\n genHighlight (text) {\n if (this.isNotFiltering) return text\n\n return `${text}`\n },\n getMaskedCharacters (text) {\n const searchValue = (this.searchValue || '').toString().toLowerCase()\n const index = text.toLowerCase().indexOf(searchValue)\n\n const start = text.slice(0, index)\n const middle = text.slice(index, index + searchValue.length)\n const end = text.slice(index + searchValue.length)\n return { start, middle, end }\n },\n filterSearch () {\n if (!this.isAutocomplete) return this.computedItems\n\n return this.computedItems.filter(i => this.filter(\n i, this.searchValue, this.getText(i))\n )\n },\n onKeyDown (e) {\n // If enter or space is pressed, open menu\n if (!this.menuIsActive &&\n [13, 32, 38, 40].includes(e.keyCode)\n ) {\n e.preventDefault()\n return this.showMenuItems()\n } else if ([9, 27].includes(e.keyCode)) {\n // If select is being tabbed, blur\n return this.blur()\n } else if (e.keyCode === 13 &&\n this.searchValue &&\n this.tags &&\n !this.filteredItems.length\n ) {\n this.selectedItems.push(this.searchValue)\n\n this.$nextTick(() => {\n this.searchValue = null\n this.$emit('change', this.selectedItems)\n })\n }\n\n if (!this.isAutocomplete ||\n ![32].includes(e.keyCode)\n ) this.$refs.menu.changeListIndex(e)\n\n if ([38, 40].includes(e.keyCode)) this.selectedIndex = -1\n\n if (this.isAutocomplete &&\n !this.hideSelections &&\n !this.searchValue\n ) this.changeSelectedIndex(e.keyCode)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/mixins/select-autocomplete.js","import { getObjectValueByPath } from '../../../util/helpers'\n\n/**\n * Select generators\n *\n * @mixin\n *\n * Used for creating the DOM elements for VSelect\n */\nexport default {\n methods: {\n genMenu () {\n const offsetY = this.isAutocomplete || this.offset || this.isDropdown\n let nudgeTop = 0\n\n if (this.auto) nudgeTop = -18\n else if (this.solo) nudgeTop = 0\n else if (this.isDropdown) nudgeTop = 26\n else if (offsetY) nudgeTop = 24\n\n const data = {\n ref: 'menu',\n props: {\n activator: this.$el,\n auto: this.auto,\n closeOnClick: false,\n closeOnContentClick: !this.isMultiple,\n contentClass: this.computedContentClass,\n disabled: this.disabled,\n maxHeight: this.maxHeight,\n nudgeTop,\n offsetY,\n offsetOverflow: this.isAutocomplete,\n openOnClick: false,\n value: this.menuIsActive &&\n this.computedItems.length &&\n (!this.tags || this.tags && this.filteredItems.length > 0),\n zIndex: this.menuZIndex\n },\n on: {\n input: val => {\n if (!val) {\n this.menuIsActive = false\n }\n }\n }\n }\n\n if (this.isAutocomplete) data.props.transition = ''\n\n this.minWidth && (data.props.minWidth = this.minWidth)\n\n return this.$createElement('v-menu', data, [this.genList()])\n },\n genSelectionsAndSearch () {\n const data = {\n staticClass: 'input-group--select__autocomplete',\n 'class': {\n 'input-group--select__autocomplete--index': this.selectedIndex > -1\n },\n style: {\n flex: this.shouldBreak ? '1 0 100%' : null\n },\n attrs: {\n ...this.$attrs,\n disabled: this.disabled || !this.isAutocomplete,\n readonly: this.readonly,\n tabindex: this.disabled || !this.isAutocomplete ? -1 : this.tabindex\n },\n domProps: {\n value: this.maskText(this.lazySearch || '')\n },\n directives: [{\n name: 'show',\n value: (this.isAutocomplete) ||\n (this.placeholder && !this.selectedItems.length)\n }],\n ref: 'input',\n key: 'input'\n }\n\n if (this.isAutocomplete) {\n data.attrs.role = 'combobox'\n data.domProps.autocomplete = this.browserAutocomplete\n\n data.on = {\n ...this.genListeners(),\n input: e => {\n this.searchValue = this.unmaskText(e.target.value)\n }\n }\n\n data.directives = data.directives.concat(this.genDirectives())\n }\n\n if (this.placeholder) data.domProps.placeholder = this.placeholder\n\n return this.$createElement('div', {\n 'class': 'input-group__selections',\n style: { 'overflow': 'hidden' },\n ref: 'activator'\n }, [\n this.genSelections(),\n this.$createElement('input', data)\n ])\n },\n genSelections () {\n if (this.hideSelections) return []\n\n const children = []\n const chips = this.chips\n const slots = this.$scopedSlots.selection\n const length = this.selectedItems.length\n this.selectedItems.forEach((item, i) => {\n if (slots) {\n children.push(this.genSlotSelection(item, i))\n } else if (chips) {\n children.push(this.genChipSelection(item, i))\n } else if (this.segmented) {\n children.push(this.genSegmentedBtn(item, i))\n } else {\n children.push(this.genCommaSelection(item, i < length - 1, i))\n }\n })\n\n return children\n },\n genSegmentedBtn (item) {\n if (!item.text || !item.callback) {\n console.warn('[Vuetify] Warn: When using the v-select component with \\'segmented\\' prop without a selection slot, items must contain both a text and callback property')\n return null\n }\n\n return this.$createElement('v-btn', {\n props: {\n flat: true\n },\n on: {\n click (e) {\n e.stopPropagation()\n item.callback(e)\n }\n }\n }, [item.text])\n },\n genSlotSelection (item, index) {\n return this.$scopedSlots.selection({\n parent: this,\n item,\n index,\n selected: index === this.selectedIndex,\n disabled: this.disabled || this.readonly\n })\n },\n genChipSelection (item, index) {\n const isDisabled = this.disabled || this.readonly\n const click = e => {\n if (isDisabled) return\n\n e.stopPropagation()\n this.focus()\n this.selectedIndex = index\n }\n\n return this.$createElement('v-chip', {\n staticClass: 'chip--select-multi',\n attrs: { tabindex: '-1' },\n props: {\n close: !isDisabled,\n dark: this.dark,\n disabled: isDisabled,\n selected: index === this.selectedIndex\n },\n on: {\n click: click,\n focus: click,\n input: () => this.selectItem(item)\n },\n key: this.getValue(item)\n }, this.getText(item))\n },\n genCommaSelection (item, comma, index) {\n return this.$createElement('div', {\n staticClass: 'input-group__selections__comma',\n 'class': {\n 'input-group__selections__comma--active': index === this.selectedIndex\n },\n key: JSON.stringify(this.getValue(item)) // Item may be an object\n }, `${this.getText(item)}${comma ? ', ' : ''}`)\n },\n genList () {\n const children = this.filteredItems.map(o => {\n if (o.header) return this.genHeader(o)\n if (o.divider) return this.genDivider(o)\n else return this.genTile(o)\n })\n\n if (!children.length) {\n const noData = this.$slots['no-data']\n if (noData) {\n children.push(noData)\n } else {\n children.push(this.genTile(this.noDataText, true))\n }\n }\n\n return this.$createElement('v-card', [\n this.$createElement('v-list', {\n ref: 'list'\n }, children)\n ])\n },\n genHeader (item) {\n return this.$createElement('v-subheader', {\n props: item\n }, item.header)\n },\n genDivider (item) {\n return this.$createElement('v-divider', {\n props: item\n })\n },\n genTile (item, disabled) {\n const active = this.selectedItems.indexOf(item) !== -1\n\n if (typeof disabled === 'undefined') {\n disabled = getObjectValueByPath(item, this.itemDisabled)\n }\n\n const data = {\n on: {\n click: e => {\n if (disabled) return\n\n this.selectItem(item)\n }\n },\n props: {\n avatar: item === Object(item) && this.itemAvatar in item,\n ripple: true,\n value: active\n }\n }\n\n if (disabled) {\n data.props.disabled = disabled\n }\n\n if (this.$scopedSlots.item) {\n return this.$createElement('v-list-tile', data,\n [this.$scopedSlots.item({ parent: this, item })]\n )\n }\n\n return this.$createElement('v-list-tile', data,\n [this.genAction(item, active && !disabled), this.genContent(item)]\n )\n },\n genAction (item, active) {\n if (!this.isMultiple) return null\n\n const data = {\n staticClass: 'list__tile__action--select-multi',\n on: {\n click: e => {\n e.stopPropagation()\n this.selectItem(item)\n }\n }\n }\n\n return this.$createElement('v-list-tile-action', data, [\n this.$createElement('v-checkbox', { props: { inputValue: active } })\n ])\n },\n genContent (item) {\n const text = this.getText(item)\n\n return this.$createElement('v-list-tile-content',\n [this.$createElement('v-list-tile-title', {\n domProps: {\n innerHTML: this.genFiltered(text)\n }\n })]\n )\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSelect/mixins/select-generators.js","export default {\n methods: {\n genTHead () {\n let children = []\n\n if (this.$scopedSlots.headers) {\n const row = this.$scopedSlots.headers({\n headers: this.headers,\n indeterminate: this.indeterminate,\n all: this.all\n })\n\n children = this.needsTR(row) ? this.genTR(row) : row\n } else {\n const row = this.headers.map(o => this.genHeader(o))\n const checkbox = this.$createElement('v-checkbox', {\n props: {\n dark: this.dark,\n light: this.light,\n color: this.selectAll === true ? '' : this.selectAll,\n hideDetails: true,\n inputValue: this.all,\n indeterminate: this.indeterminate\n },\n on: { change: this.toggle }\n })\n\n this.hasSelectAll && row.unshift(this.$createElement('th', [checkbox]))\n\n children = this.genTR(row)\n }\n\n return this.$createElement('thead', [children])\n },\n genHeader (header) {\n const array = [\n this.$scopedSlots.headerCell\n ? this.$scopedSlots.headerCell({ header })\n : header[this.headerText]\n ]\n\n return this.$createElement('th', ...this.genHeaderData(header, array))\n },\n genHeaderData (header, children) {\n const classes = ['column']\n const data = {\n attrs: {\n role: 'columnheader',\n scope: 'col',\n 'aria-label': header[this.headerText] || '',\n 'aria-sort': 'none'\n }\n }\n\n if ('sortable' in header && header.sortable || !('sortable' in header)) {\n this.genHeaderSortingData(header, children, data, classes)\n } else {\n data.attrs['aria-label'] += ': Not sorted.' // TODO: Localization\n }\n\n classes.push(`text-xs-${header.align || 'right'}`)\n if (Array.isArray(header.class)) {\n classes.push(...header.class)\n } else if (header.class) {\n classes.push(header.class)\n }\n data.class = classes\n\n return [data, children]\n },\n genHeaderSortingData (header, children, data, classes) {\n if (!('value' in header)) {\n console.warn('Data table headers must have a value property that corresponds to a value in the v-model array')\n }\n\n data.attrs.tabIndex = 0\n data.on = {\n click: () => {\n this.expanded = []\n this.sort(header.value)\n },\n keydown: e => {\n // check for space\n if (e.keyCode === 32) {\n e.preventDefault()\n this.sort(header.value)\n }\n }\n }\n\n classes.push('sortable')\n const icon = this.$createElement('v-icon', { attrs: { 'aria-hidden': true } }, 'arrow_upward')\n if (header.align && header.align === 'left') {\n children.push(icon)\n } else {\n children.unshift(icon)\n }\n\n const pagination = this.computedPagination\n const beingSorted = pagination.sortBy === header.value\n if (beingSorted) {\n classes.push('active')\n if (pagination.descending) {\n classes.push('desc')\n data.attrs['aria-sort'] = 'descending'\n data.attrs['aria-label'] += ': Sorted descending. Activate to remove sorting.' // TODO: Localization\n } else {\n classes.push('asc')\n data.attrs['aria-sort'] = 'ascending'\n data.attrs['aria-label'] += ': Sorted ascending. Activate to sort descending.' // TODO: Localization\n }\n } else {\n data.attrs['aria-label'] += ': Not sorted. Activate to sort ascending.' // TODO: Localization\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/head.js","import RowExpandTransitionFunctions from '../../transitions/row-expand-transition'\n\nexport default {\n methods: {\n genTBody () {\n const children = []\n\n if (!this.itemsLength) {\n children.push(this.genEmptyBody(this.noDataText))\n } else if (!this.filteredItems.length) {\n children.push(this.genEmptyBody(this.noResultsText))\n } else {\n children.push(this.genFilteredItems())\n }\n\n return this.$createElement('tbody', children)\n },\n genExpandedRow (props) {\n const children = []\n\n if (this.isExpanded(props.item)) {\n const expand = this.$createElement('div', {\n class: 'datatable__expand-content',\n key: props.item[this.itemKey]\n }, this.$scopedSlots.expand(props))\n\n children.push(expand)\n }\n\n const transition = this.$createElement('transition-group', {\n class: 'datatable__expand-col',\n attrs: { colspan: '100%' },\n props: {\n tag: 'td'\n },\n on: RowExpandTransitionFunctions\n }, children)\n\n return this.genTR([transition], { class: 'datatable__expand-row' })\n },\n createProps (item, index) {\n const props = { item, index }\n const key = this.itemKey\n\n Object.defineProperty(props, 'selected', {\n get: () => this.selected[item[this.itemKey]],\n set: (value) => {\n let selected = this.value.slice()\n if (value) selected.push(item)\n else selected = selected.filter(i => i[key] !== item[key])\n this.$emit('input', selected)\n }\n })\n\n Object.defineProperty(props, 'expanded', {\n get: () => this.expanded[item[this.itemKey]],\n set: (value) => {\n if (!this.expand) {\n Object.keys(this.expanded).forEach((key) => {\n this.$set(this.expanded, key, false)\n })\n }\n this.$set(this.expanded, item[this.itemKey], value)\n }\n })\n\n return props\n },\n genFilteredItems () {\n const rows = []\n this.filteredItems.forEach((item, index) => {\n const props = this.createProps(item, index)\n const row = this.$scopedSlots.items\n ? this.$scopedSlots.items(props)\n : []\n\n rows.push(this.needsTR(row)\n ? this.genTR(row, {\n attrs: { active: this.isSelected(item) }\n })\n : row)\n\n if (this.$scopedSlots.expand) {\n const expandRow = this.genExpandedRow(props)\n rows.push(expandRow)\n }\n })\n\n return rows\n },\n genEmptyBody (text) {\n return this.genTR([this.$createElement('td', {\n 'class': 'text-xs-center',\n attrs: { colspan: '100%' }\n }, text)])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/body.js","export default {\n methods: {\n genPrevIcon () {\n return this.$createElement('v-btn', {\n props: {\n disabled: this.computedPagination.page === 1,\n icon: true,\n flat: true,\n dark: this.dark,\n light: this.light\n },\n on: {\n click: () => {\n const page = this.computedPagination.page\n this.updatePagination({ page: page - 1 })\n }\n },\n attrs: {\n 'aria-label': 'Previous page' // TODO: Localization\n }\n }, [this.$createElement('v-icon', 'chevron_left')])\n },\n genNextIcon () {\n const pagination = this.computedPagination\n const disabled = pagination.rowsPerPage < 0 ||\n pagination.page * pagination.rowsPerPage >= this.itemsLength ||\n this.pageStop < 0\n\n return this.$createElement('v-btn', {\n props: {\n disabled,\n icon: true,\n flat: true,\n dark: this.dark,\n light: this.light\n },\n on: {\n click: () => {\n const page = this.computedPagination.page\n this.updatePagination({ page: page + 1 })\n }\n },\n attrs: {\n 'aria-label': 'Next page' // TODO: Localization\n }\n }, [this.$createElement('v-icon', 'chevron_right')])\n },\n genSelect () {\n return this.$createElement('div', {\n 'class': 'datatable__actions__select'\n }, [\n this.rowsPerPageText,\n this.$createElement('v-select', {\n attrs: {\n 'aria-label': this.rowsPerPageText\n },\n props: {\n items: this.rowsPerPageItems,\n value: this.computedPagination.rowsPerPage,\n hideDetails: true,\n auto: true,\n minWidth: '75px'\n },\n on: {\n input: (val) => {\n this.updatePagination({\n page: 1,\n rowsPerPage: val\n })\n }\n }\n })\n ])\n },\n genPagination () {\n let pagination = '–'\n\n if (this.itemsLength) {\n const stop = this.itemsLength < this.pageStop || this.pageStop < 0\n ? this.itemsLength\n : this.pageStop\n\n pagination = this.$scopedSlots.pageText\n ? this.$scopedSlots.pageText({\n pageStart: this.pageStart + 1,\n pageStop: stop,\n itemsLength: this.itemsLength\n })\n : `${this.pageStart + 1}-${stop} of ${this.itemsLength}`\n }\n\n return this.$createElement('div', {\n 'class': 'datatable__actions__pagination'\n }, [pagination])\n },\n genActions () {\n return [this.$createElement('div', {\n 'class': 'datatable__actions'\n }, [\n this.genSelect(),\n this.genPagination(),\n this.genPrevIcon(),\n this.genNextIcon()\n ])]\n },\n genTFoot () {\n const children = []\n\n if (this.$slots.footer) {\n const footer = this.$slots.footer\n const row = this.needsTR(footer) ? this.genTR(footer) : footer\n\n children.push(row)\n }\n\n if (!this.hideActions) {\n children.push(this.genTR([\n this.$createElement('td', {\n attrs: { colspan: '100%' }\n }, this.genActions())\n ]))\n }\n\n if (!children.length) return null\n return this.$createElement('tfoot', children)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/foot.js","export default {\n methods: {\n genTProgress () {\n const col = this.$createElement('th', {\n staticClass: 'column',\n attrs: {\n colspan: '100%'\n }\n }, [this.genProgress()])\n\n return this.$createElement('thead', {\n staticClass: 'datatable__progress'\n }, [this.genTR([col])])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/mixins/progress.js","require('../../stylus/components/_small-dialog.styl')\n\nexport default {\n name: 'v-edit-dialog',\n\n data () {\n return {\n isActive: false,\n isSaving: false\n }\n },\n\n props: {\n cancelText: {\n default: 'Cancel'\n },\n large: Boolean,\n lazy: Boolean,\n saveText: {\n default: 'Save'\n },\n transition: {\n type: String,\n default: 'slide-x-reverse-transition'\n }\n },\n\n watch: {\n isActive (val) {\n val &&\n this.$emit('open') &&\n setTimeout(this.focus, 50) // Give DOM time to paint\n\n if (!val) {\n !this.isSaving && this.$emit('cancel')\n this.isSaving && this.$emit('close')\n this.isSaving = false\n }\n }\n },\n\n methods: {\n cancel () {\n this.isActive = false\n },\n focus () {\n const input = this.$refs.content.querySelector('input')\n input && input.focus()\n },\n save () {\n this.isSaving = true\n this.isActive = false\n this.$emit('save')\n },\n genButton (fn, text) {\n return this.$createElement('v-btn', {\n props: {\n flat: true,\n primary: true,\n light: true\n },\n on: { click: fn }\n }, text)\n },\n genActions () {\n return this.$createElement('div', {\n 'class': 'small-dialog__actions',\n directives: [{\n name: 'show',\n value: this.large\n }]\n }, [\n this.genButton(this.cancel, this.cancelText),\n this.genButton(this.save, this.saveText)\n ])\n },\n genContent () {\n return this.$createElement('div', {\n on: {\n keydown: e => {\n e.keyCode === 27 && this.cancel()\n e.keyCode === 13 && this.save()\n }\n },\n ref: 'content'\n }, [this.$slots.input])\n }\n },\n\n render (h) {\n return h('v-menu', {\n 'class': 'small-dialog',\n props: {\n contentClass: 'small-dialog__content',\n transition: this.transition,\n origin: 'top right',\n right: true,\n value: this.isActive,\n closeOnContentClick: false,\n lazy: this.lazy\n },\n on: {\n input: val => (this.isActive = val)\n }\n }, [\n h('a', {\n domProps: { href: 'javascript:;' },\n slot: 'activator'\n }, this.$slots.default),\n this.genContent(),\n this.genActions()\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDataTable/VEditDialog.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_small-dialog.styl\n// module id = 127\n// module chunks = 0","import VDatePicker from './VDatePicker'\n\nVDatePicker.install = function install (Vue) {\n Vue.component(VDatePicker.name, VDatePicker)\n}\n\nexport default VDatePicker\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/index.js","require('../../stylus/components/_pickers.styl')\nrequire('../../stylus/components/_date-picker.styl')\n\nimport { createRange } from '../../util/helpers'\n\nimport Picker from '../../mixins/picker'\nimport DateYears from './mixins/date-years'\nimport DateTitle from './mixins/date-title'\nimport DateHeader from './mixins/date-header'\nimport DateTable from './mixins/date-table'\nimport MonthTable from './mixins/month-table'\nimport VBtn from '../VBtn'\nimport VCard from '../VCard'\nimport VIcon from '../VIcon'\n\nimport Touch from '../../directives/touch'\n\nconst createDefaultDateFormat = type => date => {\n const pad = n => n < 10 ? `0${n}` : `${n}`\n const isoString = `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`\n return isoString.substr(0, { date: 10, month: 7, year: 4 }[type])\n}\n\nexport default {\n name: 'v-date-picker',\n\n components: {\n VBtn,\n VCard,\n VIcon\n },\n\n mixins: [Picker, DateYears, DateTitle, DateHeader, DateTable, MonthTable],\n\n directives: { Touch },\n\n data () {\n return {\n tableDate: new Date(),\n originalDate: this.value,\n currentDay: null,\n currentMonth: null,\n currentYear: null,\n isReversing: false,\n narrowDays: [],\n activePicker: this.type.toUpperCase()\n }\n },\n\n props: {\n locale: {\n type: String,\n default: 'en-us'\n },\n type: {\n type: String,\n default: 'date',\n validator: type => ['date', 'month'/*, 'year'*/].includes(type)\n },\n dateFormat: {\n type: Function,\n default: null\n },\n titleDateFormat: {\n type: [Object, Function],\n default: null\n },\n headerDateFormat: {\n type: [Object, Function],\n default: () => ({ month: 'long', year: 'numeric' })\n },\n monthFormat: {\n type: [Object, Function],\n default: () => ({ month: 'short' })\n },\n formattedValue: {\n required: false\n },\n allowedDates: {\n type: [Array, Object, Function],\n default: () => (null)\n },\n firstDayOfWeek: {\n type: [String, Number],\n default: 0\n },\n yearIcon: String\n },\n\n computed: {\n timeZone () {\n try {\n const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone\n new Date('2000-01-15').toLocaleDateString('en', {\n day: 'numeric',\n timeZone\n })\n return timeZone\n } catch (e) {\n return 'UTC'\n }\n },\n supportsLocaleFormat () {\n return ('toLocaleDateString' in Date.prototype) &&\n new Date('2000-01-15').toLocaleDateString('en', {\n day: 'numeric',\n timeZone: 'UTC'\n }) === '15'\n },\n firstAllowedDate () {\n const date = new Date()\n\n if (this.type === 'month') {\n date.setDate(1)\n date.setHours(1)\n\n if (this.allowedDates) {\n const valid = new Date(date)\n for (let month = 0; month < 12; month++) {\n valid.setMonth(month)\n if (this.isAllowed(valid)) {\n return valid\n }\n }\n }\n } else if (this.type === 'date') {\n date.setHours(1)\n const month = date.getMonth()\n\n if (this.allowedDates) {\n const valid = new Date(date)\n for (let i = 0; i < 31; i++) {\n if (date.getMonth() === month && this.isAllowed(valid)) return valid\n valid.setDate(i)\n }\n }\n }\n\n return date\n },\n inputDate: {\n get () {\n const date = this.makeDate(this.value)\n return date == null ? this.firstAllowedDate : date\n },\n set (value) {\n const date = this.makeDate(value)\n const pickerDateFormat = createDefaultDateFormat(this.type)\n this.$emit('input', date == null ? this.originalDate : pickerDateFormat(date))\n this.$emit('update:formattedValue', (this.dateFormat || pickerDateFormat)(date == null ? (this.makeDate(this.originalDate) || this.firstAllowedDate) : date))\n }\n },\n day () {\n return this.inputDate.getDate()\n },\n month () {\n return this.inputDate.getMonth()\n },\n year () {\n return this.inputDate.getFullYear()\n },\n tableMonth () {\n return this.tableDate.getMonth()\n },\n tableYear () {\n return this.tableDate.getFullYear()\n },\n computedTransition () {\n return this.isReversing ? 'tab-reverse-transition' : 'tab-transition'\n },\n titleText () {\n const date = this.normalizeDate(this.year, this.month, this.day)\n\n const defaultTitleDateFormat = this.type === 'year' ? {\n year: 'numeric'\n } : (this.type === 'month' ? {\n month: 'long'\n } : {\n weekday: 'short',\n month: 'short',\n day: 'numeric'\n })\n\n let titleText\n if (typeof this.titleDateFormat === 'function') {\n titleText = this.titleDateFormat(date)\n } else if (this.supportsLocaleFormat) {\n titleText = date.toLocaleDateString(this.locale, Object.assign(this.titleDateFormat || defaultTitleDateFormat, {\n timeZone: this.timeZone\n }))\n } else if ('toLocaleDateString' in Date.prototype) {\n titleText = createDefaultDateFormat(this.type)(date)\n }\n\n if (this.landscape) {\n if (titleText.indexOf(',') > -1) titleText = titleText.replace(',', ',
')\n else if (titleText.indexOf(' ') > -1) titleText = titleText.replace(' ', '
')\n }\n\n return titleText\n }\n },\n\n watch: {\n activePicker (val, prev) {\n if (val !== 'YEAR') return\n\n // That's a quirk, setting timeout stopped working after fixing #1649\n // It worked but for timeouts significantly longer than the transition duration\n const interval = setInterval(() => {\n if (this.$refs.years) {\n this.$refs.years.scrollTop = this.$refs.years.scrollHeight / 2 - 125\n clearInterval(interval)\n }\n }, 100)\n },\n tableDate (val, prev) {\n this.isReversing = val < prev\n },\n value (val) {\n if (val) this.tableDate = this.inputDate\n },\n type (val) {\n if (val === 'month' && this.activePicker === 'DATE') {\n this.activePicker = 'MONTH'\n } else if (val === 'year') {\n this.activePicker = 'YEAR'\n }\n },\n firstDayOfWeek () {\n this.getWeekDays()\n }\n },\n\n methods: {\n save () {\n if (this.originalDate) {\n this.originalDate = this.value\n } else {\n this.originalDate = this.inputDate\n }\n\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n },\n cancel () {\n this.inputDate = this.originalDate\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n },\n getWeekDays () {\n const first = parseInt(this.firstDayOfWeek, 10)\n if (this.supportsLocaleFormat) {\n const date = this.normalizeDate(2000, 1, 7)\n const day = date.getDate() - date.getDay() + first\n const format = { weekday: 'narrow' }\n this.narrowDays = createRange(7).map(i => this.normalizeDate(2000, 1, day + i).toLocaleDateString(this.locale, format))\n } else {\n this.narrowDays = createRange(7).map(i => ['S', 'M', 'T', 'W', 'T', 'F', 'S'][(i + first) % 7])\n }\n },\n isAllowed (date) {\n if (!this.allowedDates) return true\n\n if (Array.isArray(this.allowedDates)) {\n const format = createDefaultDateFormat(this.activePicker === 'MONTH' ? 'month' : 'date')\n date = format(this.makeDate(date))\n return !!this.allowedDates.find(allowedDate => {\n allowedDate = this.makeDate(allowedDate)\n return allowedDate && format(allowedDate) === date\n })\n } else if (this.allowedDates instanceof Function) {\n return this.allowedDates(date)\n } else if (this.allowedDates instanceof Object) {\n const format = createDefaultDateFormat(this.activePicker === 'MONTH' ? 'month' : 'date')\n const min = format(this.makeDate(this.allowedDates.min))\n const max = format(this.makeDate(this.allowedDates.max))\n date = format(date)\n return (!min || min <= date) && (!max || max >= date)\n }\n\n return true\n },\n genTableTouch (touchCallback) {\n return {\n name: 'touch',\n value: {\n left: e => (e.offsetX < -15) && touchCallback(1),\n right: e => (e.offsetX > 15) && touchCallback(-1)\n }\n }\n },\n genTable (tableChildren, touchCallback) {\n const options = {\n staticClass: 'picker--date__table',\n 'class': {\n 'picker--month__table': this.activePicker === 'MONTH'\n },\n on: this.scrollable ? { wheel: this.monthWheelScroll } : undefined,\n directives: [this.genTableTouch(touchCallback)]\n }\n\n const table = this.$createElement('table', {\n key: this.activePicker === 'MONTH' ? this.tableYear : this.tableMonth\n }, tableChildren)\n\n return this.$createElement('div', options, [\n this.$createElement('transition', {\n props: { name: this.computedTransition }\n }, [table])\n ])\n },\n genPickerBody (h) {\n const pickerBodyChildren = []\n if (this.activePicker === 'DATE') {\n pickerBodyChildren.push(h('div', { staticClass: 'picker--date__header' }, [this.genSelector()]))\n pickerBodyChildren.push(this.genTable([\n this.dateGenTHead(),\n this.dateGenTBody()\n ], value => this.tableDate = this.normalizeDate(this.tableYear, this.tableMonth + value)))\n } else if (this.activePicker === 'MONTH') {\n pickerBodyChildren.push(h('div', { staticClass: 'picker--date__header' }, [this.genSelector()]))\n pickerBodyChildren.push(this.genTable([\n this.monthGenTBody()\n ], value => this.tableDate = this.normalizeDate(this.tableYear + value)))\n } else if (this.activePicker === 'YEAR') {\n pickerBodyChildren.push(this.genYears())\n }\n\n return pickerBodyChildren\n },\n makeDate (val) {\n if (val == null) return val\n if (val instanceof Date) return val\n if (!isNaN(val)) return new Date(val)\n const [year, month, date] = val.trim().split(' ')[0].split('-')\n return this.normalizeDate(year, month ? (month - 1) : 0, date ? (date * 1) : 1)\n },\n normalizeDate (year, month = 0, date = 1) {\n return new Date(year, month, date, 1 /* Workaround for #1409 */)\n }\n },\n\n created () {\n this.getWeekDays()\n this.tableDate = this.inputDate\n },\n\n mounted () {\n const date = new Date()\n this.currentDay = date.getDate()\n this.currentMonth = date.getMonth()\n this.currentYear = date.getFullYear()\n },\n\n render (h) {\n const children = []\n\n !this.noTitle && children.push(this.genTitle(this.titleText))\n\n children.push(h('transition', {\n props: {\n origin: 'center center',\n mode: 'out-in',\n name: 'scale-transition'\n }\n }, [h('div', {\n staticClass: 'picker__body',\n key: this.activePicker\n }, this.genPickerBody(h))]))\n\n this.$scopedSlots.default && children.push(this.genSlot())\n\n return h('v-card', {\n staticClass: 'picker picker--date',\n 'class': {\n 'picker--landscape': this.landscape,\n ...this.themeClasses\n }\n }, children)\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/VDatePicker.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_date-picker.styl\n// module id = 130\n// module chunks = 0","export default {\n methods: {\n genYears () {\n return this.$createElement('ul', {\n staticClass: 'picker--date__years',\n key: 'year',\n ref: 'years'\n }, this.genYearItems())\n },\n yearClick (year) {\n this.inputDate = this.normalizeDate(year, this.tableMonth, this.day)\n\n if (this.type === 'year') {\n this.$nextTick(() => (this.autosave && this.save()))\n } else {\n this.activePicker = 'MONTH'\n }\n },\n genYearItems () {\n const children = []\n for (let year = this.year + 100, length = this.year - 100; year > length; year--) {\n const date = this.normalizeDate(year, this.month, this.day)\n const buttonText = this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, {\n year: 'numeric',\n timeZone: this.timeZone\n })\n : year\n\n children.push(this.$createElement('li', {\n 'class': {\n active: this.year === year\n },\n on: {\n click: () => this.yearClick(year)\n }\n }, buttonText))\n }\n return children\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-years.js","\nexport default {\n methods: {\n genYearIcon () {\n return this.yearIcon\n ? this.$createElement('v-icon', {\n props: {\n dark: true\n }\n }, this.yearIcon)\n : null\n },\n\n getYearBtn () {\n const titleDate = this.normalizeDate(this.year, this.month, this.day)\n return this.$createElement('div', {\n 'class': {\n 'picker--date__title-year': true,\n 'active': this.activePicker === 'YEAR'\n },\n on: {\n click: e => {\n e.stopPropagation()\n this.activePicker = 'YEAR'\n }\n }\n }, [\n this.supportsLocaleFormat\n ? titleDate.toLocaleDateString(this.locale, {\n year: 'numeric',\n timeZone: this.timeZone\n })\n : this.year,\n this.genYearIcon()\n ])\n },\n\n genTitleText (title) {\n return this.$createElement('transition', {\n props: {\n name: 'slide-y-reverse-transition',\n mode: 'out-in'\n }\n }, [\n this.$createElement('div', {\n domProps: { innerHTML: title },\n key: title\n })\n ])\n },\n\n genTitleDate (title) {\n return this.$createElement('div', {\n staticClass: 'picker--date__title-date',\n 'class': {\n 'active': this.activePicker === this.type.toUpperCase()\n },\n on: {\n click: e => {\n e.stopPropagation()\n this.activePicker = this.type.toUpperCase()\n }\n }\n }, [this.genTitleText(title)])\n },\n\n genTitle (title) {\n return this.$createElement('div', {\n 'class': 'picker__title'\n }, [\n this.getYearBtn(),\n this.genTitleDate(title)\n ])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-title.js","export default {\n methods: {\n genBtn (change, children) {\n return this.$createElement('v-btn', {\n props: {\n dark: this.dark,\n icon: true\n },\n nativeOn: {\n click: e => {\n e.stopPropagation()\n if (this.activePicker === 'DATE') {\n this.tableDate = this.normalizeDate(this.tableYear, change)\n } else if (this.activePicker === 'MONTH') {\n this.tableDate = this.normalizeDate(change, this.tableMonth)\n }\n }\n }\n }, children)\n },\n\n genHeader (keyValue, selectorText) {\n const header = this.$createElement('strong', {\n key: keyValue,\n on: {\n click: () => this.activePicker = this.activePicker === 'DATE' ? 'MONTH' : 'YEAR'\n }\n }, selectorText)\n\n const transition = this.$createElement('transition', {\n props: { name: this.computedTransition }\n }, [header])\n\n return this.$createElement('div', {\n 'class': 'picker--date__header-selector-date'\n }, [transition])\n },\n\n genSelector () {\n const keyValue = this.activePicker === 'DATE' ? this.tableMonth : this.tableYear\n const selectorDate = this.normalizeDate(this.tableYear, this.tableMonth)\n\n let selectorText = ''\n if (typeof this.headerDateFormat === 'function' && this.activePicker === 'DATE') {\n selectorText = this.headerDateFormat(selectorDate, this.activePicker)\n } else if (this.supportsLocaleFormat) {\n const format = this.activePicker === 'DATE'\n ? this.headerDateFormat\n : { year: 'numeric' }\n selectorText = selectorDate.toLocaleDateString(this.locale, Object.assign(format, {\n timeZone: this.timeZone\n }))\n } else if (this.activePicker === 'DATE') {\n selectorText = selectorDate.getFullYear() + '/'\n if (selectorDate.getMonth() < 9) selectorText += '0'\n selectorText += (1 + selectorDate.getMonth())\n } else if (this.activePicker === 'MONTH') {\n selectorText = selectorDate.getFullYear()\n }\n\n return this.$createElement('div', {\n 'class': 'picker--date__header-selector'\n }, [\n this.genBtn(keyValue - 1, [\n this.$createElement('v-icon', 'chevron_left')\n ]),\n this.genHeader(keyValue, selectorText),\n this.genBtn(keyValue + 1, [\n this.$createElement('v-icon', 'chevron_right')\n ])\n ])\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-header.js","export default {\n methods: {\n dateWheelScroll (e) {\n e.preventDefault()\n\n let month = this.tableMonth\n\n if (e.deltaY < 0) month++\n else month--\n\n this.tableDate = this.normalizeDate(this.tableYear, month)\n },\n dateGenTHead () {\n const days = this.narrowDays.map(day => this.$createElement('th', day))\n return this.$createElement('thead', this.dateGenTR(days))\n },\n dateClick (day) {\n this.inputDate = this.normalizeDate(this.tableYear, this.tableMonth, day)\n this.$nextTick(() => (this.autosave && this.save()))\n },\n dateGenButtonText (date, day) {\n return this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, {\n day: 'numeric',\n timeZone: this.timeZone\n })\n : day\n },\n dateGenTD (day) {\n const date = this.normalizeDate(this.tableYear, this.tableMonth, day)\n const buttonText = this.dateGenButtonText(date, day)\n const button = this.$createElement('button', {\n staticClass: 'btn btn--date-picker btn--floating btn--small btn--flat',\n 'class': {\n 'btn--active': this.dateIsActive(day),\n 'btn--outline': this.dateIsCurrent(day) && !this.dateIsActive(day),\n 'btn--disabled': !this.isAllowed(date)\n },\n attrs: {\n type: 'button'\n },\n domProps: {\n innerHTML: `${buttonText}`\n },\n on: {\n click: () => this.dateClick(day)\n }\n })\n\n return this.$createElement('td', [button])\n },\n dateGenTBody () {\n const children = []\n const daysInMonth = this.normalizeDate(this.tableYear, this.tableMonth + 1, 0).getDate()\n let rows = []\n const day = (this.normalizeDate(this.tableYear, this.tableMonth).getDay() - parseInt(this.firstDayOfWeek) + 7) % 7\n\n for (let i = 0; i < day; i++) {\n rows.push(this.$createElement('td'))\n }\n\n for (let i = 1; i <= daysInMonth; i++) {\n rows.push(this.dateGenTD(i))\n\n if (rows.length % 7 === 0) {\n children.push(this.dateGenTR(rows))\n rows = []\n }\n }\n\n if (rows.length) {\n children.push(this.dateGenTR(rows))\n }\n\n children.length < 6 && children.push(this.dateGenTR([\n this.$createElement('td', { domProps: { innerHTML: ' ' } })\n ]))\n\n return this.$createElement('tbody', children)\n },\n dateGenTR (children = [], data = {}) {\n return [this.$createElement('tr', data, children)]\n },\n dateIsActive (i) {\n return this.tableYear === this.year &&\n this.tableMonth === this.month &&\n this.day === i\n },\n dateIsCurrent (i) {\n return this.currentYear === this.tableYear &&\n this.currentMonth === this.tableMonth &&\n this.currentDay === i\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/date-table.js","export default {\n methods: {\n monthWheelScroll (e) {\n e.preventDefault()\n\n let year = this.tableYear\n\n if (e.deltaY < 0) year++\n else year--\n\n this.tableDate = this.normalizeDate(year)\n },\n monthClick (month) {\n this.inputDate = this.normalizeDate(this.tableYear, month, this.day)\n if (this.type === 'date') {\n this.activePicker = 'DATE'\n } else {\n this.$nextTick(() => (this.autosave && this.save()))\n }\n },\n monthGenTD (month) {\n const date = this.normalizeDate(this.tableYear, month)\n let monthName\n\n if (typeof this.monthFormat === 'function') {\n monthName = this.monthFormat(date)\n } else if (this.supportsLocaleFormat) {\n monthName = date.toLocaleDateString(this.locale, Object.assign(this.monthFormat, {\n timeZone: this.timeZone\n }))\n } else {\n monthName = date.getMonth() + 1\n if (monthName < 10) {\n monthName = `0${monthName}`\n }\n }\n\n return this.$createElement('td', [\n this.$createElement('button', {\n 'class': {\n 'btn btn--date-picker': true,\n 'btn--raised': this.monthIsActive(month),\n 'btn--flat': true,\n 'btn--active': this.monthIsActive(month),\n 'btn--outline': this.monthIsCurrent(month) && !this.monthIsActive(month),\n 'btn--disabled': this.type === 'month' && !this.isAllowed(date)\n },\n attrs: {\n type: 'button'\n },\n domProps: {\n innerHTML: `${monthName}`\n },\n on: {\n click: () => this.monthClick(month)\n }\n })\n ])\n },\n monthGenTBody () {\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 children.push(this.$createElement('tr', cols.map((_, col) => {\n return this.monthGenTD(row * cols.length + col)\n })))\n }\n\n return this.$createElement('tbody', children)\n },\n monthIsActive (i) {\n return this.tableYear === this.year &&\n this.month === i\n },\n monthIsCurrent (i) {\n return this.currentYear === this.tableYear &&\n this.currentMonth === i\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDatePicker/mixins/month-table.js","import VDialog from './VDialog'\n\nVDialog.install = function install (Vue) {\n Vue.component(VDialog.name, VDialog)\n}\n\nexport default VDialog\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDialog/index.js","import VDivider from './VDivider'\n\nVDivider.install = function install (Vue) {\n Vue.component(VDivider.name, VDivider)\n}\n\nexport default VDivider\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDivider/index.js","require('../../stylus/components/_dividers.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-divider',\n\n functional: true,\n\n mixins: [Themeable],\n\n props: {\n inset: Boolean\n },\n\n render (h, { props, data, children }) {\n data.staticClass = (`divider ${data.staticClass || ''}`).trim()\n\n if (props.inset) data.staticClass += ' divider--inset'\n if (props.light) data.staticClass += ' theme--light'\n if (props.dark) data.staticClass += ' theme--dark'\n\n return h('hr', data)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VDivider/VDivider.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_dividers.styl\n// module id = 139\n// module chunks = 0","import VExpansionPanel from './VExpansionPanel'\nimport VExpansionPanelContent from './VExpansionPanelContent'\n\nVExpansionPanel.install = function install (Vue) {\n Vue.component(VExpansionPanel.name, VExpansionPanel)\n Vue.component(VExpansionPanelContent.name, VExpansionPanelContent)\n}\n\nexport default VExpansionPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VExpansionPanel/index.js","require('../../stylus/components/_expansion-panel.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-expansion-panel',\n\n mixins: [Themeable],\n\n provide () {\n return {\n panelClick: this.panelClick,\n focusable: this.focusable\n }\n },\n\n props: {\n expand: Boolean,\n focusable: Boolean,\n inset: Boolean,\n popout: Boolean\n },\n\n methods: {\n getChildren () {\n return this.$children.filter(c => {\n if (!c.$options) return\n\n return c.$options._componentTag === 'v-expansion-panel-content'\n })\n },\n panelClick (uid) {\n if (!this.expand) {\n return this.getChildren()\n .forEach(e => e.toggle(uid))\n }\n\n const panel = this.$children.find(e => e._uid === uid)\n\n panel && panel.toggle(uid)\n }\n },\n\n render (h) {\n return h('ul', {\n staticClass: 'expansion-panel',\n 'class': {\n 'expansion-panel--focusable': this.focusable,\n 'expansion-panel--popout': this.popout,\n 'expansion-panel--inset': this.inset,\n ...this.themeClasses\n }\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VExpansionPanel/VExpansionPanel.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_expansion-panel.styl\n// module id = 142\n// module chunks = 0","import { VExpandTransition } from '../transitions'\n\nimport Bootable from '../../mixins/bootable'\nimport Toggleable from '../../mixins/toggleable'\n\nimport VIcon from '../VIcon'\n\nimport Ripple from '../../directives/ripple'\nimport ClickOutside from '../../directives/click-outside'\n\nexport default {\n name: 'v-expansion-panel-content',\n\n mixins: [Bootable, Toggleable],\n\n components: {\n VIcon\n },\n\n directives: {\n Ripple,\n ClickOutside\n },\n\n inject: ['focusable', 'panelClick'],\n\n data () {\n return {\n height: 'auto'\n }\n },\n\n props: {\n hideActions: Boolean,\n ripple: Boolean\n },\n\n methods: {\n genBody () {\n return this.$createElement('div', {\n ref: 'body',\n class: 'expansion-panel__body',\n directives: [\n {\n name: 'show',\n value: this.isActive\n }\n ]\n }, this.showLazyContent(this.$slots.default))\n },\n genHeader () {\n return this.$createElement('div', {\n staticClass: 'expansion-panel__header',\n directives: [{\n name: 'ripple',\n value: this.ripple\n }],\n on: {\n click: () => this.panelClick(this._uid)\n }\n }, [\n this.$slots.header,\n this.genIcon()\n ])\n },\n genIcon (h) {\n if (this.hideActions) return null\n\n const icon = this.$slots.actions ||\n this.$createElement('v-icon', 'keyboard_arrow_down')\n\n return this.$createElement('div', {\n staticClass: 'header__icon'\n }, [icon])\n },\n toggle (uid) {\n const isActive = this._uid === uid && !this.isActive\n\n if (isActive) this.isBooted = true\n\n // We treat bootable differently\n // Needs time to calc height\n this.$nextTick(() => (this.isActive = isActive))\n }\n },\n\n render (h) {\n const children = []\n\n this.$slots.header && children.push(this.genHeader())\n children.push(h(VExpandTransition, [this.genBody()]))\n\n return h('li', {\n staticClass: 'expansion-panel__container',\n 'class': {\n 'expansion-panel__container--active': this.isActive\n },\n attrs: {\n tabindex: 0\n },\n on: {\n keydown: e => {\n // Ensure element is focusable and the activeElement\n if (this.focusable &&\n this.$el === document.activeElement &&\n e.keyCode === 13\n ) this.panelClick(this._uid)\n }\n }\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VExpansionPanel/VExpansionPanelContent.js","import VFooter from './VFooter'\n\nVFooter.install = function install (Vue) {\n Vue.component(VFooter.name, VFooter)\n}\n\nexport default VFooter\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VFooter/index.js","require('../../stylus/components/_footer.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-footer',\n\n mixins: [Applicationable, Themeable],\n\n props: {\n absolute: Boolean,\n fixed: Boolean\n },\n\n computed: {\n paddingLeft () {\n return this.fixed || !this.app\n ? 0\n : this.$vuetify.application.left\n },\n paddingRight () {\n return this.fixed || !this.app\n ? 0\n : this.$vuetify.application.right\n }\n },\n\n destroyed () {\n if (this.app) this.$vuetify.application.bottom = 0\n },\n\n methods: {\n updateApplication () {\n if (!this.app) return\n\n this.$vuetify.application.bottom = this.fixed\n ? this.$el && this.$el.clientHeight\n : 0\n }\n },\n\n mounted () {\n this.updateApplication()\n },\n\n render (h) {\n this.updateApplication()\n\n const data = {\n staticClass: 'footer',\n 'class': {\n 'footer--absolute': this.absolute,\n 'footer--fixed': this.fixed,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n },\n style: {\n paddingLeft: `${this.paddingLeft}px`,\n paddingRight: `${this.paddingRight}px`\n }\n }\n\n return h('footer', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VFooter/VFooter.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_footer.styl\n// module id = 146\n// module chunks = 0","import VForm from './VForm'\n\nVForm.install = function install (Vue) {\n Vue.component(VForm.name, VForm)\n}\n\nexport default VForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VForm/index.js","export default {\n name: 'v-form',\n\n inheritAttrs: false,\n\n data () {\n return {\n inputs: [],\n errorBag: {}\n }\n },\n\n props: {\n value: Boolean,\n lazyValidation: Boolean\n },\n\n watch: {\n errorBag: {\n handler () {\n const errors = Object.values(this.errorBag).includes(true)\n\n this.$emit('input', !errors)\n\n return !errors\n },\n deep: true\n }\n },\n\n methods: {\n getInputs () {\n const results = []\n\n const search = (children, depth = 0) => {\n for (const child of children) {\n if (child.errorBucket !== undefined) {\n results.push(child)\n } else {\n search(child.$children, depth + 1)\n }\n }\n if (depth === 0) return results\n }\n\n return search(this.$children)\n },\n watchInputs (inputs = this.getInputs()) {\n for (const child of inputs) {\n if (this.inputs.includes(child)) {\n continue // We already know about this input\n }\n\n this.inputs.push(child)\n this.watchChild(child)\n }\n },\n watchChild (child) {\n const watcher = (child) => {\n child.$watch('valid', (val) => {\n this.$set(this.errorBag, child._uid, !val)\n }, { immediate: true })\n }\n\n if (!this.lazyValidation) return watcher(child)\n\n // Only start watching inputs if we need to\n child.$watch('shouldValidate', (val) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(child._uid)) return\n\n watcher(child)\n })\n },\n validate () {\n const errors = this.inputs.filter(input => !input.validate(true)).length\n return !errors\n },\n reset () {\n this.inputs.forEach((input) => input.reset())\n if (this.lazyValidation) {\n Object.keys(this.errorBag).forEach(key => this.$delete(this.errorBag, key))\n }\n }\n },\n\n mounted () {\n this.$vuetify.load(() => this.watchInputs())\n },\n\n updated () {\n const inputs = this.getInputs()\n\n if (inputs.length < this.inputs.length) {\n // Something was removed, we don't want it in the errorBag any more\n const removed = this.inputs.filter(i => !inputs.includes(i))\n\n for (const input of removed) {\n this.$delete(this.errorBag, input._uid)\n this.$delete(this.inputs, this.inputs.indexOf(input))\n }\n }\n\n this.watchInputs(inputs)\n },\n\n render (h) {\n return h('form', {\n attrs: this.$attrs,\n on: {\n submit: e => this.$emit('submit', e)\n }\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VForm/VForm.js","import {\n createSimpleFunctional\n} from '../../util/helpers'\nimport VContent from './VContent'\nimport VContainer from './VContainer'\nimport VFlex from './VFlex'\nimport VLayout from './VLayout'\n\nexport const VSpacer = createSimpleFunctional('spacer')\nexport {\n VContainer,\n VContent,\n VFlex,\n VLayout\n}\n\nconst VGrid = {}\n\nVGrid.install = function install (Vue) {\n Vue.component(VContent.name, VContent)\n Vue.component(VContainer.name, VContainer)\n Vue.component(VFlex.name, VFlex)\n Vue.component(VLayout.name, VLayout)\n Vue.component(VSpacer.name, VSpacer)\n}\n\nexport default VGrid\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/index.js","require('../../stylus/components/_content.styl')\n\nexport default {\n name: 'v-content',\n\n computed: {\n styles () {\n const {\n bar, top, right, bottom, left\n } = this.$vuetify.application\n\n return {\n paddingTop: `${top + bar}px`,\n paddingRight: `${right}px`,\n paddingBottom: `${bottom}px`,\n paddingLeft: `${left}px`\n }\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'content',\n style: this.styles\n }\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VContent.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_content.styl\n// module id = 151\n// module chunks = 0","require('../../stylus/components/_grid.styl')\n\nimport Grid from './grid'\n\nexport default Grid('container')\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VContainer.js","require('../../stylus/components/_grid.styl')\n\nimport Grid from './grid'\n\nexport default Grid('flex')\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VFlex.js","require('../../stylus/components/_grid.styl')\n\nimport Grid from './grid'\n\nexport default Grid('layout')\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VGrid/VLayout.js","import VNavigationDrawer from './VNavigationDrawer'\n\nVNavigationDrawer.install = function install (Vue) {\n Vue.component(VNavigationDrawer.name, VNavigationDrawer)\n}\n\nexport default VNavigationDrawer\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VNavigationDrawer/index.js","require('../../stylus/components/_navigation-drawer.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Overlayable from '../../mixins/overlayable'\nimport Themeable from '../../mixins/themeable'\n\nimport ClickOutside from '../../directives/click-outside'\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-navigation-drawer',\n\n mixins: [Applicationable, Overlayable, Themeable],\n\n directives: {\n ClickOutside,\n Resize,\n Touch\n },\n\n data () {\n return {\n isActive: this.value,\n isBooted: false,\n isMobile: false,\n touchArea: {\n left: 0,\n right: 0\n }\n }\n },\n\n props: {\n absolute: Boolean,\n clipped: Boolean,\n disableRouteWatcher: Boolean,\n enableResizeWatcher: Boolean,\n height: String,\n floating: Boolean,\n miniVariant: Boolean,\n miniVariantWidth: {\n type: [Number, String],\n default: 80\n },\n mobileBreakPoint: {\n type: Number,\n default: 1264\n },\n permanent: Boolean,\n persistent: Boolean,\n right: Boolean,\n temporary: Boolean,\n touchless: Boolean,\n width: {\n type: [Number, String],\n default: 300\n },\n value: { required: false }\n },\n\n computed: {\n calculatedHeight () {\n return this.height || '100%'\n },\n calculatedWidth () {\n return this.miniVariant\n ? this.miniVariantWidth\n : this.width\n },\n classes () {\n return {\n 'navigation-drawer': true,\n 'navigation-drawer--absolute': this.absolute,\n 'navigation-drawer--clipped': this.clipped,\n 'navigation-drawer--close': !this.isActive,\n 'navigation-drawer--floating': this.floating,\n 'navigation-drawer--is-booted': this.isBooted,\n 'navigation-drawer--is-mobile': this.isMobile,\n 'navigation-drawer--mini-variant': this.miniVariant,\n 'navigation-drawer--open': this.isActive,\n 'navigation-drawer--permanent': this.permanent,\n 'navigation-drawer--persistent': this.persistent,\n 'navigation-drawer--right': this.right,\n 'navigation-drawer--temporary': this.temporary,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n marginTop () {\n if (!this.app) return 0\n let marginTop = this.$vuetify.application.bar\n\n marginTop += this.clipped\n ? this.$vuetify.application.top\n : 0\n\n return marginTop\n },\n maxHeight () {\n if (!this.app) return '100%'\n\n return this.clipped\n ? this.$vuetify.application.top + this.$vuetify.application.bottom\n : this.$vuetify.application.bottom\n },\n showOverlay () {\n return !this.permanent &&\n this.isActive &&\n (this.temporary || this.isMobile)\n },\n styles () {\n return {\n height: this.calculatedHeight,\n marginTop: `${this.marginTop}px`,\n maxHeight: `calc(100% - ${this.maxHeight}px)`,\n width: `${this.calculatedWidth}px`\n }\n }\n },\n\n watch: {\n $route () {\n if (!this.disableRouteWatcher) {\n this.isActive = !this.closeConditional()\n }\n },\n isActive (val) {\n this.$emit('input', val)\n this.showOverlay &&\n val &&\n this.genOverlay() ||\n this.removeOverlay()\n this.$el.scrollTop = 0\n },\n isMobile (val) {\n !val && this.removeOverlay()\n },\n permanent (val) {\n this.$emit('input', val)\n },\n value (val) {\n if (this.permanent) return\n if (val !== this.isActive) this.isActive = val\n }\n },\n\n mounted () {\n this.$vuetify.load(this.init)\n },\n\n methods: {\n init () {\n if (this.value != null) this.isActive = this.value\n else if (this.permanent) this.isActive = true\n else if (this.isMobile) this.isActive = false\n else if (!this.value &&\n (this.persistent || this.temporary)\n ) this.isActive = false\n else this.isActive = true\n\n setTimeout(() => (this.isBooted = true), 0)\n },\n calculateTouchArea () {\n if (!this.$el.parentNode) return\n const parentRect = this.$el.parentNode.getBoundingClientRect()\n\n this.touchArea = {\n left: parentRect.left + 50,\n right: parentRect.right - 50\n }\n },\n checkIfMobile () {\n this.isMobile = window.innerWidth < parseInt(this.mobileBreakPoint)\n },\n closeConditional () {\n return !this.permanent && (this.temporary || this.isMobile)\n },\n genDirectives () {\n const directives = [\n {\n name: 'click-outside',\n value: this.closeConditional\n },\n {\n name: 'resize',\n value: this.onResize\n }\n ]\n\n !this.touchless && directives.push({\n name: 'touch',\n value: {\n parent: true,\n left: this.swipeLeft,\n right: this.swipeRight\n }\n })\n\n return directives\n },\n onResize () {\n if (!this.enableResizeWatcher ||\n this.permanent ||\n this.temporary\n ) return\n\n this.checkIfMobile()\n\n this.isActive = !this.isMobile\n },\n swipeRight (e) {\n if (this.isActive && !this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n else if (!this.right &&\n e.touchstartX <= this.touchArea.left\n ) this.isActive = true\n else if (this.right && this.isActive) this.isActive = false\n },\n swipeLeft (e) {\n if (this.isActive && this.right) return\n this.calculateTouchArea()\n\n if (Math.abs(e.touchendX - e.touchstartX) < 100) return\n else if (this.right &&\n e.touchstartX >= this.touchArea.right\n ) this.isActive = true\n else if (!this.right && this.isActive) this.isActive = false\n },\n updateApplication () {\n if (!this.app) return\n\n const width = !this.isActive ||\n !this.permanent &&\n this.$vuetify.breakpoint.width < this.mobileBreakPoint\n ? 0\n : this.calculatedWidth\n\n if (this.right) {\n this.$vuetify.application.right = width\n } else {\n this.$vuetify.application.left = width\n }\n }\n },\n\n render (h) {\n this.updateApplication()\n\n const data = {\n 'class': this.classes,\n style: this.styles,\n directives: this.genDirectives(),\n on: {\n click: () => this.$emit('update:miniVariant', false)\n }\n }\n\n return h('aside', data, [\n this.$slots.default,\n h('div', { 'class': 'navigation-drawer__border' })\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VNavigationDrawer/VNavigationDrawer.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_navigation-drawer.styl\n// module id = 157\n// module chunks = 0","import VPagination from './VPagination'\n\nVPagination.install = function install (Vue) {\n Vue.component(VPagination.name, VPagination)\n}\n\nexport default VPagination\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VPagination/index.js","require('../../stylus/components/_pagination.styl')\n\nimport VIcon from '../VIcon'\n\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-pagination',\n\n directives: { Resize },\n\n props: {\n circle: Boolean,\n disabled: Boolean,\n length: {\n type: Number,\n default: 0,\n validator: val => val % 1 === 0\n },\n totalVisible: [Number, String],\n nextIcon: {\n type: String,\n default: 'chevron_right'\n },\n prevIcon: {\n type: String,\n default: 'chevron_left'\n },\n value: {\n type: Number,\n default: 0\n }\n },\n\n data () {\n return {\n maxButtons: 0\n }\n },\n\n watch: {\n value () {\n this.init()\n }\n },\n\n computed: {\n classes () {\n return {\n 'pagination': true,\n 'pagination--circle': this.circle,\n 'pagination--disabled': this.disabled\n }\n },\n\n items () {\n const maxLength = this.totalVisible || this.maxButtons\n if (this.length <= maxLength) {\n return this.range(1, this.length)\n }\n\n const even = maxLength % 2 === 0 ? 1 : 0\n const left = Math.floor(maxLength / 2)\n const right = this.length - left + 1 + even\n\n if (this.value >= left && this.value <= right) {\n const start = this.value - left + 2\n const end = this.value + left - 2 - even\n\n return [1, '...', ...this.range(start, end), '...', this.length]\n } else {\n return [\n ...this.range(1, left),\n '...',\n ...this.range(this.length - left + 1 + even, this.length)\n ]\n }\n }\n },\n\n mounted () {\n this.$vuetify.load.call(this, this.init)\n },\n\n methods: {\n onResize () {\n const width = this.$el && this.$el.parentNode\n ? this.$el.parentNode.clientWidth\n : window.innerWidth\n\n this.maxButtons = Math.floor((width - 96) / 42)\n },\n init () {\n this.selected = null\n\n // Change this\n setTimeout(() => (this.selected = this.value), 100)\n },\n next (e) {\n e.preventDefault()\n this.$emit('input', this.value + 1)\n this.$emit('next')\n },\n previous (e) {\n e.preventDefault()\n this.$emit('input', this.value - 1)\n this.$emit('previous')\n },\n range (from, to) {\n const range = []\n\n from = from > 0 ? from : 1\n\n for (let i = from; i <= to; i++) {\n range.push(i)\n }\n\n return range\n },\n genIcon (h, icon, disabled, fn) {\n return h('li', [\n h('a', {\n class: {\n 'pagination__navigation': true,\n 'pagination__navigation--disabled': disabled\n },\n attrs: { href: '#!' },\n on: { click: fn }\n }, [h(VIcon, [icon])])\n ])\n },\n genItem (h, i) {\n return h('a', {\n class: {\n 'pagination__item': true,\n 'pagination__item--active': i === this.value\n },\n attrs: { href: '#!' },\n on: {\n click: (e) => {\n e.preventDefault()\n this.$emit('input', i)\n }\n }\n }, [i])\n },\n genItems (h) {\n return this.items.map((i) => {\n return h('li', [\n isNaN(i) && h('span', { class: 'pagination__more' }, [i]) || this.genItem(h, i)\n ])\n })\n }\n },\n\n render (h) {\n const children = [\n this.genIcon(h, this.prevIcon, this.value === 1, this.previous),\n this.genItems(h),\n this.genIcon(h, this.nextIcon, this.value === this.length, this.next)\n ]\n\n return h('ul', {\n directives: [{ name: 'resize', value: this.onResize }],\n class: this.classes\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VPagination/VPagination.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_pagination.styl\n// module id = 160\n// module chunks = 0","import VParallax from './VParallax'\n\nVParallax.install = function install (Vue) {\n Vue.component(VParallax.name, VParallax)\n}\n\nexport default VParallax\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VParallax/index.js","require('../../stylus/components/_parallax.styl')\n\nimport Translatable from '../../mixins/translatable'\n\nexport default {\n name: 'v-parallax',\n\n mixins: [Translatable],\n\n data () {\n return {\n isBooted: false\n }\n },\n\n props: {\n alt: String,\n height: {\n type: [String, Number],\n default: 500\n },\n jumbotron: Boolean,\n src: String\n },\n\n computed: {\n styles () {\n return {\n display: 'block',\n opacity: this.isBooted ? 1 : 0,\n transform: `translate3d(-50%, ${this.jumbotron ? 0 : this.parallax + 'px'}, 0)`\n }\n }\n },\n\n watch: {\n parallax () {\n this.isBooted = true\n }\n },\n\n methods: {\n init () {\n if (!this.$refs.img) return\n\n if (this.$refs.img.complete) {\n this.translate()\n this.listeners()\n } else {\n this.$refs.img.addEventListener('load', () => {\n this.translate()\n this.listeners()\n }, false)\n }\n },\n objHeight () {\n return this.$refs.img.naturalHeight\n },\n elOffsetTop () {\n return this.$el.offsetTop\n }\n },\n\n render (h) {\n const imgData = {\n staticClass: 'parallax__image',\n 'class': {\n 'parallax__image--jumbotron': this.jumbotron\n },\n style: this.styles,\n attrs: {\n src: this.src\n },\n ref: 'img'\n }\n\n if (this.alt) imgData.attrs.alt = this.alt\n\n const container = h('div', {\n staticClass: 'parallax__image-container'\n }, [\n h('img', imgData)\n ])\n\n const content = h('div', {\n staticClass: 'parallax__content'\n }, this.$slots.default)\n\n return h('div', {\n staticClass: 'parallax',\n style: {\n height: this.jumbotron\n ? this.normalizedHeight\n : `${this.normalizedHeight}px`\n },\n on: this.$listeners\n }, [container, content])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VParallax/VParallax.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_parallax.styl\n// module id = 163\n// module chunks = 0","export default {\n data () {\n return {\n parallax: null,\n parallaxDist: null,\n percentScrolled: null,\n scrollTop: null,\n windowHeight: null,\n windowBottom: null\n }\n },\n\n computed: {\n normalizedHeight () {\n if (this.jumbotron) {\n return isNaN(this.height) ? this.height : `${this.height}px`\n }\n\n return Number(this.height.toString().replace(/(^[0-9]*$)/, '$1'))\n },\n\n imgHeight () {\n return this.objHeight()\n }\n },\n\n mounted () {\n this.$vuetify.load(this.init)\n },\n\n beforeDestroy () {\n window.removeEventListener('scroll', this.translate, false)\n window.removeEventListener('resize', this.translate, false)\n },\n\n methods: {\n listeners () {\n window.addEventListener('scroll', this.translate, false)\n window.addEventListener('resize', this.translate, false)\n },\n\n translate () {\n this.calcDimensions()\n\n this.percentScrolled = (\n (this.windowBottom - this.elOffsetTop) /\n (this.normalizedHeight + this.windowHeight)\n )\n\n this.parallax = Math.round(this.parallaxDist * this.percentScrolled)\n\n if (this.translated) {\n this.translated()\n }\n },\n\n calcDimensions () {\n const offset = this.$el.getBoundingClientRect()\n\n this.scrollTop = window.pageYOffset\n this.parallaxDist = this.imgHeight - this.normalizedHeight\n this.elOffsetTop = offset.top + this.scrollTop\n this.windowHeight = window.innerHeight\n this.windowBottom = this.scrollTop + this.windowHeight\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/translatable.js","import VProgressCircular from './VProgressCircular'\n\nVProgressCircular.install = function install (Vue) {\n Vue.component(VProgressCircular.name, VProgressCircular)\n}\n\nexport default VProgressCircular\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressCircular/index.js","require('../../stylus/components/_progress-circular.styl')\n\nimport Colorable from '../../mixins/colorable'\n\nexport default {\n name: 'v-progress-circular',\n\n mixins: [Colorable],\n\n props: {\n button: Boolean,\n\n fill: {\n type: String,\n default () { return this.indeterminate ? 'none' : 'transparent' }\n },\n\n indeterminate: Boolean,\n\n rotate: {\n type: Number,\n default: 0\n },\n\n size: {\n type: [Number, String],\n default: 32\n },\n\n width: {\n type: Number,\n default: 4\n },\n\n value: {\n type: Number,\n default: 0\n }\n },\n\n computed: {\n calculatedSize () {\n let size = Number(this.size)\n\n if (this.button) {\n size += 8\n }\n\n return size\n },\n\n circumference () {\n return 2 * Math.PI * this.radius\n },\n\n classes () {\n return this.addColorClassChecks({\n 'progress-circular': true,\n 'progress-circular--indeterminate': this.indeterminate,\n 'progress-circular--button': this.button\n })\n },\n\n cxy () {\n return this.indeterminate && !this.button ? 50 : this.calculatedSize / 2\n },\n\n normalizedValue () {\n if (this.value < 0) {\n return 0\n }\n\n if (this.value > 100) {\n return 100\n }\n\n return this.value\n },\n\n radius () {\n return this.indeterminate &&\n !this.button\n ? 20\n : (this.calculatedSize - this.width) / 2\n },\n\n strokeDashArray () {\n return Math.round(this.circumference * 1000) / 1000\n },\n\n strokeDashOffset () {\n return ((100 - this.normalizedValue) / 100) * this.circumference + 'px'\n },\n\n styles () {\n return {\n height: `${this.calculatedSize}px`,\n width: `${this.calculatedSize}px`\n }\n },\n\n svgSize () {\n return this.indeterminate ? false : this.calculatedSize\n },\n\n svgStyles () {\n return {\n transform: `rotate(${this.rotate}deg)`\n }\n },\n\n viewBox () {\n return this.indeterminate ? '25 25 50 50' : false\n }\n },\n\n methods: {\n genCircle (h, name, offset) {\n return h('circle', {\n class: `progress-circular__${name}`,\n attrs: {\n fill: 'transparent',\n cx: this.cxy,\n cy: this.cxy,\n r: this.radius,\n 'stroke-width': this.width,\n 'stroke-dasharray': this.strokeDashArray,\n 'stroke-dashoffset': offset\n }\n })\n },\n genSvg (h) {\n const children = [\n !this.indeterminate && this.genCircle(h, 'underlay', 0),\n this.genCircle(h, 'overlay', this.strokeDashOffset)\n ]\n\n return h('svg', {\n style: this.svgStyles,\n attrs: {\n xmlns: 'http://www.w3.org/2000/svg',\n height: this.svgSize,\n width: this.svgSize,\n viewBox: this.viewBox\n }\n }, children)\n }\n },\n\n render (h) {\n const info = h('div', { class: 'progress-circular__info' }, [this.$slots.default])\n const svg = this.genSvg(h)\n\n return h('div', {\n class: this.classes,\n style: this.styles,\n on: this.$listeners\n }, [svg, info])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VProgressCircular/VProgressCircular.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_progress-circular.styl\n// module id = 167\n// module chunks = 0","import VRadioGroup from './VRadioGroup'\nimport VRadio from './VRadio'\n\nexport { VRadioGroup, VRadio }\n\nVRadioGroup.install = function install (Vue) {\n Vue.component(VRadioGroup.name, VRadioGroup)\n Vue.component(VRadio.name, VRadio)\n}\n\nexport default VRadioGroup\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VRadioGroup/index.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_selection-controls.styl')\nrequire('../../stylus/components/_radio-group.styl')\n\nimport Input from '../../mixins/input'\n\nexport default {\n name: 'v-radio-group',\n\n mixins: [Input],\n\n model: {\n prop: 'inputValue',\n event: 'change'\n },\n\n provide () {\n return {\n isMandatory: () => this.mandatory,\n name: () => this.name,\n registerChild: this.registerChild,\n unregisterChild: this.unregisterChild\n }\n },\n\n props: {\n column: {\n type: Boolean,\n default: true\n },\n inputValue: null,\n mandatory: {\n type: Boolean,\n default: true\n },\n name: String,\n row: Boolean\n },\n\n data () {\n return {\n internalTabIndex: -1\n }\n },\n\n watch: {\n inputValue (val) {\n this.getRadios().forEach((radio) => {\n radio.isActive = val === radio.value\n })\n }\n },\n\n computed: {\n classes () {\n return {\n 'radio-group': true,\n 'radio-group--column': this.column && !this.row,\n 'radio-group--row': this.row\n }\n }\n },\n\n methods: {\n getRadios () {\n return this.$children\n .filter((child) => child.$el.classList.contains('radio'))\n },\n toggleRadio (value) {\n if (this.disabled) {\n return\n }\n\n this.shouldValidate = true\n this.$emit('change', value)\n this.$nextTick(() => this.validate())\n\n this.getRadios()\n .filter(r => r.value !== value)\n .forEach(r => r.isActive = false)\n },\n radioBlur (e) {\n if (!e.relatedTarget || !e.relatedTarget.classList.contains('radio')) {\n this.shouldValidate = true\n this.$emit('blur', this.inputValue)\n }\n },\n registerChild (radio) {\n radio.isActive = this.inputValue === radio.value\n radio.$el.tabIndex = radio.$el.tabIndex > 0 ? radio.$el.tabIndex : 0\n radio.$on('change', this.toggleRadio)\n radio.$on('blur', this.radioBlur)\n radio.$on('focus', this.radioFocus)\n },\n unregisterChild (radio) {\n radio.$off('change', this.toggleRadio)\n radio.$off('blur', this.radioBlur)\n radio.$off('focus', this.radioFocus)\n }\n },\n\n mounted () {\n this.getRadios().forEach(radio => this.registerChild(radio))\n },\n\n beforeDestroy () {\n this.getRadios().forEach(radio => this.unregisterChild(radio))\n },\n\n render (h) {\n const data = {\n attrs: {\n role: 'radiogroup'\n }\n }\n return this.genInputGroup(this.$slots.default, data)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VRadioGroup/VRadioGroup.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_radio-group.styl\n// module id = 170\n// module chunks = 0","import { VFadeTransition } from '../transitions'\nimport VIcon from '../VIcon'\n\nimport Colorable from '../../mixins/colorable'\nimport Rippleable from '../../mixins/rippleable'\nimport TabFocusable from '../../mixins/tab-focusable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-radio',\n\n inheritAttrs: false,\n\n inject: ['isMandatory', 'name', 'registerChild', 'unregisterChild'],\n\n components: {\n VFadeTransition,\n VIcon\n },\n\n mixins: [Colorable, Rippleable, TabFocusable, Themeable],\n\n props: {\n disabled: Boolean,\n value: null,\n label: String\n },\n\n data () {\n return {\n isActive: false\n }\n },\n\n computed: {\n classes () {\n return this.addColorClassChecks({\n 'input-group': true,\n 'input-group--active': this.isActive,\n 'input-group--disabled': this.disabled,\n 'input-group--selection-controls': true,\n 'input-group--tab-focused': this.tabFocused,\n 'radio': true,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n })\n },\n\n icon () {\n return this.isActive ? 'radio_button_checked' : 'radio_button_unchecked'\n }\n },\n\n methods: {\n genInput (radio) {\n const value = ['string', 'number'].includes(typeof this.value)\n ? this.value\n : JSON.stringify(this.value)\n const input = this.$createElement('input', {\n ref: 'input',\n style: {\n display: 'none'\n },\n attrs: Object.assign({\n name: this.name && this.name(),\n id: this.id,\n type: 'radio',\n value\n }, this.$attrs)\n }, [value])\n\n radio.push(input)\n\n return this.$createElement('div', {\n class: 'input-group__input'\n }, radio)\n },\n genWrapper (radio) {\n const children = []\n\n children.push(this.genLabel())\n children.push(this.genInput(radio))\n\n return this.$createElement('div', {\n class: this.classes,\n attrs: {\n role: 'radio',\n 'aria-checked': this.isActive && 'true' || 'false',\n 'aria-label': this.label\n },\n on: {\n keydown: e => {\n if ([13, 32].includes(e.keyCode)) {\n e.preventDefault()\n this.toggle()\n }\n },\n blur: e => {\n this.$emit('blur', e)\n this.tabFocused = false\n }\n }\n }, children)\n },\n genLabel () {\n return this.$createElement('label', {\n on: {\n click: this.toggle\n }\n }, this.$slots.label || this.label)\n },\n toggle () {\n const mandatory = this.isMandatory &&\n this.isMandatory() || false\n\n if (!this.disabled && (!this.isActive || !mandatory)) {\n this.$refs.input.checked = true\n this.isActive = true\n this.$emit('change', this.value)\n }\n }\n },\n\n created () {\n // Semantic check to help people identify the reason for the inject error above it.\n if (!this.$parent || !this.$parent.$vnode || !this.$parent.$vnode.tag ||\n !this.$parent.$vnode.tag.endsWith('v-radio-group')) {\n console.warn('[Vuetify] Warn: The v-radio component must have an immediate parent of v-radio-group.')\n }\n },\n\n mounted () {\n this.registerChild(this)\n },\n\n beforeDestroy () {\n this.unregisterChild(this)\n },\n\n render (h) {\n const transition = h('v-fade-transition', {}, [\n h('v-icon', {\n staticClass: 'icon--selection-control',\n 'class': {\n 'icon--radio': this.isActive\n },\n key: this.icon\n }, this.icon)\n ])\n\n return this.genWrapper([transition, this.genRipple()])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VRadioGroup/VRadio.js","export default {\n data () {\n return {\n tabFocused: false\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/tab-focusable.js","import VSlider from './VSlider'\n\nVSlider.install = function install (Vue) {\n Vue.component(VSlider.name, VSlider)\n}\n\nexport default VSlider\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSlider/index.js","require('../../stylus/components/_sliders.styl')\n\nimport { addOnceEventListener, createRange } from '../../util/helpers'\n\nimport Input from '../../mixins/input'\n\nimport ClickOutside from '../../directives/click-outside'\n\nexport default {\n name: 'v-slider',\n\n mixins: [Input],\n\n directives: { ClickOutside },\n\n data () {\n return {\n app: {},\n isActive: false,\n keyPressed: 0\n }\n },\n\n props: {\n color: {\n type: String,\n default: null\n },\n inverted: Boolean,\n min: {\n type: [Number, String],\n default: 0\n },\n max: {\n type: [Number, String],\n default: 100\n },\n step: {\n type: [Number, String],\n default: null\n },\n thumbColor: {\n type: String,\n default: null\n },\n thumbLabel: Boolean,\n value: [Number, String],\n vertical: Boolean,\n snap: Boolean,\n trackColor: {\n type: String,\n default: null\n }\n },\n\n computed: {\n classes () {\n return {\n 'input-group--slider': true,\n 'input-group--active': this.isActive,\n 'input-group--dirty': this.inputWidth > 0,\n 'input-group--disabled': this.disabled,\n 'input-group--ticks': !this.disabled && this.step\n }\n },\n inputValue: {\n get () {\n return this.value\n },\n set (val) {\n const { min, max, step, snap } = this\n val = val < min && min || val > max && max || val\n /*\n if (Math.ceil(val) % Math.ceil(this.lazyValue) < 2) {\n this.inputWidth = this.calculateWidth(val)\n }\n */\n\n const value = snap ? Math.round(val / step) * step : parseInt(val)\n this.lazyValue = value\n\n if (value !== this.value) {\n this.$emit('input', value)\n }\n }\n },\n interval () {\n return 100 / (this.max - this.min) * this.step\n },\n thumbContainerClasses () {\n return {\n 'slider__thumb-container': true,\n 'slider__thumb-container--label': this.thumbLabel\n }\n },\n thumbStyles () {\n return {\n transition: this.keyPressed >= 2 ? 'none' : '',\n left: `${this.inputWidth}%`\n }\n },\n tickContainerStyles () {\n return {\n transform: `translate3d(0, -50%, 0)`\n }\n },\n trackStyles () {\n const scaleX = this.calculateScale(1 - (this.inputWidth / 100))\n const offsetX = this.thumbLabel ? 0 : !this.isActive ? 8 : 12\n const translateX = `${offsetX}px`\n return {\n transition: this.keyPressed >= 2 ? 'none' : '',\n transform: `scaleX(${scaleX}) translateX(${translateX})`\n }\n },\n trackFillStyles () {\n const inputWidth = this.inputWidth\n const scaleX = this.calculateScale(inputWidth / 100)\n const translateX = inputWidth > 99 && !this.thumbLabel ? `${-8}px` : 0\n return {\n transition: this.keyPressed >= 2 ? 'none' : '',\n transform: `scaleX(${scaleX}) translateX(${translateX})`\n }\n },\n numTicks () {\n return parseInt((this.max - this.min) / this.step)\n },\n inputWidth () {\n let val = this.inputValue\n if (this.snap) {\n val = Math.round(val / this.step) * this.step\n }\n\n val = (val - this.min) / (this.max - this.min) * 100\n\n return val < 0.15 ? 0 : val\n }\n },\n\n watch: {\n isActive (val) {\n this.isFocused = val\n },\n min (val) {\n val > this.inputValue && this.$emit('input', val)\n },\n max (val) {\n val < this.inputValue && this.$emit('input', val)\n },\n value (val) {\n this.inputValue = val\n }\n },\n\n mounted () {\n this.inputValue = this.value\n\n // Without a v-app, iOS does not work with body selectors\n this.app = document.querySelector('[data-app]') ||\n console.warn('The v-slider component requires the present of v-app or a non-body wrapping element with the [data-app] attribute.')\n },\n\n methods: {\n calculateScale (scale) {\n return this.disabled ? scale - 0.015 : scale\n },\n onMouseDown (e) {\n this.keyPressed = 2\n const options = { passive: true }\n this.isActive = true\n\n if ('touches' in e) {\n this.app.addEventListener('touchmove', this.onMouseMove, options)\n addOnceEventListener(this.app, 'touchend', this.onMouseUp)\n } else {\n this.app.addEventListener('mousemove', this.onMouseMove, options)\n addOnceEventListener(this.app, 'mouseup', this.onMouseUp)\n }\n },\n onMouseUp () {\n this.keyPressed = 0\n const options = { passive: true }\n this.isActive = false\n this.app.removeEventListener('touchmove', this.onMouseMove, options)\n this.app.removeEventListener('mousemove', this.onMouseMove, options)\n },\n onMouseMove (e) {\n const {\n left: offsetLeft,\n width: trackWidth\n } = this.$refs.track.getBoundingClientRect()\n const clientX = 'touches' in e ? e.touches[0].clientX : e.clientX\n const left = (\n ((clientX - offsetLeft) / trackWidth) * 100\n )\n\n if (left >= 0 && left <= 100) {\n this.inputValue = parseInt(this.min, 10) + ((left / 100) * (this.max - this.min))\n }\n },\n onKeyDown (e) {\n if (e.keyCode === 37 || e.keyCode === 39) {\n this.keyPressed += 1\n\n const direction = e.keyCode === 37 && -1 || e.keyCode === 39 && 1 || 0\n const multiplier = e.shiftKey && 3 || e.ctrlKey && 2 || 1\n const amount = this.snap && this.step || 1\n\n this.inputValue = this.inputValue + (direction * amount * multiplier)\n }\n },\n onKeyUp (e) {\n this.keyPressed = 0\n },\n sliderMove (e) {\n if (!this.isActive) {\n this.onMouseMove(e)\n }\n },\n genThumbLabel (h) {\n return h('v-scale-transition', {\n props: { origin: 'bottom center' }\n }, [\n h('div', {\n 'class': 'slider__thumb--label__container',\n directives: [\n {\n name: 'show',\n value: this.isActive\n }\n ]\n }, [\n h('div', { 'class': ['slider__thumb--label', this.thumbColor || this.color] }, [\n h('span', {}, parseInt(this.inputValue))\n ])\n ])\n ])\n },\n genThumbContainer (h) {\n const children = []\n children.push(h('div', { 'class': ['slider__thumb', this.thumbColor || this.color] }))\n\n this.thumbLabel && children.push(this.genThumbLabel(h))\n\n return h('div', {\n 'class': this.thumbContainerClasses,\n style: this.thumbStyles,\n on: {\n touchstart: this.onMouseDown,\n mousedown: this.onMouseDown\n },\n ref: 'thumb'\n }, children)\n },\n genSteps (h) {\n const ticks = createRange(this.numTicks + 1).map((i) => {\n const span = h('span', {\n class: 'slider__tick',\n style: {\n left: `${i * (100 / this.numTicks)}%`\n }\n })\n\n return span\n })\n\n return h('div', {\n 'class': 'slider__ticks-container',\n style: this.tickContainerStyles\n }, ticks)\n },\n genTrackContainer (h) {\n const children = [\n h('div', {\n 'class': ['slider__track', this.trackColor],\n style: this.trackStyles\n }),\n h('div', {\n 'class': ['slider__track-fill', this.color],\n style: this.trackFillStyles\n })\n ]\n\n return h('div', {\n 'class': 'slider__track__container',\n ref: 'track'\n }, children)\n }\n },\n\n render (h) {\n const children = []\n\n children.push(this.genTrackContainer(h))\n this.step && children.push(this.genSteps(h))\n children.push(this.genThumbContainer(h))\n\n const slider = h('div', { 'class': 'slider' }, children)\n\n return this.genInputGroup([slider], {\n attrs: {\n role: 'slider',\n tabindex: this.tabindex\n },\n on: Object.assign({}, {\n mouseup: this.sliderMove,\n keydown: this.onKeyDown,\n keyup: this.onKeyUp\n }, this.$listeners),\n directives: [{\n name: 'click-outside'\n }]\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSlider/VSlider.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_sliders.styl\n// module id = 175\n// module chunks = 0","import VSnackbar from './VSnackbar'\n\nVSnackbar.install = function install (Vue) {\n Vue.component(VSnackbar.name, VSnackbar)\n}\n\nexport default VSnackbar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSnackbar/index.js","require('../../stylus/components/_snackbars.styl')\n\nimport {\n VSlideYTransition,\n VSlideYReverseTransition\n} from '../transitions'\n\nimport Colorable from '../../mixins/colorable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-snackbar',\n\n components: {\n VSlideYTransition,\n VSlideYReverseTransition\n },\n\n mixins: [Colorable, Toggleable],\n\n data () {\n return {\n activeTimeout: {}\n }\n },\n\n props: {\n absolute: Boolean,\n bottom: Boolean,\n left: Boolean,\n multiLine: Boolean,\n right: Boolean,\n top: Boolean,\n // TODO: change this to closeDelay to match other API in delayable.js\n timeout: {\n type: Number,\n default: 6000\n },\n vertical: Boolean\n },\n\n computed: {\n classes () {\n const classes = {\n 'snack--active': this.isActive,\n 'snack--absolute': this.absolute,\n 'snack--bottom': this.bottom || !this.top,\n 'snack--left': this.left,\n 'snack--multi-line': this.multiLine && !this.vertical,\n 'snack--right': this.right,\n 'snack--top': this.top,\n 'snack--vertical': this.vertical\n }\n if (this.color) {\n classes[this.color] = true\n }\n return classes\n },\n computedTransition () {\n return this.top ? 'v-slide-y-transition' : 'v-slide-y-reverse-transition'\n }\n },\n\n watch: {\n isActive () {\n this.setTimeout()\n }\n },\n\n methods: {\n setTimeout () {\n clearTimeout(this.activeTimeout)\n\n if (this.isActive && this.timeout) {\n this.activeTimeout = setTimeout(() => {\n this.isActive = false\n }, this.timeout)\n }\n }\n },\n\n mounted () {\n this.setTimeout()\n },\n\n render (h) {\n const children = []\n\n if (this.isActive) {\n children.push(h('div', {\n staticClass: 'snack__content'\n }, this.$slots.default))\n }\n\n return h('div', {\n staticClass: 'snack',\n 'class': this.classes,\n on: this.$listeners\n }, [h(this.computedTransition, children)])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSnackbar/VSnackbar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_snackbars.styl\n// module id = 178\n// module chunks = 0","import VSpeedDial from './VSpeedDial'\n\nVSpeedDial.install = function install (Vue) {\n Vue.component(VSpeedDial.name, VSpeedDial)\n}\n\nexport default VSpeedDial\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSpeedDial/index.js","require('../../stylus/components/_speed-dial.styl')\n\nimport Toggleable from '../../mixins/toggleable'\nimport Positionable from '../../mixins/positionable'\n\nimport ClickOutside from '../../directives/click-outside'\n\nexport default {\n name: 'v-speed-dial',\n\n mixins: [Positionable, Toggleable],\n\n directives: { ClickOutside },\n\n props: {\n direction: {\n type: String,\n default: 'top',\n validator: (val) => {\n return ['top', 'right', 'bottom', 'left'].includes(val)\n }\n },\n hover: Boolean,\n transition: {\n type: String,\n default: 'scale-transition'\n }\n },\n\n computed: {\n classes () {\n return {\n 'speed-dial': true,\n 'speed-dial--top': this.top,\n 'speed-dial--right': this.right,\n 'speed-dial--bottom': this.bottom,\n 'speed-dial--left': this.left,\n 'speed-dial--absolute': this.absolute,\n 'speed-dial--fixed': this.fixed,\n [`speed-dial--direction-${this.direction}`]: true\n }\n }\n },\n\n render (h) {\n let children = []\n const data = {\n 'class': this.classes,\n directives: [{\n name: 'click-outside'\n }],\n on: {\n click: () => (this.isActive = !this.isActive)\n }\n }\n\n if (this.hover) {\n data.on.mouseenter = () => (this.isActive = true)\n data.on.mouseleave = () => (this.isActive = false)\n }\n\n if (this.isActive) {\n children = (this.$slots.default || []).map((b, i) => {\n b.key = i\n\n return b\n })\n }\n\n const list = h('transition-group', {\n 'class': 'speed-dial__list',\n props: {\n name: this.transition,\n tag: 'div'\n }\n }, children)\n\n return h('div', data, [this.$slots.activator, list])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSpeedDial/VSpeedDial.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_speed-dial.styl\n// module id = 181\n// module chunks = 0","import { createSimpleFunctional } from '../../util/helpers'\nimport VStepper from './VStepper'\nimport VStepperStep from './VStepperStep'\nimport VStepperContent from './VStepperContent'\n\nVStepper.install = function install (Vue) {\n const VStepperHeader = createSimpleFunctional('stepper__header')\n const VStepperItems = createSimpleFunctional('stepper__items')\n\n Vue.component(VStepper.name, VStepper)\n Vue.component(VStepperContent.name, VStepperContent)\n Vue.component(VStepperStep.name, VStepperStep)\n Vue.component(VStepperHeader.name, VStepperHeader)\n Vue.component(VStepperItems.name, VStepperItems)\n}\n\nexport default VStepper\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/index.js","require('../../stylus/components/_steppers.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-stepper',\n\n mixins: [Themeable],\n\n provide () {\n return {\n stepClick: this.stepClick\n }\n },\n\n data () {\n return {\n inputValue: null,\n isBooted: false,\n steps: [],\n content: [],\n isReverse: false\n }\n },\n\n props: {\n nonLinear: Boolean,\n altLabels: Boolean,\n vertical: Boolean,\n value: [Number, String]\n },\n\n computed: {\n classes () {\n return {\n 'stepper': true,\n 'stepper--is-booted': this.isBooted,\n 'stepper--vertical': this.vertical,\n 'stepper--alt-labels': this.altLabels,\n 'stepper--non-linear': this.nonLinear,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n }\n },\n\n watch: {\n inputValue (val, prev) {\n this.isReverse = Number(val) < Number(prev)\n this.steps.forEach(i => i.toggle(this.inputValue))\n this.content.forEach(i => i.toggle(this.inputValue, this.isReverse))\n\n this.$emit('input', this.inputValue)\n prev && (this.isBooted = true)\n },\n value () {\n this.getSteps()\n this.$nextTick(() => (this.inputValue = this.value))\n }\n },\n\n mounted () {\n this.$vuetify.load(this.init)\n },\n\n methods: {\n init () {\n this.getSteps()\n\n this.inputValue = this.value || this.steps[0].step || 1\n },\n getSteps () {\n this.steps = []\n this.content = []\n this.$children.forEach(i => {\n if (i.$options._componentTag === 'v-stepper-step') {\n this.steps.push(i)\n } else if (i.$options._componentTag === 'v-stepper-content') {\n i.isVertical = this.vertical\n this.content.push(i)\n }\n })\n },\n stepClick (step) {\n this.getSteps()\n this.$nextTick(() => (this.inputValue = step))\n }\n },\n\n render (h) {\n return h('div', {\n 'class': this.classes\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/VStepper.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_steppers.styl\n// module id = 184\n// module chunks = 0","import VIcon from '../VIcon'\nimport Ripple from '../../directives/ripple'\n\nexport default {\n name: 'v-stepper-step',\n\n components: { VIcon },\n\n directives: { Ripple },\n\n inject: ['stepClick'],\n\n data () {\n return {\n isActive: false,\n isInactive: true\n }\n },\n\n props: {\n complete: Boolean,\n completeIcon: {\n type: String,\n default: 'check'\n },\n editIcon: {\n type: String,\n default: 'edit'\n },\n errorIcon: {\n type: String,\n default: 'warning'\n },\n editable: Boolean,\n rules: {\n type: Array,\n default: () => []\n },\n step: [Number, String]\n },\n\n computed: {\n classes () {\n return {\n 'stepper__step': true,\n 'stepper__step--active': this.isActive,\n 'stepper__step--editable': this.editable,\n 'stepper__step--inactive': this.isInactive,\n 'stepper__step--error': this.hasError,\n 'stepper__step--complete': this.complete\n }\n },\n hasError () {\n return this.rules.some(i => (i() !== true))\n }\n },\n\n methods: {\n click (e) {\n e.stopPropagation()\n\n if (this.editable) {\n this.stepClick(this.step)\n }\n },\n toggle (step) {\n this.isActive = step.toString() === this.step.toString()\n this.isInactive = Number(step) < Number(this.step)\n }\n },\n\n render (h) {\n const data = {\n 'class': this.classes,\n directives: [{\n name: 'ripple',\n value: this.editable\n }],\n on: { click: this.click }\n }\n let stepContent\n\n if (this.hasError) {\n stepContent = [h('v-icon', {}, this.errorIcon)]\n } else if (this.complete) {\n if (this.editable) {\n stepContent = [h('v-icon', {}, this.editIcon)]\n } else {\n stepContent = [h('v-icon', {}, this.completeIcon)]\n }\n } else {\n stepContent = this.step\n }\n\n const step = h('span', { 'class': 'stepper__step__step' }, stepContent)\n const label = h('div', { 'class': 'stepper__label' }, this.$slots.default)\n\n return h('div', data, [step, label])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/VStepperStep.js","import {\n VTabTransition,\n VTabReverseTransition\n} from '../transitions'\n\nexport default {\n name: 'v-stepper-content',\n\n components: {\n VTabTransition,\n VTabReverseTransition\n },\n\n data () {\n return {\n height: 0,\n isActive: false,\n isReverse: false,\n isVertical: false\n }\n },\n\n props: {\n step: {\n type: [Number, String],\n required: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'stepper__content': true\n }\n },\n computedTransition () {\n return this.isReverse\n ? 'v-tab-reverse-transition'\n : 'v-tab-transition'\n },\n styles () {\n if (!this.isVertical) return {}\n\n return {\n height: !isNaN(this.height) ? `${this.height}px` : this.height\n }\n },\n wrapperClasses () {\n return {\n 'stepper__wrapper': true\n }\n }\n },\n\n watch: {\n isActive () {\n if (!this.isVertical) {\n return\n }\n\n if (this.isActive) {\n this.enter()\n } else {\n this.leave()\n }\n }\n },\n\n mounted () {\n this.$refs.wrapper.addEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n },\n\n beforeDestroy () {\n this.$refs.wrapper.removeEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n },\n\n methods: {\n onTransition () {\n if (!this.isActive) return\n\n this.height = 'auto'\n },\n enter () {\n let scrollHeight = 0\n\n // Render bug with height\n setTimeout(() => {\n scrollHeight = this.$refs.wrapper.scrollHeight\n }, 0)\n\n this.height = 0\n\n // Give the collapsing element time to collapse\n setTimeout(() => (this.height = (scrollHeight || 'auto')), 450)\n },\n leave () {\n this.height = this.$refs.wrapper.clientHeight\n setTimeout(() => (this.height = 0), 0)\n },\n toggle (step, reverse) {\n this.isActive = step.toString() === this.step.toString()\n this.isReverse = reverse\n }\n },\n\n render (h) {\n const contentData = {\n 'class': this.classes\n }\n const wrapperData = {\n 'class': this.wrapperClasses,\n style: this.styles,\n ref: 'wrapper'\n }\n\n if (!this.isVertical) {\n contentData.directives = [{\n name: 'show',\n value: this.isActive\n }]\n }\n\n const wrapper = h('div', wrapperData, [this.$slots.default])\n const content = h('div', contentData, [wrapper])\n\n return h(this.computedTransition, {\n on: this.$listeners\n }, [content])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VStepper/VStepperContent.js","import VSubheader from './VSubheader'\n\nVSubheader.install = function install (Vue) {\n Vue.component(VSubheader.name, VSubheader)\n}\n\nexport default VSubheader\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSubheader/index.js","require('../../stylus/components/_subheaders.styl')\n\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-subheader',\n\n functional: true,\n\n mixins: [Themeable],\n\n props: {\n inset: Boolean\n },\n\n render (h, { data, children, props }) {\n data.staticClass = (`subheader ${data.staticClass || ''}`).trim()\n\n if (props.inset) data.staticClass += ' subheader--inset'\n if (props.light) data.staticClass += ' theme--light'\n if (props.dark) data.staticClass += ' theme--dark'\n\n return h('li', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSubheader/VSubheader.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_subheaders.styl\n// module id = 189\n// module chunks = 0","import VSwitch from './VSwitch'\n\nVSwitch.install = function install (Vue) {\n Vue.component(VSwitch.name, VSwitch)\n}\n\nexport default VSwitch\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSwitch/index.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_selection-controls.styl')\nrequire('../../stylus/components/_switch.styl')\n\nimport Rippleable from '../../mixins/rippleable'\nimport Selectable from '../../mixins/selectable'\n\nexport default {\n name: 'v-switch',\n\n mixins: [Rippleable, Selectable],\n\n computed: {\n classes () {\n const classes = {\n 'input-group--selection-controls switch': true\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n rippleClasses () {\n return {\n 'input-group--selection-controls__ripple': true,\n 'input-group--selection-controls__ripple--active': this.isActive\n }\n },\n containerClasses () {\n return {\n 'input-group--selection-controls__container': true,\n 'input-group--selection-controls__container--light': this.light,\n 'input-group--selection-controls__container--disabled': this.disabled\n }\n },\n toggleClasses () {\n return {\n 'input-group--selection-controls__toggle': true,\n 'input-group--selection-controls__toggle--active': this.isActive\n }\n }\n },\n\n render (h) {\n const container = h('div', {\n 'class': this.containerClasses\n }, [\n h('div', { 'class': this.toggleClasses }),\n this.genRipple()\n ])\n\n return this.genInputGroup([container])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSwitch/VSwitch.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_switch.styl\n// module id = 192\n// module chunks = 0","import VSystemBar from './VSystemBar'\n\nVSystemBar.install = function install (Vue) {\n Vue.component(VSystemBar.name, VSystemBar)\n}\n\nexport default VSystemBar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSystemBar/index.js","require('../../stylus/components/_system-bars.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-system-bar',\n\n mixins: [Applicationable, Themeable],\n\n props: {\n lightsOut: Boolean,\n status: Boolean,\n window: Boolean\n },\n\n computed: {\n classes () {\n return {\n 'system-bar': true,\n 'system-bar--lights-out': this.lightsOut,\n 'system-bar--status': this.status,\n 'system-bar--window': this.window,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n computedHeight () {\n if (this.window) return 32\n\n return 24\n }\n },\n\n methods: {\n updateApplication () {\n if (!this.app) return\n\n this.$vuetify.application.bar = this.computedHeight\n }\n },\n\n render (h) {\n const data = {\n 'class': this.classes,\n style: {\n height: `${this.computedHeight}px`\n }\n }\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VSystemBar/VSystemBar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_system-bars.styl\n// module id = 195\n// module chunks = 0","import {\n createSimpleFunctional\n} from '../../util/helpers'\n\nimport VTabs from './VTabs'\nimport VTabsItem from './VTabsItem'\nimport VTabsItems from './VTabsItems'\nimport VTabsContent from './VTabsContent'\nimport VTabsBar from './VTabsBar'\n\nVTabs.install = function install (Vue) {\n const VTabsSlider = createSimpleFunctional('tabs__slider', 'li')\n\n Vue.component(VTabs.name, VTabs)\n Vue.component(VTabsBar.name, VTabsBar)\n Vue.component(VTabsContent.name, VTabsContent)\n Vue.component(VTabsItem.name, VTabsItem)\n Vue.component(VTabsSlider.name, VTabsSlider)\n Vue.component(VTabsItems.name, VTabsItems)\n}\n\nexport default VTabs\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/index.js","require('../../stylus/components/_tabs.styl')\n\nimport Themeable from '../../mixins/themeable'\nimport Resize from '../../directives/resize'\n\nexport default {\n name: 'v-tabs',\n\n directives: {\n Resize\n },\n\n mixins: [Themeable],\n\n provide () {\n return {\n registerContent: this.registerContent,\n unregisterContent: this.unregisterContent,\n registerTabItem: this.registerTabItem,\n unregisterTabItem: this.unregisterTabItem,\n next: this.next,\n prev: this.prev,\n slider: this.slider,\n tabClick: this.tabClick,\n isScrollable: () => this.scrollable,\n isMobile: () => this.isMobile\n }\n },\n\n data () {\n return {\n content: [],\n tabItems: [],\n activeIndex: null,\n isBooted: false,\n isMobile: false,\n reverse: false,\n target: null,\n tabsSlider: null,\n targetEl: null,\n tabsContainer: null\n }\n },\n\n props: {\n centered: Boolean,\n fixed: Boolean,\n grow: Boolean,\n icons: Boolean,\n mobileBreakPoint: {\n type: [Number, String],\n default: 1280\n },\n value: String,\n scrollable: {\n type: Boolean,\n default: true\n }\n },\n\n computed: {\n classes () {\n return {\n 'tabs': true,\n 'tabs--centered': this.centered,\n 'tabs--fixed': this.fixed,\n 'tabs--grow': this.grow,\n 'tabs--icons': this.icons,\n 'tabs--mobile': this.isMobile,\n 'tabs--scroll-bars': this.scrollable,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n }\n },\n\n watch: {\n value () {\n this.tabClick(this.value)\n },\n activeIndex () {\n this.updateTabs()\n this.$nextTick(() => (this.isBooted = true))\n },\n tabItems (newItems, oldItems) {\n // Tab item got removed\n if (oldItems.length > newItems.length) {\n if (!newItems.find(o => o.id === this.target)) {\n const i = oldItems.findIndex(o => o.id === this.target)\n\n this.$nextTick(() => {\n this.activeIndex = this.tabItems[i > 0 ? i - 1 : 0].id\n this.target = this.activeIndex\n })\n }\n }\n this.slider()\n }\n },\n\n mounted () {\n this.$vuetify.load(() => {\n // // This is a workaround to detect if link is active\n // // when being used as a router or nuxt link\n const i = this.tabItems.findIndex(({ el }) => {\n return el.firstChild.classList.contains('tabs__item--active')\n })\n\n const tab = this.value || (this.tabItems[i !== -1 ? i : 0] || {}).id\n\n tab && this.tabClick(tab) && this.onResize()\n })\n },\n\n methods: {\n registerContent (id, toggle) {\n this.content.push({ id, toggle })\n },\n registerTabItem (id, toggle, el) {\n this.tabItems.push({ id, toggle, el })\n },\n unregisterContent (id) {\n this.content = this.content.filter(o => o.id !== id)\n },\n unregisterTabItem (id) {\n this.tabItems = this.tabItems.filter(o => o.id !== id)\n },\n next (cycle) {\n let nextIndex = this.activeIndex + 1\n\n if (!this.content[nextIndex]) {\n if (!cycle) return\n nextIndex = 0\n }\n\n this.tabClick(this.tabItems[nextIndex].id)\n },\n prev (cycle) {\n let prevIndex = this.activeIndex - 1\n\n if (!this.content[prevIndex]) {\n if (!cycle) return\n prevIndex = this.content.length - 1\n }\n\n this.tabClick(this.tabItems[prevIndex].id)\n },\n onResize () {\n this.isMobile = window.innerWidth < this.mobileBreakPoint\n this.slider()\n },\n slider (el) {\n this.tabsSlider = this.tabsSlider ||\n this.$el.querySelector('.tabs__slider')\n\n this.tabsContainer = this.tabsContainer ||\n this.$el.querySelector('.tabs__container')\n\n if (!this.tabsSlider || !this.tabsContainer) return\n\n this.targetEl = el || this.targetEl\n\n if (!this.targetEl) return\n\n // Gives DOM time to paint when\n // processing slider for\n // dynamic tabs\n this.$nextTick(() => {\n // #684 Calculate width as %\n const width = (\n this.targetEl.scrollWidth /\n this.tabsContainer.clientWidth *\n 100\n )\n\n this.tabsSlider.style.width = `${width}%`\n this.tabsSlider.style.left = `${this.targetEl.offsetLeft}px`\n })\n },\n tabClick (target) {\n const setActiveIndex = index => {\n if (this.activeIndex === index) {\n // #762 update tabs display\n // In case tabs count got changed but activeIndex didn't\n this.updateTabs()\n } else {\n this.activeIndex = index\n }\n }\n\n this.target = target\n\n this.$nextTick(() => {\n const nextIndex = this.content.findIndex(o => o.id === target)\n this.reverse = nextIndex < this.activeIndex\n setActiveIndex(nextIndex)\n\n this.$emit('input', this.target)\n })\n },\n updateTabs () {\n this.content.forEach(({ toggle }) => {\n toggle(this.target, this.reverse, this.isBooted)\n })\n\n this.tabItems.forEach(({ toggle }) => {\n toggle(this.target)\n })\n }\n },\n\n render (h) {\n return h('div', {\n 'class': this.classes,\n directives: [{\n name: 'resize',\n value: this.onResize\n }]\n }, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabs.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_tabs.styl\n// module id = 198\n// module chunks = 0","import Routable from '../../mixins/routable'\n\nexport default {\n name: 'v-tabs-item',\n\n inject: ['slider', 'tabClick', 'addTabItem', 'removeTabItem'],\n\n mixins: [Routable],\n\n data () {\n return {\n isActive: false\n }\n },\n\n props: {\n activeClass: {\n type: String,\n default: 'tabs__item--active'\n }\n },\n\n computed: {\n classes () {\n const classes = {\n 'tabs__item': true,\n 'tabs__item--disabled': this.disabled\n }\n\n classes[this.activeClass] = !this.to && this.isActive\n\n return classes\n },\n action () {\n const to = this.to || this.href\n\n if (!to || to === Object(to)) return this._uid\n\n return to.replace('#', '')\n }\n },\n\n watch: {\n $route () {\n this.to && this.callSlider()\n }\n },\n\n mounted () {\n this.addTabItem(this.action, this.toggle, this.$el)\n this.callSlider()\n },\n\n beforeDestroy () {\n this.removeTabItem(this.action)\n },\n\n methods: {\n callSlider () {\n setTimeout(() => {\n this.$el.firstChild.classList.contains('tabs__item--active') &&\n this.slider(this.$el)\n }, 0)\n },\n click (e) {\n e.preventDefault()\n\n if (!this.to && !this.href) return\n\n if (!this.to) {\n this.tabClick(this.action)\n }\n\n this.callSlider()\n },\n\n toggle (action) {\n this.isActive = this.action === action\n\n this.$nextTick(() => {\n this.isActive && this.slider(this.$el)\n })\n }\n },\n\n render (h) {\n const link = this.generateRouteLink()\n const { data } = link\n\n // If disabled, use div as anchor tags do not support\n // being disabled\n const tag = this.disabled ? 'div' : link.tag\n\n return h('li', {\n 'class': 'tabs__li'\n }, [h(tag, data, this.$slots.default)])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsItem.js","export default {\n name: 'v-tabs-items',\n\n inject: ['next', 'prev'],\n\n props: {\n cycle: Boolean,\n touchless: Boolean\n },\n\n methods: {\n swipeLeft () {\n this.next(this.cycle)\n },\n swipeRight () {\n this.prev(this.cycle)\n }\n },\n\n render (h) {\n const data = {\n staticClass: 'tabs__items',\n directives: []\n }\n\n !this.touchless && data.directives.push({\n name: 'touch',\n value: {\n left: this.swipeLeft,\n right: this.swipeRight\n }\n })\n\n return h('div', data, this.$slots.default)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsItems.js","import Bootable from '../../mixins/bootable'\n\nimport {\n VTabTransition,\n VTabReverseTransition\n} from '../transitions'\n\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-tabs-content',\n\n mixins: [Bootable],\n\n inject: ['registerContent', 'unregisterContent'],\n\n components: {\n VTabTransition,\n VTabReverseTransition\n },\n\n directives: {\n Touch\n },\n\n data () {\n return {\n isActive: false,\n reverse: false\n }\n },\n\n props: {\n id: {\n type: String,\n required: true\n },\n transition: {\n type: [Boolean, String],\n default: 'tab-transition'\n },\n reverseTransition: {\n type: [Boolean, String],\n default: 'tab-reverse-transition'\n }\n },\n\n computed: {\n computedTransition () {\n return this.reverse ? this.reverseTransition : this.transition\n }\n },\n\n methods: {\n toggle (target, reverse, showTransition) {\n this.$el.style.transition = !showTransition ? 'none' : null\n this.reverse = reverse\n this.isActive = this.id === target\n }\n },\n\n mounted () {\n this.registerContent(this.id, this.toggle)\n },\n\n beforeDestroy () {\n this.unregisterContent(this.id)\n },\n\n render (h) {\n const data = {\n 'class': 'tabs__content',\n directives: [{\n name: 'show',\n value: this.isActive\n }],\n on: this.$listeners\n }\n\n const div = h('div', data, this.showLazyContent(this.$slots.default))\n\n if (!this.computedTransition) {\n return div\n }\n\n return h('transition', {\n props: {\n name: this.computedTransition\n }\n }, [div])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsContent.js","import VIcon from '../VIcon'\n\nimport Resize from '../../directives/resize'\nimport Touch from '../../directives/touch'\n\nexport default {\n name: 'v-tabs-bar',\n\n directives: {\n Resize,\n Touch\n },\n\n provide () {\n return {\n addTabItem: (action, toggle, el) => {\n this.registerTabItem(action, toggle, el)\n this.onResize()\n },\n removeTabItem: (action) => {\n this.unregisterTabItem(action)\n this.onResize()\n }\n }\n },\n\n inject: ['isScrollable', 'isMobile', 'registerTabItem', 'unregisterTabItem'],\n\n data () {\n return {\n isOverflowing: false,\n scrollOffset: 0,\n itemOffset: 0,\n startX: 0\n }\n },\n\n computed: {\n classes () {\n return {\n 'tabs__bar': true\n }\n },\n containerClasses () {\n return {\n 'tabs__container': true\n }\n },\n wrapperClasses () {\n return {\n 'tabs__wrapper': true,\n 'tabs__wrapper--scrollable': this.isScrollable(),\n 'tabs__wrapper--overflow': this.isOverflowing\n }\n },\n containerStyles () {\n return {\n 'transform': `translateX(${-this.scrollOffset}px)`\n }\n },\n leftIconVisible () {\n return !this.isMobile() &&\n this.isScrollable() &&\n this.isOverflowing &&\n this.scrollOffset > 0\n },\n rightIconVisible () {\n if (this.isMobile() ||\n !this.isScrollable() ||\n !this.isOverflowing) return\n\n // Check one scroll ahead to know the width of right-most item\n const container = this.$refs.container\n const item = this.newOffsetRight(this.scrollOffset, this.itemOffset)\n const itemWidth = item && container.children[item.index].clientWidth || 0\n const scrollOffset = this.scrollOffset + container.clientWidth\n\n return container.scrollWidth - scrollOffset > itemWidth * 0.30\n }\n },\n\n methods: {\n genContainer () {\n return this.$createElement('ul', {\n 'class': this.containerClasses,\n 'style': this.containerStyles,\n ref: 'container'\n }, this.$slots.default)\n },\n genIcon (direction) {\n const capitalize = direction.charAt(0).toUpperCase() + direction.slice(1)\n return this.$createElement(VIcon, {\n props: { [`${direction}`]: true },\n style: { display: 'inline-flex' },\n on: {\n click: this[`scroll${capitalize}`]\n }\n }, `chevron_${direction}`)\n },\n genWrapper () {\n return this.$createElement('div', {\n class: this.wrapperClasses,\n directives: [{\n name: 'touch',\n value: {\n start: this.start,\n move: this.move,\n end: this.end\n }\n }]\n }, [this.genContainer()])\n },\n start (e) {\n this.startX = this.scrollOffset + e.touchstartX\n this.$refs.container.style.transition = 'none'\n },\n move (e) {\n const offset = this.startX - e.touchmoveX\n this.scrollOffset = offset\n },\n end (e) {\n this.onResize()\n const container = this.$refs.container\n const scrollWidth = container.scrollWidth - this.$el.clientWidth / 2\n container.style.transition = null\n\n if (this.scrollOffset < 0 || !this.isOverflowing) {\n this.scrollOffset = 0\n } else if (this.scrollOffset >= scrollWidth) {\n const lastItem = container.children[container.children.length - 1]\n this.scrollOffset = scrollWidth - lastItem.clientWidth\n }\n },\n scrollLeft () {\n const { offset, index } = this.newOffset('Left')\n this.scrollOffset = offset\n this.itemOffset = index\n },\n scrollRight () {\n const { offset, index } = this.newOffset('Right')\n this.scrollOffset = offset\n this.itemOffset = index\n },\n onResize () {\n if (this._isDestroyed) return\n\n const container = this.$refs.container\n this.isOverflowing = container.clientWidth < container.scrollWidth\n },\n newOffset (direction) {\n return this[`newOffset${direction}`](this.scrollOffset, this.itemOffset)\n },\n newOffsetLeft (currentOffset, currentIndex) {\n const container = this.$refs.container\n const items = container.children\n let offset = 0\n\n for (let index = currentIndex - 1; index >= 0; index--) {\n if (!items[index].classList.contains('tabs__slider')) {\n const newOffset = offset + items[index].clientWidth\n if (newOffset >= container.clientWidth) {\n return { offset: currentOffset - offset, index: index + 1 }\n }\n offset = newOffset\n }\n }\n\n return { offset: 0, index: 0 }\n },\n newOffsetRight (currentOffset, currentIndex) {\n const container = this.$refs.container\n const items = container.children\n let offset = currentOffset\n\n for (let index = currentIndex; index < items.length; index++) {\n if (!items[index].classList.contains('tabs__slider')) {\n const newOffset = offset + items[index].clientWidth\n if (newOffset > currentOffset + container.clientWidth) {\n return { offset, index }\n }\n offset = newOffset\n }\n }\n\n return null\n }\n },\n\n render (h) {\n return h('div', {\n 'class': this.classes,\n directives: [{\n name: 'resize',\n value: this.onResize\n }]\n }, [\n this.genWrapper(),\n this.leftIconVisible ? this.genIcon('left') : null,\n this.rightIconVisible ? this.genIcon('right') : null\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTabs/VTabsBar.js","import VTextField from './VTextField'\n\nVTextField.install = function install (Vue) {\n Vue.component(VTextField.name, VTextField)\n}\n\nexport default VTextField\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTextField/index.js","require('../../stylus/components/_input-groups.styl')\nrequire('../../stylus/components/_text-fields.styl')\n\nimport Colorable from '../../mixins/colorable'\nimport Input from '../../mixins/input'\nimport Maskable from '../../mixins/maskable'\nimport { isMaskDelimiter } from '../../util/mask'\n\nexport default {\n name: 'v-text-field',\n\n mixins: [Colorable, Input, Maskable],\n\n inheritAttrs: false,\n\n data () {\n return {\n initialValue: null,\n inputHeight: null,\n badInput: false,\n lazySelection: 0\n }\n },\n\n props: {\n autofocus: Boolean,\n autoGrow: Boolean,\n box: Boolean,\n clearable: Boolean,\n color: {\n type: String,\n default: 'primary'\n },\n counter: [Boolean, Number, String],\n fullWidth: Boolean,\n multiLine: Boolean,\n placeholder: String,\n prefix: String,\n rows: {\n default: 5\n },\n singleLine: Boolean,\n solo: Boolean,\n suffix: String,\n textarea: Boolean,\n type: {\n type: String,\n default: 'text'\n }\n },\n\n computed: {\n classes () {\n const classes = {\n 'input-group--text-field': true,\n 'input-group--text-field-box': this.box,\n 'input-group--single-line': this.singleLine || this.solo,\n 'input-group--solo': this.solo,\n 'input-group--multi-line': this.multiLine,\n 'input-group--full-width': this.fullWidth,\n 'input-group--prefix': this.prefix,\n 'input-group--suffix': this.suffix,\n 'input-group--textarea': this.textarea\n }\n\n if (this.hasError) {\n classes['error--text'] = true\n } else {\n return this.addColorClassChecks(classes)\n }\n\n return classes\n },\n count () {\n let inputLength\n if (this.inputValue) inputLength = this.inputValue.toString().length\n else inputLength = 0\n\n return `${inputLength} / ${this.counterLength}`\n },\n counterLength () {\n const parsedLength = parseInt(this.counter, 10)\n return isNaN(parsedLength) ? 25 : parsedLength\n },\n inputValue: {\n get () {\n return this.value\n },\n set (val) {\n this.lazyValue = val\n this.mask && this.setSelectionRange()\n this.$emit('input', val)\n }\n },\n isDirty () {\n return this.lazyValue != null &&\n this.lazyValue.toString().length > 0 ||\n this.badInput ||\n ['time', 'date', 'datetime-local', 'week', 'month'].includes(this.type)\n },\n shouldAutoGrow () {\n return (this.multiLine || this.textarea) && this.autoGrow\n }\n },\n\n watch: {\n isFocused (val) {\n if (val) {\n this.initialValue = this.lazyValue\n } else if (this.initialValue !== this.lazyValue) {\n this.$emit('change', this.lazyValue)\n }\n },\n value (val) {\n // Value was changed externally, update lazy\n this.lazyValue = val\n\n !this.validateOnBlur && this.validate()\n this.shouldAutoGrow && this.calculateInputHeight()\n }\n },\n\n mounted () {\n this.$vuetify.load(() => {\n this.shouldAutoGrow && this.calculateInputHeight()\n this.autofocus && this.focus()\n })\n },\n\n methods: {\n calculateInputHeight () {\n this.inputHeight = null\n\n this.$nextTick(() => {\n const height = this.$refs.input\n ? this.$refs.input.scrollHeight\n : 0\n const minHeight = this.rows * 24\n const inputHeight = height < minHeight ? minHeight : height\n this.inputHeight = inputHeight + (this.textarea ? 4 : 0)\n })\n },\n onInput (e) {\n this.resetSelections(e.target)\n this.inputValue = this.unmaskText(e.target.value)\n this.badInput = e.target.validity && e.target.validity.badInput\n this.shouldAutoGrow && this.calculateInputHeight()\n },\n blur (e) {\n this.isFocused = false\n\n this.$nextTick(() => {\n this.validate()\n })\n this.$emit('blur', e)\n },\n focus (e) {\n if (!this.$refs.input) return\n\n this.isFocused = true\n if (document.activeElement !== this.$refs.input) {\n this.$refs.input.focus()\n }\n this.$emit('focus', e)\n },\n genCounter () {\n return this.$createElement('div', {\n 'class': {\n 'input-group__counter': true,\n 'input-group__counter--error': this.hasError\n }\n }, this.count)\n },\n genInput () {\n const tag = this.multiLine || this.textarea ? 'textarea' : 'input'\n const listeners = Object.assign({}, this.$listeners)\n delete listeners['change'] // Change should not be bound externally\n\n const data = {\n style: {},\n domProps: {\n autofocus: this.autofocus,\n disabled: this.disabled,\n required: this.required,\n value: this.maskText(this.lazyValue || '')\n },\n attrs: {\n ...this.$attrs,\n readonly: this.readonly,\n tabindex: this.tabindex,\n 'aria-label': (!this.$attrs || !this.$attrs.id) && this.label // Label `for` will be set if we have an id\n },\n on: Object.assign(listeners, {\n blur: this.blur,\n input: this.onInput,\n focus: this.focus\n }),\n ref: 'input'\n }\n\n if (this.shouldAutoGrow) {\n data.style.height = this.inputHeight && `${this.inputHeight}px`\n }\n\n if (this.placeholder) data.domProps.placeholder = this.placeholder\n\n if (!this.textarea && !this.multiLine) {\n data.domProps.type = this.type\n } else {\n data.domProps.rows = this.rows\n }\n\n if (this.mask) {\n data.attrs.maxlength = this.masked.length\n }\n\n const children = [this.$createElement(tag, data)]\n\n this.prefix && children.unshift(this.genFix('prefix'))\n this.suffix && children.push(this.genFix('suffix'))\n\n return children\n },\n genFix (type) {\n return this.$createElement('span', {\n 'class': `input-group--text-field__${type}`\n }, this[type])\n },\n clearableCallback () {\n this.inputValue = null\n this.$nextTick(() => this.$refs.input.focus())\n },\n resetSelections (input) {\n this.selection = input.selectionStart\n this.lazySelection = 0\n\n for (const char of input.value.substr(0, this.selection)) {\n isMaskDelimiter(char) || this.lazySelection++\n }\n }\n },\n\n render () {\n return this.genInputGroup(this.genInput(), { attrs: { tabindex: false } })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTextField/VTextField.js","import VTimePicker from './VTimePicker'\n\nVTimePicker.install = function install (Vue) {\n Vue.component(VTimePicker.name, VTimePicker)\n}\n\nexport default VTimePicker\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/index.js","require('../../stylus/components/_pickers.styl')\nrequire('../../stylus/components/_time-picker.styl')\n\nimport { createRange } from '../../util/helpers'\n\nimport VCard from '../VCard'\n\nimport Picker from '../../mixins/picker'\nimport TimeTitle from './mixins/time-title'\nimport TimeBody from './mixins/time-body'\n\nexport default {\n name: 'v-time-picker',\n\n components: {\n VCard\n },\n\n mixins: [Picker, TimeBody, TimeTitle],\n\n data () {\n return {\n isDragging: false,\n rotate: 0,\n originalTime: this.value,\n period: 'am',\n selectingHour: true,\n ranges: {\n hours: createRange(24),\n minutes: createRange(60)\n }\n }\n },\n\n props: {\n format: {\n type: String,\n default: 'ampm',\n validator (val) {\n return ['ampm', '24hr'].includes(val)\n }\n },\n allowedHours: {\n type: [Array, Object, Function],\n default: () => (null)\n },\n allowedMinutes: {\n type: [Array, Object, Function],\n default: () => (null)\n }\n },\n\n computed: {\n is24hr () {\n return this.format !== 'ampm'\n },\n is24hrAfter12 () {\n return this.selectingHour && this.is24hr && this.hour >= 12\n },\n divider () {\n return this.selectingHour ? 12 : 60\n },\n degrees () {\n return this.degreesPerUnit * Math.PI / 180\n },\n degreesPerUnit () {\n return 360 / this.divider\n },\n inputTime: {\n get () {\n if (this.value && !(this.value instanceof Date)) {\n if (!this.is24hr) {\n this.period = this.value.match(/pm/i)\n ? 'pm'\n : 'am'\n }\n\n return this.value\n }\n let value = new Date()\n\n if (this.value instanceof Date) {\n value = this.value\n }\n\n let hour = value.getHours()\n let minute = value.getMinutes()\n let period = ''\n\n if (!this.is24hr) {\n period = hour >= 12 ? 'pm' : 'am'\n hour = hour > 12 ? hour - 12 : hour\n hour = hour === 0 ? 12 : hour\n }\n\n period && (this.period = period)\n\n hour = this.firstAllowed('hour', hour)\n minute = this.firstAllowed('minute', minute)\n\n minute = minute < 10 ? `0${minute}` : minute > 59 ? '00' : minute\n\n return `${hour}:${minute}${period}`\n },\n set (val) {\n return this.$emit('input', val)\n }\n },\n timeArray () {\n return this.inputTime.replace(/(am|pm)/, '').split(':')\n },\n hour: {\n get () {\n return parseInt(this.timeArray[0])\n },\n set (val) {\n if (!this.is24hr) {\n val = val > 12 ? val - 12 : val < 1 ? 12 : val\n } else {\n val = val < 10 ? `0${val}` : val > 23 ? '00' : val\n }\n\n this.inputTime = `${val}:${this.minute}${!this.is24hr ? this.period : ''}`\n }\n },\n minute: {\n get () {\n const minute = parseInt(this.timeArray[1])\n\n return minute < 10 ? `0${minute}` : minute > 59 ? '00' : minute\n },\n set (val) {\n val = val < 10 ? `0${parseInt(val)}` : val > 59 ? '00' : val\n let hour = this.hour\n\n if (this.is24hr && hour < 10) {\n hour = `0${hour}`\n }\n\n this.inputTime = `${hour}:${val}${!this.is24hr ? this.period : ''}`\n }\n },\n clockHand () {\n if (this.selectingHour) return this.degreesPerUnit * this.hour\n return this.degreesPerUnit * this.minute\n },\n radius () {\n return this.clockSize / 2\n },\n clockSize: {\n get () {\n return this.size\n },\n set (val) {\n this.size = val\n }\n },\n size () {\n return this.landscape ? 250 : 280\n }\n },\n\n watch: {\n period (val) {\n const hour = !!this.allowedHours && this.selectingHour ? this.firstAllowed('hour', this.hour - 1) : this.hour\n this.inputTime = `${hour}:${this.minute}${val}`\n },\n value (val) {\n if (this.isSaving) {\n this.originalTime = this.inputTime\n this.isSaving = false\n }\n }\n },\n\n methods: {\n save () {\n if (this.originalTime) {\n this.originalTime = this.value\n } else {\n this.inputTime = this.inputTime\n this.originalTime = this.inputTime\n }\n\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n\n // Fix for #1818\n // Wait for data to persist\n // then set selectingHour\n this.$nextTick(() => (this.selectingHour = true))\n },\n cancel () {\n this.inputTime = this.originalTime\n if (this.$parent && this.$parent.isActive) this.$parent.isActive = false\n\n // Fix for #1818\n // Wait for data to persist\n // then set selectingHour\n this.$nextTick(() => (this.selectingHour = true))\n },\n isAllowed (type, value) {\n const allowed = this[`allowed${type.charAt(0).toUpperCase() + type.slice(1)}s`]\n\n if (!allowed) return true\n\n if (Array.isArray(allowed)) {\n return !!allowed.some(v => v === value)\n } else if (allowed instanceof Function) {\n return allowed(value)\n } else if (allowed === Object(allowed)) {\n const range = type === 'minute' ? this.ranges.minutes : this.ranges.hours\n const mod = type === 'minute' ? 60 : 24\n\n if (allowed.min === String(allowed.min)) {\n allowed.min = this.convert12to24hr(allowed.min)\n }\n\n if (allowed.max === String(allowed.max)) {\n allowed.max = this.convert12to24hr(allowed.max)\n }\n\n const steps = allowed.max - allowed.min\n value = type === 'hour' && !this.is24hr && this.period === 'pm' ? value + 12 : value\n\n for (let i = 0; i <= steps; i++) {\n const index = (allowed.min + i) % mod\n if (range[index] === value) return true\n }\n\n return false\n }\n\n return true\n },\n convert12to24hr (input) {\n input = input.toLowerCase()\n const pm = input.indexOf('pm') !== -1\n const hour = parseInt(input.slice(0, input.indexOf(pm ? 'pm' : 'am')))\n\n return pm ? hour + 12 : hour\n },\n generateRange (type, start) {\n let range = type === 'hour' ? this.ranges.hours : this.ranges.minutes\n let offset = 1\n\n if (type === 'hour' && !this.is24hr) {\n range = range.slice(1, 13)\n offset = 0\n }\n\n return range.slice(start + offset, range.length)\n .concat(range.slice(0, start + offset))\n },\n firstAllowed (type, value) {\n const allowed = this[`allowed${type.charAt(0).toUpperCase() + type.slice(1)}s`]\n\n if (!allowed) return value\n\n const range = this.generateRange(type, value)\n\n const first = range.find(v => this.isAllowed(type, v))\n\n return first || value\n }\n },\n\n render (h) {\n const children = [this.genBody()]\n\n !this.noTitle && children.unshift(this.genTitle())\n this.$scopedSlots.default && children.push(this.genSlot())\n\n return h('v-card', {\n 'class': {\n 'picker picker--time': true,\n 'picker--landscape': this.landscape,\n 'picker--time--hours': this.selectingHour,\n ...this.themeClasses\n }\n }, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/VTimePicker.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_time-picker.styl\n// module id = 207\n// module chunks = 0","export default {\n methods: {\n genTitle () {\n const children = [this.genTime()]\n\n if (this.format === 'ampm') {\n children.push(this.genAMPM())\n }\n\n return this.$createElement('div', {\n 'class': 'picker__title'\n }, children)\n },\n genTime () {\n let hour = this.hour\n\n if (this.is24hr && hour < 10) {\n hour = `0${hour}`\n }\n\n return this.$createElement('div', {\n 'class': 'picker--time__title'\n }, [\n this.$createElement('span', {\n 'class': { active: this.selectingHour },\n on: {\n click: () => (this.selectingHour = true)\n }\n }, hour),\n this.$createElement('span', {\n 'class': { active: !this.selectingHour },\n on: {\n click: () => (this.selectingHour = false)\n }\n }, `:${this.minute}`)\n ])\n },\n genAMPM () {\n return this.$createElement('div', [\n this.genPeriod('am'),\n this.genPeriod('pm')\n ])\n },\n genPeriod (period) {\n return this.$createElement('span', {\n 'class': { active: this.period === period },\n on: { click: () => (this.period = period) }\n }, period.toUpperCase())\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/mixins/time-title.js","export default {\n data () {\n return {\n hasChanged: false\n }\n },\n methods: {\n genBody () {\n const children = [this.genHand(this.selectingHour ? 'hour' : 'minute')]\n const data = {\n 'class': 'picker--time__clock',\n on: {\n mousedown: this.onMouseDown,\n mouseup: this.onMouseUp,\n mouseleave: () => {\n this.isDragging && this.onMouseUp()\n },\n touchstart: this.onMouseDown,\n touchend: this.onMouseUp,\n mousemove: this.onDragMove,\n touchmove: this.onDragMove\n },\n key: this.selectingHour ? 'hour' : 'minute',\n ref: 'clock'\n }\n\n this.selectingHour &&\n children.push(this.genHours()) ||\n children.push(this.genMinutes())\n\n if (this.scrollable) {\n data.on.wheel = e => {\n e.preventDefault()\n\n const diff = e.wheelDelta > 0 ? 1 : -1\n const changing = this.selectingHour ? 'changeHour' : 'changeMinute'\n\n this[changing](diff)\n }\n }\n\n return this.$createElement('div', {\n 'class': 'picker__body'\n }, [\n this.$createElement('transition', {\n props: {\n name: 'fade-transition',\n mode: 'out-in'\n }\n }, [\n this.$createElement('div', data, children)\n ])\n ])\n },\n genHand (type) {\n const scale = this.is24hrAfter12 ? 'scaleY(0.6)' : ''\n return [this.$createElement('div', {\n 'class': `picker--time__clock-hand ${type}`,\n style: {\n transform: `rotate(${this.clockHand}deg) ${scale}`\n }\n })]\n },\n genHours () {\n let hours = this.is24hr ? 24 : 12\n const children = []\n let start = 0\n\n if (hours === 12) {\n hours++\n start = 1\n }\n\n for (let i = start; i < hours; i++) {\n children.push(this.$createElement('span', {\n 'class': {\n 'active': i === this.hour,\n 'disabled': !this.isAllowed('hour', i)\n },\n style: this.getTransform(i),\n domProps: { innerHTML: `${i}` }\n }))\n }\n\n return children\n },\n genMinutes () {\n const children = []\n\n for (let i = 0; i < 60; i = i + 5) {\n let num = i\n\n if (num < 10) num = `0${num}`\n if (num === 60) num = '00'\n\n children.push(this.$createElement('span', {\n 'class': {\n 'active': num.toString() === this.minute.toString(),\n 'disabled': !this.isAllowed('minute', i)\n },\n style: this.getTransform(i),\n domProps: { innerHTML: `${num}` }\n }))\n }\n\n return children\n },\n getTransform (i) {\n const { x, y } = this.getPosition(i)\n\n return { transform: `translate(${x}px, ${y}px)` }\n },\n getPosition (i) {\n const radiusPercentage = this.selectingHour &&\n this.is24hr &&\n i >= 12 ? 0.5 : 0.8\n const r = this.radius * radiusPercentage\n i = this.selectingHour && this.is24hr ? i % 12 : i\n return {\n x: Math.round(Math.sin(i * this.degrees) * r),\n y: Math.round(-Math.cos(i * this.degrees) * r)\n }\n },\n changeHour (time) {\n let range = this.generateRange('hour', this.hour)\n\n time < 0 && (range = range.reverse().slice(1))\n this.hour = range.find((h) => {\n return this.allowedHours ? this.isAllowed('hour', h) : true\n })\n\n return true\n },\n changeMinute (time) {\n const current = Number(this.minute)\n let range = this.generateRange('minute', current)\n\n time < 0 && (range = range.reverse().slice(1))\n const minute = range.find((m) => {\n return this.allowedMinutes ? this.isAllowed('minute', m) : true\n })\n\n this.minute = minute < 10 ? `0${minute}` : minute\n\n return true\n },\n onMouseDown (e) {\n e.preventDefault()\n\n this.isDragging = true\n this.onDragMove(e)\n },\n onMouseUp () {\n this.isDragging = false\n !this.selectingHour && this.autosave && this.save()\n if (this.hasChanged) {\n this.selectingHour = false\n this.hasChanged = false\n }\n },\n onDragMove (e) {\n e.preventDefault()\n if (!this.isDragging && e.type !== 'click') return\n\n const rect = this.$refs.clock.getBoundingClientRect()\n const center = { x: rect.width / 2, y: 0 - rect.width / 2 }\n const clientY = 'touches' in e ? e.touches[0].clientY : e.clientY\n const clientX = 'touches' in e ? e.touches[0].clientX : e.clientX\n const coords = {\n y: rect.top - clientY,\n x: clientX - rect.left\n }\n\n const selecting = this.selectingHour ? 'hour' : 'minute'\n let value = Math.round(this.angle(center, coords) / this.degreesPerUnit)\n\n if (this.selectingHour && this.is24hr) {\n const insideClick = this.euclidean(center, coords) / this.radius < 0.65\n value = insideClick ? value + 12 : value\n\n // Necessary to fix edge case when selecting left part of 0 and 12\n value = this.angle(center, coords) >= 345 ? (value + 12) % 24 : value\n }\n\n if (this.isAllowed(selecting, value)) {\n this[selecting] = value\n this.hasChanged = true\n }\n },\n euclidean (p0, p1) {\n const dx = Math.abs(p1.x - p0.x)\n const dy = Math.abs(p1.y - p0.y)\n\n return Math.sqrt(dx * dx + dy * dy)\n },\n angle (center, p1) {\n var p0 = {\n x: center.x,\n y: center.y + Math.sqrt(\n Math.abs(p1.x - center.x) * Math.abs(p1.x - center.x) +\n Math.abs(p1.y - center.y) * Math.abs(p1.y - center.y))\n }\n\n const value = 2 * Math.atan2(p1.y - p0.y, p1.x - p0.x)\n return Math.abs(value * 180 / Math.PI)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTimePicker/mixins/time-body.js","import {\n createSimpleFunctional\n} from '../../util/helpers'\n\nimport VToolbar from './VToolbar'\nimport VToolbarSideIcon from './VToolbarSideIcon'\n\nexport { VToolbar, VToolbarSideIcon }\nexport const VToolbarTitle = createSimpleFunctional('toolbar__title')\nexport const VToolbarItems = createSimpleFunctional('toolbar__items')\n\nVToolbar.install = function install (Vue) {\n Vue.component('v-toolbar', VToolbar)\n Vue.component('v-toolbar-items', VToolbarItems)\n Vue.component('v-toolbar-title', VToolbarTitle)\n Vue.component('v-toolbar-side-icon', VToolbarSideIcon)\n}\n\nexport default VToolbar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VToolbar/index.js","require('../../stylus/components/_toolbar.styl')\n\nimport Applicationable from '../../mixins/applicationable'\nimport Themeable from '../../mixins/themeable'\n\nexport default {\n name: 'v-toolbar',\n\n mixins: [Applicationable, Themeable],\n\n data: () => ({\n heights: {\n mobileLandscape: 48,\n mobile: 56,\n desktop: 64,\n dense: 48\n },\n denseHeight: 48,\n defaultHeight: 56,\n prominentHeight: 64,\n isExtended: false,\n isScrollingProxy: false,\n marginTop: 0,\n previousScroll: null,\n target: null\n }),\n\n props: {\n absolute: Boolean,\n card: Boolean,\n clippedLeft: Boolean,\n clippedRight: Boolean,\n dense: Boolean,\n extended: Boolean,\n fixed: Boolean,\n flat: Boolean,\n floating: Boolean,\n height: [Number, String],\n manualScroll: {\n type: Boolean,\n default: null\n },\n prominent: Boolean,\n scrollOffScreen: Boolean,\n scrollTarget: String,\n scrollThreshold: {\n type: Number,\n default: 100\n }\n },\n\n computed: {\n computedHeight () {\n if (this.height) return this.height\n if (this.dense) return this.heights.dense\n if (this.prominent ||\n this.$vuetify.breakpoint.mdAndUp\n ) return this.heights.desktop\n if (this.$vuetify.breakpoint.width >\n this.$vuetify.breakpoint.height\n ) return this.mobileLandscape\n\n return this.heights.mobile\n },\n computedMarginTop () {\n return this.marginTop + this.$vuetify.application.bar\n },\n classes () {\n return {\n 'toolbar': true,\n 'elevation-0': this.flat,\n 'toolbar--absolute': this.absolute,\n 'toolbar--card': this.card,\n 'toolbar--clipped': this.clippedLeft || this.clippedRight,\n 'toolbar--dense': this.dense,\n 'toolbar--fixed': this.fixed,\n 'toolbar--floating': this.floating,\n 'toolbar--prominent': this.prominent,\n 'toolbar--extended': this.isExtended,\n 'theme--dark': this.dark,\n 'theme--light': this.light\n }\n },\n isScrolling: {\n get () {\n return this.manualScroll != null\n ? this.manualScroll\n : this.isScrollingProxy\n },\n set (val) {\n this.isScrollingProxy = val\n }\n },\n paddingLeft () {\n if (!this.app || this.clippedLeft) return 0\n\n return this.$vuetify.application.left\n },\n paddingRight () {\n if (!this.app || this.clippedRight) return 0\n\n return this.$vuetify.application.right\n },\n styles () {\n return {\n marginTop: `${this.computedMarginTop}px`,\n paddingLeft: `${this.paddingLeft}px`,\n paddingRight: `${this.paddingRight}px`\n }\n }\n },\n\n watch: {\n isScrolling (val) {\n this.whenScrolled(val)\n }\n },\n\n mounted () {\n this.whenScrolled(this.isScrolling)\n },\n\n destroyed () {\n if (this.app) this.$vuetify.application.top = 0\n },\n\n methods: {\n onScroll () {\n if (typeof window === 'undefined') return\n\n if (!this.target) {\n this.target = this.scrollTarget\n ? document.querySelector(this.scrollTarget)\n : window\n }\n\n const currentScroll = this.scrollTarget\n ? this.target.scrollTop\n : this.target.pageYOffset || document.documentElement.scrollTop\n\n if (currentScroll < this.scrollThreshold) return\n\n if (this.previousScroll === null) {\n this.previousScroll = currentScroll\n }\n\n this.isScrollingProxy = this.previousScroll < currentScroll\n\n this.previousScroll = currentScroll\n },\n updateApplication () {\n if (!this.app) return\n\n this.$vuetify.application.top = !this.fixed && !this.absolute\n ? 0\n : this.isExtended && !this.isScrolling\n ? this.computedHeight * 2\n : this.computedHeight\n },\n whenScrolled (val) {\n this.marginTop = val\n ? -this.$refs.content.clientHeight - 6\n : 0\n\n this.updateApplication()\n }\n },\n\n render (h) {\n this.isExtended = this.extended || !!this.$slots.extension\n this.updateApplication()\n\n const children = []\n const data = {\n 'class': this.classes,\n style: this.styles,\n on: this.$listeners\n }\n\n if (this.scrollOffScreen) {\n data.directives = [{\n name: 'scroll',\n value: {\n callback: this.onScroll,\n target: this.scrollTarget\n }\n }]\n }\n\n children.push(h('div', {\n staticClass: 'toolbar__content',\n style: { height: `${this.computedHeight}px` },\n ref: 'content'\n }, this.$slots.default))\n\n if (this.isExtended) {\n children.push(h('div', {\n staticClass: 'toolbar__extension',\n style: { height: `${this.computedHeight}px` }\n }, this.$slots.extension))\n }\n\n return h('nav', data, children)\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VToolbar/VToolbar.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_toolbar.styl\n// module id = 212\n// module chunks = 0","import VBtn from '../../components/VBtn'\nimport VIcon from '../../components/VIcon'\n\nexport default {\n name: 'v-toolbar-side-icon',\n\n functional: true,\n\n render (h, { slots, listeners, props, data }) {\n const classes = data.staticClass\n ? `${data.staticClass} toolbar__side-icon`\n : 'toolbar__side-icon'\n\n const d = Object.assign(data, {\n staticClass: classes,\n props: Object.assign(props, {\n icon: true\n }),\n on: listeners\n })\n\n const defaultSlot = slots().default\n\n return h(VBtn, d, defaultSlot || [h(VIcon, 'menu')])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VToolbar/VToolbarSideIcon.js","import VTooltip from './VTooltip'\n\nVTooltip.install = function install (Vue) {\n Vue.component(VTooltip.name, VTooltip)\n}\n\nexport default VTooltip\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTooltip/index.js","require('../../stylus/components/_tooltips.styl')\n\n// Mixins\nimport Delayable from '../../mixins/delayable'\nimport Dependent from '../../mixins/dependent'\nimport Colorable from '../../mixins/colorable'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable'\nimport Toggleable from '../../mixins/toggleable'\n\nexport default {\n name: 'v-tooltip',\n\n mixins: [Colorable, Dependent, Delayable, Detachable, Menuable, Toggleable],\n\n data: () => ({\n calculatedMinWidth: 0\n }),\n\n props: {\n debounce: {\n type: [Number, String],\n default: 0\n },\n fixed: {\n type: Boolean,\n default: true\n },\n tag: {\n type: String,\n default: 'span'\n },\n transition: String,\n zIndex: {\n default: null\n }\n },\n\n computed: {\n calculatedLeft () {\n const { activator, content } = this.dimensions\n let left = 0\n\n if (this.top || this.bottom) {\n left = (\n activator.left +\n (activator.width / 2) -\n (content.width / 2)\n )\n } else if (this.left || this.right) {\n left = (\n activator.left +\n (this.right ? activator.width : -content.width) +\n (this.right ? 10 : -10)\n )\n }\n\n return `${this.calcXOverflow(left)}px`\n },\n calculatedTop () {\n const { activator, content } = this.dimensions\n let top = 0\n\n if (this.top || this.bottom) {\n top = (\n activator.top -\n (this.top ? content.height : -content.height) -\n (this.top ? 10 : -20)\n )\n } else if (this.left || this.right) {\n top = (\n activator.top +\n (activator.height / 2) -\n (content.height / 2)\n )\n }\n\n return `${this.calcYOverflow(top + this.pageYOffset)}px`\n },\n classes () {\n return {\n 'tooltip--absolute': this.absolute,\n 'tooltip--fixed': this.fixed && !this.absolute,\n 'tooltip--top': this.top,\n 'tooltip--right': this.right,\n 'tooltip--bottom': this.bottom,\n 'tooltip--left': this.left\n }\n },\n computedTransition () {\n if (this.transition) return this.transition\n if (this.top) return 'slide-y-reverse-transition'\n if (this.right) return 'slide-x-transition'\n if (this.bottom) return 'slide-y-transition'\n if (this.left) return 'slide-x-reverse-transition'\n },\n offsetY () {\n this.top || this.bottom\n },\n offsetX () {\n return this.left || this.right\n },\n styles () {\n return {\n left: this.calculatedLeft,\n opacity: this.isActive ? 0.9 : 0,\n top: this.calculatedTop,\n zIndex: this.zIndex || this.activeZIndex\n }\n }\n },\n\n methods: {\n activate () {\n // Update coordinates and dimensions of menu\n // and its activator\n this.updateDimensions()\n // Start the transition\n requestAnimationFrame(this.startTransition)\n }\n },\n\n render (h) {\n const tooltip = h('div', {\n staticClass: 'tooltip__content',\n 'class': {\n [this.color]: this.color,\n [this.contentClass]: true,\n 'menuable__content__active': this.isActive\n },\n style: this.styles,\n attrs: this.attrs,\n directives: [{\n name: 'show',\n value: this.isContentActive\n }],\n ref: 'content'\n }, this.$slots.default)\n\n return h(this.tag, {\n staticClass: 'tooltip',\n 'class': this.classes\n }, [\n h('transition', {\n props: {\n name: this.computedTransition\n }\n }, [tooltip]),\n h('span', {\n on: {\n mouseenter: () => {\n this.runDelay('open', () => (this.isActive = true))\n },\n mouseleave: () => {\n this.runDelay('close', () => (this.isActive = false))\n }\n },\n ref: 'activator'\n }, this.$slots.activator)\n ])\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/VTooltip/VTooltip.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_tooltips.styl\n// module id = 216\n// module chunks = 0","import ClickOutside from './click-outside'\nimport Resize from './resize'\nimport Ripple from './ripple'\nimport Scroll from './scroll'\nimport Touch from './touch'\n\nexport {\n ClickOutside,\n Ripple,\n Resize,\n Scroll,\n Touch\n}\n\nexport default function install (Vue) {\n Vue.directive('click-outside', ClickOutside)\n Vue.directive('ripple', Ripple)\n Vue.directive('resize', Resize)\n Vue.directive('scroll', Scroll)\n Vue.directive('touch', Touch)\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/index.js","function inserted (el, binding) {\n const callback = typeof binding.value === 'function'\n ? binding.value\n : binding.value.callback\n const options = binding.value.options || { passive: true }\n let target = binding.value.target || window\n if (target === 'undefined') return\n\n if (target !== window) {\n target = document.querySelector(target)\n }\n\n target.addEventListener('scroll', callback, options)\n\n el._onScroll = {\n target,\n options\n }\n}\n\nfunction unbind (el, binding) {\n const { target, options } = el._onScroll\n\n target.removeEventListener('scroll', binding.callback, options)\n}\n\nexport default {\n name: 'scroll',\n inserted,\n unbind\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/scroll.js"],"sourceRoot":""} \ No newline at end of file diff --git a/vuetify.0.16.1.patched/vuetify.min.js b/vuetify.0.16.1.patched/vuetify.min.js index 481a739..e6fbd32 100644 --- a/vuetify.0.16.1.patched/vuetify.min.js +++ b/vuetify.0.16.1.patched/vuetify.min.js @@ -3,4 +3,4 @@ * Forged by John Leider * Released under the MIT License. */ -!(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Vuetify=e():t.Vuetify=e()})(this,(function(){return (function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=5)})([(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e,i){"use strict";function n(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(document._loadCallbacks||(document._loadCallbacks=[]),"complete"===document.readyState)return t();document._loadCallbacks.push(t)}function s(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:"div",i=arguments[2];return i=i||t.replace(/__/g,"-"),{name:"v-"+i,functional:!0,render:function(i,n){var s=n.data,r=n.children;return s.staticClass=(t+" "+(s.staticClass||"")).trim(),i(e,s,r)}}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top center 0",i=arguments[2];return{name:t,functional:!0,props:{origin:{type:String,default:e}},render:function(e,n){return n.data=n.data||{},n.data.props={name:t},n.data.on=n.data.on||{},Object.isExtensible(n.data.on)||(n.data.on=nt({},n.data.on)),i&&(n.data.props.mode=i),n.data.on.beforeEnter=function(t){t.style.transformOrigin=n.props.origin,t.style.webkitTransformOrigin=n.props.origin},e("transition",n.data,n.children)}}}function a(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"in-out";return{name:t,functional:!0,props:{css:{type:Boolean,default:i},mode:{type:String,default:n}},render:function(i,n){return i("transition",{props:nt({},n.props,{name:t}),on:e},n.children)}}}function l(t,e,i){var n=function n(){i(),t.removeEventListener(e,n,!1)};t.addEventListener(e,n,!1)}function c(t,e){if(e&&e.constructor===String){e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,"");for(var i=e.split("."),n=0,s=i.length;n0&&void 0!==arguments[0]?arguments[0]:"value",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"input";return{model:{prop:e,event:i},props:f({},e,{required:!1}),data:function(){return{isActive:!!this[e]}},watch:(t={},f(t,e,(function(t){this.isActive=!!t})),f(t,"isActive",(function(t){!!t!==this[e]&&this.$emit(i,t)})),t)}}function v(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function g(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{closeDependents:!0};return{props:{closeDependents:{type:Boolean,default:t.closeDependents},isDependent:{type:Boolean,default:t.isDependent}},methods:{getOpenDependents:function(){return this.closeDependents?b(this.$children):[]},getOpenDependentElements:function(){return this.getOpenDependents().map((function(t){return t.getClickableDependentElements()}))},getClickableDependentElements:function(){var t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),t.push.apply(t,g(this.getOpenDependentElements())),t}},watch:{isActive:function(t){if(!t){var e=!0,i=!1,n=void 0;try{for(var s,r=this.getOpenDependents()[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){s.value.isActive=!1}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}}}}}}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{stackClass:"unspecified"};return{computed:{activeZIndex:function(){var e=t.content||this.$refs.content;return this.isActive?this.getMaxZIndex((t.exclude||function(){return[e]})())+2:h(e)}},methods:{getMaxZIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=t.base||this.$el,n=[t.minZIndex,h(i)],s=document.getElementsByClassName(t.stackClass),r=!0,o=!1,a=void 0;try{for(var l,c=s[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var u=l.value;e.includes(u)||n.push(h(u))}}catch(t){o=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return Math.max.apply(Math,n)}}}}function x(t,e,i,n){if(t&&n.context.isActive){var s=i.value||function(){return!0},r=s.callback||s,o=(s.include||function(){return[]})();o.push(e),!k(t,o)&&r(t)&&setTimeout((function(){return n.context.isActive=!1}),0)}}function k(t,e){var i=t.clientX,n=t.clientY,s=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(s=(a=l.next()).done);s=!0){if($(a.value,i,n))return!0}}catch(t){r=!0,o=t}finally{try{!s&&l.return&&l.return()}finally{if(r)throw o}}return!1}function $(t,e,i){var n=t.getBoundingClientRect();return e>=n.left&&e<=n.right&&i>=n.top&&i<=n.bottom}function _(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function T(t,e){["transform","webkitTransform"].forEach((function(i){t.style[i]=e}))}function S(t,e,i){!1!==e.value&&("ontouchstart"in window&&(t.addEventListener("touchend",(function(){return Mt.hide(t)}),!1),t.addEventListener("touchcancel",(function(){return Mt.hide(t)}),!1)),t.addEventListener("mousedown",(function(i){return Mt.show(i,t,e)}),!1),t.addEventListener("mouseup",(function(){return Mt.hide(t)}),!1),t.addEventListener("mouseleave",(function(){return Mt.hide(t)}),!1),t.addEventListener("dragstart",(function(){return Mt.hide(t)}),!1))}function C(t,e){t.removeEventListener("touchstart",(function(i){return Mt.show(i,t,e)}),!1),t.removeEventListener("mousedown",(function(i){return Mt.show(i,t,e)}),!1),t.removeEventListener("touchend",(function(){return Mt.hide(t)}),!1),t.removeEventListener("touchcancel",(function(){return Mt.hide(t)}),!1),t.removeEventListener("mouseup",(function(){return Mt.hide(t)}),!1),t.removeEventListener("mouseleave",(function(){return Mt.hide(t)}),!1),t.removeEventListener("dragstart",(function(){return Mt.hide(t)}),!1)}function A(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I(t,e){var i=e.value,n={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:i.left,right:i.right,up:i.up,down:i.down,start:i.start,move:i.move,end:i.end},s=i.parent?t.parentNode:t,r=i.options||{passive:!0};s&&(s.addEventListener("touchstart",(function(t){return te(t,n)}),r),s.addEventListener("touchend",(function(t){return ee(t,n)}),r),s.addEventListener("touchmove",(function(t){return ie(t,n)}),r))}function B(t,e){var i=e.value,n=i.parent?t.parentNode:t;n&&(n.removeEventListener("touchstart",te),n.removeEventListener("touchend",ee),n.removeEventListener("touchmove",ie))}function E(t){t.component("v-bottom-sheet-transition",ue),t.component("v-carousel-transition",he),t.component("v-carousel-reverse-transition",de),t.component("v-dialog-transition",ge),t.component("v-dialog-bottom-transition",be),t.component("v-fab-transition",ve),t.component("v-fade-transition",ye),t.component("v-menu-transition",me),t.component("v-scale-transition",we),t.component("v-slide-x-transition",xe),t.component("v-slide-x-reverse-transition",ke),t.component("v-slide-y-transition",$e),t.component("v-slide-y-reverse-transition",_e),t.component("v-tab-reverse-transition",fe),t.component("v-tab-transition",pe),t.component("v-expand-transition",Te),t.component("v-row-expand-transition",Se)}function D(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function O(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function V(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function L(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{},i={load:K,application:{bar:0,top:0,bottom:0,left:0,right:0},breakpoint:{},touchSupport:!1};t.util.defineReactive({},"breakpoint",i),t.util.defineReactive({},"application",i),t.prototype.$vuetify=i,e.transitions&&Object.keys(e.transitions).forEach((function(i){var n=e.transitions[i];void 0!==n.name&&n.name.startsWith("v-")&&t.component(n.name,n)})),e.directives&&Object.keys(e.directives).forEach((function(i){var n=e.directives[i];t.directive(n.name,n)})),e.components&&Object.keys(e.components).forEach((function(i){var n=e.components[i];t.use(n)}))}},Q=J,tt={data:function(){return{clientWidth:0,clientHeight:0}},computed:{breakpoint:function(){var t=this.clientWidth<600,e=this.clientWidth<960&&!t,i=this.clientWidth<1264&&!(e||t),n=this.clientWidth<1904&&!(i||e||t),s=this.clientWidth>=1904&&!(n||i||e||t),r=t,o=e,a=(t||e)&&!(i||n||s),l=!t&&(e||i||n||s),c=i,u=(t||e||i)&&!(n||s),h=!(t||e)&&(i||n||s),d=n,p=(t||e||i||n)&&!s,f=!(t||e||i)&&(n||s),m=s,v=void 0;switch(!0){case t:v="xs";break;case e:v="sm";break;case i:v="md";break;case n:v="lg";break;default:v="xl"}return{xs:t,sm:e,md:i,lg:n,xl:s,name:v,xsOnly:r,smOnly:o,smAndDown:a,smAndUp:l,mdOnly:c,mdAndDown:u,mdAndUp:h,lgOnly:d,lgAndDown:p,lgAndUp:f,xlOnly:m,width:this.clientWidth,height:this.clientHeight}}},watch:{breakpoint:function(t){this.$vuetify.breakpoint=t}},methods:{onResize:function(){this.clientWidth=Math.max(document.documentElement.clientWidth,window.innerWidth||0),this.clientHeight=Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}},et=tt,it={props:{dark:Boolean,light:Boolean},computed:{themeClasses:function(){return{"theme--light":this.light,"theme--dark":this.dark}}}},nt=Object.assign||function(t){for(var e=1;e1&&(i+=" text--"+e[1]),t[i]=!!this.color,t}}},ct={props:{primary:Boolean,secondary:Boolean,success:Boolean,info:Boolean,warning:Boolean,error:Boolean}};i(12);var ut={name:"v-icon",functional:!0,mixins:[lt,ct,it],props:{disabled:Boolean,fa:Boolean,mdi:Boolean,large:Boolean,left:Boolean,medium:Boolean,right:Boolean,xLarge:Boolean},render:function(t,e){var i=e.props,n=e.data,s=e.children,r=void 0===s?[]:s;Object.keys(ct.props).forEach((function(t){i[t]&&console.warn("Context prop '"+t+"' for VIcon component has been deprecated. Use 'color' prop instead.")})),(i.fa||i.mdi)&&console.warn("The v-icon prop 'fa' and 'mdi' will be deprecated in the next release. Use 'fa' or 'mdi' prefix in icon name instead.");var o="",a="material-icons";r.length?o=r.pop().text:n.domProps&&n.domProps.textContent?(o=n.domProps.textContent,delete n.domProps.textContent):n.domProps&&n.domProps.innerHTML&&(o=n.domProps.innerHTML,delete n.domProps.innerHTML);var l=o.indexOf("-")>-1;l&&(a=o.slice(0,o.indexOf("-"))),a=i.fa?"fa":i.mdi?"mdi":a,n.staticClass=(a+" icon "+(n.staticClass||"")).trim(),n.attrs=n.attrs||{};var c=Object.assign({"icon--disabled":i.disabled,"icon--large":i.large,"icon--left":i.left,"icon--medium":i.medium,"icon--right":i.right,"icon--x-large":i.xLarge,"theme--dark":i.dark,"theme--light":i.light},i.color?lt.methods.addColorClassChecks.call(i,{}):{"primary--text":i.primary,"secondary--text":i.secondary,"success--text":i.success,"info--text":i.info,"warning--text":i.warning,"error--text":i.error}),u=Object.keys(c).filter((function(t){return c[t]})).join(" ");if(u&&(n.staticClass+=" "+u),i.fa||i.mdi){var h=i.fa?"fa":"mdi";o.indexOf(" ")>-1?n.staticClass+=" "+h+"-"+o:n.staticClass+=" "+h+"-"+o.split(" ").join("-")}return l&&(n.staticClass+=" "+o),!(l||i.fa||i.mdi)&&r.push(o),t("i",n,r)}};ut.install=function(t){t.component(ut.name,ut)};var ht=ut,dt=m(),pt=dt,ft={props:{mode:String,origin:String,transition:String}};i(11);var mt={name:"v-alert",components:{VIcon:ht},mixins:[lt,pt,ft],props:{dismissible:Boolean,icon:String},computed:{classes:function(){return v({"alert--dismissible":this.dismissible},this.color||"error",!0)}},render:function(t){var e=this,i=[t("div",this.$slots.default)];if(this.icon&&i.unshift(t("v-icon",{class:"alert__icon"},this.icon)),this.dismissible){var n=t("a",{class:"alert__dismissible",domProps:{href:"javascript:;"},on:{click:function(){return e.$emit("input",!1)}}},[t(ht,{props:{right:!0}},"cancel")]);i.push(n)}var s=t("div",{staticClass:"alert",class:this.classes,directives:[{name:"show",value:this.isActive}],on:this.$listeners},i);return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[s]):s}};mt.install=function(t){t.component(mt.name,mt)};var vt=mt;i(13);var gt={name:"v-avatar",functional:!0,props:{size:{type:String,default:"48px"},tile:Boolean},render:function(t,e){var i=e.data,n=e.props,s=e.children;return i.staticClass=("avatar "+(i.staticClass||"")).trim(),i.style=i.style||{},n.tile&&(i.staticClass+=" avatar--tile"),i.style.height=n.size,i.style.width=n.size,t("div",i,s)}};gt.install=function(t){t.component(gt.name,gt)};var bt=gt;i(14);var yt={name:"v-badge",mixins:[lt,pt],props:{bottom:Boolean,color:{type:String,default:"primary"},left:Boolean,overlap:Boolean,transition:{type:String,default:"fab-transition"},value:{default:!0}},computed:{classes:function(){return{"badge--bottom":this.bottom,"badge--left":this.left,"badge--overlap":this.overlap}}},render:function(t){var e=this.$slots.badge?[t("span",{staticClass:"badge__badge",class:[this.color],attrs:this.attrs,directives:[{name:"show",value:this.isActive}]},this.$slots.badge)]:null;return t("span",{staticClass:"badge",class:this.classes},[this.$slots.default,t("transition",{props:{name:this.transition}},e)])}};yt.install=function(t){t.component(yt.name,yt)};var wt=yt,xt={data:function(){return{buttons:[],listeners:[]}},methods:{getValue:function(t){return null!=this.buttons[t].value?this.buttons[t].value:null!=this.buttons[t].$el.value&&""!==this.buttons[t].$el.value?this.buttons[t].$el.value:t},update:function(){var t=this,e=[];this.buttons.forEach((function(i,n){var s=i.$el;s.dataset||(s.dataset={}),s.removeAttribute("data-only-child"),t.isSelected(n)?(s.setAttribute("data-selected",!0),s.classList.contains("btn--router")||s.classList.add("btn--active"),e.push(n)):(s.removeAttribute("data-selected"),s.classList.contains("btn--router")||s.classList.remove("btn--active")),s.dataset.index=n})),1===e.length&&this.buttons[e[0]].$el.setAttribute("data-only-child",!0)}},mounted:function(){var t=this;this.$vuetify.load((function(){t.buttons=t.$children,t.buttons.forEach((function(e,i){t.listeners.push(t.updateValue.bind(t,i)),e.$on("click",t.listeners[i])})),t.update()}))},beforeDestroy:function(){var t=this;this.buttons.forEach((function(e,i){e.$off("click",t.listeners[i])}))}};i(15);var kt={name:"v-bottom-nav",mixins:[xt],props:{absolute:Boolean,active:[Number,String],shift:Boolean,value:{required:!1}},watch:{active:function(){this.update()}},computed:{classes:function(){return{"bottom-nav":!0,"bottom-nav--absolute":this.absolute,"bottom-nav--shift":this.shift,"bottom-nav--active":this.value}}},methods:{isSelected:function(t){var e=this.getValue(t);return this.active===e},updateValue:function(t){var e=this.getValue(t);this.$emit("update:active",e)}},render:function(t){return t("div",{class:this.classes},this.$slots.default)}};kt.install=function(t){t.component(kt.name,kt)};var $t=kt,_t=y(),Tt=_t,St={data:function(){return{isBooted:!1}},props:{lazy:Boolean},watch:{isActive:function(){this.isBooted=!0}},methods:{showLazyContent:function(t){return this.isBooted||!this.lazy?t:null}}},Ct={mixins:[St],props:{contentClass:{default:""}},mounted:function(){this.$vuetify.load(this.initDetach)},beforeDestroy:function(){if(this.$refs.content)try{this.$refs.content.parentNode.removeChild(this.$refs.content)}catch(t){}},methods:{initDetach:function(){if(!this._isDestroyed){var t=document.querySelector("[data-app]");if(!t)return console.warn("Application is missing component.");this.$refs.content&&t.insertBefore(this.$refs.content,t.firstChild)}}}};i(18);var At={data:function(){return{overlay:null,overlayOffset:0,overlayTimeout:null,overlayTransitionDuration:500}},props:{hideOverlay:Boolean},beforeDestroy:function(){this.removeOverlay()},methods:{genOverlay:function(){var t=this;if(!this.isActive||this.hideOverlay||this.isActive&&this.overlayTimeout||this.overlay)return clearTimeout(this.overlayTimeout),this.overlay&&this.overlay.classList.add("overlay--active");if(this.overlay=document.createElement("div"),this.overlay.className="overlay",this.absolute&&(this.overlay.className+=" overlay--absolute"),void 0!==this.activeZIndex&&(this.overlay.style.zIndex=this.activeZIndex-1),this.hideScroll(),this.absolute){var e=this.$el.parentNode;e.insertBefore(this.overlay,e.firstChild)}else document.querySelector("[data-app]").appendChild(this.overlay);return this.overlay.clientHeight,requestAnimationFrame((function(){t.overlay.className+=" overlay--active"})),!0},removeOverlay:function(){var t=this;if(!this.overlay)return this.showScroll();this.overlay.classList.remove("overlay--active"),this.overlayTimeout=setTimeout((function(){try{t.overlay.parentNode.removeChild(t.overlay),t.overlay=null,t.showScroll()}catch(t){}clearTimeout(t.overlayTimeout),t.overlayTimeout=null}),this.overlayTransitionDuration)},scrollListener:function(t){if("keydown"===t.type){var e=[38,33],i=[40,34];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar:function(t){return["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])&&t.scrollHeight>t.clientHeight},shouldScroll:function(t,e){return 0===t.scrollTop&&e<0||t.scrollTop+t.clientHeight===t.scrollHeight&&e>0},isInside:function(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath:function(t){var e=t.path||this.composedPath(t),i=t.deltaY||-t.wheelDelta;if("keydown"===t.type&&e[0]===document.body){var n=this.$refs.dialog,s=window.getSelection().anchorNode;return!this.hasScrollbar(n)||!this.isInside(s,n)||this.shouldScroll(n,i)}var r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var u=l.value;if([document,document.documentElement,this.$refs.content].includes(u))return!0;if(this.hasScrollbar(u))return this.shouldScroll(u,i)}}catch(t){o=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return!0},composedPath:function(t){if(t.composedPath)return t.composedPath();for(var e=[],i=t.target;i;){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}},hideScroll:function(){this.$vuetify.breakpoint.mdAndDown?document.documentElement.classList.add("overflow-y-hidden"):(window.addEventListener("wheel",this.scrollListener),window.addEventListener("keydown",this.scrollListener))},showScroll:function(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}},It=(w(),{name:"click-outside",bind:function(t,e,i){i.context.$vuetify.load((function(){var n=function(n){return x(n,t,e,i)};document.addEventListener("click",n,!0),t._clickOutside=n}))},unbind:function(t){document.removeEventListener("click",t._clickOutside,!0)}});i(17);var Bt=y({closeDependents:!0,isDependent:!1}),Et=w({minZIndex:200,stackClass:"dialog__content__active"}),Dt={name:"v-dialog",mixins:[Bt,Ct,At,Et,pt],directives:{ClickOutside:It},props:{disabled:Boolean,persistent:Boolean,fullscreen:Boolean,fullWidth:Boolean,origin:{type:String,default:"center center"},width:{type:[String,Number],default:290},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"}},computed:{classes:function(){var t;return t={},_(t,("dialog "+this.contentClass).trim(),!0),_(t,"dialog--active",this.isActive),_(t,"dialog--persistent",this.persistent),_(t,"dialog--fullscreen",this.fullscreen),_(t,"dialog--stacked-actions",this.stackedActions&&!this.fullscreen),_(t,"dialog--scrollable",this.scrollable),t},contentClasses:function(){return{dialog__content:!0,dialog__content__active:this.isActive}}},watch:{isActive:function(t){t?(!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.fullscreen&&this.hideScroll(),this.$refs.content.focus()):this.fullscreen?this.showScroll():this.removeOverlay()}},mounted:function(){var t=this;this.isBooted=this.isActive,this.$vuetify.load((function(){return t.isActive&&t.genOverlay()}))},methods:{closeConditional:function(t){return!this.persistent&&h(this.$refs.content)>=this.getMaxZIndex()}},render:function(t){var e=this,i=[],n={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:{callback:this.closeConditional,include:function(){return e.getOpenDependentElements()}}},{name:"show",value:this.isActive}],on:{click:function(t){return t.stopPropagation()}}};this.fullscreen||(n.style={width:isNaN(this.width)?this.width:this.width+"px"}),this.$slots.activator&&i.push(t("div",{class:"dialog__activator",on:{click:function(t){e.disabled||(e.isActive=!e.isActive)}}},[this.$slots.activator]));var s=t("transition",{props:{name:this.transition||"",origin:this.origin}},[t("div",n,this.showLazyContent(this.$slots.default))]);return i.push(t("div",{class:this.contentClasses,style:{zIndex:this.activeZIndex},ref:"content"},[s])),t("div",{class:"dialog__container",style:{display:!this.$slots.activator||this.fullWidth?"block":"inline-block"}},i)}},Ot=Object.assign||function(t){for(var e=1;ee.clientHeight?e.clientWidth:e.clientHeight;o.className="ripple__animation",o.style.width=a*(s.center?1:2)+"px",o.style.height=o.style.width,e.appendChild(r);var l=window.getComputedStyle(e);"absolute"!==l.position&&"fixed"!==l.position&&(e.style.position="relative");var c=e.getBoundingClientRect(),u=s.center?"50%":t.clientX-c.left+"px",h=s.center?"50%":t.clientY-c.top+"px";o.classList.add("ripple__animation--enter"),o.classList.add("ripple__animation--visible"),T(o,"translate(-50%, -50%) translate("+u+", "+h+") scale3d(0.01,0.01,0.01)"),o.dataset.activated=Date.now(),setTimeout((function(){o.classList.remove("ripple__animation--enter"),T(o,"translate(-50%, -50%) translate("+u+", "+h+") scale3d(0.99,0.99,0.99)")}),0)},hide:function(t){var e=t.getElementsByClassName("ripple__animation");if(0!==e.length){var i=e[e.length-1],n=Date.now()-Number(i.dataset.activated),s=400-n;s=s<0?0:s,setTimeout((function(){i.classList.remove("ripple__animation--visible"),setTimeout((function(){try{e.length<1&&(t.style.position=null),i.parentNode&&t.removeChild(i.parentNode)}catch(t){}}),300)}),s)}}},jt={name:"ripple",bind:S,unbind:C},Ht=Object.assign||function(t){for(var e=1;e-1){if(this.mandatory&&1===i.length)return;i.length>=1&&i.splice(n,1)}else i.push(e);this.$emit("change",i)}},mounted:function(){this.items.length>0&&console.warn("The 'items' props has been deprecated. v-btn-toggle now has a default slot where you can place buttons.")},render:function(t){return t("div",{class:this.classes},this.$slots.default)}};Gt.install=function(t){t.component(Gt.name,Gt)};var Ut=Gt;i(22);var Zt={name:"v-card",mixins:[Nt,it],props:{flat:Boolean,height:{type:String,default:"auto"},hover:Boolean,img:String,raised:Boolean,tag:{type:String,default:"div"},tile:Boolean},computed:{classes:function(){return{card:!0,"card--flat":this.flat,"card--horizontal":this.horizontal,"card--hover":this.hover,"card--raised":this.raised,"card--tile":this.tile,"theme--light":this.light,"theme--dark":this.dark}},styles:function(){var t={height:isNaN(this.height)?this.height:this.height+"px"};return this.img&&(t.background="url("+this.img+") center center / cover no-repeat"),t}},render:function(t){var e=this.generateRouteLink(),i=e.tag,n=e.data;return n.style=this.styles,t(i,n,this.$slots.default)}},Kt={name:"v-card-media",props:{contain:Boolean,height:{type:[Number,String],default:"auto"},src:{type:String}},render:function(t){var e={class:"card__media",style:{height:isNaN(this.height)?this.height:this.height+"px"},on:this.$listeners},i=[];return this.src&&i.push(t("div",{class:"card__media__background",style:{background:"url("+this.src+") center center / "+(this.contain?"contain":"cover")+" no-repeat"}})),i.push(t("div",{class:"card__media__content"},this.$slots.default)),t("div",e,i)}},Jt={name:"v-card-title",functional:!0,props:{primaryTitle:Boolean},render:function(t,e){var i=e.data,n=e.props,s=e.children;return i.staticClass=("card__title "+(i.staticClass||"")).trim(),n.primaryTitle&&(i.staticClass+=" card__title--primary"),t("div",i,s)}};Zt.install=function(t){var e=r("card__actions"),i=r("card__text");t.component(Zt.name,Zt),t.component(Kt.name,Kt),t.component(Jt.name,Jt),t.component("v-card-actions",e),t.component("v-card-text",i)};var Qt=Zt,te=function(t,e){var i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))},ee=function(t,e){var i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),ne(e)},ie=function(t,e){var i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))},ne=function(t){var e=t.touchstartX,i=t.touchendX,n=t.touchstartY,s=t.touchendY;t.offsetX=i-e,t.offsetY=s-n,ie&&t.right&&t.right(t),sn&&t.down&&t.down(t)},se={name:"touch",inserted:I,unbind:B};i(23);var re={name:"v-carousel",mixins:[St,it],directives:{Touch:se},data:function(){return{inputValue:null,items:[],slideTimeout:null,reverse:!1}},props:{cycle:{type:Boolean,default:!0},hideControls:Boolean,icon:{type:String,default:"fiber_manual_record"},interval:{type:[Number,String],default:6e3,validator:function(t){return t>0}},leftControlIcon:{type:[Boolean,String],default:"chevron_left"},rightControlIcon:{type:[Boolean,String],default:"chevron_right"},value:Number},watch:{inputValue:function(){var t=this;this.items=this.$children.filter((function(t){return t.$el.classList&&t.$el.classList.contains("carousel__item")})),this.items.forEach((function(e){return e.open(t.items[t.inputValue]._uid,t.reverse)})),this.$emit("input",this.inputValue),this.restartTimeout()},value:function(t){this.inputValue=t},interval:function(){this.restartTimeout()},cycle:function(t){t?this.restartTimeout():(clearTimeout(this.slideTimeout),this.slideTimeout=null)}},mounted:function(){this.init()},methods:{genControls:function(){return this.$createElement("div",{staticClass:"carousel__controls"},this.genItems())},genIcon:function(t,e,i){return e?this.$createElement("div",{staticClass:"carousel__"+t},[this.$createElement(qt,{props:{icon:!0,dark:this.dark||!this.light,light:this.light},on:{click:i}},[this.$createElement(ht,e)])]):null},genItems:function(){var t=this;return this.items.map((function(e,i){return t.$createElement(qt,{class:{carousel__controls__item:!0,"carousel__controls__item--active":i===t.inputValue},props:{icon:!0,dark:t.dark||!t.light,light:t.light},key:i,on:{click:t.select.bind(t,i)}},[t.$createElement(ht,t.icon)])}))},restartTimeout:function(){this.slideTimeout&&clearTimeout(this.slideTimeout),this.slideTimeout=null,(requestAnimationFrame||setTimeout)(this.startTimeout)},init:function(){this.inputValue=this.value||0},next:function(){this.reverse=!1,this.inputValue=(this.inputValue+1)%this.items.length},prev:function(){this.reverse=!0,this.inputValue=(this.inputValue+this.items.length-1)%this.items.length},select:function(t){this.reverse=t0?this.interval:6e3))}},render:function(t){return t("div",{staticClass:"carousel",directives:[{name:"touch",value:{left:this.next,right:this.prev}}]},[this.genIcon("left",this.leftControlIcon,this.prev),this.genIcon("right",this.rightControlIcon,this.next),this.hideControls?null:this.genControls(),this.$slots.default])}},oe={name:"v-carousel-item",data:function(){return{active:!1,reverse:!1}},props:{src:{type:String,required:!0},transition:{type:String,default:"tab-transition"},reverseTransition:{type:String,default:"tab-reverse-transition"}},computed:{computedTransition:function(){return this.reverse?this.reverseTransition:this.transition},styles:function(){return{backgroundImage:"url("+this.src+")"}}},methods:{open:function(t,e){this.active=this._uid===t,this.reverse=e}},render:function(t){var e=t("div",{class:{carousel__item:!0,reverse:this.reverse},style:this.styles,on:this.$listeners,directives:[{name:"show",value:this.active}]},[this.$slots.default]);return t("transition",{props:{name:this.computedTransition}},[e])}};re.install=function(t){t.component(re.name,re),t.component(oe.name,oe)};var ae=re,le={enter:function(t,e){t.style.transition="none",l(t,"transitionend",e),t.style.overflow="hidden",t.style.height=null,t.style.display="block";var i=t.clientHeight+"px";t.style.height=0,t.style.transition=null,setTimeout((function(){return t.style.height=i}),100)},afterEnter:function(t){t.style.height="auto",t.style.overflow=null},leave:function(t,e){l(t,"transitionend",e),t.style.overflow="hidden",t.style.height=t.clientHeight+"px",setTimeout((function(){return t.style.height=0}),100)}},ce={enter:function(t,e){t.td=t.parentNode,l(t,"transitionend",e);var i=t.dataset.height||t.clientHeight;t.dataset.height=i,t.style.overflow="hidden",t.style.height=0,t.td.style["border-bottom"]="1px solid rgba(0,0,0,0.12)",setTimeout((function(){t.style.height=i+"px"}),50)},afterEnter:function(t){t.style.overflow=null},leave:function(t,e){l(t,"transitionend",e),t.style.overflow="hidden",t.style.height=t.dataset.height+"px",setTimeout((function(){t.style.height=0}),50)},afterLeave:function(t){t.td.style["border-bottom"]=null}},ue=o("bottom-sheet-transition"),he=o("carousel-transition"),de=o("carousel-reverse-transition"),pe=o("tab-transition"),fe=o("tab-reverse-transition"),me=o("menu-transition"),ve=o("fab-transition","center center","out-in"),ge=o("dialog-transition"),be=o("dialog-bottom-transition"),ye=o("fade-transition"),we=o("scale-transition"),xe=o("slide-x-transition"),ke=o("slide-x-reverse-transition"),$e=o("slide-y-transition"),_e=o("slide-y-reverse-transition"),Te=a("expand-transition",le),Se=a("row-expand-transition",ce),Ce={directives:{Ripple:jt},methods:{genRipple:function(){return this.$createElement("div",{class:this.rippleClasses||"input-group--selection-controls__ripple",on:Object.assign({},{click:this.toggle},this.$listeners),directives:[{name:"ripple",value:!this.disabled&&{center:!0}}]})}}},Ae={props:{loading:{type:[Boolean,String],default:!1}},methods:{genProgress:function(){return!1===this.loading?null:this.$slots.progress||this.$createElement("v-progress-linear",{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:2,indeterminate:!0}})}}},Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Be={data:function(){return{errorBucket:[],hasFocused:!1,hasInput:!1,shouldValidate:!1,valid:!1}},props:{error:{type:Boolean},errorMessages:{type:[String,Array],default:function(){return[]}},rules:{type:Array,default:function(){return[]}},validateOnBlur:Boolean},computed:{validations:function(){return Array.isArray(this.errorMessages)?this.errorMessages.length>0?this.errorMessages:this.shouldValidate?this.errorBucket:[]:[this.errorMessages]},hasError:function(){return this.validations.length>0||this.errorMessages.length>0||this.error}},watch:{rules:{handler:function(t,e){t.length!==e.length&&this.validate()},deep:!0},inputValue:function(t){t&&!this.hasInput&&(this.hasInput=!0),this.hasInput&&!this.validateOnBlur&&(this.shouldValidate=!0)},isFocused:function(t){t||this.hasFocused||(this.hasFocused=!0,this.shouldValidate=!0,this.$emit("update:error",this.errorBucket.length>0))},hasError:function(t){this.shouldValidate&&this.$emit("update:error",t)},error:function(t){this.shouldValidate=!!t}},mounted:function(){this.shouldValidate=!!this.error,this.validate()},methods:{reset:function(){var t=this;this.$emit("input",this.isMultiple?[]:null),this.$emit("change",null),this.$nextTick((function(){t.shouldValidate=!1,t.hasFocused=!1,t.validate()}))},validate:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments[1];return e&&(this.shouldValidate=!0),this.errorBucket=[],this.rules.forEach((function(e){var n="function"==typeof e?e(void 0!==i?i:t.inputValue):e;if(!0!==n&&!["string","boolean"].includes(void 0===n?"undefined":Ie(n)))throw new TypeError("Rules should return a string or boolean, received '"+(void 0===n?"undefined":Ie(n))+"' instead");!0!==n&&t.errorBucket.push(n)})),this.valid=0===this.errorBucket.length,this.valid}}},Ee={components:{VIcon:ht},mixins:[Ae,it,Be],data:function(){return{isFocused:!1,tabFocused:!1,internalTabIndex:null,lazyValue:this.value}},props:{appendIcon:String,appendIconCb:Function,disabled:Boolean,hint:String,hideDetails:Boolean,label:String,persistentHint:Boolean,placeholder:String,prependIcon:String,prependIconCb:Function,readonly:Boolean,required:Boolean,tabindex:{default:0},toggleKeys:{type:Array,default:function(){return[13,32]}},value:{required:!1}},computed:{inputGroupClasses:function(){return Object.assign({"input-group":!0,"input-group--async-loading":!1!==this.loading,"input-group--focused":this.isFocused,"input-group--dirty":this.isDirty,"input-group--tab-focused":this.tabFocused,"input-group--disabled":this.disabled,"input-group--error":this.hasError,"input-group--append-icon":this.appendIcon,"input-group--prepend-icon":this.prependIcon,"input-group--required":this.required,"input-group--hide-details":this.hideDetails,"input-group--placeholder":!!this.placeholder,"theme--dark":this.dark,"theme--light":this.light},this.classes)},isDirty:function(){return!!this.inputValue}},methods:{groupFocus:function(t){},groupBlur:function(t){this.tabFocused=!1},genLabel:function(){return this.$createElement("label",{attrs:{for:this.$attrs.id}},this.$slots.label||this.label)},genMessages:function(){var t=this,e=[];return(this.hint&&this.isFocused||this.hint&&this.persistentHint)&&0===this.validations.length?e=[this.genHint()]:this.validations.length&&(e=this.validations.map((function(e){return t.genError(e)}))),this.$createElement("transition-group",{class:"input-group__messages",props:{tag:"div",name:"slide-y-transition"}},e)},genHint:function(){return this.$createElement("div",{class:"input-group__hint",key:this.hint,domProps:{innerHTML:this.hint}})},genError:function(t){return this.$createElement("div",{class:"input-group__error",key:t},t)},genIcon:function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="append"===t&&this.clearable&&this.isDirty,s=n?"clear":this[t+"Icon"],r=n?this.clearableCallback:this[t+"IconCb"]||i;return this.$createElement("v-icon",{attrs:{"aria-hidden":!0},class:(e={},D(e,"input-group__"+t+"-icon",!0),D(e,"input-group__icon-cb",!!r),D(e,"input-group__icon-clearable",n),e),props:{disabled:this.disabled},on:{click:function(t){r&&(t.stopPropagation(),r())}}},s)},genInputGroup:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=[],r=[],o=[];i=Object.assign({},{class:this.inputGroupClasses,attrs:{tabindex:this.disabled?-1:this.internalTabIndex||this.tabindex},on:{focus:this.groupFocus,blur:this.groupBlur,click:function(){return e.tabFocused=!1},keyup:function(t){[9,16].includes(t.keyCode)&&(e.tabFocused=!0)},keydown:function(t){e.toggle&&e.toggleKeys.includes(t.keyCode)&&(t.preventDefault(),e.toggle())}}},i),(this.$slots.label||this.label)&&s.push(this.genLabel()),r.push(t),this.prependIcon&&r.unshift(this.genIcon("prepend")),(this.appendIcon||this.clearable)&&r.push(this.genIcon("append",n));var a=this.genProgress();return a&&o.push(a),s.push(this.$createElement("div",{class:"input-group__input"},r)),o.push(this.genMessages()),this.counter&&o.push(this.genCounter()),s.push(this.$createElement("div",{class:"input-group__details"},o)),this.$createElement("div",i,s)}}},De={mixins:[Ee,lt],model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null},computed:{isActive:function(){return Array.isArray(this.inputValue)?-1!==this.inputValue.indexOf(this.value):this.trueValue&&this.falseValue?this.inputValue===this.trueValue:this.value?this.value===this.inputValue:Boolean(this.inputValue)},isDirty:function(){return this.isActive}},watch:{indeterminate:function(t){this.inputIndeterminate=t}},methods:{genLabel:function(){return this.$createElement("label",{on:{click:this.toggle},attrs:{for:this.id}},this.$slots.label||this.label)},toggle:function(){if(!this.disabled){var t=this.inputValue;if(Array.isArray(t)){t=t.slice();var e=t.indexOf(this.value);-1===e?t.push(this.value):t.splice(e,1)}else t=this.trueValue||this.falseValue?t===this.trueValue?this.falseValue:this.trueValue:this.value?this.value===this.inputValue?null:this.value:!t;this.validate(!0,t),this.$emit("change",t)}}}};i(0),i(1);var Oe={name:"v-checkbox",components:{VFadeTransition:ye,VIcon:ht},mixins:[Ce,De],data:function(){return{inputIndeterminate:this.indeterminate}},props:{indeterminate:Boolean},computed:{classes:function(){var t={checkbox:!0,"input-group--selection-controls":!0,"input-group--active":this.isActive};return this.hasError?(t["error--text"]=!0,t):this.addColorClassChecks(t)},icon:function(){return this.inputIndeterminate?"indeterminate_check_box":this.isActive?"check_box":"check_box_outline_blank"}},methods:{groupFocus:function(t){this.isFocused=!0,this.$emit("focus",t)},groupBlur:function(t){this.isFocused=!1,this.tabFocused=!1,this.$emit("blur",this.inputValue)}},render:function(t){var e=t("v-fade-transition",[t("v-icon",{staticClass:"icon--selection-control",class:{"icon--checkbox":"check_box"===this.icon},key:this.icon},this.icon)]),i={attrs:{tabindex:this.disabled?-1:this.internalTabIndex||this.tabindex,role:"checkbox","aria-checked":this.inputIndeterminate&&"mixed"||this.isActive&&"true"||"false","aria-label":this.label}};return this.genInputGroup([e,this.genRipple()],i)}};Oe.install=function(t){t.component(Oe.name,Oe)};var Ve=Oe;i(24);var Le={name:"v-chip",components:{VIcon:ht},mixins:[it,pt],props:{close:Boolean,disabled:Boolean,label:Boolean,outline:Boolean,selected:Boolean,small:Boolean,value:{type:Boolean,default:!0}},computed:{classes:function(){return{chip:!0,"chip--disabled":this.disabled,"chip--selected":this.selected,"chip--label":this.label,"chip--outline":this.outline,"chip--small":this.small,"chip--removable":this.close,"theme--light":this.light,"theme--dark":this.dark}}},render:function(t){var e=this,i=[this.$slots.default],n={class:this.classes,attrs:{tabindex:this.disabled?-1:0},directives:[{name:"show",value:this.isActive}],on:this.$listeners};if(this.close){var s={staticClass:"chip__close",on:{click:function(t){t.stopPropagation(),e.$emit("input",!1)}}};i.push(t("div",s,[t(ht,{props:{right:!0}},"cancel")]))}return t("span",n,i)}};Le.install=function(t){t.component(Le.name,Le)};var Pe=Le;i(27);var Me={name:"v-progress-linear",components:{VFadeTransition:ye,VSlideXTransition:xe},mixins:[lt],props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:7},indeterminate:Boolean,query:Boolean,value:{type:[Number,String],default:0}},computed:{styles:function(){var t={};return this.active||(t.height=0),this.indeterminate||100===parseInt(this.bufferValue,10)||(t.width=this.bufferValue+"%"),t},effectiveWidth:function(){return this.bufferValue?100*this.value/this.bufferValue:0},bufferStyles:function(){var t={};return this.active||(t.height=0),t},backgroundStyle:function(){var t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{height:this.active?"auto":0,opacity:t,width:this.bufferValue+"%"}}},methods:{genDeterminate:function(t){return t("div",{ref:"front",staticClass:"progress-linear__bar__determinate",class:O({},this.color,!0),style:{width:this.effectiveWidth+"%"}})},genBar:function(t,e){var i;return t("div",{staticClass:"progress-linear__bar__indeterminate",class:(i={},O(i,e,!0),O(i,this.color,!0),i)})},genIndeterminate:function(t){return t("div",{ref:"front",staticClass:"progress-linear__bar__indeterminate",class:{"progress-linear__bar__indeterminate--active":this.active}},[this.genBar(t,"long"),this.genBar(t,"short")])}},render:function(t){var e=t("v-fade-transition",[this.indeterminate&&this.genIndeterminate(t)]),i=t("v-slide-x-transition",[!this.indeterminate&&this.genDeterminate(t)]),n=t("div",{staticClass:"progress-linear__bar",style:this.styles},[e,i]),s=t("div",{staticClass:"progress-linear__background",class:[this.backgroundColor||this.color],style:this.backgroundStyle});return t("div",{staticClass:"progress-linear",class:{"progress-linear--query":this.query},style:{height:this.height+"px"},on:this.$listeners},[s,n])}};Me.install=function(t){t.component(Me.name,Me)};var je=Me;i(29);var He={name:"v-list",provide:function(){return{listClick:this.listClick,listClose:this.listClose}},mixins:[it],data:function(){return{uid:null,groups:[]}},props:{dense:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},computed:{classes:function(){return{list:!0,"list--two-line":this.twoLine,"list--dense":this.dense,"list--three-line":this.threeLine,"list--subheader":this.subheader,"theme--dark dark--bg":this.dark,"theme--light light--bg":this.light}}},watch:{uid:function(){var t=this;this.$children.filter((function(t){return"v-list-group"===t.$options._componentTag})).forEach((function(e){return e.toggle(t.uid)}))}},methods:{listClick:function(t,e){this.uid=e?t:this.uid===t?null:t},listClose:function(t){this.uid===t&&(this.uid=null)}},render:function(t){return t("ul",{class:this.classes,attrs:{"data-uid":this._uid}},[this.$slots.default])}},Ne={name:"v-list-group",inject:["listClick","listClose"],mixins:[St,pt],props:{group:String,noAction:Boolean},computed:{classes:function(){return{"list--group__header":!0,"list--group__header--active":this.isActive,"list--group__header--no-action":this.noAction}}},watch:{isActive:function(){this.isBooted=!0,this.isActive||this.listClose(this._uid)},$route:function(t){var e=this.matchRoute(t.path);this.group&&(e&&this.isActive!==e&&this.listClick(this._uid),this.isActive=e)}},mounted:function(){this.isBooted=this.isActive,this.group&&(this.isActive=this.matchRoute(this.$route.path)),this.isActive&&this.listClick(this._uid)},methods:{click:function(){var t=this;this.$refs.item.querySelector(".list__tile--disabled")||requestAnimationFrame((function(){return t.listClick(t._uid)}))},toggle:function(t){this.isActive=this._uid===t},matchRoute:function(t){return!!this.group&&null!==t.match(this.group)}},render:function(t){var e=t("ul",{class:"list list--group",directives:[{name:"show",value:this.isActive}],ref:"group"},this.showLazyContent(this.$slots.default));return t("div",{class:"list--group__container"},[t("div",{class:this.classes,on:Object.assign({},{click:this.click},this.$listeners),ref:"item"},[this.$slots.item]),t(Te,[e])])}},Re=Object.assign||function(t){for(var e=1;e1&&(i.staticClass+=" list__tile__action--stack"),t("div",i,n)}},We=r("list__tile__action-text","span"),Ye=r("list__tile__avatar","v-avatar"),Xe=r("list__tile__content","div"),qe=r("list__tile__title","div"),Ge=r("list__tile__sub-title","div");He.install=function(t){t.component(He.name,He),t.component(Ne.name,Ne),t.component(ze.name,ze),t.component(Fe.name,Fe),t.component("v-list-tile-action-text",We),t.component("v-list-tile-avatar",Ye),t.component("v-list-tile-content",Xe),t.component("v-list-tile-sub-title",Ge),t.component("v-list-tile-title",qe)};var Ue=He,Ze={data:function(){return{openTimeout:null,closeTimeout:null}},props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:200}},methods:{clearDelay:function(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay:function(t,e){this.clearDelay();var i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e,i)}}},Ke=w({minZIndex:6,stackClass:"menuable__content__active"}),Je={activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0},hasWindow:!1},Qe={mixins:[Ft,Ke],data:function(){return{absoluteX:0,absoluteY:0,dimensions:Object.assign({},Je),isContentActive:!1,pageYOffset:0}},props:{activator:{default:null},allowOverflow:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:Number,default:0},nudgeLeft:{type:Number,default:0},nudgeRight:{type:Number,default:0},nudgeTop:{type:Number,default:0},nudgeWidth:{type:Number,default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},computed:{hasActivator:function(){return!!this.$slots.activator||this.activator}},watch:{disabled:function(t){t&&this.callDeactivate()},isActive:function(t){this.disabled||t&&this.callActivate()||this.callDeactivate()}},methods:{absolutePosition:function(){return{offsetTop:0,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate:function(){},calcLeft:function(){var t=this.dimensions.activator,e=this.dimensions.content,i=this.left?t.right-e.width:t.left;return this.offsetX&&(i+=this.left?-t.width:t.width),this.nudgeLeft&&(i-=this.nudgeLeft),this.nudgeRight&&(i+=this.nudgeRight),i},calcTop:function(){var t=this.dimensions.activator,e=this.dimensions.content,i=this.top?t.bottom-e.height:t.top;return this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=this.nudgeTop),this.nudgeBottom&&(i+=this.nudgeBottom),i+this.pageYOffset},calcXOverflow:function(t){var e=isNaN(parseInt(this.maxWidth))?0:parseInt(this.maxWidth),i=this.getInnerWidth(),n=Math.max(this.dimensions.content.width,e),s=t+n,r=s-i;return(!this.left||this.right)&&r>0&&(t=i-n-(i>600?30:12)),t<0&&(t=12),t},calcYOverflow:function(t){var e=this.getInnerHeight(),i=this.pageYOffset+e,n=this.dimensions.activator,s=this.dimensions.content.height,r=t+s,o=i0&&void 0!==arguments[0]?arguments[0]:null;t&&t.addEventListener("click",this.activatorClickHandler)},removeActivatorEvents:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.removeEventListener("click",this.activatorClickHandler)}}},ei={methods:{genActivator:function(){if(!this.$slots.activator)return null;var t={staticClass:"menu__activator",class:{"menu__activator--active":this.hasJustFocused||this.isActive},ref:"activator",on:{}};return this.openOnHover?(t.on.mouseenter=this.mouseEnterHandler,t.on.mouseleave=this.mouseLeaveHandler):this.openOnClick&&(t.on.click=this.activatorClickHandler),this.$createElement("div",t,this.$slots.activator)},genTransition:function(){return this.transition?this.$createElement("transition",{props:{name:this.transition}},[this.genContent()]):this.genContent()},genContent:function(){var t=this,e=this.openOnHover?[]:[{name:"click-outside",value:{callback:function(){return t.closeOnClick},include:function(){return[t.$el].concat(L(t.getOpenDependentElements()))}}}];e.push({name:"show",value:this.isContentActive});var i={class:[("menu__content "+this.contentClass).trim(),{menuable__content__active:this.isActive}],style:this.styles,directives:e,ref:"content",on:{click:function(e){e.stopPropagation(),e.target.getAttribute("disabled")||t.closeOnContentClick&&(t.isActive=!1)}}};return!this.disabled&&this.openOnHover&&(i.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(i.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",i,this.showLazyContent(this.$slots.default))}}},ii={data:function(){return{listIndex:-1,tiles:[]}},watch:{isActive:function(t){t||(this.listIndex=-1)},listIndex:function(t,e){this.getTiles(),t in this.tiles&&(this.tiles[t].classList.add("list__tile--highlighted"),this.$refs.content.scrollTop=48*t),e in this.tiles&&this.tiles[e].classList.remove("list__tile--highlighted")}},methods:{changeListIndex:function(t){return([40,38,13].includes(t.keyCode)||32===t.keyCode&&!this.isActive)&&t.preventDefault(),[27,9].includes(t.keyCode)?this.isActive=!1:!this.isActive&&[13,32].includes(t.keyCode)&&this.openOnClick?this.isActive=!0:(40===t.keyCode&&this.listIndex0?this.listIndex--:13===t.keyCode&&-1!==this.listIndex&&this.tiles[this.listIndex].click(),void(-1===this.listIndex&&this.setActiveListIndex()))},getTiles:function(){this.tiles=this.$refs.content.querySelectorAll(".list__tile")},setActiveListIndex:function(){var t=this;Array.from(this.tiles||[]).forEach((function(e,i){if(e.classList.contains("list__tile--active"))return void(t.listIndex=i)}))}}},ni={methods:{calculateScroll:function(){if(null!==this.selectedIndex){var t=0;this.selectedIndex>=this.stopIndex?t=this.$refs.content.scrollHeight:this.selectedIndex>this.startIndex&&(t=this.selectedIndex*(6*this.defaultOffset)-7*this.defaultOffset),this.$refs.content.scrollTop=t}},calcLeftAuto:function(){var t=this.dimensions.activator;return parseInt(t.left-2*this.defaultOffset)},calcTopAuto:function(){if(!this.hasActivator)return this.calcTop();var t=Array.from(this.tiles).findIndex((function(t){return t.classList.contains("list__tile--active")}));if(-1===t)return this.selectedIndex=null,this.calcTop();this.selectedIndex=t;var e=t,i=-2*this.defaultOffset;return this.stopIndex=this.tiles.length>4?this.tiles.length-4:this.tiles.length,t>this.startIndex&&t=this.stopIndex&&(i=-this.defaultOffset,e=t-this.stopIndex),i--,this.calcTop()+i-e*(6*this.defaultOffset)}}};i(30);var si={name:"v-menu",mixins:[ti,Tt,Ze,Ct,ei,ii,Qe,ni,pt],directives:{ClickOutside:It,Resize:rt},data:function(){return{defaultOffset:8,maxHeightAutoDefault:"200px",startIndex:3,stopIndex:0,hasJustFocused:!1,resizeTimeout:null}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,fullWidth:Boolean,maxHeight:{default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"menu-transition"}},computed:{calculatedLeft:function(){var t=this.calcLeft;return this.auto&&(t=this.calcLeftAuto),this.calcXOverflow(t())+"px"},calculatedMaxHeight:function(){return this.auto?"200px":isNaN(this.maxHeight)?this.maxHeight:this.maxHeight+"px"},calculatedMaxWidth:function(){return isNaN(this.maxWidth)?this.maxWidth:this.maxWidth+"px"},calculatedMinWidth:function(){if(this.minWidth)return isNaN(this.minWidth)?this.minWidth:this.minWidth+"px";var t=this.dimensions.activator.width+this.nudgeWidth+(this.auto?16:0),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return Math.min(e,t)+"px"},calculatedTop:function(){var t=this.calcTop;return this.auto&&(t=this.calcTopAuto),this.calcYOverflow(t())+"px"},styles:function(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{activator:function(t,e){this.removeActivatorEvents(e),this.addActivatorEvents(t)},isContentActive:function(t){this.hasJustFocused=t}},methods:{activate:function(){this.getTiles(),this.updateDimensions(),requestAnimationFrame(this.startTransition),setTimeout(this.calculateScroll,50)},onResize:function(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(this.updateDimensions,100))}},render:function(t){var e=[{name:"resize",value:{debounce:500,value:this.onResize}}];return t("div",{staticClass:"menu",class:{"menu--disabled":this.disabled},style:{display:this.fullWidth?"block":"inline-block"},directives:e,on:{keydown:this.changeListIndex}},[this.genActivator(),this.genTransition()])}};si.install=function(t){t.component(si.name,si)};var ri=si,oi={props:{noDataText:{type:String,default:"No data available"}}},ai={"#":{test:function(t){return t.match(/[0-9]/)}},A:{test:function(t){return t.match(/[A-Z]/i)},convert:function(t){return t.toUpperCase()}},a:{test:function(t){return t.match(/[a-z]/i)},convert:function(t){return t.toLowerCase()}},N:{test:function(t){return t.match(/[0-9A-Z]/i)},convert:function(t){return t.toUpperCase()}},n:{test:function(t){return t.match(/[0-9a-z]/i)},convert:function(t){return t.toLowerCase()}},X:{test:hi}},li=/[-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]/,ci=function(t){return ai.hasOwnProperty(t)},ui=function(t,e){return ai[t].convert?ai[t].convert(e):e},hi=function(t){return t&&t.match(li)},di=function(t,e){return!(null==e||!ci(t))&&ai[t].test(e)},pi=function(t,e,i){if(!e.length||!t.length)return t;Array.isArray(e)||(e=e.split(""));for(var n=0,s=0,r="";s-1}}},methods:{genFiltered:function(t){if(!this.isAutocomplete||!this.searchValue||this.filteredItems.length<1)return t;t=(t||"").toString();var e=this.getMaskedCharacters(t),i=e.start,n=e.middle,s=e.end;return""+i+this.genHighlight(n)+s},genHighlight:function(t){return this.isNotFiltering?t:''+t+""},getMaskedCharacters:function(t){var e=(this.searchValue||"").toString().toLowerCase(),i=t.toLowerCase().indexOf(e);return{start:t.slice(0,i),middle:t.slice(i,i+e.length),end:t.slice(i+e.length)}},filterSearch:function(){var t=this;return this.isAutocomplete?this.computedItems.filter((function(e){return t.filter(e,t.searchValue,t.getText(e))})):this.computedItems},onKeyDown:function(t){var e=this;return!this.menuIsActive&&[13,32,38,40].includes(t.keyCode)?(t.preventDefault(),this.showMenuItems()):[9,27].includes(t.keyCode)?this.blur():(13===t.keyCode&&this.searchValue&&this.tags&&!this.filteredItems.length&&(this.selectedItems.push(this.searchValue),this.$nextTick((function(){e.searchValue=null,e.$emit("change",e.selectedItems)}))),this.isAutocomplete&&[32].includes(t.keyCode)||this.$refs.menu.changeListIndex(t),[38,40].includes(t.keyCode)&&(this.selectedIndex=-1),void(!this.isAutocomplete||this.hideSelections||this.searchValue||this.changeSelectedIndex(t.keyCode)))}}},gi=Object.assign||function(t){for(var e=1;e0),zIndex:this.menuZIndex},on:{input:function(e){e||(t.menuIsActive=!1)}}};return this.isAutocomplete&&(n.props.transition=""),this.minWidth&&(n.props.minWidth=this.minWidth),this.$createElement("v-menu",n,[this.genList()])},genSelectionsAndSearch:function(){var t=this,e={staticClass:"input-group--select__autocomplete",class:{"input-group--select__autocomplete--index":this.selectedIndex>-1},style:{flex:this.shouldBreak?"1 0 100%":null},attrs:gi({},this.$attrs,{disabled:this.disabled||!this.isAutocomplete,readonly:this.readonly,tabindex:this.disabled||!this.isAutocomplete?-1:this.tabindex}),domProps:{value:this.maskText(this.lazySearch||"")},directives:[{name:"show",value:this.isAutocomplete||this.placeholder&&!this.selectedItems.length}],ref:"input",key:"input"};return this.isAutocomplete&&(e.attrs.role="combobox",e.domProps.autocomplete=this.browserAutocomplete,e.on=gi({},this.genListeners(),{input:function(e){t.searchValue=t.unmaskText(e.target.value)}}),e.directives=e.directives.concat(this.genDirectives())),this.placeholder&&(e.domProps.placeholder=this.placeholder),this.$createElement("div",{class:"input-group__selections",style:{overflow:"hidden"},ref:"activator"},[this.genSelections(),this.$createElement("input",e)])},genSelections:function(){var t=this;if(this.hideSelections)return[];var e=[],i=this.chips,n=this.$scopedSlots.selection,s=this.selectedItems.length;return this.selectedItems.forEach((function(r,o){n?e.push(t.genSlotSelection(r,o)):i?e.push(t.genChipSelection(r,o)):t.segmented?e.push(t.genSegmentedBtn(r,o)):e.push(t.genCommaSelection(r,o0},isDropdown:function(){return this.segmented||this.overflow||this.editable||this.solo},isMultiple:function(){return this.multiple||this.tags},searchValue:{get:function(){return this.lazySearch},set:function(t){var e=this;!this.isAutocomplete||this.selectedIndex>-1||(this.lazySearch=t,clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout((function(){e.$emit("update:searchInput",t)}),this.debounceSearch))}},selectedItem:function(){var t=this;return this.isMultiple?null:this.selectedItems.find((function(e){return t.getValue(e)===t.getValue(t.inputValue)}))||null}},watch:{inputValue:function(t){this.genSelectedItems(t),this.$emit("input",t)},isActive:function(t){t?this.searchValue=this.getText(this.selectedItem):(this.searchValue=null,this.menuIsActive=!1,this.isFocused=!1,this.selectedIndex=-1)},isBooted:function(){var t=this;this.$nextTick((function(){t.content instanceof EventTarget&&t.content.addEventListener("scroll",t.onScroll,!1)}))},isFocused:function(t){var e=this;if(this.isAutocomplete&&!this.mask&&!this.isMultiple){var i=(this.selectedItem||"").length;requestAnimationFrame((function(){e.$refs.input.setSelectionRange(i,i)}))}},items:function(t){var e=this;this.cacheItems&&(this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))),this.$refs.menu.listIndex=-1,this.searchValue&&this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.listIndex=0)})),this.genSelectedItems()},menuIsActive:function(t){t&&(this.isBooted=!0,this.isActive=!0)},isMultiple:function(t){this.inputValue=t?[]:null},searchInput:function(t){this.searchValue=t},searchValue:function(t){var e=this;this.$refs.input.scrollWidth>this.$refs.input.clientWidth?(this.shouldBreak=!0,this.$nextTick(this.$refs.menu.updateDimensions)):null===t&&(this.shouldBreak=!1),this.isActive&&!this.menuIsActive&&t!==this.getValue(this.selectedItem)&&(this.menuIsActive=!0),this.$refs.menu.listIndex=null,this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.listIndex=t?0:-1)}))},selectedItems:function(){clearTimeout(this.searchTimeout),this.isAutocomplete&&this.$nextTick(this.$refs.menu.updateDimensions)},value:function(t){this.inputValue=t,this.validate()}},created:function(){this.tags&&(this.selectedItems=this.inputValue)},mounted:function(){var t=this;this.$vuetify.load((function(){t._isDestroyed||(t.content=t.$refs.menu.$refs.content,t.genSelectedItems())}))},beforeDestroy:function(){this.isBooted&&this.content&&this.content.removeEventListener("scroll",this.onScroll,!1)},methods:{blur:function(){var t=this;this.$emit("blur"),this.isAutocomplete&&this.$refs.input&&this.$refs.input.blur(),this.$nextTick((function(){return t.isActive=!1}))},changeSelectedIndex:function(t){if(32!==t&&[8,37,39,46].includes(t)){var e=this.selectedItems.length-1;if(37===t)this.selectedIndex=-1===this.selectedIndex?e:this.selectedIndex-1;else if(39===t)this.selectedIndex=this.selectedIndex>=e?-1:this.selectedIndex+1;else if(-1===this.selectedIndex)return void(this.selectedIndex=e);if([8,46].includes(t)){var i=this.selectedIndex===e?this.selectedIndex-1:this.selectedItems[this.selectedIndex+1]?this.selectedIndex:-1;this.selectItem(this.selectedItems[this.selectedIndex]),this.selectedIndex=i}}},compareObjects:function(t,e){var i=Object.keys(t),n=Object.keys(e);if(i.length!==n.length)return!1;for(var s=0,r=i.length;s0&&void 0!==arguments[0]?arguments[0]:this.inputValue;if(this.tags)return this.selectedItems=e;var i=this.computedItems.filter((function(i){return t.isMultiple?void 0!==e.find((function(e){var n=t.getValue(e),s=t.getValue(i);return n!==Object(n)?n===s:t.compareObjects(n,s)})):t.getValue(i)===t.getValue(e)}));!i.length&&null!=e&&this.tags&&(i=Array.isArray(e)?e:[e]),this.selectedItems=i},getText:function(t){return this.getPropertyFromItem(t,this.itemText)},getValue:function(t){return this.getPropertyFromItem(t,this.itemValue)},clearableCallback:function(){var t=this.isMultiple?[]:null;this.inputValue=t,this.searchValue=null,this.$emit("change",t),this.genSelectedItems(),this.showMenu()},showMenu:function(){this.showMenuItems(),this.isAutocomplete&&this.focus()},onScroll:function(){var t=this;if(this.isActive){this.content.scrollHeight-(this.content.scrollTop+this.content.clientHeight)<200&&(this.lastItem+=20)}else requestAnimationFrame((function(){return t.content.scrollTop=0}))},selectItem:function(t){var e=this;if(this.isMultiple){var i=[],n=this.inputValue.slice(),s=this.inputValue.findIndex((function(i){var n=e.getValue(i),s=e.getValue(t);return n!==Object(n)?n===s:e.compareObjects(n,s)}));-1!==s&&n.splice(s,1)||n.push(t),this.inputValue=n.map((function(t){return i.push(t),e.returnObject?t:e.getValue(t)})),this.selectedItems=i}else this.inputValue=this.returnObject?t:this.getValue(t),this.selectedItems=[t];this.searchValue=!this.isMultiple||this.chips?this.getText(this.selectedItem):"",this.$emit("change",this.inputValue);var r=this.$refs.menu.listIndex;this.$refs.menu.listIndex=-1,this.$nextTick((function(){e.isAutocomplete&&e.$refs.input?e.$refs.input.focus():e.$el.focus(),e.$refs.menu&&(e.$refs.menu.listIndex=r)}))},showMenuItems:function(){this.isActive=!0,this.menuIsActive=!0}},render:function(t){var e=this,i={attrs:yi({tabindex:this.isAutocomplete||this.disabled?-1:this.tabindex},this.isAutocomplete?null:this.$attrs,{role:this.isAutocomplete?null:"combobox"})};return this.isAutocomplete?i.on={click:function(){e.disabled||e.readonly||setTimeout((function(){e.menuIsActive||(e.focus(),e.menuIsActive=!0)}),100)}}:(i.on=this.genListeners(),i.directives=this.genDirectives()),this.genInputGroup([this.genSelectionsAndSearch(),this.genMenu()],i,(function(){return e.showMenu()}))}};wi.install=function(t){t.component(wi.name,wi)};var xi=wi,ki={methods:{genTHead:function(){var t=this,e=[];if(this.$scopedSlots.headers){var i=this.$scopedSlots.headers({headers:this.headers,indeterminate:this.indeterminate,all:this.all});e=this.needsTR(i)?this.genTR(i):i}else{var n=this.headers.map((function(e){return t.genHeader(e)})),s=this.$createElement("v-checkbox",{props:{dark:this.dark,light:this.light,color:!0===this.selectAll?"":this.selectAll,hideDetails:!0,inputValue:this.all,indeterminate:this.indeterminate},on:{change:this.toggle}});this.hasSelectAll&&n.unshift(this.$createElement("th",[s])),e=this.genTR(n)}return this.$createElement("thead",[e])},genHeader:function(t){var e=[this.$scopedSlots.headerCell?this.$scopedSlots.headerCell({header:t}):t[this.headerText]];return this.$createElement.apply(this,["th"].concat(P(this.genHeaderData(t,e))))},genHeaderData:function(t,e){var i=["column"],n={attrs:{role:"columnheader",scope:"col","aria-label":t[this.headerText]||"","aria-sort":"none"}};return"sortable"in t&&t.sortable||!("sortable"in t)?this.genHeaderSortingData(t,e,n,i):n.attrs["aria-label"]+=": Not sorted.",i.push("text-xs-"+(t.align||"right")),Array.isArray(t.class)?i.push.apply(i,P(t.class)):t.class&&i.push(t.class),n.class=i,[n,e]},genHeaderSortingData:function(t,e,i,n){var s=this;"value"in t||console.warn("Data table headers must have a value property that corresponds to a value in the v-model array"),i.attrs.tabIndex=0,i.on={click:function(){s.expanded=[],s.sort(t.value)},keydown:function(e){32===e.keyCode&&(e.preventDefault(),s.sort(t.value))}},n.push("sortable");var r=this.$createElement("v-icon",{attrs:{"aria-hidden":!0}},"arrow_upward");t.align&&"left"===t.align?e.push(r):e.unshift(r);var o=this.computedPagination;o.sortBy===t.value?(n.push("active"),o.descending?(n.push("desc"),i.attrs["aria-sort"]="descending",i.attrs["aria-label"]+=": Sorted descending. Activate to remove sorting."):(n.push("asc"),i.attrs["aria-sort"]="ascending",i.attrs["aria-label"]+=": Sorted ascending. Activate to sort descending.")):i.attrs["aria-label"]+=": Not sorted. Activate to sort ascending."}}},$i={methods:{genTBody:function(){var t=[];return this.itemsLength?this.filteredItems.length?t.push(this.genFilteredItems()):t.push(this.genEmptyBody(this.noResultsText)):t.push(this.genEmptyBody(this.noDataText)),this.$createElement("tbody",t)},genExpandedRow:function(t){var e=[];if(this.isExpanded(t.item)){var i=this.$createElement("div",{class:"datatable__expand-content",key:t.item[this.itemKey]},this.$scopedSlots.expand(t));e.push(i)}var n=this.$createElement("transition-group",{class:"datatable__expand-col",attrs:{colspan:"100%"},props:{tag:"td"},on:ce},e);return this.genTR([n],{class:"datatable__expand-row"})},createProps:function(t,e){var i=this,n={item:t,index:e},s=this.itemKey;return Object.defineProperty(n,"selected",{get:function(){return i.selected[t[i.itemKey]]},set:function(e){var n=i.value.slice();e?n.push(t):n=n.filter((function(e){return e[s]!==t[s]})),i.$emit("input",n)}}),Object.defineProperty(n,"expanded",{get:function(){return i.expanded[t[i.itemKey]]},set:function(e){i.expand||Object.keys(i.expanded).forEach((function(t){i.$set(i.expanded,t,!1)})),i.$set(i.expanded,t[i.itemKey],e)}}),n},genFilteredItems:function(){var t=this,e=[];return this.filteredItems.forEach((function(i,n){var s=t.createProps(i,n),r=t.$scopedSlots.items?t.$scopedSlots.items(s):[];if(e.push(t.needsTR(r)?t.genTR(r,{attrs:{active:t.isSelected(i)}}):r),t.$scopedSlots.expand){var o=t.genExpandedRow(s);e.push(o)}})),e},genEmptyBody:function(t){return this.genTR([this.$createElement("td",{class:"text-xs-center",attrs:{colspan:"100%"}},t)])}}},_i={methods:{genPrevIcon:function(){var t=this;return this.$createElement("v-btn",{props:{disabled:1===this.computedPagination.page,icon:!0,flat:!0,dark:this.dark,light:this.light},on:{click:function(){var e=t.computedPagination.page;t.updatePagination({page:e-1})}},attrs:{"aria-label":"Previous page"}},[this.$createElement("v-icon","chevron_left")])},genNextIcon:function(){var t=this,e=this.computedPagination,i=e.rowsPerPage<0||e.page*e.rowsPerPage>=this.itemsLength||this.pageStop<0;return this.$createElement("v-btn",{props:{disabled:i,icon:!0,flat:!0,dark:this.dark,light:this.light},on:{click:function(){var e=t.computedPagination.page;t.updatePagination({page:e+1})}},attrs:{"aria-label":"Next page"}},[this.$createElement("v-icon","chevron_right")])},genSelect:function(){var t=this;return this.$createElement("div",{class:"datatable__actions__select"},[this.rowsPerPageText,this.$createElement("v-select",{attrs:{"aria-label":this.rowsPerPageText},props:{items:this.rowsPerPageItems,value:this.computedPagination.rowsPerPage,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:function(e){t.updatePagination({page:1,rowsPerPage:e})}}})])},genPagination:function(){var t="–";if(this.itemsLength){var e=this.itemsLengthr?1:s0},hasSelectAll:function(){return void 0!==this.selectAll&&!1!==this.selectAll},itemsLength:function(){return this.search?this.searchLength:this.totalItems||this.items.length},indeterminate:function(){return this.hasSelectAll&&this.someItems&&!this.everyItem},everyItem:function(){var t=this;return this.filteredItems.length&&this.filteredItems.every((function(e){return t.isSelected(e)}))},someItems:function(){var t=this;return this.filteredItems.some((function(e){return t.isSelected(e)}))},getPage:function(){var t=this.computedPagination.rowsPerPage;return t===Object(t)?t.value:t},pageStart:function(){return-1===this.getPage?0:(this.computedPagination.page-1)*this.getPage},pageStop:function(){return-1===this.getPage?this.itemsLength:this.computedPagination.page*this.getPage},filteredItems:function(){if(this.totalItems)return this.items;var t=this.items.slice();return void 0!==this.search&&null!==this.search&&(t=this.customFilter(t,this.search,this.filter),this.searchLength=t.length),t=this.customSort(t,this.computedPagination.sortBy,this.computedPagination.descending),this.hideActions&&!this.hasPagination?t:t.slice(this.pageStart,this.pageStop)},selected:function(){var t=this,e={};return this.value.forEach((function(i){return e[i[t.itemKey]]=!0})),e}},watch:{indeterminate:function(t){t&&(this.all=!0)},someItems:function(t){t||(this.all=!1)},search:function(){this.updatePagination({page:1,totalItems:this.itemsLength})},everyItem:function(t){t&&(this.all=!0)}},methods:{updatePagination:function(t){var e=this.hasPagination?this.pagination:this.defaultPagination,i=Object.assign({},e,t);this.$emit("update:pagination",i),this.hasPagination||(this.defaultPagination=i)},isSelected:function(t){return this.selected[t[this.itemKey]]},isExpanded:function(t){return this.expanded[t[this.itemKey]]},sort:function(t){var e=this.computedPagination,i=e.sortBy,n=e.descending;null===i?this.updatePagination({sortBy:t,descending:!1}):i!==t||n?i!==t?this.updatePagination({sortBy:t,descending:!1}):this.mustSort?this.updatePagination({sortBy:t,descending:!1}):this.updatePagination({sortBy:null,descending:null}):this.updatePagination({descending:!0})},needsTR:function(t){return t.length&&t.find((function(t){return"td"===t.tag}))},genTR:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$createElement("tr",e,t)},toggle:function(t){var e=this,i=Object.assign({},this.selected);this.filteredItems.forEach((function(n){return i[n[e.itemKey]]=t})),this.$emit("input",this.items.filter((function(t){return i[t[e.itemKey]]})))}},created:function(){var t=this.headers.find((function(t){return!("sortable"in t)||t.sortable}));this.defaultPagination.sortBy=t?t.value:null,this.rowsPerPageItems.length?this.defaultPagination.rowsPerPage=this.rowsPerPageItems[0]:console.warn("The prop 'rows-per-page-items' in v-data-table can not be empty."),this.defaultPagination.totalItems=this.itemsLength,this.updatePagination(Object.assign({},this.defaultPagination,this.pagination))},render:function(t){return t("v-table-overflow",{},[t("table",{class:this.classes},[this.genTHead(),this.genTProgress(),this.genTBody(),this.genTFoot()])])}};i(31);var Ii={name:"v-edit-dialog",data:function(){return{isActive:!1,isSaving:!1}},props:{cancelText:{default:"Cancel"},large:Boolean,lazy:Boolean,saveText:{default:"Save"},transition:{type:String,default:"slide-x-reverse-transition"}},watch:{isActive:function(t){t&&this.$emit("open")&&setTimeout(this.focus,50),t||(!this.isSaving&&this.$emit("cancel"),this.isSaving&&this.$emit("close"),this.isSaving=!1)}},methods:{cancel:function(){this.isActive=!1},focus:function(){var t=this.$refs.content.querySelector("input");t&&t.focus()},save:function(){this.isSaving=!0,this.isActive=!1,this.$emit("save")},genButton:function(t,e){return this.$createElement("v-btn",{props:{flat:!0,primary:!0,light:!0},on:{click:t}},e)},genActions:function(){return this.$createElement("div",{class:"small-dialog__actions",directives:[{name:"show",value:this.large}]},[this.genButton(this.cancel,this.cancelText),this.genButton(this.save,this.saveText)])},genContent:function(){var t=this;return this.$createElement("div",{on:{keydown:function(e){27===e.keyCode&&t.cancel(),13===e.keyCode&&t.save()}},ref:"content"},[this.$slots.input])}},render:function(t){var e=this;return t("v-menu",{class:"small-dialog",props:{contentClass:"small-dialog__content",transition:this.transition,origin:"top right",right:!0,value:this.isActive,closeOnContentClick:!1,lazy:this.lazy},on:{input:function(t){return e.isActive=t}}},[t("a",{domProps:{href:"javascript:;"},slot:"activator"},this.$slots.default),this.genContent(),this.genActions()])}};Ai.install=function(t){var e=r("table__overflow");t.component(Ai.name,Ai),t.component(Ii.name,Ii),t.component("v-table-overflow",e)};var Bi=Ai,Ei={mixins:[it],data:function(){return{isSaving:!1}},props:{actions:Boolean,autosave:Boolean,landscape:Boolean,noTitle:Boolean,scrollable:Boolean,value:{required:!0},light:Boolean,dark:Boolean},methods:{save:function(){},cancel:function(){},genSlot:function(){return this.$scopedSlots.default({save:this.save,cancel:this.cancel})}}},Di={methods:{genYears:function(){return this.$createElement("ul",{staticClass:"picker--date__years",key:"year",ref:"years"},this.genYearItems())},yearClick:function(t){var e=this;this.inputDate=this.normalizeDate(t,this.tableMonth,this.day),"year"===this.type?this.$nextTick((function(){return e.autosave&&e.save()})):this.activePicker="MONTH"},genYearItems:function(){for(var t=this,e=[],i=this.year+100,n=this.year-100;i>n;i--)!(function(i,n){var s=t.normalizeDate(i,t.month,t.day),r=t.supportsLocaleFormat?s.toLocaleDateString(t.locale,{year:"numeric",timeZone:t.timeZone}):i;e.push(t.$createElement("li",{class:{active:t.year===i},on:{click:function(){return t.yearClick(i)}}},r))})(i);return e}}},Oi={methods:{genYearIcon:function(){return this.yearIcon?this.$createElement("v-icon",{props:{dark:!0}},this.yearIcon):null},getYearBtn:function(){var t=this,e=this.normalizeDate(this.year,this.month,this.day);return this.$createElement("div",{class:{"picker--date__title-year":!0,active:"YEAR"===this.activePicker},on:{click:function(e){e.stopPropagation(),t.activePicker="YEAR"}}},[this.supportsLocaleFormat?e.toLocaleDateString(this.locale,{year:"numeric",timeZone:this.timeZone}):this.year,this.genYearIcon()])},genTitleText:function(t){return this.$createElement("transition",{props:{name:"slide-y-reverse-transition",mode:"out-in"}},[this.$createElement("div",{domProps:{innerHTML:t},key:t})])},genTitleDate:function(t){var e=this;return this.$createElement("div",{staticClass:"picker--date__title-date",class:{active:this.activePicker===this.type.toUpperCase()},on:{click:function(t){t.stopPropagation(),e.activePicker=e.type.toUpperCase()}}},[this.genTitleText(t)])},genTitle:function(t){return this.$createElement("div",{class:"picker__title"},[this.getYearBtn(),this.genTitleDate(t)])}}},Vi={methods:{genBtn:function(t,e){var i=this;return this.$createElement("v-btn",{props:{dark:this.dark,icon:!0},nativeOn:{click:function(e){e.stopPropagation(),"DATE"===i.activePicker?i.tableDate=i.normalizeDate(i.tableYear,t):"MONTH"===i.activePicker&&(i.tableDate=i.normalizeDate(t,i.tableMonth))}}},e)},genHeader:function(t,e){var i=this,n=this.$createElement("strong",{key:t,on:{click:function(){return i.activePicker="DATE"===i.activePicker?"MONTH":"YEAR"}}},e),s=this.$createElement("transition",{props:{name:this.computedTransition}},[n]);return this.$createElement("div",{class:"picker--date__header-selector-date"},[s])},genSelector:function(){var t="DATE"===this.activePicker?this.tableMonth:this.tableYear,e=this.normalizeDate(this.tableYear,this.tableMonth),i="";if("function"==typeof this.headerDateFormat&&"DATE"===this.activePicker)i=this.headerDateFormat(e,this.activePicker);else if(this.supportsLocaleFormat){var n="DATE"===this.activePicker?this.headerDateFormat:{year:"numeric"};i=e.toLocaleDateString(this.locale,Object.assign(n,{timeZone:this.timeZone}))}else"DATE"===this.activePicker?(i=e.getFullYear()+"/",e.getMonth()<9&&(i+="0"),i+=1+e.getMonth()):"MONTH"===this.activePicker&&(i=e.getFullYear());return this.$createElement("div",{class:"picker--date__header-selector"},[this.genBtn(t-1,[this.$createElement("v-icon","chevron_left")]),this.genHeader(t,i),this.genBtn(t+1,[this.$createElement("v-icon","chevron_right")])])}}},Li={methods:{dateWheelScroll:function(t){t.preventDefault();var e=this.tableMonth;t.deltaY<0?e++:e--,this.tableDate=this.normalizeDate(this.tableYear,e)},dateGenTHead:function(){var t=this,e=this.narrowDays.map((function(e){return t.$createElement("th",e)}));return this.$createElement("thead",this.dateGenTR(e))},dateClick:function(t){var e=this;this.inputDate=this.normalizeDate(this.tableYear,this.tableMonth,t),this.$nextTick((function(){return e.autosave&&e.save()}))},dateGenButtonText:function(t,e){return this.supportsLocaleFormat?t.toLocaleDateString(this.locale,{day:"numeric",timeZone:this.timeZone}):e},dateGenTD:function(t){var e=this,i=this.normalizeDate(this.tableYear,this.tableMonth,t),n=this.dateGenButtonText(i,t),s=this.$createElement("button",{staticClass:"btn btn--date-picker btn--floating btn--small btn--flat",class:{"btn--active":this.dateIsActive(t),"btn--outline":this.dateIsCurrent(t)&&!this.dateIsActive(t),"btn--disabled":!this.isAllowed(i)},attrs:{type:"button"},domProps:{innerHTML:''+n+""},on:{click:function(){return e.dateClick(t)}}});return this.$createElement("td",[s])},dateGenTBody:function(){for(var t=[],e=this.normalizeDate(this.tableYear,this.tableMonth+1,0).getDate(),i=[],n=(this.normalizeDate(this.tableYear,this.tableMonth).getDay()-parseInt(this.firstDayOfWeek)+7)%7,s=0;s0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[this.$createElement("tr",e,t)]},dateIsActive:function(t){return this.tableYear===this.year&&this.tableMonth===this.month&&this.day===t},dateIsCurrent:function(t){return this.currentYear===this.tableYear&&this.currentMonth===this.tableMonth&&this.currentDay===t}}},Pi={methods:{monthWheelScroll:function(t){t.preventDefault();var e=this.tableYear;t.deltaY<0?e++:e--,this.tableDate=this.normalizeDate(e)},monthClick:function(t){var e=this;this.inputDate=this.normalizeDate(this.tableYear,t,this.day),"date"===this.type?this.activePicker="DATE":this.$nextTick((function(){return e.autosave&&e.save()}))},monthGenTD:function(t){var e=this,i=this.normalizeDate(this.tableYear,t),n=void 0;return"function"==typeof this.monthFormat?n=this.monthFormat(i):this.supportsLocaleFormat?n=i.toLocaleDateString(this.locale,Object.assign(this.monthFormat,{timeZone:this.timeZone})):(n=i.getMonth()+1)<10&&(n="0"+n),this.$createElement("td",[this.$createElement("button",{class:{"btn btn--date-picker":!0,"btn--raised":this.monthIsActive(t),"btn--flat":!0,"btn--active":this.monthIsActive(t),"btn--outline":this.monthIsCurrent(t)&&!this.monthIsActive(t),"btn--disabled":"month"===this.type&&!this.isAllowed(i)},attrs:{type:"button"},domProps:{innerHTML:''+n+""},on:{click:function(){return e.monthClick(t)}}})])},monthGenTBody:function(){for(var t=this,e=[],i=Array(3).fill(null),n=12/i.length,s=0;s-1?i=i.replace(",",",
"):i.indexOf(" ")>-1&&(i=i.replace(" ","
"))),i}},watch:{activePicker:function(t,e){var i=this;if("YEAR"===t)var n=setInterval((function(){i.$refs.years&&(i.$refs.years.scrollTop=i.$refs.years.scrollHeight/2-125,clearInterval(n))}),100)},tableDate:function(t,e){this.isReversing=t=t)}return!0},genTableTouch:function(t){return{name:"touch",value:{left:function(e){return e.offsetX<-15&&t(1)},right:function(e){return e.offsetX>15&&t(-1)}}}},genTable:function(t,e){var i={staticClass:"picker--date__table",class:{"picker--month__table":"MONTH"===this.activePicker},on:this.scrollable?{wheel:this.monthWheelScroll}:void 0,directives:[this.genTableTouch(e)]},n=this.$createElement("table",{key:"MONTH"===this.activePicker?this.tableYear:this.tableMonth},t);return this.$createElement("div",i,[this.$createElement("transition",{props:{name:this.computedTransition}},[n])])},genPickerBody:function(t){var e=this,i=[];return"DATE"===this.activePicker?(i.push(t("div",{staticClass:"picker--date__header"},[this.genSelector()])),i.push(this.genTable([this.dateGenTHead(),this.dateGenTBody()],(function(t){return e.tableDate=e.normalizeDate(e.tableYear,e.tableMonth+t)})))):"MONTH"===this.activePicker?(i.push(t("div",{staticClass:"picker--date__header"},[this.genSelector()])),i.push(this.genTable([this.monthGenTBody()],(function(t){return e.tableDate=e.normalizeDate(e.tableYear+t)})))):"YEAR"===this.activePicker&&i.push(this.genYears()),i},makeDate:function(t){if(null==t)return t;if(t instanceof Date)return t;if(!isNaN(t))return new Date(t);var e=t.trim().split(" ")[0].split("-"),i=ji(e,3),n=i[0],s=i[1],r=i[2];return this.normalizeDate(n,s?s-1:0,r?1*r:1)},normalizeDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return new Date(t,e,i,1)}},created:function(){this.getWeekDays(),this.tableDate=this.inputDate},mounted:function(){var t=new Date;this.currentDay=t.getDate(),this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear()},render:function(t){var e=[];return!this.noTitle&&e.push(this.genTitle(this.titleText)),e.push(t("transition",{props:{origin:"center center",mode:"out-in",name:"scale-transition"}},[t("div",{staticClass:"picker__body",key:this.activePicker},this.genPickerBody(t))])),this.$scopedSlots.default&&e.push(this.genSlot()),t("v-card",{staticClass:"picker picker--date",class:Mi({"picker--landscape":this.landscape},this.themeClasses)},e)}};Ni.install=function(t){t.component(Ni.name,Ni)};var Ri=Ni;Dt.install=function(t){t.component(Dt.name,Dt)};var zi=Dt;i(33);var Fi={name:"v-divider",functional:!0,mixins:[it],props:{inset:Boolean},render:function(t,e){var i=e.props,n=e.data;e.children;return n.staticClass=("divider "+(n.staticClass||"")).trim(),i.inset&&(n.staticClass+=" divider--inset"),i.light&&(n.staticClass+=" theme--light"),i.dark&&(n.staticClass+=" theme--dark"),t("hr",n)}};Fi.install=function(t){t.component(Fi.name,Fi)};var Wi=Fi,Yi=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:0,s=!0,r=!1,o=void 0;try{for(var a,l=i[Symbol.iterator]();!(s=(a=l.next()).done);s=!0){var c=a.value;void 0!==c.errorBucket?t.push(c):e(c.$children,n+1)}}catch(t){r=!0,o=t}finally{try{!s&&l.return&&l.return()}finally{if(r)throw o}}if(0===n)return t})(this.$children)},watchInputs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getInputs(),e=!0,i=!1,n=void 0;try{for(var s,r=t[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){var o=s.value;this.inputs.includes(o)||(this.inputs.push(o),this.watchChild(o))}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}},watchChild:function(t){var e=this,i=function(t){t.$watch("valid",(function(i){e.$set(e.errorBag,t._uid,!i)}),{immediate:!0})};if(!this.lazyValidation)return i(t);t.$watch("shouldValidate",(function(n){n&&(e.errorBag.hasOwnProperty(t._uid)||i(t))}))},validate:function(){return!this.inputs.filter((function(t){return!t.validate(!0)})).length},reset:function(){var t=this;this.inputs.forEach((function(t){return t.reset()})),this.lazyValidation&&Object.keys(this.errorBag).forEach((function(e){return t.$delete(t.errorBag,e)}))}},mounted:function(){var t=this;this.$vuetify.load((function(){return t.watchInputs()}))},updated:function(){var t=this.getInputs();if(t.length=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},updateApplication:function(){if(this.app){var t=!this.isActive||!this.permanent&&this.$vuetify.breakpoint.width=i&&this.value<=n){var s=this.value-i+2,r=this.value+i-2-e;return[1,"..."].concat(j(this.range(s,r)),["...",this.length])}return[].concat(j(this.range(1,i)),["..."],j(this.range(this.length-i+1+e,this.length)))}},mounted:function(){this.$vuetify.load.call(this,this.init)},methods:{onResize:function(){var t=this.$el&&this.$el.parentNode?this.$el.parentNode.clientWidth:window.innerWidth;this.maxButtons=Math.floor((t-96)/42)},init:function(){var t=this;this.selected=null,setTimeout((function(){return t.selected=t.value}),100)},next:function(t){t.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous:function(t){t.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range:function(t,e){var i=[];t=t>0?t:1;for(var n=t;n<=e;n++)i.push(n);return i},genIcon:function(t,e,i,n){return t("li",[t("a",{class:{pagination__navigation:!0,"pagination__navigation--disabled":i},attrs:{href:"#!"},on:{click:n}},[t(ht,[e])])])},genItem:function(t,e){var i=this;return t("a",{class:{pagination__item:!0,"pagination__item--active":e===this.value},attrs:{href:"#!"},on:{click:function(t){t.preventDefault(),i.$emit("input",e)}}},[e])},genItems:function(t){var e=this;return this.items.map((function(i){return t("li",[isNaN(i)&&t("span",{class:"pagination__more"},[i])||e.genItem(t,i)])}))}},render:function(t){var e=[this.genIcon(t,this.prevIcon,1===this.value,this.previous),this.genItems(t),this.genIcon(t,this.nextIcon,this.value===this.length,this.next)];return t("ul",{directives:[{name:"resize",value:this.onResize}],class:this.classes},e)}};un.install=function(t){t.component(un.name,un)};var hn=un,dn={data:function(){return{parallax:null,parallaxDist:null,percentScrolled:null,scrollTop:null,windowHeight:null,windowBottom:null}},computed:{normalizedHeight:function(){return this.jumbotron?isNaN(this.height)?this.height:this.height+"px":Number(this.height.toString().replace(/(^[0-9]*$)/,"$1"))},imgHeight:function(){return this.objHeight()}},mounted:function(){this.$vuetify.load(this.init)},beforeDestroy:function(){window.removeEventListener("scroll",this.translate,!1),window.removeEventListener("resize",this.translate,!1)},methods:{listeners:function(){window.addEventListener("scroll",this.translate,!1),window.addEventListener("resize",this.translate,!1)},translate:function(){this.calcDimensions(),this.percentScrolled=(this.windowBottom-this.elOffsetTop)/(this.normalizedHeight+this.windowHeight),this.parallax=Math.round(this.parallaxDist*this.percentScrolled),this.translated&&this.translated()},calcDimensions:function(){var t=this.$el.getBoundingClientRect();this.scrollTop=window.pageYOffset,this.parallaxDist=this.imgHeight-this.normalizedHeight,this.elOffsetTop=t.top+this.scrollTop,this.windowHeight=window.innerHeight,this.windowBottom=this.scrollTop+this.windowHeight}}};i(39);var pn={name:"v-parallax",mixins:[dn],data:function(){return{isBooted:!1}},props:{alt:String,height:{type:[String,Number],default:500},jumbotron:Boolean,src:String},computed:{styles:function(){return{display:"block",opacity:this.isBooted?1:0,transform:"translate3d(-50%, "+(this.jumbotron?0:this.parallax+"px")+", 0)"}}},watch:{parallax:function(){this.isBooted=!0}},methods:{init:function(){var t=this;this.$refs.img&&(this.$refs.img.complete?(this.translate(),this.listeners()):this.$refs.img.addEventListener("load",(function(){t.translate(),t.listeners()}),!1))},objHeight:function(){return this.$refs.img.naturalHeight},elOffsetTop:function(){return this.$el.offsetTop}},render:function(t){var e={staticClass:"parallax__image",class:{"parallax__image--jumbotron":this.jumbotron},style:this.styles,attrs:{src:this.src},ref:"img"};this.alt&&(e.attrs.alt=this.alt);var i=t("div",{staticClass:"parallax__image-container"},[t("img",e)]),n=t("div",{staticClass:"parallax__content"},this.$slots.default);return t("div",{staticClass:"parallax",style:{height:this.jumbotron?this.normalizedHeight:this.normalizedHeight+"px"},on:this.$listeners},[i,n])}};pn.install=function(t){t.component(pn.name,pn)};var fn=pn;i(40);var mn={name:"v-progress-circular",mixins:[lt],props:{button:Boolean,fill:{type:String,default:function(){return this.indeterminate?"none":"transparent"}},indeterminate:Boolean,rotate:{type:Number,default:0},size:{type:[Number,String],default:32},width:{type:Number,default:4},value:{type:Number,default:0}},computed:{calculatedSize:function(){var t=Number(this.size);return this.button&&(t+=8),t},circumference:function(){return 2*Math.PI*this.radius},classes:function(){return this.addColorClassChecks({"progress-circular":!0,"progress-circular--indeterminate":this.indeterminate,"progress-circular--button":this.button})},cxy:function(){return this.indeterminate&&!this.button?50:this.calculatedSize/2},normalizedValue:function(){return this.value<0?0:this.value>100?100:this.value},radius:function(){return this.indeterminate&&!this.button?20:(this.calculatedSize-this.width)/2},strokeDashArray:function(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset:function(){return(100-this.normalizedValue)/100*this.circumference+"px"},styles:function(){return{height:this.calculatedSize+"px",width:this.calculatedSize+"px"}},svgSize:function(){return!this.indeterminate&&this.calculatedSize},svgStyles:function(){return{transform:"rotate("+this.rotate+"deg)"}},viewBox:function(){return!!this.indeterminate&&"25 25 50 50"}},methods:{genCircle:function(t,e,i){return t("circle",{class:"progress-circular__"+e,attrs:{fill:"transparent",cx:this.cxy,cy:this.cxy,r:this.radius,"stroke-width":this.width,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":i}})},genSvg:function(t){var e=[!this.indeterminate&&this.genCircle(t,"underlay",0),this.genCircle(t,"overlay",this.strokeDashOffset)];return t("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",height:this.svgSize,width:this.svgSize,viewBox:this.viewBox}},e)}},render:function(t){var e=t("div",{class:"progress-circular__info"},[this.$slots.default]),i=this.genSvg(t);return t("div",{class:this.classes,style:this.styles,on:this.$listeners},[i,e])}};mn.install=function(t){t.component(mn.name,mn)};var vn=mn;i(0),i(1),i(41);var gn={name:"v-radio-group",mixins:[Ee],model:{prop:"inputValue",event:"change"},provide:function(){var t=this;return{isMandatory:function(){return t.mandatory},name:function(){return t.name},registerChild:this.registerChild,unregisterChild:this.unregisterChild}},props:{column:{type:Boolean,default:!0},inputValue:null,mandatory:{type:Boolean,default:!0},name:String,row:Boolean},data:function(){return{internalTabIndex:-1}},watch:{inputValue:function(t){this.getRadios().forEach((function(e){e.isActive=t===e.value}))}},computed:{classes:function(){return{"radio-group":!0,"radio-group--column":this.column&&!this.row,"radio-group--row":this.row}}},methods:{getRadios:function(){return this.$children.filter((function(t){return t.$el.classList.contains("radio")}))},toggleRadio:function(t){var e=this;this.disabled||(this.shouldValidate=!0,this.$emit("change",t),this.$nextTick((function(){return e.validate()})),this.getRadios().filter((function(e){return e.value!==t})).forEach((function(t){return t.isActive=!1})))},radioBlur:function(t){t.relatedTarget&&t.relatedTarget.classList.contains("radio")||(this.shouldValidate=!0,this.$emit("blur",this.inputValue))},registerChild:function(t){t.isActive=this.inputValue===t.value,t.$el.tabIndex=t.$el.tabIndex>0?t.$el.tabIndex:0,t.$on("change",this.toggleRadio),t.$on("blur",this.radioBlur),t.$on("focus",this.radioFocus)},unregisterChild:function(t){t.$off("change",this.toggleRadio),t.$off("blur",this.radioBlur),t.$off("focus",this.radioFocus)}},mounted:function(){var t=this;this.getRadios().forEach((function(e){return t.registerChild(e)}))},beforeDestroy:function(){var t=this;this.getRadios().forEach((function(e){return t.unregisterChild(e)}))},render:function(t){var e={attrs:{role:"radiogroup"}};return this.genInputGroup(this.$slots.default,e)}},bn={data:function(){return{tabFocused:!1}}},yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wn={name:"v-radio",inheritAttrs:!1,inject:["isMandatory","name","registerChild","unregisterChild"],components:{VFadeTransition:ye,VIcon:ht},mixins:[lt,Ce,bn,it],props:{disabled:Boolean,value:null,label:String},data:function(){return{isActive:!1}},computed:{classes:function(){return this.addColorClassChecks({"input-group":!0,"input-group--active":this.isActive,"input-group--disabled":this.disabled,"input-group--selection-controls":!0,"input-group--tab-focused":this.tabFocused,radio:!0,"theme--dark":this.dark,"theme--light":this.light})},icon:function(){return this.isActive?"radio_button_checked":"radio_button_unchecked"}},methods:{genInput:function(t){var e=["string","number"].includes(yn(this.value))?this.value:JSON.stringify(this.value),i=this.$createElement("input",{ref:"input",style:{display:"none"},attrs:Object.assign({name:this.name&&this.name(),id:this.id,type:"radio",value:e},this.$attrs)},[e]);return t.push(i),this.$createElement("div",{class:"input-group__input"},t)},genWrapper:function(t){var e=this,i=[];return i.push(this.genLabel()),i.push(this.genInput(t)),this.$createElement("div",{class:this.classes,attrs:{role:"radio","aria-checked":this.isActive&&"true"||"false","aria-label":this.label},on:{keydown:function(t){[13,32].includes(t.keyCode)&&(t.preventDefault(),e.toggle())},blur:function(t){e.$emit("blur",t),e.tabFocused=!1}}},i)},genLabel:function(){return this.$createElement("label",{on:{click:this.toggle}},this.$slots.label||this.label)},toggle:function(){var t=this.isMandatory&&this.isMandatory()||!1;this.disabled||this.isActive&&t||(this.$refs.input.checked=!0,this.isActive=!0,this.$emit("change",this.value))}},created:function(){this.$parent&&this.$parent.$vnode&&this.$parent.$vnode.tag&&this.$parent.$vnode.tag.endsWith("v-radio-group")||console.warn("[Vuetify] Warn: The v-radio component must have an immediate parent of v-radio-group.")},mounted:function(){this.registerChild(this)},beforeDestroy:function(){this.unregisterChild(this)},render:function(t){var e=t("v-fade-transition",{},[t("v-icon",{staticClass:"icon--selection-control",class:{"icon--radio":this.isActive},key:this.icon},this.icon)]);return this.genWrapper([e,this.genRipple()])}};gn.install=function(t){t.component(gn.name,gn),t.component(wn.name,wn)};var xn=gn;i(42);var kn={name:"v-slider",mixins:[Ee],directives:{ClickOutside:It},data:function(){return{app:{},isActive:!1,keyPressed:0}},props:{color:{type:String,default:null},inverted:Boolean,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:null},thumbColor:{type:String,default:null},thumbLabel:Boolean,value:[Number,String],vertical:Boolean,snap:Boolean,trackColor:{type:String,default:null}},computed:{classes:function(){return{"input-group--slider":!0,"input-group--active":this.isActive,"input-group--dirty":this.inputWidth>0,"input-group--disabled":this.disabled,"input-group--ticks":!this.disabled&&this.step}},inputValue:{get:function(){return this.value},set:function(t){var e=this.min,i=this.max,n=this.step,s=this.snap;t=ti&&i||t;var r=s?Math.round(t/n)*n:parseInt(t);this.lazyValue=r,r!==this.value&&this.$emit("input",r)}},interval:function(){return 100/(this.max-this.min)*this.step},thumbContainerClasses:function(){return{"slider__thumb-container":!0,"slider__thumb-container--label":this.thumbLabel}},thumbStyles:function(){return{transition:this.keyPressed>=2?"none":"",left:this.inputWidth+"%"}},tickContainerStyles:function(){return{transform:"translate3d(0, -50%, 0)"}},trackStyles:function(){var t=this.calculateScale(1-this.inputWidth/100),e=this.thumbLabel?0:this.isActive?12:8,i=e+"px";return{transition:this.keyPressed>=2?"none":"",transform:"scaleX("+t+") translateX("+i+")"}},trackFillStyles:function(){var t=this.inputWidth,e=this.calculateScale(t/100),i=t>99&&!this.thumbLabel?"-8px":0;return{transition:this.keyPressed>=2?"none":"",transform:"scaleX("+e+") translateX("+i+")"}},numTicks:function(){return parseInt((this.max-this.min)/this.step)},inputWidth:function(){var t=this.inputValue;return this.snap&&(t=Math.round(t/this.step)*this.step),t=(t-this.min)/(this.max-this.min)*100,t<.15?0:t}},watch:{isActive:function(t){this.isFocused=t},min:function(t){t>this.inputValue&&this.$emit("input",t)},max:function(t){t=0&&r<=100&&(this.inputValue=parseInt(this.min,10)+r/100*(this.max-this.min))},onKeyDown:function(t){if(37===t.keyCode||39===t.keyCode){this.keyPressed+=1;var e=37===t.keyCode&&-1||39===t.keyCode&&1||0,i=t.shiftKey&&3||t.ctrlKey&&2||1,n=this.snap&&this.step||1;this.inputValue=this.inputValue+e*n*i}},onKeyUp:function(t){this.keyPressed=0},sliderMove:function(t){this.isActive||this.onMouseMove(t)},genThumbLabel:function(t){return t("v-scale-transition",{props:{origin:"bottom center"}},[t("div",{class:"slider__thumb--label__container",directives:[{name:"show",value:this.isActive}]},[t("div",{class:["slider__thumb--label",this.thumbColor||this.color]},[t("span",{},parseInt(this.inputValue))])])])},genThumbContainer:function(t){var e=[];return e.push(t("div",{class:["slider__thumb",this.thumbColor||this.color]})),this.thumbLabel&&e.push(this.genThumbLabel(t)),t("div",{class:this.thumbContainerClasses,style:this.thumbStyles,on:{touchstart:this.onMouseDown,mousedown:this.onMouseDown},ref:"thumb"},e)},genSteps:function(t){var e=this,i=u(this.numTicks+1).map((function(i){return t("span",{class:"slider__tick",style:{left:i*(100/e.numTicks)+"%"}})}));return t("div",{class:"slider__ticks-container",style:this.tickContainerStyles},i)},genTrackContainer:function(t){return t("div",{class:"slider__track__container",ref:"track"},[t("div",{class:["slider__track",this.trackColor],style:this.trackStyles}),t("div",{class:["slider__track-fill",this.color],style:this.trackFillStyles})])}},render:function(t){var e=[];e.push(this.genTrackContainer(t)),this.step&&e.push(this.genSteps(t)),e.push(this.genThumbContainer(t));var i=t("div",{class:"slider"},e);return this.genInputGroup([i],{attrs:{role:"slider",tabindex:this.tabindex},on:Object.assign({},{mouseup:this.sliderMove,keydown:this.onKeyDown,keyup:this.onKeyUp},this.$listeners),directives:[{name:"click-outside"}]})}};kn.install=function(t){t.component(kn.name,kn)};var $n=kn;i(43);var _n={name:"v-snackbar",components:{VSlideYTransition:$e,VSlideYReverseTransition:_e},mixins:[lt,pt],data:function(){return{activeTimeout:{}}},props:{absolute:Boolean,bottom:Boolean,left:Boolean,multiLine:Boolean,right:Boolean,top:Boolean,timeout:{type:Number,default:6e3},vertical:Boolean},computed:{classes:function(){var t={"snack--active":this.isActive,"snack--absolute":this.absolute,"snack--bottom":this.bottom||!this.top,"snack--left":this.left,"snack--multi-line":this.multiLine&&!this.vertical,"snack--right":this.right,"snack--top":this.top,"snack--vertical":this.vertical};return this.color&&(t[this.color]=!0),t},computedTransition:function(){return this.top?"v-slide-y-transition":"v-slide-y-reverse-transition"}},watch:{isActive:function(){this.setTimeout()}},methods:{setTimeout:(function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e})((function(){var t=this;clearTimeout(this.activeTimeout),this.isActive&&this.timeout&&(this.activeTimeout=setTimeout((function(){t.isActive=!1}),this.timeout))}))},mounted:function(){this.setTimeout()},render:function(t){var e=[];return this.isActive&&e.push(t("div",{staticClass:"snack__content"},this.$slots.default)),t("div",{staticClass:"snack",class:this.classes,on:this.$listeners},[t(this.computedTransition,e)])}};_n.install=function(t){t.component(_n.name,_n)};var Tn=_n;i(44);var Sn={name:"v-speed-dial",mixins:[Ft,pt],directives:{ClickOutside:It},props:{direction:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},hover:Boolean,transition:{type:String,default:"scale-transition"}},computed:{classes:function(){return H({"speed-dial":!0,"speed-dial--top":this.top,"speed-dial--right":this.right,"speed-dial--bottom":this.bottom,"speed-dial--left":this.left,"speed-dial--absolute":this.absolute,"speed-dial--fixed":this.fixed},"speed-dial--direction-"+this.direction,!0)}},render:function(t){var e=this,i=[],n={class:this.classes,directives:[{name:"click-outside"}],on:{click:function(){return e.isActive=!e.isActive}}};this.hover&&(n.on.mouseenter=function(){return e.isActive=!0},n.on.mouseleave=function(){return e.isActive=!1}),this.isActive&&(i=(this.$slots.default||[]).map((function(t,e){return t.key=e,t})));var s=t("transition-group",{class:"speed-dial__list",props:{name:this.transition,tag:"div"}},i);return t("div",n,[this.$slots.activator,s])}};Sn.install=function(t){t.component(Sn.name,Sn)};var Cn=Sn;i(45);var An={name:"v-stepper",mixins:[it],provide:function(){return{stepClick:this.stepClick}},data:function(){return{inputValue:null,isBooted:!1,steps:[],content:[],isReverse:!1}},props:{nonLinear:Boolean,altLabels:Boolean,vertical:Boolean,value:[Number,String]},computed:{classes:function(){return{stepper:!0,"stepper--is-booted":this.isBooted,"stepper--vertical":this.vertical,"stepper--alt-labels":this.altLabels,"stepper--non-linear":this.nonLinear,"theme--dark":this.dark,"theme--light":this.light}}},watch:{inputValue:function(t,e){var i=this;this.isReverse=Number(t)t.length&&!t.find((function(t){return t.id===i.target}))){var n=e.findIndex((function(t){return t.id===i.target}));this.$nextTick((function(){i.activeIndex=i.tabItems[n>0?n-1:0].id,i.target=i.activeIndex}))}this.slider()}},mounted:function(){var t=this;this.$vuetify.load((function(){var e=t.tabItems.findIndex((function(t){return t.el.firstChild.classList.contains("tabs__item--active")})),i=t.value||(t.tabItems[-1!==e?e:0]||{}).id;i&&t.tabClick(i)&&t.onResize()}))},methods:{registerContent:function(t,e){this.content.push({id:t,toggle:e})},registerTabItem:function(t,e,i){this.tabItems.push({id:t,toggle:e,el:i})},unregisterContent:function(t){this.content=this.content.filter((function(e){return e.id!==t}))},unregisterTabItem:function(t){this.tabItems=this.tabItems.filter((function(e){return e.id!==t}))},next:function(t){var e=this.activeIndex+1;if(!this.content[e]){if(!t)return;e=0}this.tabClick(this.tabItems[e].id)},prev:function(t){var e=this.activeIndex-1;if(!this.content[e]){if(!t)return;e=this.content.length-1}this.tabClick(this.tabItems[e].id)},onResize:function(){this.isMobile=window.innerWidth0},rightIconVisible:function(){if(!this.isMobile()&&this.isScrollable()&&this.isOverflowing){var t=this.$refs.container,e=this.newOffsetRight(this.scrollOffset,this.itemOffset),i=e&&t.children[e.index].clientWidth||0,n=this.scrollOffset+t.clientWidth;return t.scrollWidth-n>.3*i}}},methods:{genContainer:function(){return this.$createElement("ul",{class:this.containerClasses,style:this.containerStyles,ref:"container"},this.$slots.default)},genIcon:function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);return this.$createElement(ht,{props:N({},""+t,!0),style:{display:"inline-flex"},on:{click:this["scroll"+e]}},"chevron_"+t)},genWrapper:function(){return this.$createElement("div",{class:this.wrapperClasses,directives:[{name:"touch",value:{start:this.start,move:this.move,end:this.end}}]},[this.genContainer()])},start:function(t){this.startX=this.scrollOffset+t.touchstartX,this.$refs.container.style.transition="none"},move:function(t){var e=this.startX-t.touchmoveX;this.scrollOffset=e},end:function(t){this.onResize();var e=this.$refs.container,i=e.scrollWidth-this.$el.clientWidth/2;if(e.style.transition=null,this.scrollOffset<0||!this.isOverflowing)this.scrollOffset=0;else if(this.scrollOffset>=i){var n=e.children[e.children.length-1];this.scrollOffset=i-n.clientWidth}},scrollLeft:function(){var t=this.newOffset("Left"),e=t.offset,i=t.index;this.scrollOffset=e,this.itemOffset=i},scrollRight:function(){var t=this.newOffset("Right"),e=t.offset,i=t.index;this.scrollOffset=e,this.itemOffset=i},onResize:function(){if(!this._isDestroyed){var t=this.$refs.container;this.isOverflowing=t.clientWidth=0;r--)if(!n[r].classList.contains("tabs__slider")){var o=s+n[r].clientWidth;if(o>=i.clientWidth)return{offset:t-s,index:r+1};s=o}return{offset:0,index:0}},newOffsetRight:function(t,e){for(var i=this.$refs.container,n=i.children,s=t,r=e;rt+i.clientWidth)return{offset:s,index:r};s=o}return null}},render:function(t){return t("div",{class:this.classes,directives:[{name:"resize",value:this.onResize}]},[this.genWrapper(),this.leftIconVisible?this.genIcon("left"):null,this.rightIconVisible?this.genIcon("right"):null])}};jn.install=function(t){var e=r("tabs__slider","li");t.component(jn.name,jn),t.component(zn.name,zn),t.component(Rn.name,Rn),t.component(Hn.name,Hn),t.component(e.name,e),t.component(Nn.name,Nn)};var Fn=jn,Wn=Object.assign||function(t){for(var e=1;e0||this.badInput||["time","date","datetime-local","week","month"].includes(this.type)},shouldAutoGrow:function(){return(this.multiLine||this.textarea)&&this.autoGrow}},watch:{isFocused:function(t){t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},value:function(t){this.lazyValue=t,!this.validateOnBlur&&this.validate(),this.shouldAutoGrow&&this.calculateInputHeight()}},mounted:function(){var t=this;this.$vuetify.load((function(){t.shouldAutoGrow&&t.calculateInputHeight(),t.autofocus&&t.focus()}))},methods:{calculateInputHeight:function(){var t=this;this.inputHeight=null,this.$nextTick((function(){var e=t.$refs.input?t.$refs.input.scrollHeight:0,i=24*t.rows,n=e0?1:-1,n=t.selectingHour?"changeHour":"changeMinute";t[n](i)}),this.$createElement("div",{class:"picker__body"},[this.$createElement("transition",{props:{name:"fade-transition",mode:"out-in"}},[this.$createElement("div",i,e)])])},genHand:function(t){var e=this.is24hrAfter12?"scaleY(0.6)":"";return[this.$createElement("div",{class:"picker--time__clock-hand "+t,style:{transform:"rotate("+this.clockHand+"deg) "+e}})]},genHours:function(){var t=this.is24hr?24:12,e=[],i=0;12===t&&(t++,i=1);for(var n=i;n"+n+""}}));return e},genMinutes:function(){for(var t=[],e=0;e<60;e+=5){var i=e;i<10&&(i="0"+i),60===i&&(i="00"),t.push(this.$createElement("span",{class:{active:i.toString()===this.minute.toString(),disabled:!this.isAllowed("minute",e)},style:this.getTransform(e),domProps:{innerHTML:""+i+""}}))}return t},getTransform:function(t){var e=this.getPosition(t);return{transform:"translate("+e.x+"px, "+e.y+"px)"}},getPosition:function(t){var e=this.selectingHour&&this.is24hr&&t>=12?.5:.8,i=this.radius*e;return t=this.selectingHour&&this.is24hr?t%12:t,{x:Math.round(Math.sin(t*this.degrees)*i),y:Math.round(-Math.cos(t*this.degrees)*i)}},changeHour:function(t){var e=this,i=this.generateRange("hour",this.hour);return t<0&&(i=i.reverse().slice(1)),this.hour=i.find((function(t){return!e.allowedHours||e.isAllowed("hour",t)})),!0},changeMinute:function(t){var e=this,i=Number(this.minute),n=this.generateRange("minute",i);t<0&&(n=n.reverse().slice(1));var s=n.find((function(t){return!e.allowedMinutes||e.isAllowed("minute",t)}));return this.minute=s<10?"0"+s:s,!0},onMouseDown:function(t){t.preventDefault(),this.isDragging=!0,this.onDragMove(t)},onMouseUp:function(){this.isDragging=!1,!this.selectingHour&&this.autosave&&this.save(),this.hasChanged&&(this.selectingHour=!1,this.hasChanged=!1)},onDragMove:function(t){if(t.preventDefault(),this.isDragging||"click"===t.type){var e=this.$refs.clock.getBoundingClientRect(),i={x:e.width/2,y:0-e.width/2},n="touches"in t?t.touches[0].clientY:t.clientY,s="touches"in t?t.touches[0].clientX:t.clientX,r={y:e.top-n,x:s-e.left},o=this.selectingHour?"hour":"minute",a=Math.round(this.angle(i,r)/this.degreesPerUnit);if(this.selectingHour&&this.is24hr){a=this.euclidean(i,r)/this.radius<.65?a+12:a,a=this.angle(i,r)>=345?(a+12)%24:a}this.isAllowed(o,a)&&(this[o]=a,this.hasChanged=!0)}},euclidean:function(t,e){var i=Math.abs(e.x-t.x),n=Math.abs(e.y-t.y);return Math.sqrt(i*i+n*n)},angle:function(t,e){var i={x:t.x,y:t.y+Math.sqrt(Math.abs(e.x-t.x)*Math.abs(e.x-t.x)+Math.abs(e.y-t.y)*Math.abs(e.y-t.y))},n=2*Math.atan2(e.y-i.y,e.x-i.x);return Math.abs(180*n/Math.PI)}}},Un=Object.assign||function(t){for(var e=1;e=12},divider:function(){return this.selectingHour?12:60},degrees:function(){return this.degreesPerUnit*Math.PI/180},degreesPerUnit:function(){return 360/this.divider},inputTime:{get:function(){if(this.value&&!(this.value instanceof Date))return this.is24hr||(this.period=this.value.match(/pm/i)?"pm":"am"),this.value;var t=new Date;this.value instanceof Date&&(t=this.value);var e=t.getHours(),i=t.getMinutes(),n="";return this.is24hr||(n=e>=12?"pm":"am",e=e>12?e-12:e,e=0===e?12:e),n&&(this.period=n),e=this.firstAllowed("hour",e),i=this.firstAllowed("minute",i),i=i<10?"0"+i:i>59?"00":i,e+":"+i+n},set:function(t){return this.$emit("input",t)}},timeArray:function(){return this.inputTime.replace(/(am|pm)/,"").split(":")},hour:{get:function(){return parseInt(this.timeArray[0])},set:function(t){t=this.is24hr?t<10?"0"+t:t>23?"00":t:t>12?t-12:t<1?12:t,this.inputTime=t+":"+this.minute+(this.is24hr?"":this.period)}},minute:{get:function(){var t=parseInt(this.timeArray[1]);return t<10?"0"+t:t>59?"00":t},set:function(t){t=t<10?"0"+parseInt(t):t>59?"00":t;var e=this.hour;this.is24hr&&e<10&&(e="0"+e),this.inputTime=e+":"+t+(this.is24hr?"":this.period)}},clockHand:function(){return this.selectingHour?this.degreesPerUnit*this.hour:this.degreesPerUnit*this.minute},radius:function(){return this.clockSize/2},clockSize:{get:function(){return this.size},set:function(t){this.size=t}},size:function(){return this.landscape?250:280}},watch:{period:function(t){var e=this.allowedHours&&this.selectingHour?this.firstAllowed("hour",this.hour-1):this.hour;this.inputTime=e+":"+this.minute+t},value:function(t){this.isSaving&&(this.originalTime=this.inputTime,this.isSaving=!1)}},methods:{save:function(){var t=this;this.originalTime?this.originalTime=this.value:(this.inputTime=this.inputTime,this.originalTime=this.inputTime),this.$parent&&this.$parent.isActive&&(this.$parent.isActive=!1),this.$nextTick((function(){return t.selectingHour=!0}))},cancel:function(){var t=this;this.inputTime=this.originalTime,this.$parent&&this.$parent.isActive&&(this.$parent.isActive=!1),this.$nextTick((function(){return t.selectingHour=!0}))},isAllowed:function(t,e){var i=this["allowed"+(t.charAt(0).toUpperCase()+t.slice(1))+"s"];if(!i)return!0;if(Array.isArray(i))return!!i.some((function(t){return t===e}));if(i instanceof Function)return i(e);if(i===Object(i)){var n="minute"===t?this.ranges.minutes:this.ranges.hours,s="minute"===t?60:24;i.min===String(i.min)&&(i.min=this.convert12to24hr(i.min)),i.max===String(i.max)&&(i.max=this.convert12to24hr(i.max));var r=i.max-i.min;e="hour"!==t||this.is24hr||"pm"!==this.period?e:e+12;for(var o=0;o<=r;o++){if(n[(i.min+o)%s]===e)return!0}return!1}return!0},convert12to24hr:function(t){t=t.toLowerCase();var e=-1!==t.indexOf("pm"),i=parseInt(t.slice(0,t.indexOf(e?"pm":"am")));return e?i+12:i},generateRange:function(t,e){var i="hour"===t?this.ranges.hours:this.ranges.minutes,n=1;return"hour"!==t||this.is24hr||(i=i.slice(1,13),n=0),i.slice(e+n,i.length).concat(i.slice(0,e+n))},firstAllowed:function(t,e){var i=this;return this["allowed"+(t.charAt(0).toUpperCase()+t.slice(1))+"s"]?this.generateRange(t,e).find((function(e){return i.isAllowed(t,e)}))||e:e}},render:function(t){var e=[this.genBody()];return!this.noTitle&&e.unshift(this.genTitle()),this.$scopedSlots.default&&e.push(this.genSlot()),t("v-card",{class:Un({"picker picker--time":!0,"picker--landscape":this.landscape,"picker--time--hours":this.selectingHour},this.themeClasses)},e)}};Zn.install=function(t){t.component(Zn.name,Zn)};var Kn=Zn;i(51);var Jn={name:"v-toolbar",mixins:[Ui,it],data:function(){return{heights:{mobileLandscape:48,mobile:56,desktop:64,dense:48},denseHeight:48,defaultHeight:56,prominentHeight:64,isExtended:!1,isScrollingProxy:!1,marginTop:0,previousScroll:null,target:null}},props:{absolute:Boolean,card:Boolean,clippedLeft:Boolean,clippedRight:Boolean,dense:Boolean,extended:Boolean,fixed:Boolean,flat:Boolean,floating:Boolean,height:[Number,String],manualScroll:{type:Boolean,default:null},prominent:Boolean,scrollOffScreen:Boolean,scrollTarget:String,scrollThreshold:{type:Number,default:100}},computed:{computedHeight:function(){return this.height?this.height:this.dense?this.heights.dense:this.prominent||this.$vuetify.breakpoint.mdAndUp?this.heights.desktop:this.$vuetify.breakpoint.width>this.$vuetify.breakpoint.height?this.mobileLandscape:this.heights.mobile},computedMarginTop:function(){return this.marginTop+this.$vuetify.application.bar},classes:function(){return{toolbar:!0,"elevation-0":this.flat,"toolbar--absolute":this.absolute,"toolbar--card":this.card,"toolbar--clipped":this.clippedLeft||this.clippedRight,"toolbar--dense":this.dense,"toolbar--fixed":this.fixed,"toolbar--floating":this.floating,"toolbar--prominent":this.prominent,"toolbar--extended":this.isExtended,"theme--dark":this.dark,"theme--light":this.light}},isScrolling:{get:function(){return null!=this.manualScroll?this.manualScroll:this.isScrollingProxy},set:function(t){this.isScrollingProxy=t}},paddingLeft:function(){return!this.app||this.clippedLeft?0:this.$vuetify.application.left},paddingRight:function(){return!this.app||this.clippedRight?0:this.$vuetify.application.right},styles:function(){return{marginTop:this.computedMarginTop+"px",paddingLeft:this.paddingLeft+"px",paddingRight:this.paddingRight+"px"}}},watch:{isScrolling:function(t){this.whenScrolled(t)}},mounted:function(){this.whenScrolled(this.isScrolling)},destroyed:function(){this.app&&(this.$vuetify.application.top=0)},methods:{onScroll:function(){if("undefined"!=typeof window){this.target||(this.target=this.scrollTarget?document.querySelector(this.scrollTarget):window);var t=this.scrollTarget?this.target.scrollTop:this.target.pageYOffset||document.documentElement.scrollTop;tZ)return null;if(!(e?J[mt]:J[dt]).test(t))return null;try{return new o(t,e)}catch(t){return null}}function s(t,e){var i=n(t,e);return i?i.version:null}function r(t,e){var i=n(t.trim().replace(/^[=v]+/,""),e);return i?i.version:null}function o(t,e){if(t instanceof o){if(t.loose===e)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: "+t);if(t.length>Z)throw new TypeError("version is longer than "+Z+" characters");if(!(this instanceof o))return new o(t,e);U("SemVer",t,e),this.loose=e;var i=t.trim().match(e?J[mt]:J[dt]);if(!i)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>K||this.major<0)throw new TypeError("Invalid major version");if(this.minor>K||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>K||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&ee?1:0}function u(t,e){return c(e,t)}function h(t,e){return new o(t,e).major}function d(t,e){return new o(t,e).minor}function p(t,e){return new o(t,e).patch}function f(t,e,i){return new o(t,i).compare(new o(e,i))}function m(t,e){return f(t,e,!0)}function v(t,e,i){return f(e,t,i)}function g(t,i){return t.sort((function(t,n){return e.compare(t,n,i)}))}function b(t,i){return t.sort((function(t,n){return e.rcompare(t,n,i)}))}function y(t,e,i){return f(t,e,i)>0}function w(t,e,i){return f(t,e,i)<0}function x(t,e,i){return 0===f(t,e,i)}function k(t,e,i){return 0!==f(t,e,i)}function $(t,e,i){return f(t,e,i)>=0}function _(t,e,i){return f(t,e,i)<=0}function T(t,e,i,n){var s;switch(e){case"===":"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),s=t===i;break;case"!==":"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),s=t!==i;break;case"":case"=":case"==":s=x(t,i,n);break;case"!=":s=k(t,i,n);break;case">":s=y(t,i,n);break;case">=":s=$(t,i,n);break;case"<":s=w(t,i,n);break;case"<=":s=_(t,i,n);break;default:throw new TypeError("Invalid operator: "+e)}return s}function S(t,e){if(t instanceof S){if(t.loose===e)return t;t=t.value}if(!(this instanceof S))return new S(t,e);U("comparator",t,e),this.loose=e,this.parse(t),this.semver===Ht?this.value="":this.value=this.operator+this.semver.version,U("comp",this)}function C(t,e){if(t instanceof C)return t.loose===e?t:new C(t.raw,e);if(t instanceof S)return new C(t.value,e);if(!(this instanceof C))return new C(t,e);if(this.loose=e,this.raw=t,this.set=t.split(/\s*\|\|\s*/).map((function(t){return this.parseRange(t.trim())}),this).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+t);this.format()}function A(t,e){return new C(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))}function I(t,e){return U("comp",t),t=O(t,e),U("caret",t),t=E(t,e),U("tildes",t),t=L(t,e),U("xrange",t),t=M(t,e),U("stars",t),t}function B(t){return!t||"x"===t.toLowerCase()||"*"===t}function E(t,e){return t.trim().split(/\s+/).map((function(t){return D(t,e)})).join(" ")}function D(t,e){var i=e?J[St]:J[Tt];return t.replace(i,(function(e,i,n,s,r){U("tilde",t,e,i,n,s,r);var o;return B(i)?o="":B(n)?o=">="+i+".0.0 <"+(+i+1)+".0.0":B(s)?o=">="+i+"."+n+".0 <"+i+"."+(+n+1)+".0":r?(U("replaceTilde pr",r),"-"!==r.charAt(0)&&(r="-"+r),o=">="+i+"."+n+"."+s+r+" <"+i+"."+(+n+1)+".0"):o=">="+i+"."+n+"."+s+" <"+i+"."+(+n+1)+".0",U("tilde return",o),o}))}function O(t,e){return t.trim().split(/\s+/).map((function(t){return V(t,e)})).join(" ")}function V(t,e){U("caret",t,e);var i=e?J[Bt]:J[It];return t.replace(i,(function(e,i,n,s,r){U("caret",t,e,i,n,s,r);var o;return B(i)?o="":B(n)?o=">="+i+".0.0 <"+(+i+1)+".0.0":B(s)?o="0"===i?">="+i+"."+n+".0 <"+i+"."+(+n+1)+".0":">="+i+"."+n+".0 <"+(+i+1)+".0.0":r?(U("replaceCaret pr",r),"-"!==r.charAt(0)&&(r="-"+r),o="0"===i?"0"===n?">="+i+"."+n+"."+s+r+" <"+i+"."+n+"."+(+s+1):">="+i+"."+n+"."+s+r+" <"+i+"."+(+n+1)+".0":">="+i+"."+n+"."+s+r+" <"+(+i+1)+".0.0"):(U("no pr"),o="0"===i?"0"===n?">="+i+"."+n+"."+s+" <"+i+"."+n+"."+(+s+1):">="+i+"."+n+"."+s+" <"+i+"."+(+n+1)+".0":">="+i+"."+n+"."+s+" <"+(+i+1)+".0.0"),U("caret return",o),o}))}function L(t,e){return U("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return P(t,e)})).join(" ")}function P(t,e){t=t.trim();var i=e?J[kt]:J[xt];return t.replace(i,(function(e,i,n,s,r,o){U("xRange",t,e,i,n,s,r,o);var a=B(n),l=a||B(s),c=l||B(r),u=c;return"="===i&&u&&(i=""),a?e=">"===i||"<"===i?"<0.0.0":"*":i&&u?(l&&(s=0),c&&(r=0),">"===i?(i=">=",l?(n=+n+1,s=0,r=0):c&&(s=+s+1,r=0)):"<="===i&&(i="<",l?n=+n+1:s=+s+1),e=i+n+"."+s+"."+r):l?e=">="+n+".0.0 <"+(+n+1)+".0.0":c&&(e=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"),U("xRange return",e),e}))}function M(t,e){return U("replaceStars",t,e),t.trim().replace(J[Pt],"")}function j(t,e,i,n,s,r,o,a,l,c,u,h,d){return e=B(i)?"":B(n)?">="+i+".0.0":B(s)?">="+i+"."+n+".0":">="+e,a=B(l)?"":B(c)?"<"+(+l+1)+".0.0":B(u)?"<"+l+"."+(+c+1)+".0":h?"<="+l+"."+c+"."+u+"-"+h:"<="+a,(e+" "+a).trim()}function H(t,e){for(var i=0;i0){var n=t[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}function N(t,e,i){try{e=new C(e,i)}catch(t){return!1}return e.test(t)}function R(t,e,i){var n=null,s=null;try{var r=new C(e,i)}catch(t){return null}return t.forEach((function(t){r.test(t)&&(n&&-1!==s.compare(t)||(n=t,s=new o(n,i)))})),n}function z(t,e,i){var n=null,s=null;try{var r=new C(e,i)}catch(t){return null}return t.forEach((function(t){r.test(t)&&(n&&1!==s.compare(t)||(n=t,s=new o(n,i)))})),n}function F(t,e){try{return new C(t,e).range||"*"}catch(t){return null}}function W(t,e,i){return X(t,e,"<",i)}function Y(t,e,i){return X(t,e,">",i)}function X(t,e,i,n){t=new o(t,n),e=new C(e,n);var s,r,a,l,c;switch(i){case">":s=y,r=_,a=w,l=">",c=">=";break;case"<":s=w,r=$,a=y,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(N(t,e,n))return!1;for(var u=0;u=0.0.0")),d=d||t,p=p||t,s(t.semver,d.semver,n)?d=t:a(t.semver,p.semver,n)&&(p=t)})),d.operator===l||d.operator===c)return!1;if((!p.operator||p.operator===l)&&r(t,p.semver))return!1;if(p.operator===c&&a(t,p.semver))return!1}return!0}function q(t,e){var i=n(t,e);return i&&i.prerelease.length?i.prerelease:null}function G(t,e,i){return t=new C(t,i),e=new C(e,i),t.intersects(e)}e=t.exports=o;var U;U="object"==typeof i&&i.env&&i.env.NODE_DEBUG&&/\bsemver\b/i.test(i.env.NODE_DEBUG)?function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var Z=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,J=e.re=[],Q=e.src=[],tt=0,et=tt++;Q[et]="0|[1-9]\\d*";var it=tt++;Q[it]="[0-9]+";var nt=tt++;Q[nt]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var st=tt++;Q[st]="("+Q[et]+")\\.("+Q[et]+")\\.("+Q[et]+")";var rt=tt++;Q[rt]="("+Q[it]+")\\.("+Q[it]+")\\.("+Q[it]+")";var ot=tt++;Q[ot]="(?:"+Q[et]+"|"+Q[nt]+")";var at=tt++;Q[at]="(?:"+Q[it]+"|"+Q[nt]+")";var lt=tt++;Q[lt]="(?:-("+Q[ot]+"(?:\\."+Q[ot]+")*))";var ct=tt++;Q[ct]="(?:-?("+Q[at]+"(?:\\."+Q[at]+")*))";var ut=tt++;Q[ut]="[0-9A-Za-z-]+";var ht=tt++;Q[ht]="(?:\\+("+Q[ut]+"(?:\\."+Q[ut]+")*))";var dt=tt++,pt="v?"+Q[st]+Q[lt]+"?"+Q[ht]+"?";Q[dt]="^"+pt+"$";var ft="[v=\\s]*"+Q[rt]+Q[ct]+"?"+Q[ht]+"?",mt=tt++;Q[mt]="^"+ft+"$";var vt=tt++;Q[vt]="((?:<|>)?=?)";var gt=tt++;Q[gt]=Q[it]+"|x|X|\\*";var bt=tt++;Q[bt]=Q[et]+"|x|X|\\*";var yt=tt++;Q[yt]="[v=\\s]*("+Q[bt]+")(?:\\.("+Q[bt]+")(?:\\.("+Q[bt]+")(?:"+Q[lt]+")?"+Q[ht]+"?)?)?";var wt=tt++;Q[wt]="[v=\\s]*("+Q[gt]+")(?:\\.("+Q[gt]+")(?:\\.("+Q[gt]+")(?:"+Q[ct]+")?"+Q[ht]+"?)?)?";var xt=tt++;Q[xt]="^"+Q[vt]+"\\s*"+Q[yt]+"$";var kt=tt++;Q[kt]="^"+Q[vt]+"\\s*"+Q[wt]+"$";var $t=tt++;Q[$t]="(?:~>?)";var _t=tt++;Q[_t]="(\\s*)"+Q[$t]+"\\s+",J[_t]=new RegExp(Q[_t],"g");var Tt=tt++;Q[Tt]="^"+Q[$t]+Q[yt]+"$";var St=tt++;Q[St]="^"+Q[$t]+Q[wt]+"$";var Ct=tt++;Q[Ct]="(?:\\^)";var At=tt++;Q[At]="(\\s*)"+Q[Ct]+"\\s+",J[At]=new RegExp(Q[At],"g");var It=tt++;Q[It]="^"+Q[Ct]+Q[yt]+"$";var Bt=tt++;Q[Bt]="^"+Q[Ct]+Q[wt]+"$";var Et=tt++;Q[Et]="^"+Q[vt]+"\\s*("+ft+")$|^$";var Dt=tt++;Q[Dt]="^"+Q[vt]+"\\s*("+pt+")$|^$";var Ot=tt++;Q[Ot]="(\\s*)"+Q[vt]+"\\s*("+ft+"|"+Q[yt]+")",J[Ot]=new RegExp(Q[Ot],"g");var Vt=tt++;Q[Vt]="^\\s*("+Q[yt]+")\\s+-\\s+("+Q[yt]+")\\s*$";var Lt=tt++;Q[Lt]="^\\s*("+Q[wt]+")\\s+-\\s+("+Q[wt]+")\\s*$";var Pt=tt++;Q[Pt]="(<|>)?=?\\s*\\*";for(var Mt=0;Mt=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);-1===i&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this},e.inc=a,e.diff=l,e.compareIdentifiers=c;var jt=/^[0-9]+$/;e.rcompareIdentifiers=u,e.major=h,e.minor=d,e.patch=p,e.compare=f,e.compareLoose=m,e.rcompare=v,e.sort=g,e.rsort=b,e.gt=y,e.lt=w,e.eq=x,e.neq=k,e.gte=$,e.lte=_,e.cmp=T,e.Comparator=S;var Ht={};S.prototype.parse=function(t){var e=this.loose?J[Et]:J[Dt],i=t.match(e);if(!i)throw new TypeError("Invalid comparator: "+t);this.operator=i[1],"="===this.operator&&(this.operator=""),i[2]?this.semver=new o(i[2],this.loose):this.semver=Ht},S.prototype.toString=function(){return this.value},S.prototype.test=function(t){return U("Comparator.test",t,this.loose),this.semver===Ht||("string"==typeof t&&(t=new o(t,this.loose)),T(t,this.operator,this.semver,this.loose))},S.prototype.intersects=function(t,e){if(!(t instanceof S))throw new TypeError("a Comparator is required");var i;if(""===this.operator)return i=new C(t.value,e),N(this.value,i,e);if(""===t.operator)return i=new C(this.value,e),N(t.semver,i,e);var n=!(">="!==this.operator&&">"!==this.operator||">="!==t.operator&&">"!==t.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==t.operator&&"<"!==t.operator),r=this.semver.version===t.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==t.operator&&"<="!==t.operator),a=T(this.semver,"<",t.semver,e)&&(">="===this.operator||">"===this.operator)&&("<="===t.operator||"<"===t.operator),l=T(this.semver,">",t.semver,e)&&("<="===this.operator||"<"===this.operator)&&(">="===t.operator||">"===t.operator);return n||s||r&&o||a||l},e.Range=C,C.prototype.format=function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range},C.prototype.toString=function(){return this.range},C.prototype.parseRange=function(t){var e=this.loose;t=t.trim(),U("range",t,e);var i=e?J[Lt]:J[Vt];t=t.replace(i,j),U("hyphen replace",t),t=t.replace(J[Ot],"$1$2$3"),U("comparator trim",t,J[Ot]),t=t.replace(J[_t],"$1~"),t=t.replace(J[At],"$1^"),t=t.split(/\s+/).join(" ");var n=e?J[Et]:J[Dt],s=t.split(" ").map((function(t){return I(t,e)})).join(" ").split(/\s+/);return this.loose&&(s=s.filter((function(t){return!!t.match(n)}))),s=s.map((function(t){return new S(t,e)}))},C.prototype.intersects=function(t,e){if(!(t instanceof C))throw new TypeError("a Range is required");return this.set.some((function(i){return i.every((function(i){return t.set.some((function(t){return t.every((function(t){return i.intersects(t,e)}))}))}))}))},e.toComparators=A,C.prototype.test=function(t){if(!t)return!1;"string"==typeof t&&(t=new o(t,this.loose));for(var e=0;e1)for(var i=1;i= 4.0.0",npm:">= 3.0.0"},jest:{verbose:!1,roots:["/src"],moduleFileExtensions:["js","vue"],moduleDirectories:["node_modules"],moduleNameMapper:{"src/(.*)":"/src/$1"},transform:{".*\\.(vue)$":"/node_modules/jest-vue-preprocessor","\\.(styl)$":"/node_modules/jest-css-modules",".*\\.(vue|js)$":"/node_modules/babel-jest"},transformIgnorePatterns:["node_modules/(?!vue-router)"],snapshotSerializers:["jest-serializer-html"]}}}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){})])})); \ No newline at end of file +!(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Vuetify=e():t.Vuetify=e()})(this,(function(){return (function(t){function e(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=5)})([(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e,i){"use strict";function n(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(document._loadCallbacks||(document._loadCallbacks=[]),"complete"===document.readyState)return t();document._loadCallbacks.push(t)}function s(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:"div",i=arguments[2];return i=i||t.replace(/__/g,"-"),{name:"v-"+i,functional:!0,render:function(i,n){var s=n.data,r=n.children;return s.staticClass=(t+" "+(s.staticClass||"")).trim(),i(e,s,r)}}}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top center 0",i=arguments[2];return{name:t,functional:!0,props:{origin:{type:String,default:e}},render:function(e,n){return n.data=n.data||{},n.data.props={name:t},n.data.on=n.data.on||{},Object.isExtensible(n.data.on)||(n.data.on=nt({},n.data.on)),i&&(n.data.props.mode=i),n.data.on.beforeEnter=function(t){t.style.transformOrigin=n.props.origin,t.style.webkitTransformOrigin=n.props.origin},e("transition",n.data,n.children)}}}function a(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"in-out";return{name:t,functional:!0,props:{css:{type:Boolean,default:i},mode:{type:String,default:n}},render:function(i,n){return i("transition",{props:nt({},n.props,{name:t}),on:e},n.children)}}}function l(t,e,i){var n=function n(){i(),t.removeEventListener(e,n,!1)};t.addEventListener(e,n,!1)}function c(t,e){if(e&&e.constructor===String){e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,"");for(var i=e.split("."),n=0,s=i.length;n0&&void 0!==arguments[0]?arguments[0]:"value",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"input";return{model:{prop:e,event:i},props:f({},e,{required:!1}),data:function(){return{isActive:!!this[e]}},watch:(t={},f(t,e,(function(t){this.isActive=!!t})),f(t,"isActive",(function(t){!!t!==this[e]&&this.$emit(i,t)})),t)}}function v(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function g(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:{closeDependents:!0};return{props:{closeDependents:{type:Boolean,default:t.closeDependents},isDependent:{type:Boolean,default:t.isDependent}},methods:{getOpenDependents:function(){return this.closeDependents?b(this.$children):[]},getOpenDependentElements:function(){return this.getOpenDependents().map((function(t){return t.getClickableDependentElements()}))},getClickableDependentElements:function(){var t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),t.push.apply(t,g(this.getOpenDependentElements())),t}},watch:{isActive:function(t){if(!t){var e=!0,i=!1,n=void 0;try{for(var s,r=this.getOpenDependents()[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){s.value.isActive=!1}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}}}}}}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{stackClass:"unspecified"};return{computed:{activeZIndex:function(){var e=t.content||this.$refs.content;return this.isActive?this.getMaxZIndex((t.exclude||function(){return[e]})())+2:h(e)}},methods:{getMaxZIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=t.base||this.$el,n=[t.minZIndex,h(i)],s=document.getElementsByClassName(t.stackClass),r=!0,o=!1,a=void 0;try{for(var l,c=s[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var u=l.value;e.includes(u)||n.push(h(u))}}catch(t){o=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return Math.max.apply(Math,n)}}}}function x(t,e,i,n){if(t&&n.context.isActive){var s=i.value||function(){return!0},r=s.callback||s,o=(s.include||function(){return[]})();o.push(e),!k(t,o)&&r(t)&&setTimeout((function(){return n.context.isActive=!1}),0)}}function k(t,e){var i=t.clientX,n=t.clientY,s=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(s=(a=l.next()).done);s=!0){if($(a.value,i,n))return!0}}catch(t){r=!0,o=t}finally{try{!s&&l.return&&l.return()}finally{if(r)throw o}}return!1}function $(t,e,i){var n=t.getBoundingClientRect();return e>=n.left&&e<=n.right&&i>=n.top&&i<=n.bottom}function _(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function T(t,e){["transform","webkitTransform"].forEach((function(i){t.style[i]=e}))}function S(t,e,i){!1!==e.value&&("ontouchstart"in window&&(t.addEventListener("touchend",(function(){return Mt.hide(t)}),!1),t.addEventListener("touchcancel",(function(){return Mt.hide(t)}),!1)),t.addEventListener("mousedown",(function(i){return Mt.show(i,t,e)}),!1),t.addEventListener("mouseup",(function(){return Mt.hide(t)}),!1),t.addEventListener("mouseleave",(function(){return Mt.hide(t)}),!1),t.addEventListener("dragstart",(function(){return Mt.hide(t)}),!1))}function C(t,e){t.removeEventListener("touchstart",(function(i){return Mt.show(i,t,e)}),!1),t.removeEventListener("mousedown",(function(i){return Mt.show(i,t,e)}),!1),t.removeEventListener("touchend",(function(){return Mt.hide(t)}),!1),t.removeEventListener("touchcancel",(function(){return Mt.hide(t)}),!1),t.removeEventListener("mouseup",(function(){return Mt.hide(t)}),!1),t.removeEventListener("mouseleave",(function(){return Mt.hide(t)}),!1),t.removeEventListener("dragstart",(function(){return Mt.hide(t)}),!1)}function A(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I(t,e){var i=e.value,n={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:i.left,right:i.right,up:i.up,down:i.down,start:i.start,move:i.move,end:i.end},s=i.parent?t.parentNode:t,r=i.options||{passive:!0};s&&(s.addEventListener("touchstart",(function(t){return te(t,n)}),r),s.addEventListener("touchend",(function(t){return ee(t,n)}),r),s.addEventListener("touchmove",(function(t){return ie(t,n)}),r))}function B(t,e){var i=e.value,n=i.parent?t.parentNode:t;n&&(n.removeEventListener("touchstart",te),n.removeEventListener("touchend",ee),n.removeEventListener("touchmove",ie))}function E(t){t.component("v-bottom-sheet-transition",ue),t.component("v-carousel-transition",he),t.component("v-carousel-reverse-transition",de),t.component("v-dialog-transition",ge),t.component("v-dialog-bottom-transition",be),t.component("v-fab-transition",ve),t.component("v-fade-transition",ye),t.component("v-menu-transition",me),t.component("v-scale-transition",we),t.component("v-slide-x-transition",xe),t.component("v-slide-x-reverse-transition",ke),t.component("v-slide-y-transition",$e),t.component("v-slide-y-reverse-transition",_e),t.component("v-tab-reverse-transition",fe),t.component("v-tab-transition",pe),t.component("v-expand-transition",Te),t.component("v-row-expand-transition",Se)}function D(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function O(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function V(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function L(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{},i={load:K,application:{bar:0,top:0,bottom:0,left:0,right:0},breakpoint:{},touchSupport:!1};t.util.defineReactive({},"breakpoint",i),t.util.defineReactive({},"application",i),t.prototype.$vuetify=i,e.transitions&&Object.keys(e.transitions).forEach((function(i){var n=e.transitions[i];void 0!==n.name&&n.name.startsWith("v-")&&t.component(n.name,n)})),e.directives&&Object.keys(e.directives).forEach((function(i){var n=e.directives[i];t.directive(n.name,n)})),e.components&&Object.keys(e.components).forEach((function(i){var n=e.components[i];t.use(n)}))}},Q=J,tt={data:function(){return{clientWidth:0,clientHeight:0}},computed:{breakpoint:function(){var t=this.clientWidth<600,e=this.clientWidth<960&&!t,i=this.clientWidth<1264&&!(e||t),n=this.clientWidth<1904&&!(i||e||t),s=this.clientWidth>=1904&&!(n||i||e||t),r=t,o=e,a=(t||e)&&!(i||n||s),l=!t&&(e||i||n||s),c=i,u=(t||e||i)&&!(n||s),h=!(t||e)&&(i||n||s),d=n,p=(t||e||i||n)&&!s,f=!(t||e||i)&&(n||s),m=s,v=void 0;switch(!0){case t:v="xs";break;case e:v="sm";break;case i:v="md";break;case n:v="lg";break;default:v="xl"}return{xs:t,sm:e,md:i,lg:n,xl:s,name:v,xsOnly:r,smOnly:o,smAndDown:a,smAndUp:l,mdOnly:c,mdAndDown:u,mdAndUp:h,lgOnly:d,lgAndDown:p,lgAndUp:f,xlOnly:m,width:this.clientWidth,height:this.clientHeight}}},watch:{breakpoint:function(t){this.$vuetify.breakpoint=t}},methods:{onResize:function(){this.clientWidth=Math.max(document.documentElement.clientWidth,window.innerWidth||0),this.clientHeight=Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}},et=tt,it={props:{dark:Boolean,light:Boolean},computed:{themeClasses:function(){return{"theme--light":this.light,"theme--dark":this.dark}}}},nt=Object.assign||function(t){for(var e=1;e1&&(i+=" text--"+e[1]),t[i]=!!this.color,t}}},ct={props:{primary:Boolean,secondary:Boolean,success:Boolean,info:Boolean,warning:Boolean,error:Boolean}};i(12);var ut={name:"v-icon",functional:!0,mixins:[lt,ct,it],props:{disabled:Boolean,fa:Boolean,mdi:Boolean,large:Boolean,left:Boolean,medium:Boolean,right:Boolean,xLarge:Boolean},render:function(t,e){var i=e.props,n=e.data,s=e.children,r=void 0===s?[]:s;Object.keys(ct.props).forEach((function(t){i[t]&&console.warn("Context prop '"+t+"' for VIcon component has been deprecated. Use 'color' prop instead.")})),(i.fa||i.mdi)&&console.warn("The v-icon prop 'fa' and 'mdi' will be deprecated in the next release. Use 'fa' or 'mdi' prefix in icon name instead.");var o="",a="material-icons";r.length?o=r.pop().text:n.domProps&&n.domProps.textContent?(o=n.domProps.textContent,delete n.domProps.textContent):n.domProps&&n.domProps.innerHTML&&(o=n.domProps.innerHTML,delete n.domProps.innerHTML);var l=o.indexOf("-")>-1;l&&(a=o.slice(0,o.indexOf("-"))),a=i.fa?"fa":i.mdi?"mdi":a,n.staticClass=(a+" icon "+(n.staticClass||"")).trim(),n.attrs=n.attrs||{};var c=Object.assign({"icon--disabled":i.disabled,"icon--large":i.large,"icon--left":i.left,"icon--medium":i.medium,"icon--right":i.right,"icon--x-large":i.xLarge,"theme--dark":i.dark,"theme--light":i.light},i.color?lt.methods.addColorClassChecks.call(i,{}):{"primary--text":i.primary,"secondary--text":i.secondary,"success--text":i.success,"info--text":i.info,"warning--text":i.warning,"error--text":i.error}),u=Object.keys(c).filter((function(t){return c[t]})).join(" ");if(u&&(n.staticClass+=" "+u),i.fa||i.mdi){var h=i.fa?"fa":"mdi";o.indexOf(" ")>-1?n.staticClass+=" "+h+"-"+o:n.staticClass+=" "+h+"-"+o.split(" ").join("-")}return l&&(n.staticClass+=" "+o),!(l||i.fa||i.mdi)&&r.push(o),t("i",n,r)}};ut.install=function(t){t.component(ut.name,ut)};var ht=ut,dt=m(),pt=dt,ft={props:{mode:String,origin:String,transition:String}};i(11);var mt={name:"v-alert",components:{VIcon:ht},mixins:[lt,pt,ft],props:{dismissible:Boolean,icon:String},computed:{classes:function(){return v({"alert--dismissible":this.dismissible},this.color||"error",!0)}},render:function(t){var e=this,i=[t("div",this.$slots.default)];if(this.icon&&i.unshift(t("v-icon",{class:"alert__icon"},this.icon)),this.dismissible){var n=t("a",{class:"alert__dismissible",domProps:{href:"javascript:;"},on:{click:function(){return e.$emit("input",!1)}}},[t(ht,{props:{right:!0}},"cancel")]);i.push(n)}var s=t("div",{staticClass:"alert",class:this.classes,directives:[{name:"show",value:this.isActive}],on:this.$listeners},i);return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[s]):s}};mt.install=function(t){t.component(mt.name,mt)};var vt=mt;i(13);var gt={name:"v-avatar",functional:!0,props:{size:{type:String,default:"48px"},tile:Boolean},render:function(t,e){var i=e.data,n=e.props,s=e.children;return i.staticClass=("avatar "+(i.staticClass||"")).trim(),i.style=i.style||{},n.tile&&(i.staticClass+=" avatar--tile"),i.style.height=n.size,i.style.width=n.size,t("div",i,s)}};gt.install=function(t){t.component(gt.name,gt)};var bt=gt;i(14);var yt={name:"v-badge",mixins:[lt,pt],props:{bottom:Boolean,color:{type:String,default:"primary"},left:Boolean,overlap:Boolean,transition:{type:String,default:"fab-transition"},value:{default:!0}},computed:{classes:function(){return{"badge--bottom":this.bottom,"badge--left":this.left,"badge--overlap":this.overlap}}},render:function(t){var e=this.$slots.badge?[t("span",{staticClass:"badge__badge",class:[this.color],attrs:this.attrs,directives:[{name:"show",value:this.isActive}]},this.$slots.badge)]:null;return t("span",{staticClass:"badge",class:this.classes},[this.$slots.default,t("transition",{props:{name:this.transition}},e)])}};yt.install=function(t){t.component(yt.name,yt)};var wt=yt,xt={data:function(){return{buttons:[],listeners:[]}},methods:{getValue:function(t){return null!=this.buttons[t].value?this.buttons[t].value:null!=this.buttons[t].$el.value&&""!==this.buttons[t].$el.value?this.buttons[t].$el.value:t},update:function(){var t=this,e=[];this.buttons.forEach((function(i,n){var s=i.$el;s.dataset||(s.dataset={}),s.removeAttribute("data-only-child"),t.isSelected(n)?(s.setAttribute("data-selected",!0),s.classList.contains("btn--router")||s.classList.add("btn--active"),e.push(n)):(s.removeAttribute("data-selected"),s.classList.contains("btn--router")||s.classList.remove("btn--active")),s.dataset.index=n})),1===e.length&&this.buttons[e[0]].$el.setAttribute("data-only-child",!0)}},mounted:function(){var t=this;this.$vuetify.load((function(){t.buttons=t.$children,t.buttons.forEach((function(e,i){t.listeners.push(t.updateValue.bind(t,i)),e.$on("click",t.listeners[i])})),t.update()}))},beforeDestroy:function(){var t=this;this.buttons.forEach((function(e,i){e.$off("click",t.listeners[i])}))}};i(15);var kt={name:"v-bottom-nav",mixins:[xt],props:{absolute:Boolean,active:[Number,String],shift:Boolean,value:{required:!1}},watch:{active:function(){this.update()}},computed:{classes:function(){return{"bottom-nav":!0,"bottom-nav--absolute":this.absolute,"bottom-nav--shift":this.shift,"bottom-nav--active":this.value}}},methods:{isSelected:function(t){var e=this.getValue(t);return this.active===e},updateValue:function(t){var e=this.getValue(t);this.$emit("update:active",e)}},render:function(t){return t("div",{class:this.classes},this.$slots.default)}};kt.install=function(t){t.component(kt.name,kt)};var $t=kt,_t=y(),Tt=_t,St={data:function(){return{isBooted:!1}},props:{lazy:Boolean},watch:{isActive:function(){this.isBooted=!0}},methods:{showLazyContent:function(t){return this.isBooted||!this.lazy?t:null}}},Ct={mixins:[St],props:{contentClass:{default:""}},mounted:function(){this.$vuetify.load(this.initDetach)},beforeDestroy:function(){if(this.$refs.content)try{this.$refs.content.parentNode.removeChild(this.$refs.content)}catch(t){}},methods:{initDetach:function(){if(!this._isDestroyed){var t=document.querySelector("[data-app]");if(!t)return console.warn("Application is missing component.");this.$refs.content&&t.insertBefore(this.$refs.content,t.firstChild)}}}};i(18);var At={data:function(){return{overlay:null,overlayOffset:0,overlayTimeout:null,overlayTransitionDuration:500}},props:{hideOverlay:Boolean},beforeDestroy:function(){this.removeOverlay()},methods:{genOverlay:function(){var t=this;if(!this.isActive||this.hideOverlay||this.isActive&&this.overlayTimeout||this.overlay)return clearTimeout(this.overlayTimeout),this.overlay&&this.overlay.classList.add("overlay--active");if(this.overlay=document.createElement("div"),this.overlay.className="overlay",this.absolute&&(this.overlay.className+=" overlay--absolute"),void 0!==this.activeZIndex&&(this.overlay.style.zIndex=this.activeZIndex-1),this.hideScroll(),this.absolute){var e=this.$el.parentNode;e.insertBefore(this.overlay,e.firstChild)}else document.querySelector("[data-app]").appendChild(this.overlay);return this.overlay.clientHeight,requestAnimationFrame((function(){t.overlay.className+=" overlay--active"})),!0},removeOverlay:function(){var t=this;if(!this.overlay)return this.showScroll();this.overlay.classList.remove("overlay--active"),this.overlayTimeout=setTimeout((function(){try{t.overlay.parentNode.removeChild(t.overlay),t.overlay=null,t.showScroll()}catch(t){}clearTimeout(t.overlayTimeout),t.overlayTimeout=null}),this.overlayTransitionDuration)},scrollListener:function(t){if("keydown"===t.type){var e=[38,33],i=[40,34];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar:function(t){return["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])&&t.scrollHeight>t.clientHeight},shouldScroll:function(t,e){return 0===t.scrollTop&&e<0||t.scrollTop+t.clientHeight===t.scrollHeight&&e>0},isInside:function(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath:function(t){var e=t.path||this.composedPath(t),i=t.deltaY||-t.wheelDelta;if("keydown"===t.type&&e[0]===document.body){var n=this.$refs.dialog,s=window.getSelection().anchorNode;return!this.hasScrollbar(n)||!this.isInside(s,n)||this.shouldScroll(n,i)}var r=!0,o=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var u=l.value;if([document,document.documentElement,this.$refs.content].includes(u))return!0;if(this.hasScrollbar(u))return this.shouldScroll(u,i)}}catch(t){o=!0,a=t}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return!0},composedPath:function(t){if(t.composedPath)return t.composedPath();for(var e=[],i=t.target;i;){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}},hideScroll:function(){this.$vuetify.breakpoint.mdAndDown?document.documentElement.classList.add("overflow-y-hidden"):(window.addEventListener("wheel",this.scrollListener),window.addEventListener("keydown",this.scrollListener))},showScroll:function(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}},It=(w(),{name:"click-outside",bind:function(t,e,i){i.context.$vuetify.load((function(){var n=function(n){return x(n,t,e,i)};document.addEventListener("click",n,!0),t._clickOutside=n}))},unbind:function(t){document.removeEventListener("click",t._clickOutside,!0)}});i(17);var Bt=y({closeDependents:!0,isDependent:!1}),Et=w({minZIndex:200,stackClass:"dialog__content__active"}),Dt={name:"v-dialog",mixins:[Bt,Ct,At,Et,pt],directives:{ClickOutside:It},props:{disabled:Boolean,persistent:Boolean,fullscreen:Boolean,fullWidth:Boolean,origin:{type:String,default:"center center"},width:{type:[String,Number],default:290},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"}},computed:{classes:function(){var t;return t={},_(t,("dialog "+this.contentClass).trim(),!0),_(t,"dialog--active",this.isActive),_(t,"dialog--persistent",this.persistent),_(t,"dialog--fullscreen",this.fullscreen),_(t,"dialog--stacked-actions",this.stackedActions&&!this.fullscreen),_(t,"dialog--scrollable",this.scrollable),t},contentClasses:function(){return{dialog__content:!0,dialog__content__active:this.isActive}}},watch:{isActive:function(t){t?(!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.fullscreen&&this.hideScroll(),this.$refs.content.focus()):this.fullscreen?this.showScroll():this.removeOverlay()}},mounted:function(){var t=this;this.isBooted=this.isActive,this.$vuetify.load((function(){return t.isActive&&t.genOverlay()}))},methods:{closeConditional:function(t){return!this.persistent&&h(this.$refs.content)>=this.getMaxZIndex()}},render:function(t){var e=this,i=[],n={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:{callback:this.closeConditional,include:function(){return e.getOpenDependentElements()}}},{name:"show",value:this.isActive}],on:{click:function(t){return t.stopPropagation()}}};this.fullscreen||(n.style={width:isNaN(this.width)?this.width:this.width+"px"}),this.$slots.activator&&i.push(t("div",{class:"dialog__activator",on:{click:function(t){e.disabled||(e.isActive=!e.isActive)}}},[this.$slots.activator]));var s=t("transition",{props:{name:this.transition||"",origin:this.origin}},[t("div",n,this.showLazyContent(this.$slots.default))]);return i.push(t("div",{class:this.contentClasses,style:{zIndex:this.activeZIndex},ref:"content"},[s])),t("div",{class:"dialog__container",style:{display:!this.$slots.activator||this.fullWidth?"block":"inline-block"}},i)}},Ot=Object.assign||function(t){for(var e=1;ee.clientHeight?e.clientWidth:e.clientHeight;o.className="ripple__animation",o.style.width=a*(s.center?1:2)+"px",o.style.height=o.style.width,e.appendChild(r);var l=window.getComputedStyle(e);"absolute"!==l.position&&"fixed"!==l.position&&(e.style.position="relative");var c=e.getBoundingClientRect(),u=s.center?"50%":t.clientX-c.left+"px",h=s.center?"50%":t.clientY-c.top+"px";o.classList.add("ripple__animation--enter"),o.classList.add("ripple__animation--visible"),T(o,"translate(-50%, -50%) translate("+u+", "+h+") scale3d(0.01,0.01,0.01)"),o.dataset.activated=Date.now(),setTimeout((function(){o.classList.remove("ripple__animation--enter"),T(o,"translate(-50%, -50%) translate("+u+", "+h+") scale3d(0.99,0.99,0.99)")}),0)},hide:function(t){var e=t.getElementsByClassName("ripple__animation");if(0!==e.length){var i=e[e.length-1],n=Date.now()-Number(i.dataset.activated),s=400-n;s=s<0?0:s,setTimeout((function(){i.classList.remove("ripple__animation--visible"),setTimeout((function(){try{e.length<1&&(t.style.position=null),i.parentNode&&t.removeChild(i.parentNode)}catch(t){}}),300)}),s)}}},jt={name:"ripple",bind:S,unbind:C},Ht=Object.assign||function(t){for(var e=1;e-1){if(this.mandatory&&1===i.length)return;i.length>=1&&i.splice(n,1)}else i.push(e);this.$emit("change",i)}},mounted:function(){this.items.length>0&&console.warn("The 'items' props has been deprecated. v-btn-toggle now has a default slot where you can place buttons.")},render:function(t){return t("div",{class:this.classes},this.$slots.default)}};Gt.install=function(t){t.component(Gt.name,Gt)};var Ut=Gt;i(22);var Zt={name:"v-card",mixins:[Nt,it],props:{flat:Boolean,height:{type:String,default:"auto"},hover:Boolean,img:String,raised:Boolean,tag:{type:String,default:"div"},tile:Boolean},computed:{classes:function(){return{card:!0,"card--flat":this.flat,"card--horizontal":this.horizontal,"card--hover":this.hover,"card--raised":this.raised,"card--tile":this.tile,"theme--light":this.light,"theme--dark":this.dark}},styles:function(){var t={height:isNaN(this.height)?this.height:this.height+"px"};return this.img&&(t.background="url("+this.img+") center center / cover no-repeat"),t}},render:function(t){var e=this.generateRouteLink(),i=e.tag,n=e.data;return n.style=this.styles,t(i,n,this.$slots.default)}},Kt={name:"v-card-media",props:{contain:Boolean,height:{type:[Number,String],default:"auto"},src:{type:String}},render:function(t){var e={class:"card__media",style:{height:isNaN(this.height)?this.height:this.height+"px"},on:this.$listeners},i=[];return this.src&&i.push(t("div",{class:"card__media__background",style:{background:"url("+this.src+") center center / "+(this.contain?"contain":"cover")+" no-repeat"}})),i.push(t("div",{class:"card__media__content"},this.$slots.default)),t("div",e,i)}},Jt={name:"v-card-title",functional:!0,props:{primaryTitle:Boolean},render:function(t,e){var i=e.data,n=e.props,s=e.children;return i.staticClass=("card__title "+(i.staticClass||"")).trim(),n.primaryTitle&&(i.staticClass+=" card__title--primary"),t("div",i,s)}};Zt.install=function(t){var e=r("card__actions"),i=r("card__text");t.component(Zt.name,Zt),t.component(Kt.name,Kt),t.component(Jt.name,Jt),t.component("v-card-actions",e),t.component("v-card-text",i)};var Qt=Zt,te=function(t,e){var i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))},ee=function(t,e){var i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),ne(e)},ie=function(t,e){var i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))},ne=function(t){var e=t.touchstartX,i=t.touchendX,n=t.touchstartY,s=t.touchendY;t.offsetX=i-e,t.offsetY=s-n,ie&&t.right&&t.right(t),sn&&t.down&&t.down(t)},se={name:"touch",inserted:I,unbind:B};i(23);var re={name:"v-carousel",mixins:[St,it],directives:{Touch:se},data:function(){return{inputValue:null,items:[],slideTimeout:null,reverse:!1}},props:{cycle:{type:Boolean,default:!0},hideControls:Boolean,icon:{type:String,default:"fiber_manual_record"},interval:{type:[Number,String],default:6e3,validator:function(t){return t>0}},leftControlIcon:{type:[Boolean,String],default:"chevron_left"},rightControlIcon:{type:[Boolean,String],default:"chevron_right"},value:Number},watch:{inputValue:function(){var t=this;this.items=this.$children.filter((function(t){return t.$el.classList&&t.$el.classList.contains("carousel__item")})),this.items.forEach((function(e){return e.open(t.items[t.inputValue]._uid,t.reverse)})),this.$emit("input",this.inputValue),this.restartTimeout()},value:function(t){this.inputValue=t},interval:function(){this.restartTimeout()},cycle:function(t){t?this.restartTimeout():(clearTimeout(this.slideTimeout),this.slideTimeout=null)}},mounted:function(){this.init()},methods:{genControls:function(){return this.$createElement("div",{staticClass:"carousel__controls"},this.genItems())},genIcon:function(t,e,i){return e?this.$createElement("div",{staticClass:"carousel__"+t},[this.$createElement(qt,{props:{icon:!0,dark:this.dark||!this.light,light:this.light},on:{click:i}},[this.$createElement(ht,e)])]):null},genItems:function(){var t=this;return this.items.map((function(e,i){return t.$createElement(qt,{class:{carousel__controls__item:!0,"carousel__controls__item--active":i===t.inputValue},props:{icon:!0,dark:t.dark||!t.light,light:t.light},key:i,on:{click:t.select.bind(t,i)}},[t.$createElement(ht,t.icon)])}))},restartTimeout:function(){this.slideTimeout&&clearTimeout(this.slideTimeout),this.slideTimeout=null,(requestAnimationFrame||setTimeout)(this.startTimeout)},init:function(){this.inputValue=this.value||0},next:function(){this.reverse=!1,this.inputValue=(this.inputValue+1)%this.items.length},prev:function(){this.reverse=!0,this.inputValue=(this.inputValue+this.items.length-1)%this.items.length},select:function(t){this.reverse=t0?this.interval:6e3))}},render:function(t){return t("div",{staticClass:"carousel",directives:[{name:"touch",value:{left:this.next,right:this.prev}}]},[this.genIcon("left",this.leftControlIcon,this.prev),this.genIcon("right",this.rightControlIcon,this.next),this.hideControls?null:this.genControls(),this.$slots.default])}},oe={name:"v-carousel-item",data:function(){return{active:!1,reverse:!1}},props:{src:{type:String,required:!0},transition:{type:String,default:"tab-transition"},reverseTransition:{type:String,default:"tab-reverse-transition"}},computed:{computedTransition:function(){return this.reverse?this.reverseTransition:this.transition},styles:function(){return{backgroundImage:"url("+this.src+")"}}},methods:{open:function(t,e){this.active=this._uid===t,this.reverse=e}},render:function(t){var e=t("div",{class:{carousel__item:!0,reverse:this.reverse},style:this.styles,on:this.$listeners,directives:[{name:"show",value:this.active}]},[this.$slots.default]);return t("transition",{props:{name:this.computedTransition}},[e])}};re.install=function(t){t.component(re.name,re),t.component(oe.name,oe)};var ae=re,le={enter:function(t,e){t.style.transition="none",l(t,"transitionend",e),t.style.overflow="hidden",t.style.height=null,t.style.display="block";var i=t.clientHeight+"px";t.style.height=0,t.style.transition=null,setTimeout((function(){return t.style.height=i}),100)},afterEnter:function(t){t.style.height="auto",t.style.overflow=null},leave:function(t,e){l(t,"transitionend",e),t.style.overflow="hidden",t.style.height=t.clientHeight+"px",setTimeout((function(){return t.style.height=0}),100)}},ce={enter:function(t,e){t.td=t.parentNode,l(t,"transitionend",e);var i=t.dataset.height||t.clientHeight;t.dataset.height=i,t.style.overflow="hidden",t.style.height=0,t.td.style["border-bottom"]="1px solid rgba(0,0,0,0.12)",setTimeout((function(){t.style.height=i+"px"}),50)},afterEnter:function(t){t.style.overflow=null},leave:function(t,e){l(t,"transitionend",e),t.style.overflow="hidden",t.style.height=t.dataset.height+"px",setTimeout((function(){t.style.height=0}),50)},afterLeave:function(t){t.td.style["border-bottom"]=null}},ue=o("bottom-sheet-transition"),he=o("carousel-transition"),de=o("carousel-reverse-transition"),pe=o("tab-transition"),fe=o("tab-reverse-transition"),me=o("menu-transition"),ve=o("fab-transition","center center","out-in"),ge=o("dialog-transition"),be=o("dialog-bottom-transition"),ye=o("fade-transition"),we=o("scale-transition"),xe=o("slide-x-transition"),ke=o("slide-x-reverse-transition"),$e=o("slide-y-transition"),_e=o("slide-y-reverse-transition"),Te=a("expand-transition",le),Se=a("row-expand-transition",ce),Ce={directives:{Ripple:jt},methods:{genRipple:function(){return this.$createElement("div",{class:this.rippleClasses||"input-group--selection-controls__ripple",on:Object.assign({},{click:this.toggle},this.$listeners),directives:[{name:"ripple",value:!this.disabled&&{center:!0}}]})}}},Ae={props:{loading:{type:[Boolean,String],default:!1}},methods:{genProgress:function(){return!1===this.loading?null:this.$slots.progress||this.$createElement("v-progress-linear",{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:2,indeterminate:!0}})}}},Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Be={data:function(){return{errorBucket:[],hasFocused:!1,hasInput:!1,shouldValidate:!1,valid:!1}},props:{error:{type:Boolean},errorMessages:{type:[String,Array],default:function(){return[]}},rules:{type:Array,default:function(){return[]}},validateOnBlur:Boolean},computed:{validations:function(){return Array.isArray(this.errorMessages)?this.errorMessages.length>0?this.errorMessages:this.shouldValidate?this.errorBucket:[]:[this.errorMessages]},hasError:function(){return this.validations.length>0||this.errorMessages.length>0||this.error}},watch:{rules:{handler:function(t,e){t.length!==e.length&&this.validate()},deep:!0},inputValue:function(t){t&&!this.hasInput&&(this.hasInput=!0),this.hasInput&&!this.validateOnBlur&&(this.shouldValidate=!0)},isFocused:function(t){t||this.hasFocused||(this.hasFocused=!0,this.shouldValidate=!0,this.$emit("update:error",this.errorBucket.length>0))},hasError:function(t){this.shouldValidate&&this.$emit("update:error",t)},error:function(t){this.shouldValidate=!!t}},mounted:function(){this.shouldValidate=!!this.error,this.validate()},methods:{reset:function(){var t=this;this.$emit("input",this.isMultiple?[]:null),this.$emit("change",null),this.$nextTick((function(){t.shouldValidate=!1,t.hasFocused=!1,t.validate()}))},validate:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments[1];return e&&(this.shouldValidate=!0),this.errorBucket=[],this.rules.forEach((function(e){var n="function"==typeof e?e(void 0!==i?i:t.inputValue):e;if(!0!==n&&!["string","boolean"].includes(void 0===n?"undefined":Ie(n)))throw new TypeError("Rules should return a string or boolean, received '"+(void 0===n?"undefined":Ie(n))+"' instead");!0!==n&&t.errorBucket.push(n)})),this.valid=0===this.errorBucket.length,this.valid}}},Ee={components:{VIcon:ht},mixins:[Ae,it,Be],data:function(){return{isFocused:!1,tabFocused:!1,internalTabIndex:null,lazyValue:this.value}},props:{appendIcon:String,appendIconCb:Function,disabled:Boolean,hint:String,hideDetails:Boolean,label:String,persistentHint:Boolean,placeholder:String,prependIcon:String,prependIconCb:Function,readonly:Boolean,required:Boolean,tabindex:{default:0},toggleKeys:{type:Array,default:function(){return[13,32]}},value:{required:!1}},computed:{inputGroupClasses:function(){return Object.assign({"input-group":!0,"input-group--async-loading":!1!==this.loading,"input-group--focused":this.isFocused,"input-group--dirty":this.isDirty,"input-group--tab-focused":this.tabFocused,"input-group--disabled":this.disabled,"input-group--error":this.hasError,"input-group--append-icon":this.appendIcon,"input-group--prepend-icon":this.prependIcon,"input-group--required":this.required,"input-group--hide-details":this.hideDetails,"input-group--placeholder":!!this.placeholder,"theme--dark":this.dark,"theme--light":this.light},this.classes)},isDirty:function(){return!!this.inputValue}},methods:{groupFocus:function(t){},groupBlur:function(t){this.tabFocused=!1},genLabel:function(){return this.$createElement("label",{attrs:{for:this.$attrs.id}},this.$slots.label||this.label)},genMessages:function(){var t=this,e=[];return(this.hint&&this.isFocused||this.hint&&this.persistentHint)&&0===this.validations.length?e=[this.genHint()]:this.validations.length&&(e=this.validations.map((function(e){return t.genError(e)}))),this.$createElement("transition-group",{class:"input-group__messages",props:{tag:"div",name:"slide-y-transition"}},e)},genHint:function(){return this.$createElement("div",{class:"input-group__hint",key:this.hint,domProps:{innerHTML:this.hint}})},genError:function(t){return this.$createElement("div",{class:"input-group__error",key:t},t)},genIcon:function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="append"===t&&this.clearable&&this.isDirty,s=n?"clear":this[t+"Icon"],r=n?this.clearableCallback:this[t+"IconCb"]||i;return this.$createElement("v-icon",{attrs:{"aria-hidden":!0},class:(e={},D(e,"input-group__"+t+"-icon",!0),D(e,"input-group__icon-cb",!!r),D(e,"input-group__icon-clearable",n),e),props:{disabled:this.disabled},on:{click:function(t){r&&(t.stopPropagation(),r())}}},s)},genInputGroup:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=[],r=[],o=[];i=Object.assign({},{class:this.inputGroupClasses,attrs:{tabindex:this.disabled?-1:this.internalTabIndex||this.tabindex},on:{focus:this.groupFocus,blur:this.groupBlur,click:function(){return e.tabFocused=!1},keyup:function(t){[9,16].includes(t.keyCode)&&(e.tabFocused=!0)},keydown:function(t){e.toggle&&e.toggleKeys.includes(t.keyCode)&&(t.preventDefault(),e.toggle())}}},i),(this.$slots.label||this.label)&&s.push(this.genLabel()),r.push(t),this.prependIcon&&r.unshift(this.genIcon("prepend")),(this.appendIcon||this.clearable)&&r.push(this.genIcon("append",n));var a=this.genProgress();return a&&o.push(a),s.push(this.$createElement("div",{class:"input-group__input"},r)),o.push(this.genMessages()),this.counter&&o.push(this.genCounter()),s.push(this.$createElement("div",{class:"input-group__details"},o)),this.$createElement("div",i,s)}}},De={mixins:[Ee,lt],model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null},computed:{isActive:function(){return Array.isArray(this.inputValue)?-1!==this.inputValue.indexOf(this.value):this.trueValue&&this.falseValue?this.inputValue===this.trueValue:this.value?this.value===this.inputValue:Boolean(this.inputValue)},isDirty:function(){return this.isActive}},watch:{indeterminate:function(t){this.inputIndeterminate=t}},methods:{genLabel:function(){return this.$createElement("label",{on:{click:this.toggle},attrs:{for:this.id}},this.$slots.label||this.label)},toggle:function(){if(!this.disabled){var t=this.inputValue;if(Array.isArray(t)){t=t.slice();var e=t.indexOf(this.value);-1===e?t.push(this.value):t.splice(e,1)}else t=this.trueValue||this.falseValue?t===this.trueValue?this.falseValue:this.trueValue:this.value?this.value===this.inputValue?null:this.value:!t;this.validate(!0,t),this.$emit("change",t)}}}};i(0),i(1);var Oe={name:"v-checkbox",components:{VFadeTransition:ye,VIcon:ht},mixins:[Ce,De],data:function(){return{inputIndeterminate:this.indeterminate}},props:{indeterminate:Boolean},computed:{classes:function(){var t={checkbox:!0,"input-group--selection-controls":!0,"input-group--active":this.isActive};return this.hasError?(t["error--text"]=!0,t):this.addColorClassChecks(t)},icon:function(){return this.inputIndeterminate?"indeterminate_check_box":this.isActive?"check_box":"check_box_outline_blank"}},methods:{groupFocus:function(t){this.isFocused=!0,this.$emit("focus",t)},groupBlur:function(t){this.isFocused=!1,this.tabFocused=!1,this.$emit("blur",this.inputValue)}},render:function(t){var e=t("v-fade-transition",[t("v-icon",{staticClass:"icon--selection-control",class:{"icon--checkbox":"check_box"===this.icon},key:this.icon},this.icon)]),i={attrs:{tabindex:this.disabled?-1:this.internalTabIndex||this.tabindex,role:"checkbox","aria-checked":this.inputIndeterminate&&"mixed"||this.isActive&&"true"||"false","aria-label":this.label}};return this.genInputGroup([e,this.genRipple()],i)}};Oe.install=function(t){t.component(Oe.name,Oe)};var Ve=Oe;i(24);var Le={name:"v-chip",components:{VIcon:ht},mixins:[it,pt],props:{close:Boolean,disabled:Boolean,label:Boolean,outline:Boolean,selected:Boolean,small:Boolean,value:{type:Boolean,default:!0}},computed:{classes:function(){return{chip:!0,"chip--disabled":this.disabled,"chip--selected":this.selected,"chip--label":this.label,"chip--outline":this.outline,"chip--small":this.small,"chip--removable":this.close,"theme--light":this.light,"theme--dark":this.dark}}},render:function(t){var e=this,i=[this.$slots.default],n={class:this.classes,attrs:{tabindex:this.disabled?-1:0},directives:[{name:"show",value:this.isActive}],on:this.$listeners};if(this.close){var s={staticClass:"chip__close",on:{click:function(t){t.stopPropagation(),e.$emit("input",!1)}}};i.push(t("div",s,[t(ht,{props:{right:!0}},"cancel")]))}return t("span",n,i)}};Le.install=function(t){t.component(Le.name,Le)};var Pe=Le;i(27);var Me={name:"v-progress-linear",components:{VFadeTransition:ye,VSlideXTransition:xe},mixins:[lt],props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:7},indeterminate:Boolean,query:Boolean,value:{type:[Number,String],default:0}},computed:{styles:function(){var t={};return this.active||(t.height=0),this.indeterminate||100===parseInt(this.bufferValue,10)||(t.width=this.bufferValue+"%"),t},effectiveWidth:function(){return this.bufferValue?100*this.value/this.bufferValue:0},bufferStyles:function(){var t={};return this.active||(t.height=0),t},backgroundStyle:function(){var t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{height:this.active?"auto":0,opacity:t,width:this.bufferValue+"%"}}},methods:{genDeterminate:function(t){return t("div",{ref:"front",staticClass:"progress-linear__bar__determinate",class:O({},this.color,!0),style:{width:this.effectiveWidth+"%"}})},genBar:function(t,e){var i;return t("div",{staticClass:"progress-linear__bar__indeterminate",class:(i={},O(i,e,!0),O(i,this.color,!0),i)})},genIndeterminate:function(t){return t("div",{ref:"front",staticClass:"progress-linear__bar__indeterminate",class:{"progress-linear__bar__indeterminate--active":this.active}},[this.genBar(t,"long"),this.genBar(t,"short")])}},render:function(t){var e=t("v-fade-transition",[this.indeterminate&&this.genIndeterminate(t)]),i=t("v-slide-x-transition",[!this.indeterminate&&this.genDeterminate(t)]),n=t("div",{staticClass:"progress-linear__bar",style:this.styles},[e,i]),s=t("div",{staticClass:"progress-linear__background",class:[this.backgroundColor||this.color],style:this.backgroundStyle});return t("div",{staticClass:"progress-linear",class:{"progress-linear--query":this.query},style:{height:this.height+"px"},on:this.$listeners},[s,n])}};Me.install=function(t){t.component(Me.name,Me)};var je=Me;i(29);var He={name:"v-list",provide:function(){return{listClick:this.listClick,listClose:this.listClose}},mixins:[it],data:function(){return{uid:null,groups:[]}},props:{dense:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},computed:{classes:function(){return{list:!0,"list--two-line":this.twoLine,"list--dense":this.dense,"list--three-line":this.threeLine,"list--subheader":this.subheader,"theme--dark dark--bg":this.dark,"theme--light light--bg":this.light}}},watch:{uid:function(){var t=this;this.$children.filter((function(t){return"v-list-group"===t.$options._componentTag})).forEach((function(e){return e.toggle(t.uid)}))}},methods:{listClick:function(t,e){this.uid=e?t:this.uid===t?null:t},listClose:function(t){this.uid===t&&(this.uid=null)}},render:function(t){return t("ul",{class:this.classes,attrs:{"data-uid":this._uid}},[this.$slots.default])}},Ne={name:"v-list-group",inject:["listClick","listClose"],mixins:[St,pt],props:{group:String,noAction:Boolean},computed:{classes:function(){return{"list--group__header":!0,"list--group__header--active":this.isActive,"list--group__header--no-action":this.noAction}}},watch:{isActive:function(){this.isBooted=!0,this.isActive||this.listClose(this._uid)},$route:function(t){var e=this.matchRoute(t.path);this.group&&(e&&this.isActive!==e&&this.listClick(this._uid),this.isActive=e)}},mounted:function(){this.isBooted=this.isActive,this.group&&(this.isActive=this.matchRoute(this.$route.path)),this.isActive&&this.listClick(this._uid)},methods:{click:function(){var t=this;this.$refs.item.querySelector(".list__tile--disabled")||requestAnimationFrame((function(){return t.listClick(t._uid)}))},toggle:function(t){this.isActive=this._uid===t},matchRoute:function(t){return!!this.group&&null!==t.match(this.group)}},render:function(t){var e=t("ul",{class:"list list--group",directives:[{name:"show",value:this.isActive}],ref:"group"},this.showLazyContent(this.$slots.default));return t("div",{class:"list--group__container"},[t("div",{class:this.classes,on:Object.assign({},{click:this.click},this.$listeners),ref:"item"},[this.$slots.item]),t(Te,[e])])}},Re=Object.assign||function(t){for(var e=1;e1&&(i.staticClass+=" list__tile__action--stack"),t("div",i,n)}},We=r("list__tile__action-text","span"),Ye=r("list__tile__avatar","v-avatar"),Xe=r("list__tile__content","div"),qe=r("list__tile__title","div"),Ge=r("list__tile__sub-title","div");He.install=function(t){t.component(He.name,He),t.component(Ne.name,Ne),t.component(ze.name,ze),t.component(Fe.name,Fe),t.component("v-list-tile-action-text",We),t.component("v-list-tile-avatar",Ye),t.component("v-list-tile-content",Xe),t.component("v-list-tile-sub-title",Ge),t.component("v-list-tile-title",qe)};var Ue=He,Ze={data:function(){return{openTimeout:null,closeTimeout:null}},props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:200}},methods:{clearDelay:function(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay:function(t,e){this.clearDelay();var i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e,i)}}},Ke=w({minZIndex:6,stackClass:"menuable__content__active"}),Je={activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0},hasWindow:!1},Qe={mixins:[Ft,Ke],data:function(){return{absoluteX:0,absoluteY:0,dimensions:Object.assign({},Je),isContentActive:!1,pageYOffset:0}},props:{activator:{default:null},allowOverflow:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:Number,default:0},nudgeLeft:{type:Number,default:0},nudgeRight:{type:Number,default:0},nudgeTop:{type:Number,default:0},nudgeWidth:{type:Number,default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},computed:{hasActivator:function(){return!!this.$slots.activator||this.activator}},watch:{disabled:function(t){t&&this.callDeactivate()},isActive:function(t){this.disabled||t&&this.callActivate()||this.callDeactivate()}},methods:{absolutePosition:function(){return{offsetTop:0,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate:function(){},calcLeft:function(){var t=this.dimensions.activator,e=this.dimensions.content,i=this.left?t.right-e.width:t.left;return this.offsetX&&(i+=this.left?-t.width:t.width),this.nudgeLeft&&(i-=this.nudgeLeft),this.nudgeRight&&(i+=this.nudgeRight),i},calcTop:function(){var t=this.dimensions.activator,e=this.dimensions.content,i=this.top?t.bottom-e.height:t.top;return this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=this.nudgeTop),this.nudgeBottom&&(i+=this.nudgeBottom),i+this.pageYOffset},calcXOverflow:function(t){var e=isNaN(parseInt(this.maxWidth))?0:parseInt(this.maxWidth),i=this.getInnerWidth(),n=Math.max(this.dimensions.content.width,e),s=t+n,r=s-i;return(!this.left||this.right)&&r>0&&(t=i-n-(i>600?30:12)),t<0&&(t=12),t},calcYOverflow:function(t){var e=this.getInnerHeight(),i=this.pageYOffset+e,n=this.dimensions.activator,s=this.dimensions.content.height,r=t+s,o=i0&&void 0!==arguments[0]?arguments[0]:null;t&&t.addEventListener("click",this.activatorClickHandler)},removeActivatorEvents:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.removeEventListener("click",this.activatorClickHandler)}}},ei={methods:{genActivator:function(){if(!this.$slots.activator)return null;var t={staticClass:"menu__activator",class:{"menu__activator--active":this.hasJustFocused||this.isActive},ref:"activator",on:{}};return this.openOnHover?(t.on.mouseenter=this.mouseEnterHandler,t.on.mouseleave=this.mouseLeaveHandler):this.openOnClick&&(t.on.click=this.activatorClickHandler),this.$createElement("div",t,this.$slots.activator)},genTransition:function(){return this.transition?this.$createElement("transition",{props:{name:this.transition}},[this.genContent()]):this.genContent()},genDirectives:function(){var t=this,e=this.openOnHover?[]:[{name:"click-outside",value:{callback:function(){return t.closeOnClick},include:function(){return[t.$el].concat(L(t.getOpenDependentElements()))}}}];return e.push({name:"show",value:this.isContentActive}),e},genContent:function(){var t=this,e={class:[("menu__content "+this.contentClass).trim(),{menuable__content__active:this.isActive}],style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:function(e){e.stopPropagation(),e.target.getAttribute("disabled")||t.closeOnContentClick&&(t.isActive=!1)}}};return!this.disabled&&this.openOnHover&&(e.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(e.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",e,this.showLazyContent(this.$slots.default))}}},ii={data:function(){return{listIndex:-1,tiles:[]}},watch:{isActive:function(t){t||(this.listIndex=-1)},listIndex:function(t,e){this.getTiles(),t in this.tiles&&(this.tiles[t].classList.add("list__tile--highlighted"),this.$refs.content.scrollTop=48*t),e in this.tiles&&this.tiles[e].classList.remove("list__tile--highlighted")}},methods:{changeListIndex:function(t){return([40,38,13].includes(t.keyCode)||32===t.keyCode&&!this.isActive)&&t.preventDefault(),[27,9].includes(t.keyCode)?this.isActive=!1:!this.isActive&&[13,32].includes(t.keyCode)&&this.openOnClick?this.isActive=!0:(40===t.keyCode&&this.listIndex0?this.listIndex--:13===t.keyCode&&-1!==this.listIndex&&this.tiles[this.listIndex].click(),void(-1===this.listIndex&&this.setActiveListIndex()))},getTiles:function(){this.tiles=this.$refs.content.querySelectorAll(".list__tile")},setActiveListIndex:function(){var t=this;Array.from(this.tiles||[]).forEach((function(e,i){if(e.classList.contains("list__tile--active"))return void(t.listIndex=i)}))}}},ni={methods:{calculateScroll:function(){if(null!==this.selectedIndex){var t=0;this.selectedIndex>=this.stopIndex?t=this.$refs.content.scrollHeight:this.selectedIndex>this.startIndex&&(t=this.selectedIndex*(6*this.defaultOffset)-7*this.defaultOffset),this.$refs.content.scrollTop=t}},calcLeftAuto:function(){var t=this.dimensions.activator;return parseInt(t.left-2*this.defaultOffset)},calcTopAuto:function(){if(!this.hasActivator)return this.calcTop();var t=Array.from(this.tiles).findIndex((function(t){return t.classList.contains("list__tile--active")}));if(-1===t)return this.selectedIndex=null,this.calcTop();this.selectedIndex=t;var e=t,i=-2*this.defaultOffset;return this.stopIndex=this.tiles.length>4?this.tiles.length-4:this.tiles.length,t>this.startIndex&&t=this.stopIndex&&(i=-this.defaultOffset,e=t-this.stopIndex),i--,this.calcTop()+i-e*(6*this.defaultOffset)}}};i(30);var si={name:"v-menu",mixins:[ti,Tt,Ze,Ct,ei,ii,Qe,ni,pt],directives:{ClickOutside:It,Resize:rt},data:function(){return{defaultOffset:8,maxHeightAutoDefault:"200px",startIndex:3,stopIndex:0,hasJustFocused:!1,resizeTimeout:null}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,fullWidth:Boolean,maxHeight:{default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"menu-transition"}},computed:{calculatedLeft:function(){var t=this.calcLeft;return this.auto&&(t=this.calcLeftAuto),this.calcXOverflow(t())+"px"},calculatedMaxHeight:function(){return this.auto?"200px":isNaN(this.maxHeight)?this.maxHeight:this.maxHeight+"px"},calculatedMaxWidth:function(){return isNaN(this.maxWidth)?this.maxWidth:this.maxWidth+"px"},calculatedMinWidth:function(){if(this.minWidth)return isNaN(this.minWidth)?this.minWidth:this.minWidth+"px";var t=this.dimensions.activator.width+this.nudgeWidth+(this.auto?16:0),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return Math.min(e,t)+"px"},calculatedTop:function(){var t=this.calcTop;return this.auto&&(t=this.calcTopAuto),this.calcYOverflow(t())+"px"},styles:function(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{activator:function(t,e){this.removeActivatorEvents(e),this.addActivatorEvents(t)},isContentActive:function(t){this.hasJustFocused=t}},methods:{activate:function(){this.getTiles(),this.updateDimensions(),requestAnimationFrame(this.startTransition),setTimeout(this.calculateScroll,50)},onResize:function(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(this.updateDimensions,100))}},render:function(t){return t("div",{staticClass:"menu",class:{"menu--disabled":this.disabled},style:{display:this.fullWidth?"block":"inline-block"},directives:[{name:"resize",value:{debounce:500,value:this.onResize}}],on:{keydown:this.changeListIndex}},[this.genActivator(),this.genTransition()])}};si.install=function(t){t.component(si.name,si)};var ri=si,oi={props:{noDataText:{type:String,default:"No data available"}}},ai={"#":{test:function(t){return t.match(/[0-9]/)}},A:{test:function(t){return t.match(/[A-Z]/i)},convert:function(t){return t.toUpperCase()}},a:{test:function(t){return t.match(/[a-z]/i)},convert:function(t){return t.toLowerCase()}},N:{test:function(t){return t.match(/[0-9A-Z]/i)},convert:function(t){return t.toUpperCase()}},n:{test:function(t){return t.match(/[0-9a-z]/i)},convert:function(t){return t.toLowerCase()}},X:{test:hi}},li=/[-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]/,ci=function(t){return ai.hasOwnProperty(t)},ui=function(t,e){return ai[t].convert?ai[t].convert(e):e},hi=function(t){return t&&t.match(li)},di=function(t,e){return!(null==e||!ci(t))&&ai[t].test(e)},pi=function(t,e,i){if(!e.length||!t.length)return t;Array.isArray(e)||(e=e.split(""));for(var n=0,s=0,r="";s-1}}},methods:{genFiltered:function(t){if(!this.isAutocomplete||!this.searchValue||this.filteredItems.length<1)return t;t=(t||"").toString();var e=this.getMaskedCharacters(t),i=e.start,n=e.middle,s=e.end;return""+i+this.genHighlight(n)+s},genHighlight:function(t){return this.isNotFiltering?t:''+t+""},getMaskedCharacters:function(t){var e=(this.searchValue||"").toString().toLowerCase(),i=t.toLowerCase().indexOf(e);return{start:t.slice(0,i),middle:t.slice(i,i+e.length),end:t.slice(i+e.length)}},filterSearch:function(){var t=this;return this.isAutocomplete?this.computedItems.filter((function(e){return t.filter(e,t.searchValue,t.getText(e))})):this.computedItems},onKeyDown:function(t){var e=this;return!this.menuIsActive&&[13,32,38,40].includes(t.keyCode)?(t.preventDefault(),this.showMenuItems()):[9,27].includes(t.keyCode)?this.blur():(13===t.keyCode&&this.searchValue&&this.tags&&!this.filteredItems.length&&(this.selectedItems.push(this.searchValue),this.$nextTick((function(){e.searchValue=null,e.$emit("change",e.selectedItems)}))),this.isAutocomplete&&[32].includes(t.keyCode)||this.$refs.menu.changeListIndex(t),[38,40].includes(t.keyCode)&&(this.selectedIndex=-1),void(!this.isAutocomplete||this.hideSelections||this.searchValue||this.changeSelectedIndex(t.keyCode)))}}},gi=Object.assign||function(t){for(var e=1;e0),zIndex:this.menuZIndex},on:{input:function(e){e||(t.menuIsActive=!1)}}};return this.isAutocomplete&&(n.props.transition=""),this.minWidth&&(n.props.minWidth=this.minWidth),this.$createElement("v-menu",n,[this.genList()])},genSelectionsAndSearch:function(){var t=this,e={staticClass:"input-group--select__autocomplete",class:{"input-group--select__autocomplete--index":this.selectedIndex>-1},style:{flex:this.shouldBreak?"1 0 100%":null},attrs:gi({},this.$attrs,{disabled:this.disabled||!this.isAutocomplete,readonly:this.readonly,tabindex:this.disabled||!this.isAutocomplete?-1:this.tabindex}),domProps:{value:this.maskText(this.lazySearch||"")},directives:[{name:"show",value:this.isAutocomplete||this.placeholder&&!this.selectedItems.length}],ref:"input",key:"input"};return this.isAutocomplete&&(e.attrs.role="combobox",e.domProps.autocomplete=this.browserAutocomplete,e.on=gi({},this.genListeners(),{input:function(e){t.searchValue=t.unmaskText(e.target.value)}}),e.directives=e.directives.concat(this.genDirectives())),this.placeholder&&(e.domProps.placeholder=this.placeholder),this.$createElement("div",{class:"input-group__selections",style:{overflow:"hidden"},ref:"activator"},[this.genSelections(),this.$createElement("input",e)])},genSelections:function(){var t=this;if(this.hideSelections)return[];var e=[],i=this.chips,n=this.$scopedSlots.selection,s=this.selectedItems.length;return this.selectedItems.forEach((function(r,o){n?e.push(t.genSlotSelection(r,o)):i?e.push(t.genChipSelection(r,o)):t.segmented?e.push(t.genSegmentedBtn(r,o)):e.push(t.genCommaSelection(r,o0},isDropdown:function(){return this.segmented||this.overflow||this.editable||this.solo},isMultiple:function(){return this.multiple||this.tags},searchValue:{get:function(){return this.lazySearch},set:function(t){var e=this;!this.isAutocomplete||this.selectedIndex>-1||(this.lazySearch=t,clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout((function(){e.$emit("update:searchInput",t)}),this.debounceSearch))}},selectedItem:function(){var t=this;return this.isMultiple?null:this.selectedItems.find((function(e){return t.getValue(e)===t.getValue(t.inputValue)}))||null}},watch:{inputValue:function(t){this.genSelectedItems(t),this.$emit("input",t)},isActive:function(t){t?this.searchValue=this.getText(this.selectedItem):(this.searchValue=null,this.menuIsActive=!1,this.isFocused=!1,this.selectedIndex=-1)},isBooted:function(){var t=this;this.$nextTick((function(){t.content instanceof EventTarget&&t.content.addEventListener("scroll",t.onScroll,!1)}))},isFocused:function(t){var e=this;if(this.isAutocomplete&&!this.mask&&!this.isMultiple){var i=(this.selectedItem||"").length;requestAnimationFrame((function(){e.$refs.input.setSelectionRange(i,i)}))}},items:function(t){var e=this;this.cacheItems&&(this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))),this.$refs.menu.listIndex=-1,this.searchValue&&this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.listIndex=0)})),this.genSelectedItems()},menuIsActive:function(t){t&&(this.isBooted=!0,this.isActive=!0)},isMultiple:function(t){this.inputValue=t?[]:null},searchInput:function(t){this.searchValue=t},searchValue:function(t){var e=this;this.$refs.input.scrollWidth>this.$refs.input.clientWidth?(this.shouldBreak=!0,this.$nextTick(this.$refs.menu.updateDimensions)):null===t&&(this.shouldBreak=!1),this.isActive&&!this.menuIsActive&&t!==this.getValue(this.selectedItem)&&(this.menuIsActive=!0),this.$refs.menu.listIndex=null,this.$nextTick((function(){e.$refs.menu&&(e.$refs.menu.listIndex=t?0:-1)}))},selectedItems:function(){clearTimeout(this.searchTimeout),this.isAutocomplete&&this.$nextTick(this.$refs.menu.updateDimensions)},value:function(t){this.inputValue=t,this.validate()}},created:function(){this.tags&&(this.selectedItems=this.inputValue)},mounted:function(){var t=this;this.$vuetify.load((function(){t._isDestroyed||(t.content=t.$refs.menu.$refs.content,t.genSelectedItems())}))},beforeDestroy:function(){this.isBooted&&this.content&&this.content.removeEventListener("scroll",this.onScroll,!1)},methods:{blur:function(){var t=this;this.$emit("blur"),this.isAutocomplete&&this.$refs.input&&this.$refs.input.blur(),this.$nextTick((function(){return t.isActive=!1}))},changeSelectedIndex:function(t){if(32!==t&&[8,37,39,46].includes(t)){var e=this.selectedItems.length-1;if(37===t)this.selectedIndex=-1===this.selectedIndex?e:this.selectedIndex-1;else if(39===t)this.selectedIndex=this.selectedIndex>=e?-1:this.selectedIndex+1;else if(-1===this.selectedIndex)return void(this.selectedIndex=e);if([8,46].includes(t)){var i=this.selectedIndex===e?this.selectedIndex-1:this.selectedItems[this.selectedIndex+1]?this.selectedIndex:-1;this.selectItem(this.selectedItems[this.selectedIndex]),this.selectedIndex=i}}},compareObjects:function(t,e){var i=Object.keys(t),n=Object.keys(e);if(i.length!==n.length)return!1;for(var s=0,r=i.length;s0&&void 0!==arguments[0]?arguments[0]:this.inputValue;if(this.tags)return this.selectedItems=e;var i=this.computedItems.filter((function(i){return t.isMultiple?void 0!==e.find((function(e){var n=t.getValue(e),s=t.getValue(i);return n!==Object(n)?n===s:t.compareObjects(n,s)})):t.getValue(i)===t.getValue(e)}));!i.length&&null!=e&&this.tags&&(i=Array.isArray(e)?e:[e]),this.selectedItems=i},getText:function(t){return this.getPropertyFromItem(t,this.itemText)},getValue:function(t){return this.getPropertyFromItem(t,this.itemValue)},clearableCallback:function(){var t=this.isMultiple?[]:null;this.inputValue=t,this.searchValue=null,this.$emit("change",t),this.genSelectedItems(),this.showMenu()},showMenu:function(){this.showMenuItems(),this.isAutocomplete&&this.focus()},onScroll:function(){var t=this;if(this.isActive){this.content.scrollHeight-(this.content.scrollTop+this.content.clientHeight)<200&&(this.lastItem+=20)}else requestAnimationFrame((function(){return t.content.scrollTop=0}))},selectItem:function(t){var e=this;if(this.isMultiple){var i=[],n=this.inputValue.slice(),s=this.inputValue.findIndex((function(i){var n=e.getValue(i),s=e.getValue(t);return n!==Object(n)?n===s:e.compareObjects(n,s)}));-1!==s&&n.splice(s,1)||n.push(t),this.inputValue=n.map((function(t){return i.push(t),e.returnObject?t:e.getValue(t)})),this.selectedItems=i}else this.inputValue=this.returnObject?t:this.getValue(t),this.selectedItems=[t];this.searchValue=!this.isMultiple||this.chips?this.getText(this.selectedItem):"",this.$emit("change",this.inputValue);var r=this.$refs.menu.listIndex;this.$refs.menu.listIndex=-1,this.$nextTick((function(){e.isAutocomplete&&e.$refs.input?e.$refs.input.focus():e.$el.focus(),e.$refs.menu&&(e.$refs.menu.listIndex=r)}))},showMenuItems:function(){this.isActive=!0,this.menuIsActive=!0}},render:function(t){var e=this,i={attrs:yi({tabindex:this.isAutocomplete||this.disabled?-1:this.tabindex},this.isAutocomplete?null:this.$attrs,{role:this.isAutocomplete?null:"combobox"})};return this.isAutocomplete?i.on={click:function(){e.disabled||e.readonly||setTimeout((function(){e.menuIsActive||(e.focus(),e.menuIsActive=!0)}),100)}}:(i.on=this.genListeners(),i.directives=this.genDirectives()),this.genInputGroup([this.genSelectionsAndSearch(),this.genMenu()],i,(function(){return e.showMenu()}))}};wi.install=function(t){t.component(wi.name,wi)};var xi=wi,ki={methods:{genTHead:function(){var t=this,e=[];if(this.$scopedSlots.headers){var i=this.$scopedSlots.headers({headers:this.headers,indeterminate:this.indeterminate,all:this.all});e=this.needsTR(i)?this.genTR(i):i}else{var n=this.headers.map((function(e){return t.genHeader(e)})),s=this.$createElement("v-checkbox",{props:{dark:this.dark,light:this.light,color:!0===this.selectAll?"":this.selectAll,hideDetails:!0,inputValue:this.all,indeterminate:this.indeterminate},on:{change:this.toggle}});this.hasSelectAll&&n.unshift(this.$createElement("th",[s])),e=this.genTR(n)}return this.$createElement("thead",[e])},genHeader:function(t){var e=[this.$scopedSlots.headerCell?this.$scopedSlots.headerCell({header:t}):t[this.headerText]];return this.$createElement.apply(this,["th"].concat(P(this.genHeaderData(t,e))))},genHeaderData:function(t,e){var i=["column"],n={attrs:{role:"columnheader",scope:"col","aria-label":t[this.headerText]||"","aria-sort":"none"}};return"sortable"in t&&t.sortable||!("sortable"in t)?this.genHeaderSortingData(t,e,n,i):n.attrs["aria-label"]+=": Not sorted.",i.push("text-xs-"+(t.align||"right")),Array.isArray(t.class)?i.push.apply(i,P(t.class)):t.class&&i.push(t.class),n.class=i,[n,e]},genHeaderSortingData:function(t,e,i,n){var s=this;"value"in t||console.warn("Data table headers must have a value property that corresponds to a value in the v-model array"),i.attrs.tabIndex=0,i.on={click:function(){s.expanded=[],s.sort(t.value)},keydown:function(e){32===e.keyCode&&(e.preventDefault(),s.sort(t.value))}},n.push("sortable");var r=this.$createElement("v-icon",{attrs:{"aria-hidden":!0}},"arrow_upward");t.align&&"left"===t.align?e.push(r):e.unshift(r);var o=this.computedPagination;o.sortBy===t.value?(n.push("active"),o.descending?(n.push("desc"),i.attrs["aria-sort"]="descending",i.attrs["aria-label"]+=": Sorted descending. Activate to remove sorting."):(n.push("asc"),i.attrs["aria-sort"]="ascending",i.attrs["aria-label"]+=": Sorted ascending. Activate to sort descending.")):i.attrs["aria-label"]+=": Not sorted. Activate to sort ascending."}}},$i={methods:{genTBody:function(){var t=[];return this.itemsLength?this.filteredItems.length?t.push(this.genFilteredItems()):t.push(this.genEmptyBody(this.noResultsText)):t.push(this.genEmptyBody(this.noDataText)),this.$createElement("tbody",t)},genExpandedRow:function(t){var e=[];if(this.isExpanded(t.item)){var i=this.$createElement("div",{class:"datatable__expand-content",key:t.item[this.itemKey]},this.$scopedSlots.expand(t));e.push(i)}var n=this.$createElement("transition-group",{class:"datatable__expand-col",attrs:{colspan:"100%"},props:{tag:"td"},on:ce},e);return this.genTR([n],{class:"datatable__expand-row"})},createProps:function(t,e){var i=this,n={item:t,index:e},s=this.itemKey;return Object.defineProperty(n,"selected",{get:function(){return i.selected[t[i.itemKey]]},set:function(e){var n=i.value.slice();e?n.push(t):n=n.filter((function(e){return e[s]!==t[s]})),i.$emit("input",n)}}),Object.defineProperty(n,"expanded",{get:function(){return i.expanded[t[i.itemKey]]},set:function(e){i.expand||Object.keys(i.expanded).forEach((function(t){i.$set(i.expanded,t,!1)})),i.$set(i.expanded,t[i.itemKey],e)}}),n},genFilteredItems:function(){var t=this,e=[];return this.filteredItems.forEach((function(i,n){var s=t.createProps(i,n),r=t.$scopedSlots.items?t.$scopedSlots.items(s):[];if(e.push(t.needsTR(r)?t.genTR(r,{attrs:{active:t.isSelected(i)}}):r),t.$scopedSlots.expand){var o=t.genExpandedRow(s);e.push(o)}})),e},genEmptyBody:function(t){return this.genTR([this.$createElement("td",{class:"text-xs-center",attrs:{colspan:"100%"}},t)])}}},_i={methods:{genPrevIcon:function(){var t=this;return this.$createElement("v-btn",{props:{disabled:1===this.computedPagination.page,icon:!0,flat:!0,dark:this.dark,light:this.light},on:{click:function(){var e=t.computedPagination.page;t.updatePagination({page:e-1})}},attrs:{"aria-label":"Previous page"}},[this.$createElement("v-icon","chevron_left")])},genNextIcon:function(){var t=this,e=this.computedPagination,i=e.rowsPerPage<0||e.page*e.rowsPerPage>=this.itemsLength||this.pageStop<0;return this.$createElement("v-btn",{props:{disabled:i,icon:!0,flat:!0,dark:this.dark,light:this.light},on:{click:function(){var e=t.computedPagination.page;t.updatePagination({page:e+1})}},attrs:{"aria-label":"Next page"}},[this.$createElement("v-icon","chevron_right")])},genSelect:function(){var t=this;return this.$createElement("div",{class:"datatable__actions__select"},[this.rowsPerPageText,this.$createElement("v-select",{attrs:{"aria-label":this.rowsPerPageText},props:{items:this.rowsPerPageItems,value:this.computedPagination.rowsPerPage,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:function(e){t.updatePagination({page:1,rowsPerPage:e})}}})])},genPagination:function(){var t="–";if(this.itemsLength){var e=this.itemsLengthr?1:s0},hasSelectAll:function(){return void 0!==this.selectAll&&!1!==this.selectAll},itemsLength:function(){return this.search?this.searchLength:this.totalItems||this.items.length},indeterminate:function(){return this.hasSelectAll&&this.someItems&&!this.everyItem},everyItem:function(){var t=this;return this.filteredItems.length&&this.filteredItems.every((function(e){return t.isSelected(e)}))},someItems:function(){var t=this;return this.filteredItems.some((function(e){return t.isSelected(e)}))},getPage:function(){var t=this.computedPagination.rowsPerPage;return t===Object(t)?t.value:t},pageStart:function(){return-1===this.getPage?0:(this.computedPagination.page-1)*this.getPage},pageStop:function(){return-1===this.getPage?this.itemsLength:this.computedPagination.page*this.getPage},filteredItems:function(){if(this.totalItems)return this.items;var t=this.items.slice();return void 0!==this.search&&null!==this.search&&(t=this.customFilter(t,this.search,this.filter),this.searchLength=t.length),t=this.customSort(t,this.computedPagination.sortBy,this.computedPagination.descending),this.hideActions&&!this.hasPagination?t:t.slice(this.pageStart,this.pageStop)},selected:function(){var t=this,e={};return this.value.forEach((function(i){return e[i[t.itemKey]]=!0})),e}},watch:{indeterminate:function(t){t&&(this.all=!0)},someItems:function(t){t||(this.all=!1)},search:function(){this.updatePagination({page:1,totalItems:this.itemsLength})},everyItem:function(t){t&&(this.all=!0)}},methods:{updatePagination:function(t){var e=this.hasPagination?this.pagination:this.defaultPagination,i=Object.assign({},e,t);this.$emit("update:pagination",i),this.hasPagination||(this.defaultPagination=i)},isSelected:function(t){return this.selected[t[this.itemKey]]},isExpanded:function(t){return this.expanded[t[this.itemKey]]},sort:function(t){var e=this.computedPagination,i=e.sortBy,n=e.descending;null===i?this.updatePagination({sortBy:t,descending:!1}):i!==t||n?i!==t?this.updatePagination({sortBy:t,descending:!1}):this.mustSort?this.updatePagination({sortBy:t,descending:!1}):this.updatePagination({sortBy:null,descending:null}):this.updatePagination({descending:!0})},needsTR:function(t){return t.length&&t.find((function(t){return"td"===t.tag}))},genTR:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$createElement("tr",e,t)},toggle:function(t){var e=this,i=Object.assign({},this.selected);this.filteredItems.forEach((function(n){return i[n[e.itemKey]]=t})),this.$emit("input",this.items.filter((function(t){return i[t[e.itemKey]]})))}},created:function(){var t=this.headers.find((function(t){return!("sortable"in t)||t.sortable}));this.defaultPagination.sortBy=t?t.value:null,this.rowsPerPageItems.length?this.defaultPagination.rowsPerPage=this.rowsPerPageItems[0]:console.warn("The prop 'rows-per-page-items' in v-data-table can not be empty."),this.defaultPagination.totalItems=this.itemsLength,this.updatePagination(Object.assign({},this.defaultPagination,this.pagination))},render:function(t){return t("v-table-overflow",{},[t("table",{class:this.classes},[this.genTHead(),this.genTProgress(),this.genTBody(),this.genTFoot()])])}};i(31);var Ii={name:"v-edit-dialog",data:function(){return{isActive:!1,isSaving:!1}},props:{cancelText:{default:"Cancel"},large:Boolean,lazy:Boolean,saveText:{default:"Save"},transition:{type:String,default:"slide-x-reverse-transition"}},watch:{isActive:function(t){t&&this.$emit("open")&&setTimeout(this.focus,50),t||(!this.isSaving&&this.$emit("cancel"),this.isSaving&&this.$emit("close"),this.isSaving=!1)}},methods:{cancel:function(){this.isActive=!1},focus:function(){var t=this.$refs.content.querySelector("input");t&&t.focus()},save:function(){this.isSaving=!0,this.isActive=!1,this.$emit("save")},genButton:function(t,e){return this.$createElement("v-btn",{props:{flat:!0,primary:!0,light:!0},on:{click:t}},e)},genActions:function(){return this.$createElement("div",{class:"small-dialog__actions",directives:[{name:"show",value:this.large}]},[this.genButton(this.cancel,this.cancelText),this.genButton(this.save,this.saveText)])},genContent:function(){var t=this;return this.$createElement("div",{on:{keydown:function(e){27===e.keyCode&&t.cancel(),13===e.keyCode&&t.save()}},ref:"content"},[this.$slots.input])}},render:function(t){var e=this;return t("v-menu",{class:"small-dialog",props:{contentClass:"small-dialog__content",transition:this.transition,origin:"top right",right:!0,value:this.isActive,closeOnContentClick:!1,lazy:this.lazy},on:{input:function(t){return e.isActive=t}}},[t("a",{domProps:{href:"javascript:;"},slot:"activator"},this.$slots.default),this.genContent(),this.genActions()])}};Ai.install=function(t){var e=r("table__overflow");t.component(Ai.name,Ai),t.component(Ii.name,Ii),t.component("v-table-overflow",e)};var Bi=Ai,Ei={mixins:[it],data:function(){return{isSaving:!1}},props:{actions:Boolean,autosave:Boolean,landscape:Boolean,noTitle:Boolean,scrollable:Boolean,value:{required:!0},light:Boolean,dark:Boolean},methods:{save:function(){},cancel:function(){},genSlot:function(){return this.$scopedSlots.default({save:this.save,cancel:this.cancel})}}},Di={methods:{genYears:function(){return this.$createElement("ul",{staticClass:"picker--date__years",key:"year",ref:"years"},this.genYearItems())},yearClick:function(t){var e=this;this.inputDate=this.normalizeDate(t,this.tableMonth,this.day),"year"===this.type?this.$nextTick((function(){return e.autosave&&e.save()})):this.activePicker="MONTH"},genYearItems:function(){for(var t=this,e=[],i=this.year+100,n=this.year-100;i>n;i--)!(function(i,n){var s=t.normalizeDate(i,t.month,t.day),r=t.supportsLocaleFormat?s.toLocaleDateString(t.locale,{year:"numeric",timeZone:t.timeZone}):i;e.push(t.$createElement("li",{class:{active:t.year===i},on:{click:function(){return t.yearClick(i)}}},r))})(i);return e}}},Oi={methods:{genYearIcon:function(){return this.yearIcon?this.$createElement("v-icon",{props:{dark:!0}},this.yearIcon):null},getYearBtn:function(){var t=this,e=this.normalizeDate(this.year,this.month,this.day);return this.$createElement("div",{class:{"picker--date__title-year":!0,active:"YEAR"===this.activePicker},on:{click:function(e){e.stopPropagation(),t.activePicker="YEAR"}}},[this.supportsLocaleFormat?e.toLocaleDateString(this.locale,{year:"numeric",timeZone:this.timeZone}):this.year,this.genYearIcon()])},genTitleText:function(t){return this.$createElement("transition",{props:{name:"slide-y-reverse-transition",mode:"out-in"}},[this.$createElement("div",{domProps:{innerHTML:t},key:t})])},genTitleDate:function(t){var e=this;return this.$createElement("div",{staticClass:"picker--date__title-date",class:{active:this.activePicker===this.type.toUpperCase()},on:{click:function(t){t.stopPropagation(),e.activePicker=e.type.toUpperCase()}}},[this.genTitleText(t)])},genTitle:function(t){return this.$createElement("div",{class:"picker__title"},[this.getYearBtn(),this.genTitleDate(t)])}}},Vi={methods:{genBtn:function(t,e){var i=this;return this.$createElement("v-btn",{props:{dark:this.dark,icon:!0},nativeOn:{click:function(e){e.stopPropagation(),"DATE"===i.activePicker?i.tableDate=i.normalizeDate(i.tableYear,t):"MONTH"===i.activePicker&&(i.tableDate=i.normalizeDate(t,i.tableMonth))}}},e)},genHeader:function(t,e){var i=this,n=this.$createElement("strong",{key:t,on:{click:function(){return i.activePicker="DATE"===i.activePicker?"MONTH":"YEAR"}}},e),s=this.$createElement("transition",{props:{name:this.computedTransition}},[n]);return this.$createElement("div",{class:"picker--date__header-selector-date"},[s])},genSelector:function(){var t="DATE"===this.activePicker?this.tableMonth:this.tableYear,e=this.normalizeDate(this.tableYear,this.tableMonth),i="";if("function"==typeof this.headerDateFormat&&"DATE"===this.activePicker)i=this.headerDateFormat(e,this.activePicker);else if(this.supportsLocaleFormat){var n="DATE"===this.activePicker?this.headerDateFormat:{year:"numeric"};i=e.toLocaleDateString(this.locale,Object.assign(n,{timeZone:this.timeZone}))}else"DATE"===this.activePicker?(i=e.getFullYear()+"/",e.getMonth()<9&&(i+="0"),i+=1+e.getMonth()):"MONTH"===this.activePicker&&(i=e.getFullYear());return this.$createElement("div",{class:"picker--date__header-selector"},[this.genBtn(t-1,[this.$createElement("v-icon","chevron_left")]),this.genHeader(t,i),this.genBtn(t+1,[this.$createElement("v-icon","chevron_right")])])}}},Li={methods:{dateWheelScroll:function(t){t.preventDefault();var e=this.tableMonth;t.deltaY<0?e++:e--,this.tableDate=this.normalizeDate(this.tableYear,e)},dateGenTHead:function(){var t=this,e=this.narrowDays.map((function(e){return t.$createElement("th",e)}));return this.$createElement("thead",this.dateGenTR(e))},dateClick:function(t){var e=this;this.inputDate=this.normalizeDate(this.tableYear,this.tableMonth,t),this.$nextTick((function(){return e.autosave&&e.save()}))},dateGenButtonText:function(t,e){return this.supportsLocaleFormat?t.toLocaleDateString(this.locale,{day:"numeric",timeZone:this.timeZone}):e},dateGenTD:function(t){var e=this,i=this.normalizeDate(this.tableYear,this.tableMonth,t),n=this.dateGenButtonText(i,t),s=this.$createElement("button",{staticClass:"btn btn--date-picker btn--floating btn--small btn--flat",class:{"btn--active":this.dateIsActive(t),"btn--outline":this.dateIsCurrent(t)&&!this.dateIsActive(t),"btn--disabled":!this.isAllowed(i)},attrs:{type:"button"},domProps:{innerHTML:''+n+""},on:{click:function(){return e.dateClick(t)}}});return this.$createElement("td",[s])},dateGenTBody:function(){for(var t=[],e=this.normalizeDate(this.tableYear,this.tableMonth+1,0).getDate(),i=[],n=(this.normalizeDate(this.tableYear,this.tableMonth).getDay()-parseInt(this.firstDayOfWeek)+7)%7,s=0;s0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return[this.$createElement("tr",e,t)]},dateIsActive:function(t){return this.tableYear===this.year&&this.tableMonth===this.month&&this.day===t},dateIsCurrent:function(t){return this.currentYear===this.tableYear&&this.currentMonth===this.tableMonth&&this.currentDay===t}}},Pi={methods:{monthWheelScroll:function(t){t.preventDefault();var e=this.tableYear;t.deltaY<0?e++:e--,this.tableDate=this.normalizeDate(e)},monthClick:function(t){var e=this;this.inputDate=this.normalizeDate(this.tableYear,t,this.day),"date"===this.type?this.activePicker="DATE":this.$nextTick((function(){return e.autosave&&e.save()}))},monthGenTD:function(t){var e=this,i=this.normalizeDate(this.tableYear,t),n=void 0;return"function"==typeof this.monthFormat?n=this.monthFormat(i):this.supportsLocaleFormat?n=i.toLocaleDateString(this.locale,Object.assign(this.monthFormat,{timeZone:this.timeZone})):(n=i.getMonth()+1)<10&&(n="0"+n),this.$createElement("td",[this.$createElement("button",{class:{"btn btn--date-picker":!0,"btn--raised":this.monthIsActive(t),"btn--flat":!0,"btn--active":this.monthIsActive(t),"btn--outline":this.monthIsCurrent(t)&&!this.monthIsActive(t),"btn--disabled":"month"===this.type&&!this.isAllowed(i)},attrs:{type:"button"},domProps:{innerHTML:''+n+""},on:{click:function(){return e.monthClick(t)}}})])},monthGenTBody:function(){for(var t=this,e=[],i=Array(3).fill(null),n=12/i.length,s=0;s-1?i=i.replace(",",",
"):i.indexOf(" ")>-1&&(i=i.replace(" ","
"))),i}},watch:{activePicker:function(t,e){var i=this;if("YEAR"===t)var n=setInterval((function(){i.$refs.years&&(i.$refs.years.scrollTop=i.$refs.years.scrollHeight/2-125,clearInterval(n))}),100)},tableDate:function(t,e){this.isReversing=t=t)}return!0},genTableTouch:function(t){return{name:"touch",value:{left:function(e){return e.offsetX<-15&&t(1)},right:function(e){return e.offsetX>15&&t(-1)}}}},genTable:function(t,e){var i={staticClass:"picker--date__table",class:{"picker--month__table":"MONTH"===this.activePicker},on:this.scrollable?{wheel:this.monthWheelScroll}:void 0,directives:[this.genTableTouch(e)]},n=this.$createElement("table",{key:"MONTH"===this.activePicker?this.tableYear:this.tableMonth},t);return this.$createElement("div",i,[this.$createElement("transition",{props:{name:this.computedTransition}},[n])])},genPickerBody:function(t){var e=this,i=[];return"DATE"===this.activePicker?(i.push(t("div",{staticClass:"picker--date__header"},[this.genSelector()])),i.push(this.genTable([this.dateGenTHead(),this.dateGenTBody()],(function(t){return e.tableDate=e.normalizeDate(e.tableYear,e.tableMonth+t)})))):"MONTH"===this.activePicker?(i.push(t("div",{staticClass:"picker--date__header"},[this.genSelector()])),i.push(this.genTable([this.monthGenTBody()],(function(t){return e.tableDate=e.normalizeDate(e.tableYear+t)})))):"YEAR"===this.activePicker&&i.push(this.genYears()),i},makeDate:function(t){if(null==t)return t;if(t instanceof Date)return t;if(!isNaN(t))return new Date(t);var e=t.trim().split(" ")[0].split("-"),i=ji(e,3),n=i[0],s=i[1],r=i[2];return this.normalizeDate(n,s?s-1:0,r?1*r:1)},normalizeDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return new Date(t,e,i,1)}},created:function(){this.getWeekDays(),this.tableDate=this.inputDate},mounted:function(){var t=new Date;this.currentDay=t.getDate(),this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear()},render:function(t){var e=[];return!this.noTitle&&e.push(this.genTitle(this.titleText)),e.push(t("transition",{props:{origin:"center center",mode:"out-in",name:"scale-transition"}},[t("div",{staticClass:"picker__body",key:this.activePicker},this.genPickerBody(t))])),this.$scopedSlots.default&&e.push(this.genSlot()),t("v-card",{staticClass:"picker picker--date",class:Mi({"picker--landscape":this.landscape},this.themeClasses)},e)}};Ni.install=function(t){t.component(Ni.name,Ni)};var Ri=Ni;Dt.install=function(t){t.component(Dt.name,Dt)};var zi=Dt;i(33);var Fi={name:"v-divider",functional:!0,mixins:[it],props:{inset:Boolean},render:function(t,e){var i=e.props,n=e.data;e.children;return n.staticClass=("divider "+(n.staticClass||"")).trim(),i.inset&&(n.staticClass+=" divider--inset"),i.light&&(n.staticClass+=" theme--light"),i.dark&&(n.staticClass+=" theme--dark"),t("hr",n)}};Fi.install=function(t){t.component(Fi.name,Fi)};var Wi=Fi,Yi=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:0,s=!0,r=!1,o=void 0;try{for(var a,l=i[Symbol.iterator]();!(s=(a=l.next()).done);s=!0){var c=a.value;void 0!==c.errorBucket?t.push(c):e(c.$children,n+1)}}catch(t){r=!0,o=t}finally{try{!s&&l.return&&l.return()}finally{if(r)throw o}}if(0===n)return t})(this.$children)},watchInputs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getInputs(),e=!0,i=!1,n=void 0;try{for(var s,r=t[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){var o=s.value;this.inputs.includes(o)||(this.inputs.push(o),this.watchChild(o))}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}},watchChild:function(t){var e=this,i=function(t){t.$watch("valid",(function(i){e.$set(e.errorBag,t._uid,!i)}),{immediate:!0})};if(!this.lazyValidation)return i(t);t.$watch("shouldValidate",(function(n){n&&(e.errorBag.hasOwnProperty(t._uid)||i(t))}))},validate:function(){return!this.inputs.filter((function(t){return!t.validate(!0)})).length},reset:function(){var t=this;this.inputs.forEach((function(t){return t.reset()})),this.lazyValidation&&Object.keys(this.errorBag).forEach((function(e){return t.$delete(t.errorBag,e)}))}},mounted:function(){var t=this;this.$vuetify.load((function(){return t.watchInputs()}))},updated:function(){var t=this.getInputs();if(t.length=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},updateApplication:function(){if(this.app){var t=!this.isActive||!this.permanent&&this.$vuetify.breakpoint.width=i&&this.value<=n){var s=this.value-i+2,r=this.value+i-2-e;return[1,"..."].concat(j(this.range(s,r)),["...",this.length])}return[].concat(j(this.range(1,i)),["..."],j(this.range(this.length-i+1+e,this.length)))}},mounted:function(){this.$vuetify.load.call(this,this.init)},methods:{onResize:function(){var t=this.$el&&this.$el.parentNode?this.$el.parentNode.clientWidth:window.innerWidth;this.maxButtons=Math.floor((t-96)/42)},init:function(){var t=this;this.selected=null,setTimeout((function(){return t.selected=t.value}),100)},next:function(t){t.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous:function(t){t.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range:function(t,e){var i=[];t=t>0?t:1;for(var n=t;n<=e;n++)i.push(n);return i},genIcon:function(t,e,i,n){return t("li",[t("a",{class:{pagination__navigation:!0,"pagination__navigation--disabled":i},attrs:{href:"#!"},on:{click:n}},[t(ht,[e])])])},genItem:function(t,e){var i=this;return t("a",{class:{pagination__item:!0,"pagination__item--active":e===this.value},attrs:{href:"#!"},on:{click:function(t){t.preventDefault(),i.$emit("input",e)}}},[e])},genItems:function(t){var e=this;return this.items.map((function(i){return t("li",[isNaN(i)&&t("span",{class:"pagination__more"},[i])||e.genItem(t,i)])}))}},render:function(t){var e=[this.genIcon(t,this.prevIcon,1===this.value,this.previous),this.genItems(t),this.genIcon(t,this.nextIcon,this.value===this.length,this.next)];return t("ul",{directives:[{name:"resize",value:this.onResize}],class:this.classes},e)}};un.install=function(t){t.component(un.name,un)};var hn=un,dn={data:function(){return{parallax:null,parallaxDist:null,percentScrolled:null,scrollTop:null,windowHeight:null,windowBottom:null}},computed:{normalizedHeight:function(){return this.jumbotron?isNaN(this.height)?this.height:this.height+"px":Number(this.height.toString().replace(/(^[0-9]*$)/,"$1"))},imgHeight:function(){return this.objHeight()}},mounted:function(){this.$vuetify.load(this.init)},beforeDestroy:function(){window.removeEventListener("scroll",this.translate,!1),window.removeEventListener("resize",this.translate,!1)},methods:{listeners:function(){window.addEventListener("scroll",this.translate,!1),window.addEventListener("resize",this.translate,!1)},translate:function(){this.calcDimensions(),this.percentScrolled=(this.windowBottom-this.elOffsetTop)/(this.normalizedHeight+this.windowHeight),this.parallax=Math.round(this.parallaxDist*this.percentScrolled),this.translated&&this.translated()},calcDimensions:function(){var t=this.$el.getBoundingClientRect();this.scrollTop=window.pageYOffset,this.parallaxDist=this.imgHeight-this.normalizedHeight,this.elOffsetTop=t.top+this.scrollTop,this.windowHeight=window.innerHeight,this.windowBottom=this.scrollTop+this.windowHeight}}};i(39);var pn={name:"v-parallax",mixins:[dn],data:function(){return{isBooted:!1}},props:{alt:String,height:{type:[String,Number],default:500},jumbotron:Boolean,src:String},computed:{styles:function(){return{display:"block",opacity:this.isBooted?1:0,transform:"translate3d(-50%, "+(this.jumbotron?0:this.parallax+"px")+", 0)"}}},watch:{parallax:function(){this.isBooted=!0}},methods:{init:function(){var t=this;this.$refs.img&&(this.$refs.img.complete?(this.translate(),this.listeners()):this.$refs.img.addEventListener("load",(function(){t.translate(),t.listeners()}),!1))},objHeight:function(){return this.$refs.img.naturalHeight},elOffsetTop:function(){return this.$el.offsetTop}},render:function(t){var e={staticClass:"parallax__image",class:{"parallax__image--jumbotron":this.jumbotron},style:this.styles,attrs:{src:this.src},ref:"img"};this.alt&&(e.attrs.alt=this.alt);var i=t("div",{staticClass:"parallax__image-container"},[t("img",e)]),n=t("div",{staticClass:"parallax__content"},this.$slots.default);return t("div",{staticClass:"parallax",style:{height:this.jumbotron?this.normalizedHeight:this.normalizedHeight+"px"},on:this.$listeners},[i,n])}};pn.install=function(t){t.component(pn.name,pn)};var fn=pn;i(40);var mn={name:"v-progress-circular",mixins:[lt],props:{button:Boolean,fill:{type:String,default:function(){return this.indeterminate?"none":"transparent"}},indeterminate:Boolean,rotate:{type:Number,default:0},size:{type:[Number,String],default:32},width:{type:Number,default:4},value:{type:Number,default:0}},computed:{calculatedSize:function(){var t=Number(this.size);return this.button&&(t+=8),t},circumference:function(){return 2*Math.PI*this.radius},classes:function(){return this.addColorClassChecks({"progress-circular":!0,"progress-circular--indeterminate":this.indeterminate,"progress-circular--button":this.button})},cxy:function(){return this.indeterminate&&!this.button?50:this.calculatedSize/2},normalizedValue:function(){return this.value<0?0:this.value>100?100:this.value},radius:function(){return this.indeterminate&&!this.button?20:(this.calculatedSize-this.width)/2},strokeDashArray:function(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset:function(){return(100-this.normalizedValue)/100*this.circumference+"px"},styles:function(){return{height:this.calculatedSize+"px",width:this.calculatedSize+"px"}},svgSize:function(){return!this.indeterminate&&this.calculatedSize},svgStyles:function(){return{transform:"rotate("+this.rotate+"deg)"}},viewBox:function(){return!!this.indeterminate&&"25 25 50 50"}},methods:{genCircle:function(t,e,i){return t("circle",{class:"progress-circular__"+e,attrs:{fill:"transparent",cx:this.cxy,cy:this.cxy,r:this.radius,"stroke-width":this.width,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":i}})},genSvg:function(t){var e=[!this.indeterminate&&this.genCircle(t,"underlay",0),this.genCircle(t,"overlay",this.strokeDashOffset)];return t("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",height:this.svgSize,width:this.svgSize,viewBox:this.viewBox}},e)}},render:function(t){var e=t("div",{class:"progress-circular__info"},[this.$slots.default]),i=this.genSvg(t);return t("div",{class:this.classes,style:this.styles,on:this.$listeners},[i,e])}};mn.install=function(t){t.component(mn.name,mn)};var vn=mn;i(0),i(1),i(41);var gn={name:"v-radio-group",mixins:[Ee],model:{prop:"inputValue",event:"change"},provide:function(){var t=this;return{isMandatory:function(){return t.mandatory},name:function(){return t.name},registerChild:this.registerChild,unregisterChild:this.unregisterChild}},props:{column:{type:Boolean,default:!0},inputValue:null,mandatory:{type:Boolean,default:!0},name:String,row:Boolean},data:function(){return{internalTabIndex:-1}},watch:{inputValue:function(t){this.getRadios().forEach((function(e){e.isActive=t===e.value}))}},computed:{classes:function(){return{"radio-group":!0,"radio-group--column":this.column&&!this.row,"radio-group--row":this.row}}},methods:{getRadios:function(){return this.$children.filter((function(t){return t.$el.classList.contains("radio")}))},toggleRadio:function(t){var e=this;this.disabled||(this.shouldValidate=!0,this.$emit("change",t),this.$nextTick((function(){return e.validate()})),this.getRadios().filter((function(e){return e.value!==t})).forEach((function(t){return t.isActive=!1})))},radioBlur:function(t){t.relatedTarget&&t.relatedTarget.classList.contains("radio")||(this.shouldValidate=!0,this.$emit("blur",this.inputValue))},registerChild:function(t){t.isActive=this.inputValue===t.value,t.$el.tabIndex=t.$el.tabIndex>0?t.$el.tabIndex:0,t.$on("change",this.toggleRadio),t.$on("blur",this.radioBlur),t.$on("focus",this.radioFocus)},unregisterChild:function(t){t.$off("change",this.toggleRadio),t.$off("blur",this.radioBlur),t.$off("focus",this.radioFocus)}},mounted:function(){var t=this;this.getRadios().forEach((function(e){return t.registerChild(e)}))},beforeDestroy:function(){var t=this;this.getRadios().forEach((function(e){return t.unregisterChild(e)}))},render:function(t){var e={attrs:{role:"radiogroup"}};return this.genInputGroup(this.$slots.default,e)}},bn={data:function(){return{tabFocused:!1}}},yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wn={name:"v-radio",inheritAttrs:!1,inject:["isMandatory","name","registerChild","unregisterChild"],components:{VFadeTransition:ye,VIcon:ht},mixins:[lt,Ce,bn,it],props:{disabled:Boolean,value:null,label:String},data:function(){return{isActive:!1}},computed:{classes:function(){return this.addColorClassChecks({"input-group":!0,"input-group--active":this.isActive,"input-group--disabled":this.disabled,"input-group--selection-controls":!0,"input-group--tab-focused":this.tabFocused,radio:!0,"theme--dark":this.dark,"theme--light":this.light})},icon:function(){return this.isActive?"radio_button_checked":"radio_button_unchecked"}},methods:{genInput:function(t){var e=["string","number"].includes(yn(this.value))?this.value:JSON.stringify(this.value),i=this.$createElement("input",{ref:"input",style:{display:"none"},attrs:Object.assign({name:this.name&&this.name(),id:this.id,type:"radio",value:e},this.$attrs)},[e]);return t.push(i),this.$createElement("div",{class:"input-group__input"},t)},genWrapper:function(t){var e=this,i=[];return i.push(this.genLabel()),i.push(this.genInput(t)),this.$createElement("div",{class:this.classes,attrs:{role:"radio","aria-checked":this.isActive&&"true"||"false","aria-label":this.label},on:{keydown:function(t){[13,32].includes(t.keyCode)&&(t.preventDefault(),e.toggle())},blur:function(t){e.$emit("blur",t),e.tabFocused=!1}}},i)},genLabel:function(){return this.$createElement("label",{on:{click:this.toggle}},this.$slots.label||this.label)},toggle:function(){var t=this.isMandatory&&this.isMandatory()||!1;this.disabled||this.isActive&&t||(this.$refs.input.checked=!0,this.isActive=!0,this.$emit("change",this.value))}},created:function(){this.$parent&&this.$parent.$vnode&&this.$parent.$vnode.tag&&this.$parent.$vnode.tag.endsWith("v-radio-group")||console.warn("[Vuetify] Warn: The v-radio component must have an immediate parent of v-radio-group.")},mounted:function(){this.registerChild(this)},beforeDestroy:function(){this.unregisterChild(this)},render:function(t){var e=t("v-fade-transition",{},[t("v-icon",{staticClass:"icon--selection-control",class:{"icon--radio":this.isActive},key:this.icon},this.icon)]);return this.genWrapper([e,this.genRipple()])}};gn.install=function(t){t.component(gn.name,gn),t.component(wn.name,wn)};var xn=gn;i(42);var kn={name:"v-slider",mixins:[Ee],directives:{ClickOutside:It},data:function(){return{app:{},isActive:!1,keyPressed:0}},props:{color:{type:String,default:null},inverted:Boolean,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:null},thumbColor:{type:String,default:null},thumbLabel:Boolean,value:[Number,String],vertical:Boolean,snap:Boolean,trackColor:{type:String,default:null}},computed:{classes:function(){return{"input-group--slider":!0,"input-group--active":this.isActive,"input-group--dirty":this.inputWidth>0,"input-group--disabled":this.disabled,"input-group--ticks":!this.disabled&&this.step}},inputValue:{get:function(){return this.value},set:function(t){var e=this.min,i=this.max,n=this.step,s=this.snap;t=ti&&i||t;var r=s?Math.round(t/n)*n:parseInt(t);this.lazyValue=r,r!==this.value&&this.$emit("input",r)}},interval:function(){return 100/(this.max-this.min)*this.step},thumbContainerClasses:function(){return{"slider__thumb-container":!0,"slider__thumb-container--label":this.thumbLabel}},thumbStyles:function(){return{transition:this.keyPressed>=2?"none":"",left:this.inputWidth+"%"}},tickContainerStyles:function(){return{transform:"translate3d(0, -50%, 0)"}},trackStyles:function(){var t=this.calculateScale(1-this.inputWidth/100),e=this.thumbLabel?0:this.isActive?12:8,i=e+"px";return{transition:this.keyPressed>=2?"none":"",transform:"scaleX("+t+") translateX("+i+")"}},trackFillStyles:function(){var t=this.inputWidth,e=this.calculateScale(t/100),i=t>99&&!this.thumbLabel?"-8px":0;return{transition:this.keyPressed>=2?"none":"",transform:"scaleX("+e+") translateX("+i+")"}},numTicks:function(){return parseInt((this.max-this.min)/this.step)},inputWidth:function(){var t=this.inputValue;return this.snap&&(t=Math.round(t/this.step)*this.step),t=(t-this.min)/(this.max-this.min)*100,t<.15?0:t}},watch:{isActive:function(t){this.isFocused=t},min:function(t){t>this.inputValue&&this.$emit("input",t)},max:function(t){t=0&&r<=100&&(this.inputValue=parseInt(this.min,10)+r/100*(this.max-this.min))},onKeyDown:function(t){if(37===t.keyCode||39===t.keyCode){this.keyPressed+=1;var e=37===t.keyCode&&-1||39===t.keyCode&&1||0,i=t.shiftKey&&3||t.ctrlKey&&2||1,n=this.snap&&this.step||1;this.inputValue=this.inputValue+e*n*i}},onKeyUp:function(t){this.keyPressed=0},sliderMove:function(t){this.isActive||this.onMouseMove(t)},genThumbLabel:function(t){return t("v-scale-transition",{props:{origin:"bottom center"}},[t("div",{class:"slider__thumb--label__container",directives:[{name:"show",value:this.isActive}]},[t("div",{class:["slider__thumb--label",this.thumbColor||this.color]},[t("span",{},parseInt(this.inputValue))])])])},genThumbContainer:function(t){var e=[];return e.push(t("div",{class:["slider__thumb",this.thumbColor||this.color]})),this.thumbLabel&&e.push(this.genThumbLabel(t)),t("div",{class:this.thumbContainerClasses,style:this.thumbStyles,on:{touchstart:this.onMouseDown,mousedown:this.onMouseDown},ref:"thumb"},e)},genSteps:function(t){var e=this,i=u(this.numTicks+1).map((function(i){return t("span",{class:"slider__tick",style:{left:i*(100/e.numTicks)+"%"}})}));return t("div",{class:"slider__ticks-container",style:this.tickContainerStyles},i)},genTrackContainer:function(t){return t("div",{class:"slider__track__container",ref:"track"},[t("div",{class:["slider__track",this.trackColor],style:this.trackStyles}),t("div",{class:["slider__track-fill",this.color],style:this.trackFillStyles})])}},render:function(t){var e=[];e.push(this.genTrackContainer(t)),this.step&&e.push(this.genSteps(t)),e.push(this.genThumbContainer(t));var i=t("div",{class:"slider"},e);return this.genInputGroup([i],{attrs:{role:"slider",tabindex:this.tabindex},on:Object.assign({},{mouseup:this.sliderMove,keydown:this.onKeyDown,keyup:this.onKeyUp},this.$listeners),directives:[{name:"click-outside"}]})}};kn.install=function(t){t.component(kn.name,kn)};var $n=kn;i(43);var _n={name:"v-snackbar",components:{VSlideYTransition:$e,VSlideYReverseTransition:_e},mixins:[lt,pt],data:function(){return{activeTimeout:{}}},props:{absolute:Boolean,bottom:Boolean,left:Boolean,multiLine:Boolean,right:Boolean,top:Boolean,timeout:{type:Number,default:6e3},vertical:Boolean},computed:{classes:function(){var t={"snack--active":this.isActive,"snack--absolute":this.absolute,"snack--bottom":this.bottom||!this.top,"snack--left":this.left,"snack--multi-line":this.multiLine&&!this.vertical,"snack--right":this.right,"snack--top":this.top,"snack--vertical":this.vertical};return this.color&&(t[this.color]=!0),t},computedTransition:function(){return this.top?"v-slide-y-transition":"v-slide-y-reverse-transition"}},watch:{isActive:function(){this.setTimeout()}},methods:{setTimeout:(function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e})((function(){var t=this;clearTimeout(this.activeTimeout),this.isActive&&this.timeout&&(this.activeTimeout=setTimeout((function(){t.isActive=!1}),this.timeout))}))},mounted:function(){this.setTimeout()},render:function(t){var e=[];return this.isActive&&e.push(t("div",{staticClass:"snack__content"},this.$slots.default)),t("div",{staticClass:"snack",class:this.classes,on:this.$listeners},[t(this.computedTransition,e)])}};_n.install=function(t){t.component(_n.name,_n)};var Tn=_n;i(44);var Sn={name:"v-speed-dial",mixins:[Ft,pt],directives:{ClickOutside:It},props:{direction:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},hover:Boolean,transition:{type:String,default:"scale-transition"}},computed:{classes:function(){return H({"speed-dial":!0,"speed-dial--top":this.top,"speed-dial--right":this.right,"speed-dial--bottom":this.bottom,"speed-dial--left":this.left,"speed-dial--absolute":this.absolute,"speed-dial--fixed":this.fixed},"speed-dial--direction-"+this.direction,!0)}},render:function(t){var e=this,i=[],n={class:this.classes,directives:[{name:"click-outside"}],on:{click:function(){return e.isActive=!e.isActive}}};this.hover&&(n.on.mouseenter=function(){return e.isActive=!0},n.on.mouseleave=function(){return e.isActive=!1}),this.isActive&&(i=(this.$slots.default||[]).map((function(t,e){return t.key=e,t})));var s=t("transition-group",{class:"speed-dial__list",props:{name:this.transition,tag:"div"}},i);return t("div",n,[this.$slots.activator,s])}};Sn.install=function(t){t.component(Sn.name,Sn)};var Cn=Sn;i(45);var An={name:"v-stepper",mixins:[it],provide:function(){return{stepClick:this.stepClick}},data:function(){return{inputValue:null,isBooted:!1,steps:[],content:[],isReverse:!1}},props:{nonLinear:Boolean,altLabels:Boolean,vertical:Boolean,value:[Number,String]},computed:{classes:function(){return{stepper:!0,"stepper--is-booted":this.isBooted,"stepper--vertical":this.vertical,"stepper--alt-labels":this.altLabels,"stepper--non-linear":this.nonLinear,"theme--dark":this.dark,"theme--light":this.light}}},watch:{inputValue:function(t,e){var i=this;this.isReverse=Number(t)t.length&&!t.find((function(t){return t.id===i.target}))){var n=e.findIndex((function(t){return t.id===i.target}));this.$nextTick((function(){i.activeIndex=i.tabItems[n>0?n-1:0].id,i.target=i.activeIndex}))}this.slider()}},mounted:function(){var t=this;this.$vuetify.load((function(){var e=t.tabItems.findIndex((function(t){return t.el.firstChild.classList.contains("tabs__item--active")})),i=t.value||(t.tabItems[-1!==e?e:0]||{}).id;i&&t.tabClick(i)&&t.onResize()}))},methods:{registerContent:function(t,e){this.content.push({id:t,toggle:e})},registerTabItem:function(t,e,i){this.tabItems.push({id:t,toggle:e,el:i})},unregisterContent:function(t){this.content=this.content.filter((function(e){return e.id!==t}))},unregisterTabItem:function(t){this.tabItems=this.tabItems.filter((function(e){return e.id!==t}))},next:function(t){var e=this.activeIndex+1;if(!this.content[e]){if(!t)return;e=0}this.tabClick(this.tabItems[e].id)},prev:function(t){var e=this.activeIndex-1;if(!this.content[e]){if(!t)return;e=this.content.length-1}this.tabClick(this.tabItems[e].id)},onResize:function(){this.isMobile=window.innerWidth0},rightIconVisible:function(){if(!this.isMobile()&&this.isScrollable()&&this.isOverflowing){var t=this.$refs.container,e=this.newOffsetRight(this.scrollOffset,this.itemOffset),i=e&&t.children[e.index].clientWidth||0,n=this.scrollOffset+t.clientWidth;return t.scrollWidth-n>.3*i}}},methods:{genContainer:function(){return this.$createElement("ul",{class:this.containerClasses,style:this.containerStyles,ref:"container"},this.$slots.default)},genIcon:function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);return this.$createElement(ht,{props:N({},""+t,!0),style:{display:"inline-flex"},on:{click:this["scroll"+e]}},"chevron_"+t)},genWrapper:function(){return this.$createElement("div",{class:this.wrapperClasses,directives:[{name:"touch",value:{start:this.start,move:this.move,end:this.end}}]},[this.genContainer()])},start:function(t){this.startX=this.scrollOffset+t.touchstartX,this.$refs.container.style.transition="none"},move:function(t){var e=this.startX-t.touchmoveX;this.scrollOffset=e},end:function(t){this.onResize();var e=this.$refs.container,i=e.scrollWidth-this.$el.clientWidth/2;if(e.style.transition=null,this.scrollOffset<0||!this.isOverflowing)this.scrollOffset=0;else if(this.scrollOffset>=i){var n=e.children[e.children.length-1];this.scrollOffset=i-n.clientWidth}},scrollLeft:function(){var t=this.newOffset("Left"),e=t.offset,i=t.index;this.scrollOffset=e,this.itemOffset=i},scrollRight:function(){var t=this.newOffset("Right"),e=t.offset,i=t.index;this.scrollOffset=e,this.itemOffset=i},onResize:function(){if(!this._isDestroyed){var t=this.$refs.container;this.isOverflowing=t.clientWidth=0;r--)if(!n[r].classList.contains("tabs__slider")){var o=s+n[r].clientWidth;if(o>=i.clientWidth)return{offset:t-s,index:r+1};s=o}return{offset:0,index:0}},newOffsetRight:function(t,e){for(var i=this.$refs.container,n=i.children,s=t,r=e;rt+i.clientWidth)return{offset:s,index:r};s=o}return null}},render:function(t){return t("div",{class:this.classes,directives:[{name:"resize",value:this.onResize}]},[this.genWrapper(),this.leftIconVisible?this.genIcon("left"):null,this.rightIconVisible?this.genIcon("right"):null])}};jn.install=function(t){var e=r("tabs__slider","li");t.component(jn.name,jn),t.component(zn.name,zn),t.component(Rn.name,Rn),t.component(Hn.name,Hn),t.component(e.name,e),t.component(Nn.name,Nn)};var Fn=jn,Wn=Object.assign||function(t){for(var e=1;e0||this.badInput||["time","date","datetime-local","week","month"].includes(this.type)},shouldAutoGrow:function(){return(this.multiLine||this.textarea)&&this.autoGrow}},watch:{isFocused:function(t){t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},value:function(t){this.lazyValue=t,!this.validateOnBlur&&this.validate(),this.shouldAutoGrow&&this.calculateInputHeight()}},mounted:function(){var t=this;this.$vuetify.load((function(){t.shouldAutoGrow&&t.calculateInputHeight(),t.autofocus&&t.focus()}))},methods:{calculateInputHeight:function(){var t=this;this.inputHeight=null,this.$nextTick((function(){var e=t.$refs.input?t.$refs.input.scrollHeight:0,i=24*t.rows,n=e0?1:-1,n=t.selectingHour?"changeHour":"changeMinute";t[n](i)}),this.$createElement("div",{class:"picker__body"},[this.$createElement("transition",{props:{name:"fade-transition",mode:"out-in"}},[this.$createElement("div",i,e)])])},genHand:function(t){var e=this.is24hrAfter12?"scaleY(0.6)":"";return[this.$createElement("div",{class:"picker--time__clock-hand "+t,style:{transform:"rotate("+this.clockHand+"deg) "+e}})]},genHours:function(){var t=this.is24hr?24:12,e=[],i=0;12===t&&(t++,i=1);for(var n=i;n"+n+""}}));return e},genMinutes:function(){for(var t=[],e=0;e<60;e+=5){var i=e;i<10&&(i="0"+i),60===i&&(i="00"),t.push(this.$createElement("span",{class:{active:i.toString()===this.minute.toString(),disabled:!this.isAllowed("minute",e)},style:this.getTransform(e),domProps:{innerHTML:""+i+""}}))}return t},getTransform:function(t){var e=this.getPosition(t);return{transform:"translate("+e.x+"px, "+e.y+"px)"}},getPosition:function(t){var e=this.selectingHour&&this.is24hr&&t>=12?.5:.8,i=this.radius*e;return t=this.selectingHour&&this.is24hr?t%12:t,{x:Math.round(Math.sin(t*this.degrees)*i),y:Math.round(-Math.cos(t*this.degrees)*i)}},changeHour:function(t){var e=this,i=this.generateRange("hour",this.hour);return t<0&&(i=i.reverse().slice(1)),this.hour=i.find((function(t){return!e.allowedHours||e.isAllowed("hour",t)})),!0},changeMinute:function(t){var e=this,i=Number(this.minute),n=this.generateRange("minute",i);t<0&&(n=n.reverse().slice(1));var s=n.find((function(t){return!e.allowedMinutes||e.isAllowed("minute",t)}));return this.minute=s<10?"0"+s:s,!0},onMouseDown:function(t){t.preventDefault(),this.isDragging=!0,this.onDragMove(t)},onMouseUp:function(){this.isDragging=!1,!this.selectingHour&&this.autosave&&this.save(),this.hasChanged&&(this.selectingHour=!1,this.hasChanged=!1)},onDragMove:function(t){if(t.preventDefault(),this.isDragging||"click"===t.type){var e=this.$refs.clock.getBoundingClientRect(),i={x:e.width/2,y:0-e.width/2},n="touches"in t?t.touches[0].clientY:t.clientY,s="touches"in t?t.touches[0].clientX:t.clientX,r={y:e.top-n,x:s-e.left},o=this.selectingHour?"hour":"minute",a=Math.round(this.angle(i,r)/this.degreesPerUnit);if(this.selectingHour&&this.is24hr){a=this.euclidean(i,r)/this.radius<.65?a+12:a,a=this.angle(i,r)>=345?(a+12)%24:a}this.isAllowed(o,a)&&(this[o]=a,this.hasChanged=!0)}},euclidean:function(t,e){var i=Math.abs(e.x-t.x),n=Math.abs(e.y-t.y);return Math.sqrt(i*i+n*n)},angle:function(t,e){var i={x:t.x,y:t.y+Math.sqrt(Math.abs(e.x-t.x)*Math.abs(e.x-t.x)+Math.abs(e.y-t.y)*Math.abs(e.y-t.y))},n=2*Math.atan2(e.y-i.y,e.x-i.x);return Math.abs(180*n/Math.PI)}}},Un=Object.assign||function(t){for(var e=1;e=12},divider:function(){return this.selectingHour?12:60},degrees:function(){return this.degreesPerUnit*Math.PI/180},degreesPerUnit:function(){return 360/this.divider},inputTime:{get:function(){if(this.value&&!(this.value instanceof Date))return this.is24hr||(this.period=this.value.match(/pm/i)?"pm":"am"),this.value;var t=new Date;this.value instanceof Date&&(t=this.value);var e=t.getHours(),i=t.getMinutes(),n="";return this.is24hr||(n=e>=12?"pm":"am",e=e>12?e-12:e,e=0===e?12:e),n&&(this.period=n),e=this.firstAllowed("hour",e),i=this.firstAllowed("minute",i),i=i<10?"0"+i:i>59?"00":i,e+":"+i+n},set:function(t){return this.$emit("input",t)}},timeArray:function(){return this.inputTime.replace(/(am|pm)/,"").split(":")},hour:{get:function(){return parseInt(this.timeArray[0])},set:function(t){t=this.is24hr?t<10?"0"+t:t>23?"00":t:t>12?t-12:t<1?12:t,this.inputTime=t+":"+this.minute+(this.is24hr?"":this.period)}},minute:{get:function(){var t=parseInt(this.timeArray[1]);return t<10?"0"+t:t>59?"00":t},set:function(t){t=t<10?"0"+parseInt(t):t>59?"00":t;var e=this.hour;this.is24hr&&e<10&&(e="0"+e),this.inputTime=e+":"+t+(this.is24hr?"":this.period)}},clockHand:function(){return this.selectingHour?this.degreesPerUnit*this.hour:this.degreesPerUnit*this.minute},radius:function(){return this.clockSize/2},clockSize:{get:function(){return this.size},set:function(t){this.size=t}},size:function(){return this.landscape?250:280}},watch:{period:function(t){var e=this.allowedHours&&this.selectingHour?this.firstAllowed("hour",this.hour-1):this.hour;this.inputTime=e+":"+this.minute+t},value:function(t){this.isSaving&&(this.originalTime=this.inputTime,this.isSaving=!1)}},methods:{save:function(){var t=this;this.originalTime?this.originalTime=this.value:(this.inputTime=this.inputTime,this.originalTime=this.inputTime),this.$parent&&this.$parent.isActive&&(this.$parent.isActive=!1),this.$nextTick((function(){return t.selectingHour=!0}))},cancel:function(){var t=this;this.inputTime=this.originalTime,this.$parent&&this.$parent.isActive&&(this.$parent.isActive=!1),this.$nextTick((function(){return t.selectingHour=!0}))},isAllowed:function(t,e){var i=this["allowed"+(t.charAt(0).toUpperCase()+t.slice(1))+"s"];if(!i)return!0;if(Array.isArray(i))return!!i.some((function(t){return t===e}));if(i instanceof Function)return i(e);if(i===Object(i)){var n="minute"===t?this.ranges.minutes:this.ranges.hours,s="minute"===t?60:24;i.min===String(i.min)&&(i.min=this.convert12to24hr(i.min)),i.max===String(i.max)&&(i.max=this.convert12to24hr(i.max));var r=i.max-i.min;e="hour"!==t||this.is24hr||"pm"!==this.period?e:e+12;for(var o=0;o<=r;o++){if(n[(i.min+o)%s]===e)return!0}return!1}return!0},convert12to24hr:function(t){t=t.toLowerCase();var e=-1!==t.indexOf("pm"),i=parseInt(t.slice(0,t.indexOf(e?"pm":"am")));return e?i+12:i},generateRange:function(t,e){var i="hour"===t?this.ranges.hours:this.ranges.minutes,n=1;return"hour"!==t||this.is24hr||(i=i.slice(1,13),n=0),i.slice(e+n,i.length).concat(i.slice(0,e+n))},firstAllowed:function(t,e){var i=this;return this["allowed"+(t.charAt(0).toUpperCase()+t.slice(1))+"s"]?this.generateRange(t,e).find((function(e){return i.isAllowed(t,e)}))||e:e}},render:function(t){var e=[this.genBody()];return!this.noTitle&&e.unshift(this.genTitle()),this.$scopedSlots.default&&e.push(this.genSlot()),t("v-card",{class:Un({"picker picker--time":!0,"picker--landscape":this.landscape,"picker--time--hours":this.selectingHour},this.themeClasses)},e)}};Zn.install=function(t){t.component(Zn.name,Zn)};var Kn=Zn;i(51);var Jn={name:"v-toolbar",mixins:[Ui,it],data:function(){return{heights:{mobileLandscape:48,mobile:56,desktop:64,dense:48},denseHeight:48,defaultHeight:56,prominentHeight:64,isExtended:!1,isScrollingProxy:!1,marginTop:0,previousScroll:null,target:null}},props:{absolute:Boolean,card:Boolean,clippedLeft:Boolean,clippedRight:Boolean,dense:Boolean,extended:Boolean,fixed:Boolean,flat:Boolean,floating:Boolean,height:[Number,String],manualScroll:{type:Boolean,default:null},prominent:Boolean,scrollOffScreen:Boolean,scrollTarget:String,scrollThreshold:{type:Number,default:100}},computed:{computedHeight:function(){return this.height?this.height:this.dense?this.heights.dense:this.prominent||this.$vuetify.breakpoint.mdAndUp?this.heights.desktop:this.$vuetify.breakpoint.width>this.$vuetify.breakpoint.height?this.mobileLandscape:this.heights.mobile},computedMarginTop:function(){return this.marginTop+this.$vuetify.application.bar},classes:function(){return{toolbar:!0,"elevation-0":this.flat,"toolbar--absolute":this.absolute,"toolbar--card":this.card,"toolbar--clipped":this.clippedLeft||this.clippedRight,"toolbar--dense":this.dense,"toolbar--fixed":this.fixed,"toolbar--floating":this.floating,"toolbar--prominent":this.prominent,"toolbar--extended":this.isExtended,"theme--dark":this.dark,"theme--light":this.light}},isScrolling:{get:function(){return null!=this.manualScroll?this.manualScroll:this.isScrollingProxy},set:function(t){this.isScrollingProxy=t}},paddingLeft:function(){return!this.app||this.clippedLeft?0:this.$vuetify.application.left},paddingRight:function(){return!this.app||this.clippedRight?0:this.$vuetify.application.right},styles:function(){return{marginTop:this.computedMarginTop+"px",paddingLeft:this.paddingLeft+"px",paddingRight:this.paddingRight+"px"}}},watch:{isScrolling:function(t){this.whenScrolled(t)}},mounted:function(){this.whenScrolled(this.isScrolling)},destroyed:function(){this.app&&(this.$vuetify.application.top=0)},methods:{onScroll:function(){if("undefined"!=typeof window){this.target||(this.target=this.scrollTarget?document.querySelector(this.scrollTarget):window);var t=this.scrollTarget?this.target.scrollTop:this.target.pageYOffset||document.documentElement.scrollTop;tZ)return null;if(!(e?J[mt]:J[dt]).test(t))return null;try{return new o(t,e)}catch(t){return null}}function s(t,e){var i=n(t,e);return i?i.version:null}function r(t,e){var i=n(t.trim().replace(/^[=v]+/,""),e);return i?i.version:null}function o(t,e){if(t instanceof o){if(t.loose===e)return t;t=t.version}else if("string"!=typeof t)throw new TypeError("Invalid Version: "+t);if(t.length>Z)throw new TypeError("version is longer than "+Z+" characters");if(!(this instanceof o))return new o(t,e);U("SemVer",t,e),this.loose=e;var i=t.trim().match(e?J[mt]:J[dt]);if(!i)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>K||this.major<0)throw new TypeError("Invalid major version");if(this.minor>K||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>K||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&ee?1:0}function u(t,e){return c(e,t)}function h(t,e){return new o(t,e).major}function d(t,e){return new o(t,e).minor}function p(t,e){return new o(t,e).patch}function f(t,e,i){return new o(t,i).compare(new o(e,i))}function m(t,e){return f(t,e,!0)}function v(t,e,i){return f(e,t,i)}function g(t,i){return t.sort((function(t,n){return e.compare(t,n,i)}))}function b(t,i){return t.sort((function(t,n){return e.rcompare(t,n,i)}))}function y(t,e,i){return f(t,e,i)>0}function w(t,e,i){return f(t,e,i)<0}function x(t,e,i){return 0===f(t,e,i)}function k(t,e,i){return 0!==f(t,e,i)}function $(t,e,i){return f(t,e,i)>=0}function _(t,e,i){return f(t,e,i)<=0}function T(t,e,i,n){var s;switch(e){case"===":"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),s=t===i;break;case"!==":"object"==typeof t&&(t=t.version),"object"==typeof i&&(i=i.version),s=t!==i;break;case"":case"=":case"==":s=x(t,i,n);break;case"!=":s=k(t,i,n);break;case">":s=y(t,i,n);break;case">=":s=$(t,i,n);break;case"<":s=w(t,i,n);break;case"<=":s=_(t,i,n);break;default:throw new TypeError("Invalid operator: "+e)}return s}function S(t,e){if(t instanceof S){if(t.loose===e)return t;t=t.value}if(!(this instanceof S))return new S(t,e);U("comparator",t,e),this.loose=e,this.parse(t),this.semver===Ht?this.value="":this.value=this.operator+this.semver.version,U("comp",this)}function C(t,e){if(t instanceof C)return t.loose===e?t:new C(t.raw,e);if(t instanceof S)return new C(t.value,e);if(!(this instanceof C))return new C(t,e);if(this.loose=e,this.raw=t,this.set=t.split(/\s*\|\|\s*/).map((function(t){return this.parseRange(t.trim())}),this).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+t);this.format()}function A(t,e){return new C(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))}function I(t,e){return U("comp",t),t=O(t,e),U("caret",t),t=E(t,e),U("tildes",t),t=L(t,e),U("xrange",t),t=M(t,e),U("stars",t),t}function B(t){return!t||"x"===t.toLowerCase()||"*"===t}function E(t,e){return t.trim().split(/\s+/).map((function(t){return D(t,e)})).join(" ")}function D(t,e){var i=e?J[St]:J[Tt];return t.replace(i,(function(e,i,n,s,r){U("tilde",t,e,i,n,s,r);var o;return B(i)?o="":B(n)?o=">="+i+".0.0 <"+(+i+1)+".0.0":B(s)?o=">="+i+"."+n+".0 <"+i+"."+(+n+1)+".0":r?(U("replaceTilde pr",r),"-"!==r.charAt(0)&&(r="-"+r),o=">="+i+"."+n+"."+s+r+" <"+i+"."+(+n+1)+".0"):o=">="+i+"."+n+"."+s+" <"+i+"."+(+n+1)+".0",U("tilde return",o),o}))}function O(t,e){return t.trim().split(/\s+/).map((function(t){return V(t,e)})).join(" ")}function V(t,e){U("caret",t,e);var i=e?J[Bt]:J[It];return t.replace(i,(function(e,i,n,s,r){U("caret",t,e,i,n,s,r);var o;return B(i)?o="":B(n)?o=">="+i+".0.0 <"+(+i+1)+".0.0":B(s)?o="0"===i?">="+i+"."+n+".0 <"+i+"."+(+n+1)+".0":">="+i+"."+n+".0 <"+(+i+1)+".0.0":r?(U("replaceCaret pr",r),"-"!==r.charAt(0)&&(r="-"+r),o="0"===i?"0"===n?">="+i+"."+n+"."+s+r+" <"+i+"."+n+"."+(+s+1):">="+i+"."+n+"."+s+r+" <"+i+"."+(+n+1)+".0":">="+i+"."+n+"."+s+r+" <"+(+i+1)+".0.0"):(U("no pr"),o="0"===i?"0"===n?">="+i+"."+n+"."+s+" <"+i+"."+n+"."+(+s+1):">="+i+"."+n+"."+s+" <"+i+"."+(+n+1)+".0":">="+i+"."+n+"."+s+" <"+(+i+1)+".0.0"),U("caret return",o),o}))}function L(t,e){return U("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return P(t,e)})).join(" ")}function P(t,e){t=t.trim();var i=e?J[kt]:J[xt];return t.replace(i,(function(e,i,n,s,r,o){U("xRange",t,e,i,n,s,r,o);var a=B(n),l=a||B(s),c=l||B(r),u=c;return"="===i&&u&&(i=""),a?e=">"===i||"<"===i?"<0.0.0":"*":i&&u?(l&&(s=0),c&&(r=0),">"===i?(i=">=",l?(n=+n+1,s=0,r=0):c&&(s=+s+1,r=0)):"<="===i&&(i="<",l?n=+n+1:s=+s+1),e=i+n+"."+s+"."+r):l?e=">="+n+".0.0 <"+(+n+1)+".0.0":c&&(e=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"),U("xRange return",e),e}))}function M(t,e){return U("replaceStars",t,e),t.trim().replace(J[Pt],"")}function j(t,e,i,n,s,r,o,a,l,c,u,h,d){return e=B(i)?"":B(n)?">="+i+".0.0":B(s)?">="+i+"."+n+".0":">="+e,a=B(l)?"":B(c)?"<"+(+l+1)+".0.0":B(u)?"<"+l+"."+(+c+1)+".0":h?"<="+l+"."+c+"."+u+"-"+h:"<="+a,(e+" "+a).trim()}function H(t,e){for(var i=0;i0){var n=t[i].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}function N(t,e,i){try{e=new C(e,i)}catch(t){return!1}return e.test(t)}function R(t,e,i){var n=null,s=null;try{var r=new C(e,i)}catch(t){return null}return t.forEach((function(t){r.test(t)&&(n&&-1!==s.compare(t)||(n=t,s=new o(n,i)))})),n}function z(t,e,i){var n=null,s=null;try{var r=new C(e,i)}catch(t){return null}return t.forEach((function(t){r.test(t)&&(n&&1!==s.compare(t)||(n=t,s=new o(n,i)))})),n}function F(t,e){try{return new C(t,e).range||"*"}catch(t){return null}}function W(t,e,i){return X(t,e,"<",i)}function Y(t,e,i){return X(t,e,">",i)}function X(t,e,i,n){t=new o(t,n),e=new C(e,n);var s,r,a,l,c;switch(i){case">":s=y,r=_,a=w,l=">",c=">=";break;case"<":s=w,r=$,a=y,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(N(t,e,n))return!1;for(var u=0;u=0.0.0")),d=d||t,p=p||t,s(t.semver,d.semver,n)?d=t:a(t.semver,p.semver,n)&&(p=t)})),d.operator===l||d.operator===c)return!1;if((!p.operator||p.operator===l)&&r(t,p.semver))return!1;if(p.operator===c&&a(t,p.semver))return!1}return!0}function q(t,e){var i=n(t,e);return i&&i.prerelease.length?i.prerelease:null}function G(t,e,i){return t=new C(t,i),e=new C(e,i),t.intersects(e)}e=t.exports=o;var U;U="object"==typeof i&&i.env&&i.env.NODE_DEBUG&&/\bsemver\b/i.test(i.env.NODE_DEBUG)?function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var Z=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,J=e.re=[],Q=e.src=[],tt=0,et=tt++;Q[et]="0|[1-9]\\d*";var it=tt++;Q[it]="[0-9]+";var nt=tt++;Q[nt]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var st=tt++;Q[st]="("+Q[et]+")\\.("+Q[et]+")\\.("+Q[et]+")";var rt=tt++;Q[rt]="("+Q[it]+")\\.("+Q[it]+")\\.("+Q[it]+")";var ot=tt++;Q[ot]="(?:"+Q[et]+"|"+Q[nt]+")";var at=tt++;Q[at]="(?:"+Q[it]+"|"+Q[nt]+")";var lt=tt++;Q[lt]="(?:-("+Q[ot]+"(?:\\."+Q[ot]+")*))";var ct=tt++;Q[ct]="(?:-?("+Q[at]+"(?:\\."+Q[at]+")*))";var ut=tt++;Q[ut]="[0-9A-Za-z-]+";var ht=tt++;Q[ht]="(?:\\+("+Q[ut]+"(?:\\."+Q[ut]+")*))";var dt=tt++,pt="v?"+Q[st]+Q[lt]+"?"+Q[ht]+"?";Q[dt]="^"+pt+"$";var ft="[v=\\s]*"+Q[rt]+Q[ct]+"?"+Q[ht]+"?",mt=tt++;Q[mt]="^"+ft+"$";var vt=tt++;Q[vt]="((?:<|>)?=?)";var gt=tt++;Q[gt]=Q[it]+"|x|X|\\*";var bt=tt++;Q[bt]=Q[et]+"|x|X|\\*";var yt=tt++;Q[yt]="[v=\\s]*("+Q[bt]+")(?:\\.("+Q[bt]+")(?:\\.("+Q[bt]+")(?:"+Q[lt]+")?"+Q[ht]+"?)?)?";var wt=tt++;Q[wt]="[v=\\s]*("+Q[gt]+")(?:\\.("+Q[gt]+")(?:\\.("+Q[gt]+")(?:"+Q[ct]+")?"+Q[ht]+"?)?)?";var xt=tt++;Q[xt]="^"+Q[vt]+"\\s*"+Q[yt]+"$";var kt=tt++;Q[kt]="^"+Q[vt]+"\\s*"+Q[wt]+"$";var $t=tt++;Q[$t]="(?:~>?)";var _t=tt++;Q[_t]="(\\s*)"+Q[$t]+"\\s+",J[_t]=new RegExp(Q[_t],"g");var Tt=tt++;Q[Tt]="^"+Q[$t]+Q[yt]+"$";var St=tt++;Q[St]="^"+Q[$t]+Q[wt]+"$";var Ct=tt++;Q[Ct]="(?:\\^)";var At=tt++;Q[At]="(\\s*)"+Q[Ct]+"\\s+",J[At]=new RegExp(Q[At],"g");var It=tt++;Q[It]="^"+Q[Ct]+Q[yt]+"$";var Bt=tt++;Q[Bt]="^"+Q[Ct]+Q[wt]+"$";var Et=tt++;Q[Et]="^"+Q[vt]+"\\s*("+ft+")$|^$";var Dt=tt++;Q[Dt]="^"+Q[vt]+"\\s*("+pt+")$|^$";var Ot=tt++;Q[Ot]="(\\s*)"+Q[vt]+"\\s*("+ft+"|"+Q[yt]+")",J[Ot]=new RegExp(Q[Ot],"g");var Vt=tt++;Q[Vt]="^\\s*("+Q[yt]+")\\s+-\\s+("+Q[yt]+")\\s*$";var Lt=tt++;Q[Lt]="^\\s*("+Q[wt]+")\\s+-\\s+("+Q[wt]+")\\s*$";var Pt=tt++;Q[Pt]="(<|>)?=?\\s*\\*";for(var Mt=0;Mt=0;)"number"==typeof this.prerelease[i]&&(this.prerelease[i]++,i=-2);-1===i&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this},e.inc=a,e.diff=l,e.compareIdentifiers=c;var jt=/^[0-9]+$/;e.rcompareIdentifiers=u,e.major=h,e.minor=d,e.patch=p,e.compare=f,e.compareLoose=m,e.rcompare=v,e.sort=g,e.rsort=b,e.gt=y,e.lt=w,e.eq=x,e.neq=k,e.gte=$,e.lte=_,e.cmp=T,e.Comparator=S;var Ht={};S.prototype.parse=function(t){var e=this.loose?J[Et]:J[Dt],i=t.match(e);if(!i)throw new TypeError("Invalid comparator: "+t);this.operator=i[1],"="===this.operator&&(this.operator=""),i[2]?this.semver=new o(i[2],this.loose):this.semver=Ht},S.prototype.toString=function(){return this.value},S.prototype.test=function(t){return U("Comparator.test",t,this.loose),this.semver===Ht||("string"==typeof t&&(t=new o(t,this.loose)),T(t,this.operator,this.semver,this.loose))},S.prototype.intersects=function(t,e){if(!(t instanceof S))throw new TypeError("a Comparator is required");var i;if(""===this.operator)return i=new C(t.value,e),N(this.value,i,e);if(""===t.operator)return i=new C(this.value,e),N(t.semver,i,e);var n=!(">="!==this.operator&&">"!==this.operator||">="!==t.operator&&">"!==t.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==t.operator&&"<"!==t.operator),r=this.semver.version===t.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==t.operator&&"<="!==t.operator),a=T(this.semver,"<",t.semver,e)&&(">="===this.operator||">"===this.operator)&&("<="===t.operator||"<"===t.operator),l=T(this.semver,">",t.semver,e)&&("<="===this.operator||"<"===this.operator)&&(">="===t.operator||">"===t.operator);return n||s||r&&o||a||l},e.Range=C,C.prototype.format=function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range},C.prototype.toString=function(){return this.range},C.prototype.parseRange=function(t){var e=this.loose;t=t.trim(),U("range",t,e);var i=e?J[Lt]:J[Vt];t=t.replace(i,j),U("hyphen replace",t),t=t.replace(J[Ot],"$1$2$3"),U("comparator trim",t,J[Ot]),t=t.replace(J[_t],"$1~"),t=t.replace(J[At],"$1^"),t=t.split(/\s+/).join(" ");var n=e?J[Et]:J[Dt],s=t.split(" ").map((function(t){return I(t,e)})).join(" ").split(/\s+/);return this.loose&&(s=s.filter((function(t){return!!t.match(n)}))),s=s.map((function(t){return new S(t,e)}))},C.prototype.intersects=function(t,e){if(!(t instanceof C))throw new TypeError("a Range is required");return this.set.some((function(i){return i.every((function(i){return t.set.some((function(t){return t.every((function(t){return i.intersects(t,e)}))}))}))}))},e.toComparators=A,C.prototype.test=function(t){if(!t)return!1;"string"==typeof t&&(t=new o(t,this.loose));for(var e=0;e1)for(var i=1;i= 4.0.0",npm:">= 3.0.0"},jest:{verbose:!1,roots:["/src"],moduleFileExtensions:["js","vue"],moduleDirectories:["node_modules"],moduleNameMapper:{"src/(.*)":"/src/$1"},transform:{".*\\.(vue)$":"/node_modules/jest-vue-preprocessor","\\.(styl)$":"/node_modules/jest-css-modules",".*\\.(vue|js)$":"/node_modules/babel-jest"},transformIgnorePatterns:["node_modules/(?!vue-router)"],snapshotSerializers:["jest-serializer-html"]}}}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){}),(function(t,e){})])})); \ No newline at end of file