{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/packs/application.js","webpack:///./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js","webpack:///./app/javascript/application/materialize.js","webpack:///(webpack)/buildin/global.js","webpack:///./app/javascript/application/clipboard.js","webpack:///./app/javascript/application/materialize-initialization.js","webpack:///./app/javascript/application/materialize-custom.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","require","start","_typeof","iterator","obj","constructor","this","Rails","linkClickSelector","buttonClickSelector","selector","exclude","inputChangeSelector","formSubmitSelector","formInputClickSelector","formDisableSelector","formEnableSelector","fileInputSelector","linkDisableSelector","buttonDisableSelector","nonce","loadCSPNonce","ref","document","querySelector","content","cspNonce","Element","matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","element","getData","setData","$","Array","slice","querySelectorAll","csrfParam","csrfToken","meta","CSRFProtection","xhr","token","setRequestHeader","refreshCSRFTokens","param","forEach","input","CustomEvent","fire","preventDefault","window","event","params","evt","createEvent","initCustomEvent","bubbles","cancelable","detail","Event","result","defaultPrevented","data","dispatchEvent","stopEverything","e","target","stopPropagation","stopImmediatePropagation","delegate","eventType","handler","addEventListener","parentNode","AcceptHeaders","createXHR","prepareOptions","processResponse","text","html","xml","json","script","ajax","options","response","responseText","getResponseHeader","Math","floor","status","success","statusText","error","complete","beforeSend","readyState","XMLHttpRequest","OPENED","send","url","location","href","type","toUpperCase","indexOf","dataType","accept","done","open","crossDomain","withCredentials","onreadystatechange","DONE","parser","match","JSON","parse","createElement","setAttribute","head","appendChild","removeChild","DOMParser","replace","parseFromString","isCrossDomain","originAnchor","urlAnchor","protocol","host","toArray","serializeElement","additionalParam","inputs","elements","disabled","option","selected","push","checked","map","encodeURIComponent","join","formElements","form","filter","el","allowAction","handleConfirm","confirm","message","answer","callback","getAttribute","disableFormElement","disableFormElements","disableLinkElement","enableFormElement","enableFormElements","enableLinkElement","isXhrRedirect","handleDisabledElement","enableElement","disableElement","replacement","innerHTML","originalText","removeEventListener","handleMethod","formContent","link","method","action","style","display","body","click","isRemote","handleRemote","button","enctype","FormData","append","args","arguments","length","formSubmitButtonClick","formNoValidate","preventInsignificantClick","insignificantMetaClick","metaKey","ctrlKey","jQuery","rails","Error","ajaxPrefilter","originalOptions","_rails_loaded","setTimeout","webpackPolyfill","deprecate","paths","children","factory","sparkMd5","fn","createCommonjsModule","undefined","hex_chr","md5cycle","x","k","a","b","md5blk","md5blks","charCodeAt","md5blk_array","md51","tail","tmp","lo","hi","state","substring","toString","parseInt","md51_array","subarray","Uint8Array","rhex","j","hex","toUtf8","str","test","unescape","utf8Str2ArrayBuffer","returnUInt8Array","buff","ArrayBuffer","arr","arrayBuffer2Utf8Str","String","fromCharCode","apply","concatenateArrayBuffers","first","second","byteLength","set","buffer","hexToBinaryString","bytes","substr","SparkMD5","reset","clamp","val","max","min","from","to","num","targetArray","sourceArray","begin","end","appendBinary","contents","_buff","_length","_hash","raw","ret","_finish","getState","hash","setState","destroy","hashBinary","classCallCheck","instance","Constructor","TypeError","createClass","defineProperties","props","descriptor","configurable","writable","protoProps","staticProps","fileSlice","File","mozSlice","webkitSlice","FileChecksum","file","chunkSize","chunkCount","ceil","size","chunkIndex","_this","md5Buffer","fileReader","FileReader","fileReaderDidLoad","fileReaderDidError","readNextChunk","binaryDigest","base64digest","btoa","readAsArrayBuffer","findElement","root","eventInit","initEvent","toArray$1","isArray","BlobRecord","checksum","attributes","filename","content_type","byte_size","responseType","getMetaValue","requestDidLoad","requestDidError","stringify","blob","direct_upload","directUploadData","toJSON","_xhr","BlobUpload","_blob$directUploadDat","headers","id","DirectUpload","notify","upload","methodName","_len","messages","_key","DirectUploadController","directUpload","dispatch","hiddenInput","insertAdjacentElement","dispatchError","signed_id","progress","loaded","total","alert","_this2","uploadRequestDidProgress","DirectUploadsController","files","controllers","createDirectUploadControllers","startNextController","controller","shift","processingAttribute","submitButtonsByForm","WeakMap","started","didClick","didSubmitForm","didSubmitRemoteElement","tagName","handleFormSubmissionEvent","hasAttribute","disable","removeAttribute","enable","focus","delete","submitForm","ActiveStorage","_get","receiver","Function","desc","getOwnPropertyDescriptor","parent","getPrototypeOf","_createClass","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","setPrototypeOf","__proto__","_classCallCheck","cash","frag","doc","win","ArrayProto","noop","isFunction","item","isString","idMatch","classMatch","htmlMatch","singlet","find","context","getElementsByClassName","getElementsByTagName","parseHTML","base","implementation","createHTMLDocument","childNodes","onReady","Init","elems","getElementById","nodeType","splice","init","each","collection","getCompareFunction","is","unique","index","extend","merge","len","isNumeric","isNaN","parseFloat","isFinite","uid","Date","now","getDataCache","node","dataset","attr","removeData","removeAttr","v","notWhiteMatch","getClasses","hasClass","classList","contains","RegExp","className","addClass","spacedName","add","removeClass","remove","classes","check","prop","removeProp","toggleClass","eq","comparator","elem","child","last","cache","camelRegex","whiteSpace","camelCase","letter","getPrefixedProp","ucProp","charAt","split","compute","getComputedStyle","registerEvent","eventName","eventCache","removeEvent","events","encode","getSelectMultiple_","values","getSelectSingle_","selectedIndex","getValue","toLowerCase","insertElement","prepend","insertBefore","insertContent","insertAdjacentHTML","cloneNode","prefixedProp","css","lower","getBoundingClientRect","margins","off","on","runOnce","originalCallback","finalCallback","one","ready","trigger","serialize","query","after","insertAfter","appendTo","before","clone","empty","source","outerHTML","sibling","nextSibling","prependTo","textContent","docEl","documentElement","position","left","offsetLeft","top","offsetTop","offset","rect","pageYOffset","clientTop","pageXOffset","clientLeft","offsetParent","closest","has","next","nextElementSibling","not","parents","prev","previousElementSibling","siblings","Component","classDef","console","ins","getInstance","$el","els","instances","jquery","NodeList","instancesArr","Package","M","jQueryLoaded","version","keys","TAB","ENTER","ESC","ARROW_UP","ARROW_DOWN","tabPressed","keyDown","which","initializeJqueryWrapper","plugin","pluginName","classRef","methodOrOptions","AutoInit","registry","Autocomplete","Carousel","Chips","Collapsible","Datepicker","Dropdown","Materialbox","Modal","Parallax","Pushpin","ScrollSpy","FormSelect","Sidenav","Tabs","TapTarget","Timepicker","Tooltip","FloatingActionButton","objectSelectorString","guid","s4","random","escapeHash","elementOrParentIsFixed","$element","$checkElements","isFixed","checkWithinContainer","container","bounding","edges","right","bottom","containerRect","containerBottom","innerHeight","scrollLeft","scrollTop","scrolledX","scrolledY","width","innerWidth","height","checkPossibleAlignments","canAlign","spaceOnTop","spaceOnRight","spaceOnBottom","spaceOnLeft","containerAllowsOverflow","overflow","containerHeight","containerWidth","elOffsetRect","scrolledYTopEdge","scrolledYBottomEdge","getOverflowParent","parentElement","getIdFromTrigger","getDocumentScrollTop","getDocumentScrollLeft","getTime","throttle","func","wait","timeout","previous","later","leading","remaining","clearTimeout","trailing","$jscomp","scope","getGlobal","global","SYMBOL_PREFIX","initSymbol","symbolCounter_","initSymbolIterator","arrayIterator","iteratorPrototype","array","iteratorFromArray","u","polyfill","$jscomp$this","anime","h","col","f","reduce","concat","HTMLCollection","some","C","D","z","und","T","exec","U","y","V","I","fnc","E","getPropertyValue","J","dom","W","svg","X","transform","K","L","F","sqrt","pow","points","numberOfItems","getItem","N","getTotalLength","PI","Y","getPointAtLength","atan2","O","pth","totalLength","rgb","hsl","original","numbers","Number","strings","P","Z","aa","duration","delay","ba","ca","A","Q","da","tweens","w","easing","elasticity","isPath","isColor","round","ea","animatable","R","fa","ga","S","targets","animatables","animations","q","Promise","g","reversed","ha","currentValue","H","currentTime","G","seek","began","direction","pause","completed","loop","paused","tick","speed","play","B","ia","reverse","restart","finished","autoplay","update","run","SVGElement","Float32Array","abs","sin","asin","In","Out","InOut","linear","attribute","requestAnimationFrame","cancelAnimationFrame","running","path","setDashoffset","bezier","easings","timeline","anim","_defaults","accordion","onOpenStart","onOpenEnd","onCloseStart","onCloseEnd","inDuration","outDuration","_Component","_this3","M_Collapsible","defaults","$headers","_setupEventHandlers","$activeBodies","_removeEventHandlers","_this4","_handleCollapsibleClickBound","_handleCollapsibleClick","_handleCollapsibleKeydownBound","_handleCollapsibleKeydown","header","_this5","$header","$collapsible","$collapsibleLi","$collapsibleLis","isActive","close","keyCode","_this6","$body","paddingTop","paddingBottom","pTop","pBottom","finalHeight","scrollHeight","_this7","padding","_this8","_animateIn","_animateOut","alignment","autoFocus","constrainWidth","coverTrigger","closeOnClick","hover","onItemClick","_Component2","_this9","M_Dropdown","_dropdowns","dropdownEl","$dropdownEl","isOpen","isScrollable","isTouchMoving","focusedIndex","filterQuery","_makeDropdownFocusable","_resetFilterQueryBound","_resetFilterQuery","_handleDocumentClickBound","_handleDocumentClick","_handleDocumentTouchmoveBound","_handleDocumentTouchmove","_handleDropdownClickBound","_handleDropdownClick","_handleDropdownKeydownBound","_handleDropdownKeydown","_handleTriggerKeydownBound","_handleTriggerKeydown","_resetDropdownStyles","_handleMouseEnterBound","_handleMouseEnter","_handleMouseLeaveBound","_handleMouseLeave","_handleClickBound","_handleClick","passive","toEl","toElement","relatedTarget","leaveToDropdownContent","leaveToActiveDropdownTrigger","$closestTrigger","_this10","$target","itemEl","focusedElement","$activatableElement","newFocusedIndex","foundNewIndex","tabIndex","_focusFocusedItem","string","newOptionEl","filterTimeout","opacity","triggerBRect","dropdownBRect","idealHeight","idealWidth","idealXPos","idealYPos","dropdownBounds","closestOverflowParent","alignments","verticalAlignment","horizontalAlignment","oppositeAlignment","_this11","scaleX","scaleY","_this12","positionInfo","_getDropdownPosition","transformOrigin","_placeDropdown","_setupTemporaryEventHandlers","_removeTemporaryEventHandlers","preventScrolling","dismissible","startingTop","endingTop","_Component3","_this13","M_Modal","_openingTrigger","$overlay","_nthModalOpened","_count","_handleOverlayClickBound","_handleOverlayClick","_handleModalCloseClickBound","_handleModalCloseClick","_handleTriggerClick","$trigger","modalId","modalInstance","_modalsOpen","_this14","enterAnimOptions","_this15","exitAnimOptions","zIndex","_handleKeydownBound","_handleKeydown","_handleFocusBound","_handleFocus","_Component4","_this16","M_Materialbox","overlayActive","doneAnimating","placeholder","originalWidth","originalHeight","originInlineStyles","caption","_handleMaterialboxClickBound","_handleMaterialboxClick","ancestorsChanged","ancestor","curr","_this17","animOptions","newHeight","newWidth","windowWidth","windowHeight","maxWidth","maxHeight","_this18","attrWidth","attrHeight","_this19","_updateVars","_makeAncestorsOverflowVisible","overlayOffset","$photocaption","$photoCaption","ratio","widthPercent","heightPercent","_animateImageIn","_handleWindowScrollBound","_handleWindowScroll","_handleWindowResizeBound","_handleWindowResize","_handleWindowEscapeBound","_handleWindowEscape","_this20","_animateImageOut","responsiveThreshold","_Component5","_this21","M_Parallax","_enabled","$img","_updateParallax","_setupStyles","_parallaxes","_handleImageLoadBound","_handleImageLoad","_handleScrollThrottled","_handleScroll","_handleWindowResizeThrottled","offsetHeight","parallaxDist","parallax","parallaxInstance","onShow","swipeable","Infinity","_Component6","_this22","M_Tabs","$tabLinks","_setupActiveTabLink","_setupSwipeableTabs","_setupNormalTabs","_setTabsAndTabWidth","_createIndicator","_indicator","_teardownSwipeableTabs","_teardownNormalTabs","_handleTabClickBound","_handleTabClick","tabWidth","tabsWidth","_calcLeftPos","$activeTabLink","_calcRightPos","_this23","tab","tabLink","$oldContent","$content","prevIndex","_tabsCarousel","_animateIndicator","_this24","indicator","_this25","$tabsContent","$currContent","$tabsWrapper","activeTabIndex","fullWidth","noWrap","onCycleTo","scrollWidth","leftDelay","rightDelay","tabId","exitDelay","enterDelay","margin","transitionMovement","_Component7","_this26","M_Tooltip","isHovered","isFocused","_appendTooltipEl","tooltipEl","tooltipContentEl","_handleBlurBound","_handleBlur","isManual","_getAttributeOptions","_updateTooltipContent","_setEnterDelayTimeout","_setExitDelayTimeout","_this27","_exitDelayTimeout","_this28","_enterDelayTimeout","newCoordinates","origin","tooltip","originHeight","originWidth","offsetWidth","tooltipHeight","tooltipWidth","targetTop","targetLeft","xMovement","yMovement","_repositionWithinScreen","newX","newY","_positionTooltip","visibility","translateX","translateY","attributeOptions","tooltipTextOption","positionOption","Waves","$$","convertStyle","Effect","show","ripple","docElem","box","pos","ownerDocument","defaultView","getWindow","relativeY","pageY","relativeX","pageX","scale","clientWidth","touches","rippleStyle","hide","TouchHandler","touchup","ripples","wrapInput","wrapper","elementStyle","replaceChild","allowEvent","allow","showEffect","srcElement","getWavesEffectElement","displayEffect","attach","displayLength","completeCallback","activationPercent","Toast","panning","timeRemaining","_toasts","_createContainer","toastElement","_createToast","M_Toast","_setTimer","toast","HTMLElement","nodeName","_container","_this29","counterInterval","setInterval","dismiss","_this30","clearInterval","activationDistance","wasSwiped","transition","marginTop","_removeContainer","_onDragStart","_onDragMove","_onDragEnd","_draggedToast","startingXPos","_xPos","time","xPos","deltaX","velocityX","totalDeltaX","targetTouches","clientX","toastIndex","edge","draggable","_Component8","_this31","M_Sidenav","isDragged","lastWindowWidth","lastWindowHeight","_createOverlay","_createDragTarget","_setupClasses","_setupFixed","_sidenavs","_enableBodyScrolling","_overlay","dragTarget","overlay","_closeBound","_handleDragTargetDragBound","_handleDragTargetDrag","_handleDragTargetReleaseBound","_handleDragTargetRelease","_handleCloseDragBound","_handleCloseDrag","_handleCloseReleaseBound","_handleCloseRelease","_handleCloseTriggerClickBound","_handleCloseTriggerClick","sidenavId","sidenavInstance","_startingXpos","_time","_width","_initialScrollTop","_verticallyScrolling","currentScrollTop","_isCurrentlyFixed","_startDrag","_dragMoveUpdate","dragDirection","transformX","transformPrefix","percentOpen","_preventBodyScrolling","_animateSidenavIn","_animateOverlayIn","_this32","slideOutPercent","_animateSidenavOut","_animateOverlayOut","_this33","endPercent","_this34","scrollOffset","activeClass","getActiveElement","_Component9","_this35","M_ScrollSpy","_elements","_increment","tickId","_elementsInView","_visibleElements","throttledResize","_handleThrottledResizeBound","scrollspy","_ticks","intersections","_findElements","_enter","_i","_scrollspy","_lastTick","_exit","unshift","_this36","hits","currTop","elTop","elLeft","elRight","elBottom","limit","onAutocomplete","minLength","sortFunction","inputString","_Component10","_this37","M_Autocomplete","count","activeIndex","oldVal","$inputField","$active","_mousedown","_setupDropdown","_removeDropdown","_handleInputBlurBound","_handleInputBlur","_handleInputKeyupAndFocusBound","_handleInputKeyupAndFocus","_handleInputKeydownBound","_handleInputKeydown","_handleInputClickBound","_handleInputClick","_handleContainerMousedownAndTouchstartBound","_handleContainerMousedownAndTouchstart","_handleContainerMouseupAndTouchendBound","_handleContainerMouseupAndTouchend","ontouchstart","_this38","dropdown","selectOption","_resetAutocomplete","_keydown","liElement","numItems","img","matchStart","matchEnd","beforeMatch","matchText","afterMatch","_resetCurrentElement","trim","_this39","matchingData","entry","sort","_entry","$autocompleteOption","_highlight","_renderDropdown","recalculateDimensions","updateTextFields","$this","autofocus","validity","badInput","validate_field","hasLength","lenAttr","textareaAutoResize","$textarea","hiddenDiv","fontFamily","fontSize","lineHeight","paddingRight","paddingLeft","input_selector","formReset","M_FormSelect","$inputElement","text_area_selector","path_input","file_names","indicators","interval","Slider","_Component11","_this40","M_Slider","$slider","$slides","_setSliderHeight","_animateCaptionIn","placeholderBase64","_setupIndicators","$indicators","_removeIndicators","_this41","_handleIntervalBound","_handleInterval","_handleIndicatorClickBound","_handleIndicatorClick","_this42","currIndex","newActiveIndex","_this43","$indicator","_this44","$caption","newIndex","$card","$cardReveal","secondaryPlaceholder","autocompleteOptions","onChipAdd","onChipSelect","onChipDelete","_Component12","_this45","M_Chips","chipsData","$chips","_setupInput","hasAutocomplete","$input","_renderChips","_setupAutocomplete","_setPlaceholder","_setupLabel","_handleChipClickBound","_handleChipClick","_handleInputFocusBound","_handleInputFocus","_handleChipsKeydown","_handleChipsKeyup","_handleChipsBlur","$chip","clickedClose","deleteChip","selectChip","autocomplete","addChip","tag","chip","renderedChip","closeIcon","image","firstChild","chipEl","_renderChip","_this46","$label","exists","_isValid","chipIndex","_selectedChip","chipsKeydown","currChips","selectIndex","_selectIndex","_selectIndex2","onPositionChange","_Component13","_this47","M_Pushpin","originalOffset","_pushpins","_updatePosition","_removePinClasses","_updateElements","scrolled","elIndex","hoverEnabled","toolbarEnabled","_Component14","_this48","M_FloatingActionButton","$anchor","$menu","$floatingBtns","$floatingBtnsReverse","offsetY","offsetX","_handleFABClickBound","_handleFABClick","_handleOpenBound","_handleCloseBound","_animateInToolbar","_animateInFAB","_animateOutToolbar","_animateOutFAB","_this49","_this50","scaleFactor","_this51","btnRect","backdrop","fabColor","btnBottom","btnLeft","btnWidth","capture","_this52","autoClose","format","defaultDate","setDefaultDate","disableWeekends","disableDayFn","firstDay","minDate","maxDate","yearRange","minYear","maxYear","minMonth","maxMonth","startRange","endRange","isRTL","showMonthAfterYear","showDaysInNextAndPreviousMonths","showClearBtn","i18n","cancel","clear","previousMonth","nextMonth","months","monthsShort","weekdays","weekdaysShort","weekdaysAbbrev","onSelect","onOpen","onClose","onDraw","_Component15","_this53","M_Datepicker","setHours","_setupVariables","_insertHTMLIntoDOM","_setupModal","defDate","_isDate","setDate","setInputValue","gotoDate","modal","modalEl","destroySelects","oldYearSelect","calendarEl","oldMonthSelect","clearBtn","doneBtn","cancelBtn","$modalEl","_this54","_this55","date","label","formats","preventOnSelect","_renderDateDisplay","draw","_setToStartOfDay","firedBy","displayDate","day","getDay","month","getMonth","getDate","yearTextEl","getFullYear","dateTextEl","newCalendar","calendars","firstVisibleDate","year","lastVisibleDate","visibleDate","setMonth","adjustCalendars","adjustCalendar","calendar","randId","opts","days","_getDaysInMonth","row","yearOfPreviousMonth","yearOfNextMonth","daysInPreviousMonth","cells","isWeekSelected","isSelected","_compareDates","isToday","hasEvent","toDateString","isEmpty","dayNumber","monthNumber","yearNumber","isStartRange","isEndRange","isInRange","dayConfig","isDisabled","_isWeekend","renderDay","renderRow","renderTable","ariaSelected","isRowSelected","renderHead","renderBody","renderDayName","rows","refYear","monthHtml","yearHtml","isMinYear","isMaxYear","force","_y","_m","renderTitle","render","yearSelect","monthSelect","dropdownOptions","_handleYearChange","_handleMonthChange","_handleInputChangeBound","_handleInputChange","_handleCalendarClickBound","_handleCalendarClick","_finishSelectionBound","_finishSelection","_handleClearClickBound","_handleClearClick","_this56","_template","dd","ddd","dddd","mm","mmm","mmmm","yy","yyyy","prevMonth","gotoMonth","gotoYear","abbr","_isLeapYear","dialRadius","outerRadius","innerRadius","tickRadius","defaultTime","fromNow","twelveHour","vibrate","_Component16","_this57","M_Timepicker","_clockSetup","_pickerSetup","_handleClockClickStartBound","_handleClockClickStart","_handleDocumentClickMoveBound","_handleDocumentClickMove","_handleDocumentClickEndBound","_handleDocumentClickEnd","plate","spanHours","showView","spanMinutes","clockPlateBR","x0","y0","moved","clickPos","_Pos","dx","dy","setHand","_this58","currentView","minutesView","hours","minutes","containerEl","_this59","navigator","webkitVibrate","_canvas","hoursView","spanAmPm","footer","amOrPm","$clearBtn","confirmationBtnsContainer","$amBtn","$pmBtn","_handleAmPmClick","_buildHoursView","_buildMinutesView","_buildSVGClock","diameter","_createSVGEl","bearing","hand","bg","$tick","radian","radius","cos","_i2","_tick","_radian","_radius","_addLeadingZero","$btnClicked","_updateAmPmView","getHours","getMinutes","view","isHours","nextView","hideView","resetClock","toggleViewTimer","canvas","roundBy5","_this60","unit","inner","vibrateTimer","cx1","cy1","cx2","cy2","_updateTimeFromInput","clearValue","createElementNS","clientY","CharacterCounter","_Component17","_this61","M_CharacterCounter","isInvalid","isValidLength","_setupCounter","_removeCounter","_handleUpdateCounterBound","updateCounter","counterEl","float","maxLength","actualLength","counterString","_validateInput","dist","numVisible","_Component18","_this62","M_Carousel","hasMultipleSlides","showIndicators","pressed","dragged","images","itemWidth","itemHeight","dim","_autoScrollBound","_autoScroll","_trackBound","_track","_setCarouselHeight","xform","every","prefix","_scroll","_this63","_handleCarouselTapBound","_handleCarouselTap","_handleCarouselDragBound","_handleCarouselDrag","_handleCarouselReleaseBound","_handleCarouselRelease","_handleCarouselClickBound","_handleCarouselClick","_handleResize","_this64","verticalDragged","reference","_xpos","referenceY","_ypos","velocity","amplitude","frame","timestamp","ticker","delta","clickedIndex","_wrap","center","_cycleTo","imageHeight","imageOnly","_this65","firstSlide","firstImage","naturalWidth","naturalHeight","adjustedHeight","slideHeight","elapsed","exp","_this66","scrollingTimeout","half","dir","tween","zTranslation","tweenedOpacity","centerTweenedOpacity","lastCenter","numVisibleOffset","clientHeight","diff","activeIndicator","transformString","_updateItemStyle","_transformString","_transformString2","_transformString3","$currItem","oneTimeCallback","_Component19","_this67","M_TapTarget","$origin","_setup","_calculatePositioning","_handleTargetClickBound","_handleTargetClick","_handleOriginClickBound","_handleOriginClick","originEl","waveEl","contentEl","outerWidth","outerHeight","originTop","originLeft","centerX","centerY","isLeft","isRight","isTop","isBottom","isCenterX","tapTargetWidth","tapTargetHeight","tapTargetTop","tapTargetLeft","tapTargetPosition","tapTargetTextWidth","tapTargetTextHeight","tapTargetTextTop","tapTargetTextLeft","tapTargetTextPadding","tapTargetTextAlign","tapTargetWaveWidth","tapTargetWaveHeight","tapTargetWaveTop","tapTargetWaveLeft","tapTargetWrapperCssObj","tapTargetTextRight","tapTargetTextBottom","verticalAlign","_Component20","_this68","isMultiple","_keysSelected","_valueDict","_this69","_handleSelectChangeBound","_handleSelectChange","_handleOptionClickBound","_handleOptionClick","_this70","_setValueToInput","placeholderOption","_toggleEntryFromArray","_setSelectedStates","_this71","$selectOptions","optionEl","_appendOptionWithIcon","_addOptionToValueDict","selectOptions","dropdownIcon","selectedOption","select","disabledClass","optgroupClass","multipleCheckbox","liEl","spanEl","iconUrl","imgEl","notAdded","$optionLi","firstDisabled","optionIsSelected","_activateOption","newOption","selectedValues","Range","_Component21","_this72","M_Range","_setupThumb","_removeThumb","_handleRangeChangeBound","_handleRangeChange","_handleRangeMousedownTouchstartBound","_handleRangeMousedownTouchstart","_handleRangeInputMousemoveTouchmoveBound","_handleRangeInputMousemoveTouchmove","_handleRangeMouseupTouchendBound","_handleRangeMouseupTouchend","_handleRangeBlurMouseoutTouchleaveBound","_handleRangeBlurMouseoutTouchleave","thumb","_showRangeBubble","_calcRangeOffset","marginLeft","kronis","copyTextToClipboard","textArea","border","outline","boxShadow","background","msg","execCommand","log","err","updateLimitedHeights","screenWidth","screen","sourceElement","targetIdProperty","limitHeightTarget","targetElement","targetElementSize","toggleAllCollapsibles","toggleIcon","toggleText","newStateIndex","states","icon","shouldExpand","collapsibleInstance","printPage","print","navigateToProject","projectId","initializeApplication","startTime","initializeMaterializeSidenav","initializeMaterializeTooltips","initializeMaterializeCollapsibles","initializeMaterializeSelect","initializeMaterializeModals","bigSource","src","smallSource","initializeMaterializeLightbox","fonts","then","stylesheet","styleSheets","insertRule","cssRules","initializeMaterializeIcons","initializeMaterializeLimitHeight","endTime"],"mappings":";aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAA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dL,CACZupB,YAAa,SAASjwB,GACpB,GAAIA,EAAQ6V,aAAa,sBAAuB,CAC9C,IAAIuhD,EAAYp3D,EAAQ6H,aAAa,sBACrC7H,EAAQq3D,IAAMD,IAGlBjnC,aAAc,SAASnwB,GACrB,GAAIA,EAAQ6V,aAAa,wBAAyB,CAChD,IAAIyhD,EAAct3D,EAAQ6H,aAAa,wBACvC7H,EAAQq3D,IAAMC,MAKpB,MAAOtzD,GACPid,QAAQjd,MAAM,qDAAsDA,IChEpEuzD,GDNG,WACL,IACE,IAAKl4D,SAASm4D,MACZ,MAAM,IAAIltD,MAAM,kFAElBjL,SAASm4D,MAAMh5C,MAAMi5C,MAAK,WAExB,IAD0Bp4D,SAASm4D,MAAMj8C,MAAM,uBAK7C,MAAM,IAAIjR,MAAM,iEAHhB,IAAIotD,EAAar2D,OAAOhC,SAASs4D,YAAY,GAC7CD,EAAWE,WAAW,wDAAyDF,EAAWG,SAAShuD,WAKvG,MAAO7F,GACPid,QAAQjd,MAAM,iIAAkIA,ICRhJ8zD,GDkHG,WACL,IACEz2D,OAAOsB,iBAAiB,UAAU,SAASrB,GACzCm0D,MACC,CACDzgC,SAAS,IAEXygC,IACA,MAAOzxD,GACPid,QAAQjd,MAAM,4DAA6DA,IC1H3E+zD,GACA,IAAIC,EAAU,IAAI/9C,KAClBgH,QAAQs0C,IAAI,0CACZ,IAAI7pC,EAAWssC,EAAUlB,EACzB71C,QAAQs0C,IAAI,4BAA6B7pC,EAAU,MACnD,MAAO1nB,GACPid,QAAQjd,MAAM,yIAA0IA","file":"js/application-9be5cbcbf24cf30a1f5e.js","sourcesContent":[" \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, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\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 = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","// This file is automatically compiled by Webpack, along with any other files\n// present in this directory. You're encouraged to place your actual application logic in\n// a relevant structure within app/javascript and only use these pack files to reference\n// that code so it'll be compiled.\n\n// Rails stuff that i probably don't need for now!\nrequire(\"@rails/ujs\").start()\nrequire(\"@rails/activestorage\").start()\n\n// My own scripts...\nrequire(\"application/materialize.js\")\nrequire(\"application/materialize-custom.js\")\nrequire(\"application/clipboard.js\")\n\n// Uncomment to copy all static images under ../images to the output folder and reference\n// them with the image_pack_tag helper in views (e.g <%= image_pack_tag 'rails.png' %>)\n// or the `imagePath` JavaScript helper below.\n//\n// const images = require.context('../images', true)\n// const imagePath = (name) => images(name, true)\n","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*\nUnobtrusive JavaScript\nhttps://github.com/rails/rails/blob/main/actionview/app/assets/javascripts\nReleased under the MIT license\n */\n;\n(function () {\n var context = this;\n (function () {\n (function () {\n this.Rails = {\n linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]',\n buttonClickSelector: {\n selector: 'button[data-remote]:not([form]), button[data-confirm]:not([form])',\n exclude: 'form button'\n },\n inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',\n formSubmitSelector: 'form:not([data-turbo=true])',\n formInputClickSelector: 'form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',\n formDisableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled',\n formEnableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled',\n fileInputSelector: 'input[name][type=file]:not([disabled])',\n linkDisableSelector: 'a[data-disable-with], a[data-disable]',\n buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]'\n };\n }).call(this);\n }).call(context);\n var Rails = context.Rails;\n (function () {\n (function () {\n var nonce;\n nonce = null;\n\n Rails.loadCSPNonce = function () {\n var ref;\n return nonce = (ref = document.querySelector(\"meta[name=csp-nonce]\")) != null ? ref.content : void 0;\n };\n\n Rails.cspNonce = function () {\n return nonce != null ? nonce : Rails.loadCSPNonce();\n };\n }).call(this);\n (function () {\n var expando, m;\n m = Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector;\n\n Rails.matches = function (element, selector) {\n if (selector.exclude != null) {\n return m.call(element, selector.selector) && !m.call(element, selector.exclude);\n } else {\n return m.call(element, selector);\n }\n };\n\n expando = '_ujsData';\n\n Rails.getData = function (element, key) {\n var ref;\n return (ref = element[expando]) != null ? ref[key] : void 0;\n };\n\n Rails.setData = function (element, key, value) {\n if (element[expando] == null) {\n element[expando] = {};\n }\n\n return element[expando][key] = value;\n };\n\n Rails.$ = function (selector) {\n return Array.prototype.slice.call(document.querySelectorAll(selector));\n };\n }).call(this);\n (function () {\n var $, csrfParam, csrfToken;\n $ = Rails.$;\n\n csrfToken = Rails.csrfToken = function () {\n var meta;\n meta = document.querySelector('meta[name=csrf-token]');\n return meta && meta.content;\n };\n\n csrfParam = Rails.csrfParam = function () {\n var meta;\n meta = document.querySelector('meta[name=csrf-param]');\n return meta && meta.content;\n };\n\n Rails.CSRFProtection = function (xhr) {\n var token;\n token = csrfToken();\n\n if (token != null) {\n return xhr.setRequestHeader('X-CSRF-Token', token);\n }\n };\n\n Rails.refreshCSRFTokens = function () {\n var param, token;\n token = csrfToken();\n param = csrfParam();\n\n if (token != null && param != null) {\n return $('form input[name=\"' + param + '\"]').forEach(function (input) {\n return input.value = token;\n });\n }\n };\n }).call(this);\n (function () {\n var CustomEvent, fire, matches, preventDefault;\n matches = Rails.matches;\n CustomEvent = window.CustomEvent;\n\n if (typeof CustomEvent !== 'function') {\n CustomEvent = function CustomEvent(event, params) {\n var evt;\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n\n CustomEvent.prototype = window.Event.prototype;\n preventDefault = CustomEvent.prototype.preventDefault;\n\n CustomEvent.prototype.preventDefault = function () {\n var result;\n result = preventDefault.call(this);\n\n if (this.cancelable && !this.defaultPrevented) {\n Object.defineProperty(this, 'defaultPrevented', {\n get: function get() {\n return true;\n }\n });\n }\n\n return result;\n };\n }\n\n fire = Rails.fire = function (obj, name, data) {\n var event;\n event = new CustomEvent(name, {\n bubbles: true,\n cancelable: true,\n detail: data\n });\n obj.dispatchEvent(event);\n return !event.defaultPrevented;\n };\n\n Rails.stopEverything = function (e) {\n fire(e.target, 'ujs:everythingStopped');\n e.preventDefault();\n e.stopPropagation();\n return e.stopImmediatePropagation();\n };\n\n Rails.delegate = function (element, selector, eventType, handler) {\n return element.addEventListener(eventType, function (e) {\n var target;\n target = e.target;\n\n while (!(!(target instanceof Element) || matches(target, selector))) {\n target = target.parentNode;\n }\n\n if (target instanceof Element && handler.call(target, e) === false) {\n e.preventDefault();\n return e.stopPropagation();\n }\n });\n };\n }).call(this);\n (function () {\n var AcceptHeaders, CSRFProtection, createXHR, cspNonce, fire, prepareOptions, processResponse;\n cspNonce = Rails.cspNonce, CSRFProtection = Rails.CSRFProtection, fire = Rails.fire;\n AcceptHeaders = {\n '*': '*/*',\n text: 'text/plain',\n html: 'text/html',\n xml: 'application/xml, text/xml',\n json: 'application/json, text/javascript',\n script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'\n };\n\n Rails.ajax = function (options) {\n var xhr;\n options = prepareOptions(options);\n xhr = createXHR(options, function () {\n var ref, response;\n response = processResponse((ref = xhr.response) != null ? ref : xhr.responseText, xhr.getResponseHeader('Content-Type'));\n\n if (Math.floor(xhr.status / 100) === 2) {\n if (typeof options.success === \"function\") {\n options.success(response, xhr.statusText, xhr);\n }\n } else {\n if (typeof options.error === \"function\") {\n options.error(response, xhr.statusText, xhr);\n }\n }\n\n return typeof options.complete === \"function\" ? options.complete(xhr, xhr.statusText) : void 0;\n });\n\n if (options.beforeSend != null && !options.beforeSend(xhr, options)) {\n return false;\n }\n\n if (xhr.readyState === XMLHttpRequest.OPENED) {\n return xhr.send(options.data);\n }\n };\n\n prepareOptions = function prepareOptions(options) {\n options.url = options.url || location.href;\n options.type = options.type.toUpperCase();\n\n if (options.type === 'GET' && options.data) {\n if (options.url.indexOf('?') < 0) {\n options.url += '?' + options.data;\n } else {\n options.url += '&' + options.data;\n }\n }\n\n if (AcceptHeaders[options.dataType] == null) {\n options.dataType = '*';\n }\n\n options.accept = AcceptHeaders[options.dataType];\n\n if (options.dataType !== '*') {\n options.accept += ', */*; q=0.01';\n }\n\n return options;\n };\n\n createXHR = function createXHR(options, done) {\n var xhr;\n xhr = new XMLHttpRequest();\n xhr.open(options.type, options.url, true);\n xhr.setRequestHeader('Accept', options.accept);\n\n if (typeof options.data === 'string') {\n xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');\n }\n\n if (!options.crossDomain) {\n xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n CSRFProtection(xhr);\n }\n\n xhr.withCredentials = !!options.withCredentials;\n\n xhr.onreadystatechange = function () {\n if (xhr.readyState === XMLHttpRequest.DONE) {\n return done(xhr);\n }\n };\n\n return xhr;\n };\n\n processResponse = function processResponse(response, type) {\n var parser, script;\n\n if (typeof response === 'string' && typeof type === 'string') {\n if (type.match(/\\bjson\\b/)) {\n try {\n response = JSON.parse(response);\n } catch (error) {}\n } else if (type.match(/\\b(?:java|ecma)script\\b/)) {\n script = document.createElement('script');\n script.setAttribute('nonce', cspNonce());\n script.text = response;\n document.head.appendChild(script).parentNode.removeChild(script);\n } else if (type.match(/\\b(xml|html|svg)\\b/)) {\n parser = new DOMParser();\n type = type.replace(/;.+/, '');\n\n try {\n response = parser.parseFromString(response, type);\n } catch (error) {}\n }\n }\n\n return response;\n };\n\n Rails.href = function (element) {\n return element.href;\n };\n\n Rails.isCrossDomain = function (url) {\n var e, originAnchor, urlAnchor;\n originAnchor = document.createElement('a');\n originAnchor.href = location.href;\n urlAnchor = document.createElement('a');\n\n try {\n urlAnchor.href = url;\n return !((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host || originAnchor.protocol + '//' + originAnchor.host === urlAnchor.protocol + '//' + urlAnchor.host);\n } catch (error) {\n e = error;\n return true;\n }\n };\n }).call(this);\n (function () {\n var matches, toArray;\n matches = Rails.matches;\n\n toArray = function toArray(e) {\n return Array.prototype.slice.call(e);\n };\n\n Rails.serializeElement = function (element, additionalParam) {\n var inputs, params;\n inputs = [element];\n\n if (matches(element, 'form')) {\n inputs = toArray(element.elements);\n }\n\n params = [];\n inputs.forEach(function (input) {\n if (!input.name || input.disabled) {\n return;\n }\n\n if (matches(input, 'fieldset[disabled] *')) {\n return;\n }\n\n if (matches(input, 'select')) {\n return toArray(input.options).forEach(function (option) {\n if (option.selected) {\n return params.push({\n name: input.name,\n value: option.value\n });\n }\n });\n } else if (input.checked || ['radio', 'checkbox', 'submit'].indexOf(input.type) === -1) {\n return params.push({\n name: input.name,\n value: input.value\n });\n }\n });\n\n if (additionalParam) {\n params.push(additionalParam);\n }\n\n return params.map(function (param) {\n if (param.name != null) {\n return encodeURIComponent(param.name) + \"=\" + encodeURIComponent(param.value);\n } else {\n return param;\n }\n }).join('&');\n };\n\n Rails.formElements = function (form, selector) {\n if (matches(form, 'form')) {\n return toArray(form.elements).filter(function (el) {\n return matches(el, selector);\n });\n } else {\n return toArray(form.querySelectorAll(selector));\n }\n };\n }).call(this);\n (function () {\n var allowAction, fire, stopEverything;\n fire = Rails.fire, stopEverything = Rails.stopEverything;\n\n Rails.handleConfirm = function (e) {\n if (!allowAction(this)) {\n return stopEverything(e);\n }\n };\n\n Rails.confirm = function (message, element) {\n return confirm(message);\n };\n\n allowAction = function allowAction(element) {\n var answer, callback, message;\n message = element.getAttribute('data-confirm');\n\n if (!message) {\n return true;\n }\n\n answer = false;\n\n if (fire(element, 'confirm')) {\n try {\n answer = Rails.confirm(message, element);\n } catch (error) {}\n\n callback = fire(element, 'confirm:complete', [answer]);\n }\n\n return answer && callback;\n };\n }).call(this);\n (function () {\n var disableFormElement, disableFormElements, disableLinkElement, enableFormElement, enableFormElements, enableLinkElement, formElements, getData, isXhrRedirect, matches, setData, stopEverything;\n matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, stopEverything = Rails.stopEverything, formElements = Rails.formElements;\n\n Rails.handleDisabledElement = function (e) {\n var element;\n element = this;\n\n if (element.disabled) {\n return stopEverything(e);\n }\n };\n\n Rails.enableElement = function (e) {\n var element;\n\n if (e instanceof Event) {\n if (isXhrRedirect(e)) {\n return;\n }\n\n element = e.target;\n } else {\n element = e;\n }\n\n if (matches(element, Rails.linkDisableSelector)) {\n return enableLinkElement(element);\n } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formEnableSelector)) {\n return enableFormElement(element);\n } else if (matches(element, Rails.formSubmitSelector)) {\n return enableFormElements(element);\n }\n };\n\n Rails.disableElement = function (e) {\n var element;\n element = e instanceof Event ? e.target : e;\n\n if (matches(element, Rails.linkDisableSelector)) {\n return disableLinkElement(element);\n } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formDisableSelector)) {\n return disableFormElement(element);\n } else if (matches(element, Rails.formSubmitSelector)) {\n return disableFormElements(element);\n }\n };\n\n disableLinkElement = function disableLinkElement(element) {\n var replacement;\n\n if (getData(element, 'ujs:disabled')) {\n return;\n }\n\n replacement = element.getAttribute('data-disable-with');\n\n if (replacement != null) {\n setData(element, 'ujs:enable-with', element.innerHTML);\n element.innerHTML = replacement;\n }\n\n element.addEventListener('click', stopEverything);\n return setData(element, 'ujs:disabled', true);\n };\n\n enableLinkElement = function enableLinkElement(element) {\n var originalText;\n originalText = getData(element, 'ujs:enable-with');\n\n if (originalText != null) {\n element.innerHTML = originalText;\n setData(element, 'ujs:enable-with', null);\n }\n\n element.removeEventListener('click', stopEverything);\n return setData(element, 'ujs:disabled', null);\n };\n\n disableFormElements = function disableFormElements(form) {\n return formElements(form, Rails.formDisableSelector).forEach(disableFormElement);\n };\n\n disableFormElement = function disableFormElement(element) {\n var replacement;\n\n if (getData(element, 'ujs:disabled')) {\n return;\n }\n\n replacement = element.getAttribute('data-disable-with');\n\n if (replacement != null) {\n if (matches(element, 'button')) {\n setData(element, 'ujs:enable-with', element.innerHTML);\n element.innerHTML = replacement;\n } else {\n setData(element, 'ujs:enable-with', element.value);\n element.value = replacement;\n }\n }\n\n element.disabled = true;\n return setData(element, 'ujs:disabled', true);\n };\n\n enableFormElements = function enableFormElements(form) {\n return formElements(form, Rails.formEnableSelector).forEach(enableFormElement);\n };\n\n enableFormElement = function enableFormElement(element) {\n var originalText;\n originalText = getData(element, 'ujs:enable-with');\n\n if (originalText != null) {\n if (matches(element, 'button')) {\n element.innerHTML = originalText;\n } else {\n element.value = originalText;\n }\n\n setData(element, 'ujs:enable-with', null);\n }\n\n element.disabled = false;\n return setData(element, 'ujs:disabled', null);\n };\n\n isXhrRedirect = function isXhrRedirect(event) {\n var ref, xhr;\n xhr = (ref = event.detail) != null ? ref[0] : void 0;\n return (xhr != null ? xhr.getResponseHeader(\"X-Xhr-Redirect\") : void 0) != null;\n };\n }).call(this);\n (function () {\n var stopEverything;\n stopEverything = Rails.stopEverything;\n\n Rails.handleMethod = function (e) {\n var csrfParam, csrfToken, form, formContent, href, link, method;\n link = this;\n method = link.getAttribute('data-method');\n\n if (!method) {\n return;\n }\n\n href = Rails.href(link);\n csrfToken = Rails.csrfToken();\n csrfParam = Rails.csrfParam();\n form = document.createElement('form');\n formContent = \"\";\n\n if (csrfParam != null && csrfToken != null && !Rails.isCrossDomain(href)) {\n formContent += \"\";\n }\n\n formContent += '';\n form.method = 'post';\n form.action = href;\n form.target = link.target;\n form.innerHTML = formContent;\n form.style.display = 'none';\n document.body.appendChild(form);\n form.querySelector('[type=\"submit\"]').click();\n return stopEverything(e);\n };\n }).call(this);\n (function () {\n var ajax,\n fire,\n getData,\n isCrossDomain,\n isRemote,\n matches,\n serializeElement,\n setData,\n stopEverything,\n slice = [].slice;\n matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, fire = Rails.fire, stopEverything = Rails.stopEverything, ajax = Rails.ajax, isCrossDomain = Rails.isCrossDomain, serializeElement = Rails.serializeElement;\n\n isRemote = function isRemote(element) {\n var value;\n value = element.getAttribute('data-remote');\n return value != null && value !== 'false';\n };\n\n Rails.handleRemote = function (e) {\n var button, data, dataType, element, method, url, withCredentials;\n element = this;\n\n if (!isRemote(element)) {\n return true;\n }\n\n if (!fire(element, 'ajax:before')) {\n fire(element, 'ajax:stopped');\n return false;\n }\n\n withCredentials = element.getAttribute('data-with-credentials');\n dataType = element.getAttribute('data-type') || 'script';\n\n if (matches(element, Rails.formSubmitSelector)) {\n button = getData(element, 'ujs:submit-button');\n method = getData(element, 'ujs:submit-button-formmethod') || element.method;\n url = getData(element, 'ujs:submit-button-formaction') || element.getAttribute('action') || location.href;\n\n if (method.toUpperCase() === 'GET') {\n url = url.replace(/\\?.*$/, '');\n }\n\n if (element.enctype === 'multipart/form-data') {\n data = new FormData(element);\n\n if (button != null) {\n data.append(button.name, button.value);\n }\n } else {\n data = serializeElement(element, button);\n }\n\n setData(element, 'ujs:submit-button', null);\n setData(element, 'ujs:submit-button-formmethod', null);\n setData(element, 'ujs:submit-button-formaction', null);\n } else if (matches(element, Rails.buttonClickSelector) || matches(element, Rails.inputChangeSelector)) {\n method = element.getAttribute('data-method');\n url = element.getAttribute('data-url');\n data = serializeElement(element, element.getAttribute('data-params'));\n } else {\n method = element.getAttribute('data-method');\n url = Rails.href(element);\n data = element.getAttribute('data-params');\n }\n\n ajax({\n type: method || 'GET',\n url: url,\n data: data,\n dataType: dataType,\n beforeSend: function beforeSend(xhr, options) {\n if (fire(element, 'ajax:beforeSend', [xhr, options])) {\n return fire(element, 'ajax:send', [xhr]);\n } else {\n fire(element, 'ajax:stopped');\n return false;\n }\n },\n success: function success() {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:success', args);\n },\n error: function error() {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:error', args);\n },\n complete: function complete() {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:complete', args);\n },\n crossDomain: isCrossDomain(url),\n withCredentials: withCredentials != null && withCredentials !== 'false'\n });\n return stopEverything(e);\n };\n\n Rails.formSubmitButtonClick = function (e) {\n var button, form;\n button = this;\n form = button.form;\n\n if (!form) {\n return;\n }\n\n if (button.name) {\n setData(form, 'ujs:submit-button', {\n name: button.name,\n value: button.value\n });\n }\n\n setData(form, 'ujs:formnovalidate-button', button.formNoValidate);\n setData(form, 'ujs:submit-button-formaction', button.getAttribute('formaction'));\n return setData(form, 'ujs:submit-button-formmethod', button.getAttribute('formmethod'));\n };\n\n Rails.preventInsignificantClick = function (e) {\n var data, insignificantMetaClick, link, metaClick, method, nonPrimaryMouseClick;\n link = this;\n method = (link.getAttribute('data-method') || 'GET').toUpperCase();\n data = link.getAttribute('data-params');\n metaClick = e.metaKey || e.ctrlKey;\n insignificantMetaClick = metaClick && method === 'GET' && !data;\n nonPrimaryMouseClick = e.button != null && e.button !== 0;\n\n if (nonPrimaryMouseClick || insignificantMetaClick) {\n return e.stopImmediatePropagation();\n }\n };\n }).call(this);\n (function () {\n var $, CSRFProtection, delegate, disableElement, enableElement, fire, formSubmitButtonClick, getData, handleConfirm, handleDisabledElement, handleMethod, handleRemote, loadCSPNonce, preventInsignificantClick, refreshCSRFTokens;\n fire = Rails.fire, delegate = Rails.delegate, getData = Rails.getData, $ = Rails.$, refreshCSRFTokens = Rails.refreshCSRFTokens, CSRFProtection = Rails.CSRFProtection, loadCSPNonce = Rails.loadCSPNonce, enableElement = Rails.enableElement, disableElement = Rails.disableElement, handleDisabledElement = Rails.handleDisabledElement, handleConfirm = Rails.handleConfirm, preventInsignificantClick = Rails.preventInsignificantClick, handleRemote = Rails.handleRemote, formSubmitButtonClick = Rails.formSubmitButtonClick, handleMethod = Rails.handleMethod;\n\n if (typeof jQuery !== \"undefined\" && jQuery !== null && jQuery.ajax != null) {\n if (jQuery.rails) {\n throw new Error('If you load both jquery_ujs and rails-ujs, use rails-ujs only.');\n }\n\n jQuery.rails = Rails;\n jQuery.ajaxPrefilter(function (options, originalOptions, xhr) {\n if (!options.crossDomain) {\n return CSRFProtection(xhr);\n }\n });\n }\n\n Rails.start = function () {\n if (window._rails_loaded) {\n throw new Error('rails-ujs has already been loaded!');\n }\n\n window.addEventListener('pageshow', function () {\n $(Rails.formEnableSelector).forEach(function (el) {\n if (getData(el, 'ujs:disabled')) {\n return enableElement(el);\n }\n });\n return $(Rails.linkDisableSelector).forEach(function (el) {\n if (getData(el, 'ujs:disabled')) {\n return enableElement(el);\n }\n });\n });\n delegate(document, Rails.linkDisableSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.linkDisableSelector, 'ajax:stopped', enableElement);\n delegate(document, Rails.buttonDisableSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.buttonDisableSelector, 'ajax:stopped', enableElement);\n delegate(document, Rails.linkClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.linkClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.linkClickSelector, 'click', handleConfirm);\n delegate(document, Rails.linkClickSelector, 'click', disableElement);\n delegate(document, Rails.linkClickSelector, 'click', handleRemote);\n delegate(document, Rails.linkClickSelector, 'click', handleMethod);\n delegate(document, Rails.buttonClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.buttonClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.buttonClickSelector, 'click', handleConfirm);\n delegate(document, Rails.buttonClickSelector, 'click', disableElement);\n delegate(document, Rails.buttonClickSelector, 'click', handleRemote);\n delegate(document, Rails.inputChangeSelector, 'change', handleDisabledElement);\n delegate(document, Rails.inputChangeSelector, 'change', handleConfirm);\n delegate(document, Rails.inputChangeSelector, 'change', handleRemote);\n delegate(document, Rails.formSubmitSelector, 'submit', handleDisabledElement);\n delegate(document, Rails.formSubmitSelector, 'submit', handleConfirm);\n delegate(document, Rails.formSubmitSelector, 'submit', handleRemote);\n delegate(document, Rails.formSubmitSelector, 'submit', function (e) {\n return setTimeout(function () {\n return disableElement(e);\n }, 13);\n });\n delegate(document, Rails.formSubmitSelector, 'ajax:send', disableElement);\n delegate(document, Rails.formSubmitSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.formInputClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.formInputClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.formInputClickSelector, 'click', handleConfirm);\n delegate(document, Rails.formInputClickSelector, 'click', formSubmitButtonClick);\n document.addEventListener('DOMContentLoaded', refreshCSRFTokens);\n document.addEventListener('DOMContentLoaded', loadCSPNonce);\n return window._rails_loaded = true;\n };\n\n if (window.Rails === Rails && fire(document, 'rails:attachBindings')) {\n Rails.start();\n }\n }).call(this);\n }).call(this);\n\n if ((typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === \"object\" && module.exports) {\n module.exports = Rails;\n } else if (typeof define === \"function\" && define.amd) {\n define(Rails);\n }\n}).call(this);","module.exports = function (module) {\n if (!module.webpackPolyfill) {\n module.deprecate = function () {};\n\n module.paths = []; // module.parent = undefined by default\n\n if (!module.children) module.children = [];\n Object.defineProperty(module, \"loaded\", {\n enumerable: true,\n get: function get() {\n return module.l;\n }\n });\n Object.defineProperty(module, \"id\", {\n enumerable: true,\n get: function get() {\n return module.i;\n }\n });\n module.webpackPolyfill = 1;\n }\n\n return module;\n};","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === \"object\" && typeof module !== \"undefined\" ? factory(exports) : typeof define === \"function\" && define.amd ? define([\"exports\"], factory) : factory(global.ActiveStorage = {});\n})(this, function (exports) {\n \"use strict\";\n\n function createCommonjsModule(fn, module) {\n return module = {\n exports: {}\n }, fn(module, module.exports), module.exports;\n }\n\n var sparkMd5 = createCommonjsModule(function (module, exports) {\n (function (factory) {\n {\n module.exports = factory();\n }\n })(function (undefined) {\n var hex_chr = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"a\", \"b\", \"c\", \"d\", \"e\", \"f\"];\n\n function md5cycle(x, k) {\n var a = x[0],\n b = x[1],\n c = x[2],\n d = x[3];\n a += (b & c | ~b & d) + k[0] - 680876936 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[1] - 389564586 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[2] + 606105819 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[3] - 1044525330 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[4] - 176418897 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[5] + 1200080426 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[6] - 1473231341 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[7] - 45705983 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[8] + 1770035416 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[9] - 1958414417 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[10] - 42063 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[11] - 1990404162 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & c | ~b & d) + k[12] + 1804603682 | 0;\n a = (a << 7 | a >>> 25) + b | 0;\n d += (a & b | ~a & c) + k[13] - 40341101 | 0;\n d = (d << 12 | d >>> 20) + a | 0;\n c += (d & a | ~d & b) + k[14] - 1502002290 | 0;\n c = (c << 17 | c >>> 15) + d | 0;\n b += (c & d | ~c & a) + k[15] + 1236535329 | 0;\n b = (b << 22 | b >>> 10) + c | 0;\n a += (b & d | c & ~d) + k[1] - 165796510 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[6] - 1069501632 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[11] + 643717713 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[0] - 373897302 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[5] - 701558691 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[10] + 38016083 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[15] - 660478335 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[4] - 405537848 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[9] + 568446438 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[14] - 1019803690 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[3] - 187363961 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[8] + 1163531501 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b & d | c & ~d) + k[13] - 1444681467 | 0;\n a = (a << 5 | a >>> 27) + b | 0;\n d += (a & c | b & ~c) + k[2] - 51403784 | 0;\n d = (d << 9 | d >>> 23) + a | 0;\n c += (d & b | a & ~b) + k[7] + 1735328473 | 0;\n c = (c << 14 | c >>> 18) + d | 0;\n b += (c & a | d & ~a) + k[12] - 1926607734 | 0;\n b = (b << 20 | b >>> 12) + c | 0;\n a += (b ^ c ^ d) + k[5] - 378558 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[8] - 2022574463 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[11] + 1839030562 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[14] - 35309556 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[1] - 1530992060 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[4] + 1272893353 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[7] - 155497632 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[10] - 1094730640 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[13] + 681279174 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[0] - 358537222 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[3] - 722521979 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[6] + 76029189 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (b ^ c ^ d) + k[9] - 640364487 | 0;\n a = (a << 4 | a >>> 28) + b | 0;\n d += (a ^ b ^ c) + k[12] - 421815835 | 0;\n d = (d << 11 | d >>> 21) + a | 0;\n c += (d ^ a ^ b) + k[15] + 530742520 | 0;\n c = (c << 16 | c >>> 16) + d | 0;\n b += (c ^ d ^ a) + k[2] - 995338651 | 0;\n b = (b << 23 | b >>> 9) + c | 0;\n a += (c ^ (b | ~d)) + k[0] - 198630844 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[7] + 1126891415 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[14] - 1416354905 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[5] - 57434055 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[12] + 1700485571 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[3] - 1894986606 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[10] - 1051523 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[1] - 2054922799 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[8] + 1873313359 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[15] - 30611744 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[6] - 1560198380 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[13] + 1309151649 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n a += (c ^ (b | ~d)) + k[4] - 145523070 | 0;\n a = (a << 6 | a >>> 26) + b | 0;\n d += (b ^ (a | ~c)) + k[11] - 1120210379 | 0;\n d = (d << 10 | d >>> 22) + a | 0;\n c += (a ^ (d | ~b)) + k[2] + 718787259 | 0;\n c = (c << 15 | c >>> 17) + d | 0;\n b += (d ^ (c | ~a)) + k[9] - 343485551 | 0;\n b = (b << 21 | b >>> 11) + c | 0;\n x[0] = a + x[0] | 0;\n x[1] = b + x[1] | 0;\n x[2] = c + x[2] | 0;\n x[3] = d + x[3] | 0;\n }\n\n function md5blk(s) {\n var md5blks = [],\n i;\n\n for (i = 0; i < 64; i += 4) {\n md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);\n }\n\n return md5blks;\n }\n\n function md5blk_array(a) {\n var md5blks = [],\n i;\n\n for (i = 0; i < 64; i += 4) {\n md5blks[i >> 2] = a[i] + (a[i + 1] << 8) + (a[i + 2] << 16) + (a[i + 3] << 24);\n }\n\n return md5blks;\n }\n\n function md51(s) {\n var n = s.length,\n state = [1732584193, -271733879, -1732584194, 271733878],\n i,\n length,\n tail,\n tmp,\n lo,\n hi;\n\n for (i = 64; i <= n; i += 64) {\n md5cycle(state, md5blk(s.substring(i - 64, i)));\n }\n\n s = s.substring(i - 64);\n length = s.length;\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= s.charCodeAt(i) << (i % 4 << 3);\n }\n\n tail[i >> 2] |= 128 << (i % 4 << 3);\n\n if (i > 55) {\n md5cycle(state, tail);\n\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n\n tmp = n * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(state, tail);\n return state;\n }\n\n function md51_array(a) {\n var n = a.length,\n state = [1732584193, -271733879, -1732584194, 271733878],\n i,\n length,\n tail,\n tmp,\n lo,\n hi;\n\n for (i = 64; i <= n; i += 64) {\n md5cycle(state, md5blk_array(a.subarray(i - 64, i)));\n }\n\n a = i - 64 < n ? a.subarray(i - 64) : new Uint8Array(0);\n length = a.length;\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= a[i] << (i % 4 << 3);\n }\n\n tail[i >> 2] |= 128 << (i % 4 << 3);\n\n if (i > 55) {\n md5cycle(state, tail);\n\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n\n tmp = n * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(state, tail);\n return state;\n }\n\n function rhex(n) {\n var s = \"\",\n j;\n\n for (j = 0; j < 4; j += 1) {\n s += hex_chr[n >> j * 8 + 4 & 15] + hex_chr[n >> j * 8 & 15];\n }\n\n return s;\n }\n\n function hex(x) {\n var i;\n\n for (i = 0; i < x.length; i += 1) {\n x[i] = rhex(x[i]);\n }\n\n return x.join(\"\");\n }\n\n if (hex(md51(\"hello\")) !== \"5d41402abc4b2a76b9719d911017c592\") ;\n\n if (typeof ArrayBuffer !== \"undefined\" && !ArrayBuffer.prototype.slice) {\n (function () {\n function clamp(val, length) {\n val = val | 0 || 0;\n\n if (val < 0) {\n return Math.max(val + length, 0);\n }\n\n return Math.min(val, length);\n }\n\n ArrayBuffer.prototype.slice = function (from, to) {\n var length = this.byteLength,\n begin = clamp(from, length),\n end = length,\n num,\n target,\n targetArray,\n sourceArray;\n\n if (to !== undefined) {\n end = clamp(to, length);\n }\n\n if (begin > end) {\n return new ArrayBuffer(0);\n }\n\n num = end - begin;\n target = new ArrayBuffer(num);\n targetArray = new Uint8Array(target);\n sourceArray = new Uint8Array(this, begin, num);\n targetArray.set(sourceArray);\n return target;\n };\n })();\n }\n\n function toUtf8(str) {\n if (/[\\u0080-\\uFFFF]/.test(str)) {\n str = unescape(encodeURIComponent(str));\n }\n\n return str;\n }\n\n function utf8Str2ArrayBuffer(str, returnUInt8Array) {\n var length = str.length,\n buff = new ArrayBuffer(length),\n arr = new Uint8Array(buff),\n i;\n\n for (i = 0; i < length; i += 1) {\n arr[i] = str.charCodeAt(i);\n }\n\n return returnUInt8Array ? arr : buff;\n }\n\n function arrayBuffer2Utf8Str(buff) {\n return String.fromCharCode.apply(null, new Uint8Array(buff));\n }\n\n function concatenateArrayBuffers(first, second, returnUInt8Array) {\n var result = new Uint8Array(first.byteLength + second.byteLength);\n result.set(new Uint8Array(first));\n result.set(new Uint8Array(second), first.byteLength);\n return returnUInt8Array ? result : result.buffer;\n }\n\n function hexToBinaryString(hex) {\n var bytes = [],\n length = hex.length,\n x;\n\n for (x = 0; x < length - 1; x += 2) {\n bytes.push(parseInt(hex.substr(x, 2), 16));\n }\n\n return String.fromCharCode.apply(String, bytes);\n }\n\n function SparkMD5() {\n this.reset();\n }\n\n SparkMD5.prototype.append = function (str) {\n this.appendBinary(toUtf8(str));\n return this;\n };\n\n SparkMD5.prototype.appendBinary = function (contents) {\n this._buff += contents;\n this._length += contents.length;\n var length = this._buff.length,\n i;\n\n for (i = 64; i <= length; i += 64) {\n md5cycle(this._hash, md5blk(this._buff.substring(i - 64, i)));\n }\n\n this._buff = this._buff.substring(i - 64);\n return this;\n };\n\n SparkMD5.prototype.end = function (raw) {\n var buff = this._buff,\n length = buff.length,\n i,\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n ret;\n\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= buff.charCodeAt(i) << (i % 4 << 3);\n }\n\n this._finish(tail, length);\n\n ret = hex(this._hash);\n\n if (raw) {\n ret = hexToBinaryString(ret);\n }\n\n this.reset();\n return ret;\n };\n\n SparkMD5.prototype.reset = function () {\n this._buff = \"\";\n this._length = 0;\n this._hash = [1732584193, -271733879, -1732584194, 271733878];\n return this;\n };\n\n SparkMD5.prototype.getState = function () {\n return {\n buff: this._buff,\n length: this._length,\n hash: this._hash\n };\n };\n\n SparkMD5.prototype.setState = function (state) {\n this._buff = state.buff;\n this._length = state.length;\n this._hash = state.hash;\n return this;\n };\n\n SparkMD5.prototype.destroy = function () {\n delete this._hash;\n delete this._buff;\n delete this._length;\n };\n\n SparkMD5.prototype._finish = function (tail, length) {\n var i = length,\n tmp,\n lo,\n hi;\n tail[i >> 2] |= 128 << (i % 4 << 3);\n\n if (i > 55) {\n md5cycle(this._hash, tail);\n\n for (i = 0; i < 16; i += 1) {\n tail[i] = 0;\n }\n }\n\n tmp = this._length * 8;\n tmp = tmp.toString(16).match(/(.*?)(.{0,8})$/);\n lo = parseInt(tmp[2], 16);\n hi = parseInt(tmp[1], 16) || 0;\n tail[14] = lo;\n tail[15] = hi;\n md5cycle(this._hash, tail);\n };\n\n SparkMD5.hash = function (str, raw) {\n return SparkMD5.hashBinary(toUtf8(str), raw);\n };\n\n SparkMD5.hashBinary = function (content, raw) {\n var hash = md51(content),\n ret = hex(hash);\n return raw ? hexToBinaryString(ret) : ret;\n };\n\n SparkMD5.ArrayBuffer = function () {\n this.reset();\n };\n\n SparkMD5.ArrayBuffer.prototype.append = function (arr) {\n var buff = concatenateArrayBuffers(this._buff.buffer, arr, true),\n length = buff.length,\n i;\n this._length += arr.byteLength;\n\n for (i = 64; i <= length; i += 64) {\n md5cycle(this._hash, md5blk_array(buff.subarray(i - 64, i)));\n }\n\n this._buff = i - 64 < length ? new Uint8Array(buff.buffer.slice(i - 64)) : new Uint8Array(0);\n return this;\n };\n\n SparkMD5.ArrayBuffer.prototype.end = function (raw) {\n var buff = this._buff,\n length = buff.length,\n tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],\n i,\n ret;\n\n for (i = 0; i < length; i += 1) {\n tail[i >> 2] |= buff[i] << (i % 4 << 3);\n }\n\n this._finish(tail, length);\n\n ret = hex(this._hash);\n\n if (raw) {\n ret = hexToBinaryString(ret);\n }\n\n this.reset();\n return ret;\n };\n\n SparkMD5.ArrayBuffer.prototype.reset = function () {\n this._buff = new Uint8Array(0);\n this._length = 0;\n this._hash = [1732584193, -271733879, -1732584194, 271733878];\n return this;\n };\n\n SparkMD5.ArrayBuffer.prototype.getState = function () {\n var state = SparkMD5.prototype.getState.call(this);\n state.buff = arrayBuffer2Utf8Str(state.buff);\n return state;\n };\n\n SparkMD5.ArrayBuffer.prototype.setState = function (state) {\n state.buff = utf8Str2ArrayBuffer(state.buff, true);\n return SparkMD5.prototype.setState.call(this, state);\n };\n\n SparkMD5.ArrayBuffer.prototype.destroy = SparkMD5.prototype.destroy;\n SparkMD5.ArrayBuffer.prototype._finish = SparkMD5.prototype._finish;\n\n SparkMD5.ArrayBuffer.hash = function (arr, raw) {\n var hash = md51_array(new Uint8Array(arr)),\n ret = hex(hash);\n return raw ? hexToBinaryString(ret) : ret;\n };\n\n return SparkMD5;\n });\n });\n\n var classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n };\n\n var createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n var fileSlice = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice;\n\n var FileChecksum = function () {\n createClass(FileChecksum, null, [{\n key: \"create\",\n value: function create(file, callback) {\n var instance = new FileChecksum(file);\n instance.create(callback);\n }\n }]);\n\n function FileChecksum(file) {\n classCallCheck(this, FileChecksum);\n this.file = file;\n this.chunkSize = 2097152;\n this.chunkCount = Math.ceil(this.file.size / this.chunkSize);\n this.chunkIndex = 0;\n }\n\n createClass(FileChecksum, [{\n key: \"create\",\n value: function create(callback) {\n var _this = this;\n\n this.callback = callback;\n this.md5Buffer = new sparkMd5.ArrayBuffer();\n this.fileReader = new FileReader();\n this.fileReader.addEventListener(\"load\", function (event) {\n return _this.fileReaderDidLoad(event);\n });\n this.fileReader.addEventListener(\"error\", function (event) {\n return _this.fileReaderDidError(event);\n });\n this.readNextChunk();\n }\n }, {\n key: \"fileReaderDidLoad\",\n value: function fileReaderDidLoad(event) {\n this.md5Buffer.append(event.target.result);\n\n if (!this.readNextChunk()) {\n var binaryDigest = this.md5Buffer.end(true);\n var base64digest = btoa(binaryDigest);\n this.callback(null, base64digest);\n }\n }\n }, {\n key: \"fileReaderDidError\",\n value: function fileReaderDidError(event) {\n this.callback(\"Error reading \" + this.file.name);\n }\n }, {\n key: \"readNextChunk\",\n value: function readNextChunk() {\n if (this.chunkIndex < this.chunkCount || this.chunkIndex == 0 && this.chunkCount == 0) {\n var start = this.chunkIndex * this.chunkSize;\n var end = Math.min(start + this.chunkSize, this.file.size);\n var bytes = fileSlice.call(this.file, start, end);\n this.fileReader.readAsArrayBuffer(bytes);\n this.chunkIndex++;\n return true;\n } else {\n return false;\n }\n }\n }]);\n return FileChecksum;\n }();\n\n function getMetaValue(name) {\n var element = findElement(document.head, 'meta[name=\"' + name + '\"]');\n\n if (element) {\n return element.getAttribute(\"content\");\n }\n }\n\n function findElements(root, selector) {\n if (typeof root == \"string\") {\n selector = root;\n root = document;\n }\n\n var elements = root.querySelectorAll(selector);\n return toArray$1(elements);\n }\n\n function findElement(root, selector) {\n if (typeof root == \"string\") {\n selector = root;\n root = document;\n }\n\n return root.querySelector(selector);\n }\n\n function dispatchEvent(element, type) {\n var eventInit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var disabled = element.disabled;\n var bubbles = eventInit.bubbles,\n cancelable = eventInit.cancelable,\n detail = eventInit.detail;\n var event = document.createEvent(\"Event\");\n event.initEvent(type, bubbles || true, cancelable || true);\n event.detail = detail || {};\n\n try {\n element.disabled = false;\n element.dispatchEvent(event);\n } finally {\n element.disabled = disabled;\n }\n\n return event;\n }\n\n function toArray$1(value) {\n if (Array.isArray(value)) {\n return value;\n } else if (Array.from) {\n return Array.from(value);\n } else {\n return [].slice.call(value);\n }\n }\n\n var BlobRecord = function () {\n function BlobRecord(file, checksum, url) {\n var _this = this;\n\n classCallCheck(this, BlobRecord);\n this.file = file;\n this.attributes = {\n filename: file.name,\n content_type: file.type || \"application/octet-stream\",\n byte_size: file.size,\n checksum: checksum\n };\n this.xhr = new XMLHttpRequest();\n this.xhr.open(\"POST\", url, true);\n this.xhr.responseType = \"json\";\n this.xhr.setRequestHeader(\"Content-Type\", \"application/json\");\n this.xhr.setRequestHeader(\"Accept\", \"application/json\");\n this.xhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\n var csrfToken = getMetaValue(\"csrf-token\");\n\n if (csrfToken != undefined) {\n this.xhr.setRequestHeader(\"X-CSRF-Token\", csrfToken);\n }\n\n this.xhr.addEventListener(\"load\", function (event) {\n return _this.requestDidLoad(event);\n });\n this.xhr.addEventListener(\"error\", function (event) {\n return _this.requestDidError(event);\n });\n }\n\n createClass(BlobRecord, [{\n key: \"create\",\n value: function create(callback) {\n this.callback = callback;\n this.xhr.send(JSON.stringify({\n blob: this.attributes\n }));\n }\n }, {\n key: \"requestDidLoad\",\n value: function requestDidLoad(event) {\n if (this.status >= 200 && this.status < 300) {\n var response = this.response;\n var direct_upload = response.direct_upload;\n delete response.direct_upload;\n this.attributes = response;\n this.directUploadData = direct_upload;\n this.callback(null, this.toJSON());\n } else {\n this.requestDidError(event);\n }\n }\n }, {\n key: \"requestDidError\",\n value: function requestDidError(event) {\n this.callback('Error creating Blob for \"' + this.file.name + '\". Status: ' + this.status);\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n var result = {};\n\n for (var key in this.attributes) {\n result[key] = this.attributes[key];\n }\n\n return result;\n }\n }, {\n key: \"status\",\n get: function get$$1() {\n return this.xhr.status;\n }\n }, {\n key: \"response\",\n get: function get$$1() {\n var _xhr = this.xhr,\n responseType = _xhr.responseType,\n response = _xhr.response;\n\n if (responseType == \"json\") {\n return response;\n } else {\n return JSON.parse(response);\n }\n }\n }]);\n return BlobRecord;\n }();\n\n var BlobUpload = function () {\n function BlobUpload(blob) {\n var _this = this;\n\n classCallCheck(this, BlobUpload);\n this.blob = blob;\n this.file = blob.file;\n var _blob$directUploadDat = blob.directUploadData,\n url = _blob$directUploadDat.url,\n headers = _blob$directUploadDat.headers;\n this.xhr = new XMLHttpRequest();\n this.xhr.open(\"PUT\", url, true);\n this.xhr.responseType = \"text\";\n\n for (var key in headers) {\n this.xhr.setRequestHeader(key, headers[key]);\n }\n\n this.xhr.addEventListener(\"load\", function (event) {\n return _this.requestDidLoad(event);\n });\n this.xhr.addEventListener(\"error\", function (event) {\n return _this.requestDidError(event);\n });\n }\n\n createClass(BlobUpload, [{\n key: \"create\",\n value: function create(callback) {\n this.callback = callback;\n this.xhr.send(this.file.slice());\n }\n }, {\n key: \"requestDidLoad\",\n value: function requestDidLoad(event) {\n var _xhr = this.xhr,\n status = _xhr.status,\n response = _xhr.response;\n\n if (status >= 200 && status < 300) {\n this.callback(null, response);\n } else {\n this.requestDidError(event);\n }\n }\n }, {\n key: \"requestDidError\",\n value: function requestDidError(event) {\n this.callback('Error storing \"' + this.file.name + '\". Status: ' + this.xhr.status);\n }\n }]);\n return BlobUpload;\n }();\n\n var id = 0;\n\n var DirectUpload = function () {\n function DirectUpload(file, url, delegate) {\n classCallCheck(this, DirectUpload);\n this.id = ++id;\n this.file = file;\n this.url = url;\n this.delegate = delegate;\n }\n\n createClass(DirectUpload, [{\n key: \"create\",\n value: function create(callback) {\n var _this = this;\n\n FileChecksum.create(this.file, function (error, checksum) {\n if (error) {\n callback(error);\n return;\n }\n\n var blob = new BlobRecord(_this.file, checksum, _this.url);\n notify(_this.delegate, \"directUploadWillCreateBlobWithXHR\", blob.xhr);\n blob.create(function (error) {\n if (error) {\n callback(error);\n } else {\n var upload = new BlobUpload(blob);\n notify(_this.delegate, \"directUploadWillStoreFileWithXHR\", upload.xhr);\n upload.create(function (error) {\n if (error) {\n callback(error);\n } else {\n callback(null, blob.toJSON());\n }\n });\n }\n });\n });\n }\n }]);\n return DirectUpload;\n }();\n\n function notify(object, methodName) {\n if (object && typeof object[methodName] == \"function\") {\n for (var _len = arguments.length, messages = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n messages[_key - 2] = arguments[_key];\n }\n\n return object[methodName].apply(object, messages);\n }\n }\n\n var DirectUploadController = function () {\n function DirectUploadController(input, file) {\n classCallCheck(this, DirectUploadController);\n this.input = input;\n this.file = file;\n this.directUpload = new DirectUpload(this.file, this.url, this);\n this.dispatch(\"initialize\");\n }\n\n createClass(DirectUploadController, [{\n key: \"start\",\n value: function start(callback) {\n var _this = this;\n\n var hiddenInput = document.createElement(\"input\");\n hiddenInput.type = \"hidden\";\n hiddenInput.name = this.input.name;\n this.input.insertAdjacentElement(\"beforebegin\", hiddenInput);\n this.dispatch(\"start\");\n this.directUpload.create(function (error, attributes) {\n if (error) {\n hiddenInput.parentNode.removeChild(hiddenInput);\n\n _this.dispatchError(error);\n } else {\n hiddenInput.value = attributes.signed_id;\n }\n\n _this.dispatch(\"end\");\n\n callback(error);\n });\n }\n }, {\n key: \"uploadRequestDidProgress\",\n value: function uploadRequestDidProgress(event) {\n var progress = event.loaded / event.total * 100;\n\n if (progress) {\n this.dispatch(\"progress\", {\n progress: progress\n });\n }\n }\n }, {\n key: \"dispatch\",\n value: function dispatch(name) {\n var detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n detail.file = this.file;\n detail.id = this.directUpload.id;\n return dispatchEvent(this.input, \"direct-upload:\" + name, {\n detail: detail\n });\n }\n }, {\n key: \"dispatchError\",\n value: function dispatchError(error) {\n var event = this.dispatch(\"error\", {\n error: error\n });\n\n if (!event.defaultPrevented) {\n alert(error);\n }\n }\n }, {\n key: \"directUploadWillCreateBlobWithXHR\",\n value: function directUploadWillCreateBlobWithXHR(xhr) {\n this.dispatch(\"before-blob-request\", {\n xhr: xhr\n });\n }\n }, {\n key: \"directUploadWillStoreFileWithXHR\",\n value: function directUploadWillStoreFileWithXHR(xhr) {\n var _this2 = this;\n\n this.dispatch(\"before-storage-request\", {\n xhr: xhr\n });\n xhr.upload.addEventListener(\"progress\", function (event) {\n return _this2.uploadRequestDidProgress(event);\n });\n }\n }, {\n key: \"url\",\n get: function get$$1() {\n return this.input.getAttribute(\"data-direct-upload-url\");\n }\n }]);\n return DirectUploadController;\n }();\n\n var inputSelector = \"input[type=file][data-direct-upload-url]:not([disabled])\";\n\n var DirectUploadsController = function () {\n function DirectUploadsController(form) {\n classCallCheck(this, DirectUploadsController);\n this.form = form;\n this.inputs = findElements(form, inputSelector).filter(function (input) {\n return input.files.length;\n });\n }\n\n createClass(DirectUploadsController, [{\n key: \"start\",\n value: function start(callback) {\n var _this = this;\n\n var controllers = this.createDirectUploadControllers();\n\n var startNextController = function startNextController() {\n var controller = controllers.shift();\n\n if (controller) {\n controller.start(function (error) {\n if (error) {\n callback(error);\n\n _this.dispatch(\"end\");\n } else {\n startNextController();\n }\n });\n } else {\n callback();\n\n _this.dispatch(\"end\");\n }\n };\n\n this.dispatch(\"start\");\n startNextController();\n }\n }, {\n key: \"createDirectUploadControllers\",\n value: function createDirectUploadControllers() {\n var controllers = [];\n this.inputs.forEach(function (input) {\n toArray$1(input.files).forEach(function (file) {\n var controller = new DirectUploadController(input, file);\n controllers.push(controller);\n });\n });\n return controllers;\n }\n }, {\n key: \"dispatch\",\n value: function dispatch(name) {\n var detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return dispatchEvent(this.form, \"direct-uploads:\" + name, {\n detail: detail\n });\n }\n }]);\n return DirectUploadsController;\n }();\n\n var processingAttribute = \"data-direct-uploads-processing\";\n var submitButtonsByForm = new WeakMap();\n var started = false;\n\n function start() {\n if (!started) {\n started = true;\n document.addEventListener(\"click\", didClick, true);\n document.addEventListener(\"submit\", didSubmitForm);\n document.addEventListener(\"ajax:before\", didSubmitRemoteElement);\n }\n }\n\n function didClick(event) {\n var target = event.target;\n\n if ((target.tagName == \"INPUT\" || target.tagName == \"BUTTON\") && target.type == \"submit\" && target.form) {\n submitButtonsByForm.set(target.form, target);\n }\n }\n\n function didSubmitForm(event) {\n handleFormSubmissionEvent(event);\n }\n\n function didSubmitRemoteElement(event) {\n if (event.target.tagName == \"FORM\") {\n handleFormSubmissionEvent(event);\n }\n }\n\n function handleFormSubmissionEvent(event) {\n var form = event.target;\n\n if (form.hasAttribute(processingAttribute)) {\n event.preventDefault();\n return;\n }\n\n var controller = new DirectUploadsController(form);\n var inputs = controller.inputs;\n\n if (inputs.length) {\n event.preventDefault();\n form.setAttribute(processingAttribute, \"\");\n inputs.forEach(disable);\n controller.start(function (error) {\n form.removeAttribute(processingAttribute);\n\n if (error) {\n inputs.forEach(enable);\n } else {\n submitForm(form);\n }\n });\n }\n }\n\n function submitForm(form) {\n var button = submitButtonsByForm.get(form) || findElement(form, \"input[type=submit], button[type=submit]\");\n\n if (button) {\n var _button = button,\n disabled = _button.disabled;\n button.disabled = false;\n button.focus();\n button.click();\n button.disabled = disabled;\n } else {\n button = document.createElement(\"input\");\n button.type = \"submit\";\n button.style.display = \"none\";\n form.appendChild(button);\n button.click();\n form.removeChild(button);\n }\n\n submitButtonsByForm.delete(form);\n }\n\n function disable(input) {\n input.disabled = true;\n }\n\n function enable(input) {\n input.disabled = false;\n }\n\n function autostart() {\n if (window.ActiveStorage) {\n start();\n }\n }\n\n setTimeout(autostart, 1);\n exports.start = start;\n exports.DirectUpload = DirectUpload;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n});","/*!\n * Materialize v1.0.0 (http://materializecss.com)\n * Copyright 2014-2017 Materialize\n * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)\n */\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/*! cash-dom 1.3.5, https://github.com/kenwheeler/cash @license MIT */\n(function (factory) {\n window.cash = factory();\n})(function () {\n var doc = document,\n win = window,\n ArrayProto = Array.prototype,\n slice = ArrayProto.slice,\n filter = ArrayProto.filter,\n push = ArrayProto.push;\n\n var noop = function () {},\n isFunction = function (item) {\n // @see https://crbug.com/568448\n return typeof item === typeof noop && item.call;\n },\n isString = function (item) {\n return typeof item === typeof \"\";\n };\n\n var idMatch = /^#[\\w-]*$/,\n classMatch = /^\\.[\\w-]*$/,\n htmlMatch = /<.+>/,\n singlet = /^\\w+$/;\n\n function find(selector, context) {\n context = context || doc;\n var elems = classMatch.test(selector) ? context.getElementsByClassName(selector.slice(1)) : singlet.test(selector) ? context.getElementsByTagName(selector) : context.querySelectorAll(selector);\n return elems;\n }\n\n var frag;\n function parseHTML(str) {\n if (!frag) {\n frag = doc.implementation.createHTMLDocument(null);\n var base = frag.createElement(\"base\");\n base.href = doc.location.href;\n frag.head.appendChild(base);\n }\n\n frag.body.innerHTML = str;\n\n return frag.body.childNodes;\n }\n\n function onReady(fn) {\n if (doc.readyState !== \"loading\") {\n fn();\n } else {\n doc.addEventListener(\"DOMContentLoaded\", fn);\n }\n }\n\n function Init(selector, context) {\n if (!selector) {\n return this;\n }\n\n // If already a cash collection, don't do any further processing\n if (selector.cash && selector !== win) {\n return selector;\n }\n\n var elems = selector,\n i = 0,\n length;\n\n if (isString(selector)) {\n elems = idMatch.test(selector) ?\n // If an ID use the faster getElementById check\n doc.getElementById(selector.slice(1)) : htmlMatch.test(selector) ?\n // If HTML, parse it into real elements\n parseHTML(selector) :\n // else use `find`\n find(selector, context);\n\n // If function, use as shortcut for DOM ready\n } else if (isFunction(selector)) {\n onReady(selector);return this;\n }\n\n if (!elems) {\n return this;\n }\n\n // If a single DOM element is passed in or received via ID, return the single element\n if (elems.nodeType || elems === win) {\n this[0] = elems;\n this.length = 1;\n } else {\n // Treat like an array and loop through each item.\n length = this.length = elems.length;\n for (; i < length; i++) {\n this[i] = elems[i];\n }\n }\n\n return this;\n }\n\n function cash(selector, context) {\n return new Init(selector, context);\n }\n\n var fn = cash.fn = cash.prototype = Init.prototype = { // jshint ignore:line\n cash: true,\n length: 0,\n push: push,\n splice: ArrayProto.splice,\n map: ArrayProto.map,\n init: Init\n };\n\n Object.defineProperty(fn, \"constructor\", { value: cash });\n\n cash.parseHTML = parseHTML;\n cash.noop = noop;\n cash.isFunction = isFunction;\n cash.isString = isString;\n\n cash.extend = fn.extend = function (target) {\n target = target || {};\n\n var args = slice.call(arguments),\n length = args.length,\n i = 1;\n\n if (args.length === 1) {\n target = this;\n i = 0;\n }\n\n for (; i < length; i++) {\n if (!args[i]) {\n continue;\n }\n for (var key in args[i]) {\n if (args[i].hasOwnProperty(key)) {\n target[key] = args[i][key];\n }\n }\n }\n\n return target;\n };\n\n function each(collection, callback) {\n var l = collection.length,\n i = 0;\n\n for (; i < l; i++) {\n if (callback.call(collection[i], collection[i], i, collection) === false) {\n break;\n }\n }\n }\n\n function matches(el, selector) {\n var m = el && (el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector || el.oMatchesSelector);\n return !!m && m.call(el, selector);\n }\n\n function getCompareFunction(selector) {\n return (\n /* Use browser's `matches` function if string */\n isString(selector) ? matches :\n /* Match a cash element */\n selector.cash ? function (el) {\n return selector.is(el);\n } :\n /* Direct comparison */\n function (el, selector) {\n return el === selector;\n }\n );\n }\n\n function unique(collection) {\n return cash(slice.call(collection).filter(function (item, index, self) {\n return self.indexOf(item) === index;\n }));\n }\n\n cash.extend({\n merge: function (first, second) {\n var len = +second.length,\n i = first.length,\n j = 0;\n\n for (; j < len; i++, j++) {\n first[i] = second[j];\n }\n\n first.length = i;\n return first;\n },\n\n each: each,\n matches: matches,\n unique: unique,\n isArray: Array.isArray,\n isNumeric: function (n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n });\n\n var uid = cash.uid = \"_cash\" + Date.now();\n\n function getDataCache(node) {\n return node[uid] = node[uid] || {};\n }\n\n function setData(node, key, value) {\n return getDataCache(node)[key] = value;\n }\n\n function getData(node, key) {\n var c = getDataCache(node);\n if (c[key] === undefined) {\n c[key] = node.dataset ? node.dataset[key] : cash(node).attr(\"data-\" + key);\n }\n return c[key];\n }\n\n function removeData(node, key) {\n var c = getDataCache(node);\n if (c) {\n delete c[key];\n } else if (node.dataset) {\n delete node.dataset[key];\n } else {\n cash(node).removeAttr(\"data-\" + name);\n }\n }\n\n fn.extend({\n data: function (name, value) {\n if (isString(name)) {\n return value === undefined ? getData(this[0], name) : this.each(function (v) {\n return setData(v, name, value);\n });\n }\n\n for (var key in name) {\n this.data(key, name[key]);\n }\n\n return this;\n },\n\n removeData: function (key) {\n return this.each(function (v) {\n return removeData(v, key);\n });\n }\n\n });\n\n var notWhiteMatch = /\\S+/g;\n\n function getClasses(c) {\n return isString(c) && c.match(notWhiteMatch);\n }\n\n function hasClass(v, c) {\n return v.classList ? v.classList.contains(c) : new RegExp(\"(^| )\" + c + \"( |$)\", \"gi\").test(v.className);\n }\n\n function addClass(v, c, spacedName) {\n if (v.classList) {\n v.classList.add(c);\n } else if (spacedName.indexOf(\" \" + c + \" \")) {\n v.className += \" \" + c;\n }\n }\n\n function removeClass(v, c) {\n if (v.classList) {\n v.classList.remove(c);\n } else {\n v.className = v.className.replace(c, \"\");\n }\n }\n\n fn.extend({\n addClass: function (c) {\n var classes = getClasses(c);\n\n return classes ? this.each(function (v) {\n var spacedName = \" \" + v.className + \" \";\n each(classes, function (c) {\n addClass(v, c, spacedName);\n });\n }) : this;\n },\n\n attr: function (name, value) {\n if (!name) {\n return undefined;\n }\n\n if (isString(name)) {\n if (value === undefined) {\n return this[0] ? this[0].getAttribute ? this[0].getAttribute(name) : this[0][name] : undefined;\n }\n\n return this.each(function (v) {\n if (v.setAttribute) {\n v.setAttribute(name, value);\n } else {\n v[name] = value;\n }\n });\n }\n\n for (var key in name) {\n this.attr(key, name[key]);\n }\n\n return this;\n },\n\n hasClass: function (c) {\n var check = false,\n classes = getClasses(c);\n if (classes && classes.length) {\n this.each(function (v) {\n check = hasClass(v, classes[0]);\n return !check;\n });\n }\n return check;\n },\n\n prop: function (name, value) {\n if (isString(name)) {\n return value === undefined ? this[0][name] : this.each(function (v) {\n v[name] = value;\n });\n }\n\n for (var key in name) {\n this.prop(key, name[key]);\n }\n\n return this;\n },\n\n removeAttr: function (name) {\n return this.each(function (v) {\n if (v.removeAttribute) {\n v.removeAttribute(name);\n } else {\n delete v[name];\n }\n });\n },\n\n removeClass: function (c) {\n if (!arguments.length) {\n return this.attr(\"class\", \"\");\n }\n var classes = getClasses(c);\n return classes ? this.each(function (v) {\n each(classes, function (c) {\n removeClass(v, c);\n });\n }) : this;\n },\n\n removeProp: function (name) {\n return this.each(function (v) {\n delete v[name];\n });\n },\n\n toggleClass: function (c, state) {\n if (state !== undefined) {\n return this[state ? \"addClass\" : \"removeClass\"](c);\n }\n var classes = getClasses(c);\n return classes ? this.each(function (v) {\n var spacedName = \" \" + v.className + \" \";\n each(classes, function (c) {\n if (hasClass(v, c)) {\n removeClass(v, c);\n } else {\n addClass(v, c, spacedName);\n }\n });\n }) : this;\n } });\n\n fn.extend({\n add: function (selector, context) {\n return unique(cash.merge(this, cash(selector, context)));\n },\n\n each: function (callback) {\n each(this, callback);\n return this;\n },\n\n eq: function (index) {\n return cash(this.get(index));\n },\n\n filter: function (selector) {\n if (!selector) {\n return this;\n }\n\n var comparator = isFunction(selector) ? selector : getCompareFunction(selector);\n\n return cash(filter.call(this, function (e) {\n return comparator(e, selector);\n }));\n },\n\n first: function () {\n return this.eq(0);\n },\n\n get: function (index) {\n if (index === undefined) {\n return slice.call(this);\n }\n return index < 0 ? this[index + this.length] : this[index];\n },\n\n index: function (elem) {\n var child = elem ? cash(elem)[0] : this[0],\n collection = elem ? this : cash(child).parent().children();\n return slice.call(collection).indexOf(child);\n },\n\n last: function () {\n return this.eq(-1);\n }\n\n });\n\n var camelCase = function () {\n var camelRegex = /(?:^\\w|[A-Z]|\\b\\w)/g,\n whiteSpace = /[\\s-_]+/g;\n return function (str) {\n return str.replace(camelRegex, function (letter, index) {\n return letter[index === 0 ? \"toLowerCase\" : \"toUpperCase\"]();\n }).replace(whiteSpace, \"\");\n };\n }();\n\n var getPrefixedProp = function () {\n var cache = {},\n doc = document,\n div = doc.createElement(\"div\"),\n style = div.style;\n\n return function (prop) {\n prop = camelCase(prop);\n if (cache[prop]) {\n return cache[prop];\n }\n\n var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1),\n prefixes = [\"webkit\", \"moz\", \"ms\", \"o\"],\n props = (prop + \" \" + prefixes.join(ucProp + \" \") + ucProp).split(\" \");\n\n each(props, function (p) {\n if (p in style) {\n cache[p] = prop = cache[prop] = p;\n return false;\n }\n });\n\n return cache[prop];\n };\n }();\n\n cash.prefixedProp = getPrefixedProp;\n cash.camelCase = camelCase;\n\n fn.extend({\n css: function (prop, value) {\n if (isString(prop)) {\n prop = getPrefixedProp(prop);\n return arguments.length > 1 ? this.each(function (v) {\n return v.style[prop] = value;\n }) : win.getComputedStyle(this[0])[prop];\n }\n\n for (var key in prop) {\n this.css(key, prop[key]);\n }\n\n return this;\n }\n\n });\n\n function compute(el, prop) {\n return parseInt(win.getComputedStyle(el[0], null)[prop], 10) || 0;\n }\n\n each([\"Width\", \"Height\"], function (v) {\n var lower = v.toLowerCase();\n\n fn[lower] = function () {\n return this[0].getBoundingClientRect()[lower];\n };\n\n fn[\"inner\" + v] = function () {\n return this[0][\"client\" + v];\n };\n\n fn[\"outer\" + v] = function (margins) {\n return this[0][\"offset\" + v] + (margins ? compute(this, \"margin\" + (v === \"Width\" ? \"Left\" : \"Top\")) + compute(this, \"margin\" + (v === \"Width\" ? \"Right\" : \"Bottom\")) : 0);\n };\n });\n\n function registerEvent(node, eventName, callback) {\n var eventCache = getData(node, \"_cashEvents\") || setData(node, \"_cashEvents\", {});\n eventCache[eventName] = eventCache[eventName] || [];\n eventCache[eventName].push(callback);\n node.addEventListener(eventName, callback);\n }\n\n function removeEvent(node, eventName, callback) {\n var events = getData(node, \"_cashEvents\"),\n eventCache = events && events[eventName],\n index;\n\n if (!eventCache) {\n return;\n }\n\n if (callback) {\n node.removeEventListener(eventName, callback);\n index = eventCache.indexOf(callback);\n if (index >= 0) {\n eventCache.splice(index, 1);\n }\n } else {\n each(eventCache, function (event) {\n node.removeEventListener(eventName, event);\n });\n eventCache = [];\n }\n }\n\n fn.extend({\n off: function (eventName, callback) {\n return this.each(function (v) {\n return removeEvent(v, eventName, callback);\n });\n },\n\n on: function (eventName, delegate, callback, runOnce) {\n // jshint ignore:line\n var originalCallback;\n if (!isString(eventName)) {\n for (var key in eventName) {\n this.on(key, delegate, eventName[key]);\n }\n return this;\n }\n\n if (isFunction(delegate)) {\n callback = delegate;\n delegate = null;\n }\n\n if (eventName === \"ready\") {\n onReady(callback);\n return this;\n }\n\n if (delegate) {\n originalCallback = callback;\n callback = function (e) {\n var t = e.target;\n while (!matches(t, delegate)) {\n if (t === this || t === null) {\n return t = false;\n }\n\n t = t.parentNode;\n }\n\n if (t) {\n originalCallback.call(t, e);\n }\n };\n }\n\n return this.each(function (v) {\n var finalCallback = callback;\n if (runOnce) {\n finalCallback = function () {\n callback.apply(this, arguments);\n removeEvent(v, eventName, finalCallback);\n };\n }\n registerEvent(v, eventName, finalCallback);\n });\n },\n\n one: function (eventName, delegate, callback) {\n return this.on(eventName, delegate, callback, true);\n },\n\n ready: onReady,\n\n /**\n * Modified\n * Triggers browser event\n * @param String eventName\n * @param Object data - Add properties to event object\n */\n trigger: function (eventName, data) {\n if (document.createEvent) {\n var evt = document.createEvent('HTMLEvents');\n evt.initEvent(eventName, true, false);\n evt = this.extend(evt, data);\n return this.each(function (v) {\n return v.dispatchEvent(evt);\n });\n }\n }\n\n });\n\n function encode(name, value) {\n return \"&\" + encodeURIComponent(name) + \"=\" + encodeURIComponent(value).replace(/%20/g, \"+\");\n }\n\n function getSelectMultiple_(el) {\n var values = [];\n each(el.options, function (o) {\n if (o.selected) {\n values.push(o.value);\n }\n });\n return values.length ? values : null;\n }\n\n function getSelectSingle_(el) {\n var selectedIndex = el.selectedIndex;\n return selectedIndex >= 0 ? el.options[selectedIndex].value : null;\n }\n\n function getValue(el) {\n var type = el.type;\n if (!type) {\n return null;\n }\n switch (type.toLowerCase()) {\n case \"select-one\":\n return getSelectSingle_(el);\n case \"select-multiple\":\n return getSelectMultiple_(el);\n case \"radio\":\n return el.checked ? el.value : null;\n case \"checkbox\":\n return el.checked ? el.value : null;\n default:\n return el.value ? el.value : null;\n }\n }\n\n fn.extend({\n serialize: function () {\n var query = \"\";\n\n each(this[0].elements || this, function (el) {\n if (el.disabled || el.tagName === \"FIELDSET\") {\n return;\n }\n var name = el.name;\n switch (el.type.toLowerCase()) {\n case \"file\":\n case \"reset\":\n case \"submit\":\n case \"button\":\n break;\n case \"select-multiple\":\n var values = getValue(el);\n if (values !== null) {\n each(values, function (value) {\n query += encode(name, value);\n });\n }\n break;\n default:\n var value = getValue(el);\n if (value !== null) {\n query += encode(name, value);\n }\n }\n });\n\n return query.substr(1);\n },\n\n val: function (value) {\n if (value === undefined) {\n return getValue(this[0]);\n }\n\n return this.each(function (v) {\n return v.value = value;\n });\n }\n\n });\n\n function insertElement(el, child, prepend) {\n if (prepend) {\n var first = el.childNodes[0];\n el.insertBefore(child, first);\n } else {\n el.appendChild(child);\n }\n }\n\n function insertContent(parent, child, prepend) {\n var str = isString(child);\n\n if (!str && child.length) {\n each(child, function (v) {\n return insertContent(parent, v, prepend);\n });\n return;\n }\n\n each(parent, str ? function (v) {\n return v.insertAdjacentHTML(prepend ? \"afterbegin\" : \"beforeend\", child);\n } : function (v, i) {\n return insertElement(v, i === 0 ? child : child.cloneNode(true), prepend);\n });\n }\n\n fn.extend({\n after: function (selector) {\n cash(selector).insertAfter(this);\n return this;\n },\n\n append: function (content) {\n insertContent(this, content);\n return this;\n },\n\n appendTo: function (parent) {\n insertContent(cash(parent), this);\n return this;\n },\n\n before: function (selector) {\n cash(selector).insertBefore(this);\n return this;\n },\n\n clone: function () {\n return cash(this.map(function (v) {\n return v.cloneNode(true);\n }));\n },\n\n empty: function () {\n this.html(\"\");\n return this;\n },\n\n html: function (content) {\n if (content === undefined) {\n return this[0].innerHTML;\n }\n var source = content.nodeType ? content[0].outerHTML : content;\n return this.each(function (v) {\n return v.innerHTML = source;\n });\n },\n\n insertAfter: function (selector) {\n var _this = this;\n\n cash(selector).each(function (el, i) {\n var parent = el.parentNode,\n sibling = el.nextSibling;\n _this.each(function (v) {\n parent.insertBefore(i === 0 ? v : v.cloneNode(true), sibling);\n });\n });\n\n return this;\n },\n\n insertBefore: function (selector) {\n var _this2 = this;\n cash(selector).each(function (el, i) {\n var parent = el.parentNode;\n _this2.each(function (v) {\n parent.insertBefore(i === 0 ? v : v.cloneNode(true), el);\n });\n });\n return this;\n },\n\n prepend: function (content) {\n insertContent(this, content, true);\n return this;\n },\n\n prependTo: function (parent) {\n insertContent(cash(parent), this, true);\n return this;\n },\n\n remove: function () {\n return this.each(function (v) {\n if (!!v.parentNode) {\n return v.parentNode.removeChild(v);\n }\n });\n },\n\n text: function (content) {\n if (content === undefined) {\n return this[0].textContent;\n }\n return this.each(function (v) {\n return v.textContent = content;\n });\n }\n\n });\n\n var docEl = doc.documentElement;\n\n fn.extend({\n position: function () {\n var el = this[0];\n return {\n left: el.offsetLeft,\n top: el.offsetTop\n };\n },\n\n offset: function () {\n var rect = this[0].getBoundingClientRect();\n return {\n top: rect.top + win.pageYOffset - docEl.clientTop,\n left: rect.left + win.pageXOffset - docEl.clientLeft\n };\n },\n\n offsetParent: function () {\n return cash(this[0].offsetParent);\n }\n\n });\n\n fn.extend({\n children: function (selector) {\n var elems = [];\n this.each(function (el) {\n push.apply(elems, el.children);\n });\n elems = unique(elems);\n\n return !selector ? elems : elems.filter(function (v) {\n return matches(v, selector);\n });\n },\n\n closest: function (selector) {\n if (!selector || this.length < 1) {\n return cash();\n }\n if (this.is(selector)) {\n return this.filter(selector);\n }\n return this.parent().closest(selector);\n },\n\n is: function (selector) {\n if (!selector) {\n return false;\n }\n\n var match = false,\n comparator = getCompareFunction(selector);\n\n this.each(function (el) {\n match = comparator(el, selector);\n return !match;\n });\n\n return match;\n },\n\n find: function (selector) {\n if (!selector || selector.nodeType) {\n return cash(selector && this.has(selector).length ? selector : null);\n }\n\n var elems = [];\n this.each(function (el) {\n push.apply(elems, find(selector, el));\n });\n\n return unique(elems);\n },\n\n has: function (selector) {\n var comparator = isString(selector) ? function (el) {\n return find(selector, el).length !== 0;\n } : function (el) {\n return el.contains(selector);\n };\n\n return this.filter(comparator);\n },\n\n next: function () {\n return cash(this[0].nextElementSibling);\n },\n\n not: function (selector) {\n if (!selector) {\n return this;\n }\n\n var comparator = getCompareFunction(selector);\n\n return this.filter(function (el) {\n return !comparator(el, selector);\n });\n },\n\n parent: function () {\n var result = [];\n\n this.each(function (item) {\n if (item && item.parentNode) {\n result.push(item.parentNode);\n }\n });\n\n return unique(result);\n },\n\n parents: function (selector) {\n var last,\n result = [];\n\n this.each(function (item) {\n last = item;\n\n while (last && last.parentNode && last !== doc.body.parentNode) {\n last = last.parentNode;\n\n if (!selector || selector && matches(last, selector)) {\n result.push(last);\n }\n }\n });\n\n return unique(result);\n },\n\n prev: function () {\n return cash(this[0].previousElementSibling);\n },\n\n siblings: function (selector) {\n var collection = this.parent().children(selector),\n el = this[0];\n\n return collection.filter(function (i) {\n return i !== el;\n });\n }\n\n });\n\n return cash;\n});\n;\nvar Component = function () {\n /**\n * Generic constructor for all application\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function Component(classDef, el, options) {\n _classCallCheck(this, Component);\n\n // Display error if el is valid HTML Element\n if (!(el instanceof Element)) {\n console.error(Error(el + ' is not an HTML Element'));\n }\n\n // If exists, destroy and reinitialize in child\n var ins = classDef.getInstance(el);\n if (!!ins) {\n ins.destroy();\n }\n\n this.el = el;\n this.$el = cash(el);\n }\n\n /**\n * Initializes application\n * @param {class} classDef\n * @param {Element | NodeList | jQuery} els\n * @param {Object} options\n */\n\n\n _createClass(Component, null, [{\n key: \"init\",\n value: function init(classDef, els, options) {\n var instances = null;\n if (els instanceof Element) {\n instances = new classDef(els, options);\n } else if (!!els && (els.jquery || els.cash || els instanceof NodeList)) {\n var instancesArr = [];\n for (var i = 0; i < els.length; i++) {\n instancesArr.push(new classDef(els[i], options));\n }\n instances = instancesArr;\n }\n\n return instances;\n }\n }]);\n\n return Component;\n}();\n\n; // Required for Meteor package, the use of window prevents export by Meteor\n(function (window) {\n if (window.Package) {\n M = {};\n } else {\n window.M = {};\n }\n\n // Check for jQuery\n M.jQueryLoaded = !!window.jQuery;\n})(window);\n\n// AMD\nif (typeof define === 'function' && define.amd) {\n define('M', [], function () {\n return M;\n });\n\n // Common JS\n} else if (typeof exports !== 'undefined' && !exports.nodeType) {\n if (typeof module !== 'undefined' && !module.nodeType && module.exports) {\n exports = module.exports = M;\n }\n exports.default = M;\n}\n\nM.version = '1.0.0';\n\nM.keys = {\n TAB: 9,\n ENTER: 13,\n ESC: 27,\n ARROW_UP: 38,\n ARROW_DOWN: 40\n};\n\n/**\n * TabPress Keydown handler\n */\nM.tabPressed = false;\nM.keyDown = false;\nvar docHandleKeydown = function (e) {\n M.keyDown = true;\n if (e.which === M.keys.TAB || e.which === M.keys.ARROW_DOWN || e.which === M.keys.ARROW_UP) {\n M.tabPressed = true;\n }\n};\nvar docHandleKeyup = function (e) {\n M.keyDown = false;\n if (e.which === M.keys.TAB || e.which === M.keys.ARROW_DOWN || e.which === M.keys.ARROW_UP) {\n M.tabPressed = false;\n }\n};\nvar docHandleFocus = function (e) {\n if (M.keyDown) {\n document.body.classList.add('keyboard-focused');\n }\n};\nvar docHandleBlur = function (e) {\n document.body.classList.remove('keyboard-focused');\n};\ndocument.addEventListener('keydown', docHandleKeydown, true);\ndocument.addEventListener('keyup', docHandleKeyup, true);\ndocument.addEventListener('focus', docHandleFocus, true);\ndocument.addEventListener('blur', docHandleBlur, true);\n\n/**\n * Initialize jQuery wrapper for plugin\n * @param {Class} plugin javascript class\n * @param {string} pluginName jQuery plugin name\n * @param {string} classRef Class reference name\n */\nM.initializeJqueryWrapper = function (plugin, pluginName, classRef) {\n jQuery.fn[pluginName] = function (methodOrOptions) {\n // Call plugin method if valid method name is passed in\n if (plugin.prototype[methodOrOptions]) {\n var params = Array.prototype.slice.call(arguments, 1);\n\n // Getter methods\n if (methodOrOptions.slice(0, 3) === 'get') {\n var instance = this.first()[0][classRef];\n return instance[methodOrOptions].apply(instance, params);\n }\n\n // Void methods\n return this.each(function () {\n var instance = this[classRef];\n instance[methodOrOptions].apply(instance, params);\n });\n\n // Initialize plugin if options or no argument is passed in\n } else if (typeof methodOrOptions === 'object' || !methodOrOptions) {\n plugin.init(this, arguments[0]);\n return this;\n }\n\n // Return error if an unrecognized method name is passed in\n jQuery.error(\"Method \" + methodOrOptions + \" does not exist on jQuery.\" + pluginName);\n };\n};\n\n/**\n * Automatically initialize application\n * @param {Element} context DOM Element to search within for application\n */\nM.AutoInit = function (context) {\n // Use document.body if no context is given\n var root = !!context ? context : document.body;\n\n var registry = {\n Autocomplete: root.querySelectorAll('.autocomplete:not(.no-autoinit)'),\n Carousel: root.querySelectorAll('.carousel:not(.no-autoinit)'),\n Chips: root.querySelectorAll('.chips:not(.no-autoinit)'),\n Collapsible: root.querySelectorAll('.collapsible:not(.no-autoinit)'),\n Datepicker: root.querySelectorAll('.datepicker:not(.no-autoinit)'),\n Dropdown: root.querySelectorAll('.dropdown-trigger:not(.no-autoinit)'),\n Materialbox: root.querySelectorAll('.materialboxed:not(.no-autoinit)'),\n Modal: root.querySelectorAll('.modal:not(.no-autoinit)'),\n Parallax: root.querySelectorAll('.parallax:not(.no-autoinit)'),\n Pushpin: root.querySelectorAll('.pushpin:not(.no-autoinit)'),\n ScrollSpy: root.querySelectorAll('.scrollspy:not(.no-autoinit)'),\n FormSelect: root.querySelectorAll('select:not(.no-autoinit)'),\n Sidenav: root.querySelectorAll('.sidenav:not(.no-autoinit)'),\n Tabs: root.querySelectorAll('.tabs:not(.no-autoinit)'),\n TapTarget: root.querySelectorAll('.tap-target:not(.no-autoinit)'),\n Timepicker: root.querySelectorAll('.timepicker:not(.no-autoinit)'),\n Tooltip: root.querySelectorAll('.tooltipped:not(.no-autoinit)'),\n FloatingActionButton: root.querySelectorAll('.fixed-action-btn:not(.no-autoinit)')\n };\n\n for (var pluginName in registry) {\n var plugin = M[pluginName];\n plugin.init(registry[pluginName]);\n }\n};\n\n/**\n * Generate approximated selector string for a jQuery object\n * @param {jQuery} obj jQuery object to be parsed\n * @returns {string}\n */\nM.objectSelectorString = function (obj) {\n var tagStr = obj.prop('tagName') || '';\n var idStr = obj.attr('id') || '';\n var classStr = obj.attr('class') || '';\n return (tagStr + idStr + classStr).replace(/\\s/g, '');\n};\n\n// Unique Random ID\nM.guid = function () {\n function s4() {\n return Math.floor((1 + Math.random()) * 0x10000).toString(16).substring(1);\n }\n return function () {\n return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();\n };\n}();\n\n/**\n * Escapes hash from special characters\n * @param {string} hash String returned from this.hash\n * @returns {string}\n */\nM.escapeHash = function (hash) {\n return hash.replace(/(:|\\.|\\[|\\]|,|=|\\/)/g, '\\\\$1');\n};\n\nM.elementOrParentIsFixed = function (element) {\n var $element = $(element);\n var $checkElements = $element.add($element.parents());\n var isFixed = false;\n $checkElements.each(function () {\n if ($(this).css('position') === 'fixed') {\n isFixed = true;\n return false;\n }\n });\n return isFixed;\n};\n\n/**\n * @typedef {Object} Edges\n * @property {Boolean} top If the top edge was exceeded\n * @property {Boolean} right If the right edge was exceeded\n * @property {Boolean} bottom If the bottom edge was exceeded\n * @property {Boolean} left If the left edge was exceeded\n */\n\n/**\n * @typedef {Object} Bounding\n * @property {Number} left left offset coordinate\n * @property {Number} top top offset coordinate\n * @property {Number} width\n * @property {Number} height\n */\n\n/**\n * Escapes hash from special characters\n * @param {Element} container Container element that acts as the boundary\n * @param {Bounding} bounding element bounding that is being checked\n * @param {Number} offset offset from edge that counts as exceeding\n * @returns {Edges}\n */\nM.checkWithinContainer = function (container, bounding, offset) {\n var edges = {\n top: false,\n right: false,\n bottom: false,\n left: false\n };\n\n var containerRect = container.getBoundingClientRect();\n // If body element is smaller than viewport, use viewport height instead.\n var containerBottom = container === document.body ? Math.max(containerRect.bottom, window.innerHeight) : containerRect.bottom;\n\n var scrollLeft = container.scrollLeft;\n var scrollTop = container.scrollTop;\n\n var scrolledX = bounding.left - scrollLeft;\n var scrolledY = bounding.top - scrollTop;\n\n // Check for container and viewport for each edge\n if (scrolledX < containerRect.left + offset || scrolledX < offset) {\n edges.left = true;\n }\n\n if (scrolledX + bounding.width > containerRect.right - offset || scrolledX + bounding.width > window.innerWidth - offset) {\n edges.right = true;\n }\n\n if (scrolledY < containerRect.top + offset || scrolledY < offset) {\n edges.top = true;\n }\n\n if (scrolledY + bounding.height > containerBottom - offset || scrolledY + bounding.height > window.innerHeight - offset) {\n edges.bottom = true;\n }\n\n return edges;\n};\n\nM.checkPossibleAlignments = function (el, container, bounding, offset) {\n var canAlign = {\n top: true,\n right: true,\n bottom: true,\n left: true,\n spaceOnTop: null,\n spaceOnRight: null,\n spaceOnBottom: null,\n spaceOnLeft: null\n };\n\n var containerAllowsOverflow = getComputedStyle(container).overflow === 'visible';\n var containerRect = container.getBoundingClientRect();\n var containerHeight = Math.min(containerRect.height, window.innerHeight);\n var containerWidth = Math.min(containerRect.width, window.innerWidth);\n var elOffsetRect = el.getBoundingClientRect();\n\n var scrollLeft = container.scrollLeft;\n var scrollTop = container.scrollTop;\n\n var scrolledX = bounding.left - scrollLeft;\n var scrolledYTopEdge = bounding.top - scrollTop;\n var scrolledYBottomEdge = bounding.top + elOffsetRect.height - scrollTop;\n\n // Check for container and viewport for left\n canAlign.spaceOnRight = !containerAllowsOverflow ? containerWidth - (scrolledX + bounding.width) : window.innerWidth - (elOffsetRect.left + bounding.width);\n if (canAlign.spaceOnRight < 0) {\n canAlign.left = false;\n }\n\n // Check for container and viewport for Right\n canAlign.spaceOnLeft = !containerAllowsOverflow ? scrolledX - bounding.width + elOffsetRect.width : elOffsetRect.right - bounding.width;\n if (canAlign.spaceOnLeft < 0) {\n canAlign.right = false;\n }\n\n // Check for container and viewport for Top\n canAlign.spaceOnBottom = !containerAllowsOverflow ? containerHeight - (scrolledYTopEdge + bounding.height + offset) : window.innerHeight - (elOffsetRect.top + bounding.height + offset);\n if (canAlign.spaceOnBottom < 0) {\n canAlign.top = false;\n }\n\n // Check for container and viewport for Bottom\n canAlign.spaceOnTop = !containerAllowsOverflow ? scrolledYBottomEdge - (bounding.height - offset) : elOffsetRect.bottom - (bounding.height + offset);\n if (canAlign.spaceOnTop < 0) {\n canAlign.bottom = false;\n }\n\n return canAlign;\n};\n\nM.getOverflowParent = function (element) {\n if (element == null) {\n return null;\n }\n\n if (element === document.body || getComputedStyle(element).overflow !== 'visible') {\n return element;\n }\n\n return M.getOverflowParent(element.parentElement);\n};\n\n/**\n * Gets id of component from a trigger\n * @param {Element} trigger trigger\n * @returns {string}\n */\nM.getIdFromTrigger = function (trigger) {\n var id = trigger.getAttribute('data-target');\n if (!id) {\n id = trigger.getAttribute('href');\n if (id) {\n id = id.slice(1);\n } else {\n id = '';\n }\n }\n return id;\n};\n\n/**\n * Multi browser support for document scroll top\n * @returns {Number}\n */\nM.getDocumentScrollTop = function () {\n return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;\n};\n\n/**\n * Multi browser support for document scroll left\n * @returns {Number}\n */\nM.getDocumentScrollLeft = function () {\n return window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;\n};\n\n/**\n * @typedef {Object} Edges\n * @property {Boolean} top If the top edge was exceeded\n * @property {Boolean} right If the right edge was exceeded\n * @property {Boolean} bottom If the bottom edge was exceeded\n * @property {Boolean} left If the left edge was exceeded\n */\n\n/**\n * @typedef {Object} Bounding\n * @property {Number} left left offset coordinate\n * @property {Number} top top offset coordinate\n * @property {Number} width\n * @property {Number} height\n */\n\n/**\n * Get time in ms\n * @license https://raw.github.com/jashkenas/underscore/master/LICENSE\n * @type {function}\n * @return {number}\n */\nvar getTime = Date.now || function () {\n return new Date().getTime();\n};\n\n/**\n * Returns a function, that, when invoked, will only be triggered at most once\n * during a given window of time. Normally, the throttled function will run\n * as much as it can, without ever going more than once per `wait` duration;\n * but if you'd like to disable the execution on the leading edge, pass\n * `{leading: false}`. To disable execution on the trailing edge, ditto.\n * @license https://raw.github.com/jashkenas/underscore/master/LICENSE\n * @param {function} func\n * @param {number} wait\n * @param {Object=} options\n * @returns {Function}\n */\nM.throttle = function (func, wait, options) {\n var context = void 0,\n args = void 0,\n result = void 0;\n var timeout = null;\n var previous = 0;\n options || (options = {});\n var later = function () {\n previous = options.leading === false ? 0 : getTime();\n timeout = null;\n result = func.apply(context, args);\n context = args = null;\n };\n return function () {\n var now = getTime();\n if (!previous && options.leading === false) previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0) {\n clearTimeout(timeout);\n timeout = null;\n previous = now;\n result = func.apply(context, args);\n context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n};\n; /*\n v2.2.0\n 2017 Julian Garnier\n Released under the MIT license\n */\nvar $jscomp = { scope: {} };$jscomp.defineProperty = \"function\" == typeof Object.defineProperties ? Object.defineProperty : function (e, r, p) {\n if (p.get || p.set) throw new TypeError(\"ES3 does not support getters and setters.\");e != Array.prototype && e != Object.prototype && (e[r] = p.value);\n};$jscomp.getGlobal = function (e) {\n return \"undefined\" != typeof window && window === e ? e : \"undefined\" != typeof global && null != global ? global : e;\n};$jscomp.global = $jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX = \"jscomp_symbol_\";\n$jscomp.initSymbol = function () {\n $jscomp.initSymbol = function () {};$jscomp.global.Symbol || ($jscomp.global.Symbol = $jscomp.Symbol);\n};$jscomp.symbolCounter_ = 0;$jscomp.Symbol = function (e) {\n return $jscomp.SYMBOL_PREFIX + (e || \"\") + $jscomp.symbolCounter_++;\n};\n$jscomp.initSymbolIterator = function () {\n $jscomp.initSymbol();var e = $jscomp.global.Symbol.iterator;e || (e = $jscomp.global.Symbol.iterator = $jscomp.global.Symbol(\"iterator\"));\"function\" != typeof Array.prototype[e] && $jscomp.defineProperty(Array.prototype, e, { configurable: !0, writable: !0, value: function () {\n return $jscomp.arrayIterator(this);\n } });$jscomp.initSymbolIterator = function () {};\n};$jscomp.arrayIterator = function (e) {\n var r = 0;return $jscomp.iteratorPrototype(function () {\n return r < e.length ? { done: !1, value: e[r++] } : { done: !0 };\n });\n};\n$jscomp.iteratorPrototype = function (e) {\n $jscomp.initSymbolIterator();e = { next: e };e[$jscomp.global.Symbol.iterator] = function () {\n return this;\n };return e;\n};$jscomp.array = $jscomp.array || {};$jscomp.iteratorFromArray = function (e, r) {\n $jscomp.initSymbolIterator();e instanceof String && (e += \"\");var p = 0,\n m = { next: function () {\n if (p < e.length) {\n var u = p++;return { value: r(u, e[u]), done: !1 };\n }m.next = function () {\n return { done: !0, value: void 0 };\n };return m.next();\n } };m[Symbol.iterator] = function () {\n return m;\n };return m;\n};\n$jscomp.polyfill = function (e, r, p, m) {\n if (r) {\n p = $jscomp.global;e = e.split(\".\");for (m = 0; m < e.length - 1; m++) {\n var u = e[m];u in p || (p[u] = {});p = p[u];\n }e = e[e.length - 1];m = p[e];r = r(m);r != m && null != r && $jscomp.defineProperty(p, e, { configurable: !0, writable: !0, value: r });\n }\n};$jscomp.polyfill(\"Array.prototype.keys\", function (e) {\n return e ? e : function () {\n return $jscomp.iteratorFromArray(this, function (e) {\n return e;\n });\n };\n}, \"es6-impl\", \"es3\");var $jscomp$this = this;\n(function (r) {\n M.anime = r();\n})(function () {\n function e(a) {\n if (!h.col(a)) try {\n return document.querySelectorAll(a);\n } catch (c) {}\n }function r(a, c) {\n for (var d = a.length, b = 2 <= arguments.length ? arguments[1] : void 0, f = [], n = 0; n < d; n++) {\n if (n in a) {\n var k = a[n];c.call(b, k, n, a) && f.push(k);\n }\n }return f;\n }function p(a) {\n return a.reduce(function (a, d) {\n return a.concat(h.arr(d) ? p(d) : d);\n }, []);\n }function m(a) {\n if (h.arr(a)) return a;\n h.str(a) && (a = e(a) || a);return a instanceof NodeList || a instanceof HTMLCollection ? [].slice.call(a) : [a];\n }function u(a, c) {\n return a.some(function (a) {\n return a === c;\n });\n }function C(a) {\n var c = {},\n d;for (d in a) {\n c[d] = a[d];\n }return c;\n }function D(a, c) {\n var d = C(a),\n b;for (b in a) {\n d[b] = c.hasOwnProperty(b) ? c[b] : a[b];\n }return d;\n }function z(a, c) {\n var d = C(a),\n b;for (b in c) {\n d[b] = h.und(a[b]) ? c[b] : a[b];\n }return d;\n }function T(a) {\n a = a.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i, function (a, c, d, k) {\n return c + c + d + d + k + k;\n });var c = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(a);\n a = parseInt(c[1], 16);var d = parseInt(c[2], 16),\n c = parseInt(c[3], 16);return \"rgba(\" + a + \",\" + d + \",\" + c + \",1)\";\n }function U(a) {\n function c(a, c, b) {\n 0 > b && (b += 1);1 < b && --b;return b < 1 / 6 ? a + 6 * (c - a) * b : .5 > b ? c : b < 2 / 3 ? a + (c - a) * (2 / 3 - b) * 6 : a;\n }var d = /hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(a) || /hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(a);a = parseInt(d[1]) / 360;var b = parseInt(d[2]) / 100,\n f = parseInt(d[3]) / 100,\n d = d[4] || 1;if (0 == b) f = b = a = f;else {\n var n = .5 > f ? f * (1 + b) : f + b - f * b,\n k = 2 * f - n,\n f = c(k, n, a + 1 / 3),\n b = c(k, n, a);a = c(k, n, a - 1 / 3);\n }return \"rgba(\" + 255 * f + \",\" + 255 * b + \",\" + 255 * a + \",\" + d + \")\";\n }function y(a) {\n if (a = /([\\+\\-]?[0-9#\\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a)) return a[2];\n }function V(a) {\n if (-1 < a.indexOf(\"translate\") || \"perspective\" === a) return \"px\";if (-1 < a.indexOf(\"rotate\") || -1 < a.indexOf(\"skew\")) return \"deg\";\n }function I(a, c) {\n return h.fnc(a) ? a(c.target, c.id, c.total) : a;\n }function E(a, c) {\n if (c in a.style) return getComputedStyle(a).getPropertyValue(c.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase()) || \"0\";\n }function J(a, c) {\n if (h.dom(a) && u(W, c)) return \"transform\";if (h.dom(a) && (a.getAttribute(c) || h.svg(a) && a[c])) return \"attribute\";if (h.dom(a) && \"transform\" !== c && E(a, c)) return \"css\";if (null != a[c]) return \"object\";\n }function X(a, c) {\n var d = V(c),\n d = -1 < c.indexOf(\"scale\") ? 1 : 0 + d;a = a.style.transform;if (!a) return d;for (var b = [], f = [], n = [], k = /(\\w+)\\((.+?)\\)/g; b = k.exec(a);) {\n f.push(b[1]), n.push(b[2]);\n }a = r(n, function (a, b) {\n return f[b] === c;\n });return a.length ? a[0] : d;\n }function K(a, c) {\n switch (J(a, c)) {case \"transform\":\n return X(a, c);case \"css\":\n return E(a, c);case \"attribute\":\n return a.getAttribute(c);}return a[c] || 0;\n }function L(a, c) {\n var d = /^(\\*=|\\+=|-=)/.exec(a);if (!d) return a;var b = y(a) || 0;c = parseFloat(c);a = parseFloat(a.replace(d[0], \"\"));switch (d[0][0]) {case \"+\":\n return c + a + b;case \"-\":\n return c - a + b;case \"*\":\n return c * a + b;}\n }function F(a, c) {\n return Math.sqrt(Math.pow(c.x - a.x, 2) + Math.pow(c.y - a.y, 2));\n }function M(a) {\n a = a.points;for (var c = 0, d, b = 0; b < a.numberOfItems; b++) {\n var f = a.getItem(b);0 < b && (c += F(d, f));d = f;\n }return c;\n }function N(a) {\n if (a.getTotalLength) return a.getTotalLength();switch (a.tagName.toLowerCase()) {case \"circle\":\n return 2 * Math.PI * a.getAttribute(\"r\");case \"rect\":\n return 2 * a.getAttribute(\"width\") + 2 * a.getAttribute(\"height\");case \"line\":\n return F({ x: a.getAttribute(\"x1\"), y: a.getAttribute(\"y1\") }, { x: a.getAttribute(\"x2\"), y: a.getAttribute(\"y2\") });case \"polyline\":\n return M(a);case \"polygon\":\n var c = a.points;return M(a) + F(c.getItem(c.numberOfItems - 1), c.getItem(0));}\n }function Y(a, c) {\n function d(b) {\n b = void 0 === b ? 0 : b;return a.el.getPointAtLength(1 <= c + b ? c + b : 0);\n }var b = d(),\n f = d(-1),\n n = d(1);switch (a.property) {case \"x\":\n return b.x;case \"y\":\n return b.y;\n case \"angle\":\n return 180 * Math.atan2(n.y - f.y, n.x - f.x) / Math.PI;}\n }function O(a, c) {\n var d = /-?\\d*\\.?\\d+/g,\n b;b = h.pth(a) ? a.totalLength : a;if (h.col(b)) {\n if (h.rgb(b)) {\n var f = /rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(b);b = f ? \"rgba(\" + f[1] + \",1)\" : b;\n } else b = h.hex(b) ? T(b) : h.hsl(b) ? U(b) : void 0;\n } else f = (f = y(b)) ? b.substr(0, b.length - f.length) : b, b = c && !/\\s/g.test(b) ? f + c : f;b += \"\";return { original: b, numbers: b.match(d) ? b.match(d).map(Number) : [0], strings: h.str(a) || c ? b.split(d) : [] };\n }function P(a) {\n a = a ? p(h.arr(a) ? a.map(m) : m(a)) : [];return r(a, function (a, d, b) {\n return b.indexOf(a) === d;\n });\n }function Z(a) {\n var c = P(a);return c.map(function (a, b) {\n return { target: a, id: b, total: c.length };\n });\n }function aa(a, c) {\n var d = C(c);if (h.arr(a)) {\n var b = a.length;2 !== b || h.obj(a[0]) ? h.fnc(c.duration) || (d.duration = c.duration / b) : a = { value: a };\n }return m(a).map(function (a, b) {\n b = b ? 0 : c.delay;a = h.obj(a) && !h.pth(a) ? a : { value: a };h.und(a.delay) && (a.delay = b);return a;\n }).map(function (a) {\n return z(a, d);\n });\n }function ba(a, c) {\n var d = {},\n b;for (b in a) {\n var f = I(a[b], c);h.arr(f) && (f = f.map(function (a) {\n return I(a, c);\n }), 1 === f.length && (f = f[0]));d[b] = f;\n }d.duration = parseFloat(d.duration);d.delay = parseFloat(d.delay);return d;\n }function ca(a) {\n return h.arr(a) ? A.apply(this, a) : Q[a];\n }function da(a, c) {\n var d;return a.tweens.map(function (b) {\n b = ba(b, c);var f = b.value,\n e = K(c.target, a.name),\n k = d ? d.to.original : e,\n k = h.arr(f) ? f[0] : k,\n w = L(h.arr(f) ? f[1] : f, k),\n e = y(w) || y(k) || y(e);b.from = O(k, e);b.to = O(w, e);b.start = d ? d.end : a.offset;b.end = b.start + b.delay + b.duration;b.easing = ca(b.easing);b.elasticity = (1E3 - Math.min(Math.max(b.elasticity, 1), 999)) / 1E3;b.isPath = h.pth(f);b.isColor = h.col(b.from.original);b.isColor && (b.round = 1);return d = b;\n });\n }function ea(a, c) {\n return r(p(a.map(function (a) {\n return c.map(function (b) {\n var c = J(a.target, b.name);if (c) {\n var d = da(b, a);b = { type: c, property: b.name, animatable: a, tweens: d, duration: d[d.length - 1].end, delay: d[0].delay };\n } else b = void 0;return b;\n });\n })), function (a) {\n return !h.und(a);\n });\n }function R(a, c, d, b) {\n var f = \"delay\" === a;return c.length ? (f ? Math.min : Math.max).apply(Math, c.map(function (b) {\n return b[a];\n })) : f ? b.delay : d.offset + b.delay + b.duration;\n }function fa(a) {\n var c = D(ga, a),\n d = D(S, a),\n b = Z(a.targets),\n f = [],\n e = z(c, d),\n k;for (k in a) {\n e.hasOwnProperty(k) || \"targets\" === k || f.push({ name: k, offset: e.offset, tweens: aa(a[k], d) });\n }a = ea(b, f);return z(c, { children: [], animatables: b, animations: a, duration: R(\"duration\", a, c, d), delay: R(\"delay\", a, c, d) });\n }function q(a) {\n function c() {\n return window.Promise && new Promise(function (a) {\n return p = a;\n });\n }function d(a) {\n return g.reversed ? g.duration - a : a;\n }function b(a) {\n for (var b = 0, c = {}, d = g.animations, f = d.length; b < f;) {\n var e = d[b],\n k = e.animatable,\n h = e.tweens,\n n = h.length - 1,\n l = h[n];n && (l = r(h, function (b) {\n return a < b.end;\n })[0] || l);for (var h = Math.min(Math.max(a - l.start - l.delay, 0), l.duration) / l.duration, w = isNaN(h) ? 1 : l.easing(h, l.elasticity), h = l.to.strings, p = l.round, n = [], m = void 0, m = l.to.numbers.length, t = 0; t < m; t++) {\n var x = void 0,\n x = l.to.numbers[t],\n q = l.from.numbers[t],\n x = l.isPath ? Y(l.value, w * x) : q + w * (x - q);p && (l.isColor && 2 < t || (x = Math.round(x * p) / p));n.push(x);\n }if (l = h.length) for (m = h[0], w = 0; w < l; w++) {\n p = h[w + 1], t = n[w], isNaN(t) || (m = p ? m + (t + p) : m + (t + \" \"));\n } else m = n[0];ha[e.type](k.target, e.property, m, c, k.id);e.currentValue = m;b++;\n }if (b = Object.keys(c).length) for (d = 0; d < b; d++) {\n H || (H = E(document.body, \"transform\") ? \"transform\" : \"-webkit-transform\"), g.animatables[d].target.style[H] = c[d].join(\" \");\n }g.currentTime = a;g.progress = a / g.duration * 100;\n }function f(a) {\n if (g[a]) g[a](g);\n }function e() {\n g.remaining && !0 !== g.remaining && g.remaining--;\n }function k(a) {\n var k = g.duration,\n n = g.offset,\n w = n + g.delay,\n r = g.currentTime,\n x = g.reversed,\n q = d(a);if (g.children.length) {\n var u = g.children,\n v = u.length;\n if (q >= g.currentTime) for (var G = 0; G < v; G++) {\n u[G].seek(q);\n } else for (; v--;) {\n u[v].seek(q);\n }\n }if (q >= w || !k) g.began || (g.began = !0, f(\"begin\")), f(\"run\");if (q > n && q < k) b(q);else if (q <= n && 0 !== r && (b(0), x && e()), q >= k && r !== k || !k) b(k), x || e();f(\"update\");a >= k && (g.remaining ? (t = h, \"alternate\" === g.direction && (g.reversed = !g.reversed)) : (g.pause(), g.completed || (g.completed = !0, f(\"complete\"), \"Promise\" in window && (p(), m = c()))), l = 0);\n }a = void 0 === a ? {} : a;var h,\n t,\n l = 0,\n p = null,\n m = c(),\n g = fa(a);g.reset = function () {\n var a = g.direction,\n c = g.loop;g.currentTime = 0;g.progress = 0;g.paused = !0;g.began = !1;g.completed = !1;g.reversed = \"reverse\" === a;g.remaining = \"alternate\" === a && 1 === c ? 2 : c;b(0);for (a = g.children.length; a--;) {\n g.children[a].reset();\n }\n };g.tick = function (a) {\n h = a;t || (t = h);k((l + h - t) * q.speed);\n };g.seek = function (a) {\n k(d(a));\n };g.pause = function () {\n var a = v.indexOf(g);-1 < a && v.splice(a, 1);g.paused = !0;\n };g.play = function () {\n g.paused && (g.paused = !1, t = 0, l = d(g.currentTime), v.push(g), B || ia());\n };g.reverse = function () {\n g.reversed = !g.reversed;t = 0;l = d(g.currentTime);\n };g.restart = function () {\n g.pause();\n g.reset();g.play();\n };g.finished = m;g.reset();g.autoplay && g.play();return g;\n }var ga = { update: void 0, begin: void 0, run: void 0, complete: void 0, loop: 1, direction: \"normal\", autoplay: !0, offset: 0 },\n S = { duration: 1E3, delay: 0, easing: \"easeOutElastic\", elasticity: 500, round: 0 },\n W = \"translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective\".split(\" \"),\n H,\n h = { arr: function (a) {\n return Array.isArray(a);\n }, obj: function (a) {\n return -1 < Object.prototype.toString.call(a).indexOf(\"Object\");\n },\n pth: function (a) {\n return h.obj(a) && a.hasOwnProperty(\"totalLength\");\n }, svg: function (a) {\n return a instanceof SVGElement;\n }, dom: function (a) {\n return a.nodeType || h.svg(a);\n }, str: function (a) {\n return \"string\" === typeof a;\n }, fnc: function (a) {\n return \"function\" === typeof a;\n }, und: function (a) {\n return \"undefined\" === typeof a;\n }, hex: function (a) {\n return (/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a)\n );\n }, rgb: function (a) {\n return (/^rgb/.test(a)\n );\n }, hsl: function (a) {\n return (/^hsl/.test(a)\n );\n }, col: function (a) {\n return h.hex(a) || h.rgb(a) || h.hsl(a);\n } },\n A = function () {\n function a(a, d, b) {\n return (((1 - 3 * b + 3 * d) * a + (3 * b - 6 * d)) * a + 3 * d) * a;\n }return function (c, d, b, f) {\n if (0 <= c && 1 >= c && 0 <= b && 1 >= b) {\n var e = new Float32Array(11);if (c !== d || b !== f) for (var k = 0; 11 > k; ++k) {\n e[k] = a(.1 * k, c, b);\n }return function (k) {\n if (c === d && b === f) return k;if (0 === k) return 0;if (1 === k) return 1;for (var h = 0, l = 1; 10 !== l && e[l] <= k; ++l) {\n h += .1;\n }--l;var l = h + (k - e[l]) / (e[l + 1] - e[l]) * .1,\n n = 3 * (1 - 3 * b + 3 * c) * l * l + 2 * (3 * b - 6 * c) * l + 3 * c;if (.001 <= n) {\n for (h = 0; 4 > h; ++h) {\n n = 3 * (1 - 3 * b + 3 * c) * l * l + 2 * (3 * b - 6 * c) * l + 3 * c;if (0 === n) break;var m = a(l, c, b) - k,\n l = l - m / n;\n }k = l;\n } else if (0 === n) k = l;else {\n var l = h,\n h = h + .1,\n g = 0;do {\n m = l + (h - l) / 2, n = a(m, c, b) - k, 0 < n ? h = m : l = m;\n } while (1e-7 < Math.abs(n) && 10 > ++g);k = m;\n }return a(k, d, f);\n };\n }\n };\n }(),\n Q = function () {\n function a(a, b) {\n return 0 === a || 1 === a ? a : -Math.pow(2, 10 * (a - 1)) * Math.sin(2 * (a - 1 - b / (2 * Math.PI) * Math.asin(1)) * Math.PI / b);\n }var c = \"Quad Cubic Quart Quint Sine Expo Circ Back Elastic\".split(\" \"),\n d = { In: [[.55, .085, .68, .53], [.55, .055, .675, .19], [.895, .03, .685, .22], [.755, .05, .855, .06], [.47, 0, .745, .715], [.95, .05, .795, .035], [.6, .04, .98, .335], [.6, -.28, .735, .045], a], Out: [[.25, .46, .45, .94], [.215, .61, .355, 1], [.165, .84, .44, 1], [.23, 1, .32, 1], [.39, .575, .565, 1], [.19, 1, .22, 1], [.075, .82, .165, 1], [.175, .885, .32, 1.275], function (b, c) {\n return 1 - a(1 - b, c);\n }], InOut: [[.455, .03, .515, .955], [.645, .045, .355, 1], [.77, 0, .175, 1], [.86, 0, .07, 1], [.445, .05, .55, .95], [1, 0, 0, 1], [.785, .135, .15, .86], [.68, -.55, .265, 1.55], function (b, c) {\n return .5 > b ? a(2 * b, c) / 2 : 1 - a(-2 * b + 2, c) / 2;\n }] },\n b = { linear: A(.25, .25, .75, .75) },\n f = {},\n e;for (e in d) {\n f.type = e, d[f.type].forEach(function (a) {\n return function (d, f) {\n b[\"ease\" + a.type + c[f]] = h.fnc(d) ? d : A.apply($jscomp$this, d);\n };\n }(f)), f = { type: f.type };\n }return b;\n }(),\n ha = { css: function (a, c, d) {\n return a.style[c] = d;\n }, attribute: function (a, c, d) {\n return a.setAttribute(c, d);\n }, object: function (a, c, d) {\n return a[c] = d;\n }, transform: function (a, c, d, b, f) {\n b[f] || (b[f] = []);b[f].push(c + \"(\" + d + \")\");\n } },\n v = [],\n B = 0,\n ia = function () {\n function a() {\n B = requestAnimationFrame(c);\n }function c(c) {\n var b = v.length;if (b) {\n for (var d = 0; d < b;) {\n v[d] && v[d].tick(c), d++;\n }a();\n } else cancelAnimationFrame(B), B = 0;\n }return a;\n }();q.version = \"2.2.0\";q.speed = 1;q.running = v;q.remove = function (a) {\n a = P(a);for (var c = v.length; c--;) {\n for (var d = v[c], b = d.animations, f = b.length; f--;) {\n u(a, b[f].animatable.target) && (b.splice(f, 1), b.length || d.pause());\n }\n }\n };q.getValue = K;q.path = function (a, c) {\n var d = h.str(a) ? e(a)[0] : a,\n b = c || 100;return function (a) {\n return { el: d, property: a, totalLength: N(d) * (b / 100) };\n };\n };q.setDashoffset = function (a) {\n var c = N(a);a.setAttribute(\"stroke-dasharray\", c);return c;\n };q.bezier = A;q.easings = Q;q.timeline = function (a) {\n var c = q(a);c.pause();c.duration = 0;c.add = function (d) {\n c.children.forEach(function (a) {\n a.began = !0;a.completed = !0;\n });m(d).forEach(function (b) {\n var d = z(b, D(S, a || {}));d.targets = d.targets || a.targets;b = c.duration;var e = d.offset;d.autoplay = !1;d.direction = c.direction;d.offset = h.und(e) ? b : L(e, b);c.began = !0;c.completed = !0;c.seek(d.offset);d = q(d);d.began = !0;d.completed = !0;d.duration > b && (c.duration = d.duration);c.children.push(d);\n });c.seek(0);c.reset();c.autoplay && c.restart();return c;\n };return c;\n };q.random = function (a, c) {\n return Math.floor(Math.random() * (c - a + 1)) + a;\n };return q;\n});\n;(function ($, anim) {\n 'use strict';\n\n var _defaults = {\n accordion: true,\n onOpenStart: undefined,\n onOpenEnd: undefined,\n onCloseStart: undefined,\n onCloseEnd: undefined,\n inDuration: 300,\n outDuration: 300\n };\n\n /**\n * @class\n *\n */\n\n var Collapsible = function (_Component) {\n _inherits(Collapsible, _Component);\n\n /**\n * Construct Collapsible instance\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function Collapsible(el, options) {\n _classCallCheck(this, Collapsible);\n\n var _this3 = _possibleConstructorReturn(this, (Collapsible.__proto__ || Object.getPrototypeOf(Collapsible)).call(this, Collapsible, el, options));\n\n _this3.el.M_Collapsible = _this3;\n\n /**\n * Options for the collapsible\n * @member Collapsible#options\n * @prop {Boolean} [accordion=false] - Type of the collapsible\n * @prop {Function} onOpenStart - Callback function called before collapsible is opened\n * @prop {Function} onOpenEnd - Callback function called after collapsible is opened\n * @prop {Function} onCloseStart - Callback function called before collapsible is closed\n * @prop {Function} onCloseEnd - Callback function called after collapsible is closed\n * @prop {Number} inDuration - Transition in duration in milliseconds.\n * @prop {Number} outDuration - Transition duration in milliseconds.\n */\n _this3.options = $.extend({}, Collapsible.defaults, options);\n\n // Setup tab indices\n _this3.$headers = _this3.$el.children('li').children('.collapsible-header');\n _this3.$headers.attr('tabindex', 0);\n\n _this3._setupEventHandlers();\n\n // Open first active\n var $activeBodies = _this3.$el.children('li.active').children('.collapsible-body');\n if (_this3.options.accordion) {\n // Handle Accordion\n $activeBodies.first().css('display', 'block');\n } else {\n // Handle Expandables\n $activeBodies.css('display', 'block');\n }\n return _this3;\n }\n\n _createClass(Collapsible, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this.el.M_Collapsible = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n var _this4 = this;\n\n this._handleCollapsibleClickBound = this._handleCollapsibleClick.bind(this);\n this._handleCollapsibleKeydownBound = this._handleCollapsibleKeydown.bind(this);\n this.el.addEventListener('click', this._handleCollapsibleClickBound);\n this.$headers.each(function (header) {\n header.addEventListener('keydown', _this4._handleCollapsibleKeydownBound);\n });\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n var _this5 = this;\n\n this.el.removeEventListener('click', this._handleCollapsibleClickBound);\n this.$headers.each(function (header) {\n header.removeEventListener('keydown', _this5._handleCollapsibleKeydownBound);\n });\n }\n\n /**\n * Handle Collapsible Click\n * @param {Event} e\n */\n\n }, {\n key: \"_handleCollapsibleClick\",\n value: function _handleCollapsibleClick(e) {\n var $header = $(e.target).closest('.collapsible-header');\n if (e.target && $header.length) {\n var $collapsible = $header.closest('.collapsible');\n if ($collapsible[0] === this.el) {\n var $collapsibleLi = $header.closest('li');\n var $collapsibleLis = $collapsible.children('li');\n var isActive = $collapsibleLi[0].classList.contains('active');\n var index = $collapsibleLis.index($collapsibleLi);\n\n if (isActive) {\n this.close(index);\n } else {\n this.open(index);\n }\n }\n }\n }\n\n /**\n * Handle Collapsible Keydown\n * @param {Event} e\n */\n\n }, {\n key: \"_handleCollapsibleKeydown\",\n value: function _handleCollapsibleKeydown(e) {\n if (e.keyCode === 13) {\n this._handleCollapsibleClickBound(e);\n }\n }\n\n /**\n * Animate in collapsible slide\n * @param {Number} index - 0th index of slide\n */\n\n }, {\n key: \"_animateIn\",\n value: function _animateIn(index) {\n var _this6 = this;\n\n var $collapsibleLi = this.$el.children('li').eq(index);\n if ($collapsibleLi.length) {\n var $body = $collapsibleLi.children('.collapsible-body');\n\n anim.remove($body[0]);\n $body.css({\n display: 'block',\n overflow: 'hidden',\n height: 0,\n paddingTop: '',\n paddingBottom: ''\n });\n\n var pTop = $body.css('padding-top');\n var pBottom = $body.css('padding-bottom');\n var finalHeight = $body[0].scrollHeight;\n $body.css({\n paddingTop: 0,\n paddingBottom: 0\n });\n\n anim({\n targets: $body[0],\n height: finalHeight,\n paddingTop: pTop,\n paddingBottom: pBottom,\n duration: this.options.inDuration,\n easing: 'easeInOutCubic',\n complete: function (anim) {\n $body.css({\n overflow: '',\n paddingTop: '',\n paddingBottom: '',\n height: ''\n });\n\n // onOpenEnd callback\n if (typeof _this6.options.onOpenEnd === 'function') {\n _this6.options.onOpenEnd.call(_this6, $collapsibleLi[0]);\n }\n }\n });\n }\n }\n\n /**\n * Animate out collapsible slide\n * @param {Number} index - 0th index of slide to open\n */\n\n }, {\n key: \"_animateOut\",\n value: function _animateOut(index) {\n var _this7 = this;\n\n var $collapsibleLi = this.$el.children('li').eq(index);\n if ($collapsibleLi.length) {\n var $body = $collapsibleLi.children('.collapsible-body');\n anim.remove($body[0]);\n $body.css('overflow', 'hidden');\n anim({\n targets: $body[0],\n height: 0,\n paddingTop: 0,\n paddingBottom: 0,\n duration: this.options.outDuration,\n easing: 'easeInOutCubic',\n complete: function () {\n $body.css({\n height: '',\n overflow: '',\n padding: '',\n display: ''\n });\n\n // onCloseEnd callback\n if (typeof _this7.options.onCloseEnd === 'function') {\n _this7.options.onCloseEnd.call(_this7, $collapsibleLi[0]);\n }\n }\n });\n }\n }\n\n /**\n * Open Collapsible\n * @param {Number} index - 0th index of slide\n */\n\n }, {\n key: \"open\",\n value: function open(index) {\n var _this8 = this;\n\n var $collapsibleLi = this.$el.children('li').eq(index);\n if ($collapsibleLi.length && !$collapsibleLi[0].classList.contains('active')) {\n // onOpenStart callback\n if (typeof this.options.onOpenStart === 'function') {\n this.options.onOpenStart.call(this, $collapsibleLi[0]);\n }\n\n // Handle accordion behavior\n if (this.options.accordion) {\n var $collapsibleLis = this.$el.children('li');\n var $activeLis = this.$el.children('li.active');\n $activeLis.each(function (el) {\n var index = $collapsibleLis.index($(el));\n _this8.close(index);\n });\n }\n\n // Animate in\n $collapsibleLi[0].classList.add('active');\n this._animateIn(index);\n }\n }\n\n /**\n * Close Collapsible\n * @param {Number} index - 0th index of slide\n */\n\n }, {\n key: \"close\",\n value: function close(index) {\n var $collapsibleLi = this.$el.children('li').eq(index);\n if ($collapsibleLi.length && $collapsibleLi[0].classList.contains('active')) {\n // onCloseStart callback\n if (typeof this.options.onCloseStart === 'function') {\n this.options.onCloseStart.call(this, $collapsibleLi[0]);\n }\n\n // Animate out\n $collapsibleLi[0].classList.remove('active');\n this._animateOut(index);\n }\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(Collapsible.__proto__ || Object.getPrototypeOf(Collapsible), \"init\", this).call(this, this, els, options);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_Collapsible;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return Collapsible;\n }(Component);\n\n M.Collapsible = Collapsible;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(Collapsible, 'collapsible', 'M_Collapsible');\n }\n})(cash, M.anime);\n;(function ($, anim) {\n 'use strict';\n\n var _defaults = {\n alignment: 'left',\n autoFocus: true,\n constrainWidth: true,\n container: null,\n coverTrigger: true,\n closeOnClick: true,\n hover: false,\n inDuration: 150,\n outDuration: 250,\n onOpenStart: null,\n onOpenEnd: null,\n onCloseStart: null,\n onCloseEnd: null,\n onItemClick: null\n };\n\n /**\n * @class\n */\n\n var Dropdown = function (_Component2) {\n _inherits(Dropdown, _Component2);\n\n function Dropdown(el, options) {\n _classCallCheck(this, Dropdown);\n\n var _this9 = _possibleConstructorReturn(this, (Dropdown.__proto__ || Object.getPrototypeOf(Dropdown)).call(this, Dropdown, el, options));\n\n _this9.el.M_Dropdown = _this9;\n Dropdown._dropdowns.push(_this9);\n\n _this9.id = M.getIdFromTrigger(el);\n _this9.dropdownEl = document.getElementById(_this9.id);\n _this9.$dropdownEl = $(_this9.dropdownEl);\n\n /**\n * Options for the dropdown\n * @member Dropdown#options\n * @prop {String} [alignment='left'] - Edge which the dropdown is aligned to\n * @prop {Boolean} [autoFocus=true] - Automatically focus dropdown el for keyboard\n * @prop {Boolean} [constrainWidth=true] - Constrain width to width of the button\n * @prop {Element} container - Container element to attach dropdown to (optional)\n * @prop {Boolean} [coverTrigger=true] - Place dropdown over trigger\n * @prop {Boolean} [closeOnClick=true] - Close on click of dropdown item\n * @prop {Boolean} [hover=false] - Open dropdown on hover\n * @prop {Number} [inDuration=150] - Duration of open animation in ms\n * @prop {Number} [outDuration=250] - Duration of close animation in ms\n * @prop {Function} onOpenStart - Function called when dropdown starts opening\n * @prop {Function} onOpenEnd - Function called when dropdown finishes opening\n * @prop {Function} onCloseStart - Function called when dropdown starts closing\n * @prop {Function} onCloseEnd - Function called when dropdown finishes closing\n */\n _this9.options = $.extend({}, Dropdown.defaults, options);\n\n /**\n * Describes open/close state of dropdown\n * @type {Boolean}\n */\n _this9.isOpen = false;\n\n /**\n * Describes if dropdown content is scrollable\n * @type {Boolean}\n */\n _this9.isScrollable = false;\n\n /**\n * Describes if touch moving on dropdown content\n * @type {Boolean}\n */\n _this9.isTouchMoving = false;\n\n _this9.focusedIndex = -1;\n _this9.filterQuery = [];\n\n // Move dropdown-content after dropdown-trigger\n if (!!_this9.options.container) {\n $(_this9.options.container).append(_this9.dropdownEl);\n } else {\n _this9.$el.after(_this9.dropdownEl);\n }\n\n _this9._makeDropdownFocusable();\n _this9._resetFilterQueryBound = _this9._resetFilterQuery.bind(_this9);\n _this9._handleDocumentClickBound = _this9._handleDocumentClick.bind(_this9);\n _this9._handleDocumentTouchmoveBound = _this9._handleDocumentTouchmove.bind(_this9);\n _this9._handleDropdownClickBound = _this9._handleDropdownClick.bind(_this9);\n _this9._handleDropdownKeydownBound = _this9._handleDropdownKeydown.bind(_this9);\n _this9._handleTriggerKeydownBound = _this9._handleTriggerKeydown.bind(_this9);\n _this9._setupEventHandlers();\n return _this9;\n }\n\n _createClass(Dropdown, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._resetDropdownStyles();\n this._removeEventHandlers();\n Dropdown._dropdowns.splice(Dropdown._dropdowns.indexOf(this), 1);\n this.el.M_Dropdown = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n // Trigger keydown handler\n this.el.addEventListener('keydown', this._handleTriggerKeydownBound);\n\n // Item click handler\n this.dropdownEl.addEventListener('click', this._handleDropdownClickBound);\n\n // Hover event handlers\n if (this.options.hover) {\n this._handleMouseEnterBound = this._handleMouseEnter.bind(this);\n this.el.addEventListener('mouseenter', this._handleMouseEnterBound);\n this._handleMouseLeaveBound = this._handleMouseLeave.bind(this);\n this.el.addEventListener('mouseleave', this._handleMouseLeaveBound);\n this.dropdownEl.addEventListener('mouseleave', this._handleMouseLeaveBound);\n\n // Click event handlers\n } else {\n this._handleClickBound = this._handleClick.bind(this);\n this.el.addEventListener('click', this._handleClickBound);\n }\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n this.el.removeEventListener('keydown', this._handleTriggerKeydownBound);\n this.dropdownEl.removeEventListener('click', this._handleDropdownClickBound);\n\n if (this.options.hover) {\n this.el.removeEventListener('mouseenter', this._handleMouseEnterBound);\n this.el.removeEventListener('mouseleave', this._handleMouseLeaveBound);\n this.dropdownEl.removeEventListener('mouseleave', this._handleMouseLeaveBound);\n } else {\n this.el.removeEventListener('click', this._handleClickBound);\n }\n }\n }, {\n key: \"_setupTemporaryEventHandlers\",\n value: function _setupTemporaryEventHandlers() {\n // Use capture phase event handler to prevent click\n document.body.addEventListener('click', this._handleDocumentClickBound, true);\n document.body.addEventListener('touchend', this._handleDocumentClickBound);\n document.body.addEventListener('touchmove', this._handleDocumentTouchmoveBound, {passive: true});\n this.dropdownEl.addEventListener('keydown', this._handleDropdownKeydownBound);\n }\n }, {\n key: \"_removeTemporaryEventHandlers\",\n value: function _removeTemporaryEventHandlers() {\n // Use capture phase event handler to prevent click\n document.body.removeEventListener('click', this._handleDocumentClickBound, true);\n document.body.removeEventListener('touchend', this._handleDocumentClickBound);\n document.body.removeEventListener('touchmove', this._handleDocumentTouchmoveBound);\n this.dropdownEl.removeEventListener('keydown', this._handleDropdownKeydownBound);\n }\n }, {\n key: \"_handleClick\",\n value: function _handleClick(e) {\n e.preventDefault();\n this.open();\n }\n }, {\n key: \"_handleMouseEnter\",\n value: function _handleMouseEnter() {\n this.open();\n }\n }, {\n key: \"_handleMouseLeave\",\n value: function _handleMouseLeave(e) {\n var toEl = e.toElement || e.relatedTarget;\n var leaveToDropdownContent = !!$(toEl).closest('.dropdown-content').length;\n var leaveToActiveDropdownTrigger = false;\n\n var $closestTrigger = $(toEl).closest('.dropdown-trigger');\n if ($closestTrigger.length && !!$closestTrigger[0].M_Dropdown && $closestTrigger[0].M_Dropdown.isOpen) {\n leaveToActiveDropdownTrigger = true;\n }\n\n // Close hover dropdown if mouse did not leave to either active dropdown-trigger or dropdown-content\n if (!leaveToActiveDropdownTrigger && !leaveToDropdownContent) {\n this.close();\n }\n }\n }, {\n key: \"_handleDocumentClick\",\n value: function _handleDocumentClick(e) {\n var _this10 = this;\n\n var $target = $(e.target);\n if (this.options.closeOnClick && $target.closest('.dropdown-content').length && !this.isTouchMoving) {\n // isTouchMoving to check if scrolling on mobile.\n setTimeout(function () {\n _this10.close();\n }, 0);\n } else if ($target.closest('.dropdown-trigger').length || !$target.closest('.dropdown-content').length) {\n setTimeout(function () {\n _this10.close();\n }, 0);\n }\n this.isTouchMoving = false;\n }\n }, {\n key: \"_handleTriggerKeydown\",\n value: function _handleTriggerKeydown(e) {\n // ARROW DOWN OR ENTER WHEN SELECT IS CLOSED - open Dropdown\n if ((e.which === M.keys.ARROW_DOWN || e.which === M.keys.ENTER) && !this.isOpen) {\n e.preventDefault();\n this.open();\n }\n }\n\n /**\n * Handle Document Touchmove\n * @param {Event} e\n */\n\n }, {\n key: \"_handleDocumentTouchmove\",\n value: function _handleDocumentTouchmove(e) {\n var $target = $(e.target);\n if ($target.closest('.dropdown-content').length) {\n this.isTouchMoving = true;\n }\n }\n\n /**\n * Handle Dropdown Click\n * @param {Event} e\n */\n\n }, {\n key: \"_handleDropdownClick\",\n value: function _handleDropdownClick(e) {\n // onItemClick callback\n if (typeof this.options.onItemClick === 'function') {\n var itemEl = $(e.target).closest('li')[0];\n this.options.onItemClick.call(this, itemEl);\n }\n }\n\n /**\n * Handle Dropdown Keydown\n * @param {Event} e\n */\n\n }, {\n key: \"_handleDropdownKeydown\",\n value: function _handleDropdownKeydown(e) {\n if (e.which === M.keys.TAB) {\n e.preventDefault();\n this.close();\n\n // Navigate down dropdown list\n } else if ((e.which === M.keys.ARROW_DOWN || e.which === M.keys.ARROW_UP) && this.isOpen) {\n e.preventDefault();\n var direction = e.which === M.keys.ARROW_DOWN ? 1 : -1;\n var newFocusedIndex = this.focusedIndex;\n var foundNewIndex = false;\n do {\n newFocusedIndex = newFocusedIndex + direction;\n\n if (!!this.dropdownEl.children[newFocusedIndex] && this.dropdownEl.children[newFocusedIndex].tabIndex !== -1) {\n foundNewIndex = true;\n break;\n }\n } while (newFocusedIndex < this.dropdownEl.children.length && newFocusedIndex >= 0);\n\n if (foundNewIndex) {\n this.focusedIndex = newFocusedIndex;\n this._focusFocusedItem();\n }\n\n // ENTER selects choice on focused item\n } else if (e.which === M.keys.ENTER && this.isOpen) {\n // Search for and \") + '';\n }\n }, {\n key: \"renderRow\",\n value: function renderRow(days, isRTL, isRowSelected) {\n return '' + (isRTL ? days.reverse() : days).join('') + '';\n }\n }, {\n key: \"renderTable\",\n value: function renderTable(opts, data, randId) {\n return '
' + this.renderHead(opts) + this.renderBody(data) + '
';\n }\n }, {\n key: \"renderHead\",\n value: function renderHead(opts) {\n var i = void 0,\n arr = [];\n for (i = 0; i < 7; i++) {\n arr.push(\"\" + this.renderDayName(opts, i, true) + \"\");\n }\n return '' + (opts.isRTL ? arr.reverse() : arr).join('') + '';\n }\n }, {\n key: \"renderBody\",\n value: function renderBody(rows) {\n return '' + rows.join('') + '';\n }\n }, {\n key: \"renderTitle\",\n value: function renderTitle(instance, c, year, month, refYear, randId) {\n var i = void 0,\n j = void 0,\n arr = void 0,\n opts = this.options,\n isMinYear = year === opts.minYear,\n isMaxYear = year === opts.maxYear,\n html = '
',\n monthHtml = void 0,\n yearHtml = void 0,\n prev = true,\n next = true;\n\n for (arr = [], i = 0; i < 12; i++) {\n arr.push('');\n }\n\n monthHtml = '';\n\n if ($.isArray(opts.yearRange)) {\n i = opts.yearRange[0];\n j = opts.yearRange[1] + 1;\n } else {\n i = year - opts.yearRange;\n j = 1 + year + opts.yearRange;\n }\n\n for (arr = []; i < j && i <= opts.maxYear; i++) {\n if (i >= opts.minYear) {\n arr.push(\"\");\n }\n }\n\n yearHtml = \"\";\n\n var leftArrow = '';\n html += \"\";\n\n html += '
';\n if (opts.showMonthAfterYear) {\n html += yearHtml + monthHtml;\n } else {\n html += monthHtml + yearHtml;\n }\n html += '
';\n\n if (isMinYear && (month === 0 || opts.minMonth >= month)) {\n prev = false;\n }\n\n if (isMaxYear && (month === 11 || opts.maxMonth <= month)) {\n next = false;\n }\n\n var rightArrow = '';\n html += \"\";\n\n return html += '
';\n }\n\n /**\n * refresh the HTML\n */\n\n }, {\n key: \"draw\",\n value: function draw(force) {\n if (!this.isOpen && !force) {\n return;\n }\n var opts = this.options,\n minYear = opts.minYear,\n maxYear = opts.maxYear,\n minMonth = opts.minMonth,\n maxMonth = opts.maxMonth,\n html = '',\n randId = void 0;\n\n if (this._y <= minYear) {\n this._y = minYear;\n if (!isNaN(minMonth) && this._m < minMonth) {\n this._m = minMonth;\n }\n }\n if (this._y >= maxYear) {\n this._y = maxYear;\n if (!isNaN(maxMonth) && this._m > maxMonth) {\n this._m = maxMonth;\n }\n }\n\n randId = 'datepicker-title-' + Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 2);\n\n for (var c = 0; c < 1; c++) {\n this._renderDateDisplay();\n html += this.renderTitle(this, c, this.calendars[c].year, this.calendars[c].month, this.calendars[0].year, randId) + this.render(this.calendars[c].year, this.calendars[c].month, randId);\n }\n\n this.destroySelects();\n\n this.calendarEl.innerHTML = html;\n\n // Init Materialize Select\n var yearSelect = this.calendarEl.querySelector('.orig-select-year');\n var monthSelect = this.calendarEl.querySelector('.orig-select-month');\n M.FormSelect.init(yearSelect, {\n classes: 'select-year',\n dropdownOptions: { container: document.body, constrainWidth: false }\n });\n M.FormSelect.init(monthSelect, {\n classes: 'select-month',\n dropdownOptions: { container: document.body, constrainWidth: false }\n });\n\n // Add change handlers for select\n yearSelect.addEventListener('change', this._handleYearChange.bind(this));\n monthSelect.addEventListener('change', this._handleMonthChange.bind(this));\n\n if (typeof this.options.onDraw === 'function') {\n this.options.onDraw(this);\n }\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n this._handleInputKeydownBound = this._handleInputKeydown.bind(this);\n this._handleInputClickBound = this._handleInputClick.bind(this);\n this._handleInputChangeBound = this._handleInputChange.bind(this);\n this._handleCalendarClickBound = this._handleCalendarClick.bind(this);\n this._finishSelectionBound = this._finishSelection.bind(this);\n this._handleMonthChange = this._handleMonthChange.bind(this);\n this._closeBound = this.close.bind(this);\n\n this.el.addEventListener('click', this._handleInputClickBound);\n this.el.addEventListener('keydown', this._handleInputKeydownBound);\n this.el.addEventListener('change', this._handleInputChangeBound);\n this.calendarEl.addEventListener('click', this._handleCalendarClickBound);\n this.doneBtn.addEventListener('click', this._finishSelectionBound);\n this.cancelBtn.addEventListener('click', this._closeBound);\n\n if (this.options.showClearBtn) {\n this._handleClearClickBound = this._handleClearClick.bind(this);\n this.clearBtn.addEventListener('click', this._handleClearClickBound);\n }\n }\n }, {\n key: \"_setupVariables\",\n value: function _setupVariables() {\n var _this56 = this;\n\n this.$modalEl = $(Datepicker._template);\n this.modalEl = this.$modalEl[0];\n\n this.calendarEl = this.modalEl.querySelector('.datepicker-calendar');\n\n this.yearTextEl = this.modalEl.querySelector('.year-text');\n this.dateTextEl = this.modalEl.querySelector('.date-text');\n if (this.options.showClearBtn) {\n this.clearBtn = this.modalEl.querySelector('.datepicker-clear');\n }\n this.doneBtn = this.modalEl.querySelector('.datepicker-done');\n this.cancelBtn = this.modalEl.querySelector('.datepicker-cancel');\n\n this.formats = {\n d: function () {\n return _this56.date.getDate();\n },\n dd: function () {\n var d = _this56.date.getDate();\n return (d < 10 ? '0' : '') + d;\n },\n ddd: function () {\n return _this56.options.i18n.weekdaysShort[_this56.date.getDay()];\n },\n dddd: function () {\n return _this56.options.i18n.weekdays[_this56.date.getDay()];\n },\n m: function () {\n return _this56.date.getMonth() + 1;\n },\n mm: function () {\n var m = _this56.date.getMonth() + 1;\n return (m < 10 ? '0' : '') + m;\n },\n mmm: function () {\n return _this56.options.i18n.monthsShort[_this56.date.getMonth()];\n },\n mmmm: function () {\n return _this56.options.i18n.months[_this56.date.getMonth()];\n },\n yy: function () {\n return ('' + _this56.date.getFullYear()).slice(2);\n },\n yyyy: function () {\n return _this56.date.getFullYear();\n }\n };\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n this.el.removeEventListener('click', this._handleInputClickBound);\n this.el.removeEventListener('keydown', this._handleInputKeydownBound);\n this.el.removeEventListener('change', this._handleInputChangeBound);\n this.calendarEl.removeEventListener('click', this._handleCalendarClickBound);\n }\n }, {\n key: \"_handleInputClick\",\n value: function _handleInputClick() {\n this.open();\n }\n }, {\n key: \"_handleInputKeydown\",\n value: function _handleInputKeydown(e) {\n if (e.which === M.keys.ENTER) {\n e.preventDefault();\n this.open();\n }\n }\n }, {\n key: \"_handleCalendarClick\",\n value: function _handleCalendarClick(e) {\n if (!this.isOpen) {\n return;\n }\n\n var $target = $(e.target);\n if (!$target.hasClass('is-disabled')) {\n if ($target.hasClass('datepicker-day-button') && !$target.hasClass('is-empty') && !$target.parent().hasClass('is-disabled')) {\n this.setDate(new Date(e.target.getAttribute('data-year'), e.target.getAttribute('data-month'), e.target.getAttribute('data-day')));\n if (this.options.autoClose) {\n this._finishSelection();\n }\n } else if ($target.closest('.month-prev').length) {\n this.prevMonth();\n } else if ($target.closest('.month-next').length) {\n this.nextMonth();\n }\n }\n }\n }, {\n key: \"_handleClearClick\",\n value: function _handleClearClick() {\n this.date = null;\n this.setInputValue();\n this.close();\n }\n }, {\n key: \"_handleMonthChange\",\n value: function _handleMonthChange(e) {\n this.gotoMonth(e.target.value);\n }\n }, {\n key: \"_handleYearChange\",\n value: function _handleYearChange(e) {\n this.gotoYear(e.target.value);\n }\n\n /**\n * change view to a specific month (zero-index, e.g. 0: January)\n */\n\n }, {\n key: \"gotoMonth\",\n value: function gotoMonth(month) {\n if (!isNaN(month)) {\n this.calendars[0].month = parseInt(month, 10);\n this.adjustCalendars();\n }\n }\n\n /**\n * change view to a specific full year (e.g. \"2012\")\n */\n\n }, {\n key: \"gotoYear\",\n value: function gotoYear(year) {\n if (!isNaN(year)) {\n this.calendars[0].year = parseInt(year, 10);\n this.adjustCalendars();\n }\n }\n }, {\n key: \"_handleInputChange\",\n value: function _handleInputChange(e) {\n var date = void 0;\n\n // Prevent change event from being fired when triggered by the plugin\n if (e.firedBy === this) {\n return;\n }\n if (this.options.parse) {\n date = this.options.parse(this.el.value, this.options.format);\n } else {\n date = new Date(Date.parse(this.el.value));\n }\n\n if (Datepicker._isDate(date)) {\n this.setDate(date);\n }\n }\n }, {\n key: \"renderDayName\",\n value: function renderDayName(opts, day, abbr) {\n day += opts.firstDay;\n while (day >= 7) {\n day -= 7;\n }\n return abbr ? opts.i18n.weekdaysAbbrev[day] : opts.i18n.weekdays[day];\n }\n\n /**\n * Set input value to the selected date and close Datepicker\n */\n\n }, {\n key: \"_finishSelection\",\n value: function _finishSelection() {\n this.setInputValue();\n this.close();\n }\n\n /**\n * Open Datepicker\n */\n\n }, {\n key: \"open\",\n value: function open() {\n if (this.isOpen) {\n return;\n }\n\n this.isOpen = true;\n if (typeof this.options.onOpen === 'function') {\n this.options.onOpen.call(this);\n }\n this.draw();\n this.modal.open();\n return this;\n }\n\n /**\n * Close Datepicker\n */\n\n }, {\n key: \"close\",\n value: function close() {\n if (!this.isOpen) {\n return;\n }\n\n this.isOpen = false;\n if (typeof this.options.onClose === 'function') {\n this.options.onClose.call(this);\n }\n this.modal.close();\n return this;\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(Datepicker.__proto__ || Object.getPrototypeOf(Datepicker), \"init\", this).call(this, this, els, options);\n }\n }, {\n key: \"_isDate\",\n value: function _isDate(obj) {\n return (/Date/.test(Object.prototype.toString.call(obj)) && !isNaN(obj.getTime())\n );\n }\n }, {\n key: \"_isWeekend\",\n value: function _isWeekend(date) {\n var day = date.getDay();\n return day === 0 || day === 6;\n }\n }, {\n key: \"_setToStartOfDay\",\n value: function _setToStartOfDay(date) {\n if (Datepicker._isDate(date)) date.setHours(0, 0, 0, 0);\n }\n }, {\n key: \"_getDaysInMonth\",\n value: function _getDaysInMonth(year, month) {\n return [31, Datepicker._isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];\n }\n }, {\n key: \"_isLeapYear\",\n value: function _isLeapYear(year) {\n // solution by Matti Virkkunen: http://stackoverflow.com/a/4881951\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n }\n }, {\n key: \"_compareDates\",\n value: function _compareDates(a, b) {\n // weak date comparison (use setToStartOfDay(date) to ensure correct result)\n return a.getTime() === b.getTime();\n }\n }, {\n key: \"_setToStartOfDay\",\n value: function _setToStartOfDay(date) {\n if (Datepicker._isDate(date)) date.setHours(0, 0, 0, 0);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_Datepicker;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return Datepicker;\n }(Component);\n\n Datepicker._template = ['
', '
', '
', '', '', '
', '
', '
', '
', '', '
', '', '', '
', '
', '
', '
', '
'].join('');\n\n M.Datepicker = Datepicker;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(Datepicker, 'datepicker', 'M_Datepicker');\n }\n})(cash);\n;(function ($) {\n 'use strict';\n\n var _defaults = {\n dialRadius: 135,\n outerRadius: 105,\n innerRadius: 70,\n tickRadius: 20,\n duration: 350,\n container: null,\n defaultTime: 'now', // default time, 'now' or '13:14' e.g.\n fromNow: 0, // Millisecond offset from the defaultTime\n showClearBtn: false,\n\n // internationalization\n i18n: {\n cancel: 'Cancel',\n clear: 'Clear',\n done: 'Ok'\n },\n\n autoClose: false, // auto close when minute is selected\n twelveHour: true, // change to 12 hour AM/PM clock from 24 hour\n vibrate: true, // vibrate the device when dragging clock hand\n\n // Callbacks\n onOpenStart: null,\n onOpenEnd: null,\n onCloseStart: null,\n onCloseEnd: null,\n onSelect: null\n };\n\n /**\n * @class\n *\n */\n\n var Timepicker = function (_Component16) {\n _inherits(Timepicker, _Component16);\n\n function Timepicker(el, options) {\n _classCallCheck(this, Timepicker);\n\n var _this57 = _possibleConstructorReturn(this, (Timepicker.__proto__ || Object.getPrototypeOf(Timepicker)).call(this, Timepicker, el, options));\n\n _this57.el.M_Timepicker = _this57;\n\n _this57.options = $.extend({}, Timepicker.defaults, options);\n\n _this57.id = M.guid();\n _this57._insertHTMLIntoDOM();\n _this57._setupModal();\n _this57._setupVariables();\n _this57._setupEventHandlers();\n\n _this57._clockSetup();\n _this57._pickerSetup();\n return _this57;\n }\n\n _createClass(Timepicker, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this.modal.destroy();\n $(this.modalEl).remove();\n this.el.M_Timepicker = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n this._handleInputKeydownBound = this._handleInputKeydown.bind(this);\n this._handleInputClickBound = this._handleInputClick.bind(this);\n this._handleClockClickStartBound = this._handleClockClickStart.bind(this);\n this._handleDocumentClickMoveBound = this._handleDocumentClickMove.bind(this);\n this._handleDocumentClickEndBound = this._handleDocumentClickEnd.bind(this);\n\n this.el.addEventListener('click', this._handleInputClickBound);\n this.el.addEventListener('keydown', this._handleInputKeydownBound);\n this.plate.addEventListener('mousedown', this._handleClockClickStartBound);\n this.plate.addEventListener('touchstart', this._handleClockClickStartBound);\n\n $(this.spanHours).on('click', this.showView.bind(this, 'hours'));\n $(this.spanMinutes).on('click', this.showView.bind(this, 'minutes'));\n }\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n this.el.removeEventListener('click', this._handleInputClickBound);\n this.el.removeEventListener('keydown', this._handleInputKeydownBound);\n }\n }, {\n key: \"_handleInputClick\",\n value: function _handleInputClick() {\n this.open();\n }\n }, {\n key: \"_handleInputKeydown\",\n value: function _handleInputKeydown(e) {\n if (e.which === M.keys.ENTER) {\n e.preventDefault();\n this.open();\n }\n }\n }, {\n key: \"_handleClockClickStart\",\n value: function _handleClockClickStart(e) {\n e.preventDefault();\n var clockPlateBR = this.plate.getBoundingClientRect();\n var offset = { x: clockPlateBR.left, y: clockPlateBR.top };\n\n this.x0 = offset.x + this.options.dialRadius;\n this.y0 = offset.y + this.options.dialRadius;\n this.moved = false;\n var clickPos = Timepicker._Pos(e);\n this.dx = clickPos.x - this.x0;\n this.dy = clickPos.y - this.y0;\n\n // Set clock hands\n this.setHand(this.dx, this.dy, false);\n\n // Mousemove on document\n document.addEventListener('mousemove', this._handleDocumentClickMoveBound);\n document.addEventListener('touchmove', this._handleDocumentClickMoveBound, {passive: true});\n\n // Mouseup on document\n document.addEventListener('mouseup', this._handleDocumentClickEndBound);\n document.addEventListener('touchend', this._handleDocumentClickEndBound);\n }\n }, {\n key: \"_handleDocumentClickMove\",\n value: function _handleDocumentClickMove(e) {\n e.preventDefault();\n var clickPos = Timepicker._Pos(e);\n var x = clickPos.x - this.x0;\n var y = clickPos.y - this.y0;\n this.moved = true;\n this.setHand(x, y, false, true);\n }\n }, {\n key: \"_handleDocumentClickEnd\",\n value: function _handleDocumentClickEnd(e) {\n var _this58 = this;\n\n e.preventDefault();\n document.removeEventListener('mouseup', this._handleDocumentClickEndBound);\n document.removeEventListener('touchend', this._handleDocumentClickEndBound);\n var clickPos = Timepicker._Pos(e);\n var x = clickPos.x - this.x0;\n var y = clickPos.y - this.y0;\n if (this.moved && x === this.dx && y === this.dy) {\n this.setHand(x, y);\n }\n\n if (this.currentView === 'hours') {\n this.showView('minutes', this.options.duration / 2);\n } else if (this.options.autoClose) {\n $(this.minutesView).addClass('timepicker-dial-out');\n setTimeout(function () {\n _this58.done();\n }, this.options.duration / 2);\n }\n\n if (typeof this.options.onSelect === 'function') {\n this.options.onSelect.call(this, this.hours, this.minutes);\n }\n\n // Unbind mousemove event\n document.removeEventListener('mousemove', this._handleDocumentClickMoveBound);\n document.removeEventListener('touchmove', this._handleDocumentClickMoveBound);\n }\n }, {\n key: \"_insertHTMLIntoDOM\",\n value: function _insertHTMLIntoDOM() {\n this.$modalEl = $(Timepicker._template);\n this.modalEl = this.$modalEl[0];\n this.modalEl.id = 'modal-' + this.id;\n\n // Append popover to input by default\n var containerEl = document.querySelector(this.options.container);\n if (this.options.container && !!containerEl) {\n this.$modalEl.appendTo(containerEl);\n } else {\n this.$modalEl.insertBefore(this.el);\n }\n }\n }, {\n key: \"_setupModal\",\n value: function _setupModal() {\n var _this59 = this;\n\n this.modal = M.Modal.init(this.modalEl, {\n onOpenStart: this.options.onOpenStart,\n onOpenEnd: this.options.onOpenEnd,\n onCloseStart: this.options.onCloseStart,\n onCloseEnd: function () {\n if (typeof _this59.options.onCloseEnd === 'function') {\n _this59.options.onCloseEnd.call(_this59);\n }\n _this59.isOpen = false;\n }\n });\n }\n }, {\n key: \"_setupVariables\",\n value: function _setupVariables() {\n this.currentView = 'hours';\n this.vibrate = navigator.vibrate ? 'vibrate' : navigator.webkitVibrate ? 'webkitVibrate' : null;\n\n this._canvas = this.modalEl.querySelector('.timepicker-canvas');\n this.plate = this.modalEl.querySelector('.timepicker-plate');\n\n this.hoursView = this.modalEl.querySelector('.timepicker-hours');\n this.minutesView = this.modalEl.querySelector('.timepicker-minutes');\n this.spanHours = this.modalEl.querySelector('.timepicker-span-hours');\n this.spanMinutes = this.modalEl.querySelector('.timepicker-span-minutes');\n this.spanAmPm = this.modalEl.querySelector('.timepicker-span-am-pm');\n this.footer = this.modalEl.querySelector('.timepicker-footer');\n this.amOrPm = 'PM';\n }\n }, {\n key: \"_pickerSetup\",\n value: function _pickerSetup() {\n var $clearBtn = $(\"\").appendTo(this.footer).on('click', this.clear.bind(this));\n if (this.options.showClearBtn) {\n $clearBtn.css({ visibility: '' });\n }\n\n var confirmationBtnsContainer = $('
');\n $('').appendTo(confirmationBtnsContainer).on('click', this.close.bind(this));\n $('').appendTo(confirmationBtnsContainer).on('click', this.done.bind(this));\n confirmationBtnsContainer.appendTo(this.footer);\n }\n }, {\n key: \"_clockSetup\",\n value: function _clockSetup() {\n if (this.options.twelveHour) {\n this.$amBtn = $('
AM
');\n this.$pmBtn = $('
PM
');\n this.$amBtn.on('click', this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm);\n this.$pmBtn.on('click', this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm);\n }\n\n this._buildHoursView();\n this._buildMinutesView();\n this._buildSVGClock();\n }\n }, {\n key: \"_buildSVGClock\",\n value: function _buildSVGClock() {\n // Draw clock hands and others\n var dialRadius = this.options.dialRadius;\n var tickRadius = this.options.tickRadius;\n var diameter = dialRadius * 2;\n\n var svg = Timepicker._createSVGEl('svg');\n svg.setAttribute('class', 'timepicker-svg');\n svg.setAttribute('width', diameter);\n svg.setAttribute('height', diameter);\n var g = Timepicker._createSVGEl('g');\n g.setAttribute('transform', 'translate(' + dialRadius + ',' + dialRadius + ')');\n var bearing = Timepicker._createSVGEl('circle');\n bearing.setAttribute('class', 'timepicker-canvas-bearing');\n bearing.setAttribute('cx', 0);\n bearing.setAttribute('cy', 0);\n bearing.setAttribute('r', 4);\n var hand = Timepicker._createSVGEl('line');\n hand.setAttribute('x1', 0);\n hand.setAttribute('y1', 0);\n var bg = Timepicker._createSVGEl('circle');\n bg.setAttribute('class', 'timepicker-canvas-bg');\n bg.setAttribute('r', tickRadius);\n g.appendChild(hand);\n g.appendChild(bg);\n g.appendChild(bearing);\n svg.appendChild(g);\n this._canvas.appendChild(svg);\n\n this.hand = hand;\n this.bg = bg;\n this.bearing = bearing;\n this.g = g;\n }\n }, {\n key: \"_buildHoursView\",\n value: function _buildHoursView() {\n var $tick = $('
');\n // Hours view\n if (this.options.twelveHour) {\n for (var i = 1; i < 13; i += 1) {\n var tick = $tick.clone();\n var radian = i / 6 * Math.PI;\n var radius = this.options.outerRadius;\n tick.css({\n left: this.options.dialRadius + Math.sin(radian) * radius - this.options.tickRadius + 'px',\n top: this.options.dialRadius - Math.cos(radian) * radius - this.options.tickRadius + 'px'\n });\n tick.html(i === 0 ? '00' : i);\n this.hoursView.appendChild(tick[0]);\n // tick.on(mousedownEvent, mousedown);\n }\n } else {\n for (var _i2 = 0; _i2 < 24; _i2 += 1) {\n var _tick = $tick.clone();\n var _radian = _i2 / 6 * Math.PI;\n var inner = _i2 > 0 && _i2 < 13;\n var _radius = inner ? this.options.innerRadius : this.options.outerRadius;\n _tick.css({\n left: this.options.dialRadius + Math.sin(_radian) * _radius - this.options.tickRadius + 'px',\n top: this.options.dialRadius - Math.cos(_radian) * _radius - this.options.tickRadius + 'px'\n });\n _tick.html(_i2 === 0 ? '00' : _i2);\n this.hoursView.appendChild(_tick[0]);\n // tick.on(mousedownEvent, mousedown);\n }\n }\n }\n }, {\n key: \"_buildMinutesView\",\n value: function _buildMinutesView() {\n var $tick = $('
');\n // Minutes view\n for (var i = 0; i < 60; i += 5) {\n var tick = $tick.clone();\n var radian = i / 30 * Math.PI;\n tick.css({\n left: this.options.dialRadius + Math.sin(radian) * this.options.outerRadius - this.options.tickRadius + 'px',\n top: this.options.dialRadius - Math.cos(radian) * this.options.outerRadius - this.options.tickRadius + 'px'\n });\n tick.html(Timepicker._addLeadingZero(i));\n this.minutesView.appendChild(tick[0]);\n }\n }\n }, {\n key: \"_handleAmPmClick\",\n value: function _handleAmPmClick(e) {\n var $btnClicked = $(e.target);\n this.amOrPm = $btnClicked.hasClass('am-btn') ? 'AM' : 'PM';\n this._updateAmPmView();\n }\n }, {\n key: \"_updateAmPmView\",\n value: function _updateAmPmView() {\n if (this.options.twelveHour) {\n this.$amBtn.toggleClass('text-primary', this.amOrPm === 'AM');\n this.$pmBtn.toggleClass('text-primary', this.amOrPm === 'PM');\n }\n }\n }, {\n key: \"_updateTimeFromInput\",\n value: function _updateTimeFromInput() {\n // Get the time\n var value = ((this.el.value || this.options.defaultTime || '') + '').split(':');\n if (this.options.twelveHour && !(typeof value[1] === 'undefined')) {\n if (value[1].toUpperCase().indexOf('AM') > 0) {\n this.amOrPm = 'AM';\n } else {\n this.amOrPm = 'PM';\n }\n value[1] = value[1].replace('AM', '').replace('PM', '');\n }\n if (value[0] === 'now') {\n var now = new Date(+new Date() + this.options.fromNow);\n value = [now.getHours(), now.getMinutes()];\n if (this.options.twelveHour) {\n this.amOrPm = value[0] >= 12 && value[0] < 24 ? 'PM' : 'AM';\n }\n }\n this.hours = +value[0] || 0;\n this.minutes = +value[1] || 0;\n this.spanHours.innerHTML = this.hours;\n this.spanMinutes.innerHTML = Timepicker._addLeadingZero(this.minutes);\n\n this._updateAmPmView();\n }\n }, {\n key: \"showView\",\n value: function showView(view, delay) {\n if (view === 'minutes' && $(this.hoursView).css('visibility') === 'visible') {\n // raiseCallback(this.options.beforeHourSelect);\n }\n var isHours = view === 'hours',\n nextView = isHours ? this.hoursView : this.minutesView,\n hideView = isHours ? this.minutesView : this.hoursView;\n this.currentView = view;\n\n $(this.spanHours).toggleClass('text-primary', isHours);\n $(this.spanMinutes).toggleClass('text-primary', !isHours);\n\n // Transition view\n hideView.classList.add('timepicker-dial-out');\n $(nextView).css('visibility', 'visible').removeClass('timepicker-dial-out');\n\n // Reset clock hand\n this.resetClock(delay);\n\n // After transitions ended\n clearTimeout(this.toggleViewTimer);\n this.toggleViewTimer = setTimeout(function () {\n $(hideView).css('visibility', 'hidden');\n }, this.options.duration);\n }\n }, {\n key: \"resetClock\",\n value: function resetClock(delay) {\n var view = this.currentView,\n value = this[view],\n isHours = view === 'hours',\n unit = Math.PI / (isHours ? 6 : 30),\n radian = value * unit,\n radius = isHours && value > 0 && value < 13 ? this.options.innerRadius : this.options.outerRadius,\n x = Math.sin(radian) * radius,\n y = -Math.cos(radian) * radius,\n self = this;\n\n if (delay) {\n $(this.canvas).addClass('timepicker-canvas-out');\n setTimeout(function () {\n $(self.canvas).removeClass('timepicker-canvas-out');\n self.setHand(x, y);\n }, delay);\n } else {\n this.setHand(x, y);\n }\n }\n }, {\n key: \"setHand\",\n value: function setHand(x, y, roundBy5) {\n var _this60 = this;\n\n var radian = Math.atan2(x, -y),\n isHours = this.currentView === 'hours',\n unit = Math.PI / (isHours || roundBy5 ? 6 : 30),\n z = Math.sqrt(x * x + y * y),\n inner = isHours && z < (this.options.outerRadius + this.options.innerRadius) / 2,\n radius = inner ? this.options.innerRadius : this.options.outerRadius;\n\n if (this.options.twelveHour) {\n radius = this.options.outerRadius;\n }\n\n // Radian should in range [0, 2PI]\n if (radian < 0) {\n radian = Math.PI * 2 + radian;\n }\n\n // Get the round value\n var value = Math.round(radian / unit);\n\n // Get the round radian\n radian = value * unit;\n\n // Correct the hours or minutes\n if (this.options.twelveHour) {\n if (isHours) {\n if (value === 0) value = 12;\n } else {\n if (roundBy5) value *= 5;\n if (value === 60) value = 0;\n }\n } else {\n if (isHours) {\n if (value === 12) {\n value = 0;\n }\n value = inner ? value === 0 ? 12 : value : value === 0 ? 0 : value + 12;\n } else {\n if (roundBy5) {\n value *= 5;\n }\n if (value === 60) {\n value = 0;\n }\n }\n }\n\n // Once hours or minutes changed, vibrate the device\n if (this[this.currentView] !== value) {\n if (this.vibrate && this.options.vibrate) {\n // Do not vibrate too frequently\n if (!this.vibrateTimer) {\n navigator[this.vibrate](10);\n this.vibrateTimer = setTimeout(function () {\n _this60.vibrateTimer = null;\n }, 100);\n }\n }\n }\n\n this[this.currentView] = value;\n if (isHours) {\n this['spanHours'].innerHTML = value;\n } else {\n this['spanMinutes'].innerHTML = Timepicker._addLeadingZero(value);\n }\n\n // Set clock hand and others' position\n var cx1 = Math.sin(radian) * (radius - this.options.tickRadius),\n cy1 = -Math.cos(radian) * (radius - this.options.tickRadius),\n cx2 = Math.sin(radian) * radius,\n cy2 = -Math.cos(radian) * radius;\n this.hand.setAttribute('x2', cx1);\n this.hand.setAttribute('y2', cy1);\n this.bg.setAttribute('cx', cx2);\n this.bg.setAttribute('cy', cy2);\n }\n }, {\n key: \"open\",\n value: function open() {\n if (this.isOpen) {\n return;\n }\n\n this.isOpen = true;\n this._updateTimeFromInput();\n this.showView('hours');\n\n this.modal.open();\n }\n }, {\n key: \"close\",\n value: function close() {\n if (!this.isOpen) {\n return;\n }\n\n this.isOpen = false;\n this.modal.close();\n }\n\n /**\n * Finish timepicker selection.\n */\n\n }, {\n key: \"done\",\n value: function done(e, clearValue) {\n // Set input value\n var last = this.el.value;\n var value = clearValue ? '' : Timepicker._addLeadingZero(this.hours) + ':' + Timepicker._addLeadingZero(this.minutes);\n this.time = value;\n if (!clearValue && this.options.twelveHour) {\n value = value + \" \" + this.amOrPm;\n }\n this.el.value = value;\n\n // Trigger change event\n if (value !== last) {\n this.$el.trigger('change');\n }\n\n this.close();\n this.el.focus();\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.done(null, true);\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(Timepicker.__proto__ || Object.getPrototypeOf(Timepicker), \"init\", this).call(this, this, els, options);\n }\n }, {\n key: \"_addLeadingZero\",\n value: function _addLeadingZero(num) {\n return (num < 10 ? '0' : '') + num;\n }\n }, {\n key: \"_createSVGEl\",\n value: function _createSVGEl(name) {\n var svgNS = 'http://www.w3.org/2000/svg';\n return document.createElementNS(svgNS, name);\n }\n\n /**\n * @typedef {Object} Point\n * @property {number} x The X Coordinate\n * @property {number} y The Y Coordinate\n */\n\n /**\n * Get x position of mouse or touch event\n * @param {Event} e\n * @return {Point} x and y location\n */\n\n }, {\n key: \"_Pos\",\n value: function _Pos(e) {\n if (e.targetTouches && e.targetTouches.length >= 1) {\n return { x: e.targetTouches[0].clientX, y: e.targetTouches[0].clientY };\n }\n // mouse event\n return { x: e.clientX, y: e.clientY };\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_Timepicker;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return Timepicker;\n }(Component);\n\n Timepicker._template = ['
', '
', '
', '
', '
', '', ':', '', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
', '
'].join('');\n\n M.Timepicker = Timepicker;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(Timepicker, 'timepicker', 'M_Timepicker');\n }\n})(cash);\n;(function ($) {\n 'use strict';\n\n var _defaults = {};\n\n /**\n * @class\n *\n */\n\n var CharacterCounter = function (_Component17) {\n _inherits(CharacterCounter, _Component17);\n\n /**\n * Construct CharacterCounter instance\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function CharacterCounter(el, options) {\n _classCallCheck(this, CharacterCounter);\n\n var _this61 = _possibleConstructorReturn(this, (CharacterCounter.__proto__ || Object.getPrototypeOf(CharacterCounter)).call(this, CharacterCounter, el, options));\n\n _this61.el.M_CharacterCounter = _this61;\n\n /**\n * Options for the character counter\n */\n _this61.options = $.extend({}, CharacterCounter.defaults, options);\n\n _this61.isInvalid = false;\n _this61.isValidLength = false;\n _this61._setupCounter();\n _this61._setupEventHandlers();\n return _this61;\n }\n\n _createClass(CharacterCounter, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this.el.CharacterCounter = undefined;\n this._removeCounter();\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n this._handleUpdateCounterBound = this.updateCounter.bind(this);\n\n this.el.addEventListener('focus', this._handleUpdateCounterBound, true);\n this.el.addEventListener('input', this._handleUpdateCounterBound, true);\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n this.el.removeEventListener('focus', this._handleUpdateCounterBound, true);\n this.el.removeEventListener('input', this._handleUpdateCounterBound, true);\n }\n\n /**\n * Setup counter element\n */\n\n }, {\n key: \"_setupCounter\",\n value: function _setupCounter() {\n this.counterEl = document.createElement('span');\n $(this.counterEl).addClass('character-counter').css({\n float: 'right',\n 'font-size': '12px',\n height: 1\n });\n\n this.$el.parent().append(this.counterEl);\n }\n\n /**\n * Remove counter element\n */\n\n }, {\n key: \"_removeCounter\",\n value: function _removeCounter() {\n $(this.counterEl).remove();\n }\n\n /**\n * Update counter\n */\n\n }, {\n key: \"updateCounter\",\n value: function updateCounter() {\n var maxLength = +this.$el.attr('data-length'),\n actualLength = this.el.value.length;\n this.isValidLength = actualLength <= maxLength;\n var counterString = actualLength;\n\n if (maxLength) {\n counterString += '/' + maxLength;\n this._validateInput();\n }\n\n $(this.counterEl).html(counterString);\n }\n\n /**\n * Add validation classes\n */\n\n }, {\n key: \"_validateInput\",\n value: function _validateInput() {\n if (this.isValidLength && this.isInvalid) {\n this.isInvalid = false;\n this.$el.removeClass('invalid');\n } else if (!this.isValidLength && !this.isInvalid) {\n this.isInvalid = true;\n this.$el.removeClass('valid');\n this.$el.addClass('invalid');\n }\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(CharacterCounter.__proto__ || Object.getPrototypeOf(CharacterCounter), \"init\", this).call(this, this, els, options);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_CharacterCounter;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return CharacterCounter;\n }(Component);\n\n M.CharacterCounter = CharacterCounter;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(CharacterCounter, 'characterCounter', 'M_CharacterCounter');\n }\n})(cash);\n;(function ($) {\n 'use strict';\n\n var _defaults = {\n duration: 200, // ms\n dist: -100, // zoom scale TODO: make this more intuitive as an option\n shift: 0, // spacing for center image\n padding: 0, // Padding between non center items\n numVisible: 5, // Number of visible items in carousel\n fullWidth: false, // Change to full width styles\n indicators: false, // Toggle indicators\n noWrap: false, // Don't wrap around and cycle through items.\n onCycleTo: null // Callback for when a new slide is cycled to.\n };\n\n /**\n * @class\n *\n */\n\n var Carousel = function (_Component18) {\n _inherits(Carousel, _Component18);\n\n /**\n * Construct Carousel instance\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function Carousel(el, options) {\n _classCallCheck(this, Carousel);\n\n var _this62 = _possibleConstructorReturn(this, (Carousel.__proto__ || Object.getPrototypeOf(Carousel)).call(this, Carousel, el, options));\n\n _this62.el.M_Carousel = _this62;\n\n /**\n * Options for the carousel\n * @member Carousel#options\n * @prop {Number} duration\n * @prop {Number} dist\n * @prop {Number} shift\n * @prop {Number} padding\n * @prop {Number} numVisible\n * @prop {Boolean} fullWidth\n * @prop {Boolean} indicators\n * @prop {Boolean} noWrap\n * @prop {Function} onCycleTo\n */\n _this62.options = $.extend({}, Carousel.defaults, options);\n\n // Setup\n _this62.hasMultipleSlides = _this62.$el.find('.carousel-item').length > 1;\n _this62.showIndicators = _this62.options.indicators && _this62.hasMultipleSlides;\n _this62.noWrap = _this62.options.noWrap || !_this62.hasMultipleSlides;\n _this62.pressed = false;\n _this62.dragged = false;\n _this62.offset = _this62.target = 0;\n _this62.images = [];\n _this62.itemWidth = _this62.$el.find('.carousel-item').first().innerWidth();\n _this62.itemHeight = _this62.$el.find('.carousel-item').first().innerHeight();\n _this62.dim = _this62.itemWidth * 2 + _this62.options.padding || 1; // Make sure dim is non zero for divisions.\n _this62._autoScrollBound = _this62._autoScroll.bind(_this62);\n _this62._trackBound = _this62._track.bind(_this62);\n\n // Full Width carousel setup\n if (_this62.options.fullWidth) {\n _this62.options.dist = 0;\n _this62._setCarouselHeight();\n\n // Offset fixed items when indicators.\n if (_this62.showIndicators) {\n _this62.$el.find('.carousel-fixed-item').addClass('with-indicators');\n }\n }\n\n // Iterate through slides\n _this62.$indicators = $('');\n _this62.$el.find('.carousel-item').each(function (el, i) {\n _this62.images.push(el);\n if (_this62.showIndicators) {\n var $indicator = $('
  • ');\n\n // Add active to first by default.\n if (i === 0) {\n $indicator[0].classList.add('active');\n }\n\n _this62.$indicators.append($indicator);\n }\n });\n if (_this62.showIndicators) {\n _this62.$el.append(_this62.$indicators);\n }\n _this62.count = _this62.images.length;\n\n // Cap numVisible at count\n _this62.options.numVisible = Math.min(_this62.count, _this62.options.numVisible);\n\n // Setup cross browser string\n _this62.xform = 'transform';\n ['webkit', 'Moz', 'O', 'ms'].every(function (prefix) {\n var e = prefix + 'Transform';\n if (typeof document.body.style[e] !== 'undefined') {\n _this62.xform = e;\n return false;\n }\n return true;\n });\n\n _this62._setupEventHandlers();\n _this62._scroll(_this62.offset);\n return _this62;\n }\n\n _createClass(Carousel, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this.el.M_Carousel = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n var _this63 = this;\n\n this._handleCarouselTapBound = this._handleCarouselTap.bind(this);\n this._handleCarouselDragBound = this._handleCarouselDrag.bind(this);\n this._handleCarouselReleaseBound = this._handleCarouselRelease.bind(this);\n this._handleCarouselClickBound = this._handleCarouselClick.bind(this);\n\n if (typeof window.ontouchstart !== 'undefined') {\n this.el.addEventListener('touchstart', this._handleCarouselTapBound);\n this.el.addEventListener('touchmove', this._handleCarouselDragBound, {passive: true});\n this.el.addEventListener('touchend', this._handleCarouselReleaseBound);\n }\n\n this.el.addEventListener('mousedown', this._handleCarouselTapBound);\n this.el.addEventListener('mousemove', this._handleCarouselDragBound);\n this.el.addEventListener('mouseup', this._handleCarouselReleaseBound);\n this.el.addEventListener('mouseleave', this._handleCarouselReleaseBound);\n this.el.addEventListener('click', this._handleCarouselClickBound);\n\n if (this.showIndicators && this.$indicators) {\n this._handleIndicatorClickBound = this._handleIndicatorClick.bind(this);\n this.$indicators.find('.indicator-item').each(function (el, i) {\n el.addEventListener('click', _this63._handleIndicatorClickBound);\n });\n }\n\n // Resize\n var throttledResize = M.throttle(this._handleResize, 200);\n this._handleThrottledResizeBound = throttledResize.bind(this);\n\n window.addEventListener('resize', this._handleThrottledResizeBound);\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n var _this64 = this;\n\n if (typeof window.ontouchstart !== 'undefined') {\n this.el.removeEventListener('touchstart', this._handleCarouselTapBound);\n this.el.removeEventListener('touchmove', this._handleCarouselDragBound);\n this.el.removeEventListener('touchend', this._handleCarouselReleaseBound);\n }\n this.el.removeEventListener('mousedown', this._handleCarouselTapBound);\n this.el.removeEventListener('mousemove', this._handleCarouselDragBound);\n this.el.removeEventListener('mouseup', this._handleCarouselReleaseBound);\n this.el.removeEventListener('mouseleave', this._handleCarouselReleaseBound);\n this.el.removeEventListener('click', this._handleCarouselClickBound);\n\n if (this.showIndicators && this.$indicators) {\n this.$indicators.find('.indicator-item').each(function (el, i) {\n el.removeEventListener('click', _this64._handleIndicatorClickBound);\n });\n }\n\n window.removeEventListener('resize', this._handleThrottledResizeBound);\n }\n\n /**\n * Handle Carousel Tap\n * @param {Event} e\n */\n\n }, {\n key: \"_handleCarouselTap\",\n value: function _handleCarouselTap(e) {\n // Fixes firefox draggable image bug\n if (e.type === 'mousedown' && $(e.target).is('img')) {\n e.preventDefault();\n }\n this.pressed = true;\n this.dragged = false;\n this.verticalDragged = false;\n this.reference = this._xpos(e);\n this.referenceY = this._ypos(e);\n\n this.velocity = this.amplitude = 0;\n this.frame = this.offset;\n this.timestamp = Date.now();\n clearInterval(this.ticker);\n this.ticker = setInterval(this._trackBound, 100);\n }\n\n /**\n * Handle Carousel Drag\n * @param {Event} e\n */\n\n }, {\n key: \"_handleCarouselDrag\",\n value: function _handleCarouselDrag(e) {\n var x = void 0,\n y = void 0,\n delta = void 0,\n deltaY = void 0;\n if (this.pressed) {\n x = this._xpos(e);\n y = this._ypos(e);\n delta = this.reference - x;\n deltaY = Math.abs(this.referenceY - y);\n if (deltaY < 30 && !this.verticalDragged) {\n // If vertical scrolling don't allow dragging.\n if (delta > 2 || delta < -2) {\n this.dragged = true;\n this.reference = x;\n this._scroll(this.offset + delta);\n }\n } else if (this.dragged) {\n // If dragging don't allow vertical scroll.\n e.preventDefault();\n e.stopPropagation();\n return false;\n } else {\n // Vertical scrolling.\n this.verticalDragged = true;\n }\n }\n\n if (this.dragged) {\n // If dragging don't allow vertical scroll.\n e.preventDefault();\n e.stopPropagation();\n return false;\n }\n }\n\n /**\n * Handle Carousel Release\n * @param {Event} e\n */\n\n }, {\n key: \"_handleCarouselRelease\",\n value: function _handleCarouselRelease(e) {\n if (this.pressed) {\n this.pressed = false;\n } else {\n return;\n }\n\n clearInterval(this.ticker);\n this.target = this.offset;\n if (this.velocity > 10 || this.velocity < -10) {\n this.amplitude = 0.9 * this.velocity;\n this.target = this.offset + this.amplitude;\n }\n this.target = Math.round(this.target / this.dim) * this.dim;\n\n // No wrap of items.\n if (this.noWrap) {\n if (this.target >= this.dim * (this.count - 1)) {\n this.target = this.dim * (this.count - 1);\n } else if (this.target < 0) {\n this.target = 0;\n }\n }\n this.amplitude = this.target - this.offset;\n this.timestamp = Date.now();\n requestAnimationFrame(this._autoScrollBound);\n\n if (this.dragged) {\n e.preventDefault();\n e.stopPropagation();\n }\n return false;\n }\n\n /**\n * Handle Carousel CLick\n * @param {Event} e\n */\n\n }, {\n key: \"_handleCarouselClick\",\n value: function _handleCarouselClick(e) {\n // Disable clicks if carousel was dragged.\n if (this.dragged) {\n e.preventDefault();\n e.stopPropagation();\n return false;\n } else if (!this.options.fullWidth) {\n var clickedIndex = $(e.target).closest('.carousel-item').index();\n var diff = this._wrap(this.center) - clickedIndex;\n\n // Disable clicks if carousel was shifted by click\n if (diff !== 0) {\n e.preventDefault();\n e.stopPropagation();\n }\n this._cycleTo(clickedIndex);\n }\n }\n\n /**\n * Handle Indicator CLick\n * @param {Event} e\n */\n\n }, {\n key: \"_handleIndicatorClick\",\n value: function _handleIndicatorClick(e) {\n e.stopPropagation();\n\n var indicator = $(e.target).closest('.indicator-item');\n if (indicator.length) {\n this._cycleTo(indicator.index());\n }\n }\n\n /**\n * Handle Throttle Resize\n * @param {Event} e\n */\n\n }, {\n key: \"_handleResize\",\n value: function _handleResize(e) {\n if (this.options.fullWidth) {\n this.itemWidth = this.$el.find('.carousel-item').first().innerWidth();\n this.imageHeight = this.$el.find('.carousel-item.active').height();\n this.dim = this.itemWidth * 2 + this.options.padding;\n this.offset = this.center * 2 * this.itemWidth;\n this.target = this.offset;\n this._setCarouselHeight(true);\n } else {\n this._scroll();\n }\n }\n\n /**\n * Set carousel height based on first slide\n * @param {Booleam} imageOnly - true for image slides\n */\n\n }, {\n key: \"_setCarouselHeight\",\n value: function _setCarouselHeight(imageOnly) {\n var _this65 = this;\n\n var firstSlide = this.$el.find('.carousel-item.active').length ? this.$el.find('.carousel-item.active').first() : this.$el.find('.carousel-item').first();\n var firstImage = firstSlide.find('img').first();\n if (firstImage.length) {\n if (firstImage[0].complete) {\n // If image won't trigger the load event\n var imageHeight = firstImage.height();\n if (imageHeight > 0) {\n this.$el.css('height', imageHeight + 'px');\n } else {\n // If image still has no height, use the natural dimensions to calculate\n var naturalWidth = firstImage[0].naturalWidth;\n var naturalHeight = firstImage[0].naturalHeight;\n var adjustedHeight = this.$el.width() / naturalWidth * naturalHeight;\n this.$el.css('height', adjustedHeight + 'px');\n }\n } else {\n // Get height when image is loaded normally\n firstImage.one('load', function (el, i) {\n _this65.$el.css('height', el.offsetHeight + 'px');\n });\n }\n } else if (!imageOnly) {\n var slideHeight = firstSlide.height();\n this.$el.css('height', slideHeight + 'px');\n }\n }\n\n /**\n * Get x position from event\n * @param {Event} e\n */\n\n }, {\n key: \"_xpos\",\n value: function _xpos(e) {\n // touch event\n if (e.targetTouches && e.targetTouches.length >= 1) {\n return e.targetTouches[0].clientX;\n }\n\n // mouse event\n return e.clientX;\n }\n\n /**\n * Get y position from event\n * @param {Event} e\n */\n\n }, {\n key: \"_ypos\",\n value: function _ypos(e) {\n // touch event\n if (e.targetTouches && e.targetTouches.length >= 1) {\n return e.targetTouches[0].clientY;\n }\n\n // mouse event\n return e.clientY;\n }\n\n /**\n * Wrap index\n * @param {Number} x\n */\n\n }, {\n key: \"_wrap\",\n value: function _wrap(x) {\n return x >= this.count ? x % this.count : x < 0 ? this._wrap(this.count + x % this.count) : x;\n }\n\n /**\n * Tracks scrolling information\n */\n\n }, {\n key: \"_track\",\n value: function _track() {\n var now = void 0,\n elapsed = void 0,\n delta = void 0,\n v = void 0;\n\n now = Date.now();\n elapsed = now - this.timestamp;\n this.timestamp = now;\n delta = this.offset - this.frame;\n this.frame = this.offset;\n\n v = 1000 * delta / (1 + elapsed);\n this.velocity = 0.8 * v + 0.2 * this.velocity;\n }\n\n /**\n * Auto scrolls to nearest carousel item.\n */\n\n }, {\n key: \"_autoScroll\",\n value: function _autoScroll() {\n var elapsed = void 0,\n delta = void 0;\n\n if (this.amplitude) {\n elapsed = Date.now() - this.timestamp;\n delta = this.amplitude * Math.exp(-elapsed / this.options.duration);\n if (delta > 2 || delta < -2) {\n this._scroll(this.target - delta);\n requestAnimationFrame(this._autoScrollBound);\n } else {\n this._scroll(this.target);\n }\n }\n }\n\n /**\n * Scroll to target\n * @param {Number} x\n */\n\n }, {\n key: \"_scroll\",\n value: function _scroll(x) {\n var _this66 = this;\n\n // Track scrolling state\n if (!this.$el.hasClass('scrolling')) {\n this.el.classList.add('scrolling');\n }\n if (this.scrollingTimeout != null) {\n window.clearTimeout(this.scrollingTimeout);\n }\n this.scrollingTimeout = window.setTimeout(function () {\n _this66.$el.removeClass('scrolling');\n }, this.options.duration);\n\n // Start actual scroll\n var i = void 0,\n half = void 0,\n delta = void 0,\n dir = void 0,\n tween = void 0,\n el = void 0,\n alignment = void 0,\n zTranslation = void 0,\n tweenedOpacity = void 0,\n centerTweenedOpacity = void 0;\n var lastCenter = this.center;\n var numVisibleOffset = 1 / this.options.numVisible;\n\n this.offset = typeof x === 'number' ? x : this.offset;\n this.center = Math.floor((this.offset + this.dim / 2) / this.dim);\n delta = this.offset - this.center * this.dim;\n dir = delta < 0 ? 1 : -1;\n tween = -dir * delta * 2 / this.dim;\n half = this.count >> 1;\n\n if (this.options.fullWidth) {\n alignment = 'translateX(0)';\n centerTweenedOpacity = 1;\n } else {\n alignment = 'translateX(' + (this.el.clientWidth - this.itemWidth) / 2 + 'px) ';\n alignment += 'translateY(' + (this.el.clientHeight - this.itemHeight) / 2 + 'px)';\n centerTweenedOpacity = 1 - numVisibleOffset * tween;\n }\n\n // Set indicator active\n if (this.showIndicators) {\n var diff = this.center % this.count;\n var activeIndicator = this.$indicators.find('.indicator-item.active');\n if (activeIndicator.index() !== diff) {\n activeIndicator.removeClass('active');\n this.$indicators.find('.indicator-item').eq(diff)[0].classList.add('active');\n }\n }\n\n // center\n // Don't show_index wrapped items.\n if (!this.noWrap || this.center >= 0 && this.center < this.count) {\n el = this.images[this._wrap(this.center)];\n\n // Add active class to center item.\n if (!$(el).hasClass('active')) {\n this.$el.find('.carousel-item').removeClass('active');\n el.classList.add('active');\n }\n var transformString = alignment + \" translateX(\" + -delta / 2 + \"px) translateX(\" + dir * this.options.shift * tween * i + \"px) translateZ(\" + this.options.dist * tween + \"px)\";\n this._updateItemStyle(el, centerTweenedOpacity, 0, transformString);\n }\n\n for (i = 1; i <= half; ++i) {\n // right side\n if (this.options.fullWidth) {\n zTranslation = this.options.dist;\n tweenedOpacity = i === half && delta < 0 ? 1 - tween : 1;\n } else {\n zTranslation = this.options.dist * (i * 2 + tween * dir);\n tweenedOpacity = 1 - numVisibleOffset * (i * 2 + tween * dir);\n }\n // Don't show_index wrapped items.\n if (!this.noWrap || this.center + i < this.count) {\n el = this.images[this._wrap(this.center + i)];\n var _transformString = alignment + \" translateX(\" + (this.options.shift + (this.dim * i - delta) / 2) + \"px) translateZ(\" + zTranslation + \"px)\";\n this._updateItemStyle(el, tweenedOpacity, -i, _transformString);\n }\n\n // left side\n if (this.options.fullWidth) {\n zTranslation = this.options.dist;\n tweenedOpacity = i === half && delta > 0 ? 1 - tween : 1;\n } else {\n zTranslation = this.options.dist * (i * 2 - tween * dir);\n tweenedOpacity = 1 - numVisibleOffset * (i * 2 - tween * dir);\n }\n // Don't show_index wrapped items.\n if (!this.noWrap || this.center - i >= 0) {\n el = this.images[this._wrap(this.center - i)];\n var _transformString2 = alignment + \" translateX(\" + (-this.options.shift + (-this.dim * i - delta) / 2) + \"px) translateZ(\" + zTranslation + \"px)\";\n this._updateItemStyle(el, tweenedOpacity, -i, _transformString2);\n }\n }\n\n // center\n // Don't show_index wrapped items.\n if (!this.noWrap || this.center >= 0 && this.center < this.count) {\n el = this.images[this._wrap(this.center)];\n var _transformString3 = alignment + \" translateX(\" + -delta / 2 + \"px) translateX(\" + dir * this.options.shift * tween + \"px) translateZ(\" + this.options.dist * tween + \"px)\";\n this._updateItemStyle(el, centerTweenedOpacity, 0, _transformString3);\n }\n\n // onCycleTo callback\n var $currItem = this.$el.find('.carousel-item').eq(this._wrap(this.center));\n if (lastCenter !== this.center && typeof this.options.onCycleTo === 'function') {\n this.options.onCycleTo.call(this, $currItem[0], this.dragged);\n }\n\n // One time callback\n if (typeof this.oneTimeCallback === 'function') {\n this.oneTimeCallback.call(this, $currItem[0], this.dragged);\n this.oneTimeCallback = null;\n }\n }\n\n /**\n * Cycle to target\n * @param {Element} el\n * @param {Number} opacity\n * @param {Number} zIndex\n * @param {String} transform\n */\n\n }, {\n key: \"_updateItemStyle\",\n value: function _updateItemStyle(el, opacity, zIndex, transform) {\n el.style[this.xform] = transform;\n el.style.zIndex = zIndex;\n el.style.opacity = opacity;\n el.style.visibility = 'visible';\n }\n\n /**\n * Cycle to target\n * @param {Number} n\n * @param {Function} callback\n */\n\n }, {\n key: \"_cycleTo\",\n value: function _cycleTo(n, callback) {\n var diff = this.center % this.count - n;\n\n // Account for wraparound.\n if (!this.noWrap) {\n if (diff < 0) {\n if (Math.abs(diff + this.count) < Math.abs(diff)) {\n diff += this.count;\n }\n } else if (diff > 0) {\n if (Math.abs(diff - this.count) < diff) {\n diff -= this.count;\n }\n }\n }\n\n this.target = this.dim * Math.round(this.offset / this.dim);\n // Next\n if (diff < 0) {\n this.target += this.dim * Math.abs(diff);\n\n // Prev\n } else if (diff > 0) {\n this.target -= this.dim * diff;\n }\n\n // Set one time callback\n if (typeof callback === 'function') {\n this.oneTimeCallback = callback;\n }\n\n // Scroll\n if (this.offset !== this.target) {\n this.amplitude = this.target - this.offset;\n this.timestamp = Date.now();\n requestAnimationFrame(this._autoScrollBound);\n }\n }\n\n /**\n * Cycle to next item\n * @param {Number} [n]\n */\n\n }, {\n key: \"next\",\n value: function next(n) {\n if (n === undefined || isNaN(n)) {\n n = 1;\n }\n\n var index = this.center + n;\n if (index >= this.count || index < 0) {\n if (this.noWrap) {\n return;\n }\n\n index = this._wrap(index);\n }\n this._cycleTo(index);\n }\n\n /**\n * Cycle to previous item\n * @param {Number} [n]\n */\n\n }, {\n key: \"prev\",\n value: function prev(n) {\n if (n === undefined || isNaN(n)) {\n n = 1;\n }\n\n var index = this.center - n;\n if (index >= this.count || index < 0) {\n if (this.noWrap) {\n return;\n }\n\n index = this._wrap(index);\n }\n\n this._cycleTo(index);\n }\n\n /**\n * Cycle to nth item\n * @param {Number} [n]\n * @param {Function} callback\n */\n\n }, {\n key: \"set\",\n value: function set(n, callback) {\n if (n === undefined || isNaN(n)) {\n n = 0;\n }\n\n if (n > this.count || n < 0) {\n if (this.noWrap) {\n return;\n }\n\n n = this._wrap(n);\n }\n\n this._cycleTo(n, callback);\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(Carousel.__proto__ || Object.getPrototypeOf(Carousel), \"init\", this).call(this, this, els, options);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_Carousel;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return Carousel;\n }(Component);\n\n M.Carousel = Carousel;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(Carousel, 'carousel', 'M_Carousel');\n }\n})(cash);\n;(function ($) {\n 'use strict';\n\n var _defaults = {\n onOpen: undefined,\n onClose: undefined\n };\n\n /**\n * @class\n *\n */\n\n var TapTarget = function (_Component19) {\n _inherits(TapTarget, _Component19);\n\n /**\n * Construct TapTarget instance\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function TapTarget(el, options) {\n _classCallCheck(this, TapTarget);\n\n var _this67 = _possibleConstructorReturn(this, (TapTarget.__proto__ || Object.getPrototypeOf(TapTarget)).call(this, TapTarget, el, options));\n\n _this67.el.M_TapTarget = _this67;\n\n /**\n * Options for the select\n * @member TapTarget#options\n * @prop {Function} onOpen - Callback function called when feature discovery is opened\n * @prop {Function} onClose - Callback function called when feature discovery is closed\n */\n _this67.options = $.extend({}, TapTarget.defaults, options);\n\n _this67.isOpen = false;\n\n // setup\n _this67.$origin = $('#' + _this67.$el.attr('data-target'));\n _this67._setup();\n\n _this67._calculatePositioning();\n _this67._setupEventHandlers();\n return _this67;\n }\n\n _createClass(TapTarget, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this.el.TapTarget = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n this._handleDocumentClickBound = this._handleDocumentClick.bind(this);\n this._handleTargetClickBound = this._handleTargetClick.bind(this);\n this._handleOriginClickBound = this._handleOriginClick.bind(this);\n\n this.el.addEventListener('click', this._handleTargetClickBound);\n this.originEl.addEventListener('click', this._handleOriginClickBound);\n\n // Resize\n var throttledResize = M.throttle(this._handleResize, 200);\n this._handleThrottledResizeBound = throttledResize.bind(this);\n\n window.addEventListener('resize', this._handleThrottledResizeBound);\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n this.el.removeEventListener('click', this._handleTargetClickBound);\n this.originEl.removeEventListener('click', this._handleOriginClickBound);\n window.removeEventListener('resize', this._handleThrottledResizeBound);\n }\n\n /**\n * Handle Target Click\n * @param {Event} e\n */\n\n }, {\n key: \"_handleTargetClick\",\n value: function _handleTargetClick(e) {\n this.open();\n }\n\n /**\n * Handle Origin Click\n * @param {Event} e\n */\n\n }, {\n key: \"_handleOriginClick\",\n value: function _handleOriginClick(e) {\n this.close();\n }\n\n /**\n * Handle Resize\n * @param {Event} e\n */\n\n }, {\n key: \"_handleResize\",\n value: function _handleResize(e) {\n this._calculatePositioning();\n }\n\n /**\n * Handle Resize\n * @param {Event} e\n */\n\n }, {\n key: \"_handleDocumentClick\",\n value: function _handleDocumentClick(e) {\n if (!$(e.target).closest('.tap-target-wrapper').length) {\n this.close();\n e.preventDefault();\n e.stopPropagation();\n }\n }\n\n /**\n * Setup Tap Target\n */\n\n }, {\n key: \"_setup\",\n value: function _setup() {\n // Creating tap target\n this.wrapper = this.$el.parent()[0];\n this.waveEl = $(this.wrapper).find('.tap-target-wave')[0];\n this.originEl = $(this.wrapper).find('.tap-target-origin')[0];\n this.contentEl = this.$el.find('.tap-target-content')[0];\n\n // Creating wrapper\n if (!$(this.wrapper).hasClass('.tap-target-wrapper')) {\n this.wrapper = document.createElement('div');\n this.wrapper.classList.add('tap-target-wrapper');\n this.$el.before($(this.wrapper));\n this.wrapper.append(this.el);\n }\n\n // Creating content\n if (!this.contentEl) {\n this.contentEl = document.createElement('div');\n this.contentEl.classList.add('tap-target-content');\n this.$el.append(this.contentEl);\n }\n\n // Creating foreground wave\n if (!this.waveEl) {\n this.waveEl = document.createElement('div');\n this.waveEl.classList.add('tap-target-wave');\n\n // Creating origin\n if (!this.originEl) {\n this.originEl = this.$origin.clone(true, true);\n this.originEl.addClass('tap-target-origin');\n this.originEl.removeAttr('id');\n this.originEl.removeAttr('style');\n this.originEl = this.originEl[0];\n this.waveEl.append(this.originEl);\n }\n\n this.wrapper.append(this.waveEl);\n }\n }\n\n /**\n * Calculate positioning\n */\n\n }, {\n key: \"_calculatePositioning\",\n value: function _calculatePositioning() {\n // Element or parent is fixed position?\n var isFixed = this.$origin.css('position') === 'fixed';\n if (!isFixed) {\n var parents = this.$origin.parents();\n for (var i = 0; i < parents.length; i++) {\n isFixed = $(parents[i]).css('position') == 'fixed';\n if (isFixed) {\n break;\n }\n }\n }\n\n // Calculating origin\n var originWidth = this.$origin.outerWidth();\n var originHeight = this.$origin.outerHeight();\n var originTop = isFixed ? this.$origin.offset().top - M.getDocumentScrollTop() : this.$origin.offset().top;\n var originLeft = isFixed ? this.$origin.offset().left - M.getDocumentScrollLeft() : this.$origin.offset().left;\n\n // Calculating screen\n var windowWidth = window.innerWidth;\n var windowHeight = window.innerHeight;\n var centerX = windowWidth / 2;\n var centerY = windowHeight / 2;\n var isLeft = originLeft <= centerX;\n var isRight = originLeft > centerX;\n var isTop = originTop <= centerY;\n var isBottom = originTop > centerY;\n var isCenterX = originLeft >= windowWidth * 0.25 && originLeft <= windowWidth * 0.75;\n\n // Calculating tap target\n var tapTargetWidth = this.$el.outerWidth();\n var tapTargetHeight = this.$el.outerHeight();\n var tapTargetTop = originTop + originHeight / 2 - tapTargetHeight / 2;\n var tapTargetLeft = originLeft + originWidth / 2 - tapTargetWidth / 2;\n var tapTargetPosition = isFixed ? 'fixed' : 'absolute';\n\n // Calculating content\n var tapTargetTextWidth = isCenterX ? tapTargetWidth : tapTargetWidth / 2 + originWidth;\n var tapTargetTextHeight = tapTargetHeight / 2;\n var tapTargetTextTop = isTop ? tapTargetHeight / 2 : 0;\n var tapTargetTextBottom = 0;\n var tapTargetTextLeft = isLeft && !isCenterX ? tapTargetWidth / 2 - originWidth : 0;\n var tapTargetTextRight = 0;\n var tapTargetTextPadding = originWidth;\n var tapTargetTextAlign = isBottom ? 'bottom' : 'top';\n\n // Calculating wave\n var tapTargetWaveWidth = originWidth > originHeight ? originWidth * 2 : originWidth * 2;\n var tapTargetWaveHeight = tapTargetWaveWidth;\n var tapTargetWaveTop = tapTargetHeight / 2 - tapTargetWaveHeight / 2;\n var tapTargetWaveLeft = tapTargetWidth / 2 - tapTargetWaveWidth / 2;\n\n // Setting tap target\n var tapTargetWrapperCssObj = {};\n tapTargetWrapperCssObj.top = isTop ? tapTargetTop + 'px' : '';\n tapTargetWrapperCssObj.right = isRight ? windowWidth - tapTargetLeft - tapTargetWidth + 'px' : '';\n tapTargetWrapperCssObj.bottom = isBottom ? windowHeight - tapTargetTop - tapTargetHeight + 'px' : '';\n tapTargetWrapperCssObj.left = isLeft ? tapTargetLeft + 'px' : '';\n tapTargetWrapperCssObj.position = tapTargetPosition;\n $(this.wrapper).css(tapTargetWrapperCssObj);\n\n // Setting content\n $(this.contentEl).css({\n width: tapTargetTextWidth + 'px',\n height: tapTargetTextHeight + 'px',\n top: tapTargetTextTop + 'px',\n right: tapTargetTextRight + 'px',\n bottom: tapTargetTextBottom + 'px',\n left: tapTargetTextLeft + 'px',\n padding: tapTargetTextPadding + 'px',\n verticalAlign: tapTargetTextAlign\n });\n\n // Setting wave\n $(this.waveEl).css({\n top: tapTargetWaveTop + 'px',\n left: tapTargetWaveLeft + 'px',\n width: tapTargetWaveWidth + 'px',\n height: tapTargetWaveHeight + 'px'\n });\n }\n\n /**\n * Open TapTarget\n */\n\n }, {\n key: \"open\",\n value: function open() {\n if (this.isOpen) {\n return;\n }\n\n // onOpen callback\n if (typeof this.options.onOpen === 'function') {\n this.options.onOpen.call(this, this.$origin[0]);\n }\n\n this.isOpen = true;\n this.wrapper.classList.add('open');\n\n document.body.addEventListener('click', this._handleDocumentClickBound, true);\n document.body.addEventListener('touchend', this._handleDocumentClickBound);\n }\n\n /**\n * Close Tap Target\n */\n\n }, {\n key: \"close\",\n value: function close() {\n if (!this.isOpen) {\n return;\n }\n\n // onClose callback\n if (typeof this.options.onClose === 'function') {\n this.options.onClose.call(this, this.$origin[0]);\n }\n\n this.isOpen = false;\n this.wrapper.classList.remove('open');\n\n document.body.removeEventListener('click', this._handleDocumentClickBound, true);\n document.body.removeEventListener('touchend', this._handleDocumentClickBound);\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(TapTarget.__proto__ || Object.getPrototypeOf(TapTarget), \"init\", this).call(this, this, els, options);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_TapTarget;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return TapTarget;\n }(Component);\n\n M.TapTarget = TapTarget;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(TapTarget, 'tapTarget', 'M_TapTarget');\n }\n})(cash);\n;(function ($) {\n 'use strict';\n\n var _defaults = {\n classes: '',\n dropdownOptions: {}\n };\n\n /**\n * @class\n *\n */\n\n var FormSelect = function (_Component20) {\n _inherits(FormSelect, _Component20);\n\n /**\n * Construct FormSelect instance\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function FormSelect(el, options) {\n _classCallCheck(this, FormSelect);\n\n // Don't init if browser default version\n var _this68 = _possibleConstructorReturn(this, (FormSelect.__proto__ || Object.getPrototypeOf(FormSelect)).call(this, FormSelect, el, options));\n\n if (_this68.$el.hasClass('browser-default')) {\n return _possibleConstructorReturn(_this68);\n }\n\n _this68.el.M_FormSelect = _this68;\n\n /**\n * Options for the select\n * @member FormSelect#options\n */\n _this68.options = $.extend({}, FormSelect.defaults, options);\n\n _this68.isMultiple = _this68.$el.prop('multiple');\n\n // Setup\n _this68.el.tabIndex = -1;\n _this68._keysSelected = {};\n _this68._valueDict = {}; // Maps key to original and generated option element.\n _this68._setupDropdown();\n\n _this68._setupEventHandlers();\n return _this68;\n }\n\n _createClass(FormSelect, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this._removeDropdown();\n this.el.M_FormSelect = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n var _this69 = this;\n\n this._handleSelectChangeBound = this._handleSelectChange.bind(this);\n this._handleOptionClickBound = this._handleOptionClick.bind(this);\n this._handleInputClickBound = this._handleInputClick.bind(this);\n\n $(this.dropdownOptions).find('li:not(.optgroup)').each(function (el) {\n el.addEventListener('click', _this69._handleOptionClickBound);\n });\n this.el.addEventListener('change', this._handleSelectChangeBound);\n this.input.addEventListener('click', this._handleInputClickBound);\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n var _this70 = this;\n\n $(this.dropdownOptions).find('li:not(.optgroup)').each(function (el) {\n el.removeEventListener('click', _this70._handleOptionClickBound);\n });\n this.el.removeEventListener('change', this._handleSelectChangeBound);\n this.input.removeEventListener('click', this._handleInputClickBound);\n }\n\n /**\n * Handle Select Change\n * @param {Event} e\n */\n\n }, {\n key: \"_handleSelectChange\",\n value: function _handleSelectChange(e) {\n this._setValueToInput();\n }\n\n /**\n * Handle Option Click\n * @param {Event} e\n */\n\n }, {\n key: \"_handleOptionClick\",\n value: function _handleOptionClick(e) {\n e.preventDefault();\n var option = $(e.target).closest('li')[0];\n var key = option.id;\n if (!$(option).hasClass('disabled') && !$(option).hasClass('optgroup') && key.length) {\n var selected = true;\n\n if (this.isMultiple) {\n // Deselect placeholder option if still selected.\n var placeholderOption = $(this.dropdownOptions).find('li.disabled.selected');\n if (placeholderOption.length) {\n placeholderOption.removeClass('selected');\n placeholderOption.find('input[type=\"checkbox\"]').prop('checked', false);\n this._toggleEntryFromArray(placeholderOption[0].id);\n }\n selected = this._toggleEntryFromArray(key);\n } else {\n $(this.dropdownOptions).find('li').removeClass('selected');\n $(option).toggleClass('selected', selected);\n }\n\n // Set selected on original select option\n // Only trigger if selected state changed\n var prevSelected = $(this._valueDict[key].el).prop('selected');\n if (prevSelected !== selected) {\n $(this._valueDict[key].el).prop('selected', selected);\n this.$el.trigger('change');\n }\n }\n\n e.stopPropagation();\n }\n\n /**\n * Handle Input Click\n */\n\n }, {\n key: \"_handleInputClick\",\n value: function _handleInputClick() {\n if (this.dropdown && this.dropdown.isOpen) {\n this._setValueToInput();\n this._setSelectedStates();\n }\n }\n\n /**\n * Setup dropdown\n */\n\n }, {\n key: \"_setupDropdown\",\n value: function _setupDropdown() {\n var _this71 = this;\n\n this.wrapper = document.createElement('div');\n $(this.wrapper).addClass('select-wrapper ' + this.options.classes);\n this.$el.before($(this.wrapper));\n this.wrapper.appendChild(this.el);\n\n if (this.el.disabled) {\n this.wrapper.classList.add('disabled');\n }\n\n // Create dropdown\n this.$selectOptions = this.$el.children('option, optgroup');\n this.dropdownOptions = document.createElement('ul');\n this.dropdownOptions.id = \"select-options-\" + M.guid();\n $(this.dropdownOptions).addClass('dropdown-content select-dropdown ' + (this.isMultiple ? 'multiple-select-dropdown' : ''));\n\n // Create dropdown structure.\n if (this.$selectOptions.length) {\n this.$selectOptions.each(function (el) {\n if ($(el).is('option')) {\n // Direct descendant option.\n var optionEl = void 0;\n if (_this71.isMultiple) {\n optionEl = _this71._appendOptionWithIcon(_this71.$el, el, 'multiple');\n } else {\n optionEl = _this71._appendOptionWithIcon(_this71.$el, el);\n }\n\n _this71._addOptionToValueDict(el, optionEl);\n } else if ($(el).is('optgroup')) {\n // Optgroup.\n var selectOptions = $(el).children('option');\n $(_this71.dropdownOptions).append($('
  • ' + el.getAttribute('label') + '
  • ')[0]);\n\n selectOptions.each(function (el) {\n var optionEl = _this71._appendOptionWithIcon(_this71.$el, el, 'optgroup-option');\n _this71._addOptionToValueDict(el, optionEl);\n });\n }\n });\n }\n\n this.$el.after(this.dropdownOptions);\n\n // Add input dropdown\n this.input = document.createElement('input');\n $(this.input).addClass('select-dropdown dropdown-trigger');\n this.input.setAttribute('type', 'text');\n this.input.setAttribute('readonly', 'true');\n this.input.setAttribute('data-target', this.dropdownOptions.id);\n if (this.el.disabled) {\n $(this.input).prop('disabled', 'true');\n }\n\n this.$el.before(this.input);\n this._setValueToInput();\n\n // Add caret\n var dropdownIcon = $('');\n this.$el.before(dropdownIcon[0]);\n\n // Initialize dropdown\n if (!this.el.disabled) {\n var dropdownOptions = $.extend({}, this.options.dropdownOptions);\n\n // Add callback for centering selected option when dropdown content is scrollable\n dropdownOptions.onOpenEnd = function (el) {\n var selectedOption = $(_this71.dropdownOptions).find('.selected').first();\n\n if (selectedOption.length) {\n // Focus selected option in dropdown\n M.keyDown = true;\n _this71.dropdown.focusedIndex = selectedOption.index();\n _this71.dropdown._focusFocusedItem();\n M.keyDown = false;\n\n // Handle scrolling to selected option\n if (_this71.dropdown.isScrollable) {\n var scrollOffset = selectedOption[0].getBoundingClientRect().top - _this71.dropdownOptions.getBoundingClientRect().top; // scroll to selected option\n scrollOffset -= _this71.dropdownOptions.clientHeight / 2; // center in dropdown\n _this71.dropdownOptions.scrollTop = scrollOffset;\n }\n }\n };\n\n if (this.isMultiple) {\n dropdownOptions.closeOnClick = false;\n }\n this.dropdown = M.Dropdown.init(this.input, dropdownOptions);\n }\n\n // Add initial selections\n this._setSelectedStates();\n }\n\n /**\n * Add option to value dict\n * @param {Element} el original option element\n * @param {Element} optionEl generated option element\n */\n\n }, {\n key: \"_addOptionToValueDict\",\n value: function _addOptionToValueDict(el, optionEl) {\n var index = Object.keys(this._valueDict).length;\n var key = this.dropdownOptions.id + index;\n var obj = {};\n optionEl.id = key;\n\n obj.el = el;\n obj.optionEl = optionEl;\n this._valueDict[key] = obj;\n }\n\n /**\n * Remove dropdown\n */\n\n }, {\n key: \"_removeDropdown\",\n value: function _removeDropdown() {\n $(this.wrapper).find('.caret').remove();\n $(this.input).remove();\n $(this.dropdownOptions).remove();\n $(this.wrapper).before(this.$el);\n $(this.wrapper).remove();\n }\n\n /**\n * Setup dropdown\n * @param {Element} select select element\n * @param {Element} option option element from select\n * @param {String} type\n * @return {Element} option element added\n */\n\n }, {\n key: \"_appendOptionWithIcon\",\n value: function _appendOptionWithIcon(select, option, type) {\n // Add disabled attr if disabled\n var disabledClass = option.disabled ? 'disabled ' : '';\n var optgroupClass = type === 'optgroup-option' ? 'optgroup-option ' : '';\n var multipleCheckbox = this.isMultiple ? \"\" : option.innerHTML;\n var liEl = $('
  • ');\n var spanEl = $('');\n spanEl.html(multipleCheckbox);\n liEl.addClass(disabledClass + \" \" + optgroupClass);\n liEl.append(spanEl);\n\n // add icons\n var iconUrl = option.getAttribute('data-icon');\n if (!!iconUrl) {\n var imgEl = $(\"\\\"\\\"\");\n liEl.prepend(imgEl);\n }\n\n // Check for multiple type.\n $(this.dropdownOptions).append(liEl[0]);\n return liEl[0];\n }\n\n /**\n * Toggle entry from option\n * @param {String} key Option key\n * @return {Boolean} if entry was added or removed\n */\n\n }, {\n key: \"_toggleEntryFromArray\",\n value: function _toggleEntryFromArray(key) {\n var notAdded = !this._keysSelected.hasOwnProperty(key);\n var $optionLi = $(this._valueDict[key].optionEl);\n\n if (notAdded) {\n this._keysSelected[key] = true;\n } else {\n delete this._keysSelected[key];\n }\n\n $optionLi.toggleClass('selected', notAdded);\n\n // Set checkbox checked value\n $optionLi.find('input[type=\"checkbox\"]').prop('checked', notAdded);\n\n // use notAdded instead of true (to detect if the option is selected or not)\n $optionLi.prop('selected', notAdded);\n\n return notAdded;\n }\n\n /**\n * Set text value to input\n */\n\n }, {\n key: \"_setValueToInput\",\n value: function _setValueToInput() {\n var values = [];\n var options = this.$el.find('option');\n\n options.each(function (el) {\n if ($(el).prop('selected')) {\n var text = $(el).text();\n values.push(text);\n }\n });\n\n if (!values.length) {\n var firstDisabled = this.$el.find('option:disabled').eq(0);\n if (firstDisabled.length && firstDisabled[0].value === '') {\n values.push(firstDisabled.text());\n }\n }\n\n this.input.value = values.join(', ');\n }\n\n /**\n * Set selected state of dropdown to match actual select element\n */\n\n }, {\n key: \"_setSelectedStates\",\n value: function _setSelectedStates() {\n this._keysSelected = {};\n\n for (var key in this._valueDict) {\n var option = this._valueDict[key];\n var optionIsSelected = $(option.el).prop('selected');\n $(option.optionEl).find('input[type=\"checkbox\"]').prop('checked', optionIsSelected);\n if (optionIsSelected) {\n this._activateOption($(this.dropdownOptions), $(option.optionEl));\n this._keysSelected[key] = true;\n } else {\n $(option.optionEl).removeClass('selected');\n }\n }\n }\n\n /**\n * Make option as selected and scroll to selected position\n * @param {jQuery} collection Select options jQuery element\n * @param {Element} newOption element of the new option\n */\n\n }, {\n key: \"_activateOption\",\n value: function _activateOption(collection, newOption) {\n if (newOption) {\n if (!this.isMultiple) {\n collection.find('li.selected').removeClass('selected');\n }\n var option = $(newOption);\n option.addClass('selected');\n }\n }\n\n /**\n * Get Selected Values\n * @return {Array} Array of selected values\n */\n\n }, {\n key: \"getSelectedValues\",\n value: function getSelectedValues() {\n var selectedValues = [];\n for (var key in this._keysSelected) {\n selectedValues.push(this._valueDict[key].el.value);\n }\n return selectedValues;\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(FormSelect.__proto__ || Object.getPrototypeOf(FormSelect), \"init\", this).call(this, this, els, options);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_FormSelect;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return FormSelect;\n }(Component);\n\n M.FormSelect = FormSelect;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(FormSelect, 'formSelect', 'M_FormSelect');\n }\n})(cash);\n;(function ($, anim) {\n 'use strict';\n\n var _defaults = {};\n\n /**\n * @class\n *\n */\n\n var Range = function (_Component21) {\n _inherits(Range, _Component21);\n\n /**\n * Construct Range instance\n * @constructor\n * @param {Element} el\n * @param {Object} options\n */\n function Range(el, options) {\n _classCallCheck(this, Range);\n\n var _this72 = _possibleConstructorReturn(this, (Range.__proto__ || Object.getPrototypeOf(Range)).call(this, Range, el, options));\n\n _this72.el.M_Range = _this72;\n\n /**\n * Options for the range\n * @member Range#options\n */\n _this72.options = $.extend({}, Range.defaults, options);\n\n _this72._mousedown = false;\n\n // Setup\n _this72._setupThumb();\n\n _this72._setupEventHandlers();\n return _this72;\n }\n\n _createClass(Range, [{\n key: \"destroy\",\n\n\n /**\n * Teardown component\n */\n value: function destroy() {\n this._removeEventHandlers();\n this._removeThumb();\n this.el.M_Range = undefined;\n }\n\n /**\n * Setup Event Handlers\n */\n\n }, {\n key: \"_setupEventHandlers\",\n value: function _setupEventHandlers() {\n this._handleRangeChangeBound = this._handleRangeChange.bind(this);\n this._handleRangeMousedownTouchstartBound = this._handleRangeMousedownTouchstart.bind(this);\n this._handleRangeInputMousemoveTouchmoveBound = this._handleRangeInputMousemoveTouchmove.bind(this);\n this._handleRangeMouseupTouchendBound = this._handleRangeMouseupTouchend.bind(this);\n this._handleRangeBlurMouseoutTouchleaveBound = this._handleRangeBlurMouseoutTouchleave.bind(this);\n\n this.el.addEventListener('change', this._handleRangeChangeBound);\n\n this.el.addEventListener('mousedown', this._handleRangeMousedownTouchstartBound);\n this.el.addEventListener('touchstart', this._handleRangeMousedownTouchstartBound);\n\n this.el.addEventListener('input', this._handleRangeInputMousemoveTouchmoveBound);\n this.el.addEventListener('mousemove', this._handleRangeInputMousemoveTouchmoveBound);\n this.el.addEventListener('touchmove', this._handleRangeInputMousemoveTouchmoveBound, {passive: true});\n\n this.el.addEventListener('mouseup', this._handleRangeMouseupTouchendBound);\n this.el.addEventListener('touchend', this._handleRangeMouseupTouchendBound);\n\n this.el.addEventListener('blur', this._handleRangeBlurMouseoutTouchleaveBound);\n this.el.addEventListener('mouseout', this._handleRangeBlurMouseoutTouchleaveBound);\n this.el.addEventListener('touchleave', this._handleRangeBlurMouseoutTouchleaveBound);\n }\n\n /**\n * Remove Event Handlers\n */\n\n }, {\n key: \"_removeEventHandlers\",\n value: function _removeEventHandlers() {\n this.el.removeEventListener('change', this._handleRangeChangeBound);\n\n this.el.removeEventListener('mousedown', this._handleRangeMousedownTouchstartBound);\n this.el.removeEventListener('touchstart', this._handleRangeMousedownTouchstartBound);\n\n this.el.removeEventListener('input', this._handleRangeInputMousemoveTouchmoveBound);\n this.el.removeEventListener('mousemove', this._handleRangeInputMousemoveTouchmoveBound);\n this.el.removeEventListener('touchmove', this._handleRangeInputMousemoveTouchmoveBound);\n\n this.el.removeEventListener('mouseup', this._handleRangeMouseupTouchendBound);\n this.el.removeEventListener('touchend', this._handleRangeMouseupTouchendBound);\n\n this.el.removeEventListener('blur', this._handleRangeBlurMouseoutTouchleaveBound);\n this.el.removeEventListener('mouseout', this._handleRangeBlurMouseoutTouchleaveBound);\n this.el.removeEventListener('touchleave', this._handleRangeBlurMouseoutTouchleaveBound);\n }\n\n /**\n * Handle Range Change\n * @param {Event} e\n */\n\n }, {\n key: \"_handleRangeChange\",\n value: function _handleRangeChange() {\n $(this.value).html(this.$el.val());\n\n if (!$(this.thumb).hasClass('active')) {\n this._showRangeBubble();\n }\n\n var offsetLeft = this._calcRangeOffset();\n $(this.thumb).addClass('active').css('left', offsetLeft + 'px');\n }\n\n /**\n * Handle Range Mousedown and Touchstart\n * @param {Event} e\n */\n\n }, {\n key: \"_handleRangeMousedownTouchstart\",\n value: function _handleRangeMousedownTouchstart(e) {\n // Set indicator value\n $(this.value).html(this.$el.val());\n\n this._mousedown = true;\n this.$el.addClass('active');\n\n if (!$(this.thumb).hasClass('active')) {\n this._showRangeBubble();\n }\n\n if (e.type !== 'input') {\n var offsetLeft = this._calcRangeOffset();\n $(this.thumb).addClass('active').css('left', offsetLeft + 'px');\n }\n }\n\n /**\n * Handle Range Input, Mousemove and Touchmove\n */\n\n }, {\n key: \"_handleRangeInputMousemoveTouchmove\",\n value: function _handleRangeInputMousemoveTouchmove() {\n if (this._mousedown) {\n if (!$(this.thumb).hasClass('active')) {\n this._showRangeBubble();\n }\n\n var offsetLeft = this._calcRangeOffset();\n $(this.thumb).addClass('active').css('left', offsetLeft + 'px');\n $(this.value).html(this.$el.val());\n }\n }\n\n /**\n * Handle Range Mouseup and Touchend\n */\n\n }, {\n key: \"_handleRangeMouseupTouchend\",\n value: function _handleRangeMouseupTouchend() {\n this._mousedown = false;\n this.$el.removeClass('active');\n }\n\n /**\n * Handle Range Blur, Mouseout and Touchleave\n */\n\n }, {\n key: \"_handleRangeBlurMouseoutTouchleave\",\n value: function _handleRangeBlurMouseoutTouchleave() {\n if (!this._mousedown) {\n var paddingLeft = parseInt(this.$el.css('padding-left'));\n var marginLeft = 7 + paddingLeft + 'px';\n\n if ($(this.thumb).hasClass('active')) {\n anim.remove(this.thumb);\n anim({\n targets: this.thumb,\n height: 0,\n width: 0,\n top: 10,\n easing: 'easeOutQuad',\n marginLeft: marginLeft,\n duration: 100\n });\n }\n $(this.thumb).removeClass('active');\n }\n }\n\n /**\n * Setup dropdown\n */\n\n }, {\n key: \"_setupThumb\",\n value: function _setupThumb() {\n this.thumb = document.createElement('span');\n this.value = document.createElement('span');\n $(this.thumb).addClass('thumb');\n $(this.value).addClass('value');\n $(this.thumb).append(this.value);\n this.$el.after(this.thumb);\n }\n\n /**\n * Remove dropdown\n */\n\n }, {\n key: \"_removeThumb\",\n value: function _removeThumb() {\n $(this.thumb).remove();\n }\n\n /**\n * morph thumb into bubble\n */\n\n }, {\n key: \"_showRangeBubble\",\n value: function _showRangeBubble() {\n var paddingLeft = parseInt($(this.thumb).parent().css('padding-left'));\n var marginLeft = -7 + paddingLeft + 'px'; // TODO: fix magic number?\n anim.remove(this.thumb);\n anim({\n targets: this.thumb,\n height: 30,\n width: 30,\n top: -30,\n marginLeft: marginLeft,\n duration: 300,\n easing: 'easeOutQuint'\n });\n }\n\n /**\n * Calculate the offset of the thumb\n * @return {Number} offset in pixels\n */\n\n }, {\n key: \"_calcRangeOffset\",\n value: function _calcRangeOffset() {\n var width = this.$el.width() - 15;\n var max = parseFloat(this.$el.attr('max')) || 100; // Range default max\n var min = parseFloat(this.$el.attr('min')) || 0; // Range default min\n var percent = (parseFloat(this.$el.val()) - min) / (max - min);\n return percent * width;\n }\n }], [{\n key: \"init\",\n value: function init(els, options) {\n return _get(Range.__proto__ || Object.getPrototypeOf(Range), \"init\", this).call(this, this, els, options);\n }\n\n /**\n * Get Instance\n */\n\n }, {\n key: \"getInstance\",\n value: function getInstance(el) {\n var domElem = !!el.jquery ? el[0] : el;\n return domElem.M_Range;\n }\n }, {\n key: \"defaults\",\n get: function () {\n return _defaults;\n }\n }]);\n\n return Range;\n }(Component);\n\n M.Range = Range;\n\n if (M.jQueryLoaded) {\n M.initializeJqueryWrapper(Range, 'range', 'M_Range');\n }\n\n Range.init($('input[type=range]'));\n})(cash, M.anime);\n","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar g; // This works in non-strict mode\n\ng = function () {\n return this;\n}();\n\ntry {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n} catch (e) {\n // This works if the window reference is available\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n} // g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\n\nmodule.exports = g;","// https://stackoverflow.com/a/30810322\nfunction copyTextToClipboard(text) {\n let textArea = document.createElement(\"textarea\");\n\n //\n // *** This styling is an extra step which is likely not required. ***\n //\n // Why is it here? To ensure:\n // 1. the element is able to have focus and selection.\n // 2. if the element was to flash render it has minimal visual impact.\n // 3. less flakyness with selection and copying which **might** occur if\n // the textarea element is not visible.\n //\n // The likelihood is the element won't even render, not even a\n // flash, so some of these are just precautions. However in\n // Internet Explorer the element is visible whilst the popup\n // box asking the user for permission for the web page to\n // copy to the clipboard.\n //\n\n // Place in the top-left corner of screen regardless of scroll position.\n textArea.style.position = 'fixed';\n textArea.style.top = 0;\n textArea.style.left = 0;\n\n // Ensure it has a small width and height. Setting to 1px / 1em\n // doesn't work as this gives a negative w/h on some browsers.\n textArea.style.width = '2em';\n textArea.style.height = '2em';\n\n // We don't need padding, reducing the size if it does flash render.\n textArea.style.padding = 0;\n\n // Clean up any borders.\n textArea.style.border = 'none';\n textArea.style.outline = 'none';\n textArea.style.boxShadow = 'none';\n\n // Avoid flash of the white box if rendered for any reason.\n textArea.style.background = 'transparent';\n\n textArea.value = text;\n\n document.body.appendChild(textArea);\n textArea.focus();\n textArea.select();\n\n try {\n let successful = document.execCommand('copy');\n let msg = successful ? 'successful' : 'unsuccessful';\n console.log('Copying text command was ' + msg);\n } catch (err) {\n console.log('Oops, unable to copy');\n }\n\n document.body.removeChild(textArea);\n}\nif (!window.M.kronis) {\n window.M.kronis = {};\n}\nwindow.M.kronis.copyTextToClipboard = copyTextToClipboard;","// Mobile navigation bar logic, needs JavaScript for initialization\nexport function initializeMaterializeSidenav() {\n try {\n let elements = document.querySelectorAll('.sidenav');\n let options = {\n edge: 'right'\n };\n M.Sidenav.init(elements, options);\n } catch (error) {\n console.error('Failed to initialize Materialize sidenav! Error: ', error);\n }\n}\n\n// Add logic to initialize Material Icons because they're hidden by default to avoid FOUT (flash of unstyled text)\nexport function initializeMaterializeIcons() {\n try {\n if (!document.fonts) {\n throw new Error(\"There is no document.fonts object! Font loading API is probably not supported!\");\n }\n document.fonts.ready.then(function () {\n let materialIconsLoaded = document.fonts.check('12px Material Icons');\n if (materialIconsLoaded) {\n let stylesheet = window.document.styleSheets[0];\n stylesheet.insertRule('.material-icons { display: inline-block !important; }', stylesheet.cssRules.length);\n } else {\n throw new Error('Material Icons font was not loaded! Will not be showing it...');\n }\n });\n } catch (error) {\n console.error('Failed to show Material Icons after font initialization! Perhaps the browser has bad support for CSS font loading API? Error: ', error);\n }\n}\n\n// Tooltip logic that's needed by Materialize\nexport function initializeMaterializeTooltips() {\n try {\n let elements = document.querySelectorAll('.tooltipped');\n let options = {\n position: 'bottom',\n exitDelay: 0,\n enterDelay: 200,\n inDuration: 200,\n outDuration: 200\n }\n M.Tooltip.init(elements, options);\n } catch (error) {\n console.error('Failed to initialize Materialize tooltips! Error: ', error);\n }\n}\n\n// Collapsible logic that's needed by Materialize\nexport function initializeMaterializeCollapsibles() {\n try {\n let elements = document.querySelectorAll('.collapsible');\n let options = {\n accordion: false\n };\n M.Collapsible.init(elements, options);\n } catch (error) {\n console.error('Failed to initialize Materialize collapsibles! Error: ', error);\n }\n}\n\n// Custom lightbox logic which allows using data attributes and swapping out thumbnails for full size images on click\nexport function initializeMaterializeLightbox() {\n try {\n let elements = document.querySelectorAll('.materialboxed');\n // when images are toggled, check whether they have the data attributes for swapping out to a full sized image\n let options = {\n onOpenStart: function(element) {\n if (element.hasAttribute(\"data-image-src-big\")) {\n let bigSource = element.getAttribute(\"data-image-src-big\");\n element.src = bigSource;\n }\n },\n onCloseStart: function(element) {\n if (element.hasAttribute(\"data-image-src-small\")) {\n let smallSource = element.getAttribute(\"data-image-src-small\");\n element.src = smallSource;\n }\n }\n }\n M.Materialbox.init(elements, options);\n } catch (error) {\n console.error('Failed to initialize Materialize lightbox! Error: ', error);\n }\n}\n\n// Modal logic that's needed by Materialize\nexport function initializeMaterializeModals() {\n try {\n let elements = document.querySelectorAll('.modal');\n let options = {};\n M.Modal.init(elements, options);\n } catch (error) {\n console.error('Failed to initialize Materialize modals! Error: ', error);\n }\n}\n\n// Turns out that select elements are a Javascript plugin\nexport function initializeMaterializeSelect() {\n try {\n let elements = document.querySelectorAll('select');\n let options = {};\n M.FormSelect.init(elements, options);\n } catch (error) {\n console.error('Failed to initialize Materialize select components! Error: ', error);\n }\n}\n\n// When one column (or another element) must be limited to the height of another\nfunction updateLimitedHeights() {\n const MEDIUM_SCREEN = 992;\n let screenWidth = screen.width;\n try {\n let elements = document.querySelectorAll('.limit-height-scroll')\n elements.forEach(function(sourceElement){\n try {\n let targetIdProperty = sourceElement.dataset.limitHeightTarget;\n let targetElement = document.getElementById(targetIdProperty);\n if (screenWidth > MEDIUM_SCREEN) {\n let targetElementSize = targetElement.clientHeight;\n sourceElement.style.height = targetElementSize + 'px';\n } else {\n sourceElement.style.height = null; // unset on mobile, no scrolling because same column\n }\n } catch (error) {\n console.error('Failed to limit element heights (iteration)! Error: ', error);\n }\n });\n } catch (error) {\n console.error('Failed to limit element heights (preparation)! Error: ', error);\n }\n}\n\nexport function initializeMaterializeLimitHeight() {\n try {\n window.addEventListener('resize', function(event) {\n updateLimitedHeights();\n }, {\n passive: true\n });\n updateLimitedHeights();\n } catch (error) {\n console.error('Failed to limit element heights (initialization)! Error: ', error);\n }\n}","import {\n initializeMaterializeSidenav,\n initializeMaterializeTooltips,\n initializeMaterializeCollapsibles,\n initializeMaterializeSelect,\n initializeMaterializeModals,\n initializeMaterializeLightbox,\n initializeMaterializeIcons,\n initializeMaterializeLimitHeight,\n} from \"./materialize-initialization\";\n\nfunction initializeApplication() {\n try {\n console.log('Starting application initialization...');\n let startTime = new Date();\n initializeMaterializeSidenav();\n initializeMaterializeTooltips();\n initializeMaterializeCollapsibles();\n initializeMaterializeSelect();\n initializeMaterializeModals();\n initializeMaterializeLightbox();\n initializeMaterializeIcons();\n initializeMaterializeLimitHeight();\n let endTime = new Date();\n console.log('Application initialization finished...');\n var duration = endTime - startTime;\n console.log('Initialization duration: ', duration, 'ms');\n } catch (error) {\n console.error('Failed to initialize Materialize! This is probably a problem that should be addressed in the individual initialization blocks! Error: ', error);\n }\n}\n\nfunction toggleAllCollapsibles() {\n try {\n let toggleButton = document.querySelectorAll('.collapsible-toggle-button')[0];\n let toggleIcon = document.querySelectorAll('.collapsible-toggle-icon')[0];\n let toggleText = document.querySelectorAll('.collapsible-toggle-text')[0];\n\n let currentStateIndex = toggleIcon.textContent === 'expand_more' ? 0 : 1;\n let newStateIndex = currentStateIndex ? 0 : 1;\n\n let states = [\n {\n icon: 'expand_more',\n text: 'Expand All Items'\n },\n {\n icon: 'expand_less',\n text: 'Collapse All Items'\n }\n ];\n\n // add new application states instantly\n toggleIcon.textContent = states[newStateIndex].icon;\n toggleText.textContent = states[newStateIndex].text;\n\n // figure out what we should be doing now\n let elements = document.querySelectorAll('.collapsible');\n let shouldExpand = newStateIndex;\n if (shouldExpand) {\n console.log('Expanding all collapsibles...');\n } else {\n console.log('Collapsing all collapsibles...');\n }\n\n // loop over all elements and toggle them\n for (let element of elements) {\n let collapsibleInstance = M.Collapsible.getInstance(element);\n if (shouldExpand) {\n collapsibleInstance.close(); // there is some stupid bug with Materialize where the first opened item blocks the rest from opening, WTF\n collapsibleInstance.open();\n } else {\n collapsibleInstance.close();\n }\n }\n } catch (error) {\n console.error('Failed to toggle all collapsibles! This is probably caused by wrong setup of application. Error: ', error);\n }\n}\n\nfunction printPage() {\n try {\n console.log('Attempting to print the page...');\n window.print();\n } catch (error) {\n console.error('Failed to print the page! Error: ', error);\n }\n\n}\n\nfunction navigateToProject(event, projectId) {\n try {\n console.log('Navigating to project: ', projectId);\n event.stopPropagation();\n window.location.href = '/projects/' + projectId;\n } catch (error) {\n console.error('Failed to navigate to project! Error: ', error);\n }\n}\n\nif (!window.M.kronis) {\n window.M.kronis = {};\n}\nwindow.M.kronis.toggleAllCollapsibles = toggleAllCollapsibles;\nwindow.M.kronis.printPage = printPage;\nwindow.M.kronis.navigateToProject = navigateToProject;\nwindow.M.kronis.initializeApplication = initializeApplication;"],"sourceRoot":""}