diff --git a/vuetify.0.16.0-beta.3a/vuetify.js b/vuetify.0.16.0-beta.3a/vuetify.js index 70174af..bd7dea8 100644 --- a/vuetify.0.16.0-beta.3a/vuetify.js +++ b/vuetify.0.16.0-beta.3a/vuetify.js @@ -408,7 +408,6 @@ function directive(e, el, binding, v) { setTimeout(function () { return v.context.isActive = false; }, 0); - // v.context.isActive = false } } @@ -1655,7 +1654,9 @@ var Dependent = Object(__WEBPACK_IMPORTED_MODULE_3__mixins_dependent__["b" /* fa methods: { closeConditional: function closeConditional(e) { // close dialog if !persistent and doesn't have an overlay (clicked overlay will close dialog), and clicked outside - return !this.persistent && !this.hideOverlay; + var result = !this.persistent && this.hideOverlay; + if (result) e.stopPropagation(); // If we're going to close this dialog, stop propagaton so we don't close others below us as well. + return result; } }, diff --git a/vuetify.0.16.0-beta.3a/vuetify.js.map b/vuetify.0.16.0-beta.3a/vuetify.js.map index 150dc50..b7a4282 100644 --- a/vuetify.0.16.0-beta.3a/vuetify.js.map +++ b/vuetify.0.16.0-beta.3a/vuetify.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap ff980587fc77ed66e251","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/components/VCard/index.js","webpack:///./src/mixins/applicationable.js","webpack:///./src/mixins/detachable.js","webpack:///./src/mixins/dependent.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/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/menuable.js","webpack:///./src/mixins/filterable.js","webpack:///./src/mixins/maskable.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/util/mask.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","clickedInEl","include","setTimeout","b","getBoundingClientRect","x","clientX","y","clientY","inEl","left","right","top","bottom","$el","bind","$vuetify","load","click","_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","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","callback","clearableCallback","stopPropagation","genInputGroup","input","defaultAppendCallback","wrapperChildren","detailsChildren","focus","blur","keyup","includes","keyCode","keydown","toggle","preventDefault","push","unshift","progress","genProgress","counter","genCounter","VCard","VCardActions","VCardText","VCardMedia","VCardTitle","app","created","updateApplication","contentClass","mounted","initDetach","beforeDestroy","$refs","_isDestroyed","querySelector","console","warn","insertBefore","firstChild","opts","findDependents","dependents","dependent","setDependents","results","search","child","$children","hasDependents","updated","Dependent","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","ClickOutside","persistent","fullscreen","fullWidth","scrollable","transition","stackedActions","contentClasses","activeZIndex","thisContent","zis","activeDialogs","activeDialog","Math","max","hideOverlay","genOverlay","hideScroll","removeOverlay","showScroll","closeConditional","ref","activator","dialog","zIndex","display","overlay","overlayOffset","overlayTimeout","overlayTransitionDuration","onclick","permanent","isMobile","undefined","requestAnimationFrame","scrollListener","deltaY","body","checkPath","hasScrollbar","scrollHeight","shouldScroll","delta","scrollTop","isInside","composedPath","wheelDelta","getSelection","anchorNode","documentElement","tagName","parentElement","breakpoint","mdAndDown","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","dimensions","offsetTop","hasWindow","absoluteX","absoluteY","isContentActive","pageYOffset","allowOverflow","maxWidth","minWidth","nudgeBottom","nudgeLeft","nudgeRight","nudgeTop","nudgeWidth","offsetOverflow","positionX","positionY","hasActivator","menus","menu","callDeactivate","callActivate","absolutePosition","activate","calcLeft","calcTop","calcXOverflow","parsedMaxWidth","parseInt","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","text","unmaskText","$nextTick","deleting","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","d","_loadCallbacks","readyState","VApp","Resize","resizeTimeout","runCallbacks","pop","xs","sm","md","lg","xl","xsOnly","smOnly","smAndDown","smAndUp","mdOnly","mdAndUp","lgOnly","lgAndDown","lgAndUp","xlOnly","result","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","toString","toLowerCase","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","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","match","avatar","isLink","isRouteLink","defaultOffset","maxHeightAutoDefault","startIndex","stopIndex","hasJustFocused","openTimeout","closeTimeout","closeOnClick","closeOnContentClick","openOnClick","openOnHover","calculatedLeft","calcLeftAuto","calculatedMaxHeight","calculatedMaxWidth","calculatedMinWidth","min","calculatedTop","calcTopAuto","newActivator","oldActivator","removeActivatorEvents","addActivatorEvents","getTiles","calculateScroll","offsetWidth","changeListIndex","genActivator","genTransition","openDelay","closeDelay","activatorClickHandler","mouseEnterHandler","mouseLeaveHandler","relatedTarget","getAttribute","mouseenter","mouseleave","tiles","setActiveListIndex","querySelectorAll","actingIndex","offsetPadding","allowedMasks","test","convert","toUpperCase","defaultDelimiters","isMask","hasOwnProperty","maskValidates","textIndex","maskIndex","RegExp","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","date","tzOffset","getTimezoneOffset","localDate","getTime","toISOString","month","year","tableDate","originalDate","currentDay","currentMonth","currentYear","isReversing","narrowDays","activePicker","locale","dateFormat","titleDateFormat","headerDateFormat","monthFormat","formattedValue","allowedDates","firstDayOfWeek","yearIcon","supportsLocaleFormat","toLocaleDateString","day","firstAllowedDate","setDate","setHours","setMonth","isAllowed","millisecondOffset","setTime","inputDate","pickerDateFormat","getDate","getMonth","getFullYear","tableMonth","tableYear","titleText","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","dateGenTD","dateIsActive","dateIsCurrent","daysInMonth","monthClick","monthStr","monthGenTD","monthName","monthIsActive","monthIsCurrent","cols","fill","_","VDivider","VExpansionPanel","VExpansionPanelContent","panelClick","focusable","popout","getChildren","panel","genBody","activeElement","VFooter","paddingLeft","paddingRight","destroyed","VForm","inputs","errorBag","lazyValidation","errors","values","getInputs","depth","watchInputs","watchChild","watcher","$watch","immediate","$delete","removed","submit","VSpacer","VGrid","VContent","VContainer","VFlex","VLayout","paddingTop","paddingBottom","VNavigationDrawer","touchArea","clipped","disableRouteWatcher","enableResizeWatcher","floating","miniVariant","miniVariantWidth","mobileBreakPoint","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","selectionStart","shouldAutoGrow","calculateInputHeight","minHeight","onInput","validity","keyDown","code","maxlength","genFix","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","leaveTimeout","_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,0BACQ;AACd,aAAO;AACL,wBAAgB,KAAKF,KADhB;AAEL,uBAAe,KAAKF;AAFf,OAAP;AAID;AANO;AANG,CAAf,E;;;;;;;;;;;;;;;;;;;ACAO,SAASK,sBAAT,CAAiCC,CAAjC,EAAsD;AAAA,MAAlBC,EAAkB,uEAAb,KAAa;AAAA,MAANC,IAAM;;AAC3DA,SAAOA,QAAQF,EAAEG,OAAF,CAAU,KAAV,EAAiB,GAAjB,CAAf;;AAEA,SAAO;AACLD,iBAAWA,IADN;AAELE,gBAAY,IAFP;;AAILC,YAAQ,gBAACC,CAAD,QAA2B;AAAA,UAArBC,IAAqB,QAArBA,IAAqB;AAAA,UAAfC,QAAe,QAAfA,QAAe;;AACjCD,WAAKE,WAAL,GAAmB,CAAIT,CAAJ,UAASO,KAAKE,WAAL,IAAo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CAAC,8CAAAC,CAAOC,SAAP,CAAiB3X,OAAO7D,GAAP,CAAWkb,OAA5B,EAAqCE,MAArC,CAAL,EAAmD;AACjDvN,YAAQC,IAAR,mCAA6CsN,MAA7C;AACD;AACF;;AAED,IAAI,OAAOvX,MAAP,KAAkB,WAAlB,IAAiCA,OAAO7D,GAA5C,EAAiD;AAC/C6D,SAAO7D,GAAP,CAAWkb,OAAX,IAAsBC,iBAAtB;AACAtX,SAAO7D,GAAP,CAAWib,GAAX,CAAeD,OAAf;AACD;;AAED,+DAAeA,OAAf,E;;;;;;AC7BA,yC;;;;;;ACAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;;AAGA;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,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AEDA,SAAOhJ,gBAAP,CAAwB,QAAxB,EAAkCoN,QAAlC,EAA4ClE,OAA5C;;AAEAzL,KAAGo3C,SAAH,GAAe;AACb7rC,kBADa;AAEbE;AAFa,GAAf;AAID;;AAED,SAAS/D,MAAT,CAAiB1H,EAAjB,EAAqB4B,OAArB,EAA8B;AAAA,sBACA5B,GAAGo3C,SADH;AAAA,MACpB7rC,MADoB,iBACpBA,MADoB;AAAA,MACZE,OADY,iBACZA,OADY;;;AAG5BF,SAAOjJ,mBAAP,CAA2B,QAA3B,EAAqCV,QAAQ+N,QAA7C,EAAuDlE,OAAvD;AACD;;AAED,yDAAe;AACbxL,QAAM,QADO;AAEb0H,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 = 42);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap ff980587fc77ed66e251","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 let cb = () => true\n\n if (binding.value) cb = binding.value\n\n if (v.context.isActive && !clickedInEl(e, el, binding.include) && cb(e)) {\n setTimeout(() => v.context.isActive = false, 0)\n // v.context.isActive = false\n }\n}\n\nfunction clickedInEl (e, el, include) {\n e = e || {}\n const b = el.getBoundingClientRect()\n const x = e.clientX\n const y = e.clientY\n var inEl = x >= b.left && x <= b.right && y >= b.top && y <= b.bottom\n if (!inEl && include) {\n for (const v of include) {\n if (v.$el) {\n inEl = clickedInEl(e, v.$el)\n if (inEl) return inEl\n }\n }\n }\n return inEl\n}\n\nexport default {\n name: 'click-outside',\n\n bind (el, binding, v) {\n v.context.$vuetify.load(() => {\n const click = e => directive(e, el, binding, v)\n document.addEventListener('click', click, true)\n el._clickOutside = click\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","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 function factory (opts = { findDependents: true }) {\n return {\n\n data () {\n return {\n dependents: []\n }\n },\n\n props: {\n findDependents: {\n type: Boolean,\n default: opts.findDependents\n },\n dependent: {\n type: Boolean,\n default: opts.dependent\n }\n },\n\n methods: {\n setDependents () {\n const results = []\n if (this.findDependents) {\n const search = (children) => {\n for (const child of children) {\n if (child.dependent || (child.findDependents && child.dependent !== false)) {\n results.push(child)\n } else {\n search(child.$children)\n }\n }\n }\n search(this.$children)\n }\n\n this.dependents = results\n }\n },\n\n watch: {\n hasDependents (val) {\n this.setDependents()\n },\n isActive (val) {\n if (!val) {\n for (const dependent of this.dependents) {\n if (dependent.isActive) dependent.isActive = false\n }\n }\n }\n },\n\n mounted () {\n this.$vuetify.load(() => this.setDependents())\n },\n\n updated () {\n this.setDependents()\n }\n }\n}\n\nconst Dependent = factory()\n\nexport default Dependent\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/dependent.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\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport Toggleable from '../../mixins/toggleable'\nimport { factory as DependentFactory } from '../../mixins/dependent'\n\nconst Dependent = DependentFactory({ findDependents: true, dependent: false })\n\nimport ClickOutside from '../../directives/click-outside'\n\nimport { getZIndex } from '../../util/helpers'\n\nexport default {\n name: 'v-dialog',\n\n mixins: [Detachable, Overlayable, Toggleable, Dependent],\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 activeZIndex () {\n var thisContent = this.$refs.content\n if (!this.isActive) {\n // Return zero if we've not yet been created, else return our last z-index so close transition dont look funky\n return thisContent ? getZIndex(thisContent) : 0\n }\n // start with lowest allowed z-index (For now, dialogs start at 200)\n var zis = [200]\n // get z-index for all active dialogs\n var activeDialogs = document.getElementsByClassName('dialog__content__active')\n for (const activeDialog of activeDialogs) {\n if (thisContent !== activeDialog) {\n zis.push(getZIndex(activeDialog))\n }\n }\n // Return max current z-index + 2 (overlay will be this z-index - 1)\n return Math.max(...zis) + 2\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 and doesn't have an overlay (clicked overlay will close dialog), and clicked outside\n return !this.persistent && !this.hideOverlay\n }\n },\n\n render (h) {\n const children = []\n const data = {\n 'class': this.classes,\n ref: 'dialog',\n directives: [\n { name: 'click-outside', value: this.closeConditional },\n { name: 'show', value: this.isActive }\n ],\n on: {\n click: e => {\n e.stopPropagation()\n }\n }\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 e.stopPropagation()\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: {\n zIndex: this.activeZIndex\n },\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 this.overlay.onclick = (e) => {\n if (this.permanent) return\n else if (!this.persistent) this.isActive = false\n else if (this.isMobile) this.isActive = false\n if (this.activeZIndex !== undefined) e.stopPropagation()\n }\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 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 = 34\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","import Positionable from './positionable'\n\nimport { getZIndex } from '../util/helpers'\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],\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 activeZIndex () {\n var thisContent = this.$refs.content\n // Get where we start our zIndex from.\n if (!this.isActive) {\n // Return zero if we've not yet been created, else return our last z-index so close transition dont look funky\n return thisContent ? getZIndex(thisContent) : 0\n }\n // start with lowest allowed z-index of menu's parent container\n var zis = [6, this.$el ? getZIndex(this.$el) : 0]\n // get z-index for all active dialogs\n var menus = document.getElementsByClassName('menuable__content__active')\n for (const menu of menus) {\n if (thisContent !== menu) {\n zis.push(getZIndex(menu))\n }\n }\n // Return max current z-index + 2 (overlay will be this z-index - 1)\n return Math.max(...zis) + 2\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) return this.activator\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 const newValue = this.$refs.input.value\n let selection = this.selection\n\n while (isMaskDelimiter(newValue.substr(selection - 1, 1))) {\n selection++\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(() => {\n if (!this.$refs.input) return\n\n this.$refs.input.value = this.maskText(this.lazyValue)\n\n this.deleting ? this.setCaretPosition(this.selection) : this.updateRange()\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/maskable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_pickers.styl\n// module id = 40\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 = 43\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 = 44\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 = 45\n// module chunks = 0","module.exports = {\n\t\"name\": \"vuetify\",\n\t\"version\": \"0.16.0-beta.3\",\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 = 46\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 = 52\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 = 57\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 = 59\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 = 63\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 = 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)\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 = 66\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 = 69\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 = 72\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 = 73\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 = 74\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 = 77\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 = 80\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 = 83\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 = 85\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 = 90\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 = 97\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 = 100\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 = 101\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 = 103\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 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, 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: () => (this.isActive = false)\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 = 105\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 = 107\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 Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable.js'\nimport Toggleable from '../../mixins/toggleable'\nimport Dependent from '../../mixins/dependent'\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 Detachable,\n Generators,\n Keyable,\n Menuable,\n Position,\n Toggleable,\n Dependent\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 openTimeout: null,\n closeTimeout: null,\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 = 112\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 props: {\n openDelay: {\n type: [Number, String],\n default: 0\n },\n closeDelay: {\n type: [Number, String],\n default: 500\n }\n },\n\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 clearTimeout(this.openTimeout)\n clearTimeout(this.closeTimeout)\n\n if (this.hasJustFocused) return\n\n this.openTimeout = setTimeout(() => {\n this.hasJustFocused = true\n this.isActive = true\n }, parseInt(this.openDelay, 10))\n },\n mouseLeaveHandler (e) {\n clearTimeout(this.openTimeout)\n clearTimeout(this.closeTimeout)\n\n if (this.$refs.content.contains(e.relatedTarget)) return\n\n // Prevent accidental re-activation\n this.closeTimeout = setTimeout(() => {\n requestAnimationFrame(() => {\n this.isActive = false\n this.callDeactivate()\n })\n }, parseInt(this.closeDelay, 10))\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: () => this.closeOnClick,\n include: [this]\n }] : []\n\n directives.push({\n name: 'show',\n value: this.isContentActive\n })\n\n const options = {\n 'class': [(`menu__content ${this.contentClass}`).trim(), { 'menuable__content__active': this.isActive }],\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 * 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","/**\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 = 125\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 date = new Date(date)\n const tzOffset = date.getTimezoneOffset() * 60000\n const localDate = new Date(date.getTime() - tzOffset)\n return localDate.toISOString().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 supportsLocaleFormat () {\n return ('toLocaleDateString' in Date.prototype) &&\n new Date(2000, 0, 15).toLocaleDateString('en', { day: 'numeric' }) === '15'\n },\n firstAllowedDate () {\n const date = new Date()\n\n if (this.type === 'month') {\n date.setDate(1)\n date.setHours(12, 0, 0, 0)\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(12, 0, 0, 0)\n\n if (this.allowedDates) {\n const millisecondOffset = 1 * 24 * 60 * 60 * 1000\n const valid = new Date(date)\n for (let i = 0; i < 31; i++) {\n if (this.isAllowed(valid)) return valid\n\n valid.setTime(valid.getTime() + millisecondOffset)\n }\n }\n }\n\n return date\n },\n inputDate: {\n get () {\n if (!this.value) return this.firstAllowedDate\n if (this.value instanceof Date) return this.value\n if (!isNaN(this.value) ||\n typeof this.value === 'string' && this.value.indexOf(':') !== -1\n ) return new Date(this.value)\n\n return new Date(`${this.value}T12:00:00`)\n },\n set (val) {\n const pickerDateFormat = createDefaultDateFormat(this.type)\n this.$emit('input', val ? pickerDateFormat(val) : this.originalDate)\n this.$emit('update:formattedValue', (this.dateFormat || pickerDateFormat)(val || this.originalDate))\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 = new Date(this.year, this.month, this.day, 1 /* Workaround for #1409 */)\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, this.titleDateFormat || defaultTitleDateFormat)\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 = new Date(2000, 1, 7)\n const day = date.getDate() - date.getDay() + first\n const format = { weekday: 'narrow' }\n this.narrowDays = createRange(7).map(i => new Date(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(date)\n return !!this.allowedDates.find(allowedDate => format(allowedDate) === date)\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.allowedDates.min)\n const max = format(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 = new Date(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 = new Date(this.tableYear + value, 0)))\n } else if (this.activePicker === 'YEAR') {\n pickerBodyChildren.push(this.genYears())\n }\n\n return pickerBodyChildren\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 = 128\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 let tableMonth = this.tableMonth + 1\n let day = this.day\n tableMonth = tableMonth < 10 ? `0${tableMonth}` : tableMonth\n day = day < 10 ? `0${day}` : day\n this.inputDate = `${year}-${tableMonth}-${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 = new Date(year, this.month, this.day, 12)\n const buttonText = this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, { year: 'numeric' })\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 = new Date(this.year, this.month, this.day, 12)\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, { year: 'numeric' })\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 = new Date(this.tableYear, change)\n } else if (this.activePicker === 'MONTH') {\n this.tableDate = new Date(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 = new Date(this.tableYear, this.tableMonth, 1, 1 /* Workaround for #1409 */)\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, format)\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 = new Date(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 day = day < 10 ? `0${day}` : day\n const tableYear = this.tableYear\n let tableMonth = this.tableMonth + 1\n tableMonth = tableMonth < 10 ? `0${tableMonth}` : tableMonth\n\n this.inputDate = `${tableYear}-${tableMonth}-${day}T12:00:00`\n this.$nextTick(() => (this.autosave && this.save()))\n },\n dateGenTD (day) {\n const date = new Date(this.tableYear, this.tableMonth, day, 12)\n const buttonText = this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, { day: 'numeric' })\n : day\n const button = this.$createElement('button', {\n 'class': {\n 'btn btn--date-picker btn--floating btn--small btn--flat': true,\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 = new Date(this.tableYear, this.tableMonth + 1, 0, 12).getDate()\n let rows = []\n const day = (new Date(this.tableYear, this.tableMonth, 1, 12).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 = new Date(year, 0)\n },\n monthClick (month) {\n const tableYear = this.tableYear\n const monthStr = month < 9 ? `0${month + 1}` : (month + 1)\n const day = this.day < 10 ? `0${this.day}` : this.day\n\n this.inputDate = `${tableYear}-${monthStr}-${day}T12:00:00`\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 = new Date(this.tableYear, month, 1, 12, 0, 0, 0)\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, this.monthFormat)\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 = 137\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 = 140\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 = 144\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 = 149\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 = 155\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 = 158\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 = 161\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 = 165\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 = 168\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 let left = (\n ((clientX - offsetLeft) / trackWidth) * 100\n )\n\n left = left < 0 ? 0 : left > 100 ? 100 : left\n\n this.inputValue = parseInt(this.min, 10) + ((left / 100) * (this.max - this.min))\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 = 173\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 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 = 176\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 = 179\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 = 182\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 = 187\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 = 190\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 = 193\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 = 196\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'\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 deleting: false\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.selection = this.$refs.input ? this.$refs.input.selectionStart : 0\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.inputValue = this.unmaskText(e.target.value)\n this.badInput = e.target.validity && e.target.validity.badInput\n this.shouldAutoGrow && this.calculateInputHeight()\n },\n keyDown (e) {\n const key = e.code || e.key\n this.deleting = key === 'Backspace' || key === 'Delete'\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 keydown: this.keyDown\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 },\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 = 205\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 = 210\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 Colorable from '../../mixins/colorable'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable'\nimport Toggleable from '../../mixins/toggleable'\nimport { factory as DependentFactory } from '../../mixins/dependent'\n\nconst Dependent = DependentFactory({ dependent: true })\n\nexport default {\n name: 'v-tooltip',\n\n mixins: [Colorable, Detachable, Menuable, Toggleable, Dependent],\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 clearTimeout(this.leaveTimeout)\n\n this.isActive = true\n },\n mouseleave: () => {\n clearTimeout(this.leaveTimeout)\n\n this.leaveTimeout = setTimeout(\n () => (this.isActive = false),\n this.debounce\n )\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 = 214\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 c3c0be51fa13403f73a3","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/components/VCard/index.js","webpack:///./src/mixins/applicationable.js","webpack:///./src/mixins/detachable.js","webpack:///./src/mixins/dependent.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/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/menuable.js","webpack:///./src/mixins/filterable.js","webpack:///./src/mixins/maskable.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/util/mask.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","clickedInEl","include","setTimeout","b","getBoundingClientRect","x","clientX","y","clientY","inEl","left","right","top","bottom","$el","bind","$vuetify","load","click","_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","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","callback","clearableCallback","stopPropagation","genInputGroup","input","defaultAppendCallback","wrapperChildren","detailsChildren","focus","blur","keyup","includes","keyCode","keydown","toggle","preventDefault","push","unshift","progress","genProgress","counter","genCounter","VCard","VCardActions","VCardText","VCardMedia","VCardTitle","app","created","updateApplication","contentClass","mounted","initDetach","beforeDestroy","$refs","_isDestroyed","querySelector","console","warn","insertBefore","firstChild","opts","findDependents","dependents","dependent","setDependents","results","search","child","$children","hasDependents","updated","Dependent","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","ClickOutside","persistent","fullscreen","fullWidth","scrollable","transition","stackedActions","contentClasses","activeZIndex","thisContent","zis","activeDialogs","activeDialog","Math","max","hideOverlay","genOverlay","hideScroll","removeOverlay","showScroll","closeConditional","result","ref","activator","dialog","zIndex","display","overlay","overlayOffset","overlayTimeout","overlayTransitionDuration","onclick","permanent","isMobile","undefined","requestAnimationFrame","scrollListener","deltaY","body","checkPath","hasScrollbar","scrollHeight","shouldScroll","delta","scrollTop","isInside","composedPath","wheelDelta","getSelection","anchorNode","documentElement","tagName","parentElement","breakpoint","mdAndDown","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","dimensions","offsetTop","hasWindow","absoluteX","absoluteY","isContentActive","pageYOffset","allowOverflow","maxWidth","minWidth","nudgeBottom","nudgeLeft","nudgeRight","nudgeTop","nudgeWidth","offsetOverflow","positionX","positionY","hasActivator","menus","menu","callDeactivate","callActivate","absolutePosition","activate","calcLeft","calcTop","calcXOverflow","parsedMaxWidth","parseInt","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","text","unmaskText","$nextTick","deleting","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","d","_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","toString","toLowerCase","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","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","match","avatar","isLink","isRouteLink","defaultOffset","maxHeightAutoDefault","startIndex","stopIndex","hasJustFocused","openTimeout","closeTimeout","closeOnClick","closeOnContentClick","openOnClick","openOnHover","calculatedLeft","calcLeftAuto","calculatedMaxHeight","calculatedMaxWidth","calculatedMinWidth","min","calculatedTop","calcTopAuto","newActivator","oldActivator","removeActivatorEvents","addActivatorEvents","getTiles","calculateScroll","offsetWidth","changeListIndex","genActivator","genTransition","openDelay","closeDelay","activatorClickHandler","mouseEnterHandler","mouseLeaveHandler","relatedTarget","getAttribute","mouseenter","mouseleave","tiles","setActiveListIndex","querySelectorAll","actingIndex","offsetPadding","allowedMasks","test","convert","toUpperCase","defaultDelimiters","isMask","hasOwnProperty","maskValidates","textIndex","maskIndex","RegExp","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","date","tzOffset","getTimezoneOffset","localDate","getTime","toISOString","month","year","tableDate","originalDate","currentDay","currentMonth","currentYear","isReversing","narrowDays","activePicker","locale","dateFormat","titleDateFormat","headerDateFormat","monthFormat","formattedValue","allowedDates","firstDayOfWeek","yearIcon","supportsLocaleFormat","toLocaleDateString","day","firstAllowedDate","setDate","setHours","setMonth","isAllowed","millisecondOffset","setTime","inputDate","pickerDateFormat","getDate","getMonth","getFullYear","tableMonth","tableYear","titleText","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","dateGenTD","dateIsActive","dateIsCurrent","daysInMonth","monthClick","monthStr","monthGenTD","monthName","monthIsActive","monthIsCurrent","cols","fill","_","VDivider","VExpansionPanel","VExpansionPanelContent","panelClick","focusable","popout","getChildren","panel","genBody","activeElement","VFooter","paddingLeft","paddingRight","destroyed","VForm","inputs","errorBag","lazyValidation","errors","values","getInputs","depth","watchInputs","watchChild","watcher","$watch","immediate","$delete","removed","submit","VSpacer","VGrid","VContent","VContainer","VFlex","VLayout","paddingTop","paddingBottom","VNavigationDrawer","touchArea","clipped","disableRouteWatcher","enableResizeWatcher","floating","miniVariant","miniVariantWidth","mobileBreakPoint","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","selectionStart","shouldAutoGrow","calculateInputHeight","minHeight","onInput","validity","keyDown","code","maxlength","genFix","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","leaveTimeout","_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,0BACQ;AACd,aAAO;AACL,wBAAgB,KAAKF,KADhB;AAEL,uBAAe,KAAKF;AAFf,OAAP;AAID;AANO;AANG,CAAf,E;;;;;;;;;;;;;;;;;;;ACAO,SAASK,sBAAT,CAAiCC,CAAjC,EAAsD;AAAA,MAAlBC,EAAkB,uEAAb,KAAa;AAAA,MAANC,IAAM;;AAC3DA,SAAOA,QAAQF,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AEA;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;;;;;;;;;;;;;;;;;;;;;;;;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AQI,KAAf,KAAyB,UAAzB,GACbJ,QAAQI,KADK,GAEbJ,QAAQI,KAAR,CAAc2N,QAFlB;AAGA,MAAMlE,UAAU7J,QAAQI,KAAR,CAAcyJ,OAAd,IAAyB,EAAExD,SAAS,IAAX,EAAzC;AACA,MAAIsD,SAAS3J,QAAQI,KAAR,CAAcuJ,MAAd,IAAwBvD,MAArC;AACA,MAAIuD,WAAW,WAAf,EAA4B;;AAE5B,MAAIA,WAAWvD,MAAf,EAAuB;AACrBuD,aAAS5H,SAASoO,aAAT,CAAuBxG,MAAvB,CAAT;AACD;;AAEDA,SAAOhJ,gBAAP,CAAwB,QAAxB,EAAkCoN,QAAlC,EAA4ClE,OAA5C;;AAEAzL,KAAGo3C,SAAH,GAAe;AACb7rC,kBADa;AAEbE;AAFa,GAAf;AAID;;AAED,SAAS/D,MAAT,CAAiB1H,EAAjB,EAAqB4B,OAArB,EAA8B;AAAA,sBACA5B,GAAGo3C,SADH;AAAA,MACpB7rC,MADoB,iBACpBA,MADoB;AAAA,MACZE,OADY,iBACZA,OADY;;;AAG5BF,SAAOjJ,mBAAP,CAA2B,QAA3B,EAAqCV,QAAQ+N,QAA7C,EAAuDlE,OAAvD;AACD;;AAED,yDAAe;AACbxL,QAAM,QADO;AAEb0H,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 = 42);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap c3c0be51fa13403f73a3","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 let cb = () => true\n\n if (binding.value) cb = binding.value\n\n if (v.context.isActive && !clickedInEl(e, el, binding.include) && cb(e)) {\n setTimeout(() => v.context.isActive = false, 0)\n }\n}\n\nfunction clickedInEl (e, el, include) {\n e = e || {}\n const b = el.getBoundingClientRect()\n const x = e.clientX\n const y = e.clientY\n var inEl = x >= b.left && x <= b.right && y >= b.top && y <= b.bottom\n if (!inEl && include) {\n for (const v of include) {\n if (v.$el) {\n inEl = clickedInEl(e, v.$el)\n if (inEl) return inEl\n }\n }\n }\n return inEl\n}\n\nexport default {\n name: 'click-outside',\n\n bind (el, binding, v) {\n v.context.$vuetify.load(() => {\n const click = e => directive(e, el, binding, v)\n document.addEventListener('click', click, true)\n el._clickOutside = click\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","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 function factory (opts = { findDependents: true }) {\n return {\n\n data () {\n return {\n dependents: []\n }\n },\n\n props: {\n findDependents: {\n type: Boolean,\n default: opts.findDependents\n },\n dependent: {\n type: Boolean,\n default: opts.dependent\n }\n },\n\n methods: {\n setDependents () {\n const results = []\n if (this.findDependents) {\n const search = (children) => {\n for (const child of children) {\n if (child.dependent || (child.findDependents && child.dependent !== false)) {\n results.push(child)\n } else {\n search(child.$children)\n }\n }\n }\n search(this.$children)\n }\n\n this.dependents = results\n }\n },\n\n watch: {\n hasDependents (val) {\n this.setDependents()\n },\n isActive (val) {\n if (!val) {\n for (const dependent of this.dependents) {\n if (dependent.isActive) dependent.isActive = false\n }\n }\n }\n },\n\n mounted () {\n this.$vuetify.load(() => this.setDependents())\n },\n\n updated () {\n this.setDependents()\n }\n }\n}\n\nconst Dependent = factory()\n\nexport default Dependent\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/dependent.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\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport Toggleable from '../../mixins/toggleable'\nimport { factory as DependentFactory } from '../../mixins/dependent'\n\nconst Dependent = DependentFactory({ findDependents: true, dependent: false })\n\nimport ClickOutside from '../../directives/click-outside'\n\nimport { getZIndex } from '../../util/helpers'\n\nexport default {\n name: 'v-dialog',\n\n mixins: [Detachable, Overlayable, Toggleable, Dependent],\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 activeZIndex () {\n var thisContent = this.$refs.content\n if (!this.isActive) {\n // Return zero if we've not yet been created, else return our last z-index so close transition dont look funky\n return thisContent ? getZIndex(thisContent) : 0\n }\n // start with lowest allowed z-index (For now, dialogs start at 200)\n var zis = [200]\n // get z-index for all active dialogs\n var activeDialogs = document.getElementsByClassName('dialog__content__active')\n for (const activeDialog of activeDialogs) {\n if (thisContent !== activeDialog) {\n zis.push(getZIndex(activeDialog))\n }\n }\n // Return max current z-index + 2 (overlay will be this z-index - 1)\n return Math.max(...zis) + 2\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 and doesn't have an overlay (clicked overlay will close dialog), and clicked outside\n const result = !this.persistent && this.hideOverlay\n if (result) e.stopPropagation() // If we're going to close this dialog, stop propagaton so we don't close others below us as well.\n return result\n }\n },\n\n render (h) {\n const children = []\n const data = {\n 'class': this.classes,\n ref: 'dialog',\n directives: [\n { name: 'click-outside', value: this.closeConditional },\n { name: 'show', value: this.isActive }\n ],\n on: {\n click: e => {\n e.stopPropagation()\n }\n }\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 e.stopPropagation()\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: {\n zIndex: this.activeZIndex\n },\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 this.overlay.onclick = (e) => {\n if (this.permanent) return\n else if (!this.persistent) this.isActive = false\n else if (this.isMobile) this.isActive = false\n if (this.activeZIndex !== undefined) e.stopPropagation()\n }\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 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 = 34\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","import Positionable from './positionable'\n\nimport { getZIndex } from '../util/helpers'\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],\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 activeZIndex () {\n var thisContent = this.$refs.content\n // Get where we start our zIndex from.\n if (!this.isActive) {\n // Return zero if we've not yet been created, else return our last z-index so close transition dont look funky\n return thisContent ? getZIndex(thisContent) : 0\n }\n // start with lowest allowed z-index of menu's parent container\n var zis = [6, this.$el ? getZIndex(this.$el) : 0]\n // get z-index for all active dialogs\n var menus = document.getElementsByClassName('menuable__content__active')\n for (const menu of menus) {\n if (thisContent !== menu) {\n zis.push(getZIndex(menu))\n }\n }\n // Return max current z-index + 2 (overlay will be this z-index - 1)\n return Math.max(...zis) + 2\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) return this.activator\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 const newValue = this.$refs.input.value\n let selection = this.selection\n\n while (isMaskDelimiter(newValue.substr(selection - 1, 1))) {\n selection++\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(() => {\n if (!this.$refs.input) return\n\n this.$refs.input.value = this.maskText(this.lazyValue)\n\n this.deleting ? this.setCaretPosition(this.selection) : this.updateRange()\n })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/mixins/maskable.js","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/stylus/components/_pickers.styl\n// module id = 40\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 = 43\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 = 44\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 = 45\n// module chunks = 0","module.exports = {\n\t\"name\": \"vuetify\",\n\t\"version\": \"0.16.0-beta.3\",\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 = 46\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 = 52\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 = 57\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 = 59\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 = 63\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 = 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)\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 = 66\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 = 69\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 = 72\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 = 73\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 = 74\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 = 77\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 = 80\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 = 83\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 = 85\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 = 90\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 = 97\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 = 100\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 = 101\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 = 103\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 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, 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: () => (this.isActive = false)\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 = 105\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 = 107\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 Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable.js'\nimport Toggleable from '../../mixins/toggleable'\nimport Dependent from '../../mixins/dependent'\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 Detachable,\n Generators,\n Keyable,\n Menuable,\n Position,\n Toggleable,\n Dependent\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 openTimeout: null,\n closeTimeout: null,\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 = 112\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 props: {\n openDelay: {\n type: [Number, String],\n default: 0\n },\n closeDelay: {\n type: [Number, String],\n default: 500\n }\n },\n\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 clearTimeout(this.openTimeout)\n clearTimeout(this.closeTimeout)\n\n if (this.hasJustFocused) return\n\n this.openTimeout = setTimeout(() => {\n this.hasJustFocused = true\n this.isActive = true\n }, parseInt(this.openDelay, 10))\n },\n mouseLeaveHandler (e) {\n clearTimeout(this.openTimeout)\n clearTimeout(this.closeTimeout)\n\n if (this.$refs.content.contains(e.relatedTarget)) return\n\n // Prevent accidental re-activation\n this.closeTimeout = setTimeout(() => {\n requestAnimationFrame(() => {\n this.isActive = false\n this.callDeactivate()\n })\n }, parseInt(this.closeDelay, 10))\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: () => this.closeOnClick,\n include: [this]\n }] : []\n\n directives.push({\n name: 'show',\n value: this.isContentActive\n })\n\n const options = {\n 'class': [(`menu__content ${this.contentClass}`).trim(), { 'menuable__content__active': this.isActive }],\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 * 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","/**\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 = 125\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 date = new Date(date)\n const tzOffset = date.getTimezoneOffset() * 60000\n const localDate = new Date(date.getTime() - tzOffset)\n return localDate.toISOString().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 supportsLocaleFormat () {\n return ('toLocaleDateString' in Date.prototype) &&\n new Date(2000, 0, 15).toLocaleDateString('en', { day: 'numeric' }) === '15'\n },\n firstAllowedDate () {\n const date = new Date()\n\n if (this.type === 'month') {\n date.setDate(1)\n date.setHours(12, 0, 0, 0)\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(12, 0, 0, 0)\n\n if (this.allowedDates) {\n const millisecondOffset = 1 * 24 * 60 * 60 * 1000\n const valid = new Date(date)\n for (let i = 0; i < 31; i++) {\n if (this.isAllowed(valid)) return valid\n\n valid.setTime(valid.getTime() + millisecondOffset)\n }\n }\n }\n\n return date\n },\n inputDate: {\n get () {\n if (!this.value) return this.firstAllowedDate\n if (this.value instanceof Date) return this.value\n if (!isNaN(this.value) ||\n typeof this.value === 'string' && this.value.indexOf(':') !== -1\n ) return new Date(this.value)\n\n return new Date(`${this.value}T12:00:00`)\n },\n set (val) {\n const pickerDateFormat = createDefaultDateFormat(this.type)\n this.$emit('input', val ? pickerDateFormat(val) : this.originalDate)\n this.$emit('update:formattedValue', (this.dateFormat || pickerDateFormat)(val || this.originalDate))\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 = new Date(this.year, this.month, this.day, 1 /* Workaround for #1409 */)\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, this.titleDateFormat || defaultTitleDateFormat)\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 = new Date(2000, 1, 7)\n const day = date.getDate() - date.getDay() + first\n const format = { weekday: 'narrow' }\n this.narrowDays = createRange(7).map(i => new Date(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(date)\n return !!this.allowedDates.find(allowedDate => format(allowedDate) === date)\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.allowedDates.min)\n const max = format(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 = new Date(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 = new Date(this.tableYear + value, 0)))\n } else if (this.activePicker === 'YEAR') {\n pickerBodyChildren.push(this.genYears())\n }\n\n return pickerBodyChildren\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 = 128\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 let tableMonth = this.tableMonth + 1\n let day = this.day\n tableMonth = tableMonth < 10 ? `0${tableMonth}` : tableMonth\n day = day < 10 ? `0${day}` : day\n this.inputDate = `${year}-${tableMonth}-${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 = new Date(year, this.month, this.day, 12)\n const buttonText = this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, { year: 'numeric' })\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 = new Date(this.year, this.month, this.day, 12)\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, { year: 'numeric' })\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 = new Date(this.tableYear, change)\n } else if (this.activePicker === 'MONTH') {\n this.tableDate = new Date(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 = new Date(this.tableYear, this.tableMonth, 1, 1 /* Workaround for #1409 */)\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, format)\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 = new Date(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 day = day < 10 ? `0${day}` : day\n const tableYear = this.tableYear\n let tableMonth = this.tableMonth + 1\n tableMonth = tableMonth < 10 ? `0${tableMonth}` : tableMonth\n\n this.inputDate = `${tableYear}-${tableMonth}-${day}T12:00:00`\n this.$nextTick(() => (this.autosave && this.save()))\n },\n dateGenTD (day) {\n const date = new Date(this.tableYear, this.tableMonth, day, 12)\n const buttonText = this.supportsLocaleFormat\n ? date.toLocaleDateString(this.locale, { day: 'numeric' })\n : day\n const button = this.$createElement('button', {\n 'class': {\n 'btn btn--date-picker btn--floating btn--small btn--flat': true,\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 = new Date(this.tableYear, this.tableMonth + 1, 0, 12).getDate()\n let rows = []\n const day = (new Date(this.tableYear, this.tableMonth, 1, 12).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 = new Date(year, 0)\n },\n monthClick (month) {\n const tableYear = this.tableYear\n const monthStr = month < 9 ? `0${month + 1}` : (month + 1)\n const day = this.day < 10 ? `0${this.day}` : this.day\n\n this.inputDate = `${tableYear}-${monthStr}-${day}T12:00:00`\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 = new Date(this.tableYear, month, 1, 12, 0, 0, 0)\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, this.monthFormat)\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 = 137\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 = 140\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 = 144\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 = 149\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 = 155\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 = 158\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 = 161\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 = 165\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 = 168\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 let left = (\n ((clientX - offsetLeft) / trackWidth) * 100\n )\n\n left = left < 0 ? 0 : left > 100 ? 100 : left\n\n this.inputValue = parseInt(this.min, 10) + ((left / 100) * (this.max - this.min))\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 = 173\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 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 = 176\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 = 179\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 = 182\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 = 187\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 = 190\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 = 193\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 = 196\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'\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 deleting: false\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.selection = this.$refs.input ? this.$refs.input.selectionStart : 0\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.inputValue = this.unmaskText(e.target.value)\n this.badInput = e.target.validity && e.target.validity.badInput\n this.shouldAutoGrow && this.calculateInputHeight()\n },\n keyDown (e) {\n const key = e.code || e.key\n this.deleting = key === 'Backspace' || key === 'Delete'\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 keydown: this.keyDown\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 },\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 = 205\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 = 210\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 Colorable from '../../mixins/colorable'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable'\nimport Toggleable from '../../mixins/toggleable'\nimport { factory as DependentFactory } from '../../mixins/dependent'\n\nconst Dependent = DependentFactory({ dependent: true })\n\nexport default {\n name: 'v-tooltip',\n\n mixins: [Colorable, Detachable, Menuable, Toggleable, Dependent],\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 clearTimeout(this.leaveTimeout)\n\n this.isActive = true\n },\n mouseleave: () => {\n clearTimeout(this.leaveTimeout)\n\n this.leaveTimeout = setTimeout(\n () => (this.isActive = false),\n this.debounce\n )\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 = 214\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.0-beta.3a/vuetify.min.js b/vuetify.0.16.0-beta.3a/vuetify.min.js index f351269..00648e5 100644 --- a/vuetify.0.16.0-beta.3a/vuetify.min.js +++ b/vuetify.0.16.0-beta.3a/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=J({},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:J({},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 u(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(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{findDependents:!0};return{data:function(){return{dependents:[]}},props:{findDependents:{type:Boolean,default:t.findDependents},dependent:{type:Boolean,default:t.dependent}},methods:{setDependents:function(){var t=[];if(this.findDependents){!(function e(i){var n=!0,s=!1,r=void 0;try{for(var o,a=i[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;l.dependent||l.findDependents&&!1!==l.dependent?t.push(l):e(l.$children)}}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}})(this.$children)}this.dependents=t}},watch:{hasDependents:function(t){this.setDependents()},isActive:function(t){if(!t){var e=!0,i=!1,n=void 0;try{for(var s,r=this.dependents[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){var o=s.value;o.isActive&&(o.isActive=!1)}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}}}},mounted:function(){var t=this;this.$vuetify.load((function(){return t.setDependents()}))},updated:function(){this.setDependents()}}}function b(t,e,i,n){var s=function(){return!0};i.value&&(s=i.value),n.context.isActive&&!y(t,e,i.include)&&s(t)&&setTimeout((function(){return n.context.isActive=!1}),0)}function y(t,e,i){t=t||{};var n=e.getBoundingClientRect(),s=t.clientX,r=t.clientY,o=s>=n.left&&s<=n.right&&r>=n.top&&r<=n.bottom;if(!o&&i){var a=!0,l=!1,u=void 0;try{for(var c,h=i[Symbol.iterator]();!(a=(c=h.next()).done);a=!0){var d=c.value;if(d.$el&&(o=y(t,d.$el)))return o}}catch(t){l=!0,u=t}finally{try{!a&&h.return&&h.return()}finally{if(l)throw u}}}return o}function w(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function x(t,e){["transform","webkitTransform"].forEach((function(i){t.style[i]=e}))}function k(t,e,i){!1!==e.value&&("ontouchstart"in window&&(t.addEventListener("touchend",(function(){return Et.hide(t)}),!1),t.addEventListener("touchcancel",(function(){return Et.hide(t)}),!1)),t.addEventListener("mousedown",(function(i){return Et.show(i,t,e)}),!1),t.addEventListener("mouseup",(function(){return Et.hide(t)}),!1),t.addEventListener("mouseleave",(function(){return Et.hide(t)}),!1),t.addEventListener("dragstart",(function(){return Et.hide(t)}),!1))}function $(t,e){t.removeEventListener("touchstart",(function(i){return Et.show(i,t,e)}),!1),t.removeEventListener("mousedown",(function(i){return Et.show(i,t,e)}),!1),t.removeEventListener("touchend",(function(){return Et.hide(t)}),!1),t.removeEventListener("touchcancel",(function(){return Et.hide(t)}),!1),t.removeEventListener("mouseup",(function(){return Et.hide(t)}),!1),t.removeEventListener("mouseleave",(function(){return Et.hide(t)}),!1),t.removeEventListener("dragstart",(function(){return Et.hide(t)}),!1)}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){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 Gt(t,n)}),r),s.addEventListener("touchend",(function(t){return Ut(t,n)}),r),s.addEventListener("touchmove",(function(t){return Kt(t,n)}),r))}function S(t,e){var i=e.value,n=i.parent?t.parentNode:t;n&&(n.removeEventListener("touchstart",Gt),n.removeEventListener("touchend",Ut),n.removeEventListener("touchmove",Kt))}function C(t){t.component("v-bottom-sheet-transition",se),t.component("v-carousel-transition",re),t.component("v-carousel-reverse-transition",oe),t.component("v-dialog-transition",he),t.component("v-dialog-bottom-transition",de),t.component("v-fab-transition",ce),t.component("v-fade-transition",pe),t.component("v-menu-transition",ue),t.component("v-scale-transition",fe),t.component("v-slide-x-transition",me),t.component("v-slide-x-reverse-transition",ve),t.component("v-slide-y-transition",ge),t.component("v-slide-y-reverse-transition",be),t.component("v-tab-reverse-transition",le),t.component("v-tab-transition",ae),t.component("v-expand-transition",ye),t.component("v-row-expand-transition",we)}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,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function B(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function E(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{},i={load:X,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)}))}},G=q,U={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),u=i,c=(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:u,mdAndDown:c,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)}}},K=U,Z={props:{dark:Boolean,light:Boolean},computed:{themeClasses:function(){return{"theme--light":this.light,"theme--dark":this.dark}}}},J=Object.assign||function(t){for(var e=1;e1&&(i+=" text--"+e[1]),t[i]=!!this.color,t}}},st={props:{primary:Boolean,secondary:Boolean,success:Boolean,info:Boolean,warning:Boolean,error:Boolean}};i(12);var rt={name:"v-icon",functional:!0,mixins:[nt,st,Z],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(st.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 u=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?nt.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}),c=Object.keys(u).filter((function(t){return u[t]})).join(" ");if(c&&(n.staticClass+=" "+c),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)}};rt.install=function(t){t.component(rt.name,rt)};var ot=rt,at=m(),lt=at,ut={props:{mode:String,origin:String,transition:String}};i(11);var ct={name:"v-alert",components:{VIcon:ot},mixins:[nt,lt,ut],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(ot,{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}};ct.install=function(t){t.component(ct.name,ct)};var ht=ct;i(13);var dt={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)}};dt.install=function(t){t.component(dt.name,dt)};var pt=dt;i(14);var ft={name:"v-badge",mixins:[nt,lt],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=t("span",{staticClass:"badge__badge",class:[this.color],attrs:this.attrs,directives:[{name:"show",value:this.isActive}]},this.$slots.badge);return t("span",{staticClass:"badge",class:this.classes},[this.$slots.default,t("transition",{props:{name:this.transition}},[e])])}};ft.install=function(t){t.component(ft.name,ft)};var mt=ft,vt={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 gt={name:"v-bottom-nav",mixins:[vt],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)}};gt.install=function(t){t.component(gt.name,gt)};var bt=gt,yt={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}}},wt={mixins:[yt],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 xt={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.overlay.onclick=function(e){t.permanent||(t.persistent?t.isMobile&&(t.isActive=!1):t.isActive=!1,void 0!==t.activeZIndex&&e.stopPropagation())},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,u=e[Symbol.iterator]();!(r=(l=u.next()).done);r=!0){var c=l.value;if([document,document.documentElement,this.$refs.content].includes(c))return!0;if(this.hasScrollbar(c))return this.shouldScroll(c,i)}}catch(t){o=!0,a=t}finally{try{!r&&u.return&&u.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)}}},kt=g(),$t=kt,_t={name:"click-outside",bind:function(t,e,i){i.context.$vuetify.load((function(){var n=function(n){return b(n,t,e,i)};document.addEventListener("click",n,!0),t._clickOutside=n}))},unbind:function(t){document.removeEventListener("click",t._clickOutside,!0)}};i(17);var Tt=g({findDependents:!0,dependent:!1}),St={name:"v-dialog",mixins:[wt,xt,lt,Tt],directives:{ClickOutside:_t},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={},w(t,("dialog "+this.contentClass).trim(),!0),w(t,"dialog--active",this.isActive),w(t,"dialog--persistent",this.persistent),w(t,"dialog--fullscreen",this.fullscreen),w(t,"dialog--stacked-actions",this.stackedActions&&!this.fullscreen),w(t,"dialog--scrollable",this.scrollable),t},contentClasses:function(){return{dialog__content:!0,dialog__content__active:this.isActive}},activeZIndex:function(){var t=this.$refs.content;if(!this.isActive)return t?h(t):0;var e=[200],i=document.getElementsByClassName("dialog__content__active"),n=!0,s=!1,r=void 0;try{for(var o,a=i[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;t!==l&&e.push(h(l))}}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}return Math.max.apply(Math,e)+2}},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&&!this.hideOverlay}},render:function(t){var e=this,i=[],n={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:this.closeConditional},{name:"show",value:this.isActive}],on:{click:function(t){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){t.stopPropagation(),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)}},Ct=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 u=e.getBoundingClientRect(),c=s.center?"50%":t.clientX-u.left+"px",h=s.center?"50%":t.clientY-u.top+"px";o.classList.add("ripple__animation--enter"),o.classList.add("ripple__animation--visible"),x(o,"translate(-50%, -50%) translate("+c+", "+h+") scale3d(0.01,0.01,0.01)"),o.dataset.activated=Date.now(),setTimeout((function(){o.classList.remove("ripple__animation--enter"),x(o,"translate(-50%, -50%) translate("+c+", "+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)}}},Vt={name:"ripple",bind:k,unbind:$},Dt=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)}};zt.install=function(t){t.component(zt.name,zt)};var Ft=zt;i(22);var Wt={name:"v-card",mixins:[Ot,Z],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)}},Yt={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)}},Xt={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)}};Wt.install=function(t){var e=r("card__actions"),i=r("card__text");t.component(Wt.name,Wt),t.component(Yt.name,Yt),t.component(Xt.name,Xt),t.component("v-card-actions",e),t.component("v-card-text",i)};var qt=Wt,Gt=function(t,e){var i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))},Ut=function(t,e){var i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),Zt(e)},Kt=function(t,e){var i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))},Zt=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)},Jt={name:"touch",inserted:T,unbind:S};i(23);var Qt={name:"v-carousel",mixins:[yt,Z],directives:{Touch:Jt},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(Rt,{props:{icon:!0,dark:this.dark||!this.light,light:this.light},on:{click:i}},[this.$createElement(ot,e)])]):null},genItems:function(){var t=this;return this.items.map((function(e,i){return t.$createElement(Rt,{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(ot,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])}},te={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])}};Qt.install=function(t){t.component(Qt.name,Qt),t.component(te.name,te)};var ee=Qt,ie={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)}},ne={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}},se=o("bottom-sheet-transition"),re=o("carousel-transition"),oe=o("carousel-reverse-transition"),ae=o("tab-transition"),le=o("tab-reverse-transition"),ue=o("menu-transition"),ce=o("fab-transition","center center","out-in"),he=o("dialog-transition"),de=o("dialog-bottom-transition"),pe=o("fade-transition"),fe=o("scale-transition"),me=o("slide-x-transition"),ve=o("slide-x-reverse-transition"),ge=o("slide-y-transition"),be=o("slide-y-reverse-transition"),ye=a("expand-transition",ie),we=a("row-expand-transition",ne),xe={directives:{Ripple:Vt},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}}]})}}},ke={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}})}}},$e="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},_e={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":$e(n)))throw new TypeError("Rules should return a string or boolean, received '"+(void 0===n?"undefined":$e(n))+"' instead");!0!==n&&t.errorBucket.push(n)})),this.valid=0===this.errorBucket.length,this.valid}}},Te={components:{VIcon:ot},mixins:[ke,Z,_e],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={},A(e,"input-group__"+t+"-icon",!0),A(e,"input-group__icon-cb",!!r),A(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)}}},Se={mixins:[Te,nt],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 Ce={name:"v-checkbox",components:{VFadeTransition:pe,VIcon:ot},mixins:[xe,Se],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)}};Ce.install=function(t){t.component(Ce.name,Ce)};var Ae=Ce;i(24);var Ie={name:"v-chip",components:{VIcon:ot},mixins:[Z,lt],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(ot,{props:{right:!0}},"cancel")]))}return t("span",n,i)}};Ie.install=function(t){t.component(Ie.name,Ie)};var Be=Ie;i(27);var Ee={name:"v-progress-linear",components:{VFadeTransition:pe,VSlideXTransition:me},mixins:[nt],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:I({},this.color,!0),style:{width:this.effectiveWidth+"%"}})},genBar:function(t,e){var i;return t("div",{staticClass:"progress-linear__bar__indeterminate",class:(i={},I(i,e,!0),I(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])}};Ee.install=function(t){t.component(Ee.name,Ee)};var Ve=Ee;i(29);var De={name:"v-list",provide:function(){return{listClick:this.listClick,listClose:this.listClose}},mixins:[Z],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])}},Oe={name:"v-list-group",inject:["listClick","listClose"],mixins:[yt,lt],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(ye,[e])])}},Le=Object.assign||function(t){for(var e=1;e1&&(i.staticClass+=" list__tile__action--stack"),t("div",i,n)}},je=r("list__tile__action-text","span"),He=r("list__tile__avatar","v-avatar"),Ne=r("list__tile__content","div"),Re=r("list__tile__title","div"),ze=r("list__tile__sub-title","div");De.install=function(t){t.component(De.name,De),t.component(Oe.name,Oe),t.component(Pe.name,Pe),t.component(Me.name,Me),t.component("v-list-tile-action-text",je),t.component("v-list-tile-avatar",He),t.component("v-list-tile-content",Ne),t.component("v-list-tile-sub-title",ze),t.component("v-list-tile-title",Re)};var Fe=De,We={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},Ye={mixins:[Mt],data:function(){return{absoluteX:0,absoluteY:0,dimensions:Object.assign({},We),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},activeZIndex:function(){var t=this.$refs.content;if(!this.isActive)return t?h(t):0;var e=[6,this.$el?h(this.$el):0],i=document.getElementsByClassName("menuable__content__active"),n=!0,s=!1,r=void 0;try{for(var o,a=i[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;t!==l&&e.push(h(l))}}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}return Math.max.apply(Math,e)+2}},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)}}},qe={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:function(){return t.closeOnClick},include:[this]}];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))}}},Ge={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)}))}}},Ue={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 Ke={name:"v-menu",mixins:[Xe,wt,qe,Ge,Ye,Ue,lt,$t],directives:{ClickOutside:_t,Resize:tt},data:function(){return{defaultOffset:8,maxHeightAutoDefault:"200px",startIndex:3,stopIndex:0,hasJustFocused:!1,openTimeout:null,closeTimeout:null,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()])}};Ke.install=function(t){t.component(Ke.name,Ke)};var Ze=Ke,Je={props:{noDataText:{type:String,default:"No data available"}}},Qe={"#":{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:ni}},ti=/[-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]/,ei=function(t){return Qe.hasOwnProperty(t)},ii=function(t,e){return Qe[t].convert?Qe[t].convert(e):e},ni=function(t){return t&&t.match(ti)},si=function(t,e){return!(null==e||!ei(t))&&Qe[t].test(e)},ri=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)))}}},ui=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:ui({},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=ui({},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:hi({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()}))}};di.install=function(t){t.component(di.name,di)};var pi=di,fi={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(E(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,E(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."}}},mi={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:ne},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)])}}},vi={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 xi={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()])}};wi.install=function(t){var e=r("table__overflow");t.component(wi.name,wi),t.component(xi.name,xi),t.component("v-table-overflow",e)};var ki=wi,$i={mixins:[Z],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})}}},_i={methods:{genYears:function(){return this.$createElement("ul",{staticClass:"picker--date__years",key:"year",ref:"years"},this.genYearItems())},yearClick:function(t){var e=this,i=this.tableMonth+1,n=this.day;i=i<10?"0"+i:i,n=n<10?"0"+n:n,this.inputDate=t+"-"+i+"-"+n,"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=new Date(i,t.month,t.day,12),r=t.supportsLocaleFormat?s.toLocaleDateString(t.locale,{year:"numeric"}):i;e.push(t.$createElement("li",{class:{active:t.year===i},on:{click:function(){return t.yearClick(i)}}},r))})(i);return e}}},Ti={methods:{genYearIcon:function(){return this.yearIcon?this.$createElement("v-icon",{props:{dark:!0}},this.yearIcon):null},getYearBtn:function(){var t=this,e=new Date(this.year,this.month,this.day,12);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"}):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)])}}},Si={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=new Date(i.tableYear,t):"MONTH"===i.activePicker&&(i.tableDate=new Date(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=new Date(this.tableYear,this.tableMonth,1,1),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,n)}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")])])}}},Ci={methods:{dateWheelScroll:function(t){t.preventDefault();var e=this.tableMonth;t.deltaY<0?e++:e--,this.tableDate=new Date(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;t=t<10?"0"+t:t;var i=this.tableYear,n=this.tableMonth+1;n=n<10?"0"+n:n,this.inputDate=i+"-"+n+"-"+t+"T12:00:00",this.$nextTick((function(){return e.autosave&&e.save()}))},dateGenTD:function(t){var e=this,i=new Date(this.tableYear,this.tableMonth,t,12),n=this.supportsLocaleFormat?i.toLocaleDateString(this.locale,{day:"numeric"}):t,s=this.$createElement("button",{class:{"btn btn--date-picker btn--floating btn--small btn--flat":!0,"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=new Date(this.tableYear,this.tableMonth+1,0,12).getDate(),i=[],n=(new Date(this.tableYear,this.tableMonth,1,12).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}}},Ai={methods:{monthWheelScroll:function(t){t.preventDefault();var e=this.tableYear;t.deltaY<0?e++:e--,this.tableDate=new Date(e,0)},monthClick:function(t){var e=this,i=this.tableYear,n=t<9?"0"+(t+1):t+1,s=this.day<10?"0"+this.day:this.day;this.inputDate=i+"-"+n+"-"+s+"T12:00:00","date"===this.type?this.activePicker="DATE":this.$nextTick((function(){return e.autosave&&e.save()}))},monthGenTD:function(t){var e=this,i=new Date(this.tableYear,t,1,12,0,0,0),n=void 0;return"function"==typeof this.monthFormat?n=this.monthFormat(i):this.supportsLocaleFormat?n=i.toLocaleDateString(this.locale,this.monthFormat):(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=new Date(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=new Date(e.tableYear+t,0)})))):"YEAR"===this.activePicker&&i.push(this.genYears()),i}},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:Ii({"picker--landscape":this.landscape},this.themeClasses)},e)}};Ei.install=function(t){t.component(Ei.name,Ei)};var Vi=Ei;St.install=function(t){t.component(St.name,St)};var Di=St;i(33);var Oi={name:"v-divider",functional:!0,mixins:[Z],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)}};Oi.install=function(t){t.component(Oi.name,Oi)};var Li=Oi,Pi=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 u=a.value;void 0!==u.errorBucket?t.push(u):e(u.$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(D(this.range(s,r)),["...",this.length])}return[].concat(D(this.range(1,i)),["..."],D(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(ot,[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)}};tn.install=function(t){t.component(tn.name,tn)};var en=tn,nn={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 sn={name:"v-parallax",mixins:[nn],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])}};sn.install=function(t){t.component(sn.name,sn)};var rn=sn;i(40);var on={name:"v-progress-circular",mixins:[nt],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])}};on.install=function(t){t.component(on.name,on)};var an=on;i(0),i(1),i(41);var ln={name:"v-radio-group",mixins:[Te],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)}},un={data:function(){return{tabFocused:!1}}},cn="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},hn={name:"v-radio",inheritAttrs:!1,inject:["isMandatory","name","registerChild","unregisterChild"],components:{VFadeTransition:pe,VIcon:ot},mixins:[nt,xe,un,Z],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(cn(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()])}};ln.install=function(t){t.component(ln.name,ln),t.component(hn.name,hn)};var dn=ln;i(42);var pn={name:"v-slider",mixins:[Te],directives:{ClickOutside:_t},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){t100?100:r,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=c(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"}]})}};pn.install=function(t){t.component(pn.name,pn)};var fn=pn;i(43);var mn={name:"v-snackbar",components:{VSlideYTransition:ge,VSlideYReverseTransition:be},mixins:[nt,lt],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)])}};mn.install=function(t){t.component(mn.name,mn)};var vn=mn;i(44);var gn={name:"v-speed-dial",mixins:[Mt,lt],directives:{ClickOutside:_t},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 O({"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])}};gn.install=function(t){t.component(gn.name,gn)};var bn=gn;i(45);var yn={name:"v-stepper",mixins:[Z],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(ot,{props:L({},""+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])}};In.install=function(t){var e=r("tabs__slider","li");t.component(In.name,In),t.component(Dn.name,Dn),t.component(Vn.name,Vn),t.component(Bn.name,Bn),t.component(e.name,e),t.component(En.name,En)};var On=In,Ln=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)}}},Nn=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:Nn({"picker picker--time":!0,"picker--landscape":this.landscape,"picker--time--hours":this.selectingHour},this.themeClasses)},e)}};Rn.install=function(t){t.component(Rn.name,Rn)};var zn=Rn;i(51);var Fn={name:"v-toolbar",mixins:[Ni,Z],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;tK)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>K)throw new TypeError("version is longer than "+K+" 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>Z||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Z||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Z||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 c(t,e){return u(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=D(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 V(t,e)})).join(" ")}function V(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 D(t,e){return t.trim().split(/\s+/).map((function(t){return O(t,e)})).join(" ")}function O(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),u=l||B(r),c=u;return"="===i&&c&&(i=""),a?e=">"===i||"<"===i?"<0.0.0":"*":i&&c?(l&&(s=0),u&&(r=0),">"===i?(i=">=",l?(n=+n+1,s=0,r=0):u&&(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":u&&(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,u,c,h,d){return e=B(i)?"":B(n)?">="+i+".0.0":B(s)?">="+i+"."+n+".0":">="+e,a=B(l)?"":B(u)?"<"+(+l+1)+".0.0":B(c)?"<"+l+"."+(+u+1)+".0":h?"<="+l+"."+u+"."+c+"-"+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,u;switch(i){case">":s=y,r=_,a=w,l=">",u=">=";break;case"<":s=w,r=$,a=y,l="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(N(t,e,n))return!1;for(var c=0;c=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===u)return!1;if((!p.operator||p.operator===l)&&r(t,p.semver))return!1;if(p.operator===u&&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 K=256,Z=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 ut=tt++;Q[ut]="(?:-?("+Q[at]+"(?:\\."+Q[at]+")*))";var ct=tt++;Q[ct]="[0-9A-Za-z-]+";var ht=tt++;Q[ht]="(?:\\+("+Q[ct]+"(?:\\."+Q[ct]+")*))";var dt=tt++,pt="v?"+Q[st]+Q[lt]+"?"+Q[ht]+"?";Q[dt]="^"+pt+"$";var ft="[v=\\s]*"+Q[rt]+Q[ut]+"?"+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[ut]+")?"+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 Vt=tt++;Q[Vt]="^"+Q[vt]+"\\s*("+pt+")$|^$";var Dt=tt++;Q[Dt]="(\\s*)"+Q[vt]+"\\s*("+ft+"|"+Q[yt]+")",J[Dt]=new RegExp(Q[Dt],"g");var Ot=tt++;Q[Ot]="^\\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=u;var jt=/^[0-9]+$/;e.rcompareIdentifiers=c,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[Vt],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[Ot];t=t.replace(i,j),U("hyphen replace",t),t=t.replace(J[Dt],"$1$2$3"),U("comparator trim",t,J[Dt]),t=t.replace(J[_t],"$1~"),t=t.replace(J[At],"$1^"),t=t.split(/\s+/).join(" ");var n=e?J[Et]:J[Vt],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=J({},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:J({},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 u(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(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{findDependents:!0};return{data:function(){return{dependents:[]}},props:{findDependents:{type:Boolean,default:t.findDependents},dependent:{type:Boolean,default:t.dependent}},methods:{setDependents:function(){var t=[];if(this.findDependents){!(function e(i){var n=!0,s=!1,r=void 0;try{for(var o,a=i[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;l.dependent||l.findDependents&&!1!==l.dependent?t.push(l):e(l.$children)}}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}})(this.$children)}this.dependents=t}},watch:{hasDependents:function(t){this.setDependents()},isActive:function(t){if(!t){var e=!0,i=!1,n=void 0;try{for(var s,r=this.dependents[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){var o=s.value;o.isActive&&(o.isActive=!1)}}catch(t){i=!0,n=t}finally{try{!e&&r.return&&r.return()}finally{if(i)throw n}}}}},mounted:function(){var t=this;this.$vuetify.load((function(){return t.setDependents()}))},updated:function(){this.setDependents()}}}function b(t,e,i,n){var s=function(){return!0};i.value&&(s=i.value),n.context.isActive&&!y(t,e,i.include)&&s(t)&&setTimeout((function(){return n.context.isActive=!1}),0)}function y(t,e,i){t=t||{};var n=e.getBoundingClientRect(),s=t.clientX,r=t.clientY,o=s>=n.left&&s<=n.right&&r>=n.top&&r<=n.bottom;if(!o&&i){var a=!0,l=!1,u=void 0;try{for(var c,h=i[Symbol.iterator]();!(a=(c=h.next()).done);a=!0){var d=c.value;if(d.$el&&(o=y(t,d.$el)))return o}}catch(t){l=!0,u=t}finally{try{!a&&h.return&&h.return()}finally{if(l)throw u}}}return o}function w(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function x(t,e){["transform","webkitTransform"].forEach((function(i){t.style[i]=e}))}function k(t,e,i){!1!==e.value&&("ontouchstart"in window&&(t.addEventListener("touchend",(function(){return Et.hide(t)}),!1),t.addEventListener("touchcancel",(function(){return Et.hide(t)}),!1)),t.addEventListener("mousedown",(function(i){return Et.show(i,t,e)}),!1),t.addEventListener("mouseup",(function(){return Et.hide(t)}),!1),t.addEventListener("mouseleave",(function(){return Et.hide(t)}),!1),t.addEventListener("dragstart",(function(){return Et.hide(t)}),!1))}function $(t,e){t.removeEventListener("touchstart",(function(i){return Et.show(i,t,e)}),!1),t.removeEventListener("mousedown",(function(i){return Et.show(i,t,e)}),!1),t.removeEventListener("touchend",(function(){return Et.hide(t)}),!1),t.removeEventListener("touchcancel",(function(){return Et.hide(t)}),!1),t.removeEventListener("mouseup",(function(){return Et.hide(t)}),!1),t.removeEventListener("mouseleave",(function(){return Et.hide(t)}),!1),t.removeEventListener("dragstart",(function(){return Et.hide(t)}),!1)}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){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 Gt(t,n)}),r),s.addEventListener("touchend",(function(t){return Ut(t,n)}),r),s.addEventListener("touchmove",(function(t){return Kt(t,n)}),r))}function S(t,e){var i=e.value,n=i.parent?t.parentNode:t;n&&(n.removeEventListener("touchstart",Gt),n.removeEventListener("touchend",Ut),n.removeEventListener("touchmove",Kt))}function C(t){t.component("v-bottom-sheet-transition",se),t.component("v-carousel-transition",re),t.component("v-carousel-reverse-transition",oe),t.component("v-dialog-transition",he),t.component("v-dialog-bottom-transition",de),t.component("v-fab-transition",ce),t.component("v-fade-transition",pe),t.component("v-menu-transition",ue),t.component("v-scale-transition",fe),t.component("v-slide-x-transition",me),t.component("v-slide-x-reverse-transition",ve),t.component("v-slide-y-transition",ge),t.component("v-slide-y-reverse-transition",be),t.component("v-tab-reverse-transition",le),t.component("v-tab-transition",ae),t.component("v-expand-transition",ye),t.component("v-row-expand-transition",we)}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,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function B(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function E(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e1&&void 0!==arguments[1]?arguments[1]:{},i={load:X,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)}))}},G=q,U={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),u=i,c=(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:u,mdAndDown:c,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)}}},K=U,Z={props:{dark:Boolean,light:Boolean},computed:{themeClasses:function(){return{"theme--light":this.light,"theme--dark":this.dark}}}},J=Object.assign||function(t){for(var e=1;e1&&(i+=" text--"+e[1]),t[i]=!!this.color,t}}},st={props:{primary:Boolean,secondary:Boolean,success:Boolean,info:Boolean,warning:Boolean,error:Boolean}};i(12);var rt={name:"v-icon",functional:!0,mixins:[nt,st,Z],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(st.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 u=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?nt.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}),c=Object.keys(u).filter((function(t){return u[t]})).join(" ");if(c&&(n.staticClass+=" "+c),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)}};rt.install=function(t){t.component(rt.name,rt)};var ot=rt,at=m(),lt=at,ut={props:{mode:String,origin:String,transition:String}};i(11);var ct={name:"v-alert",components:{VIcon:ot},mixins:[nt,lt,ut],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(ot,{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}};ct.install=function(t){t.component(ct.name,ct)};var ht=ct;i(13);var dt={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)}};dt.install=function(t){t.component(dt.name,dt)};var pt=dt;i(14);var ft={name:"v-badge",mixins:[nt,lt],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=t("span",{staticClass:"badge__badge",class:[this.color],attrs:this.attrs,directives:[{name:"show",value:this.isActive}]},this.$slots.badge);return t("span",{staticClass:"badge",class:this.classes},[this.$slots.default,t("transition",{props:{name:this.transition}},[e])])}};ft.install=function(t){t.component(ft.name,ft)};var mt=ft,vt={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 gt={name:"v-bottom-nav",mixins:[vt],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)}};gt.install=function(t){t.component(gt.name,gt)};var bt=gt,yt={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}}},wt={mixins:[yt],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 xt={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.overlay.onclick=function(e){t.permanent||(t.persistent?t.isMobile&&(t.isActive=!1):t.isActive=!1,void 0!==t.activeZIndex&&e.stopPropagation())},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,u=e[Symbol.iterator]();!(r=(l=u.next()).done);r=!0){var c=l.value;if([document,document.documentElement,this.$refs.content].includes(c))return!0;if(this.hasScrollbar(c))return this.shouldScroll(c,i)}}catch(t){o=!0,a=t}finally{try{!r&&u.return&&u.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)}}},kt=g(),$t=kt,_t={name:"click-outside",bind:function(t,e,i){i.context.$vuetify.load((function(){var n=function(n){return b(n,t,e,i)};document.addEventListener("click",n,!0),t._clickOutside=n}))},unbind:function(t){document.removeEventListener("click",t._clickOutside,!0)}};i(17);var Tt=g({findDependents:!0,dependent:!1}),St={name:"v-dialog",mixins:[wt,xt,lt,Tt],directives:{ClickOutside:_t},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={},w(t,("dialog "+this.contentClass).trim(),!0),w(t,"dialog--active",this.isActive),w(t,"dialog--persistent",this.persistent),w(t,"dialog--fullscreen",this.fullscreen),w(t,"dialog--stacked-actions",this.stackedActions&&!this.fullscreen),w(t,"dialog--scrollable",this.scrollable),t},contentClasses:function(){return{dialog__content:!0,dialog__content__active:this.isActive}},activeZIndex:function(){var t=this.$refs.content;if(!this.isActive)return t?h(t):0;var e=[200],i=document.getElementsByClassName("dialog__content__active"),n=!0,s=!1,r=void 0;try{for(var o,a=i[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;t!==l&&e.push(h(l))}}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}return Math.max.apply(Math,e)+2}},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){var e=!this.persistent&&this.hideOverlay;return e&&t.stopPropagation(),e}},render:function(t){var e=this,i=[],n={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:this.closeConditional},{name:"show",value:this.isActive}],on:{click:function(t){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){t.stopPropagation(),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)}},Ct=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 u=e.getBoundingClientRect(),c=s.center?"50%":t.clientX-u.left+"px",h=s.center?"50%":t.clientY-u.top+"px";o.classList.add("ripple__animation--enter"),o.classList.add("ripple__animation--visible"),x(o,"translate(-50%, -50%) translate("+c+", "+h+") scale3d(0.01,0.01,0.01)"),o.dataset.activated=Date.now(),setTimeout((function(){o.classList.remove("ripple__animation--enter"),x(o,"translate(-50%, -50%) translate("+c+", "+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)}}},Vt={name:"ripple",bind:k,unbind:$},Dt=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)}};zt.install=function(t){t.component(zt.name,zt)};var Ft=zt;i(22);var Wt={name:"v-card",mixins:[Ot,Z],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)}},Yt={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)}},Xt={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)}};Wt.install=function(t){var e=r("card__actions"),i=r("card__text");t.component(Wt.name,Wt),t.component(Yt.name,Yt),t.component(Xt.name,Xt),t.component("v-card-actions",e),t.component("v-card-text",i)};var qt=Wt,Gt=function(t,e){var i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))},Ut=function(t,e){var i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),Zt(e)},Kt=function(t,e){var i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))},Zt=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)},Jt={name:"touch",inserted:T,unbind:S};i(23);var Qt={name:"v-carousel",mixins:[yt,Z],directives:{Touch:Jt},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(Rt,{props:{icon:!0,dark:this.dark||!this.light,light:this.light},on:{click:i}},[this.$createElement(ot,e)])]):null},genItems:function(){var t=this;return this.items.map((function(e,i){return t.$createElement(Rt,{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(ot,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])}},te={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])}};Qt.install=function(t){t.component(Qt.name,Qt),t.component(te.name,te)};var ee=Qt,ie={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)}},ne={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}},se=o("bottom-sheet-transition"),re=o("carousel-transition"),oe=o("carousel-reverse-transition"),ae=o("tab-transition"),le=o("tab-reverse-transition"),ue=o("menu-transition"),ce=o("fab-transition","center center","out-in"),he=o("dialog-transition"),de=o("dialog-bottom-transition"),pe=o("fade-transition"),fe=o("scale-transition"),me=o("slide-x-transition"),ve=o("slide-x-reverse-transition"),ge=o("slide-y-transition"),be=o("slide-y-reverse-transition"),ye=a("expand-transition",ie),we=a("row-expand-transition",ne),xe={directives:{Ripple:Vt},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}}]})}}},ke={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}})}}},$e="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},_e={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":$e(n)))throw new TypeError("Rules should return a string or boolean, received '"+(void 0===n?"undefined":$e(n))+"' instead");!0!==n&&t.errorBucket.push(n)})),this.valid=0===this.errorBucket.length,this.valid}}},Te={components:{VIcon:ot},mixins:[ke,Z,_e],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={},A(e,"input-group__"+t+"-icon",!0),A(e,"input-group__icon-cb",!!r),A(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)}}},Se={mixins:[Te,nt],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 Ce={name:"v-checkbox",components:{VFadeTransition:pe,VIcon:ot},mixins:[xe,Se],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)}};Ce.install=function(t){t.component(Ce.name,Ce)};var Ae=Ce;i(24);var Ie={name:"v-chip",components:{VIcon:ot},mixins:[Z,lt],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(ot,{props:{right:!0}},"cancel")]))}return t("span",n,i)}};Ie.install=function(t){t.component(Ie.name,Ie)};var Be=Ie;i(27);var Ee={name:"v-progress-linear",components:{VFadeTransition:pe,VSlideXTransition:me},mixins:[nt],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:I({},this.color,!0),style:{width:this.effectiveWidth+"%"}})},genBar:function(t,e){var i;return t("div",{staticClass:"progress-linear__bar__indeterminate",class:(i={},I(i,e,!0),I(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])}};Ee.install=function(t){t.component(Ee.name,Ee)};var Ve=Ee;i(29);var De={name:"v-list",provide:function(){return{listClick:this.listClick,listClose:this.listClose}},mixins:[Z],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])}},Oe={name:"v-list-group",inject:["listClick","listClose"],mixins:[yt,lt],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(ye,[e])])}},Le=Object.assign||function(t){for(var e=1;e1&&(i.staticClass+=" list__tile__action--stack"),t("div",i,n)}},je=r("list__tile__action-text","span"),He=r("list__tile__avatar","v-avatar"),Ne=r("list__tile__content","div"),Re=r("list__tile__title","div"),ze=r("list__tile__sub-title","div");De.install=function(t){t.component(De.name,De),t.component(Oe.name,Oe),t.component(Pe.name,Pe),t.component(Me.name,Me),t.component("v-list-tile-action-text",je),t.component("v-list-tile-avatar",He),t.component("v-list-tile-content",Ne),t.component("v-list-tile-sub-title",ze),t.component("v-list-tile-title",Re)};var Fe=De,We={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},Ye={mixins:[Mt],data:function(){return{absoluteX:0,absoluteY:0,dimensions:Object.assign({},We),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},activeZIndex:function(){var t=this.$refs.content;if(!this.isActive)return t?h(t):0;var e=[6,this.$el?h(this.$el):0],i=document.getElementsByClassName("menuable__content__active"),n=!0,s=!1,r=void 0;try{for(var o,a=i[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;t!==l&&e.push(h(l))}}catch(t){s=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw r}}return Math.max.apply(Math,e)+2}},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)}}},qe={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:function(){return t.closeOnClick},include:[this]}];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))}}},Ge={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)}))}}},Ue={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 Ke={name:"v-menu",mixins:[Xe,wt,qe,Ge,Ye,Ue,lt,$t],directives:{ClickOutside:_t,Resize:tt},data:function(){return{defaultOffset:8,maxHeightAutoDefault:"200px",startIndex:3,stopIndex:0,hasJustFocused:!1,openTimeout:null,closeTimeout:null,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()])}};Ke.install=function(t){t.component(Ke.name,Ke)};var Ze=Ke,Je={props:{noDataText:{type:String,default:"No data available"}}},Qe={"#":{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:ni}},ti=/[-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]/,ei=function(t){return Qe.hasOwnProperty(t)},ii=function(t,e){return Qe[t].convert?Qe[t].convert(e):e},ni=function(t){return t&&t.match(ti)},si=function(t,e){return!(null==e||!ei(t))&&Qe[t].test(e)},ri=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)))}}},ui=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:ui({},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=ui({},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:hi({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()}))}};di.install=function(t){t.component(di.name,di)};var pi=di,fi={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(E(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,E(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."}}},mi={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:ne},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)])}}},vi={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 xi={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()])}};wi.install=function(t){var e=r("table__overflow");t.component(wi.name,wi),t.component(xi.name,xi),t.component("v-table-overflow",e)};var ki=wi,$i={mixins:[Z],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})}}},_i={methods:{genYears:function(){return this.$createElement("ul",{staticClass:"picker--date__years",key:"year",ref:"years"},this.genYearItems())},yearClick:function(t){var e=this,i=this.tableMonth+1,n=this.day;i=i<10?"0"+i:i,n=n<10?"0"+n:n,this.inputDate=t+"-"+i+"-"+n,"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=new Date(i,t.month,t.day,12),r=t.supportsLocaleFormat?s.toLocaleDateString(t.locale,{year:"numeric"}):i;e.push(t.$createElement("li",{class:{active:t.year===i},on:{click:function(){return t.yearClick(i)}}},r))})(i);return e}}},Ti={methods:{genYearIcon:function(){return this.yearIcon?this.$createElement("v-icon",{props:{dark:!0}},this.yearIcon):null},getYearBtn:function(){var t=this,e=new Date(this.year,this.month,this.day,12);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"}):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)])}}},Si={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=new Date(i.tableYear,t):"MONTH"===i.activePicker&&(i.tableDate=new Date(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=new Date(this.tableYear,this.tableMonth,1,1),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,n)}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")])])}}},Ci={methods:{dateWheelScroll:function(t){t.preventDefault();var e=this.tableMonth;t.deltaY<0?e++:e--,this.tableDate=new Date(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;t=t<10?"0"+t:t;var i=this.tableYear,n=this.tableMonth+1;n=n<10?"0"+n:n,this.inputDate=i+"-"+n+"-"+t+"T12:00:00",this.$nextTick((function(){return e.autosave&&e.save()}))},dateGenTD:function(t){var e=this,i=new Date(this.tableYear,this.tableMonth,t,12),n=this.supportsLocaleFormat?i.toLocaleDateString(this.locale,{day:"numeric"}):t,s=this.$createElement("button",{class:{"btn btn--date-picker btn--floating btn--small btn--flat":!0,"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=new Date(this.tableYear,this.tableMonth+1,0,12).getDate(),i=[],n=(new Date(this.tableYear,this.tableMonth,1,12).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}}},Ai={methods:{monthWheelScroll:function(t){t.preventDefault();var e=this.tableYear;t.deltaY<0?e++:e--,this.tableDate=new Date(e,0)},monthClick:function(t){var e=this,i=this.tableYear,n=t<9?"0"+(t+1):t+1,s=this.day<10?"0"+this.day:this.day;this.inputDate=i+"-"+n+"-"+s+"T12:00:00","date"===this.type?this.activePicker="DATE":this.$nextTick((function(){return e.autosave&&e.save()}))},monthGenTD:function(t){var e=this,i=new Date(this.tableYear,t,1,12,0,0,0),n=void 0;return"function"==typeof this.monthFormat?n=this.monthFormat(i):this.supportsLocaleFormat?n=i.toLocaleDateString(this.locale,this.monthFormat):(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=new Date(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=new Date(e.tableYear+t,0)})))):"YEAR"===this.activePicker&&i.push(this.genYears()),i}},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:Ii({"picker--landscape":this.landscape},this.themeClasses)},e)}};Ei.install=function(t){t.component(Ei.name,Ei)};var Vi=Ei;St.install=function(t){t.component(St.name,St)};var Di=St;i(33);var Oi={name:"v-divider",functional:!0,mixins:[Z],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)}};Oi.install=function(t){t.component(Oi.name,Oi)};var Li=Oi,Pi=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 u=a.value;void 0!==u.errorBucket?t.push(u):e(u.$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(D(this.range(s,r)),["...",this.length])}return[].concat(D(this.range(1,i)),["..."],D(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(ot,[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)}};tn.install=function(t){t.component(tn.name,tn)};var en=tn,nn={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 sn={name:"v-parallax",mixins:[nn],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])}};sn.install=function(t){t.component(sn.name,sn)};var rn=sn;i(40);var on={name:"v-progress-circular",mixins:[nt],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])}};on.install=function(t){t.component(on.name,on)};var an=on;i(0),i(1),i(41);var ln={name:"v-radio-group",mixins:[Te],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)}},un={data:function(){return{tabFocused:!1}}},cn="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},hn={name:"v-radio",inheritAttrs:!1,inject:["isMandatory","name","registerChild","unregisterChild"],components:{VFadeTransition:pe,VIcon:ot},mixins:[nt,xe,un,Z],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(cn(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()])}};ln.install=function(t){t.component(ln.name,ln),t.component(hn.name,hn)};var dn=ln;i(42);var pn={name:"v-slider",mixins:[Te],directives:{ClickOutside:_t},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){t100?100:r,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=c(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"}]})}};pn.install=function(t){t.component(pn.name,pn)};var fn=pn;i(43);var mn={name:"v-snackbar",components:{VSlideYTransition:ge,VSlideYReverseTransition:be},mixins:[nt,lt],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)])}};mn.install=function(t){t.component(mn.name,mn)};var vn=mn;i(44);var gn={name:"v-speed-dial",mixins:[Mt,lt],directives:{ClickOutside:_t},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 O({"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])}};gn.install=function(t){t.component(gn.name,gn)};var bn=gn;i(45);var yn={name:"v-stepper",mixins:[Z],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(ot,{props:L({},""+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])}};In.install=function(t){var e=r("tabs__slider","li");t.component(In.name,In),t.component(Dn.name,Dn),t.component(Vn.name,Vn),t.component(Bn.name,Bn),t.component(e.name,e),t.component(En.name,En)};var On=In,Ln=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)}}},Nn=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:Nn({"picker picker--time":!0,"picker--landscape":this.landscape,"picker--time--hours":this.selectingHour},this.themeClasses)},e)}};Rn.install=function(t){t.component(Rn.name,Rn)};var zn=Rn;i(51);var Fn={name:"v-toolbar",mixins:[Ni,Z],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;tK)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>K)throw new TypeError("version is longer than "+K+" 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>Z||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Z||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Z||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 c(t,e){return u(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=D(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 V(t,e)})).join(" ")}function V(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 D(t,e){return t.trim().split(/\s+/).map((function(t){return O(t,e)})).join(" ")}function O(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),u=l||B(r),c=u;return"="===i&&c&&(i=""),a?e=">"===i||"<"===i?"<0.0.0":"*":i&&c?(l&&(s=0),u&&(r=0),">"===i?(i=">=",l?(n=+n+1,s=0,r=0):u&&(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":u&&(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,u,c,h,d){return e=B(i)?"":B(n)?">="+i+".0.0":B(s)?">="+i+"."+n+".0":">="+e,a=B(l)?"":B(u)?"<"+(+l+1)+".0.0":B(c)?"<"+l+"."+(+u+1)+".0":h?"<="+l+"."+u+"."+c+"-"+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,u;switch(i){case">":s=y,r=_,a=w,l=">",u=">=";break;case"<":s=w,r=$,a=y,l="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(N(t,e,n))return!1;for(var c=0;c=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===u)return!1;if((!p.operator||p.operator===l)&&r(t,p.semver))return!1;if(p.operator===u&&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 K=256,Z=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 ut=tt++;Q[ut]="(?:-?("+Q[at]+"(?:\\."+Q[at]+")*))";var ct=tt++;Q[ct]="[0-9A-Za-z-]+";var ht=tt++;Q[ht]="(?:\\+("+Q[ct]+"(?:\\."+Q[ct]+")*))";var dt=tt++,pt="v?"+Q[st]+Q[lt]+"?"+Q[ht]+"?";Q[dt]="^"+pt+"$";var ft="[v=\\s]*"+Q[rt]+Q[ut]+"?"+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[ut]+")?"+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 Vt=tt++;Q[Vt]="^"+Q[vt]+"\\s*("+pt+")$|^$";var Dt=tt++;Q[Dt]="(\\s*)"+Q[vt]+"\\s*("+ft+"|"+Q[yt]+")",J[Dt]=new RegExp(Q[Dt],"g");var Ot=tt++;Q[Ot]="^\\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=u;var jt=/^[0-9]+$/;e.rcompareIdentifiers=c,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[Vt],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[Ot];t=t.replace(i,j),U("hyphen replace",t),t=t.replace(J[Dt],"$1$2$3"),U("comparator trim",t,J[Dt]),t=t.replace(J[_t],"$1~"),t=t.replace(J[At],"$1^"),t=t.split(/\s+/).join(" ");var n=e?J[Et]:J[Vt],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