{"version":3,"sources":["initial.js","hammer.js","velocity.js","velocity.ui.js","owl.carousel.js","bootstrap-select.js","sidebar-nav.js","form-inputs.js"],"names":["jQuery","window","document","exportName","undefined","assign","VENDOR_PREFIXES","TEST_ELEMENT","createElement","round","Math","abs","now","Date","setTimeoutContext","fn","timeout","context","setTimeout","bindFn","invokeArrayArg","arg","Array","isArray","each","obj","iterator","i","forEach","length","call","hasOwnProperty","deprecate","method","name","message","deprecationMessage","e","Error","stack","replace","log","console","warn","apply","this","arguments","Object","target","TypeError","output","index","source","nextKey","extend","dest","src","merge","keys","inherit","child","base","properties","childP","baseP","prototype","create","constructor","_super","boolOrFn","val","args","ifUndefined","val1","val2","addEventListeners","types","handler","splitStr","type","addEventListener","removeEventListeners","removeEventListener","hasParent","node","parent","parentNode","inStr","str","find","indexOf","trim","split","inArray","findByKey","toArray","slice","uniqueArray","key","sort","results","values","push","a","b","prefixed","property","prefix","prop","camelProp","toUpperCase","_uniqueId","getWindowForElement","element","doc","ownerDocument","defaultView","parentWindow","SUPPORT_TOUCH","SUPPORT_POINTER_EVENTS","SUPPORT_ONLY_TOUCH","test","navigator","userAgent","PROPS_XY","PROPS_CLIENT_XY","Input","manager","callback","self","options","inputTarget","domHandler","ev","enable","init","inputHandler","eventType","input","pointersLen","pointers","changedPointersLen","changedPointers","isFirst","isFinal","session","pointersLength","firstInput","simpleCloneInputData","firstMultiple","offsetCenter","center","getCenter","timeStamp","deltaTime","angle","getAngle","distance","getDistance","offset","offsetDelta","prevDelta","prevInput","x","deltaX","y","deltaY","computeDeltaXY","offsetDirection","getDirection","overallVelocity","getVelocity","overallVelocityX","overallVelocityY","scale","start","end","rotation","getRotation","maxPointers","velocity","velocityX","velocityY","direction","last","lastInterval","v","computeIntervalInputData","srcEvent","computeInputData","emit","recognize","clientX","clientY","p1","p2","props","sqrt","atan2","PI","evEl","evTarget","evWin","destroy","MOUSE_INPUT_MAP","mousedown","mousemove","mouseup","MouseInput","pressed","button","which","pointerType","POINTER_INPUT_MAP","pointerdown","pointermove","pointerup","pointercancel","pointerout","IE10_POINTER_TYPE_ENUM","2","3","4","5","POINTER_ELEMENT_EVENTS","POINTER_WINDOW_EVENTS","PointerEventInput","store","pointerEvents","MSPointerEvent","PointerEvent","removePointer","eventTypeNormalized","toLowerCase","isTouch","storeIndex","pointerId","splice","SINGLE_TOUCH_INPUT_MAP","touchstart","touchmove","touchend","touchcancel","SingleTouchInput","started","normalizeSingleTouches","all","touches","changed","changedTouches","concat","TOUCH_INPUT_MAP","TouchInput","targetIds","getTouches","allTouches","identifier","targetTouches","changedTargetTouches","filter","touch","TouchMouseInput","mouse","primaryTouch","lastTouches","recordTouches","eventData","setLastTouch","lastTouch","lts","isSyntheticEvent","t","dx","dy","inputEvent","inputData","isMouse","sourceCapabilities","firesTouchEvents","PREFIXED_TOUCH_ACTION","style","NATIVE_TOUCH_ACTION","TOUCH_ACTION_MAP","touchMap","cssSupports","CSS","supports","getTouchActionProps","TouchAction","value","set","compute","actions","update","touchAction","recognizers","recognizer","getTouchAction","hasPanX","hasPanY","cleanTouchActions","join","preventDefaults","prevented","preventDefault","hasNone","isTapPointer","isTapMovement","isTapTouchTime","DIRECTION_LEFT","DIRECTION_UP","preventSrc","Recognizer","defaults","id","state","simultaneous","requireFail","stateStr","directionStr","getRecognizerByNameIfManager","otherRecognizer","get","AttrRecognizer","PanRecognizer","pX","pY","PinchRecognizer","PressRecognizer","_timer","_input","RotateRecognizer","SwipeRecognizer","TapRecognizer","pTime","pCenter","count","Hammer","preset","Manager","recognizeWith","dropRecognizeWith","requireFailure","dropRequireFailure","hasRequireFailures","canRecognizeWith","event","additionalEvent","tryEmit","canEmit","inputDataClone","reset","process","attrTest","optionPointers","isRecognized","isValid","threshold","DIRECTION_HORIZONTAL","directionTest","hasMoved","inOut","time","validPointers","validMovement","validTime","clearTimeout","taps","interval","posThreshold","validTouchTime","failTimeout","validInterval","validMultiTap","tapCount","VERSION","domEvents","inputClass","cssProps","userSelect","touchSelect","touchCallout","contentZooming","userDrag","tapHighlightColor","handlers","oldCssProps","toggleCssProps","item","add","stop","force","stopped","curRecognizer","existing","remove","on","events","off","data","gestureEvent","createEvent","initEvent","gesture","dispatchEvent","triggerDomEvent","INPUT_START","INPUT_MOVE","INPUT_END","INPUT_CANCEL","STATE_POSSIBLE","STATE_BEGAN","STATE_CHANGED","STATE_ENDED","STATE_RECOGNIZED","STATE_CANCELLED","STATE_FAILED","DIRECTION_NONE","DIRECTION_RIGHT","DIRECTION_DOWN","DIRECTION_VERTICAL","DIRECTION_ALL","Tap","Pan","Swipe","Pinch","Rotate","Press","define","amd","module","exports","$","require","factory","originalEmit","hammer","el","$el","hammerify","trigger","selector","isWindow","class2type","toString","isPlainObject","nodeType","hasOwn","isArraylike","expando","cache","uuid","removeData","_","copyIsArray","copy","clone","deep","queue","elem","arr","ret","q","first","second","len","j","dequeue","elems","shift","unshift","box","getBoundingClientRect","top","left","pageYOffset","scrollTop","clientTop","pageXOffset","scrollLeft","clientLeft","position","offsetParent","parentOffset","nodeName","parseFloat","marginTop","marginLeft","borderTopWidth","borderLeftWidth","getTime","Velocity","Utilities","global","timeLast","IE","documentMode","div","innerHTML","getElementsByTagName","rAFShim","webkitRequestAnimationFrame","mozRequestAnimationFrame","timeDelta","timeCurrent","max","sanitizeElements","elements","Type","isWrapped","isNode","isString","variable","isFunction","isNodeList","jquery","Zepto","zepto","isZ","isSVG","SVGElement","isEmptyObject","isJQuery","State","isMobile","isAndroid","isGingerbread","isChrome","chrome","isFirefox","prefixElement","prefixMatches","scrollAnchor","scrollPropertyLeft","scrollPropertyTop","isTicking","calls","Redirects","Easings","Promise","duration","easing","begin","complete","progress","display","visibility","loop","delay","mobileHA","_cacheValues","isAnimating","computedStyle","tweensContainer","rootPropertyValueCache","transformCache","hook","mock","version","major","minor","patch","debug","documentElement","body","generateSpringRK4","springAccelerationForState","tension","friction","springEvaluateStateWithDerivative","initialState","dt","derivative","dv","springIntegrateState","c","d","dxdt","dvdt","springRK4Factory","have_duration","last_state","initState","path","time_lapsed","percentComplete","linear","p","swing","cos","spring","exp","easingArray","generateBezier","RegEx","isHex","valueUnwrap","wrappedValueAlreadyExtracted","valueSplit","Lists","colors","transformsBase","transforms3D","Hooks","templates","textShadow","boxShadow","clip","backgroundPosition","transformOrigin","perspectiveOrigin","registered","register","rgbComponents","rootProperty","hookTemplate","hookNames","defaultValues","match","fullHookName","hookPosition","getRoot","hookData","cleanRootPropertyValue","rootPropertyValue","Values","isCSSNullValue","extractValue","hookRoot","injectValue","hookValue","rootPropertyValueParts","Normalizations","propertyValue","extracted","blur","blurComponent","opacity","zoom","parseInt","transformName","Data","invalid","substr","colorName","converted","colorNames","black","blue","gray","green","red","white","hexToRgb","Names","camelCase","subMatch","SVGAttribute","SVGAttributes","RegExp","prefixCheck","vendors","vendorsLength","propertyPrefixed","hex","rgbParts","m","r","g","exec","getUnitType","getDisplayType","tagName","addClass","className","classList","removeClass","getPropertyValue","forceStyleLookup","computePropertyValue","computedValue","css","toggleDisplay","revertDisplay","setPropertyValue","contentBoxHeight","offsetHeight","contentBoxWidth","offsetWidth","getComputedStyle","normalizedPropertyName","normalizedPropertyValue","getBBox","error","getAttribute","scrollData","propertyName","container","scrollTo","alternateValue","hookName","setAttribute","flushTransformCache","transformString","getTransformFloat","transformProperty","SVGTransforms","translate","skewX","skewY","rotate","transformValue","perspective","arg2","arg3","adjustedSet","animate","getChain","isUtility","promiseData","promise","elementsWrapped","argumentIndex","propertiesMap","syntacticSugar","names","o","elementsLength","elementsIndex","startingArgumentPosition","action","resolver","rejecter","resolve","reject","delayTimer","next","callsToStop","activeCall","k","activeElement","queueName","l","activeTween","endValue","currentValue","completeCall","durationOriginal","opts","delayOriginal","backwards","reverse","elementIndex","stagger","drag","abortError","reverseCallsCount","callUnitConversionData","lastParent","lastPosition","lastFontSize","lastPercentToPxWidth","lastPercentToPxHeight","lastEmToPx","remToPx","vwToPx","vhToPx","processElement","reverseOptions","elementUnitConversionData","velocityQueueEntryFlag","buildQueue","scrollPositionCurrent","scrollPositionCurrentAlternate","scrollPositionEnd","scrollDirection","axis","scrollOffset","scroll","startValue","unitType","lastTweensContainer","lastTween","lastStartValue","parsePropertyValue","valueData","skipResolvingEasing","getEasing","colorComponents","endValueRGB","startValueRGB","dataArray","separatedValue","endValueUnitType","startValueUnitType","operator","separateValue","calculateUnitRatios","percentToPxWidth","percentToPxHeight","numericValue","sameRatioIndicators","myParent","fontSize","samePercentRatio","sameEmRatio","unitRatios","emToPx","dummy","createElementNS","appendChild","measurement","removeChild","innerWidth","innerHeight","tick","clearQueue","ticker","requestAnimationFrame","hidden","elementsSize","computedValues","height","marginBottom","paddingTop","paddingBottom","inlineValues","overflow","originalComplete","response","generateStep","steps","mX1","mY1","mX2","mY2","NEWTON_ITERATIONS","NEWTON_MIN_SLOPE","SUBDIVISION_PRECISION","SUBDIVISION_MAX_ITERATIONS","kSplineTableSize","kSampleStepSize","float32ArraySupported","isNaN","isFinite","min","mSampleValues","Float32Array","A","aA1","aA2","B","C","calcBezier","aT","getSlope","newtonRaphsonIterate","aX","aGuessT","currentSlope","calcSampleValues","binarySubdivide","aA","aB","currentX","currentT","getTForX","intervalStart","currentSample","lastSample","guessForT","initialSlope","_precomputed","precompute","f","getControlPoints","timestamp","callsLength","array","result","compactSparseArray","callContainer","timeStart","firstTick","tweenDummyValue","callLength","transformPropertyExists","flexValue","tween","tweenDelta","adjustedSetData","translate3d","callIndex","isStopped","remainingCallsExist","transformHAPropertyExists","defaultValue","tweenContainer","primary","secondary","versionInts","velocityVersion","versionObject","versionIntsComponents","component","effectName","RegisterEffect","RegisterUI","animateParentHeight","totalDuration","totalHeightDelta","redirectOptions","finalElement","defaultDuration","propertyMap","redirectDuration","durationPercentage","callOptions","defaultDisplay","injectFinalCallbacks","resetProperty","resetValue","resetOptions","packagedEffects","callout.bounce","translateY","callout.shake","translateX","callout.flash","callout.pulse","scaleX","scaleY","callout.swing","rotateZ","callout.tada","transition.fadeIn","transition.fadeOut","transition.flipXIn","transformPerspective","rotateY","transition.flipXOut","transition.flipYIn","rotateX","transition.flipYOut","transition.flipBounceXIn","transition.flipBounceXOut","transition.flipBounceYIn","transition.flipBounceYOut","transition.swoopIn","transformOriginX","transformOriginY","translateZ","transition.swoopOut","transition.whirlIn","transition.whirlOut","transition.shrinkIn","transition.shrinkOut","transition.expandIn","transition.expandOut","transition.bounceIn","transition.bounceOut","transition.bounceUpIn","transition.bounceUpOut","transition.bounceDownIn","transition.bounceDownOut","transition.bounceLeftIn","transition.bounceLeftOut","transition.bounceRightIn","transition.bounceRightOut","transition.slideUpIn","transition.slideUpOut","transition.slideDownIn","transition.slideDownOut","transition.slideLeftIn","transition.slideLeftOut","transition.slideRightIn","transition.slideRightOut","transition.slideUpBigIn","transition.slideUpBigOut","transition.slideDownBigIn","transition.slideDownBigOut","transition.slideLeftBigIn","transition.slideLeftBigOut","transition.slideRightBigIn","transition.slideRightBigOut","transition.perspectiveUpIn","transition.perspectiveUpOut","transition.perspectiveDownIn","transition.perspectiveDownOut","transition.perspectiveLeftIn","transition.perspectiveLeftOut","transition.perspectiveRightIn","transition.perspectiveRightOut","RunSequence","originalSequence","sequence","currentCall","nextCall","currentCallOptions","nextCallOptions","timing","sequenceQueue","callbackOriginal","nextCallElements","Owl","settings","Defaults","$element","_handlers","_plugins","_supress","_current","_speed","_coordinates","_breakpoint","_width","_items","_clones","_mergers","_widths","_invalidated","_pipe","_drag","pointer","stage","current","_states","tags","initializing","animating","dragging","proxy","Plugins","plugin","charAt","Workers","priority","worker","run","setup","initialize","items","rewind","checkVisibility","mouseDrag","touchDrag","pullDrag","freeDrag","margin","stagePadding","mergeFit","autoWidth","startPosition","rtl","smartSpeed","fluidSpeed","dragEndSpeed","responsive","responsiveRefreshRate","responsiveBaseElement","fallbackEasing","slideTransition","info","nestedItemSelector","itemElement","stageElement","refreshClass","loadedClass","loadingClass","rtlClass","responsiveClass","dragClass","itemClass","stageClass","stageOuterClass","grabClass","Width","Default","Inner","Outer","Event","width","relative","$stage","children","grid","margin-left","margin-right","toFixed","widths","clones","view","size","ceil","repeat","append","prepend","normalize","outerHTML","appendTo","prependTo","previous","coordinates","padding","padding-left","padding-right","eq","removeAttr","minimum","maximum","inner","outer","n","matches","op","initializeStage","class","wrap","initializeItems","$items","map","refresh","not","isVisible","invalidate","imgs","nestedSelector","enter","toggleClass","is","preloadAutoWidthImages","registerEventHandlers","leave","viewport","overwrites","breakpoint","Number","attr","optionsLogic","prepare","content","grep","dimension","onThrottledResize","resizeTimer","onResize","isDefaultPrevented","support","transition","onTransitionEnd","onDragStart","onDragEnd","transform","speed","one","delta","difference","onDragMove","pull","closest","coordinate","transform3d","part","suppress","release","isNumeric","reciprocalItemsWidth","elementWidth","mergers","odd","even","multiplier","newPosition","from","to","factor","revert","prev","stopPropagation","srcElement","originalTarget","clientWidth","empty","addBack","after","before","images","Image","unwrap","contents","listener","capture","attachEvent","detachEvent","namespace","status","relatedTarget","onTrigger","object","special","owl","_default","tag","originalEvent","pageX","pageY","number","owlCarousel","option","$this","Constructor","AutoRefresh","carousel","_core","_interval","_visible","initialized.owl.carousel","autoRefresh","watch","autoRefreshInterval","setInterval","clearInterval","getOwnPropertyNames","Lazy","_loaded","initialized.owl.carousel change.owl.carousel resized.owl.carousel","lazyLoad","load","lazyLoadEager","$item","$elements","image","url","devicePixelRatio","onload","background-image","AutoHeight","_previousHeight","initialized.owl.carousel refreshed.owl.carousel","autoHeight","changed.owl.carousel","loaded.owl.lazy","_intervalId","refThis","resize","autoHeightClass","lazyLoadEnabled","visible","heights","maxheight","Video","_videos","_playing","resize.owl.carousel","video","isInFullScreen","refreshed.owl.carousel","prepared.owl.carousel","fetch","play","videoHeight","videoWidth","thumbnail","tnLink","dimensions","customTn","srcType","lazyClass","ajax","jsonp","dataType","success","thumbnail_large","framegrab_url","html","insertAfter","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","hasClass","Animate","scope","core","swapping","change.owl.carousel","drag.owl.carousel dragged.owl.carousel translated.owl.carousel","translate.owl.carousel","animateOut","animateIn","swap","animation","clear","incoming","outgoing","Autoplay","_call","_time","_timeout","_paused","autoplay","play.owl.autoplay","s","stop.owl.autoplay","mouseover.owl.autoplay","autoplayHoverPause","pause","mouseleave.owl.autoplay","touchstart.owl.core","touchend.owl.core","autoplayTimeout","autoplaySpeed","_next","read","elapsed","Navigation","_initialized","_pages","_controls","_templates","_overrides","dotsData","dotClass","added.owl.carousel","pop","remove.owl.carousel","draw","nav","navText","navSpeed","navElement","navContainer","navContainerClass","navClass","slideBy","dotsClass","dots","dotsEach","dotsSpeed","dotsContainer","override","$relative","$previous","$next","$absolute","control","overides","lower","upper","disabled","page","getPosition","successor","standard","Hash","_hashes","hash","location","substring","URLhashListener","prefixes","WebkitTransition","MozTransition","OTransition","WebkitAnimation","MozAnimation","OAnimation","tests","String","DISALLOWED_ATTRIBUTES","uriAttrs","DefaultWhitelist","*","area","br","col","code","em","hr","h1","h2","h3","h4","h5","h6","img","li","ol","pre","small","span","sub","sup","strong","u","ul","SAFE_URL_PATTERN","DATA_URL_PATTERN","allowedAttribute","allowedAttributeList","attrName","Boolean","nodeValue","regExp","sanitizeHtml","unsafeElements","whiteList","sanitizeFn","whitelistKeys","querySelectorAll","len2","elName","attributeList","attributes","whitelistedAttributes","len3","removeAttribute","elemCtrProto","Element","objCtr","classListGetter","$elem","classes","toggle","contains","defineProperty","classListPropDesc","enumerable","configurable","ex","__defineGetter__","startsWith","testElement","_add","DOMTokenList","_remove","bind","_toggle","token","getSelectedOptions","select","ignoreDisabled","opt","selectedOptions","getSelectValues","multiple","$defineProperty","search","string","stringLength","searchString","searchLength","pos","charCodeAt","writable","HTMLSelectElement","valHooks","useDefault","_set","changedArguments","EventIsSupported","stringSearch","stringTypes","searchSuccess","stringType","normalizeToBase","toInteger","triggerNative","eventName","bubbles","fireEvent","createEventObject","deburredLetters","À","Á","Â","Ã","Ä","Å","à","á","â","ã","ä","å","Ç","ç","Ð","ð","È","É","Ê","Ë","è","é","ê","ë","Ì","Í","Î","Ï","ì","í","î","ï","Ñ","ñ","Ò","Ó","Ô","Õ","Ö","Ø","ò","ó","ô","õ","ö","ø","Ù","Ú","Û","Ü","ù","ú","û","ü","Ý","ý","ÿ","Æ","æ","Þ","þ","ß","Ā","Ă","Ą","ā","ă","ą","Ć","Ĉ","Ċ","Č","ć","ĉ","ċ","č","Ď","Đ","ď","đ","Ē","Ĕ","Ė","Ę","Ě","ē","ĕ","ė","ę","ě","Ĝ","Ğ","Ġ","Ģ","ĝ","ğ","ġ","ģ","Ĥ","Ħ","ĥ","ħ","Ĩ","Ī","Ĭ","Į","İ","ĩ","ī","ĭ","į","ı","Ĵ","ĵ","Ķ","ķ","ĸ","Ĺ","Ļ","Ľ","Ŀ","Ł","ĺ","ļ","ľ","ŀ","ł","Ń","Ņ","Ň","Ŋ","ń","ņ","ň","ŋ","Ō","Ŏ","Ő","ō","ŏ","ő","Ŕ","Ŗ","Ř","ŕ","ŗ","ř","Ś","Ŝ","Ş","Š","ś","ŝ","ş","š","Ţ","Ť","Ŧ","ţ","ť","ŧ","Ũ","Ū","Ŭ","Ů","Ű","Ų","ũ","ū","ŭ","ů","ű","ų","Ŵ","ŵ","Ŷ","ŷ","Ÿ","Ź","Ż","Ž","ź","ż","ž","IJ","ij","Œ","œ","ʼn","ſ","reLatin","reComboMark","deburrLetter","escaper","testRegexp","replaceRegexp","htmlEscape","&","<",">","\"","'","`","keyCodeMap","32","48","49","50","51","52","53","54","55","56","57","59","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","96","97","98","99","100","101","102","103","104","105","keyCodes","full","dropdown","err","selectId","EVENT_KEY","classNames","DISABLED","DIVIDER","SHOW","DROPUP","MENU","MENURIGHT","MENULEFT","BUTTONCLASS","POPOVERHEADER","ICONBASE","TICKICON","Selector","elementTemplates","subtext","whitespace","createTextNode","fragment","createDocumentFragment","noResults","cloneNode","text","checkMark","REGEXP_ARROW","REGEXP_TAB_OR_ESCAPE","generateOption","optgroup","inline","insertAdjacentHTML","useFragment","subtextElement","iconElement","textElement","textContent","icon","iconBase","childNodes","label","showNoResults","searchMatch","searchValue","noneResultsText","$menuInner","firstChild","Selectpicker","that","$newElement","$button","$menu","selectpicker","main","isSearching","keydown","keyHistory","resetKeyHistory","sizeInfo","title","winPad","windowPadding","render","setStyle","selectAll","deselectAll","show","hide","Plugin","_option","BootstrapVersion","toUpdate","DEFAULTS","tickIcon","chain","dataAttributes","dataAttr","config","template","Function","noneSelectedText","countSelectedText","numSelected","numTotal","maxOptionsText","numAll","numGroup","selectAllText","deselectAllText","doneButton","doneButtonText","multipleSeparator","styleBase","selectedTextFormat","hideDisabled","showSubtext","showIcon","showContent","dropupAuto","header","liveSearch","liveSearchPlaceholder","liveSearchNormalize","liveSearchStyle","actionsBox","showTick","caret","maxOptions","mobile","selectOnTab","dropdownAlignRight","virtualScroll","sanitize","form","autofocus","createDropdown","buildData","$searchbox","checkDisabled","clickListener","liveSearchListener","focusedParent","setWidth","selectPosition","isVirtual","menuInner","emptyMenu","replaceChild","hide.bs.dropdown","hidden.bs.dropdown","show.bs.dropdown","shown.bs.dropdown","hasAttribute","validity","valid","buildList","multiselectable","inputGroup","drop","searchbox","actionsbox","donebutton","setPositionData","canHighlight","firstHighlightIndex","dividerHeight","dropdownHeaderHeight","liHeight","posinset","createView","setSize","selected","prevActive","active","selectedIndex","liIndex","selectedData","menuInnerHeight","chunkSize","chunkCount","firstChunk","lastChunk","currentChunk","prevPositions","positionIsDifferent","previousElements","array1","array2","chunks","menuIsDifferent","endOfChunk","position0","position1","activeIndex","prevActiveIndex","defocusItem","visibleElements","setOptionStatus","every","menuFragment","toSanitize","visibleElementsLen","elText","elementData","lastChild","sanitized","hasScrollBar","menuInnerInnerWidth","totalMenuWidth","selectWidth","minWidth","actualMenuWidth","newActive","currentActive","focusItem","updateValue","noScroll","liData","noStyle","setPlaceholder","updateIndex","titleOption","selectTitleOption","titleNotAppended","selectedOption","navigation","performance","getEntriesByType","isNotBackForward","defaultSelected","insertBefore","readyState","displayedValue","optionSelector","mainData","optID","startIndex","selectOptions","addDivider","previousData","addOption","divider","cssText","inlineStyle","optionClass","optgroupClass","tokens","addOptgroup","headerIndex","lastIndex","selectData","mainElements","widestOptionLength","buildElement","liElement","combinedLength","widestOption","findLis","showCount","countMax","placeholderSelected","selectedCount","buttonInner","querySelector","titleFragment","hasContent","thisData","titleOptions","totalCount","tr8nText","filterExpand","newStyle","buttonClass","newElement","previousElementSibling","nextElementSibling","menu","menuInnerInner","dropdownHeader","firstOption","scrollBarWidth","headerHeight","searchHeight","actionsHeight","doneButtonHeight","outerHeight","menuStyle","menuWidth","menuPadding","vert","borderBottomWidth","horiz","paddingLeft","paddingRight","borderRightWidth","menuExtras","marginRight","overflowY","selectHeight","getSelectPosition","containerPos","$window","$container","selectOffsetTop","selectOffsetBot","selectOffsetLeft","selectOffsetRight","setMenuSize","isAuto","menuHeight","minHeight","_minHeight","maxHeight","menuInnerMinHeight","estimate","isDropup","divHeight","divLength","dropup","max-height","min-height","overflow-y","_popper","$selectClone","btnWidth","outerWidth","$bsContainer","actualHeight","getPlacement","containerPosition","isDisabled","detach","selectedOnly","setDisabled","setSelected","activeIndexIsSet","keepActive","$document","setFocus","checkPopperExists","isCreated","keyCode","_menu","hoverLi","parentElement","hoverData","retainActive","clickedData","clickedIndex","prevValue","prevIndex","prevOption","triggerChange","$option","$optgroup","$optgroupOptions","maxOptionsGrp","focus","maxReached","maxReachedGrp","maxOptionsArr","maxTxt","maxTxtGrp","$notify","currentTarget","tabindex","isTrusted","previousValue","cacheArr","searchStyle","_searchStyle","normalizeSearch","cacheLen","liPrev","liSelectedIndex","changeAll","previousSelected","currentSelected","isActive","liActive","activeLi","isToggle","updateScroll","downOnTab","isArrowKey","lastIndexOf","liActiveIndex","scrollHeight","cancel","matchIndex","old","keydownHandler","bootstrapKeydown","_dataApiKeydownHandler","noConflict","$selectpicker","edge","closeOnClick","draggable","onOpen","onClose","menuId","$dragTarget","right","menuOut","removeMenu","restoreNav","prevent_default","overlayPerc","$body","$overlay","oldWidth","click","rightPos","leftPos","sideNav","methodOrOptions","methods","_addFormGroupFocus","_toggleTypeFocus","$input","hover","$i","_removeFormGroupFocus","icodetutsfrminput","validate","ripples","checkbox","togglebutton","radio","arrive","autofill","withRipples","inputElements","checkboxElements","togglebuttonElements","radioElements","$formGroup","input-lg","input-sm","legacySize","standardSize","placeholder","forAttribute","attachInputEventHandlers","evt","ctrlKey","metaKey","altKey","checkValidity","files","file","loading","attachAutofillEventHandlers","focused","$inputs","parents"],"mappings":";;;;;;;;;;;;;;AAIA,IAAAA;;;;;;;;;;CCCA,SAAAC,EAAAC,EAAAC,EAAAC,GACA,aAEA,IA+FAC,EA/FAC,EAAA,CAAA,GAAA,SAAA,MAAA,KAAA,KAAA,KACAC,EAAAL,EAAAM,cAAA,OAIAC,EAAAC,KAAAD,MACAE,EAAAD,KAAAC,IACAC,EAAAC,KAAAD,IASA,SAAAE,EAAAC,EAAAC,EAAAC,GACA,OAAAC,WAAAC,EAAAJ,EAAAE,GAAAD,GAYA,SAAAI,EAAAC,EAAAN,EAAAE,GACA,QAAAK,MAAAC,QAAAF,KACAG,EAAAH,EAAAJ,EAAAF,GAAAE,IACA,GAWA,SAAAO,EAAAC,EAAAC,EAAAT,GACA,IAAAU,EAEA,GAAAF,EAIA,GAAAA,EAAAG,QACAH,EAAAG,QAAAF,EAAAT,QACA,QAvDA,IAuDAQ,EAAAI,OAEA,IADAF,EAAA,EACAA,EAAAF,EAAAI,QACAH,EAAAI,KAAAb,EAAAQ,EAAAE,GAAAA,EAAAF,GACAE,SAGA,IAAAA,KAAAF,EACAA,EAAAM,eAAAJ,IAAAD,EAAAI,KAAAb,EAAAQ,EAAAE,GAAAA,EAAAF,GAYA,SAAAO,EAAAC,EAAAC,EAAAC,GACA,IAAAC,EAAA,sBAAAF,EAAA,KAAAC,EAAA,SACA,OAAA,WACA,IAAAE,EAAA,IAAAC,MAAA,mBACAC,EAAAF,GA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,WACA3qD,EAAAmqD,kBAAAE,QAAArqD,EAAAnY,UAGAA,KAAAqF,QAAAQ,OACAk3D,EAAA6F,OAAA5iE,KAAAqF,QAAA09D,eAAA,WACA5qD,EAAAmqD,kBAAAz8D,MAAAsS,EAAAnY,UAGAA,KAAAqF,QAAAo9D,UACA1F,EAAA6F,OAAA5iE,KAAAqF,QAAA29D,kBAAA,WACA7qD,EAAAmqD,kBAAAG,SAAAtqD,EAAAnY,UAGAA,KAAAqF,QAAAs9D,OACA5F,EAAA6F,OAAA5iE,KAAAqF,QAAA69D,eAAA,WACA/qD,EAAAmqD,kBAAAK,MAAAxqD,EAAAnY,UAGAA,KAAAqF,QAAAq9D,cACA3F,EAAA6F,OAAA5iE,KAAAqF,QAAA49D,sBAAA,WACA9qD,EAAAmqD,kBAAAI,aAAAvqD,EAAAnY,cAMA7C","file":"../app-bundal.js","sourcesContent":["// load everything \n// require('jquery-ui'); \n// Check for jQuery.\nif (typeof (jQuery) === 'undefined') {\n var jQuery;\n // Check if require is a defined function.\n if (typeof (require) === 'function') {\n jQuery = $ = require('jquery');\n // Else use the dollar sign alias.\n } else {\n jQuery = $;\n } \n}\n\n// Check for jQuery.\n(function (factory) {\n if (typeof define === 'function' && define.amd) {\n define(['jquery', 'hammerjs'], factory);\n } else if (typeof exports === 'object') {\n factory(require('jquery'), require('hammerjs'));\n } else {\n factory(jQuery, Hammer);\n }\n}(function ($, Hammer) {\n function hammerify(el, options) {\n var $el = $(el);\n if (!$el.data(\"hammer\")) {\n $el.data(\"hammer\", new Hammer($el[0], options));\n }\n }\n \n $.fn.hammer = function (options) {\n return this.each(function () {\n hammerify(this, options);\n });\n };\n\n // extend the emit method to also trigger jQuery events\n Hammer.Manager.prototype.emit = (function (originalEmit) {\n return function (type, data) {\n originalEmit.call(this, type, data);\n $(this.element).trigger({\n type: type,\n gesture: data\n });\n };\n })(Hammer.Manager.prototype.emit);\n})); ","/*! Hammer.JS - v2.0.7 - 2016-04-22\n * http://hammerjs.github.io/\n *\n * Copyright (c) 2016 Jorik Tangelder;\n * Licensed under the MIT license */\n(function(window, document, exportName, undefined) {\n 'use strict';\n\nvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\nvar TEST_ELEMENT = document.createElement('div');\n\nvar TYPE_FUNCTION = 'function';\n\nvar round = Math.round;\nvar abs = Math.abs;\nvar now = Date.now;\n\n/**\n * set a timeout with a given scope\n * @param {Function} fn\n * @param {Number} timeout\n * @param {Object} context\n * @returns {number}\n */\nfunction setTimeoutContext(fn, timeout, context) {\n return setTimeout(bindFn(fn, context), timeout);\n}\n\n/**\n * if the argument is an array, we want to execute the fn on each entry\n * if it aint an array we don't want to do a thing.\n * this is used by all the methods that accept a single and array argument.\n * @param {*|Array} arg\n * @param {String} fn\n * @param {Object} [context]\n * @returns {Boolean}\n */\nfunction invokeArrayArg(arg, fn, context) {\n if (Array.isArray(arg)) {\n each(arg, context[fn], context);\n return true;\n }\n return false;\n}\n\n/**\n * walk objects and arrays\n * @param {Object} obj\n * @param {Function} iterator\n * @param {Object} context\n */\nfunction each(obj, iterator, context) {\n var i;\n\n if (!obj) {\n return;\n }\n\n if (obj.forEach) {\n obj.forEach(iterator, context);\n } else if (obj.length !== undefined) {\n i = 0;\n while (i < obj.length) {\n iterator.call(context, obj[i], i, obj);\n i++;\n }\n } else {\n for (i in obj) {\n obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n }\n }\n}\n\n/**\n * wrap a method with a deprecation warning and stack trace\n * @param {Function} method\n * @param {String} name\n * @param {String} message\n * @returns {Function} A new function wrapping the supplied method.\n */\nfunction deprecate(method, name, message) {\n var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n return function() {\n var e = new Error('get-stack-trace');\n var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n .replace(/^\\s+at\\s+/gm, '')\n .replace(/^Object.\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\n var log = window.console && (window.console.warn || window.console.log);\n if (log) {\n log.call(window.console, deprecationMessage, stack);\n }\n return method.apply(this, arguments);\n };\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} target\n * @param {...Object} objects_to_assign\n * @returns {Object} target\n */\nvar assign;\nif (typeof Object.assign !== 'function') {\n assign = function assign(target) {\n if (target === undefined || target === null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n for (var index = 1; index < arguments.length; index++) {\n var source = arguments[index];\n if (source !== undefined && source !== null) {\n for (var nextKey in source) {\n if (source.hasOwnProperty(nextKey)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n }\n return output;\n };\n} else {\n assign = Object.assign;\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} dest\n * @param {Object} src\n * @param {Boolean} [merge=false]\n * @returns {Object} dest\n */\nvar extend = deprecate(function extend(dest, src, merge) {\n var keys = Object.keys(src);\n var i = 0;\n while (i < keys.length) {\n if (!merge || (merge && dest[keys[i]] === undefined)) {\n dest[keys[i]] = src[keys[i]];\n }\n i++;\n }\n return dest;\n}, 'extend', 'Use `assign`.');\n\n/**\n * merge the values from src in the dest.\n * means that properties that exist in dest will not be overwritten by src\n * @param {Object} dest\n * @param {Object} src\n * @returns {Object} dest\n */\nvar merge = deprecate(function merge(dest, src) {\n return extend(dest, src, true);\n}, 'merge', 'Use `assign`.');\n\n/**\n * simple class inheritance\n * @param {Function} child\n * @param {Function} base\n * @param {Object} [properties]\n */\nfunction inherit(child, base, properties) {\n var baseP = base.prototype,\n childP;\n\n childP = child.prototype = Object.create(baseP);\n childP.constructor = child;\n childP._super = baseP;\n\n if (properties) {\n assign(childP, properties);\n }\n}\n\n/**\n * simple function bind\n * @param {Function} fn\n * @param {Object} context\n * @returns {Function}\n */\nfunction bindFn(fn, context) {\n return function boundFn() {\n return fn.apply(context, arguments);\n };\n}\n\n/**\n * let a boolean value also be a function that must return a boolean\n * this first item in args will be used as the context\n * @param {Boolean|Function} val\n * @param {Array} [args]\n * @returns {Boolean}\n */\nfunction boolOrFn(val, args) {\n if (typeof val == TYPE_FUNCTION) {\n return val.apply(args ? args[0] || undefined : undefined, args);\n }\n return val;\n}\n\n/**\n * use the val2 when val1 is undefined\n * @param {*} val1\n * @param {*} val2\n * @returns {*}\n */\nfunction ifUndefined(val1, val2) {\n return (val1 === undefined) ? val2 : val1;\n}\n\n/**\n * addEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction addEventListeners(target, types, handler) {\n each(splitStr(types), function(type) {\n target.addEventListener(type, handler, false);\n });\n}\n\n/**\n * removeEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction removeEventListeners(target, types, handler) {\n each(splitStr(types), function(type) {\n target.removeEventListener(type, handler, false);\n });\n}\n\n/**\n * find if a node is in the given parent\n * @method hasParent\n * @param {HTMLElement} node\n * @param {HTMLElement} parent\n * @return {Boolean} found\n */\nfunction hasParent(node, parent) {\n while (node) {\n if (node == parent) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}\n\n/**\n * small indexOf wrapper\n * @param {String} str\n * @param {String} find\n * @returns {Boolean} found\n */\nfunction inStr(str, find) {\n return str.indexOf(find) > -1;\n}\n\n/**\n * split string on whitespace\n * @param {String} str\n * @returns {Array} words\n */\nfunction splitStr(str) {\n return str.trim().split(/\\s+/g);\n}\n\n/**\n * find if a array contains the object using indexOf or a simple polyFill\n * @param {Array} src\n * @param {String} find\n * @param {String} [findByKey]\n * @return {Boolean|Number} false when not found, or the index\n */\nfunction inArray(src, find, findByKey) {\n if (src.indexOf && !findByKey) {\n return src.indexOf(find);\n } else {\n var i = 0;\n while (i < src.length) {\n if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n return i;\n }\n i++;\n }\n return -1;\n }\n}\n\n/**\n * convert array-like objects to real arrays\n * @param {Object} obj\n * @returns {Array}\n */\nfunction toArray(obj) {\n return Array.prototype.slice.call(obj, 0);\n}\n\n/**\n * unique array with objects based on a key (like 'id') or just by the array's value\n * @param {Array} src [{id:1},{id:2},{id:1}]\n * @param {String} [key]\n * @param {Boolean} [sort=False]\n * @returns {Array} [{id:1},{id:2}]\n */\nfunction uniqueArray(src, key, sort) {\n var results = [];\n var values = [];\n var i = 0;\n\n while (i < src.length) {\n var val = key ? src[i][key] : src[i];\n if (inArray(values, val) < 0) {\n results.push(src[i]);\n }\n values[i] = val;\n i++;\n }\n\n if (sort) {\n if (!key) {\n results = results.sort();\n } else {\n results = results.sort(function sortUniqueArray(a, b) {\n return a[key] > b[key];\n });\n }\n }\n\n return results;\n}\n\n/**\n * get the prefixed property\n * @param {Object} obj\n * @param {String} property\n * @returns {String|Undefined} prefixed\n */\nfunction prefixed(obj, property) {\n var prefix, prop;\n var camelProp = property[0].toUpperCase() + property.slice(1);\n\n var i = 0;\n while (i < VENDOR_PREFIXES.length) {\n prefix = VENDOR_PREFIXES[i];\n prop = (prefix) ? prefix + camelProp : property;\n\n if (prop in obj) {\n return prop;\n }\n i++;\n }\n return undefined;\n}\n\n/**\n * get a unique id\n * @returns {number} uniqueId\n */\nvar _uniqueId = 1;\nfunction uniqueId() {\n return _uniqueId++;\n}\n\n/**\n * get the window object of an element\n * @param {HTMLElement} element\n * @returns {DocumentView|Window}\n */\nfunction getWindowForElement(element) {\n var doc = element.ownerDocument || element;\n return (doc.defaultView || doc.parentWindow || window);\n}\n\nvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\nvar SUPPORT_TOUCH = ('ontouchstart' in window);\nvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\nvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\nvar INPUT_TYPE_TOUCH = 'touch';\nvar INPUT_TYPE_PEN = 'pen';\nvar INPUT_TYPE_MOUSE = 'mouse';\nvar INPUT_TYPE_KINECT = 'kinect';\n\nvar COMPUTE_INTERVAL = 25;\n\nvar INPUT_START = 1;\nvar INPUT_MOVE = 2;\nvar INPUT_END = 4;\nvar INPUT_CANCEL = 8;\n\nvar DIRECTION_NONE = 1;\nvar DIRECTION_LEFT = 2;\nvar DIRECTION_RIGHT = 4;\nvar DIRECTION_UP = 8;\nvar DIRECTION_DOWN = 16;\n\nvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\nvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\nvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\nvar PROPS_XY = ['x', 'y'];\nvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\n/**\n * create new input type manager\n * @param {Manager} manager\n * @param {Function} callback\n * @returns {Input}\n * @constructor\n */\nfunction Input(manager, callback) {\n var self = this;\n this.manager = manager;\n this.callback = callback;\n this.element = manager.element;\n this.target = manager.options.inputTarget;\n\n // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n // so when disabled the input events are completely bypassed.\n this.domHandler = function(ev) {\n if (boolOrFn(manager.options.enable, [manager])) {\n self.handler(ev);\n }\n };\n\n this.init();\n\n}\n\nInput.prototype = {\n /**\n * should handle the inputEvent data and trigger the callback\n * @virtual\n */\n handler: function() { },\n\n /**\n * bind the events\n */\n init: function() {\n this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n },\n\n /**\n * unbind the events\n */\n destroy: function() {\n this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n }\n};\n\n/**\n * create new input type manager\n * called by the Manager constructor\n * @param {Hammer} manager\n * @returns {Input}\n */\nfunction createInputInstance(manager) {\n var Type;\n var inputClass = manager.options.inputClass;\n\n if (inputClass) {\n Type = inputClass;\n } else if (SUPPORT_POINTER_EVENTS) {\n Type = PointerEventInput;\n } else if (SUPPORT_ONLY_TOUCH) {\n Type = TouchInput;\n } else if (!SUPPORT_TOUCH) {\n Type = MouseInput;\n } else {\n Type = TouchMouseInput;\n }\n return new (Type)(manager, inputHandler);\n}\n\n/**\n * handle input events\n * @param {Manager} manager\n * @param {String} eventType\n * @param {Object} input\n */\nfunction inputHandler(manager, eventType, input) {\n var pointersLen = input.pointers.length;\n var changedPointersLen = input.changedPointers.length;\n var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\n input.isFirst = !!isFirst;\n input.isFinal = !!isFinal;\n\n if (isFirst) {\n manager.session = {};\n }\n\n // source event is the normalized value of the domEvents\n // like 'touchstart, mouseup, pointerdown'\n input.eventType = eventType;\n\n // compute scale, rotation etc\n computeInputData(manager, input);\n\n // emit secret event\n manager.emit('hammer.input', input);\n\n manager.recognize(input);\n manager.session.prevInput = input;\n}\n\n/**\n * extend the data with some usable properties like scale, rotate, velocity etc\n * @param {Object} manager\n * @param {Object} input\n */\nfunction computeInputData(manager, input) {\n var session = manager.session;\n var pointers = input.pointers;\n var pointersLength = pointers.length;\n\n // store the first input to calculate the distance and direction\n if (!session.firstInput) {\n session.firstInput = simpleCloneInputData(input);\n }\n\n // to compute scale and rotation we need to store the multiple touches\n if (pointersLength > 1 && !session.firstMultiple) {\n session.firstMultiple = simpleCloneInputData(input);\n } else if (pointersLength === 1) {\n session.firstMultiple = false;\n }\n\n var firstInput = session.firstInput;\n var firstMultiple = session.firstMultiple;\n var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\n var center = input.center = getCenter(pointers);\n input.timeStamp = now();\n input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\n input.angle = getAngle(offsetCenter, center);\n input.distance = getDistance(offsetCenter, center);\n\n computeDeltaXY(session, input);\n input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\n var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n input.overallVelocityX = overallVelocity.x;\n input.overallVelocityY = overallVelocity.y;\n input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\n input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\n input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\n computeIntervalInputData(session, input);\n\n // find the correct target\n var target = manager.element;\n if (hasParent(input.srcEvent.target, target)) {\n target = input.srcEvent.target;\n }\n input.target = target;\n}\n\nfunction computeDeltaXY(session, input) {\n var center = input.center;\n var offset = session.offsetDelta || {};\n var prevDelta = session.prevDelta || {};\n var prevInput = session.prevInput || {};\n\n if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n prevDelta = session.prevDelta = {\n x: prevInput.deltaX || 0,\n y: prevInput.deltaY || 0\n };\n\n offset = session.offsetDelta = {\n x: center.x,\n y: center.y\n };\n }\n\n input.deltaX = prevDelta.x + (center.x - offset.x);\n input.deltaY = prevDelta.y + (center.y - offset.y);\n}\n\n/**\n * velocity is calculated every x ms\n * @param {Object} session\n * @param {Object} input\n */\nfunction computeIntervalInputData(session, input) {\n var last = session.lastInterval || input,\n deltaTime = input.timeStamp - last.timeStamp,\n velocity, velocityX, velocityY, direction;\n\n if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n var deltaX = input.deltaX - last.deltaX;\n var deltaY = input.deltaY - last.deltaY;\n\n var v = getVelocity(deltaTime, deltaX, deltaY);\n velocityX = v.x;\n velocityY = v.y;\n velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n direction = getDirection(deltaX, deltaY);\n\n session.lastInterval = input;\n } else {\n // use latest velocity info if it doesn't overtake a minimum period\n velocity = last.velocity;\n velocityX = last.velocityX;\n velocityY = last.velocityY;\n direction = last.direction;\n }\n\n input.velocity = velocity;\n input.velocityX = velocityX;\n input.velocityY = velocityY;\n input.direction = direction;\n}\n\n/**\n * create a simple clone from the input used for storage of firstInput and firstMultiple\n * @param {Object} input\n * @returns {Object} clonedInputData\n */\nfunction simpleCloneInputData(input) {\n // make a simple copy of the pointers because we will get a reference if we don't\n // we only need clientXY for the calculations\n var pointers = [];\n var i = 0;\n while (i < input.pointers.length) {\n pointers[i] = {\n clientX: round(input.pointers[i].clientX),\n clientY: round(input.pointers[i].clientY)\n };\n i++;\n }\n\n return {\n timeStamp: now(),\n pointers: pointers,\n center: getCenter(pointers),\n deltaX: input.deltaX,\n deltaY: input.deltaY\n };\n}\n\n/**\n * get the center of all the pointers\n * @param {Array} pointers\n * @return {Object} center contains `x` and `y` properties\n */\nfunction getCenter(pointers) {\n var pointersLength = pointers.length;\n\n // no need to loop when only one touch\n if (pointersLength === 1) {\n return {\n x: round(pointers[0].clientX),\n y: round(pointers[0].clientY)\n };\n }\n\n var x = 0, y = 0, i = 0;\n while (i < pointersLength) {\n x += pointers[i].clientX;\n y += pointers[i].clientY;\n i++;\n }\n\n return {\n x: round(x / pointersLength),\n y: round(y / pointersLength)\n };\n}\n\n/**\n * calculate the velocity between two points. unit is in px per ms.\n * @param {Number} deltaTime\n * @param {Number} x\n * @param {Number} y\n * @return {Object} velocity `x` and `y`\n */\nfunction getVelocity(deltaTime, x, y) {\n return {\n x: x / deltaTime || 0,\n y: y / deltaTime || 0\n };\n}\n\n/**\n * get the direction between two points\n * @param {Number} x\n * @param {Number} y\n * @return {Number} direction\n */\nfunction getDirection(x, y) {\n if (x === y) {\n return DIRECTION_NONE;\n }\n\n if (abs(x) >= abs(y)) {\n return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n }\n return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n}\n\n/**\n * calculate the absolute distance between two points\n * @param {Object} p1 {x, y}\n * @param {Object} p2 {x, y}\n * @param {Array} [props] containing x and y keys\n * @return {Number} distance\n */\nfunction getDistance(p1, p2, props) {\n if (!props) {\n props = PROPS_XY;\n }\n var x = p2[props[0]] - p1[props[0]],\n y = p2[props[1]] - p1[props[1]];\n\n return Math.sqrt((x * x) + (y * y));\n}\n\n/**\n * calculate the angle between two coordinates\n * @param {Object} p1\n * @param {Object} p2\n * @param {Array} [props] containing x and y keys\n * @return {Number} angle\n */\nfunction getAngle(p1, p2, props) {\n if (!props) {\n props = PROPS_XY;\n }\n var x = p2[props[0]] - p1[props[0]],\n y = p2[props[1]] - p1[props[1]];\n return Math.atan2(y, x) * 180 / Math.PI;\n}\n\n/**\n * calculate the rotation degrees between two pointersets\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} rotation\n */\nfunction getRotation(start, end) {\n return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n}\n\n/**\n * calculate the scale factor between two pointersets\n * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} scale\n */\nfunction getScale(start, end) {\n return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n}\n\nvar MOUSE_INPUT_MAP = {\n mousedown: INPUT_START,\n mousemove: INPUT_MOVE,\n mouseup: INPUT_END\n};\n\nvar MOUSE_ELEMENT_EVENTS = 'mousedown';\nvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\n/**\n * Mouse events input\n * @constructor\n * @extends Input\n */\nfunction MouseInput() {\n this.evEl = MOUSE_ELEMENT_EVENTS;\n this.evWin = MOUSE_WINDOW_EVENTS;\n\n this.pressed = false; // mousedown state\n\n Input.apply(this, arguments);\n}\n\ninherit(MouseInput, Input, {\n /**\n * handle mouse events\n * @param {Object} ev\n */\n handler: function MEhandler(ev) {\n var eventType = MOUSE_INPUT_MAP[ev.type];\n\n // on start we want to have the left mouse button down\n if (eventType & INPUT_START && ev.button === 0) {\n this.pressed = true;\n }\n\n if (eventType & INPUT_MOVE && ev.which !== 1) {\n eventType = INPUT_END;\n }\n\n // mouse must be down\n if (!this.pressed) {\n return;\n }\n\n if (eventType & INPUT_END) {\n this.pressed = false;\n }\n\n this.callback(this.manager, eventType, {\n pointers: [ev],\n changedPointers: [ev],\n pointerType: INPUT_TYPE_MOUSE,\n srcEvent: ev\n });\n }\n});\n\nvar POINTER_INPUT_MAP = {\n pointerdown: INPUT_START,\n pointermove: INPUT_MOVE,\n pointerup: INPUT_END,\n pointercancel: INPUT_CANCEL,\n pointerout: INPUT_CANCEL\n};\n\n// in IE10 the pointer types is defined as an enum\nvar IE10_POINTER_TYPE_ENUM = {\n 2: INPUT_TYPE_TOUCH,\n 3: INPUT_TYPE_PEN,\n 4: INPUT_TYPE_MOUSE,\n 5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n};\n\nvar POINTER_ELEMENT_EVENTS = 'pointerdown';\nvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\n// IE10 has prefixed support, and case-sensitive\nif (window.MSPointerEvent && !window.PointerEvent) {\n POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n}\n\n/**\n * Pointer events input\n * @constructor\n * @extends Input\n */\nfunction PointerEventInput() {\n this.evEl = POINTER_ELEMENT_EVENTS;\n this.evWin = POINTER_WINDOW_EVENTS;\n\n Input.apply(this, arguments);\n\n this.store = (this.manager.session.pointerEvents = []);\n}\n\ninherit(PointerEventInput, Input, {\n /**\n * handle mouse events\n * @param {Object} ev\n */\n handler: function PEhandler(ev) {\n var store = this.store;\n var removePointer = false;\n\n var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\n var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\n // get index of the event in the store\n var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\n // start and mouse must be down\n if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n if (storeIndex < 0) {\n store.push(ev);\n storeIndex = store.length - 1;\n }\n } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n removePointer = true;\n }\n\n // it not found, so the pointer hasn't been down (so it's probably a hover)\n if (storeIndex < 0) {\n return;\n }\n\n // update the event in the store\n store[storeIndex] = ev;\n\n this.callback(this.manager, eventType, {\n pointers: store,\n changedPointers: [ev],\n pointerType: pointerType,\n srcEvent: ev\n });\n\n if (removePointer) {\n // remove from the store\n store.splice(storeIndex, 1);\n }\n }\n});\n\nvar SINGLE_TOUCH_INPUT_MAP = {\n touchstart: INPUT_START,\n touchmove: INPUT_MOVE,\n touchend: INPUT_END,\n touchcancel: INPUT_CANCEL\n};\n\nvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\nvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Touch events input\n * @constructor\n * @extends Input\n */\nfunction SingleTouchInput() {\n this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n this.started = false;\n\n Input.apply(this, arguments);\n}\n\ninherit(SingleTouchInput, Input, {\n handler: function TEhandler(ev) {\n var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\n // should we handle the touch events?\n if (type === INPUT_START) {\n this.started = true;\n }\n\n if (!this.started) {\n return;\n }\n\n var touches = normalizeSingleTouches.call(this, ev, type);\n\n // when done, reset the started state\n if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n this.started = false;\n }\n\n this.callback(this.manager, type, {\n pointers: touches[0],\n changedPointers: touches[1],\n pointerType: INPUT_TYPE_TOUCH,\n srcEvent: ev\n });\n }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction normalizeSingleTouches(ev, type) {\n var all = toArray(ev.touches);\n var changed = toArray(ev.changedTouches);\n\n if (type & (INPUT_END | INPUT_CANCEL)) {\n all = uniqueArray(all.concat(changed), 'identifier', true);\n }\n\n return [all, changed];\n}\n\nvar TOUCH_INPUT_MAP = {\n touchstart: INPUT_START,\n touchmove: INPUT_MOVE,\n touchend: INPUT_END,\n touchcancel: INPUT_CANCEL\n};\n\nvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Multi-user touch events input\n * @constructor\n * @extends Input\n */\nfunction TouchInput() {\n this.evTarget = TOUCH_TARGET_EVENTS;\n this.targetIds = {};\n\n Input.apply(this, arguments);\n}\n\ninherit(TouchInput, Input, {\n handler: function MTEhandler(ev) {\n var type = TOUCH_INPUT_MAP[ev.type];\n var touches = getTouches.call(this, ev, type);\n if (!touches) {\n return;\n }\n\n this.callback(this.manager, type, {\n pointers: touches[0],\n changedPointers: touches[1],\n pointerType: INPUT_TYPE_TOUCH,\n srcEvent: ev\n });\n }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction getTouches(ev, type) {\n var allTouches = toArray(ev.touches);\n var targetIds = this.targetIds;\n\n // when there is only one touch, the process can be simplified\n if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n targetIds[allTouches[0].identifier] = true;\n return [allTouches, allTouches];\n }\n\n var i,\n targetTouches,\n changedTouches = toArray(ev.changedTouches),\n changedTargetTouches = [],\n target = this.target;\n\n // get target touches from touches\n targetTouches = allTouches.filter(function(touch) {\n return hasParent(touch.target, target);\n });\n\n // collect touches\n if (type === INPUT_START) {\n i = 0;\n while (i < targetTouches.length) {\n targetIds[targetTouches[i].identifier] = true;\n i++;\n }\n }\n\n // filter changed touches to only contain touches that exist in the collected target ids\n i = 0;\n while (i < changedTouches.length) {\n if (targetIds[changedTouches[i].identifier]) {\n changedTargetTouches.push(changedTouches[i]);\n }\n\n // cleanup removed touches\n if (type & (INPUT_END | INPUT_CANCEL)) {\n delete targetIds[changedTouches[i].identifier];\n }\n i++;\n }\n\n if (!changedTargetTouches.length) {\n return;\n }\n\n return [\n // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n changedTargetTouches\n ];\n}\n\n/**\n * Combined touch and mouse input\n *\n * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n * This because touch devices also emit mouse events while doing a touch.\n *\n * @constructor\n * @extends Input\n */\n\nvar DEDUP_TIMEOUT = 2500;\nvar DEDUP_DISTANCE = 25;\n\nfunction TouchMouseInput() {\n Input.apply(this, arguments);\n\n var handler = bindFn(this.handler, this);\n this.touch = new TouchInput(this.manager, handler);\n this.mouse = new MouseInput(this.manager, handler);\n\n this.primaryTouch = null;\n this.lastTouches = [];\n}\n\ninherit(TouchMouseInput, Input, {\n /**\n * handle mouse and touch events\n * @param {Hammer} manager\n * @param {String} inputEvent\n * @param {Object} inputData\n */\n handler: function TMEhandler(manager, inputEvent, inputData) {\n var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\n if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n return;\n }\n\n // when we're in a touch event, record touches to de-dupe synthetic mouse event\n if (isTouch) {\n recordTouches.call(this, inputEvent, inputData);\n } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n return;\n }\n\n this.callback(manager, inputEvent, inputData);\n },\n\n /**\n * remove the event listeners\n */\n destroy: function destroy() {\n this.touch.destroy();\n this.mouse.destroy();\n }\n});\n\nfunction recordTouches(eventType, eventData) {\n if (eventType & INPUT_START) {\n this.primaryTouch = eventData.changedPointers[0].identifier;\n setLastTouch.call(this, eventData);\n } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n setLastTouch.call(this, eventData);\n }\n}\n\nfunction setLastTouch(eventData) {\n var touch = eventData.changedPointers[0];\n\n if (touch.identifier === this.primaryTouch) {\n var lastTouch = {x: touch.clientX, y: touch.clientY};\n this.lastTouches.push(lastTouch);\n var lts = this.lastTouches;\n var removeLastTouch = function() {\n var i = lts.indexOf(lastTouch);\n if (i > -1) {\n lts.splice(i, 1);\n }\n };\n setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n }\n}\n\nfunction isSyntheticEvent(eventData) {\n var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;\n for (var i = 0; i < this.lastTouches.length; i++) {\n var t = this.lastTouches[i];\n var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);\n if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n return true;\n }\n }\n return false;\n}\n\nvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\nvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\n// magical touchAction value\nvar TOUCH_ACTION_COMPUTE = 'compute';\nvar TOUCH_ACTION_AUTO = 'auto';\nvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\nvar TOUCH_ACTION_NONE = 'none';\nvar TOUCH_ACTION_PAN_X = 'pan-x';\nvar TOUCH_ACTION_PAN_Y = 'pan-y';\nvar TOUCH_ACTION_MAP = getTouchActionProps();\n\n/**\n * Touch Action\n * sets the touchAction property or uses the js alternative\n * @param {Manager} manager\n * @param {String} value\n * @constructor\n */\nfunction TouchAction(manager, value) {\n this.manager = manager;\n this.set(value);\n}\n\nTouchAction.prototype = {\n /**\n * set the touchAction value on the element or enable the polyfill\n * @param {String} value\n */\n set: function(value) {\n // find out the touch-action by the event handlers\n if (value == TOUCH_ACTION_COMPUTE) {\n value = this.compute();\n }\n\n if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n }\n this.actions = value.toLowerCase().trim();\n },\n\n /**\n * just re-set the touchAction value\n */\n update: function() {\n this.set(this.manager.options.touchAction);\n },\n\n /**\n * compute the value for the touchAction property based on the recognizer's settings\n * @returns {String} value\n */\n compute: function() {\n var actions = [];\n each(this.manager.recognizers, function(recognizer) {\n if (boolOrFn(recognizer.options.enable, [recognizer])) {\n actions = actions.concat(recognizer.getTouchAction());\n }\n });\n return cleanTouchActions(actions.join(' '));\n },\n\n /**\n * this method is called on each input cycle and provides the preventing of the browser behavior\n * @param {Object} input\n */\n preventDefaults: function(input) {\n var srcEvent = input.srcEvent;\n var direction = input.offsetDirection;\n\n // if the touch action did prevented once this session\n if (this.manager.session.prevented) {\n srcEvent.preventDefault();\n return;\n }\n\n var actions = this.actions;\n var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\n if (hasNone) {\n //do not prevent defaults if this is a tap gesture\n\n var isTapPointer = input.pointers.length === 1;\n var isTapMovement = input.distance < 2;\n var isTapTouchTime = input.deltaTime < 250;\n\n if (isTapPointer && isTapMovement && isTapTouchTime) {\n return;\n }\n }\n\n if (hasPanX && hasPanY) {\n // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n return;\n }\n\n if (hasNone ||\n (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n (hasPanX && direction & DIRECTION_VERTICAL)) {\n return this.preventSrc(srcEvent);\n }\n },\n\n /**\n * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n * @param {Object} srcEvent\n */\n preventSrc: function(srcEvent) {\n this.manager.session.prevented = true;\n srcEvent.preventDefault();\n }\n};\n\n/**\n * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n * @param {String} actions\n * @returns {*}\n */\nfunction cleanTouchActions(actions) {\n // none\n if (inStr(actions, TOUCH_ACTION_NONE)) {\n return TOUCH_ACTION_NONE;\n }\n\n var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\n // if both pan-x and pan-y are set (different recognizers\n // for different directions, e.g. horizontal pan but vertical swipe?)\n // we need none (as otherwise with pan-x pan-y combined none of these\n // recognizers will work, since the browser would handle all panning\n if (hasPanX && hasPanY) {\n return TOUCH_ACTION_NONE;\n }\n\n // pan-x OR pan-y\n if (hasPanX || hasPanY) {\n return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n }\n\n // manipulation\n if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n return TOUCH_ACTION_MANIPULATION;\n }\n\n return TOUCH_ACTION_AUTO;\n}\n\nfunction getTouchActionProps() {\n if (!NATIVE_TOUCH_ACTION) {\n return false;\n }\n var touchMap = {};\n var cssSupports = window.CSS && window.CSS.supports;\n ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {\n\n // If css.supports is not supported but there is native touch-action assume it supports\n // all values. This is the case for IE 10 and 11.\n touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n });\n return touchMap;\n}\n\n/**\n * Recognizer flow explained; *\n * All recognizers have the initial state of POSSIBLE when a input session starts.\n * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n * Example session for mouse-input: mousedown -> mousemove -> mouseup\n *\n * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n * which determines with state it should be.\n *\n * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n * POSSIBLE to give it another change on the next cycle.\n *\n * Possible\n * |\n * +-----+---------------+\n * | |\n * +-----+-----+ |\n * | | |\n * Failed Cancelled |\n * +-------+------+\n * | |\n * Recognized Began\n * |\n * Changed\n * |\n * Ended/Recognized\n */\nvar STATE_POSSIBLE = 1;\nvar STATE_BEGAN = 2;\nvar STATE_CHANGED = 4;\nvar STATE_ENDED = 8;\nvar STATE_RECOGNIZED = STATE_ENDED;\nvar STATE_CANCELLED = 16;\nvar STATE_FAILED = 32;\n\n/**\n * Recognizer\n * Every recognizer needs to extend from this class.\n * @constructor\n * @param {Object} options\n */\nfunction Recognizer(options) {\n this.options = assign({}, this.defaults, options || {});\n\n this.id = uniqueId();\n\n this.manager = null;\n\n // default is enable true\n this.options.enable = ifUndefined(this.options.enable, true);\n\n this.state = STATE_POSSIBLE;\n\n this.simultaneous = {};\n this.requireFail = [];\n}\n\nRecognizer.prototype = {\n /**\n * @virtual\n * @type {Object}\n */\n defaults: {},\n\n /**\n * set options\n * @param {Object} options\n * @return {Recognizer}\n */\n set: function(options) {\n assign(this.options, options);\n\n // also update the touchAction, in case something changed about the directions/enabled state\n this.manager && this.manager.touchAction.update();\n return this;\n },\n\n /**\n * recognize simultaneous with an other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n recognizeWith: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n return this;\n }\n\n var simultaneous = this.simultaneous;\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n if (!simultaneous[otherRecognizer.id]) {\n simultaneous[otherRecognizer.id] = otherRecognizer;\n otherRecognizer.recognizeWith(this);\n }\n return this;\n },\n\n /**\n * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n dropRecognizeWith: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n return this;\n }\n\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n delete this.simultaneous[otherRecognizer.id];\n return this;\n },\n\n /**\n * recognizer can only run when an other is failing\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n requireFailure: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n return this;\n }\n\n var requireFail = this.requireFail;\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n if (inArray(requireFail, otherRecognizer) === -1) {\n requireFail.push(otherRecognizer);\n otherRecognizer.requireFailure(this);\n }\n return this;\n },\n\n /**\n * drop the requireFailure link. it does not remove the link on the other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n dropRequireFailure: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n return this;\n }\n\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n var index = inArray(this.requireFail, otherRecognizer);\n if (index > -1) {\n this.requireFail.splice(index, 1);\n }\n return this;\n },\n\n /**\n * has require failures boolean\n * @returns {boolean}\n */\n hasRequireFailures: function() {\n return this.requireFail.length > 0;\n },\n\n /**\n * if the recognizer can recognize simultaneous with an other recognizer\n * @param {Recognizer} otherRecognizer\n * @returns {Boolean}\n */\n canRecognizeWith: function(otherRecognizer) {\n return !!this.simultaneous[otherRecognizer.id];\n },\n\n /**\n * You should use `tryEmit` instead of `emit` directly to check\n * that all the needed recognizers has failed before emitting.\n * @param {Object} input\n */\n emit: function(input) {\n var self = this;\n var state = this.state;\n\n function emit(event) {\n self.manager.emit(event, input);\n }\n\n // 'panstart' and 'panmove'\n if (state < STATE_ENDED) {\n emit(self.options.event + stateStr(state));\n }\n\n emit(self.options.event); // simple 'eventName' events\n\n if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n emit(input.additionalEvent);\n }\n\n // panend and pancancel\n if (state >= STATE_ENDED) {\n emit(self.options.event + stateStr(state));\n }\n },\n\n /**\n * Check that all the require failure recognizers has failed,\n * if true, it emits a gesture event,\n * otherwise, setup the state to FAILED.\n * @param {Object} input\n */\n tryEmit: function(input) {\n if (this.canEmit()) {\n return this.emit(input);\n }\n // it's failing anyway\n this.state = STATE_FAILED;\n },\n\n /**\n * can we emit?\n * @returns {boolean}\n */\n canEmit: function() {\n var i = 0;\n while (i < this.requireFail.length) {\n if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n return false;\n }\n i++;\n }\n return true;\n },\n\n /**\n * update the recognizer\n * @param {Object} inputData\n */\n recognize: function(inputData) {\n // make a new copy of the inputData\n // so we can change the inputData without messing up the other recognizers\n var inputDataClone = assign({}, inputData);\n\n // is is enabled and allow recognizing?\n if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n this.reset();\n this.state = STATE_FAILED;\n return;\n }\n\n // reset when we've reached the end\n if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n this.state = STATE_POSSIBLE;\n }\n\n this.state = this.process(inputDataClone);\n\n // the recognizer has recognized a gesture\n // so trigger an event\n if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n this.tryEmit(inputDataClone);\n }\n },\n\n /**\n * return the state of the recognizer\n * the actual recognizing happens in this method\n * @virtual\n * @param {Object} inputData\n * @returns {Const} STATE\n */\n process: function(inputData) { }, // jshint ignore:line\n\n /**\n * return the preferred touch-action\n * @virtual\n * @returns {Array}\n */\n getTouchAction: function() { },\n\n /**\n * called when the gesture isn't allowed to recognize\n * like when another is being recognized or it is disabled\n * @virtual\n */\n reset: function() { }\n};\n\n/**\n * get a usable string, used as event postfix\n * @param {Const} state\n * @returns {String} state\n */\nfunction stateStr(state) {\n if (state & STATE_CANCELLED) {\n return 'cancel';\n } else if (state & STATE_ENDED) {\n return 'end';\n } else if (state & STATE_CHANGED) {\n return 'move';\n } else if (state & STATE_BEGAN) {\n return 'start';\n }\n return '';\n}\n\n/**\n * direction cons to string\n * @param {Const} direction\n * @returns {String}\n */\nfunction directionStr(direction) {\n if (direction == DIRECTION_DOWN) {\n return 'down';\n } else if (direction == DIRECTION_UP) {\n return 'up';\n } else if (direction == DIRECTION_LEFT) {\n return 'left';\n } else if (direction == DIRECTION_RIGHT) {\n return 'right';\n }\n return '';\n}\n\n/**\n * get a recognizer by name if it is bound to a manager\n * @param {Recognizer|String} otherRecognizer\n * @param {Recognizer} recognizer\n * @returns {Recognizer}\n */\nfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n var manager = recognizer.manager;\n if (manager) {\n return manager.get(otherRecognizer);\n }\n return otherRecognizer;\n}\n\n/**\n * This recognizer is just used as a base for the simple attribute recognizers.\n * @constructor\n * @extends Recognizer\n */\nfunction AttrRecognizer() {\n Recognizer.apply(this, arguments);\n}\n\ninherit(AttrRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof AttrRecognizer\n */\n defaults: {\n /**\n * @type {Number}\n * @default 1\n */\n pointers: 1\n },\n\n /**\n * Used to check if it the recognizer receives valid input, like input.distance > 10.\n * @memberof AttrRecognizer\n * @param {Object} input\n * @returns {Boolean} recognized\n */\n attrTest: function(input) {\n var optionPointers = this.options.pointers;\n return optionPointers === 0 || input.pointers.length === optionPointers;\n },\n\n /**\n * Process the input and return the state for the recognizer\n * @memberof AttrRecognizer\n * @param {Object} input\n * @returns {*} State\n */\n process: function(input) {\n var state = this.state;\n var eventType = input.eventType;\n\n var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n var isValid = this.attrTest(input);\n\n // on cancel input and we've recognized before, return STATE_CANCELLED\n if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n return state | STATE_CANCELLED;\n } else if (isRecognized || isValid) {\n if (eventType & INPUT_END) {\n return state | STATE_ENDED;\n } else if (!(state & STATE_BEGAN)) {\n return STATE_BEGAN;\n }\n return state | STATE_CHANGED;\n }\n return STATE_FAILED;\n }\n});\n\n/**\n * Pan\n * Recognized when the pointer is down and moved in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PanRecognizer() {\n AttrRecognizer.apply(this, arguments);\n\n this.pX = null;\n this.pY = null;\n}\n\ninherit(PanRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof PanRecognizer\n */\n defaults: {\n event: 'pan',\n threshold: 10,\n pointers: 1,\n direction: DIRECTION_ALL\n },\n\n getTouchAction: function() {\n var direction = this.options.direction;\n var actions = [];\n if (direction & DIRECTION_HORIZONTAL) {\n actions.push(TOUCH_ACTION_PAN_Y);\n }\n if (direction & DIRECTION_VERTICAL) {\n actions.push(TOUCH_ACTION_PAN_X);\n }\n return actions;\n },\n\n directionTest: function(input) {\n var options = this.options;\n var hasMoved = true;\n var distance = input.distance;\n var direction = input.direction;\n var x = input.deltaX;\n var y = input.deltaY;\n\n // lock to axis?\n if (!(direction & options.direction)) {\n if (options.direction & DIRECTION_HORIZONTAL) {\n direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n hasMoved = x != this.pX;\n distance = Math.abs(input.deltaX);\n } else {\n direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n hasMoved = y != this.pY;\n distance = Math.abs(input.deltaY);\n }\n }\n input.direction = direction;\n return hasMoved && distance > options.threshold && direction & options.direction;\n },\n\n attrTest: function(input) {\n return AttrRecognizer.prototype.attrTest.call(this, input) &&\n (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n },\n\n emit: function(input) {\n\n this.pX = input.deltaX;\n this.pY = input.deltaY;\n\n var direction = directionStr(input.direction);\n\n if (direction) {\n input.additionalEvent = this.options.event + direction;\n }\n this._super.emit.call(this, input);\n }\n});\n\n/**\n * Pinch\n * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PinchRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(PinchRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof PinchRecognizer\n */\n defaults: {\n event: 'pinch',\n threshold: 0,\n pointers: 2\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_NONE];\n },\n\n attrTest: function(input) {\n return this._super.attrTest.call(this, input) &&\n (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n },\n\n emit: function(input) {\n if (input.scale !== 1) {\n var inOut = input.scale < 1 ? 'in' : 'out';\n input.additionalEvent = this.options.event + inOut;\n }\n this._super.emit.call(this, input);\n }\n});\n\n/**\n * Press\n * Recognized when the pointer is down for x ms without any movement.\n * @constructor\n * @extends Recognizer\n */\nfunction PressRecognizer() {\n Recognizer.apply(this, arguments);\n\n this._timer = null;\n this._input = null;\n}\n\ninherit(PressRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof PressRecognizer\n */\n defaults: {\n event: 'press',\n pointers: 1,\n time: 251, // minimal time of the pointer to be pressed\n threshold: 9 // a minimal movement is ok, but keep it low\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_AUTO];\n },\n\n process: function(input) {\n var options = this.options;\n var validPointers = input.pointers.length === options.pointers;\n var validMovement = input.distance < options.threshold;\n var validTime = input.deltaTime > options.time;\n\n this._input = input;\n\n // we only allow little movement\n // and we've reached an end event, so a tap is possible\n if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n this.reset();\n } else if (input.eventType & INPUT_START) {\n this.reset();\n this._timer = setTimeoutContext(function() {\n this.state = STATE_RECOGNIZED;\n this.tryEmit();\n }, options.time, this);\n } else if (input.eventType & INPUT_END) {\n return STATE_RECOGNIZED;\n }\n return STATE_FAILED;\n },\n\n reset: function() {\n clearTimeout(this._timer);\n },\n\n emit: function(input) {\n if (this.state !== STATE_RECOGNIZED) {\n return;\n }\n\n if (input && (input.eventType & INPUT_END)) {\n this.manager.emit(this.options.event + 'up', input);\n } else {\n this._input.timeStamp = now();\n this.manager.emit(this.options.event, this._input);\n }\n }\n});\n\n/**\n * Rotate\n * Recognized when two or more pointer are moving in a circular motion.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction RotateRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(RotateRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof RotateRecognizer\n */\n defaults: {\n event: 'rotate',\n threshold: 0,\n pointers: 2\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_NONE];\n },\n\n attrTest: function(input) {\n return this._super.attrTest.call(this, input) &&\n (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n }\n});\n\n/**\n * Swipe\n * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction SwipeRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(SwipeRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof SwipeRecognizer\n */\n defaults: {\n event: 'swipe',\n threshold: 10,\n velocity: 0.3,\n direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n pointers: 1\n },\n\n getTouchAction: function() {\n return PanRecognizer.prototype.getTouchAction.call(this);\n },\n\n attrTest: function(input) {\n var direction = this.options.direction;\n var velocity;\n\n if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n velocity = input.overallVelocity;\n } else if (direction & DIRECTION_HORIZONTAL) {\n velocity = input.overallVelocityX;\n } else if (direction & DIRECTION_VERTICAL) {\n velocity = input.overallVelocityY;\n }\n\n return this._super.attrTest.call(this, input) &&\n direction & input.offsetDirection &&\n input.distance > this.options.threshold &&\n input.maxPointers == this.options.pointers &&\n abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n },\n\n emit: function(input) {\n var direction = directionStr(input.offsetDirection);\n if (direction) {\n this.manager.emit(this.options.event + direction, input);\n }\n\n this.manager.emit(this.options.event, input);\n }\n});\n\n/**\n * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n * a single tap.\n *\n * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n * multi-taps being recognized.\n * @constructor\n * @extends Recognizer\n */\nfunction TapRecognizer() {\n Recognizer.apply(this, arguments);\n\n // previous time and center,\n // used for tap counting\n this.pTime = false;\n this.pCenter = false;\n\n this._timer = null;\n this._input = null;\n this.count = 0;\n}\n\ninherit(TapRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof PinchRecognizer\n */\n defaults: {\n event: 'tap',\n pointers: 1,\n taps: 1,\n interval: 300, // max time between the multi-tap taps\n time: 250, // max time of the pointer to be down (like finger on the screen)\n threshold: 9, // a minimal movement is ok, but keep it low\n posThreshold: 10 // a multi-tap can be a bit off the initial position\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_MANIPULATION];\n },\n\n process: function(input) {\n var options = this.options;\n\n var validPointers = input.pointers.length === options.pointers;\n var validMovement = input.distance < options.threshold;\n var validTouchTime = input.deltaTime < options.time;\n\n this.reset();\n\n if ((input.eventType & INPUT_START) && (this.count === 0)) {\n return this.failTimeout();\n }\n\n // we only allow little movement\n // and we've reached an end event, so a tap is possible\n if (validMovement && validTouchTime && validPointers) {\n if (input.eventType != INPUT_END) {\n return this.failTimeout();\n }\n\n var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\n this.pTime = input.timeStamp;\n this.pCenter = input.center;\n\n if (!validMultiTap || !validInterval) {\n this.count = 1;\n } else {\n this.count += 1;\n }\n\n this._input = input;\n\n // if tap count matches we have recognized it,\n // else it has began recognizing...\n var tapCount = this.count % options.taps;\n if (tapCount === 0) {\n // no failing requirements, immediately trigger the tap event\n // or wait as long as the multitap interval to trigger\n if (!this.hasRequireFailures()) {\n return STATE_RECOGNIZED;\n } else {\n this._timer = setTimeoutContext(function() {\n this.state = STATE_RECOGNIZED;\n this.tryEmit();\n }, options.interval, this);\n return STATE_BEGAN;\n }\n }\n }\n return STATE_FAILED;\n },\n\n failTimeout: function() {\n this._timer = setTimeoutContext(function() {\n this.state = STATE_FAILED;\n }, this.options.interval, this);\n return STATE_FAILED;\n },\n\n reset: function() {\n clearTimeout(this._timer);\n },\n\n emit: function() {\n if (this.state == STATE_RECOGNIZED) {\n this._input.tapCount = this.count;\n this.manager.emit(this.options.event, this._input);\n }\n }\n});\n\n/**\n * Simple way to create a manager with a default set of recognizers.\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Hammer(element, options) {\n options = options || {};\n options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n return new Manager(element, options);\n}\n\n/**\n * @const {string}\n */\nHammer.VERSION = '2.0.7';\n\n/**\n * default settings\n * @namespace\n */\nHammer.defaults = {\n /**\n * set if DOM events are being triggered.\n * But this is slower and unused by simple implementations, so disabled by default.\n * @type {Boolean}\n * @default false\n */\n domEvents: false,\n\n /**\n * The value for the touchAction property/fallback.\n * When set to `compute` it will magically set the correct value based on the added recognizers.\n * @type {String}\n * @default compute\n */\n touchAction: TOUCH_ACTION_COMPUTE,\n\n /**\n * @type {Boolean}\n * @default true\n */\n enable: true,\n\n /**\n * EXPERIMENTAL FEATURE -- can be removed/changed\n * Change the parent input target element.\n * If Null, then it is being set the to main element.\n * @type {Null|EventTarget}\n * @default null\n */\n inputTarget: null,\n\n /**\n * force an input class\n * @type {Null|Function}\n * @default null\n */\n inputClass: null,\n\n /**\n * Default recognizer setup when calling `Hammer()`\n * When creating a new Manager these will be skipped.\n * @type {Array}\n */\n preset: [\n // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n [RotateRecognizer, {enable: false}],\n [PinchRecognizer, {enable: false}, ['rotate']],\n [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n [TapRecognizer],\n [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n [PressRecognizer]\n ],\n\n /**\n * Some CSS properties can be used to improve the working of Hammer.\n * Add them to this method and they will be set when creating a new Manager.\n * @namespace\n */\n cssProps: {\n /**\n * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n * @type {String}\n * @default 'none'\n */\n userSelect: 'none',\n\n /**\n * Disable the Windows Phone grippers when pressing an element.\n * @type {String}\n * @default 'none'\n */\n touchSelect: 'none',\n\n /**\n * Disables the default callout shown when you touch and hold a touch target.\n * On iOS, when you touch and hold a touch target such as a link, Safari displays\n * a callout containing information about the link. This property allows you to disable that callout.\n * @type {String}\n * @default 'none'\n */\n touchCallout: 'none',\n\n /**\n * Specifies whether zooming is enabled. Used by IE10>\n * @type {String}\n * @default 'none'\n */\n contentZooming: 'none',\n\n /**\n * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n * @type {String}\n * @default 'none'\n */\n userDrag: 'none',\n\n /**\n * Overrides the highlight color shown when the user taps a link or a JavaScript\n * clickable element in iOS. This property obeys the alpha value, if specified.\n * @type {String}\n * @default 'rgba(0,0,0,0)'\n */\n tapHighlightColor: 'rgba(0,0,0,0)'\n }\n};\n\nvar STOP = 1;\nvar FORCED_STOP = 2;\n\n/**\n * Manager\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Manager(element, options) {\n this.options = assign({}, Hammer.defaults, options || {});\n\n this.options.inputTarget = this.options.inputTarget || element;\n\n this.handlers = {};\n this.session = {};\n this.recognizers = [];\n this.oldCssProps = {};\n\n this.element = element;\n this.input = createInputInstance(this);\n this.touchAction = new TouchAction(this, this.options.touchAction);\n\n toggleCssProps(this, true);\n\n each(this.options.recognizers, function(item) {\n var recognizer = this.add(new (item[0])(item[1]));\n item[2] && recognizer.recognizeWith(item[2]);\n item[3] && recognizer.requireFailure(item[3]);\n }, this);\n}\n\nManager.prototype = {\n /**\n * set options\n * @param {Object} options\n * @returns {Manager}\n */\n set: function(options) {\n assign(this.options, options);\n\n // Options that need a little more setup\n if (options.touchAction) {\n this.touchAction.update();\n }\n if (options.inputTarget) {\n // Clean up existing event listeners and reinitialize\n this.input.destroy();\n this.input.target = options.inputTarget;\n this.input.init();\n }\n return this;\n },\n\n /**\n * stop recognizing for this session.\n * This session will be discarded, when a new [input]start event is fired.\n * When forced, the recognizer cycle is stopped immediately.\n * @param {Boolean} [force]\n */\n stop: function(force) {\n this.session.stopped = force ? FORCED_STOP : STOP;\n },\n\n /**\n * run the recognizers!\n * called by the inputHandler function on every movement of the pointers (touches)\n * it walks through all the recognizers and tries to detect the gesture that is being made\n * @param {Object} inputData\n */\n recognize: function(inputData) {\n var session = this.session;\n if (session.stopped) {\n return;\n }\n\n // run the touch-action polyfill\n this.touchAction.preventDefaults(inputData);\n\n var recognizer;\n var recognizers = this.recognizers;\n\n // this holds the recognizer that is being recognized.\n // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n // if no recognizer is detecting a thing, it is set to `null`\n var curRecognizer = session.curRecognizer;\n\n // reset when the last recognizer is recognized\n // or when we're in a new session\n if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n curRecognizer = session.curRecognizer = null;\n }\n\n var i = 0;\n while (i < recognizers.length) {\n recognizer = recognizers[i];\n\n // find out if we are allowed try to recognize the input for this one.\n // 1. allow if the session is NOT forced stopped (see the .stop() method)\n // 2. allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n // that is being recognized.\n // 3. allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n // this can be setup with the `recognizeWith()` method on the recognizer.\n if (session.stopped !== FORCED_STOP && ( // 1\n !curRecognizer || recognizer == curRecognizer || // 2\n recognizer.canRecognizeWith(curRecognizer))) { // 3\n recognizer.recognize(inputData);\n } else {\n recognizer.reset();\n }\n\n // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n // current active recognizer. but only if we don't already have an active recognizer\n if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n curRecognizer = session.curRecognizer = recognizer;\n }\n i++;\n }\n },\n\n /**\n * get a recognizer by its event name.\n * @param {Recognizer|String} recognizer\n * @returns {Recognizer|Null}\n */\n get: function(recognizer) {\n if (recognizer instanceof Recognizer) {\n return recognizer;\n }\n\n var recognizers = this.recognizers;\n for (var i = 0; i < recognizers.length; i++) {\n if (recognizers[i].options.event == recognizer) {\n return recognizers[i];\n }\n }\n return null;\n },\n\n /**\n * add a recognizer to the manager\n * existing recognizers with the same event name will be removed\n * @param {Recognizer} recognizer\n * @returns {Recognizer|Manager}\n */\n add: function(recognizer) {\n if (invokeArrayArg(recognizer, 'add', this)) {\n return this;\n }\n\n // remove existing\n var existing = this.get(recognizer.options.event);\n if (existing) {\n this.remove(existing);\n }\n\n this.recognizers.push(recognizer);\n recognizer.manager = this;\n\n this.touchAction.update();\n return recognizer;\n },\n\n /**\n * remove a recognizer by name or instance\n * @param {Recognizer|String} recognizer\n * @returns {Manager}\n */\n remove: function(recognizer) {\n if (invokeArrayArg(recognizer, 'remove', this)) {\n return this;\n }\n\n recognizer = this.get(recognizer);\n\n // let's make sure this recognizer exists\n if (recognizer) {\n var recognizers = this.recognizers;\n var index = inArray(recognizers, recognizer);\n\n if (index !== -1) {\n recognizers.splice(index, 1);\n this.touchAction.update();\n }\n }\n\n return this;\n },\n\n /**\n * bind event\n * @param {String} events\n * @param {Function} handler\n * @returns {EventEmitter} this\n */\n on: function(events, handler) {\n if (events === undefined) {\n return;\n }\n if (handler === undefined) {\n return;\n }\n\n var handlers = this.handlers;\n each(splitStr(events), function(event) {\n handlers[event] = handlers[event] || [];\n handlers[event].push(handler);\n });\n return this;\n },\n\n /**\n * unbind event, leave emit blank to remove all handlers\n * @param {String} events\n * @param {Function} [handler]\n * @returns {EventEmitter} this\n */\n off: function(events, handler) {\n if (events === undefined) {\n return;\n }\n\n var handlers = this.handlers;\n each(splitStr(events), function(event) {\n if (!handler) {\n delete handlers[event];\n } else {\n handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n }\n });\n return this;\n },\n\n /**\n * emit event to the listeners\n * @param {String} event\n * @param {Object} data\n */\n emit: function(event, data) {\n // we also want to trigger dom events\n if (this.options.domEvents) {\n triggerDomEvent(event, data);\n }\n\n // no handlers, so skip it all\n var handlers = this.handlers[event] && this.handlers[event].slice();\n if (!handlers || !handlers.length) {\n return;\n }\n\n data.type = event;\n data.preventDefault = function() {\n data.srcEvent.preventDefault();\n };\n\n var i = 0;\n while (i < handlers.length) {\n handlers[i](data);\n i++;\n }\n },\n\n /**\n * destroy the manager and unbinds all events\n * it doesn't unbind dom events, that is the user own responsibility\n */\n destroy: function() {\n this.element && toggleCssProps(this, false);\n\n this.handlers = {};\n this.session = {};\n this.input.destroy();\n this.element = null;\n }\n};\n\n/**\n * add/remove the css properties as defined in manager.options.cssProps\n * @param {Manager} manager\n * @param {Boolean} add\n */\nfunction toggleCssProps(manager, add) {\n var element = manager.element;\n if (!element.style) {\n return;\n }\n var prop;\n each(manager.options.cssProps, function(value, name) {\n prop = prefixed(element.style, name);\n if (add) {\n manager.oldCssProps[prop] = element.style[prop];\n element.style[prop] = value;\n } else {\n element.style[prop] = manager.oldCssProps[prop] || '';\n }\n });\n if (!add) {\n manager.oldCssProps = {};\n }\n}\n\n/**\n * trigger dom event\n * @param {String} event\n * @param {Object} data\n */\nfunction triggerDomEvent(event, data) {\n var gestureEvent = document.createEvent('Event');\n gestureEvent.initEvent(event, true, true);\n gestureEvent.gesture = data;\n data.target.dispatchEvent(gestureEvent);\n}\n\nassign(Hammer, {\n INPUT_START: INPUT_START,\n INPUT_MOVE: INPUT_MOVE,\n INPUT_END: INPUT_END,\n INPUT_CANCEL: INPUT_CANCEL,\n\n STATE_POSSIBLE: STATE_POSSIBLE,\n STATE_BEGAN: STATE_BEGAN,\n STATE_CHANGED: STATE_CHANGED,\n STATE_ENDED: STATE_ENDED,\n STATE_RECOGNIZED: STATE_RECOGNIZED,\n STATE_CANCELLED: STATE_CANCELLED,\n STATE_FAILED: STATE_FAILED,\n\n DIRECTION_NONE: DIRECTION_NONE,\n DIRECTION_LEFT: DIRECTION_LEFT,\n DIRECTION_RIGHT: DIRECTION_RIGHT,\n DIRECTION_UP: DIRECTION_UP,\n DIRECTION_DOWN: DIRECTION_DOWN,\n DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n DIRECTION_ALL: DIRECTION_ALL,\n\n Manager: Manager,\n Input: Input,\n TouchAction: TouchAction,\n\n TouchInput: TouchInput,\n MouseInput: MouseInput,\n PointerEventInput: PointerEventInput,\n TouchMouseInput: TouchMouseInput,\n SingleTouchInput: SingleTouchInput,\n\n Recognizer: Recognizer,\n AttrRecognizer: AttrRecognizer,\n Tap: TapRecognizer,\n Pan: PanRecognizer,\n Swipe: SwipeRecognizer,\n Pinch: PinchRecognizer,\n Rotate: RotateRecognizer,\n Press: PressRecognizer,\n\n on: addEventListeners,\n off: removeEventListeners,\n each: each,\n merge: merge,\n extend: extend,\n assign: assign,\n inherit: inherit,\n bindFn: bindFn,\n prefixed: prefixed\n});\n\n// this prevents errors when Hammer is loaded in the presence of an AMD\n// style loader but by script tag, not by the loader.\nvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\nfreeGlobal.Hammer = Hammer;\n\nif (typeof define === 'function' && define.amd) {\n define(function() {\n return Hammer;\n });\n} else if (typeof module != 'undefined' && module.exports) {\n module.exports = Hammer;\n} else {\n window[exportName] = Hammer;\n}\n\n})(window, document, 'Hammer');\n","/*! VelocityJS.org (1.2.3). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */\n\n/*************************\n Velocity jQuery Shim\n*************************/\n\n/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */\n\n/* This file contains the jQuery functions that Velocity relies on, thereby removing Velocity's dependency on a full copy of jQuery, and allowing it to work in any environment. */\n/* These shimmed functions are only used if jQuery isn't present. If both this shim and jQuery are loaded, Velocity defaults to jQuery proper. */\n/* Browser support: Using this shim instead of jQuery proper removes support for IE8. */\n\n;(function (window) {\n /***************\n Setup\n ***************/\n\n /* If jQuery is already loaded, there's no point in loading this shim. */\n if (window.jQuery) {\n return;\n }\n\n /* jQuery base. */\n var $ = function (selector, context) {\n return new $.fn.init(selector, context);\n };\n\n /********************\n Private Methods\n ********************/\n\n /* jQuery */\n $.isWindow = function (obj) {\n /* jshint eqeqeq: false */\n return obj != null && obj == obj.window;\n };\n\n /* jQuery */\n $.type = function (obj) {\n if (obj == null) {\n return obj + \"\";\n }\n\n return typeof obj === \"object\" || typeof obj === \"function\" ?\n class2type[toString.call(obj)] || \"object\" :\n typeof obj;\n };\n\n /* jQuery */\n $.isArray = Array.isArray || function (obj) {\n return $.type(obj) === \"array\";\n };\n\n /* jQuery */\n function isArraylike (obj) {\n var length = obj.length,\n type = $.type(obj);\n\n if (type === \"function\" || $.isWindow(obj)) {\n return false;\n }\n\n if (obj.nodeType === 1 && length) {\n return true;\n }\n\n return type === \"array\" || length === 0 || typeof length === \"number\" && length > 0 && (length - 1) in obj;\n }\n\n /***************\n $ Methods\n ***************/\n\n /* jQuery: Support removed for IE<9. */\n $.isPlainObject = function (obj) {\n var key;\n\n if (!obj || $.type(obj) !== \"object\" || obj.nodeType || $.isWindow(obj)) {\n return false;\n }\n\n try {\n if (obj.constructor &&\n !hasOwn.call(obj, \"constructor\") &&\n !hasOwn.call(obj.constructor.prototype, \"isPrototypeOf\")) {\n return false;\n }\n } catch (e) {\n return false;\n }\n\n for (key in obj) {}\n\n return key === undefined || hasOwn.call(obj, key);\n };\n\n /* jQuery */\n $.each = function(obj, callback, args) {\n var value,\n i = 0,\n length = obj.length,\n isArray = isArraylike(obj);\n\n if (args) {\n if (isArray) {\n for (; i < length; i++) {\n value = callback.apply(obj[i], args);\n\n if (value === false) {\n break;\n }\n }\n } else {\n for (i in obj) {\n value = callback.apply(obj[i], args);\n\n if (value === false) {\n break;\n }\n }\n }\n\n } else {\n if (isArray) {\n for (; i < length; i++) {\n value = callback.call(obj[i], i, obj[i]);\n\n if (value === false) {\n break;\n }\n }\n } else {\n for (i in obj) {\n value = callback.call(obj[i], i, obj[i]);\n\n if (value === false) {\n break;\n }\n }\n }\n }\n\n return obj;\n };\n\n /* Custom */\n $.data = function (node, key, value) {\n /* $.getData() */\n if (value === undefined) {\n var id = node[$.expando],\n store = id && cache[id];\n\n if (key === undefined) {\n return store;\n } else if (store) {\n if (key in store) {\n return store[key];\n }\n }\n /* $.setData() */\n } else if (key !== undefined) {\n var id = node[$.expando] || (node[$.expando] = ++$.uuid);\n\n cache[id] = cache[id] || {};\n cache[id][key] = value;\n\n return value;\n }\n };\n\n /* Custom */\n $.removeData = function (node, keys) {\n var id = node[$.expando],\n store = id && cache[id];\n\n if (store) {\n $.each(keys, function(_, key) {\n delete store[key];\n });\n }\n };\n\n /* jQuery */\n $.extend = function () {\n var src, copyIsArray, copy, name, options, clone,\n target = arguments[0] || {},\n i = 1,\n length = arguments.length,\n deep = false;\n\n if (typeof target === \"boolean\") {\n deep = target;\n\n target = arguments[i] || {};\n i++;\n }\n\n if (typeof target !== \"object\" && $.type(target) !== \"function\") {\n target = {};\n }\n\n if (i === length) {\n target = this;\n i--;\n }\n\n for (; i < length; i++) {\n if ((options = arguments[i]) != null) {\n for (name in options) {\n src = target[name];\n copy = options[name];\n\n if (target === copy) {\n continue;\n }\n\n if (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy)))) {\n if (copyIsArray) {\n copyIsArray = false;\n clone = src && $.isArray(src) ? src : [];\n\n } else {\n clone = src && $.isPlainObject(src) ? src : {};\n }\n\n target[name] = $.extend(deep, clone, copy);\n\n } else if (copy !== undefined) {\n target[name] = copy;\n }\n }\n }\n }\n\n return target;\n };\n\n /* jQuery 1.4.3 */\n $.queue = function (elem, type, data) {\n function $makeArray (arr, results) {\n var ret = results || [];\n\n if (arr != null) {\n if (isArraylike(Object(arr))) {\n /* $.merge */\n (function(first, second) {\n var len = +second.length,\n j = 0,\n i = first.length;\n\n while (j < len) {\n first[i++] = second[j++];\n }\n\n if (len !== len) {\n while (second[j] !== undefined) {\n first[i++] = second[j++];\n }\n }\n\n first.length = i;\n\n return first;\n })(ret, typeof arr === \"string\" ? [arr] : arr);\n } else {\n [].push.call(ret, arr);\n }\n }\n\n return ret;\n }\n\n if (!elem) {\n return;\n }\n\n type = (type || \"fx\") + \"queue\";\n\n var q = $.data(elem, type);\n\n if (!data) {\n return q || [];\n }\n\n if (!q || $.isArray(data)) {\n q = $.data(elem, type, $makeArray(data));\n } else {\n q.push(data);\n }\n\n return q;\n };\n\n /* jQuery 1.4.3 */\n $.dequeue = function (elems, type) {\n /* Custom: Embed element iteration. */\n $.each(elems.nodeType ? [ elems ] : elems, function(i, elem) {\n type = type || \"fx\";\n\n var queue = $.queue(elem, type),\n fn = queue.shift();\n\n if (fn === \"inprogress\") {\n fn = queue.shift();\n }\n\n if (fn) {\n if (type === \"fx\") {\n queue.unshift(\"inprogress\");\n }\n\n fn.call(elem, function() {\n $.dequeue(elem, type);\n });\n }\n });\n };\n\n /******************\n $.fn Methods\n ******************/\n\n /* jQuery */\n $.fn = $.prototype = {\n init: function (selector) {\n /* Just return the element wrapped inside an array; don't proceed with the actual jQuery node wrapping process. */\n if (selector.nodeType) {\n this[0] = selector;\n\n return this;\n } else {\n throw new Error(\"Not a DOM node.\");\n }\n },\n\n offset: function () {\n /* jQuery altered code: Dropped disconnected DOM node checking. */\n var box = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : { top: 0, left: 0 };\n\n return {\n top: box.top + (window.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0),\n left: box.left + (window.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0)\n };\n },\n\n position: function () {\n /* jQuery */\n function offsetParent() {\n var offsetParent = this.offsetParent || document;\n\n while (offsetParent && (!offsetParent.nodeType.toLowerCase === \"html\" && offsetParent.style.position === \"static\")) {\n offsetParent = offsetParent.offsetParent;\n }\n\n return offsetParent || document;\n }\n\n /* Zepto */\n var elem = this[0],\n offsetParent = offsetParent.apply(elem),\n offset = this.offset(),\n parentOffset = /^(?:body|html)$/i.test(offsetParent.nodeName) ? { top: 0, left: 0 } : $(offsetParent).offset()\n\n offset.top -= parseFloat(elem.style.marginTop) || 0;\n offset.left -= parseFloat(elem.style.marginLeft) || 0;\n\n if (offsetParent.style) {\n parentOffset.top += parseFloat(offsetParent.style.borderTopWidth) || 0\n parentOffset.left += parseFloat(offsetParent.style.borderLeftWidth) || 0\n }\n\n return {\n top: offset.top - parentOffset.top,\n left: offset.left - parentOffset.left\n };\n }\n };\n\n /**********************\n Private Variables\n **********************/\n\n /* For $.data() */\n var cache = {};\n $.expando = \"velocity\" + (new Date().getTime());\n $.uuid = 0;\n\n /* For $.queue() */\n var class2type = {},\n hasOwn = class2type.hasOwnProperty,\n toString = class2type.toString;\n\n var types = \"Boolean Number String Function Array Date RegExp Object Error\".split(\" \");\n for (var i = 0; i < types.length; i++) {\n class2type[\"[object \" + types[i] + \"]\"] = types[i].toLowerCase();\n }\n\n /* Makes $(node) possible, without having to call init. */\n $.fn.init.prototype = $.fn;\n\n /* Globalize Velocity onto the window, and assign its Utilities property. */\n window.Velocity = { Utilities: $ };\n})(window);\n\n/******************\n Velocity.js\n******************/\n\n;(function (factory) {\n /* CommonJS module. */\n if (typeof module === \"object\" && typeof module.exports === \"object\") {\n module.exports = factory();\n /* AMD module. */\n } else if (typeof define === \"function\" && define.amd) {\n define(factory);\n /* Browser globals. */\n } else {\n factory();\n }\n}(function() {\nreturn function (global, window, document, undefined) {\n\n /***************\n Summary\n ***************/\n\n /*\n - CSS: CSS stack that works independently from the rest of Velocity.\n - animate(): Core animation method that iterates over the targeted elements and queues the incoming call onto each element individually.\n - Pre-Queueing: Prepare the element for animation by instantiating its data cache and processing the call's options.\n - Queueing: The logic that runs once the call has reached its point of execution in the element's $.queue() stack.\n Most logic is placed here to avoid risking it becoming stale (if the element's properties have changed).\n - Pushing: Consolidation of the tween data followed by its push onto the global in-progress calls container.\n - tick(): The single requestAnimationFrame loop responsible for tweening all in-progress calls.\n - completeCall(): Handles the cleanup process for each Velocity call.\n */\n\n /*********************\n Helper Functions\n *********************/\n\n /* IE detection. Gist: https://gist.github.com/julianshapiro/9098609 */\n var IE = (function() {\n if (document.documentMode) {\n return document.documentMode;\n } else {\n for (var i = 7; i > 4; i--) {\n var div = document.createElement(\"div\");\n\n div.innerHTML = \"\";\n\n if (div.getElementsByTagName(\"span\").length) {\n div = null;\n\n return i;\n }\n }\n }\n\n return undefined;\n })();\n\n /* rAF shim. Gist: https://gist.github.com/julianshapiro/9497513 */\n var rAFShim = (function() {\n var timeLast = 0;\n\n return window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) {\n var timeCurrent = (new Date()).getTime(),\n timeDelta;\n\n /* Dynamically set delay on a per-tick basis to match 60fps. */\n /* Technique by Erik Moller. MIT license: https://gist.github.com/paulirish/1579671 */\n timeDelta = Math.max(0, 16 - (timeCurrent - timeLast));\n timeLast = timeCurrent + timeDelta;\n\n return setTimeout(function() { callback(timeCurrent + timeDelta); }, timeDelta);\n };\n })();\n\n /* Array compacting. Copyright Lo-Dash. MIT License: https://github.com/lodash/lodash/blob/master/LICENSE.txt */\n function compactSparseArray (array) {\n var index = -1,\n length = array ? array.length : 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n\n if (value) {\n result.push(value);\n }\n }\n\n return result;\n }\n\n function sanitizeElements (elements) {\n /* Unwrap jQuery/Zepto objects. */\n if (Type.isWrapped(elements)) {\n elements = [].slice.call(elements);\n /* Wrap a single element in an array so that $.each() can iterate with the element instead of its node's children. */\n } else if (Type.isNode(elements)) {\n elements = [ elements ];\n }\n\n return elements;\n }\n\n var Type = {\n isString: function (variable) {\n return (typeof variable === \"string\");\n },\n isArray: Array.isArray || function (variable) {\n return Object.prototype.toString.call(variable) === \"[object Array]\";\n },\n isFunction: function (variable) {\n return Object.prototype.toString.call(variable) === \"[object Function]\";\n },\n isNode: function (variable) {\n return variable && variable.nodeType;\n },\n /* Copyright Martin Bohm. MIT License: https://gist.github.com/Tomalak/818a78a226a0738eaade */\n isNodeList: function (variable) {\n return typeof variable === \"object\" &&\n /^\\[object (HTMLCollection|NodeList|Object)\\]$/.test(Object.prototype.toString.call(variable)) &&\n variable.length !== undefined &&\n (variable.length === 0 || (typeof variable[0] === \"object\" && variable[0].nodeType > 0));\n },\n /* Determine if variable is a wrapped jQuery or Zepto element. */\n isWrapped: function (variable) {\n return variable && (variable.jquery || (window.Zepto && window.Zepto.zepto.isZ(variable)));\n },\n isSVG: function (variable) {\n return window.SVGElement && (variable instanceof window.SVGElement);\n },\n isEmptyObject: function (variable) {\n for (var name in variable) {\n return false;\n }\n\n return true;\n }\n };\n\n /*****************\n Dependencies\n *****************/\n\n var $,\n isJQuery = false;\n\n if (global.fn && global.fn.jquery) {\n $ = global;\n isJQuery = true;\n } else {\n $ = window.Velocity.Utilities;\n }\n\n if (IE <= 8 && !isJQuery) {\n throw new Error(\"Velocity: IE8 and below require jQuery to be loaded before Velocity.\");\n } else if (IE <= 7) {\n /* Revert to jQuery's $.animate(), and lose Velocity's extra features. */\n jQuery.fn.velocity = jQuery.fn.animate;\n\n /* Now that $.fn.velocity is aliased, abort this Velocity declaration. */\n return;\n }\n\n /*****************\n Constants\n *****************/\n\n var DURATION_DEFAULT = 400,\n EASING_DEFAULT = \"swing\";\n\n /*************\n State\n *************/\n\n var Velocity = {\n /* Container for page-wide Velocity state data. */\n State: {\n /* Detect mobile devices to determine if mobileHA should be turned on. */\n isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),\n /* The mobileHA option's behavior changes on older Android devices (Gingerbread, versions 2.3.3-2.3.7). */\n isAndroid: /Android/i.test(navigator.userAgent),\n isGingerbread: /Android 2\\.3\\.[3-7]/i.test(navigator.userAgent),\n isChrome: window.chrome,\n isFirefox: /Firefox/i.test(navigator.userAgent),\n /* Create a cached element for re-use when checking for CSS property prefixes. */\n prefixElement: document.createElement(\"div\"),\n /* Cache every prefix match to avoid repeating lookups. */\n prefixMatches: {},\n /* Cache the anchor used for animating window scrolling. */\n scrollAnchor: null,\n /* Cache the browser-specific property names associated with the scroll anchor. */\n scrollPropertyLeft: null,\n scrollPropertyTop: null,\n /* Keep track of whether our RAF tick is running. */\n isTicking: false,\n /* Container for every in-progress call to Velocity. */\n calls: []\n },\n /* Velocity's custom CSS stack. Made global for unit testing. */\n CSS: { /* Defined below. */ },\n /* A shim of the jQuery utility functions used by Velocity -- provided by Velocity's optional jQuery shim. */\n Utilities: $,\n /* Container for the user's custom animation redirects that are referenced by name in place of the properties map argument. */\n Redirects: { /* Manually registered by the user. */ },\n Easings: { /* Defined below. */ },\n /* Attempt to use ES6 Promises by default. Users can override this with a third-party promises library. */\n Promise: window.Promise,\n /* Velocity option defaults, which can be overriden by the user. */\n defaults: {\n queue: \"\",\n duration: DURATION_DEFAULT,\n easing: EASING_DEFAULT,\n begin: undefined,\n complete: undefined,\n progress: undefined,\n display: undefined,\n visibility: undefined,\n loop: false,\n delay: false,\n mobileHA: true,\n /* Advanced: Set to false to prevent property values from being cached between consecutive Velocity-initiated chain calls. */\n _cacheValues: true\n },\n /* A design goal of Velocity is to cache data wherever possible in order to avoid DOM requerying. Accordingly, each element has a data cache. */\n init: function (element) {\n $.data(element, \"velocity\", {\n /* Store whether this is an SVG element, since its properties are retrieved and updated differently than standard HTML elements. */\n isSVG: Type.isSVG(element),\n /* Keep track of whether the element is currently being animated by Velocity.\n This is used to ensure that property values are not transferred between non-consecutive (stale) calls. */\n isAnimating: false,\n /* A reference to the element's live computedStyle object. Learn more here: https://developer.mozilla.org/en/docs/Web/API/window.getComputedStyle */\n computedStyle: null,\n /* Tween data is cached for each animation on the element so that data can be passed across calls --\n in particular, end values are used as subsequent start values in consecutive Velocity calls. */\n tweensContainer: null,\n /* The full root property values of each CSS hook being animated on this element are cached so that:\n 1) Concurrently-animating hooks sharing the same root can have their root values' merged into one while tweening.\n 2) Post-hook-injection root values can be transferred over to consecutively chained Velocity calls as starting root values. */\n rootPropertyValueCache: {},\n /* A cache for transform updates, which must be manually flushed via CSS.flushTransformCache(). */\n transformCache: {}\n });\n },\n /* A parallel to jQuery's $.css(), used for getting/setting Velocity's hooked CSS properties. */\n hook: null, /* Defined below. */\n /* Velocity-wide animation time remapping for testing purposes. */\n mock: false,\n version: { major: 1, minor: 2, patch: 2 },\n /* Set to 1 or 2 (most verbose) to output debug info to console. */\n debug: false\n };\n\n /* Retrieve the appropriate scroll anchor and property name for the browser: https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY */\n if (window.pageYOffset !== undefined) {\n Velocity.State.scrollAnchor = window;\n Velocity.State.scrollPropertyLeft = \"pageXOffset\";\n Velocity.State.scrollPropertyTop = \"pageYOffset\";\n } else {\n Velocity.State.scrollAnchor = document.documentElement || document.body.parentNode || document.body;\n Velocity.State.scrollPropertyLeft = \"scrollLeft\";\n Velocity.State.scrollPropertyTop = \"scrollTop\";\n }\n\n /* Shorthand alias for jQuery's $.data() utility. */\n function Data (element) {\n /* Hardcode a reference to the plugin name. */\n var response = $.data(element, \"velocity\");\n\n /* jQuery <=1.4.2 returns null instead of undefined when no match is found. We normalize this behavior. */\n return response === null ? undefined : response;\n };\n\n /**************\n Easing\n **************/\n\n /* Step easing generator. */\n function generateStep (steps) {\n return function (p) {\n return Math.round(p * steps) * (1 / steps);\n };\n }\n\n /* Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */\n function generateBezier (mX1, mY1, mX2, mY2) {\n var NEWTON_ITERATIONS = 4,\n NEWTON_MIN_SLOPE = 0.001,\n SUBDIVISION_PRECISION = 0.0000001,\n SUBDIVISION_MAX_ITERATIONS = 10,\n kSplineTableSize = 11,\n kSampleStepSize = 1.0 / (kSplineTableSize - 1.0),\n float32ArraySupported = \"Float32Array\" in window;\n\n /* Must contain four arguments. */\n if (arguments.length !== 4) {\n return false;\n }\n\n /* Arguments must be numbers. */\n for (var i = 0; i < 4; ++i) {\n if (typeof arguments[i] !== \"number\" || isNaN(arguments[i]) || !isFinite(arguments[i])) {\n return false;\n }\n }\n\n /* X values must be in the [0, 1] range. */\n mX1 = Math.min(mX1, 1);\n mX2 = Math.min(mX2, 1);\n mX1 = Math.max(mX1, 0);\n mX2 = Math.max(mX2, 0);\n\n var mSampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\n\n function A (aA1, aA2) { return 1.0 - 3.0 * aA2 + 3.0 * aA1; }\n function B (aA1, aA2) { return 3.0 * aA2 - 6.0 * aA1; }\n function C (aA1) { return 3.0 * aA1; }\n\n function calcBezier (aT, aA1, aA2) {\n return ((A(aA1, aA2)*aT + B(aA1, aA2))*aT + C(aA1))*aT;\n }\n\n function getSlope (aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2)*aT*aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n }\n\n function newtonRaphsonIterate (aX, aGuessT) {\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n\n if (currentSlope === 0.0) return aGuessT;\n\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n }\n\n function calcSampleValues () {\n for (var i = 0; i < kSplineTableSize; ++i) {\n mSampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function binarySubdivide (aX, aA, aB) {\n var currentX, currentT, i = 0;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\n\n return currentT;\n }\n\n function getTForX (aX) {\n var intervalStart = 0.0,\n currentSample = 1,\n lastSample = kSplineTableSize - 1;\n\n for (; currentSample != lastSample && mSampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample;\n\n var dist = (aX - mSampleValues[currentSample]) / (mSampleValues[currentSample+1] - mSampleValues[currentSample]),\n guessForT = intervalStart + dist * kSampleStepSize,\n initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT);\n } else if (initialSlope == 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize);\n }\n }\n\n var _precomputed = false;\n\n function precompute() {\n _precomputed = true;\n if (mX1 != mY1 || mX2 != mY2) calcSampleValues();\n }\n\n var f = function (aX) {\n if (!_precomputed) precompute();\n if (mX1 === mY1 && mX2 === mY2) return aX;\n if (aX === 0) return 0;\n if (aX === 1) return 1;\n\n return calcBezier(getTForX(aX), mY1, mY2);\n };\n\n f.getControlPoints = function() { return [{ x: mX1, y: mY1 }, { x: mX2, y: mY2 }]; };\n\n var str = \"generateBezier(\" + [mX1, mY1, mX2, mY2] + \")\";\n f.toString = function () { return str; };\n\n return f;\n }\n\n /* Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */\n /* Given a tension, friction, and duration, a simulation at 60FPS will first run without a defined duration in order to calculate the full path. A second pass\n then adjusts the time delta -- using the relation between actual time and duration -- to calculate the path for the duration-constrained animation. */\n var generateSpringRK4 = (function () {\n function springAccelerationForState (state) {\n return (-state.tension * state.x) - (state.friction * state.v);\n }\n\n function springEvaluateStateWithDerivative (initialState, dt, derivative) {\n var state = {\n x: initialState.x + derivative.dx * dt,\n v: initialState.v + derivative.dv * dt,\n tension: initialState.tension,\n friction: initialState.friction\n };\n\n return { dx: state.v, dv: springAccelerationForState(state) };\n }\n\n function springIntegrateState (state, dt) {\n var a = {\n dx: state.v,\n dv: springAccelerationForState(state)\n },\n b = springEvaluateStateWithDerivative(state, dt * 0.5, a),\n c = springEvaluateStateWithDerivative(state, dt * 0.5, b),\n d = springEvaluateStateWithDerivative(state, dt, c),\n dxdt = 1.0 / 6.0 * (a.dx + 2.0 * (b.dx + c.dx) + d.dx),\n dvdt = 1.0 / 6.0 * (a.dv + 2.0 * (b.dv + c.dv) + d.dv);\n\n state.x = state.x + dxdt * dt;\n state.v = state.v + dvdt * dt;\n\n return state;\n }\n\n return function springRK4Factory (tension, friction, duration) {\n\n var initState = {\n x: -1,\n v: 0,\n tension: null,\n friction: null\n },\n path = [0],\n time_lapsed = 0,\n tolerance = 1 / 10000,\n DT = 16 / 1000,\n have_duration, dt, last_state;\n\n tension = parseFloat(tension) || 500;\n friction = parseFloat(friction) || 20;\n duration = duration || null;\n\n initState.tension = tension;\n initState.friction = friction;\n\n have_duration = duration !== null;\n\n /* Calculate the actual time it takes for this animation to complete with the provided conditions. */\n if (have_duration) {\n /* Run the simulation without a duration. */\n time_lapsed = springRK4Factory(tension, friction);\n /* Compute the adjusted time delta. */\n dt = time_lapsed / duration * DT;\n } else {\n dt = DT;\n }\n\n while (true) {\n /* Next/step function .*/\n last_state = springIntegrateState(last_state || initState, dt);\n /* Store the position. */\n path.push(1 + last_state.x);\n time_lapsed += 16;\n /* If the change threshold is reached, break. */\n if (!(Math.abs(last_state.x) > tolerance && Math.abs(last_state.v) > tolerance)) {\n break;\n }\n }\n\n /* If duration is not defined, return the actual time required for completing this animation. Otherwise, return a closure that holds the\n computed path and returns a snapshot of the position according to a given percentComplete. */\n return !have_duration ? time_lapsed : function(percentComplete) { return path[ (percentComplete * (path.length - 1)) | 0 ]; };\n };\n }());\n\n /* jQuery easings. */\n Velocity.Easings = {\n linear: function(p) { return p; },\n swing: function(p) { return 0.5 - Math.cos( p * Math.PI ) / 2 },\n /* Bonus \"spring\" easing, which is a less exaggerated version of easeInOutElastic. */\n spring: function(p) { return 1 - (Math.cos(p * 4.5 * Math.PI) * Math.exp(-p * 6)); }\n };\n\n /* CSS3 and Robert Penner easings. */\n $.each(\n [\n [ \"ease\", [ 0.25, 0.1, 0.25, 1.0 ] ],\n [ \"ease-in\", [ 0.42, 0.0, 1.00, 1.0 ] ],\n [ \"ease-out\", [ 0.00, 0.0, 0.58, 1.0 ] ],\n [ \"ease-in-out\", [ 0.42, 0.0, 0.58, 1.0 ] ],\n [ \"easeInSine\", [ 0.47, 0, 0.745, 0.715 ] ],\n [ \"easeOutSine\", [ 0.39, 0.575, 0.565, 1 ] ],\n [ \"easeInOutSine\", [ 0.445, 0.05, 0.55, 0.95 ] ],\n [ \"easeInQuad\", [ 0.55, 0.085, 0.68, 0.53 ] ],\n [ \"easeOutQuad\", [ 0.25, 0.46, 0.45, 0.94 ] ],\n [ \"easeInOutQuad\", [ 0.455, 0.03, 0.515, 0.955 ] ],\n [ \"easeInCubic\", [ 0.55, 0.055, 0.675, 0.19 ] ],\n [ \"easeOutCubic\", [ 0.215, 0.61, 0.355, 1 ] ],\n [ \"easeInOutCubic\", [ 0.645, 0.045, 0.355, 1 ] ],\n [ \"easeInQuart\", [ 0.895, 0.03, 0.685, 0.22 ] ],\n [ \"easeOutQuart\", [ 0.165, 0.84, 0.44, 1 ] ],\n [ \"easeInOutQuart\", [ 0.77, 0, 0.175, 1 ] ],\n [ \"easeInQuint\", [ 0.755, 0.05, 0.855, 0.06 ] ],\n [ \"easeOutQuint\", [ 0.23, 1, 0.32, 1 ] ],\n [ \"easeInOutQuint\", [ 0.86, 0, 0.07, 1 ] ],\n [ \"easeInExpo\", [ 0.95, 0.05, 0.795, 0.035 ] ],\n [ \"easeOutExpo\", [ 0.19, 1, 0.22, 1 ] ],\n [ \"easeInOutExpo\", [ 1, 0, 0, 1 ] ],\n [ \"easeInCirc\", [ 0.6, 0.04, 0.98, 0.335 ] ],\n [ \"easeOutCirc\", [ 0.075, 0.82, 0.165, 1 ] ],\n [ \"easeInOutCirc\", [ 0.785, 0.135, 0.15, 0.86 ] ]\n ], function(i, easingArray) {\n Velocity.Easings[easingArray[0]] = generateBezier.apply(null, easingArray[1]);\n });\n\n /* Determine the appropriate easing type given an easing input. */\n function getEasing(value, duration) {\n var easing = value;\n\n /* The easing option can either be a string that references a pre-registered easing,\n or it can be a two-/four-item array of integers to be converted into a bezier/spring function. */\n if (Type.isString(value)) {\n /* Ensure that the easing has been assigned to jQuery's Velocity.Easings object. */\n if (!Velocity.Easings[value]) {\n easing = false;\n }\n } else if (Type.isArray(value) && value.length === 1) {\n easing = generateStep.apply(null, value);\n } else if (Type.isArray(value) && value.length === 2) {\n /* springRK4 must be passed the animation's duration. */\n /* Note: If the springRK4 array contains non-numbers, generateSpringRK4() returns an easing\n function generated with default tension and friction values. */\n easing = generateSpringRK4.apply(null, value.concat([ duration ]));\n } else if (Type.isArray(value) && value.length === 4) {\n /* Note: If the bezier array contains non-numbers, generateBezier() returns false. */\n easing = generateBezier.apply(null, value);\n } else {\n easing = false;\n }\n\n /* Revert to the Velocity-wide default easing type, or fall back to \"swing\" (which is also jQuery's default)\n if the Velocity-wide default has been incorrectly modified. */\n if (easing === false) {\n if (Velocity.Easings[Velocity.defaults.easing]) {\n easing = Velocity.defaults.easing;\n } else {\n easing = EASING_DEFAULT;\n }\n }\n\n return easing;\n }\n\n /*****************\n CSS Stack\n *****************/\n\n /* The CSS object is a highly condensed and performant CSS stack that fully replaces jQuery's.\n It handles the validation, getting, and setting of both standard CSS properties and CSS property hooks. */\n /* Note: A \"CSS\" shorthand is aliased so that our code is easier to read. */\n var CSS = Velocity.CSS = {\n\n /*************\n RegEx\n *************/\n\n RegEx: {\n isHex: /^#([A-f\\d]{3}){1,2}$/i,\n /* Unwrap a property value's surrounding text, e.g. \"rgba(4, 3, 2, 1)\" ==> \"4, 3, 2, 1\" and \"rect(4px 3px 2px 1px)\" ==> \"4px 3px 2px 1px\". */\n valueUnwrap: /^[A-z]+\\((.*)\\)$/i,\n wrappedValueAlreadyExtracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,\n /* Split a multi-value property into an array of subvalues, e.g. \"rgba(4, 3, 2, 1) 4px 3px 2px 1px\" ==> [ \"rgba(4, 3, 2, 1)\", \"4px\", \"3px\", \"2px\", \"1px\" ]. */\n valueSplit: /([A-z]+\\(.+\\))|(([A-z0-9#-.]+?)(?=\\s|$))/ig\n },\n\n /************\n Lists\n ************/\n\n Lists: {\n colors: [ \"fill\", \"stroke\", \"stopColor\", \"color\", \"backgroundColor\", \"borderColor\", \"borderTopColor\", \"borderRightColor\", \"borderBottomColor\", \"borderLeftColor\", \"outlineColor\" ],\n transformsBase: [ \"translateX\", \"translateY\", \"scale\", \"scaleX\", \"scaleY\", \"skewX\", \"skewY\", \"rotateZ\" ],\n transforms3D: [ \"transformPerspective\", \"translateZ\", \"scaleZ\", \"rotateX\", \"rotateY\" ]\n },\n\n /************\n Hooks\n ************/\n\n /* Hooks allow a subproperty (e.g. \"boxShadowBlur\") of a compound-value CSS property\n (e.g. \"boxShadow: X Y Blur Spread Color\") to be animated as if it were a discrete property. */\n /* Note: Beyond enabling fine-grained property animation, hooking is necessary since Velocity only\n tweens properties with single numeric values; unlike CSS transitions, Velocity does not interpolate compound-values. */\n Hooks: {\n /********************\n Registration\n ********************/\n\n /* Templates are a concise way of indicating which subproperties must be individually registered for each compound-value CSS property. */\n /* Each template consists of the compound-value's base name, its constituent subproperty names, and those subproperties' default values. */\n templates: {\n \"textShadow\": [ \"Color X Y Blur\", \"black 0px 0px 0px\" ],\n \"boxShadow\": [ \"Color X Y Blur Spread\", \"black 0px 0px 0px 0px\" ],\n \"clip\": [ \"Top Right Bottom Left\", \"0px 0px 0px 0px\" ],\n \"backgroundPosition\": [ \"X Y\", \"0% 0%\" ],\n \"transformOrigin\": [ \"X Y Z\", \"50% 50% 0px\" ],\n \"perspectiveOrigin\": [ \"X Y\", \"50% 50%\" ]\n },\n\n /* A \"registered\" hook is one that has been converted from its template form into a live,\n tweenable property. It contains data to associate it with its root property. */\n registered: {\n /* Note: A registered hook looks like this ==> textShadowBlur: [ \"textShadow\", 3 ],\n which consists of the subproperty's name, the associated root property's name,\n and the subproperty's position in the root's value. */\n },\n /* Convert the templates into individual hooks then append them to the registered object above. */\n register: function () {\n /* Color hooks registration: Colors are defaulted to white -- as opposed to black -- since colors that are\n currently set to \"transparent\" default to their respective template below when color-animated,\n and white is typically a closer match to transparent than black is. An exception is made for text (\"color\"),\n which is almost always set closer to black than white. */\n for (var i = 0; i < CSS.Lists.colors.length; i++) {\n var rgbComponents = (CSS.Lists.colors[i] === \"color\") ? \"0 0 0 1\" : \"255 255 255 1\";\n CSS.Hooks.templates[CSS.Lists.colors[i]] = [ \"Red Green Blue Alpha\", rgbComponents ];\n }\n\n var rootProperty,\n hookTemplate,\n hookNames;\n\n /* In IE, color values inside compound-value properties are positioned at the end the value instead of at the beginning.\n Thus, we re-arrange the templates accordingly. */\n if (IE) {\n for (rootProperty in CSS.Hooks.templates) {\n hookTemplate = CSS.Hooks.templates[rootProperty];\n hookNames = hookTemplate[0].split(\" \");\n\n var defaultValues = hookTemplate[1].match(CSS.RegEx.valueSplit);\n\n if (hookNames[0] === \"Color\") {\n /* Reposition both the hook's name and its default value to the end of their respective strings. */\n hookNames.push(hookNames.shift());\n defaultValues.push(defaultValues.shift());\n\n /* Replace the existing template for the hook's root property. */\n CSS.Hooks.templates[rootProperty] = [ hookNames.join(\" \"), defaultValues.join(\" \") ];\n }\n }\n }\n\n /* Hook registration. */\n for (rootProperty in CSS.Hooks.templates) {\n hookTemplate = CSS.Hooks.templates[rootProperty];\n hookNames = hookTemplate[0].split(\" \");\n\n for (var i in hookNames) {\n var fullHookName = rootProperty + hookNames[i],\n hookPosition = i;\n\n /* For each hook, register its full name (e.g. textShadowBlur) with its root property (e.g. textShadow)\n and the hook's position in its template's default value string. */\n CSS.Hooks.registered[fullHookName] = [ rootProperty, hookPosition ];\n }\n }\n },\n\n /*****************************\n Injection and Extraction\n *****************************/\n\n /* Look up the root property associated with the hook (e.g. return \"textShadow\" for \"textShadowBlur\"). */\n /* Since a hook cannot be set directly (the browser won't recognize it), style updating for hooks is routed through the hook's root property. */\n getRoot: function (property) {\n var hookData = CSS.Hooks.registered[property];\n\n if (hookData) {\n return hookData[0];\n } else {\n /* If there was no hook match, return the property name untouched. */\n return property;\n }\n },\n /* Convert any rootPropertyValue, null or otherwise, into a space-delimited list of hook values so that\n the targeted hook can be injected or extracted at its standard position. */\n cleanRootPropertyValue: function(rootProperty, rootPropertyValue) {\n /* If the rootPropertyValue is wrapped with \"rgb()\", \"clip()\", etc., remove the wrapping to normalize the value before manipulation. */\n if (CSS.RegEx.valueUnwrap.test(rootPropertyValue)) {\n rootPropertyValue = rootPropertyValue.match(CSS.RegEx.valueUnwrap)[1];\n }\n\n /* If rootPropertyValue is a CSS null-value (from which there's inherently no hook value to extract),\n default to the root's default value as defined in CSS.Hooks.templates. */\n /* Note: CSS null-values include \"none\", \"auto\", and \"transparent\". They must be converted into their\n zero-values (e.g. textShadow: \"none\" ==> textShadow: \"0px 0px 0px black\") for hook manipulation to proceed. */\n if (CSS.Values.isCSSNullValue(rootPropertyValue)) {\n rootPropertyValue = CSS.Hooks.templates[rootProperty][1];\n }\n\n return rootPropertyValue;\n },\n /* Extracted the hook's value from its root property's value. This is used to get the starting value of an animating hook. */\n extractValue: function (fullHookName, rootPropertyValue) {\n var hookData = CSS.Hooks.registered[fullHookName];\n\n if (hookData) {\n var hookRoot = hookData[0],\n hookPosition = hookData[1];\n\n rootPropertyValue = CSS.Hooks.cleanRootPropertyValue(hookRoot, rootPropertyValue);\n\n /* Split rootPropertyValue into its constituent hook values then grab the desired hook at its standard position. */\n return rootPropertyValue.toString().match(CSS.RegEx.valueSplit)[hookPosition];\n } else {\n /* If the provided fullHookName isn't a registered hook, return the rootPropertyValue that was passed in. */\n return rootPropertyValue;\n }\n },\n /* Inject the hook's value into its root property's value. This is used to piece back together the root property\n once Velocity has updated one of its individually hooked values through tweening. */\n injectValue: function (fullHookName, hookValue, rootPropertyValue) {\n var hookData = CSS.Hooks.registered[fullHookName];\n\n if (hookData) {\n var hookRoot = hookData[0],\n hookPosition = hookData[1],\n rootPropertyValueParts,\n rootPropertyValueUpdated;\n\n rootPropertyValue = CSS.Hooks.cleanRootPropertyValue(hookRoot, rootPropertyValue);\n\n /* Split rootPropertyValue into its individual hook values, replace the targeted value with hookValue,\n then reconstruct the rootPropertyValue string. */\n rootPropertyValueParts = rootPropertyValue.toString().match(CSS.RegEx.valueSplit);\n rootPropertyValueParts[hookPosition] = hookValue;\n rootPropertyValueUpdated = rootPropertyValueParts.join(\" \");\n\n return rootPropertyValueUpdated;\n } else {\n /* If the provided fullHookName isn't a registered hook, return the rootPropertyValue that was passed in. */\n return rootPropertyValue;\n }\n }\n },\n\n /*******************\n Normalizations\n *******************/\n\n /* Normalizations standardize CSS property manipulation by pollyfilling browser-specific implementations (e.g. opacity)\n and reformatting special properties (e.g. clip, rgba) to look like standard ones. */\n Normalizations: {\n /* Normalizations are passed a normalization target (either the property's name, its extracted value, or its injected value),\n the targeted element (which may need to be queried), and the targeted property value. */\n registered: {\n clip: function (type, element, propertyValue) {\n switch (type) {\n case \"name\":\n return \"clip\";\n /* Clip needs to be unwrapped and stripped of its commas during extraction. */\n case \"extract\":\n var extracted;\n\n /* If Velocity also extracted this value, skip extraction. */\n if (CSS.RegEx.wrappedValueAlreadyExtracted.test(propertyValue)) {\n extracted = propertyValue;\n } else {\n /* Remove the \"rect()\" wrapper. */\n extracted = propertyValue.toString().match(CSS.RegEx.valueUnwrap);\n\n /* Strip off commas. */\n extracted = extracted ? extracted[1].replace(/,(\\s+)?/g, \" \") : propertyValue;\n }\n\n return extracted;\n /* Clip needs to be re-wrapped during injection. */\n case \"inject\":\n return \"rect(\" + propertyValue + \")\";\n }\n },\n\n blur: function(type, element, propertyValue) {\n switch (type) {\n case \"name\":\n return Velocity.State.isFirefox ? \"filter\" : \"-webkit-filter\";\n case \"extract\":\n var extracted = parseFloat(propertyValue);\n\n /* If extracted is NaN, meaning the value isn't already extracted. */\n if (!(extracted || extracted === 0)) {\n var blurComponent = propertyValue.toString().match(/blur\\(([0-9]+[A-z]+)\\)/i);\n\n /* If the filter string had a blur component, return just the blur value and unit type. */\n if (blurComponent) {\n extracted = blurComponent[1];\n /* If the component doesn't exist, default blur to 0. */\n } else {\n extracted = 0;\n }\n }\n\n return extracted;\n /* Blur needs to be re-wrapped during injection. */\n case \"inject\":\n /* For the blur effect to be fully de-applied, it needs to be set to \"none\" instead of 0. */\n if (!parseFloat(propertyValue)) {\n return \"none\";\n } else {\n return \"blur(\" + propertyValue + \")\";\n }\n }\n },\n\n /* <=IE8 do not support the standard opacity property. They use filter:alpha(opacity=INT) instead. */\n opacity: function (type, element, propertyValue) {\n if (IE <= 8) {\n switch (type) {\n case \"name\":\n return \"filter\";\n case \"extract\":\n /* <=IE8 return a \"filter\" value of \"alpha(opacity=\\d{1,3})\".\n Extract the value and convert it to a decimal value to match the standard CSS opacity property's formatting. */\n var extracted = propertyValue.toString().match(/alpha\\(opacity=(.*)\\)/i);\n\n if (extracted) {\n /* Convert to decimal value. */\n propertyValue = extracted[1] / 100;\n } else {\n /* When extracting opacity, default to 1 since a null value means opacity hasn't been set. */\n propertyValue = 1;\n }\n\n return propertyValue;\n case \"inject\":\n /* Opacified elements are required to have their zoom property set to a non-zero value. */\n element.style.zoom = 1;\n\n /* Setting the filter property on elements with certain font property combinations can result in a\n highly unappealing ultra-bolding effect. There's no way to remedy this throughout a tween, but dropping the\n value altogether (when opacity hits 1) at leasts ensures that the glitch is gone post-tweening. */\n if (parseFloat(propertyValue) >= 1) {\n return \"\";\n } else {\n /* As per the filter property's spec, convert the decimal value to a whole number and wrap the value. */\n return \"alpha(opacity=\" + parseInt(parseFloat(propertyValue) * 100, 10) + \")\";\n }\n }\n /* With all other browsers, normalization is not required; return the same values that were passed in. */\n } else {\n switch (type) {\n case \"name\":\n return \"opacity\";\n case \"extract\":\n return propertyValue;\n case \"inject\":\n return propertyValue;\n }\n }\n }\n },\n\n /*****************************\n Batched Registrations\n *****************************/\n\n /* Note: Batched normalizations extend the CSS.Normalizations.registered object. */\n register: function () {\n\n /*****************\n Transforms\n *****************/\n\n /* Transforms are the subproperties contained by the CSS \"transform\" property. Transforms must undergo normalization\n so that they can be referenced in a properties map by their individual names. */\n /* Note: When transforms are \"set\", they are actually assigned to a per-element transformCache. When all transform\n setting is complete complete, CSS.flushTransformCache() must be manually called to flush the values to the DOM.\n Transform setting is batched in this way to improve performance: the transform style only needs to be updated\n once when multiple transform subproperties are being animated simultaneously. */\n /* Note: IE9 and Android Gingerbread have support for 2D -- but not 3D -- transforms. Since animating unsupported\n transform properties results in the browser ignoring the *entire* transform string, we prevent these 3D values\n from being normalized for these browsers so that tweening skips these properties altogether\n (since it will ignore them as being unsupported by the browser.) */\n if (!(IE <= 9) && !Velocity.State.isGingerbread) {\n /* Note: Since the standalone CSS \"perspective\" property and the CSS transform \"perspective\" subproperty\n share the same name, the latter is given a unique token within Velocity: \"transformPerspective\". */\n CSS.Lists.transformsBase = CSS.Lists.transformsBase.concat(CSS.Lists.transforms3D);\n }\n\n for (var i = 0; i < CSS.Lists.transformsBase.length; i++) {\n /* Wrap the dynamically generated normalization function in a new scope so that transformName's value is\n paired with its respective function. (Otherwise, all functions would take the final for loop's transformName.) */\n (function() {\n var transformName = CSS.Lists.transformsBase[i];\n\n CSS.Normalizations.registered[transformName] = function (type, element, propertyValue) {\n switch (type) {\n /* The normalized property name is the parent \"transform\" property -- the property that is actually set in CSS. */\n case \"name\":\n return \"transform\";\n /* Transform values are cached onto a per-element transformCache object. */\n case \"extract\":\n /* If this transform has yet to be assigned a value, return its null value. */\n if (Data(element) === undefined || Data(element).transformCache[transformName] === undefined) {\n /* Scale CSS.Lists.transformsBase default to 1 whereas all other transform properties default to 0. */\n return /^scale/i.test(transformName) ? 1 : 0;\n /* When transform values are set, they are wrapped in parentheses as per the CSS spec.\n Thus, when extracting their values (for tween calculations), we strip off the parentheses. */\n } else {\n return Data(element).transformCache[transformName].replace(/[()]/g, \"\");\n }\n case \"inject\":\n var invalid = false;\n\n /* If an individual transform property contains an unsupported unit type, the browser ignores the *entire* transform property.\n Thus, protect users from themselves by skipping setting for transform values supplied with invalid unit types. */\n /* Switch on the base transform type; ignore the axis by removing the last letter from the transform's name. */\n switch (transformName.substr(0, transformName.length - 1)) {\n /* Whitelist unit types for each transform. */\n case \"translate\":\n invalid = !/(%|px|em|rem|vw|vh|\\d)$/i.test(propertyValue);\n break;\n /* Since an axis-free \"scale\" property is supported as well, a little hack is used here to detect it by chopping off its last letter. */\n case \"scal\":\n case \"scale\":\n /* Chrome on Android has a bug in which scaled elements blur if their initial scale\n value is below 1 (which can happen with forcefeeding). Thus, we detect a yet-unset scale property\n and ensure that its first value is always 1. More info: http://stackoverflow.com/questions/10417890/css3-animations-with-transform-causes-blurred-elements-on-webkit/10417962#10417962 */\n if (Velocity.State.isAndroid && Data(element).transformCache[transformName] === undefined && propertyValue < 1) {\n propertyValue = 1;\n }\n\n invalid = !/(\\d)$/i.test(propertyValue);\n break;\n case \"skew\":\n invalid = !/(deg|\\d)$/i.test(propertyValue);\n break;\n case \"rotate\":\n invalid = !/(deg|\\d)$/i.test(propertyValue);\n break;\n }\n\n if (!invalid) {\n /* As per the CSS spec, wrap the value in parentheses. */\n Data(element).transformCache[transformName] = \"(\" + propertyValue + \")\";\n }\n\n /* Although the value is set on the transformCache object, return the newly-updated value for the calling code to process as normal. */\n return Data(element).transformCache[transformName];\n }\n };\n })();\n }\n\n /*************\n Colors\n *************/\n\n /* Since Velocity only animates a single numeric value per property, color animation is achieved by hooking the individual RGBA components of CSS color properties.\n Accordingly, color values must be normalized (e.g. \"#ff0000\", \"red\", and \"rgb(255, 0, 0)\" ==> \"255 0 0 1\") so that their components can be injected/extracted by CSS.Hooks logic. */\n for (var i = 0; i < CSS.Lists.colors.length; i++) {\n /* Wrap the dynamically generated normalization function in a new scope so that colorName's value is paired with its respective function.\n (Otherwise, all functions would take the final for loop's colorName.) */\n (function () {\n var colorName = CSS.Lists.colors[i];\n\n /* Note: In IE<=8, which support rgb but not rgba, color properties are reverted to rgb by stripping off the alpha component. */\n CSS.Normalizations.registered[colorName] = function(type, element, propertyValue) {\n switch (type) {\n case \"name\":\n return colorName;\n /* Convert all color values into the rgb format. (Old IE can return hex values and color names instead of rgb/rgba.) */\n case \"extract\":\n var extracted;\n\n /* If the color is already in its hookable form (e.g. \"255 255 255 1\") due to having been previously extracted, skip extraction. */\n if (CSS.RegEx.wrappedValueAlreadyExtracted.test(propertyValue)) {\n extracted = propertyValue;\n } else {\n var converted,\n colorNames = {\n black: \"rgb(0, 0, 0)\",\n blue: \"rgb(0, 0, 255)\",\n gray: \"rgb(128, 128, 128)\",\n green: \"rgb(0, 128, 0)\",\n red: \"rgb(255, 0, 0)\",\n white: \"rgb(255, 255, 255)\"\n };\n\n /* Convert color names to rgb. */\n if (/^[A-z]+$/i.test(propertyValue)) {\n if (colorNames[propertyValue] !== undefined) {\n converted = colorNames[propertyValue]\n } else {\n /* If an unmatched color name is provided, default to black. */\n converted = colorNames.black;\n }\n /* Convert hex values to rgb. */\n } else if (CSS.RegEx.isHex.test(propertyValue)) {\n converted = \"rgb(\" + CSS.Values.hexToRgb(propertyValue).join(\" \") + \")\";\n /* If the provided color doesn't match any of the accepted color formats, default to black. */\n } else if (!(/^rgba?\\(/i.test(propertyValue))) {\n converted = colorNames.black;\n }\n\n /* Remove the surrounding \"rgb/rgba()\" string then replace commas with spaces and strip\n repeated spaces (in case the value included spaces to begin with). */\n extracted = (converted || propertyValue).toString().match(CSS.RegEx.valueUnwrap)[1].replace(/,(\\s+)?/g, \" \");\n }\n\n /* So long as this isn't <=IE8, add a fourth (alpha) component if it's missing and default it to 1 (visible). */\n if (!(IE <= 8) && extracted.split(\" \").length === 3) {\n extracted += \" 1\";\n }\n\n return extracted;\n case \"inject\":\n /* If this is IE<=8 and an alpha component exists, strip it off. */\n if (IE <= 8) {\n if (propertyValue.split(\" \").length === 4) {\n propertyValue = propertyValue.split(/\\s+/).slice(0, 3).join(\" \");\n }\n /* Otherwise, add a fourth (alpha) component if it's missing and default it to 1 (visible). */\n } else if (propertyValue.split(\" \").length === 3) {\n propertyValue += \" 1\";\n }\n\n /* Re-insert the browser-appropriate wrapper(\"rgb/rgba()\"), insert commas, and strip off decimal units\n on all values but the fourth (R, G, and B only accept whole numbers). */\n return (IE <= 8 ? \"rgb\" : \"rgba\") + \"(\" + propertyValue.replace(/\\s+/g, \",\").replace(/\\.(\\d)+(?=,)/g, \"\") + \")\";\n }\n };\n })();\n }\n }\n },\n\n /************************\n CSS Property Names\n ************************/\n\n Names: {\n /* Camelcase a property name into its JavaScript notation (e.g. \"background-color\" ==> \"backgroundColor\").\n Camelcasing is used to normalize property names between and across calls. */\n camelCase: function (property) {\n return property.replace(/-(\\w)/g, function (match, subMatch) {\n return subMatch.toUpperCase();\n });\n },\n\n /* For SVG elements, some properties (namely, dimensional ones) are GET/SET via the element's HTML attributes (instead of via CSS styles). */\n SVGAttribute: function (property) {\n var SVGAttributes = \"width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2\";\n\n /* Certain browsers require an SVG transform to be applied as an attribute. (Otherwise, application via CSS is preferable due to 3D support.) */\n if (IE || (Velocity.State.isAndroid && !Velocity.State.isChrome)) {\n SVGAttributes += \"|transform\";\n }\n\n return new RegExp(\"^(\" + SVGAttributes + \")$\", \"i\").test(property);\n },\n\n /* Determine whether a property should be set with a vendor prefix. */\n /* If a prefixed version of the property exists, return it. Otherwise, return the original property name.\n If the property is not at all supported by the browser, return a false flag. */\n prefixCheck: function (property) {\n /* If this property has already been checked, return the cached value. */\n if (Velocity.State.prefixMatches[property]) {\n return [ Velocity.State.prefixMatches[property], true ];\n } else {\n var vendors = [ \"\", \"Webkit\", \"Moz\", \"ms\", \"O\" ];\n\n for (var i = 0, vendorsLength = vendors.length; i < vendorsLength; i++) {\n var propertyPrefixed;\n\n if (i === 0) {\n propertyPrefixed = property;\n } else {\n /* Capitalize the first letter of the property to conform to JavaScript vendor prefix notation (e.g. webkitFilter). */\n propertyPrefixed = vendors[i] + property.replace(/^\\w/, function(match) { return match.toUpperCase(); });\n }\n\n /* Check if the browser supports this property as prefixed. */\n if (Type.isString(Velocity.State.prefixElement.style[propertyPrefixed])) {\n /* Cache the match. */\n Velocity.State.prefixMatches[property] = propertyPrefixed;\n\n return [ propertyPrefixed, true ];\n }\n }\n\n /* If the browser doesn't support this property in any form, include a false flag so that the caller can decide how to proceed. */\n return [ property, false ];\n }\n }\n },\n\n /************************\n CSS Property Values\n ************************/\n\n Values: {\n /* Hex to RGB conversion. Copyright Tim Down: http://stackoverflow.com/questions/5623838/rgb-to-hex-and-hex-to-rgb */\n hexToRgb: function (hex) {\n var shortformRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,\n longformRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i,\n rgbParts;\n\n hex = hex.replace(shortformRegex, function (m, r, g, b) {\n return r + r + g + g + b + b;\n });\n\n rgbParts = longformRegex.exec(hex);\n\n return rgbParts ? [ parseInt(rgbParts[1], 16), parseInt(rgbParts[2], 16), parseInt(rgbParts[3], 16) ] : [ 0, 0, 0 ];\n },\n\n isCSSNullValue: function (value) {\n /* The browser defaults CSS values that have not been set to either 0 or one of several possible null-value strings.\n Thus, we check for both falsiness and these special strings. */\n /* Null-value checking is performed to default the special strings to 0 (for the sake of tweening) or their hook\n templates as defined as CSS.Hooks (for the sake of hook injection/extraction). */\n /* Note: Chrome returns \"rgba(0, 0, 0, 0)\" for an undefined color whereas IE returns \"transparent\". */\n return (value == 0 || /^(none|auto|transparent|(rgba\\(0, ?0, ?0, ?0\\)))$/i.test(value));\n },\n\n /* Retrieve a property's default unit type. Used for assigning a unit type when one is not supplied by the user. */\n getUnitType: function (property) {\n if (/^(rotate|skew)/i.test(property)) {\n return \"deg\";\n } else if (/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(property)) {\n /* The above properties are unitless. */\n return \"\";\n } else {\n /* Default to px for all other properties. */\n return \"px\";\n }\n },\n\n /* HTML elements default to an associated display type when they're not set to display:none. */\n /* Note: This function is used for correctly setting the non-\"none\" display value in certain Velocity redirects, such as fadeIn/Out. */\n getDisplayType: function (element) {\n var tagName = element && element.tagName.toString().toLowerCase();\n\n if (/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(tagName)) {\n return \"inline\";\n } else if (/^(li)$/i.test(tagName)) {\n return \"list-item\";\n } else if (/^(tr)$/i.test(tagName)) {\n return \"table-row\";\n } else if (/^(table)$/i.test(tagName)) {\n return \"table\";\n } else if (/^(tbody)$/i.test(tagName)) {\n return \"table-row-group\";\n /* Default to \"block\" when no match is found. */\n } else {\n return \"block\";\n }\n },\n\n /* The class add/remove functions are used to temporarily apply a \"velocity-animating\" class to elements while they're animating. */\n addClass: function (element, className) {\n if (element.classList) {\n element.classList.add(className);\n } else {\n element.className += (element.className.length ? \" \" : \"\") + className;\n }\n },\n\n removeClass: function (element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else {\n element.className = element.className.toString().replace(new RegExp(\"(^|\\\\s)\" + className.split(\" \").join(\"|\") + \"(\\\\s|$)\", \"gi\"), \" \");\n }\n }\n },\n\n /****************************\n Style Getting & Setting\n ****************************/\n\n /* The singular getPropertyValue, which routes the logic for all normalizations, hooks, and standard CSS properties. */\n getPropertyValue: function (element, property, rootPropertyValue, forceStyleLookup) {\n /* Get an element's computed property value. */\n /* Note: Retrieving the value of a CSS property cannot simply be performed by checking an element's\n style attribute (which only reflects user-defined values). Instead, the browser must be queried for a property's\n *computed* value. You can read more about getComputedStyle here: https://developer.mozilla.org/en/docs/Web/API/window.getComputedStyle */\n function computePropertyValue (element, property) {\n /* When box-sizing isn't set to border-box, height and width style values are incorrectly computed when an\n element's scrollbars are visible (which expands the element's dimensions). Thus, we defer to the more accurate\n offsetHeight/Width property, which includes the total dimensions for interior, border, padding, and scrollbar.\n We subtract border and padding to get the sum of interior + scrollbar. */\n var computedValue = 0;\n\n /* IE<=8 doesn't support window.getComputedStyle, thus we defer to jQuery, which has an extensive array\n of hacks to accurately retrieve IE8 property values. Re-implementing that logic here is not worth bloating the\n codebase for a dying browser. The performance repercussions of using jQuery here are minimal since\n Velocity is optimized to rarely (and sometimes never) query the DOM. Further, the $.css() codepath isn't that slow. */\n if (IE <= 8) {\n computedValue = $.css(element, property); /* GET */\n /* All other browsers support getComputedStyle. The returned live object reference is cached onto its\n associated element so that it does not need to be refetched upon every GET. */\n } else {\n /* Browsers do not return height and width values for elements that are set to display:\"none\". Thus, we temporarily\n toggle display to the element type's default value. */\n var toggleDisplay = false;\n\n if (/^(width|height)$/.test(property) && CSS.getPropertyValue(element, \"display\") === 0) {\n toggleDisplay = true;\n CSS.setPropertyValue(element, \"display\", CSS.Values.getDisplayType(element));\n }\n\n function revertDisplay () {\n if (toggleDisplay) {\n CSS.setPropertyValue(element, \"display\", \"none\");\n }\n }\n\n if (!forceStyleLookup) {\n if (property === \"height\" && CSS.getPropertyValue(element, \"boxSizing\").toString().toLowerCase() !== \"border-box\") {\n var contentBoxHeight = element.offsetHeight - (parseFloat(CSS.getPropertyValue(element, \"borderTopWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"borderBottomWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingTop\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingBottom\")) || 0);\n revertDisplay();\n\n return contentBoxHeight;\n } else if (property === \"width\" && CSS.getPropertyValue(element, \"boxSizing\").toString().toLowerCase() !== \"border-box\") {\n var contentBoxWidth = element.offsetWidth - (parseFloat(CSS.getPropertyValue(element, \"borderLeftWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"borderRightWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingLeft\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingRight\")) || 0);\n revertDisplay();\n\n return contentBoxWidth;\n }\n }\n\n var computedStyle;\n\n /* For elements that Velocity hasn't been called on directly (e.g. when Velocity queries the DOM on behalf\n of a parent of an element its animating), perform a direct getComputedStyle lookup since the object isn't cached. */\n if (Data(element) === undefined) {\n computedStyle = window.getComputedStyle(element, null); /* GET */\n /* If the computedStyle object has yet to be cached, do so now. */\n } else if (!Data(element).computedStyle) {\n computedStyle = Data(element).computedStyle = window.getComputedStyle(element, null); /* GET */\n /* If computedStyle is cached, use it. */\n } else {\n computedStyle = Data(element).computedStyle;\n }\n\n /* IE and Firefox do not return a value for the generic borderColor -- they only return individual values for each border side's color.\n Also, in all browsers, when border colors aren't all the same, a compound value is returned that Velocity isn't setup to parse.\n So, as a polyfill for querying individual border side colors, we just return the top border's color and animate all borders from that value. */\n if (property === \"borderColor\") {\n property = \"borderTopColor\";\n }\n\n /* IE9 has a bug in which the \"filter\" property must be accessed from computedStyle using the getPropertyValue method\n instead of a direct property lookup. The getPropertyValue method is slower than a direct lookup, which is why we avoid it by default. */\n if (IE === 9 && property === \"filter\") {\n computedValue = computedStyle.getPropertyValue(property); /* GET */\n } else {\n computedValue = computedStyle[property];\n }\n\n /* Fall back to the property's style value (if defined) when computedValue returns nothing,\n which can happen when the element hasn't been painted. */\n if (computedValue === \"\" || computedValue === null) {\n computedValue = element.style[property];\n }\n\n revertDisplay();\n }\n\n /* For top, right, bottom, and left (TRBL) values that are set to \"auto\" on elements of \"fixed\" or \"absolute\" position,\n defer to jQuery for converting \"auto\" to a numeric value. (For elements with a \"static\" or \"relative\" position, \"auto\" has the same\n effect as being set to 0, so no conversion is necessary.) */\n /* An example of why numeric conversion is necessary: When an element with \"position:absolute\" has an untouched \"left\"\n property, which reverts to \"auto\", left's value is 0 relative to its parent element, but is often non-zero relative\n to its *containing* (not parent) element, which is the nearest \"position:relative\" ancestor or the viewport (and always the viewport in the case of \"position:fixed\"). */\n if (computedValue === \"auto\" && /^(top|right|bottom|left)$/i.test(property)) {\n var position = computePropertyValue(element, \"position\"); /* GET */\n\n /* For absolute positioning, jQuery's $.position() only returns values for top and left;\n right and bottom will have their \"auto\" value reverted to 0. */\n /* Note: A jQuery object must be created here since jQuery doesn't have a low-level alias for $.position().\n Not a big deal since we're currently in a GET batch anyway. */\n if (position === \"fixed\" || (position === \"absolute\" && /top|left/i.test(property))) {\n /* Note: jQuery strips the pixel unit from its returned values; we re-add it here to conform with computePropertyValue's behavior. */\n computedValue = $(element).position()[property] + \"px\"; /* GET */\n }\n }\n\n return computedValue;\n }\n\n var propertyValue;\n\n /* If this is a hooked property (e.g. \"clipLeft\" instead of the root property of \"clip\"),\n extract the hook's value from a normalized rootPropertyValue using CSS.Hooks.extractValue(). */\n if (CSS.Hooks.registered[property]) {\n var hook = property,\n hookRoot = CSS.Hooks.getRoot(hook);\n\n /* If a cached rootPropertyValue wasn't passed in (which Velocity always attempts to do in order to avoid requerying the DOM),\n query the DOM for the root property's value. */\n if (rootPropertyValue === undefined) {\n /* Since the browser is now being directly queried, use the official post-prefixing property name for this lookup. */\n rootPropertyValue = CSS.getPropertyValue(element, CSS.Names.prefixCheck(hookRoot)[0]); /* GET */\n }\n\n /* If this root has a normalization registered, peform the associated normalization extraction. */\n if (CSS.Normalizations.registered[hookRoot]) {\n rootPropertyValue = CSS.Normalizations.registered[hookRoot](\"extract\", element, rootPropertyValue);\n }\n\n /* Extract the hook's value. */\n propertyValue = CSS.Hooks.extractValue(hook, rootPropertyValue);\n\n /* If this is a normalized property (e.g. \"opacity\" becomes \"filter\" in <=IE8) or \"translateX\" becomes \"transform\"),\n normalize the property's name and value, and handle the special case of transforms. */\n /* Note: Normalizing a property is mutually exclusive from hooking a property since hook-extracted values are strictly\n numerical and therefore do not require normalization extraction. */\n } else if (CSS.Normalizations.registered[property]) {\n var normalizedPropertyName,\n normalizedPropertyValue;\n\n normalizedPropertyName = CSS.Normalizations.registered[property](\"name\", element);\n\n /* Transform values are calculated via normalization extraction (see below), which checks against the element's transformCache.\n At no point do transform GETs ever actually query the DOM; initial stylesheet values are never processed.\n This is because parsing 3D transform matrices is not always accurate and would bloat our codebase;\n thus, normalization extraction defaults initial transform values to their zero-values (e.g. 1 for scaleX and 0 for translateX). */\n if (normalizedPropertyName !== \"transform\") {\n normalizedPropertyValue = computePropertyValue(element, CSS.Names.prefixCheck(normalizedPropertyName)[0]); /* GET */\n\n /* If the value is a CSS null-value and this property has a hook template, use that zero-value template so that hooks can be extracted from it. */\n if (CSS.Values.isCSSNullValue(normalizedPropertyValue) && CSS.Hooks.templates[property]) {\n normalizedPropertyValue = CSS.Hooks.templates[property][1];\n }\n }\n\n propertyValue = CSS.Normalizations.registered[property](\"extract\", element, normalizedPropertyValue);\n }\n\n /* If a (numeric) value wasn't produced via hook extraction or normalization, query the DOM. */\n if (!/^[\\d-]/.test(propertyValue)) {\n /* For SVG elements, dimensional properties (which SVGAttribute() detects) are tweened via\n their HTML attribute values instead of their CSS style values. */\n if (Data(element) && Data(element).isSVG && CSS.Names.SVGAttribute(property)) {\n /* Since the height/width attribute values must be set manually, they don't reflect computed values.\n Thus, we use use getBBox() to ensure we always get values for elements with undefined height/width attributes. */\n if (/^(height|width)$/i.test(property)) {\n /* Firefox throws an error if .getBBox() is called on an SVG that isn't attached to the DOM. */\n try {\n propertyValue = element.getBBox()[property];\n } catch (error) {\n propertyValue = 0;\n }\n /* Otherwise, access the attribute value directly. */\n } else {\n propertyValue = element.getAttribute(property);\n }\n } else {\n propertyValue = computePropertyValue(element, CSS.Names.prefixCheck(property)[0]); /* GET */\n }\n }\n\n /* Since property lookups are for animation purposes (which entails computing the numeric delta between start and end values),\n convert CSS null-values to an integer of value 0. */\n if (CSS.Values.isCSSNullValue(propertyValue)) {\n propertyValue = 0;\n }\n\n if (Velocity.debug >= 2) console.log(\"Get \" + property + \": \" + propertyValue);\n\n return propertyValue;\n },\n\n /* The singular setPropertyValue, which routes the logic for all normalizations, hooks, and standard CSS properties. */\n setPropertyValue: function(element, property, propertyValue, rootPropertyValue, scrollData) {\n var propertyName = property;\n\n /* In order to be subjected to call options and element queueing, scroll animation is routed through Velocity as if it were a standard CSS property. */\n if (property === \"scroll\") {\n /* If a container option is present, scroll the container instead of the browser window. */\n if (scrollData.container) {\n scrollData.container[\"scroll\" + scrollData.direction] = propertyValue;\n /* Otherwise, Velocity defaults to scrolling the browser window. */\n } else {\n if (scrollData.direction === \"Left\") {\n window.scrollTo(propertyValue, scrollData.alternateValue);\n } else {\n window.scrollTo(scrollData.alternateValue, propertyValue);\n }\n }\n } else {\n /* Transforms (translateX, rotateZ, etc.) are applied to a per-element transformCache object, which is manually flushed via flushTransformCache().\n Thus, for now, we merely cache transforms being SET. */\n if (CSS.Normalizations.registered[property] && CSS.Normalizations.registered[property](\"name\", element) === \"transform\") {\n /* Perform a normalization injection. */\n /* Note: The normalization logic handles the transformCache updating. */\n CSS.Normalizations.registered[property](\"inject\", element, propertyValue);\n\n propertyName = \"transform\";\n propertyValue = Data(element).transformCache[property];\n } else {\n /* Inject hooks. */\n if (CSS.Hooks.registered[property]) {\n var hookName = property,\n hookRoot = CSS.Hooks.getRoot(property);\n\n /* If a cached rootPropertyValue was not provided, query the DOM for the hookRoot's current value. */\n rootPropertyValue = rootPropertyValue || CSS.getPropertyValue(element, hookRoot); /* GET */\n\n propertyValue = CSS.Hooks.injectValue(hookName, propertyValue, rootPropertyValue);\n property = hookRoot;\n }\n\n /* Normalize names and values. */\n if (CSS.Normalizations.registered[property]) {\n propertyValue = CSS.Normalizations.registered[property](\"inject\", element, propertyValue);\n property = CSS.Normalizations.registered[property](\"name\", element);\n }\n\n /* Assign the appropriate vendor prefix before performing an official style update. */\n propertyName = CSS.Names.prefixCheck(property)[0];\n\n /* A try/catch is used for IE<=8, which throws an error when \"invalid\" CSS values are set, e.g. a negative width.\n Try/catch is avoided for other browsers since it incurs a performance overhead. */\n if (IE <= 8) {\n try {\n element.style[propertyName] = propertyValue;\n } catch (error) { if (Velocity.debug) console.log(\"Browser does not support [\" + propertyValue + \"] for [\" + propertyName + \"]\"); }\n /* SVG elements have their dimensional properties (width, height, x, y, cx, etc.) applied directly as attributes instead of as styles. */\n /* Note: IE8 does not support SVG elements, so it's okay that we skip it for SVG animation. */\n } else if (Data(element) && Data(element).isSVG && CSS.Names.SVGAttribute(property)) {\n /* Note: For SVG attributes, vendor-prefixed property names are never used. */\n /* Note: Not all CSS properties can be animated via attributes, but the browser won't throw an error for unsupported properties. */\n element.setAttribute(property, propertyValue);\n } else {\n element.style[propertyName] = propertyValue;\n }\n\n if (Velocity.debug >= 2) console.log(\"Set \" + property + \" (\" + propertyName + \"): \" + propertyValue);\n }\n }\n\n /* Return the normalized property name and value in case the caller wants to know how these values were modified before being applied to the DOM. */\n return [ propertyName, propertyValue ];\n },\n\n /* To increase performance by batching transform updates into a single SET, transforms are not directly applied to an element until flushTransformCache() is called. */\n /* Note: Velocity applies transform properties in the same order that they are chronogically introduced to the element's CSS styles. */\n flushTransformCache: function(element) {\n var transformString = \"\";\n\n /* Certain browsers require that SVG transforms be applied as an attribute. However, the SVG transform attribute takes a modified version of CSS's transform string\n (units are dropped and, except for skewX/Y, subproperties are merged into their master property -- e.g. scaleX and scaleY are merged into scale(X Y). */\n if ((IE || (Velocity.State.isAndroid && !Velocity.State.isChrome)) && Data(element).isSVG) {\n /* Since transform values are stored in their parentheses-wrapped form, we use a helper function to strip out their numeric values.\n Further, SVG transform properties only take unitless (representing pixels) values, so it's okay that parseFloat() strips the unit suffixed to the float value. */\n function getTransformFloat (transformProperty) {\n return parseFloat(CSS.getPropertyValue(element, transformProperty));\n }\n\n /* Create an object to organize all the transforms that we'll apply to the SVG element. To keep the logic simple,\n we process *all* transform properties -- even those that may not be explicitly applied (since they default to their zero-values anyway). */\n var SVGTransforms = {\n translate: [ getTransformFloat(\"translateX\"), getTransformFloat(\"translateY\") ],\n skewX: [ getTransformFloat(\"skewX\") ], skewY: [ getTransformFloat(\"skewY\") ],\n /* If the scale property is set (non-1), use that value for the scaleX and scaleY values\n (this behavior mimics the result of animating all these properties at once on HTML elements). */\n scale: getTransformFloat(\"scale\") !== 1 ? [ getTransformFloat(\"scale\"), getTransformFloat(\"scale\") ] : [ getTransformFloat(\"scaleX\"), getTransformFloat(\"scaleY\") ],\n /* Note: SVG's rotate transform takes three values: rotation degrees followed by the X and Y values\n defining the rotation's origin point. We ignore the origin values (default them to 0). */\n rotate: [ getTransformFloat(\"rotateZ\"), 0, 0 ]\n };\n\n /* Iterate through the transform properties in the user-defined property map order.\n (This mimics the behavior of non-SVG transform animation.) */\n $.each(Data(element).transformCache, function(transformName) {\n /* Except for with skewX/Y, revert the axis-specific transform subproperties to their axis-free master\n properties so that they match up with SVG's accepted transform properties. */\n if (/^translate/i.test(transformName)) {\n transformName = \"translate\";\n } else if (/^scale/i.test(transformName)) {\n transformName = \"scale\";\n } else if (/^rotate/i.test(transformName)) {\n transformName = \"rotate\";\n }\n\n /* Check that we haven't yet deleted the property from the SVGTransforms container. */\n if (SVGTransforms[transformName]) {\n /* Append the transform property in the SVG-supported transform format. As per the spec, surround the space-delimited values in parentheses. */\n transformString += transformName + \"(\" + SVGTransforms[transformName].join(\" \") + \")\" + \" \";\n\n /* After processing an SVG transform property, delete it from the SVGTransforms container so we don't\n re-insert the same master property if we encounter another one of its axis-specific properties. */\n delete SVGTransforms[transformName];\n }\n });\n } else {\n var transformValue,\n perspective;\n\n /* Transform properties are stored as members of the transformCache object. Concatenate all the members into a string. */\n $.each(Data(element).transformCache, function(transformName) {\n transformValue = Data(element).transformCache[transformName];\n\n /* Transform's perspective subproperty must be set first in order to take effect. Store it temporarily. */\n if (transformName === \"transformPerspective\") {\n perspective = transformValue;\n return true;\n }\n\n /* IE9 only supports one rotation type, rotateZ, which it refers to as \"rotate\". */\n if (IE === 9 && transformName === \"rotateZ\") {\n transformName = \"rotate\";\n }\n\n transformString += transformName + transformValue + \" \";\n });\n\n /* If present, set the perspective subproperty first. */\n if (perspective) {\n transformString = \"perspective\" + perspective + \" \" + transformString;\n }\n }\n\n CSS.setPropertyValue(element, \"transform\", transformString);\n }\n };\n\n /* Register hooks and normalizations. */\n CSS.Hooks.register();\n CSS.Normalizations.register();\n\n /* Allow hook setting in the same fashion as jQuery's $.css(). */\n Velocity.hook = function (elements, arg2, arg3) {\n var value = undefined;\n\n elements = sanitizeElements(elements);\n\n $.each(elements, function(i, element) {\n /* Initialize Velocity's per-element data cache if this element hasn't previously been animated. */\n if (Data(element) === undefined) {\n Velocity.init(element);\n }\n\n /* Get property value. If an element set was passed in, only return the value for the first element. */\n if (arg3 === undefined) {\n if (value === undefined) {\n value = Velocity.CSS.getPropertyValue(element, arg2);\n }\n /* Set property value. */\n } else {\n /* sPV returns an array of the normalized propertyName/propertyValue pair used to update the DOM. */\n var adjustedSet = Velocity.CSS.setPropertyValue(element, arg2, arg3);\n\n /* Transform properties don't automatically set. They have to be flushed to the DOM. */\n if (adjustedSet[0] === \"transform\") {\n Velocity.CSS.flushTransformCache(element);\n }\n\n value = adjustedSet;\n }\n });\n\n return value;\n };\n\n /*****************\n Animation\n *****************/\n\n var animate = function() {\n\n /******************\n Call Chain\n ******************/\n\n /* Logic for determining what to return to the call stack when exiting out of Velocity. */\n function getChain () {\n /* If we are using the utility function, attempt to return this call's promise. If no promise library was detected,\n default to null instead of returning the targeted elements so that utility function's return value is standardized. */\n if (isUtility) {\n return promiseData.promise || null;\n /* Otherwise, if we're using $.fn, return the jQuery-/Zepto-wrapped element set. */\n } else {\n return elementsWrapped;\n }\n }\n\n /*************************\n Arguments Assignment\n *************************/\n\n /* To allow for expressive CoffeeScript code, Velocity supports an alternative syntax in which \"elements\" (or \"e\"), \"properties\" (or \"p\"), and \"options\" (or \"o\")\n objects are defined on a container object that's passed in as Velocity's sole argument. */\n /* Note: Some browsers automatically populate arguments with a \"properties\" object. We detect it by checking for its default \"names\" property. */\n var syntacticSugar = (arguments[0] && (arguments[0].p || (($.isPlainObject(arguments[0].properties) && !arguments[0].properties.names) || Type.isString(arguments[0].properties)))),\n /* Whether Velocity was called via the utility function (as opposed to on a jQuery/Zepto object). */\n isUtility,\n /* When Velocity is called via the utility function ($.Velocity()/Velocity()), elements are explicitly\n passed in as the first parameter. Thus, argument positioning varies. We normalize them here. */\n elementsWrapped,\n argumentIndex;\n\n var elements,\n propertiesMap,\n options;\n\n /* Detect jQuery/Zepto elements being animated via the $.fn method. */\n if (Type.isWrapped(this)) {\n isUtility = false;\n\n argumentIndex = 0;\n elements = this;\n elementsWrapped = this;\n /* Otherwise, raw elements are being animated via the utility function. */\n } else {\n isUtility = true;\n\n argumentIndex = 1;\n elements = syntacticSugar ? (arguments[0].elements || arguments[0].e) : arguments[0];\n }\n\n elements = sanitizeElements(elements);\n\n if (!elements) {\n return;\n }\n\n if (syntacticSugar) {\n propertiesMap = arguments[0].properties || arguments[0].p;\n options = arguments[0].options || arguments[0].o;\n } else {\n propertiesMap = arguments[argumentIndex];\n options = arguments[argumentIndex + 1];\n }\n\n /* The length of the element set (in the form of a nodeList or an array of elements) is defaulted to 1 in case a\n single raw DOM element is passed in (which doesn't contain a length property). */\n var elementsLength = elements.length,\n elementsIndex = 0;\n\n /***************************\n Argument Overloading\n ***************************/\n\n /* Support is included for jQuery's argument overloading: $.animate(propertyMap [, duration] [, easing] [, complete]).\n Overloading is detected by checking for the absence of an object being passed into options. */\n /* Note: The stop and finish actions do not accept animation options, and are therefore excluded from this check. */\n if (!/^(stop|finish|finishAll)$/i.test(propertiesMap) && !$.isPlainObject(options)) {\n /* The utility function shifts all arguments one position to the right, so we adjust for that offset. */\n var startingArgumentPosition = argumentIndex + 1;\n\n options = {};\n\n /* Iterate through all options arguments */\n for (var i = startingArgumentPosition; i < arguments.length; i++) {\n /* Treat a number as a duration. Parse it out. */\n /* Note: The following RegEx will return true if passed an array with a number as its first item.\n Thus, arrays are skipped from this check. */\n if (!Type.isArray(arguments[i]) && (/^(fast|normal|slow)$/i.test(arguments[i]) || /^\\d/.test(arguments[i]))) {\n options.duration = arguments[i];\n /* Treat strings and arrays as easings. */\n } else if (Type.isString(arguments[i]) || Type.isArray(arguments[i])) {\n options.easing = arguments[i];\n /* Treat a function as a complete callback. */\n } else if (Type.isFunction(arguments[i])) {\n options.complete = arguments[i];\n }\n }\n }\n\n /***************\n Promises\n ***************/\n\n var promiseData = {\n promise: null,\n resolver: null,\n rejecter: null\n };\n\n /* If this call was made via the utility function (which is the default method of invocation when jQuery/Zepto are not being used), and if\n promise support was detected, create a promise object for this call and store references to its resolver and rejecter methods. The resolve\n method is used when a call completes naturally or is prematurely stopped by the user. In both cases, completeCall() handles the associated\n call cleanup and promise resolving logic. The reject method is used when an invalid set of arguments is passed into a Velocity call. */\n /* Note: Velocity employs a call-based queueing architecture, which means that stopping an animating element actually stops the full call that\n triggered it -- not that one element exclusively. Similarly, there is one promise per call, and all elements targeted by a Velocity call are\n grouped together for the purposes of resolving and rejecting a promise. */\n if (isUtility && Velocity.Promise) {\n promiseData.promise = new Velocity.Promise(function (resolve, reject) {\n promiseData.resolver = resolve;\n promiseData.rejecter = reject;\n });\n }\n\n /*********************\n Action Detection\n *********************/\n\n /* Velocity's behavior is categorized into \"actions\": Elements can either be specially scrolled into view,\n or they can be started, stopped, or reversed. If a literal or referenced properties map is passed in as Velocity's\n first argument, the associated action is \"start\". Alternatively, \"scroll\", \"reverse\", or \"stop\" can be passed in instead of a properties map. */\n var action;\n\n switch (propertiesMap) {\n case \"scroll\":\n action = \"scroll\";\n break;\n\n case \"reverse\":\n action = \"reverse\";\n break;\n\n case \"finish\":\n case \"finishAll\":\n case \"stop\":\n /*******************\n Action: Stop\n *******************/\n\n /* Clear the currently-active delay on each targeted element. */\n $.each(elements, function(i, element) {\n if (Data(element) && Data(element).delayTimer) {\n /* Stop the timer from triggering its cached next() function. */\n clearTimeout(Data(element).delayTimer.setTimeout);\n\n /* Manually call the next() function so that the subsequent queue items can progress. */\n if (Data(element).delayTimer.next) {\n Data(element).delayTimer.next();\n }\n\n delete Data(element).delayTimer;\n }\n\n /* If we want to finish everything in the queue, we have to iterate through it\n and call each function. This will make them active calls below, which will\n cause them to be applied via the duration setting. */\n if (propertiesMap === \"finishAll\" && (options === true || Type.isString(options))) {\n /* Iterate through the items in the element's queue. */\n $.each($.queue(element, Type.isString(options) ? options : \"\"), function(_, item) {\n /* The queue array can contain an \"inprogress\" string, which we skip. */\n if (Type.isFunction(item)) {\n item();\n }\n });\n\n /* Clearing the $.queue() array is achieved by resetting it to []. */\n $.queue(element, Type.isString(options) ? options : \"\", []);\n }\n });\n\n var callsToStop = [];\n\n /* When the stop action is triggered, the elements' currently active call is immediately stopped. The active call might have\n been applied to multiple elements, in which case all of the call's elements will be stopped. When an element\n is stopped, the next item in its animation queue is immediately triggered. */\n /* An additional argument may be passed in to clear an element's remaining queued calls. Either true (which defaults to the \"fx\" queue)\n or a custom queue string can be passed in. */\n /* Note: The stop command runs prior to Velocity's Queueing phase since its behavior is intended to take effect *immediately*,\n regardless of the element's current queue state. */\n\n /* Iterate through every active call. */\n $.each(Velocity.State.calls, function(i, activeCall) {\n /* Inactive calls are set to false by the logic inside completeCall(). Skip them. */\n if (activeCall) {\n /* Iterate through the active call's targeted elements. */\n $.each(activeCall[1], function(k, activeElement) {\n /* If true was passed in as a secondary argument, clear absolutely all calls on this element. Otherwise, only\n clear calls associated with the relevant queue. */\n /* Call stopping logic works as follows:\n - options === true --> stop current default queue calls (and queue:false calls), including remaining queued ones.\n - options === undefined --> stop current queue:\"\" call and all queue:false calls.\n - options === false --> stop only queue:false calls.\n - options === \"custom\" --> stop current queue:\"custom\" call, including remaining queued ones (there is no functionality to only clear the currently-running queue:\"custom\" call). */\n var queueName = (options === undefined) ? \"\" : options;\n\n if (queueName !== true && (activeCall[2].queue !== queueName) && !(options === undefined && activeCall[2].queue === false)) {\n return true;\n }\n\n /* Iterate through the calls targeted by the stop command. */\n $.each(elements, function(l, element) {\n /* Check that this call was applied to the target element. */\n if (element === activeElement) {\n /* Optionally clear the remaining queued calls. If we're doing \"finishAll\" this won't find anything,\n due to the queue-clearing above. */\n if (options === true || Type.isString(options)) {\n /* Iterate through the items in the element's queue. */\n $.each($.queue(element, Type.isString(options) ? options : \"\"), function(_, item) {\n /* The queue array can contain an \"inprogress\" string, which we skip. */\n if (Type.isFunction(item)) {\n /* Pass the item's callback a flag indicating that we want to abort from the queue call.\n (Specifically, the queue will resolve the call's associated promise then abort.) */\n item(null, true);\n }\n });\n\n /* Clearing the $.queue() array is achieved by resetting it to []. */\n $.queue(element, Type.isString(options) ? options : \"\", []);\n }\n\n if (propertiesMap === \"stop\") {\n /* Since \"reverse\" uses cached start values (the previous call's endValues), these values must be\n changed to reflect the final value that the elements were actually tweened to. */\n /* Note: If only queue:false animations are currently running on an element, it won't have a tweensContainer\n object. Also, queue:false animations can't be reversed. */\n if (Data(element) && Data(element).tweensContainer && queueName !== false) {\n $.each(Data(element).tweensContainer, function(m, activeTween) {\n activeTween.endValue = activeTween.currentValue;\n });\n }\n\n callsToStop.push(i);\n } else if (propertiesMap === \"finish\" || propertiesMap === \"finishAll\") {\n /* To get active tweens to finish immediately, we forcefully shorten their durations to 1ms so that\n they finish upon the next rAf tick then proceed with normal call completion logic. */\n activeCall[2].duration = 1;\n }\n }\n });\n });\n }\n });\n\n /* Prematurely call completeCall() on each matched active call. Pass an additional flag for \"stop\" to indicate\n that the complete callback and display:none setting should be skipped since we're completing prematurely. */\n if (propertiesMap === \"stop\") {\n $.each(callsToStop, function(i, j) {\n completeCall(j, true);\n });\n\n if (promiseData.promise) {\n /* Immediately resolve the promise associated with this stop call since stop runs synchronously. */\n promiseData.resolver(elements);\n }\n }\n\n /* Since we're stopping, and not proceeding with queueing, exit out of Velocity. */\n return getChain();\n\n default:\n /* Treat a non-empty plain object as a literal properties map. */\n if ($.isPlainObject(propertiesMap) && !Type.isEmptyObject(propertiesMap)) {\n action = \"start\";\n\n /****************\n Redirects\n ****************/\n\n /* Check if a string matches a registered redirect (see Redirects above). */\n } else if (Type.isString(propertiesMap) && Velocity.Redirects[propertiesMap]) {\n var opts = $.extend({}, options),\n durationOriginal = opts.duration,\n delayOriginal = opts.delay || 0;\n\n /* If the backwards option was passed in, reverse the element set so that elements animate from the last to the first. */\n if (opts.backwards === true) {\n elements = $.extend(true, [], elements).reverse();\n }\n\n /* Individually trigger the redirect for each element in the set to prevent users from having to handle iteration logic in their redirect. */\n $.each(elements, function(elementIndex, element) {\n /* If the stagger option was passed in, successively delay each element by the stagger value (in ms). Retain the original delay value. */\n if (parseFloat(opts.stagger)) {\n opts.delay = delayOriginal + (parseFloat(opts.stagger) * elementIndex);\n } else if (Type.isFunction(opts.stagger)) {\n opts.delay = delayOriginal + opts.stagger.call(element, elementIndex, elementsLength);\n }\n\n /* If the drag option was passed in, successively increase/decrease (depending on the presense of opts.backwards)\n the duration of each element's animation, using floors to prevent producing very short durations. */\n if (opts.drag) {\n /* Default the duration of UI pack effects (callouts and transitions) to 1000ms instead of the usual default duration of 400ms. */\n opts.duration = parseFloat(durationOriginal) || (/^(callout|transition)/.test(propertiesMap) ? 1000 : DURATION_DEFAULT);\n\n /* For each element, take the greater duration of: A) animation completion percentage relative to the original duration,\n B) 75% of the original duration, or C) a 200ms fallback (in case duration is already set to a low value).\n The end result is a baseline of 75% of the redirect's duration that increases/decreases as the end of the element set is approached. */\n opts.duration = Math.max(opts.duration * (opts.backwards ? 1 - elementIndex/elementsLength : (elementIndex + 1) / elementsLength), opts.duration * 0.75, 200);\n }\n\n /* Pass in the call's opts object so that the redirect can optionally extend it. It defaults to an empty object instead of null to\n reduce the opts checking logic required inside the redirect. */\n Velocity.Redirects[propertiesMap].call(element, element, opts || {}, elementIndex, elementsLength, elements, promiseData.promise ? promiseData : undefined);\n });\n\n /* Since the animation logic resides within the redirect's own code, abort the remainder of this call.\n (The performance overhead up to this point is virtually non-existant.) */\n /* Note: The jQuery call chain is kept intact by returning the complete element set. */\n return getChain();\n } else {\n var abortError = \"Velocity: First argument (\" + propertiesMap + \") was not a property map, a known action, or a registered redirect. Aborting.\";\n\n if (promiseData.promise) {\n promiseData.rejecter(new Error(abortError));\n } else {\n console.log(abortError);\n }\n\n return getChain();\n }\n }\n\n /**************************\n Call-Wide Variables\n **************************/\n\n /* A container for CSS unit conversion ratios (e.g. %, rem, and em ==> px) that is used to cache ratios across all elements\n being animated in a single Velocity call. Calculating unit ratios necessitates DOM querying and updating, and is therefore\n avoided (via caching) wherever possible. This container is call-wide instead of page-wide to avoid the risk of using stale\n conversion metrics across Velocity animations that are not immediately consecutively chained. */\n var callUnitConversionData = {\n lastParent: null,\n lastPosition: null,\n lastFontSize: null,\n lastPercentToPxWidth: null,\n lastPercentToPxHeight: null,\n lastEmToPx: null,\n remToPx: null,\n vwToPx: null,\n vhToPx: null\n };\n\n /* A container for all the ensuing tween data and metadata associated with this call. This container gets pushed to the page-wide\n Velocity.State.calls array that is processed during animation ticking. */\n var call = [];\n\n /************************\n Element Processing\n ************************/\n\n /* Element processing consists of three parts -- data processing that cannot go stale and data processing that *can* go stale (i.e. third-party style modifications):\n 1) Pre-Queueing: Element-wide variables, including the element's data storage, are instantiated. Call options are prepared. If triggered, the Stop action is executed.\n 2) Queueing: The logic that runs once this call has reached its point of execution in the element's $.queue() stack. Most logic is placed here to avoid risking it becoming stale.\n 3) Pushing: Consolidation of the tween data followed by its push onto the global in-progress calls container.\n */\n\n function processElement () {\n\n /*************************\n Part I: Pre-Queueing\n *************************/\n\n /***************************\n Element-Wide Variables\n ***************************/\n\n var element = this,\n /* The runtime opts object is the extension of the current call's options and Velocity's page-wide option defaults. */\n opts = $.extend({}, Velocity.defaults, options),\n /* A container for the processed data associated with each property in the propertyMap.\n (Each property in the map produces its own \"tween\".) */\n tweensContainer = {},\n elementUnitConversionData;\n\n /******************\n Element Init\n ******************/\n\n if (Data(element) === undefined) {\n Velocity.init(element);\n }\n\n /******************\n Option: Delay\n ******************/\n\n /* Since queue:false doesn't respect the item's existing queue, we avoid injecting its delay here (it's set later on). */\n /* Note: Velocity rolls its own delay function since jQuery doesn't have a utility alias for $.fn.delay()\n (and thus requires jQuery element creation, which we avoid since its overhead includes DOM querying). */\n if (parseFloat(opts.delay) && opts.queue !== false) {\n $.queue(element, opts.queue, function(next) {\n /* This is a flag used to indicate to the upcoming completeCall() function that this queue entry was initiated by Velocity. See completeCall() for further details. */\n Velocity.velocityQueueEntryFlag = true;\n\n /* The ensuing queue item (which is assigned to the \"next\" argument that $.queue() automatically passes in) will be triggered after a setTimeout delay.\n The setTimeout is stored so that it can be subjected to clearTimeout() if this animation is prematurely stopped via Velocity's \"stop\" command. */\n Data(element).delayTimer = {\n setTimeout: setTimeout(next, parseFloat(opts.delay)),\n next: next\n };\n });\n }\n\n /*********************\n Option: Duration\n *********************/\n\n /* Support for jQuery's named durations. */\n switch (opts.duration.toString().toLowerCase()) {\n case \"fast\":\n opts.duration = 200;\n break;\n\n case \"normal\":\n opts.duration = DURATION_DEFAULT;\n break;\n\n case \"slow\":\n opts.duration = 600;\n break;\n\n default:\n /* Remove the potential \"ms\" suffix and default to 1 if the user is attempting to set a duration of 0 (in order to produce an immediate style change). */\n opts.duration = parseFloat(opts.duration) || 1;\n }\n\n /************************\n Global Option: Mock\n ************************/\n\n if (Velocity.mock !== false) {\n /* In mock mode, all animations are forced to 1ms so that they occur immediately upon the next rAF tick.\n Alternatively, a multiplier can be passed in to time remap all delays and durations. */\n if (Velocity.mock === true) {\n opts.duration = opts.delay = 1;\n } else {\n opts.duration *= parseFloat(Velocity.mock) || 1;\n opts.delay *= parseFloat(Velocity.mock) || 1;\n }\n }\n\n /*******************\n Option: Easing\n *******************/\n\n opts.easing = getEasing(opts.easing, opts.duration);\n\n /**********************\n Option: Callbacks\n **********************/\n\n /* Callbacks must functions. Otherwise, default to null. */\n if (opts.begin && !Type.isFunction(opts.begin)) {\n opts.begin = null;\n }\n\n if (opts.progress && !Type.isFunction(opts.progress)) {\n opts.progress = null;\n }\n\n if (opts.complete && !Type.isFunction(opts.complete)) {\n opts.complete = null;\n }\n\n /*********************************\n Option: Display & Visibility\n *********************************/\n\n /* Refer to Velocity's documentation (VelocityJS.org/#displayAndVisibility) for a description of the display and visibility options' behavior. */\n /* Note: We strictly check for undefined instead of falsiness because display accepts an empty string value. */\n if (opts.display !== undefined && opts.display !== null) {\n opts.display = opts.display.toString().toLowerCase();\n\n /* Users can pass in a special \"auto\" value to instruct Velocity to set the element to its default display value. */\n if (opts.display === \"auto\") {\n opts.display = Velocity.CSS.Values.getDisplayType(element);\n }\n }\n\n if (opts.visibility !== undefined && opts.visibility !== null) {\n opts.visibility = opts.visibility.toString().toLowerCase();\n }\n\n /**********************\n Option: mobileHA\n **********************/\n\n /* When set to true, and if this is a mobile device, mobileHA automatically enables hardware acceleration (via a null transform hack)\n on animating elements. HA is removed from the element at the completion of its animation. */\n /* Note: Android Gingerbread doesn't support HA. If a null transform hack (mobileHA) is in fact set, it will prevent other tranform subproperties from taking effect. */\n /* Note: You can read more about the use of mobileHA in Velocity's documentation: VelocityJS.org/#mobileHA. */\n opts.mobileHA = (opts.mobileHA && Velocity.State.isMobile && !Velocity.State.isGingerbread);\n\n /***********************\n Part II: Queueing\n ***********************/\n\n /* When a set of elements is targeted by a Velocity call, the set is broken up and each element has the current Velocity call individually queued onto it.\n In this way, each element's existing queue is respected; some elements may already be animating and accordingly should not have this current Velocity call triggered immediately. */\n /* In each queue, tween data is processed for each animating property then pushed onto the call-wide calls array. When the last element in the set has had its tweens processed,\n the call array is pushed to Velocity.State.calls for live processing by the requestAnimationFrame tick. */\n function buildQueue (next) {\n\n /*******************\n Option: Begin\n *******************/\n\n /* The begin callback is fired once per call -- not once per elemenet -- and is passed the full raw DOM element set as both its context and its first argument. */\n if (opts.begin && elementsIndex === 0) {\n /* We throw callbacks in a setTimeout so that thrown errors don't halt the execution of Velocity itself. */\n try {\n opts.begin.call(elements, elements);\n } catch (error) {\n setTimeout(function() { throw error; }, 1);\n }\n }\n\n /*****************************************\n Tween Data Construction (for Scroll)\n *****************************************/\n\n /* Note: In order to be subjected to chaining and animation options, scroll's tweening is routed through Velocity as if it were a standard CSS property animation. */\n if (action === \"scroll\") {\n /* The scroll action uniquely takes an optional \"offset\" option -- specified in pixels -- that offsets the targeted scroll position. */\n var scrollDirection = (/^x$/i.test(opts.axis) ? \"Left\" : \"Top\"),\n scrollOffset = parseFloat(opts.offset) || 0,\n scrollPositionCurrent,\n scrollPositionCurrentAlternate,\n scrollPositionEnd;\n\n /* Scroll also uniquely takes an optional \"container\" option, which indicates the parent element that should be scrolled --\n as opposed to the browser window itself. This is useful for scrolling toward an element that's inside an overflowing parent element. */\n if (opts.container) {\n /* Ensure that either a jQuery object or a raw DOM element was passed in. */\n if (Type.isWrapped(opts.container) || Type.isNode(opts.container)) {\n /* Extract the raw DOM element from the jQuery wrapper. */\n opts.container = opts.container[0] || opts.container;\n /* Note: Unlike other properties in Velocity, the browser's scroll position is never cached since it so frequently changes\n (due to the user's natural interaction with the page). */\n scrollPositionCurrent = opts.container[\"scroll\" + scrollDirection]; /* GET */\n\n /* $.position() values are relative to the container's currently viewable area (without taking into account the container's true dimensions\n -- say, for example, if the container was not overflowing). Thus, the scroll end value is the sum of the child element's position *and*\n the scroll container's current scroll position. */\n scrollPositionEnd = (scrollPositionCurrent + $(element).position()[scrollDirection.toLowerCase()]) + scrollOffset; /* GET */\n /* If a value other than a jQuery object or a raw DOM element was passed in, default to null so that this option is ignored. */\n } else {\n opts.container = null;\n }\n } else {\n /* If the window itself is being scrolled -- not a containing element -- perform a live scroll position lookup using\n the appropriate cached property names (which differ based on browser type). */\n scrollPositionCurrent = Velocity.State.scrollAnchor[Velocity.State[\"scrollProperty\" + scrollDirection]]; /* GET */\n /* When scrolling the browser window, cache the alternate axis's current value since window.scrollTo() doesn't let us change only one value at a time. */\n scrollPositionCurrentAlternate = Velocity.State.scrollAnchor[Velocity.State[\"scrollProperty\" + (scrollDirection === \"Left\" ? \"Top\" : \"Left\")]]; /* GET */\n\n /* Unlike $.position(), $.offset() values are relative to the browser window's true dimensions -- not merely its currently viewable area --\n and therefore end values do not need to be compounded onto current values. */\n scrollPositionEnd = $(element).offset()[scrollDirection.toLowerCase()] + scrollOffset; /* GET */\n }\n\n /* Since there's only one format that scroll's associated tweensContainer can take, we create it manually. */\n tweensContainer = {\n scroll: {\n rootPropertyValue: false,\n startValue: scrollPositionCurrent,\n currentValue: scrollPositionCurrent,\n endValue: scrollPositionEnd,\n unitType: \"\",\n easing: opts.easing,\n scrollData: {\n container: opts.container,\n direction: scrollDirection,\n alternateValue: scrollPositionCurrentAlternate\n }\n },\n element: element\n };\n\n if (Velocity.debug) console.log(\"tweensContainer (scroll): \", tweensContainer.scroll, element);\n\n /******************************************\n Tween Data Construction (for Reverse)\n ******************************************/\n\n /* Reverse acts like a \"start\" action in that a property map is animated toward. The only difference is\n that the property map used for reverse is the inverse of the map used in the previous call. Thus, we manipulate\n the previous call to construct our new map: use the previous map's end values as our new map's start values. Copy over all other data. */\n /* Note: Reverse can be directly called via the \"reverse\" parameter, or it can be indirectly triggered via the loop option. (Loops are composed of multiple reverses.) */\n /* Note: Reverse calls do not need to be consecutively chained onto a currently-animating element in order to operate on cached values;\n there is no harm to reverse being called on a potentially stale data cache since reverse's behavior is simply defined\n as reverting to the element's values as they were prior to the previous *Velocity* call. */\n } else if (action === \"reverse\") {\n /* Abort if there is no prior animation data to reverse to. */\n if (!Data(element).tweensContainer) {\n /* Dequeue the element so that this queue entry releases itself immediately, allowing subsequent queue entries to run. */\n $.dequeue(element, opts.queue);\n\n return;\n } else {\n /*********************\n Options Parsing\n *********************/\n\n /* If the element was hidden via the display option in the previous call,\n revert display to \"auto\" prior to reversal so that the element is visible again. */\n if (Data(element).opts.display === \"none\") {\n Data(element).opts.display = \"auto\";\n }\n\n if (Data(element).opts.visibility === \"hidden\") {\n Data(element).opts.visibility = \"visible\";\n }\n\n /* If the loop option was set in the previous call, disable it so that \"reverse\" calls aren't recursively generated.\n Further, remove the previous call's callback options; typically, users do not want these to be refired. */\n Data(element).opts.loop = false;\n Data(element).opts.begin = null;\n Data(element).opts.complete = null;\n\n /* Since we're extending an opts object that has already been extended with the defaults options object,\n we remove non-explicitly-defined properties that are auto-assigned values. */\n if (!options.easing) {\n delete opts.easing;\n }\n\n if (!options.duration) {\n delete opts.duration;\n }\n\n /* The opts object used for reversal is an extension of the options object optionally passed into this\n reverse call plus the options used in the previous Velocity call. */\n opts = $.extend({}, Data(element).opts, opts);\n\n /*************************************\n Tweens Container Reconstruction\n *************************************/\n\n /* Create a deepy copy (indicated via the true flag) of the previous call's tweensContainer. */\n var lastTweensContainer = $.extend(true, {}, Data(element).tweensContainer);\n\n /* Manipulate the previous tweensContainer by replacing its end values and currentValues with its start values. */\n for (var lastTween in lastTweensContainer) {\n /* In addition to tween data, tweensContainers contain an element property that we ignore here. */\n if (lastTween !== \"element\") {\n var lastStartValue = lastTweensContainer[lastTween].startValue;\n\n lastTweensContainer[lastTween].startValue = lastTweensContainer[lastTween].currentValue = lastTweensContainer[lastTween].endValue;\n lastTweensContainer[lastTween].endValue = lastStartValue;\n\n /* Easing is the only option that embeds into the individual tween data (since it can be defined on a per-property basis).\n Accordingly, every property's easing value must be updated when an options object is passed in with a reverse call.\n The side effect of this extensibility is that all per-property easing values are forcefully reset to the new value. */\n if (!Type.isEmptyObject(options)) {\n lastTweensContainer[lastTween].easing = opts.easing;\n }\n\n if (Velocity.debug) console.log(\"reverse tweensContainer (\" + lastTween + \"): \" + JSON.stringify(lastTweensContainer[lastTween]), element);\n }\n }\n\n tweensContainer = lastTweensContainer;\n }\n\n /*****************************************\n Tween Data Construction (for Start)\n *****************************************/\n\n } else if (action === \"start\") {\n\n /*************************\n Value Transferring\n *************************/\n\n /* If this queue entry follows a previous Velocity-initiated queue entry *and* if this entry was created\n while the element was in the process of being animated by Velocity, then this current call is safe to use\n the end values from the prior call as its start values. Velocity attempts to perform this value transfer\n process whenever possible in order to avoid requerying the DOM. */\n /* If values aren't transferred from a prior call and start values were not forcefed by the user (more on this below),\n then the DOM is queried for the element's current values as a last resort. */\n /* Note: Conversely, animation reversal (and looping) *always* perform inter-call value transfers; they never requery the DOM. */\n var lastTweensContainer;\n\n /* The per-element isAnimating flag is used to indicate whether it's safe (i.e. the data isn't stale)\n to transfer over end values to use as start values. If it's set to true and there is a previous\n Velocity call to pull values from, do so. */\n if (Data(element).tweensContainer && Data(element).isAnimating === true) {\n lastTweensContainer = Data(element).tweensContainer;\n }\n\n /***************************\n Tween Data Calculation\n ***************************/\n\n /* This function parses property data and defaults endValue, easing, and startValue as appropriate. */\n /* Property map values can either take the form of 1) a single value representing the end value,\n or 2) an array in the form of [ endValue, [, easing] [, startValue] ].\n The optional third parameter is a forcefed startValue to be used instead of querying the DOM for\n the element's current value. Read Velocity's docmentation to learn more about forcefeeding: VelocityJS.org/#forcefeeding */\n function parsePropertyValue (valueData, skipResolvingEasing) {\n var endValue = undefined,\n easing = undefined,\n startValue = undefined;\n\n /* Handle the array format, which can be structured as one of three potential overloads:\n A) [ endValue, easing, startValue ], B) [ endValue, easing ], or C) [ endValue, startValue ] */\n if (Type.isArray(valueData)) {\n /* endValue is always the first item in the array. Don't bother validating endValue's value now\n since the ensuing property cycling logic does that. */\n endValue = valueData[0];\n\n /* Two-item array format: If the second item is a number, function, or hex string, treat it as a\n start value since easings can only be non-hex strings or arrays. */\n if ((!Type.isArray(valueData[1]) && /^[\\d-]/.test(valueData[1])) || Type.isFunction(valueData[1]) || CSS.RegEx.isHex.test(valueData[1])) {\n startValue = valueData[1];\n /* Two or three-item array: If the second item is a non-hex string or an array, treat it as an easing. */\n } else if ((Type.isString(valueData[1]) && !CSS.RegEx.isHex.test(valueData[1])) || Type.isArray(valueData[1])) {\n easing = skipResolvingEasing ? valueData[1] : getEasing(valueData[1], opts.duration);\n\n /* Don't bother validating startValue's value now since the ensuing property cycling logic inherently does that. */\n if (valueData[2] !== undefined) {\n startValue = valueData[2];\n }\n }\n /* Handle the single-value format. */\n } else {\n endValue = valueData;\n }\n\n /* Default to the call's easing if a per-property easing type was not defined. */\n if (!skipResolvingEasing) {\n easing = easing || opts.easing;\n }\n\n /* If functions were passed in as values, pass the function the current element as its context,\n plus the element's index and the element set's size as arguments. Then, assign the returned value. */\n if (Type.isFunction(endValue)) {\n endValue = endValue.call(element, elementsIndex, elementsLength);\n }\n\n if (Type.isFunction(startValue)) {\n startValue = startValue.call(element, elementsIndex, elementsLength);\n }\n\n /* Allow startValue to be left as undefined to indicate to the ensuing code that its value was not forcefed. */\n return [ endValue || 0, easing, startValue ];\n }\n\n /* Cycle through each property in the map, looking for shorthand color properties (e.g. \"color\" as opposed to \"colorRed\"). Inject the corresponding\n colorRed, colorGreen, and colorBlue RGB component tweens into the propertiesMap (which Velocity understands) and remove the shorthand property. */\n $.each(propertiesMap, function(property, value) {\n /* Find shorthand color properties that have been passed a hex string. */\n if (RegExp(\"^\" + CSS.Lists.colors.join(\"$|^\") + \"$\").test(property)) {\n /* Parse the value data for each shorthand. */\n var valueData = parsePropertyValue(value, true),\n endValue = valueData[0],\n easing = valueData[1],\n startValue = valueData[2];\n\n if (CSS.RegEx.isHex.test(endValue)) {\n /* Convert the hex strings into their RGB component arrays. */\n var colorComponents = [ \"Red\", \"Green\", \"Blue\" ],\n endValueRGB = CSS.Values.hexToRgb(endValue),\n startValueRGB = startValue ? CSS.Values.hexToRgb(startValue) : undefined;\n\n /* Inject the RGB component tweens into propertiesMap. */\n for (var i = 0; i < colorComponents.length; i++) {\n var dataArray = [ endValueRGB[i] ];\n\n if (easing) {\n dataArray.push(easing);\n }\n\n if (startValueRGB !== undefined) {\n dataArray.push(startValueRGB[i]);\n }\n\n propertiesMap[property + colorComponents[i]] = dataArray;\n }\n\n /* Remove the intermediary shorthand property entry now that we've processed it. */\n delete propertiesMap[property];\n }\n }\n });\n\n /* Create a tween out of each property, and append its associated data to tweensContainer. */\n for (var property in propertiesMap) {\n\n /**************************\n Start Value Sourcing\n **************************/\n\n /* Parse out endValue, easing, and startValue from the property's data. */\n var valueData = parsePropertyValue(propertiesMap[property]),\n endValue = valueData[0],\n easing = valueData[1],\n startValue = valueData[2];\n\n /* Now that the original property name's format has been used for the parsePropertyValue() lookup above,\n we force the property to its camelCase styling to normalize it for manipulation. */\n property = CSS.Names.camelCase(property);\n\n /* In case this property is a hook, there are circumstances where we will intend to work on the hook's root property and not the hooked subproperty. */\n var rootProperty = CSS.Hooks.getRoot(property),\n rootPropertyValue = false;\n\n /* Other than for the dummy tween property, properties that are not supported by the browser (and do not have an associated normalization) will\n inherently produce no style changes when set, so they are skipped in order to decrease animation tick overhead.\n Property support is determined via prefixCheck(), which returns a false flag when no supported is detected. */\n /* Note: Since SVG elements have some of their properties directly applied as HTML attributes,\n there is no way to check for their explicit browser support, and so we skip skip this check for them. */\n if (!Data(element).isSVG && rootProperty !== \"tween\" && CSS.Names.prefixCheck(rootProperty)[1] === false && CSS.Normalizations.registered[rootProperty] === undefined) {\n if (Velocity.debug) console.log(\"Skipping [\" + rootProperty + \"] due to a lack of browser support.\");\n\n continue;\n }\n\n /* If the display option is being set to a non-\"none\" (e.g. \"block\") and opacity (filter on IE<=8) is being\n animated to an endValue of non-zero, the user's intention is to fade in from invisible, thus we forcefeed opacity\n a startValue of 0 if its startValue hasn't already been sourced by value transferring or prior forcefeeding. */\n if (((opts.display !== undefined && opts.display !== null && opts.display !== \"none\") || (opts.visibility !== undefined && opts.visibility !== \"hidden\")) && /opacity|filter/.test(property) && !startValue && endValue !== 0) {\n startValue = 0;\n }\n\n /* If values have been transferred from the previous Velocity call, extract the endValue and rootPropertyValue\n for all of the current call's properties that were *also* animated in the previous call. */\n /* Note: Value transferring can optionally be disabled by the user via the _cacheValues option. */\n if (opts._cacheValues && lastTweensContainer && lastTweensContainer[property]) {\n if (startValue === undefined) {\n startValue = lastTweensContainer[property].endValue + lastTweensContainer[property].unitType;\n }\n\n /* The previous call's rootPropertyValue is extracted from the element's data cache since that's the\n instance of rootPropertyValue that gets freshly updated by the tweening process, whereas the rootPropertyValue\n attached to the incoming lastTweensContainer is equal to the root property's value prior to any tweening. */\n rootPropertyValue = Data(element).rootPropertyValueCache[rootProperty];\n /* If values were not transferred from a previous Velocity call, query the DOM as needed. */\n } else {\n /* Handle hooked properties. */\n if (CSS.Hooks.registered[property]) {\n if (startValue === undefined) {\n rootPropertyValue = CSS.getPropertyValue(element, rootProperty); /* GET */\n /* Note: The following getPropertyValue() call does not actually trigger a DOM query;\n getPropertyValue() will extract the hook from rootPropertyValue. */\n startValue = CSS.getPropertyValue(element, property, rootPropertyValue);\n /* If startValue is already defined via forcefeeding, do not query the DOM for the root property's value;\n just grab rootProperty's zero-value template from CSS.Hooks. This overwrites the element's actual\n root property value (if one is set), but this is acceptable since the primary reason users forcefeed is\n to avoid DOM queries, and thus we likewise avoid querying the DOM for the root property's value. */\n } else {\n /* Grab this hook's zero-value template, e.g. \"0px 0px 0px black\". */\n rootPropertyValue = CSS.Hooks.templates[rootProperty][1];\n }\n /* Handle non-hooked properties that haven't already been defined via forcefeeding. */\n } else if (startValue === undefined) {\n startValue = CSS.getPropertyValue(element, property); /* GET */\n }\n }\n\n /**************************\n Value Data Extraction\n **************************/\n\n var separatedValue,\n endValueUnitType,\n startValueUnitType,\n operator = false;\n\n /* Separates a property value into its numeric value and its unit type. */\n function separateValue (property, value) {\n var unitType,\n numericValue;\n\n numericValue = (value || \"0\")\n .toString()\n .toLowerCase()\n /* Match the unit type at the end of the value. */\n .replace(/[%A-z]+$/, function(match) {\n /* Grab the unit type. */\n unitType = match;\n\n /* Strip the unit type off of value. */\n return \"\";\n });\n\n /* If no unit type was supplied, assign one that is appropriate for this property (e.g. \"deg\" for rotateZ or \"px\" for width). */\n if (!unitType) {\n unitType = CSS.Values.getUnitType(property);\n }\n\n return [ numericValue, unitType ];\n }\n\n /* Separate startValue. */\n separatedValue = separateValue(property, startValue);\n startValue = separatedValue[0];\n startValueUnitType = separatedValue[1];\n\n /* Separate endValue, and extract a value operator (e.g. \"+=\", \"-=\") if one exists. */\n separatedValue = separateValue(property, endValue);\n endValue = separatedValue[0].replace(/^([+-\\/*])=/, function(match, subMatch) {\n operator = subMatch;\n\n /* Strip the operator off of the value. */\n return \"\";\n });\n endValueUnitType = separatedValue[1];\n\n /* Parse float values from endValue and startValue. Default to 0 if NaN is returned. */\n startValue = parseFloat(startValue) || 0;\n endValue = parseFloat(endValue) || 0;\n\n /***************************************\n Property-Specific Value Conversion\n ***************************************/\n\n /* Custom support for properties that don't actually accept the % unit type, but where pollyfilling is trivial and relatively foolproof. */\n if (endValueUnitType === \"%\") {\n /* A %-value fontSize/lineHeight is relative to the parent's fontSize (as opposed to the parent's dimensions),\n which is identical to the em unit's behavior, so we piggyback off of that. */\n if (/^(fontSize|lineHeight)$/.test(property)) {\n /* Convert % into an em decimal value. */\n endValue = endValue / 100;\n endValueUnitType = \"em\";\n /* For scaleX and scaleY, convert the value into its decimal format and strip off the unit type. */\n } else if (/^scale/.test(property)) {\n endValue = endValue / 100;\n endValueUnitType = \"\";\n /* For RGB components, take the defined percentage of 255 and strip off the unit type. */\n } else if (/(Red|Green|Blue)$/i.test(property)) {\n endValue = (endValue / 100) * 255;\n endValueUnitType = \"\";\n }\n }\n\n /***************************\n Unit Ratio Calculation\n ***************************/\n\n /* When queried, the browser returns (most) CSS property values in pixels. Therefore, if an endValue with a unit type of\n %, em, or rem is animated toward, startValue must be converted from pixels into the same unit type as endValue in order\n for value manipulation logic (increment/decrement) to proceed. Further, if the startValue was forcefed or transferred\n from a previous call, startValue may also not be in pixels. Unit conversion logic therefore consists of two steps:\n 1) Calculating the ratio of %/em/rem/vh/vw relative to pixels\n 2) Converting startValue into the same unit of measurement as endValue based on these ratios. */\n /* Unit conversion ratios are calculated by inserting a sibling node next to the target node, copying over its position property,\n setting values with the target unit type then comparing the returned pixel value. */\n /* Note: Even if only one of these unit types is being animated, all unit ratios are calculated at once since the overhead\n of batching the SETs and GETs together upfront outweights the potential overhead\n of layout thrashing caused by re-querying for uncalculated ratios for subsequently-processed properties. */\n /* Todo: Shift this logic into the calls' first tick instance so that it's synced with RAF. */\n function calculateUnitRatios () {\n\n /************************\n Same Ratio Checks\n ************************/\n\n /* The properties below are used to determine whether the element differs sufficiently from this call's\n previously iterated element to also differ in its unit conversion ratios. If the properties match up with those\n of the prior element, the prior element's conversion ratios are used. Like most optimizations in Velocity,\n this is done to minimize DOM querying. */\n var sameRatioIndicators = {\n myParent: element.parentNode || document.body, /* GET */\n position: CSS.getPropertyValue(element, \"position\"), /* GET */\n fontSize: CSS.getPropertyValue(element, \"fontSize\") /* GET */\n },\n /* Determine if the same % ratio can be used. % is based on the element's position value and its parent's width and height dimensions. */\n samePercentRatio = ((sameRatioIndicators.position === callUnitConversionData.lastPosition) && (sameRatioIndicators.myParent === callUnitConversionData.lastParent)),\n /* Determine if the same em ratio can be used. em is relative to the element's fontSize. */\n sameEmRatio = (sameRatioIndicators.fontSize === callUnitConversionData.lastFontSize);\n\n /* Store these ratio indicators call-wide for the next element to compare against. */\n callUnitConversionData.lastParent = sameRatioIndicators.myParent;\n callUnitConversionData.lastPosition = sameRatioIndicators.position;\n callUnitConversionData.lastFontSize = sameRatioIndicators.fontSize;\n\n /***************************\n Element-Specific Units\n ***************************/\n\n /* Note: IE8 rounds to the nearest pixel when returning CSS values, thus we perform conversions using a measurement\n of 100 (instead of 1) to give our ratios a precision of at least 2 decimal values. */\n var measurement = 100,\n unitRatios = {};\n\n if (!sameEmRatio || !samePercentRatio) {\n var dummy = Data(element).isSVG ? document.createElementNS(\"http://www.w3.org/2000/svg\", \"rect\") : document.createElement(\"div\");\n\n Velocity.init(dummy);\n sameRatioIndicators.myParent.appendChild(dummy);\n\n /* To accurately and consistently calculate conversion ratios, the element's cascaded overflow and box-sizing are stripped.\n Similarly, since width/height can be artificially constrained by their min-/max- equivalents, these are controlled for as well. */\n /* Note: Overflow must be also be controlled for per-axis since the overflow property overwrites its per-axis values. */\n $.each([ \"overflow\", \"overflowX\", \"overflowY\" ], function(i, property) {\n Velocity.CSS.setPropertyValue(dummy, property, \"hidden\");\n });\n Velocity.CSS.setPropertyValue(dummy, \"position\", sameRatioIndicators.position);\n Velocity.CSS.setPropertyValue(dummy, \"fontSize\", sameRatioIndicators.fontSize);\n Velocity.CSS.setPropertyValue(dummy, \"boxSizing\", \"content-box\");\n\n /* width and height act as our proxy properties for measuring the horizontal and vertical % ratios. */\n $.each([ \"minWidth\", \"maxWidth\", \"width\", \"minHeight\", \"maxHeight\", \"height\" ], function(i, property) {\n Velocity.CSS.setPropertyValue(dummy, property, measurement + \"%\");\n });\n /* paddingLeft arbitrarily acts as our proxy property for the em ratio. */\n Velocity.CSS.setPropertyValue(dummy, \"paddingLeft\", measurement + \"em\");\n\n /* Divide the returned value by the measurement to get the ratio between 1% and 1px. Default to 1 since working with 0 can produce Infinite. */\n unitRatios.percentToPxWidth = callUnitConversionData.lastPercentToPxWidth = (parseFloat(CSS.getPropertyValue(dummy, \"width\", null, true)) || 1) / measurement; /* GET */\n unitRatios.percentToPxHeight = callUnitConversionData.lastPercentToPxHeight = (parseFloat(CSS.getPropertyValue(dummy, \"height\", null, true)) || 1) / measurement; /* GET */\n unitRatios.emToPx = callUnitConversionData.lastEmToPx = (parseFloat(CSS.getPropertyValue(dummy, \"paddingLeft\")) || 1) / measurement; /* GET */\n\n sameRatioIndicators.myParent.removeChild(dummy);\n } else {\n unitRatios.emToPx = callUnitConversionData.lastEmToPx;\n unitRatios.percentToPxWidth = callUnitConversionData.lastPercentToPxWidth;\n unitRatios.percentToPxHeight = callUnitConversionData.lastPercentToPxHeight;\n }\n\n /***************************\n Element-Agnostic Units\n ***************************/\n\n /* Whereas % and em ratios are determined on a per-element basis, the rem unit only needs to be checked\n once per call since it's exclusively dependant upon document.body's fontSize. If this is the first time\n that calculateUnitRatios() is being run during this call, remToPx will still be set to its default value of null,\n so we calculate it now. */\n if (callUnitConversionData.remToPx === null) {\n /* Default to browsers' default fontSize of 16px in the case of 0. */\n callUnitConversionData.remToPx = parseFloat(CSS.getPropertyValue(document.body, \"fontSize\")) || 16; /* GET */\n }\n\n /* Similarly, viewport units are %-relative to the window's inner dimensions. */\n if (callUnitConversionData.vwToPx === null) {\n callUnitConversionData.vwToPx = parseFloat(window.innerWidth) / 100; /* GET */\n callUnitConversionData.vhToPx = parseFloat(window.innerHeight) / 100; /* GET */\n }\n\n unitRatios.remToPx = callUnitConversionData.remToPx;\n unitRatios.vwToPx = callUnitConversionData.vwToPx;\n unitRatios.vhToPx = callUnitConversionData.vhToPx;\n\n if (Velocity.debug >= 1) console.log(\"Unit ratios: \" + JSON.stringify(unitRatios), element);\n\n return unitRatios;\n }\n\n /********************\n Unit Conversion\n ********************/\n\n /* The * and / operators, which are not passed in with an associated unit, inherently use startValue's unit. Skip value and unit conversion. */\n if (/[\\/*]/.test(operator)) {\n endValueUnitType = startValueUnitType;\n /* If startValue and endValue differ in unit type, convert startValue into the same unit type as endValue so that if endValueUnitType\n is a relative unit (%, em, rem), the values set during tweening will continue to be accurately relative even if the metrics they depend\n on are dynamically changing during the course of the animation. Conversely, if we always normalized into px and used px for setting values, the px ratio\n would become stale if the original unit being animated toward was relative and the underlying metrics change during the animation. */\n /* Since 0 is 0 in any unit type, no conversion is necessary when startValue is 0 -- we just start at 0 with endValueUnitType. */\n } else if ((startValueUnitType !== endValueUnitType) && startValue !== 0) {\n /* Unit conversion is also skipped when endValue is 0, but *startValueUnitType* must be used for tween values to remain accurate. */\n /* Note: Skipping unit conversion here means that if endValueUnitType was originally a relative unit, the animation won't relatively\n match the underlying metrics if they change, but this is acceptable since we're animating toward invisibility instead of toward visibility,\n which remains past the point of the animation's completion. */\n if (endValue === 0) {\n endValueUnitType = startValueUnitType;\n } else {\n /* By this point, we cannot avoid unit conversion (it's undesirable since it causes layout thrashing).\n If we haven't already, we trigger calculateUnitRatios(), which runs once per element per call. */\n elementUnitConversionData = elementUnitConversionData || calculateUnitRatios();\n\n /* The following RegEx matches CSS properties that have their % values measured relative to the x-axis. */\n /* Note: W3C spec mandates that all of margin and padding's properties (even top and bottom) are %-relative to the *width* of the parent element. */\n var axis = (/margin|padding|left|right|width|text|word|letter/i.test(property) || /X$/.test(property) || property === \"x\") ? \"x\" : \"y\";\n\n /* In order to avoid generating n^2 bespoke conversion functions, unit conversion is a two-step process:\n 1) Convert startValue into pixels. 2) Convert this new pixel value into endValue's unit type. */\n switch (startValueUnitType) {\n case \"%\":\n /* Note: translateX and translateY are the only properties that are %-relative to an element's own dimensions -- not its parent's dimensions.\n Velocity does not include a special conversion process to account for this behavior. Therefore, animating translateX/Y from a % value\n to a non-% value will produce an incorrect start value. Fortunately, this sort of cross-unit conversion is rarely done by users in practice. */\n startValue *= (axis === \"x\" ? elementUnitConversionData.percentToPxWidth : elementUnitConversionData.percentToPxHeight);\n break;\n\n case \"px\":\n /* px acts as our midpoint in the unit conversion process; do nothing. */\n break;\n\n default:\n startValue *= elementUnitConversionData[startValueUnitType + \"ToPx\"];\n }\n\n /* Invert the px ratios to convert into to the target unit. */\n switch (endValueUnitType) {\n case \"%\":\n startValue *= 1 / (axis === \"x\" ? elementUnitConversionData.percentToPxWidth : elementUnitConversionData.percentToPxHeight);\n break;\n\n case \"px\":\n /* startValue is already in px, do nothing; we're done. */\n break;\n\n default:\n startValue *= 1 / elementUnitConversionData[endValueUnitType + \"ToPx\"];\n }\n }\n }\n\n /*********************\n Relative Values\n *********************/\n\n /* Operator logic must be performed last since it requires unit-normalized start and end values. */\n /* Note: Relative *percent values* do not behave how most people think; while one would expect \"+=50%\"\n to increase the property 1.5x its current value, it in fact increases the percent units in absolute terms:\n 50 points is added on top of the current % value. */\n switch (operator) {\n case \"+\":\n endValue = startValue + endValue;\n break;\n\n case \"-\":\n endValue = startValue - endValue;\n break;\n\n case \"*\":\n endValue = startValue * endValue;\n break;\n\n case \"/\":\n endValue = startValue / endValue;\n break;\n }\n\n /**************************\n tweensContainer Push\n **************************/\n\n /* Construct the per-property tween object, and push it to the element's tweensContainer. */\n tweensContainer[property] = {\n rootPropertyValue: rootPropertyValue,\n startValue: startValue,\n currentValue: startValue,\n endValue: endValue,\n unitType: endValueUnitType,\n easing: easing\n };\n\n if (Velocity.debug) console.log(\"tweensContainer (\" + property + \"): \" + JSON.stringify(tweensContainer[property]), element);\n }\n\n /* Along with its property data, store a reference to the element itself onto tweensContainer. */\n tweensContainer.element = element;\n }\n\n /*****************\n Call Push\n *****************/\n\n /* Note: tweensContainer can be empty if all of the properties in this call's property map were skipped due to not\n being supported by the browser. The element property is used for checking that the tweensContainer has been appended to. */\n if (tweensContainer.element) {\n /* Apply the \"velocity-animating\" indicator class. */\n CSS.Values.addClass(element, \"velocity-animating\");\n\n /* The call array houses the tweensContainers for each element being animated in the current call. */\n call.push(tweensContainer);\n\n /* Store the tweensContainer and options if we're working on the default effects queue, so that they can be used by the reverse command. */\n if (opts.queue === \"\") {\n Data(element).tweensContainer = tweensContainer;\n Data(element).opts = opts;\n }\n\n /* Switch on the element's animating flag. */\n Data(element).isAnimating = true;\n\n /* Once the final element in this call's element set has been processed, push the call array onto\n Velocity.State.calls for the animation tick to immediately begin processing. */\n if (elementsIndex === elementsLength - 1) {\n /* Add the current call plus its associated metadata (the element set and the call's options) onto the global call container.\n Anything on this call container is subjected to tick() processing. */\n Velocity.State.calls.push([ call, elements, opts, null, promiseData.resolver ]);\n\n /* If the animation tick isn't running, start it. (Velocity shuts it off when there are no active calls to process.) */\n if (Velocity.State.isTicking === false) {\n Velocity.State.isTicking = true;\n\n /* Start the tick loop. */\n tick();\n }\n } else {\n elementsIndex++;\n }\n }\n }\n\n /* When the queue option is set to false, the call skips the element's queue and fires immediately. */\n if (opts.queue === false) {\n /* Since this buildQueue call doesn't respect the element's existing queue (which is where a delay option would have been appended),\n we manually inject the delay property here with an explicit setTimeout. */\n if (opts.delay) {\n setTimeout(buildQueue, opts.delay);\n } else {\n buildQueue();\n }\n /* Otherwise, the call undergoes element queueing as normal. */\n /* Note: To interoperate with jQuery, Velocity uses jQuery's own $.queue() stack for queuing logic. */\n } else {\n $.queue(element, opts.queue, function(next, clearQueue) {\n /* If the clearQueue flag was passed in by the stop command, resolve this call's promise. (Promises can only be resolved once,\n so it's fine if this is repeatedly triggered for each element in the associated call.) */\n if (clearQueue === true) {\n if (promiseData.promise) {\n promiseData.resolver(elements);\n }\n\n /* Do not continue with animation queueing. */\n return true;\n }\n\n /* This flag indicates to the upcoming completeCall() function that this queue entry was initiated by Velocity.\n See completeCall() for further details. */\n Velocity.velocityQueueEntryFlag = true;\n\n buildQueue(next);\n });\n }\n\n /*********************\n Auto-Dequeuing\n *********************/\n\n /* As per jQuery's $.queue() behavior, to fire the first non-custom-queue entry on an element, the element\n must be dequeued if its queue stack consists *solely* of the current call. (This can be determined by checking\n for the \"inprogress\" item that jQuery prepends to active queue stack arrays.) Regardless, whenever the element's\n queue is further appended with additional items -- including $.delay()'s or even $.animate() calls, the queue's\n first entry is automatically fired. This behavior contrasts that of custom queues, which never auto-fire. */\n /* Note: When an element set is being subjected to a non-parallel Velocity call, the animation will not begin until\n each one of the elements in the set has reached the end of its individually pre-existing queue chain. */\n /* Note: Unfortunately, most people don't fully grasp jQuery's powerful, yet quirky, $.queue() function.\n Lean more here: http://stackoverflow.com/questions/1058158/can-somebody-explain-jquery-queue-to-me */\n if ((opts.queue === \"\" || opts.queue === \"fx\") && $.queue(element)[0] !== \"inprogress\") {\n $.dequeue(element);\n }\n }\n\n /**************************\n Element Set Iteration\n **************************/\n\n /* If the \"nodeType\" property exists on the elements variable, we're animating a single element.\n Place it in an array so that $.each() can iterate over it. */\n $.each(elements, function(i, element) {\n /* Ensure each element in a set has a nodeType (is a real element) to avoid throwing errors. */\n if (Type.isNode(element)) {\n processElement.call(element);\n }\n });\n\n /******************\n Option: Loop\n ******************/\n\n /* The loop option accepts an integer indicating how many times the element should loop between the values in the\n current call's properties map and the element's property values prior to this call. */\n /* Note: The loop option's logic is performed here -- after element processing -- because the current call needs\n to undergo its queue insertion prior to the loop option generating its series of constituent \"reverse\" calls,\n which chain after the current call. Two reverse calls (two \"alternations\") constitute one loop. */\n var opts = $.extend({}, Velocity.defaults, options),\n reverseCallsCount;\n\n opts.loop = parseInt(opts.loop);\n reverseCallsCount = (opts.loop * 2) - 1;\n\n if (opts.loop) {\n /* Double the loop count to convert it into its appropriate number of \"reverse\" calls.\n Subtract 1 from the resulting value since the current call is included in the total alternation count. */\n for (var x = 0; x < reverseCallsCount; x++) {\n /* Since the logic for the reverse action occurs inside Queueing and therefore this call's options object\n isn't parsed until then as well, the current call's delay option must be explicitly passed into the reverse\n call so that the delay logic that occurs inside *Pre-Queueing* can process it. */\n var reverseOptions = {\n delay: opts.delay,\n progress: opts.progress\n };\n\n /* If a complete callback was passed into this call, transfer it to the loop redirect's final \"reverse\" call\n so that it's triggered when the entire redirect is complete (and not when the very first animation is complete). */\n if (x === reverseCallsCount - 1) {\n reverseOptions.display = opts.display;\n reverseOptions.visibility = opts.visibility;\n reverseOptions.complete = opts.complete;\n }\n\n animate(elements, \"reverse\", reverseOptions);\n }\n }\n\n /***************\n Chaining\n ***************/\n\n /* Return the elements back to the call chain, with wrapped elements taking precedence in case Velocity was called via the $.fn. extension. */\n return getChain();\n };\n\n /* Turn Velocity into the animation function, extended with the pre-existing Velocity object. */\n Velocity = $.extend(animate, Velocity);\n /* For legacy support, also expose the literal animate method. */\n Velocity.animate = animate;\n\n /**************\n Timing\n **************/\n\n /* Ticker function. */\n var ticker = window.requestAnimationFrame || rAFShim;\n\n /* Inactive browser tabs pause rAF, which results in all active animations immediately sprinting to their completion states when the tab refocuses.\n To get around this, we dynamically switch rAF to setTimeout (which the browser *doesn't* pause) when the tab loses focus. We skip this for mobile\n devices to avoid wasting battery power on inactive tabs. */\n /* Note: Tab focus detection doesn't work on older versions of IE, but that's okay since they don't support rAF to begin with. */\n if (!Velocity.State.isMobile && document.hidden !== undefined) {\n document.addEventListener(\"visibilitychange\", function() {\n /* Reassign the rAF function (which the global tick() function uses) based on the tab's focus state. */\n if (document.hidden) {\n ticker = function(callback) {\n /* The tick function needs a truthy first argument in order to pass its internal timestamp check. */\n return setTimeout(function() { callback(true) }, 16);\n };\n\n /* The rAF loop has been paused by the browser, so we manually restart the tick. */\n tick();\n } else {\n ticker = window.requestAnimationFrame || rAFShim;\n }\n });\n }\n\n /************\n Tick\n ************/\n\n /* Note: All calls to Velocity are pushed to the Velocity.State.calls array, which is fully iterated through upon each tick. */\n function tick (timestamp) {\n /* An empty timestamp argument indicates that this is the first tick occurence since ticking was turned on.\n We leverage this metadata to fully ignore the first tick pass since RAF's initial pass is fired whenever\n the browser's next tick sync time occurs, which results in the first elements subjected to Velocity\n calls being animated out of sync with any elements animated immediately thereafter. In short, we ignore\n the first RAF tick pass so that elements being immediately consecutively animated -- instead of simultaneously animated\n by the same Velocity call -- are properly batched into the same initial RAF tick and consequently remain in sync thereafter. */\n if (timestamp) {\n /* We ignore RAF's high resolution timestamp since it can be significantly offset when the browser is\n under high stress; we opt for choppiness over allowing the browser to drop huge chunks of frames. */\n var timeCurrent = (new Date).getTime();\n\n /********************\n Call Iteration\n ********************/\n\n var callsLength = Velocity.State.calls.length;\n\n /* To speed up iterating over this array, it is compacted (falsey items -- calls that have completed -- are removed)\n when its length has ballooned to a point that can impact tick performance. This only becomes necessary when animation\n has been continuous with many elements over a long period of time; whenever all active calls are completed, completeCall() clears Velocity.State.calls. */\n if (callsLength > 10000) {\n Velocity.State.calls = compactSparseArray(Velocity.State.calls);\n }\n\n /* Iterate through each active call. */\n for (var i = 0; i < callsLength; i++) {\n /* When a Velocity call is completed, its Velocity.State.calls entry is set to false. Continue on to the next call. */\n if (!Velocity.State.calls[i]) {\n continue;\n }\n\n /************************\n Call-Wide Variables\n ************************/\n\n var callContainer = Velocity.State.calls[i],\n call = callContainer[0],\n opts = callContainer[2],\n timeStart = callContainer[3],\n firstTick = !!timeStart,\n tweenDummyValue = null;\n\n /* If timeStart is undefined, then this is the first time that this call has been processed by tick().\n We assign timeStart now so that its value is as close to the real animation start time as possible.\n (Conversely, had timeStart been defined when this call was added to Velocity.State.calls, the delay\n between that time and now would cause the first few frames of the tween to be skipped since\n percentComplete is calculated relative to timeStart.) */\n /* Further, subtract 16ms (the approximate resolution of RAF) from the current time value so that the\n first tick iteration isn't wasted by animating at 0% tween completion, which would produce the\n same style value as the element's current value. */\n if (!timeStart) {\n timeStart = Velocity.State.calls[i][3] = timeCurrent - 16;\n }\n\n /* The tween's completion percentage is relative to the tween's start time, not the tween's start value\n (which would result in unpredictable tween durations since JavaScript's timers are not particularly accurate).\n Accordingly, we ensure that percentComplete does not exceed 1. */\n var percentComplete = Math.min((timeCurrent - timeStart) / opts.duration, 1);\n\n /**********************\n Element Iteration\n **********************/\n\n /* For every call, iterate through each of the elements in its set. */\n for (var j = 0, callLength = call.length; j < callLength; j++) {\n var tweensContainer = call[j],\n element = tweensContainer.element;\n\n /* Check to see if this element has been deleted midway through the animation by checking for the\n continued existence of its data cache. If it's gone, skip animating this element. */\n if (!Data(element)) {\n continue;\n }\n\n var transformPropertyExists = false;\n\n /**********************************\n Display & Visibility Toggling\n **********************************/\n\n /* If the display option is set to non-\"none\", set it upfront so that the element can become visible before tweening begins.\n (Otherwise, display's \"none\" value is set in completeCall() once the animation has completed.) */\n if (opts.display !== undefined && opts.display !== null && opts.display !== \"none\") {\n if (opts.display === \"flex\") {\n var flexValues = [ \"-webkit-box\", \"-moz-box\", \"-ms-flexbox\", \"-webkit-flex\" ];\n\n $.each(flexValues, function(i, flexValue) {\n CSS.setPropertyValue(element, \"display\", flexValue);\n });\n }\n\n CSS.setPropertyValue(element, \"display\", opts.display);\n }\n\n /* Same goes with the visibility option, but its \"none\" equivalent is \"hidden\". */\n if (opts.visibility !== undefined && opts.visibility !== \"hidden\") {\n CSS.setPropertyValue(element, \"visibility\", opts.visibility);\n }\n\n /************************\n Property Iteration\n ************************/\n\n /* For every element, iterate through each property. */\n for (var property in tweensContainer) {\n /* Note: In addition to property tween data, tweensContainer contains a reference to its associated element. */\n if (property !== \"element\") {\n var tween = tweensContainer[property],\n currentValue,\n /* Easing can either be a pre-genereated function or a string that references a pre-registered easing\n on the Velocity.Easings object. In either case, return the appropriate easing *function*. */\n easing = Type.isString(tween.easing) ? Velocity.Easings[tween.easing] : tween.easing;\n\n /******************************\n Current Value Calculation\n ******************************/\n\n /* If this is the last tick pass (if we've reached 100% completion for this tween),\n ensure that currentValue is explicitly set to its target endValue so that it's not subjected to any rounding. */\n if (percentComplete === 1) {\n currentValue = tween.endValue;\n /* Otherwise, calculate currentValue based on the current delta from startValue. */\n } else {\n var tweenDelta = tween.endValue - tween.startValue;\n currentValue = tween.startValue + (tweenDelta * easing(percentComplete, opts, tweenDelta));\n\n /* If no value change is occurring, don't proceed with DOM updating. */\n if (!firstTick && (currentValue === tween.currentValue)) {\n continue;\n }\n }\n\n tween.currentValue = currentValue;\n\n /* If we're tweening a fake 'tween' property in order to log transition values, update the one-per-call variable so that\n it can be passed into the progress callback. */\n if (property === \"tween\") {\n tweenDummyValue = currentValue;\n } else {\n /******************\n Hooks: Part I\n ******************/\n\n /* For hooked properties, the newly-updated rootPropertyValueCache is cached onto the element so that it can be used\n for subsequent hooks in this call that are associated with the same root property. If we didn't cache the updated\n rootPropertyValue, each subsequent update to the root property in this tick pass would reset the previous hook's\n updates to rootPropertyValue prior to injection. A nice performance byproduct of rootPropertyValue caching is that\n subsequently chained animations using the same hookRoot but a different hook can use this cached rootPropertyValue. */\n if (CSS.Hooks.registered[property]) {\n var hookRoot = CSS.Hooks.getRoot(property),\n rootPropertyValueCache = Data(element).rootPropertyValueCache[hookRoot];\n\n if (rootPropertyValueCache) {\n tween.rootPropertyValue = rootPropertyValueCache;\n }\n }\n\n /*****************\n DOM Update\n *****************/\n\n /* setPropertyValue() returns an array of the property name and property value post any normalization that may have been performed. */\n /* Note: To solve an IE<=8 positioning bug, the unit type is dropped when setting a property value of 0. */\n var adjustedSetData = CSS.setPropertyValue(element, /* SET */\n property,\n tween.currentValue + (parseFloat(currentValue) === 0 ? \"\" : tween.unitType),\n tween.rootPropertyValue,\n tween.scrollData);\n\n /*******************\n Hooks: Part II\n *******************/\n\n /* Now that we have the hook's updated rootPropertyValue (the post-processed value provided by adjustedSetData), cache it onto the element. */\n if (CSS.Hooks.registered[property]) {\n /* Since adjustedSetData contains normalized data ready for DOM updating, the rootPropertyValue needs to be re-extracted from its normalized form. ?? */\n if (CSS.Normalizations.registered[hookRoot]) {\n Data(element).rootPropertyValueCache[hookRoot] = CSS.Normalizations.registered[hookRoot](\"extract\", null, adjustedSetData[1]);\n } else {\n Data(element).rootPropertyValueCache[hookRoot] = adjustedSetData[1];\n }\n }\n\n /***************\n Transforms\n ***************/\n\n /* Flag whether a transform property is being animated so that flushTransformCache() can be triggered once this tick pass is complete. */\n if (adjustedSetData[0] === \"transform\") {\n transformPropertyExists = true;\n }\n\n }\n }\n }\n\n /****************\n mobileHA\n ****************/\n\n /* If mobileHA is enabled, set the translate3d transform to null to force hardware acceleration.\n It's safe to override this property since Velocity doesn't actually support its animation (hooks are used in its place). */\n if (opts.mobileHA) {\n /* Don't set the null transform hack if we've already done so. */\n if (Data(element).transformCache.translate3d === undefined) {\n /* All entries on the transformCache object are later concatenated into a single transform string via flushTransformCache(). */\n Data(element).transformCache.translate3d = \"(0px, 0px, 0px)\";\n\n transformPropertyExists = true;\n }\n }\n\n if (transformPropertyExists) {\n CSS.flushTransformCache(element);\n }\n }\n\n /* The non-\"none\" display value is only applied to an element once -- when its associated call is first ticked through.\n Accordingly, it's set to false so that it isn't re-processed by this call in the next tick. */\n if (opts.display !== undefined && opts.display !== \"none\") {\n Velocity.State.calls[i][2].display = false;\n }\n if (opts.visibility !== undefined && opts.visibility !== \"hidden\") {\n Velocity.State.calls[i][2].visibility = false;\n }\n\n /* Pass the elements and the timing data (percentComplete, msRemaining, timeStart, tweenDummyValue) into the progress callback. */\n if (opts.progress) {\n opts.progress.call(callContainer[1],\n callContainer[1],\n percentComplete,\n Math.max(0, (timeStart + opts.duration) - timeCurrent),\n timeStart,\n tweenDummyValue);\n }\n\n /* If this call has finished tweening, pass its index to completeCall() to handle call cleanup. */\n if (percentComplete === 1) {\n completeCall(i);\n }\n }\n }\n\n /* Note: completeCall() sets the isTicking flag to false when the last call on Velocity.State.calls has completed. */\n if (Velocity.State.isTicking) {\n ticker(tick);\n }\n }\n\n /**********************\n Call Completion\n **********************/\n\n /* Note: Unlike tick(), which processes all active calls at once, call completion is handled on a per-call basis. */\n function completeCall (callIndex, isStopped) {\n /* Ensure the call exists. */\n if (!Velocity.State.calls[callIndex]) {\n return false;\n }\n\n /* Pull the metadata from the call. */\n var call = Velocity.State.calls[callIndex][0],\n elements = Velocity.State.calls[callIndex][1],\n opts = Velocity.State.calls[callIndex][2],\n resolver = Velocity.State.calls[callIndex][4];\n\n var remainingCallsExist = false;\n\n /*************************\n Element Finalization\n *************************/\n\n for (var i = 0, callLength = call.length; i < callLength; i++) {\n var element = call[i].element;\n\n /* If the user set display to \"none\" (intending to hide the element), set it now that the animation has completed. */\n /* Note: display:none isn't set when calls are manually stopped (via Velocity(\"stop\"). */\n /* Note: Display gets ignored with \"reverse\" calls and infinite loops, since this behavior would be undesirable. */\n if (!isStopped && !opts.loop) {\n if (opts.display === \"none\") {\n CSS.setPropertyValue(element, \"display\", opts.display);\n }\n\n if (opts.visibility === \"hidden\") {\n CSS.setPropertyValue(element, \"visibility\", opts.visibility);\n }\n }\n\n /* If the element's queue is empty (if only the \"inprogress\" item is left at position 0) or if its queue is about to run\n a non-Velocity-initiated entry, turn off the isAnimating flag. A non-Velocity-initiatied queue entry's logic might alter\n an element's CSS values and thereby cause Velocity's cached value data to go stale. To detect if a queue entry was initiated by Velocity,\n we check for the existence of our special Velocity.queueEntryFlag declaration, which minifiers won't rename since the flag\n is assigned to jQuery's global $ object and thus exists out of Velocity's own scope. */\n if (opts.loop !== true && ($.queue(element)[1] === undefined || !/\\.velocityQueueEntryFlag/i.test($.queue(element)[1]))) {\n /* The element may have been deleted. Ensure that its data cache still exists before acting on it. */\n if (Data(element)) {\n Data(element).isAnimating = false;\n /* Clear the element's rootPropertyValueCache, which will become stale. */\n Data(element).rootPropertyValueCache = {};\n\n var transformHAPropertyExists = false;\n /* If any 3D transform subproperty is at its default value (regardless of unit type), remove it. */\n $.each(CSS.Lists.transforms3D, function(i, transformName) {\n var defaultValue = /^scale/.test(transformName) ? 1 : 0,\n currentValue = Data(element).transformCache[transformName];\n\n if (Data(element).transformCache[transformName] !== undefined && new RegExp(\"^\\\\(\" + defaultValue + \"[^.]\").test(currentValue)) {\n transformHAPropertyExists = true;\n\n delete Data(element).transformCache[transformName];\n }\n });\n\n /* Mobile devices have hardware acceleration removed at the end of the animation in order to avoid hogging the GPU's memory. */\n if (opts.mobileHA) {\n transformHAPropertyExists = true;\n delete Data(element).transformCache.translate3d;\n }\n\n /* Flush the subproperty removals to the DOM. */\n if (transformHAPropertyExists) {\n CSS.flushTransformCache(element);\n }\n\n /* Remove the \"velocity-animating\" indicator class. */\n CSS.Values.removeClass(element, \"velocity-animating\");\n }\n }\n\n /*********************\n Option: Complete\n *********************/\n\n /* Complete is fired once per call (not once per element) and is passed the full raw DOM element set as both its context and its first argument. */\n /* Note: Callbacks aren't fired when calls are manually stopped (via Velocity(\"stop\"). */\n if (!isStopped && opts.complete && !opts.loop && (i === callLength - 1)) {\n /* We throw callbacks in a setTimeout so that thrown errors don't halt the execution of Velocity itself. */\n try {\n opts.complete.call(elements, elements);\n } catch (error) {\n setTimeout(function() { throw error; }, 1);\n }\n }\n\n /**********************\n Promise Resolving\n **********************/\n\n /* Note: Infinite loops don't return promises. */\n if (resolver && opts.loop !== true) {\n resolver(elements);\n }\n\n /****************************\n Option: Loop (Infinite)\n ****************************/\n\n if (Data(element) && opts.loop === true && !isStopped) {\n /* If a rotateX/Y/Z property is being animated to 360 deg with loop:true, swap tween start/end values to enable\n continuous iterative rotation looping. (Otherise, the element would just rotate back and forth.) */\n $.each(Data(element).tweensContainer, function(propertyName, tweenContainer) {\n if (/^rotate/.test(propertyName) && parseFloat(tweenContainer.endValue) === 360) {\n tweenContainer.endValue = 0;\n tweenContainer.startValue = 360;\n }\n\n if (/^backgroundPosition/.test(propertyName) && parseFloat(tweenContainer.endValue) === 100 && tweenContainer.unitType === \"%\") {\n tweenContainer.endValue = 0;\n tweenContainer.startValue = 100;\n }\n });\n\n Velocity(element, \"reverse\", { loop: true, delay: opts.delay });\n }\n\n /***************\n Dequeueing\n ***************/\n\n /* Fire the next call in the queue so long as this call's queue wasn't set to false (to trigger a parallel animation),\n which would have already caused the next call to fire. Note: Even if the end of the animation queue has been reached,\n $.dequeue() must still be called in order to completely clear jQuery's animation queue. */\n if (opts.queue !== false) {\n $.dequeue(element, opts.queue);\n }\n }\n\n /************************\n Calls Array Cleanup\n ************************/\n\n /* Since this call is complete, set it to false so that the rAF tick skips it. This array is later compacted via compactSparseArray().\n (For performance reasons, the call is set to false instead of being deleted from the array: http://www.html5rocks.com/en/tutorials/speed/v8/) */\n Velocity.State.calls[callIndex] = false;\n\n /* Iterate through the calls array to determine if this was the final in-progress animation.\n If so, set a flag to end ticking and clear the calls array. */\n for (var j = 0, callsLength = Velocity.State.calls.length; j < callsLength; j++) {\n if (Velocity.State.calls[j] !== false) {\n remainingCallsExist = true;\n\n break;\n }\n }\n\n if (remainingCallsExist === false) {\n /* tick() will detect this flag upon its next iteration and subsequently turn itself off. */\n Velocity.State.isTicking = false;\n\n /* Clear the calls array so that its length is reset. */\n delete Velocity.State.calls;\n Velocity.State.calls = [];\n }\n }\n\n /******************\n Frameworks\n ******************/\n\n /* Both jQuery and Zepto allow their $.fn object to be extended to allow wrapped elements to be subjected to plugin calls.\n If either framework is loaded, register a \"velocity\" extension pointing to Velocity's core animate() method. Velocity\n also registers itself onto a global container (window.jQuery || window.Zepto || window) so that certain features are\n accessible beyond just a per-element scope. This master object contains an .animate() method, which is later assigned to $.fn\n (if jQuery or Zepto are present). Accordingly, Velocity can both act on wrapped DOM elements and stand alone for targeting raw DOM elements. */\n global.Velocity = Velocity;\n\n if (global !== window) {\n /* Assign the element function to Velocity's core animate() method. */\n global.fn.velocity = animate;\n /* Assign the object function's defaults to Velocity's global defaults object. */\n global.fn.velocity.defaults = Velocity.defaults;\n }\n\n /***********************\n Packaged Redirects\n ***********************/\n\n /* slideUp, slideDown */\n $.each([ \"Down\", \"Up\" ], function(i, direction) {\n Velocity.Redirects[\"slide\" + direction] = function (element, options, elementsIndex, elementsSize, elements, promiseData) {\n var opts = $.extend({}, options),\n begin = opts.begin,\n complete = opts.complete,\n computedValues = { height: \"\", marginTop: \"\", marginBottom: \"\", paddingTop: \"\", paddingBottom: \"\" },\n inlineValues = {};\n\n if (opts.display === undefined) {\n /* Show the element before slideDown begins and hide the element after slideUp completes. */\n /* Note: Inline elements cannot have dimensions animated, so they're reverted to inline-block. */\n opts.display = (direction === \"Down\" ? (Velocity.CSS.Values.getDisplayType(element) === \"inline\" ? \"inline-block\" : \"block\") : \"none\");\n }\n\n opts.begin = function() {\n /* If the user passed in a begin callback, fire it now. */\n begin && begin.call(elements, elements);\n\n /* Cache the elements' original vertical dimensional property values so that we can animate back to them. */\n for (var property in computedValues) {\n inlineValues[property] = element.style[property];\n\n /* For slideDown, use forcefeeding to animate all vertical properties from 0. For slideUp,\n use forcefeeding to start from computed values and animate down to 0. */\n var propertyValue = Velocity.CSS.getPropertyValue(element, property);\n computedValues[property] = (direction === \"Down\") ? [ propertyValue, 0 ] : [ 0, propertyValue ];\n }\n\n /* Force vertical overflow content to clip so that sliding works as expected. */\n inlineValues.overflow = element.style.overflow;\n element.style.overflow = \"hidden\";\n }\n\n opts.complete = function() {\n /* Reset element to its pre-slide inline values once its slide animation is complete. */\n for (var property in inlineValues) {\n element.style[property] = inlineValues[property];\n }\n\n /* If the user passed in a complete callback, fire it now. */\n complete && complete.call(elements, elements);\n promiseData && promiseData.resolver(elements);\n };\n\n Velocity(element, computedValues, opts);\n };\n });\n\n /* fadeIn, fadeOut */\n $.each([ \"In\", \"Out\" ], function(i, direction) {\n Velocity.Redirects[\"fade\" + direction] = function (element, options, elementsIndex, elementsSize, elements, promiseData) {\n var opts = $.extend({}, options),\n propertiesMap = { opacity: (direction === \"In\") ? 1 : 0 },\n originalComplete = opts.complete;\n\n /* Since redirects are triggered individually for each element in the animated set, avoid repeatedly triggering\n callbacks by firing them only when the final element has been reached. */\n if (elementsIndex !== elementsSize - 1) {\n opts.complete = opts.begin = null;\n } else {\n opts.complete = function() {\n if (originalComplete) {\n originalComplete.call(elements, elements);\n }\n\n promiseData && promiseData.resolver(elements);\n }\n }\n\n /* If a display was passed in, use it. Otherwise, default to \"none\" for fadeOut or the element-specific default for fadeIn. */\n /* Note: We allow users to pass in \"null\" to skip display setting altogether. */\n if (opts.display === undefined) {\n opts.display = (direction === \"In\" ? \"auto\" : \"none\");\n }\n\n Velocity(this, propertiesMap, opts);\n };\n });\n\n return Velocity;\n}((window.jQuery || window.Zepto || window), window, document);\n}));\n\n/******************\n Known Issues\n******************/\n\n/* The CSS spec mandates that the translateX/Y/Z transforms are %-relative to the element itself -- not its parent.\nVelocity, however, doesn't make this distinction. Thus, converting to or from the % unit with these subproperties\nwill produce an inaccurate conversion value. The same issue exists with the cx/cy attributes of SVG circles and ellipses. */","/**********************\n Velocity UI Pack\n**********************/\n\n/* VelocityJS.org UI Pack (5.0.4). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License. Portions copyright Daniel Eden, Christian Pucci. */\n\n;(function (factory) {\n /* CommonJS module. */\n if (typeof require === \"function\" && typeof exports === \"object\" ) {\n module.exports = factory();\n /* AMD module. */\n } else if (typeof define === \"function\" && define.amd) {\n define([ \"velocity\" ], factory);\n /* Browser globals. */\n } else {\n factory();\n }\n}(function() {\nreturn function (global, window, document, undefined) {\n\n /*************\n Checks\n *************/\n\n if (!global.Velocity || !global.Velocity.Utilities) {\n window.console && console.log(\"Velocity UI Pack: Velocity must be loaded first. Aborting.\");\n return;\n } else {\n var Velocity = global.Velocity,\n $ = Velocity.Utilities;\n }\n\n var velocityVersion = Velocity.version,\n requiredVersion = { major: 1, minor: 1, patch: 0 };\n\n function greaterSemver (primary, secondary) {\n var versionInts = [];\n\n if (!primary || !secondary) { return false; }\n\n $.each([ primary, secondary ], function(i, versionObject) {\n var versionIntsComponents = [];\n\n $.each(versionObject, function(component, value) {\n while (value.toString().length < 5) {\n value = \"0\" + value;\n }\n versionIntsComponents.push(value);\n });\n\n versionInts.push(versionIntsComponents.join(\"\"))\n });\n\n return (parseFloat(versionInts[0]) > parseFloat(versionInts[1]));\n }\n\n if (greaterSemver(requiredVersion, velocityVersion)){\n var abortError = \"Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.\";\n alert(abortError);\n throw new Error(abortError);\n }\n\n /************************\n Effect Registration\n ************************/\n\n /* Note: RegisterUI is a legacy name. */\n Velocity.RegisterEffect = Velocity.RegisterUI = function (effectName, properties) {\n /* Animate the expansion/contraction of the elements' parent's height for In/Out effects. */\n function animateParentHeight (elements, direction, totalDuration, stagger) {\n var totalHeightDelta = 0,\n parentNode;\n\n /* Sum the total height (including padding and margin) of all targeted elements. */\n $.each(elements.nodeType ? [ elements ] : elements, function(i, element) {\n if (stagger) {\n /* Increase the totalDuration by the successive delay amounts produced by the stagger option. */\n totalDuration += i * stagger;\n }\n\n parentNode = element.parentNode;\n\n $.each([ \"height\", \"paddingTop\", \"paddingBottom\", \"marginTop\", \"marginBottom\"], function(i, property) {\n totalHeightDelta += parseFloat(Velocity.CSS.getPropertyValue(element, property));\n });\n });\n\n /* Animate the parent element's height adjustment (with a varying duration multiplier for aesthetic benefits). */\n Velocity.animate(\n parentNode,\n { height: (direction === \"In\" ? \"+\" : \"-\") + \"=\" + totalHeightDelta },\n { queue: false, easing: \"ease-in-out\", duration: totalDuration * (direction === \"In\" ? 0.6 : 1) }\n );\n }\n\n /* Register a custom redirect for each effect. */\n Velocity.Redirects[effectName] = function (element, redirectOptions, elementsIndex, elementsSize, elements, promiseData) {\n var finalElement = (elementsIndex === elementsSize - 1);\n\n if (typeof properties.defaultDuration === \"function\") {\n properties.defaultDuration = properties.defaultDuration.call(elements, elements);\n } else {\n properties.defaultDuration = parseFloat(properties.defaultDuration);\n }\n\n /* Iterate through each effect's call array. */\n for (var callIndex = 0; callIndex < properties.calls.length; callIndex++) {\n var call = properties.calls[callIndex],\n propertyMap = call[0],\n redirectDuration = (redirectOptions.duration || properties.defaultDuration || 1000),\n durationPercentage = call[1],\n callOptions = call[2] || {},\n opts = {};\n\n /* Assign the whitelisted per-call options. */\n opts.duration = redirectDuration * (durationPercentage || 1);\n opts.queue = redirectOptions.queue || \"\";\n opts.easing = callOptions.easing || \"ease\";\n opts.delay = parseFloat(callOptions.delay) || 0;\n opts._cacheValues = callOptions._cacheValues || true;\n\n /* Special processing for the first effect call. */\n if (callIndex === 0) {\n /* If a delay was passed into the redirect, combine it with the first call's delay. */\n opts.delay += (parseFloat(redirectOptions.delay) || 0);\n\n if (elementsIndex === 0) {\n opts.begin = function() {\n /* Only trigger a begin callback on the first effect call with the first element in the set. */\n redirectOptions.begin && redirectOptions.begin.call(elements, elements);\n\n var direction = effectName.match(/(In|Out)$/);\n\n /* Make \"in\" transitioning elements invisible immediately so that there's no FOUC between now\n and the first RAF tick. */\n if ((direction && direction[0] === \"In\") && propertyMap.opacity !== undefined) {\n $.each(elements.nodeType ? [ elements ] : elements, function(i, element) {\n Velocity.CSS.setPropertyValue(element, \"opacity\", 0);\n });\n }\n\n /* Only trigger animateParentHeight() if we're using an In/Out transition. */\n if (redirectOptions.animateParentHeight && direction) {\n animateParentHeight(elements, direction[0], redirectDuration + opts.delay, redirectOptions.stagger);\n }\n }\n }\n\n /* If the user isn't overriding the display option, default to \"auto\" for \"In\"-suffixed transitions. */\n if (redirectOptions.display !== null) {\n if (redirectOptions.display !== undefined && redirectOptions.display !== \"none\") {\n opts.display = redirectOptions.display;\n } else if (/In$/.test(effectName)) {\n /* Inline elements cannot be subjected to transforms, so we switch them to inline-block. */\n var defaultDisplay = Velocity.CSS.Values.getDisplayType(element);\n opts.display = (defaultDisplay === \"inline\") ? \"inline-block\" : defaultDisplay;\n }\n }\n\n if (redirectOptions.visibility && redirectOptions.visibility !== \"hidden\") {\n opts.visibility = redirectOptions.visibility;\n }\n }\n\n /* Special processing for the last effect call. */\n if (callIndex === properties.calls.length - 1) {\n /* Append promise resolving onto the user's redirect callback. */\n function injectFinalCallbacks () {\n if ((redirectOptions.display === undefined || redirectOptions.display === \"none\") && /Out$/.test(effectName)) {\n $.each(elements.nodeType ? [ elements ] : elements, function(i, element) {\n Velocity.CSS.setPropertyValue(element, \"display\", \"none\");\n });\n }\n\n redirectOptions.complete && redirectOptions.complete.call(elements, elements);\n\n if (promiseData) {\n promiseData.resolver(elements || element);\n }\n }\n\n opts.complete = function() {\n if (properties.reset) {\n for (var resetProperty in properties.reset) {\n var resetValue = properties.reset[resetProperty];\n\n /* Format each non-array value in the reset property map to [ value, value ] so that changes apply\n immediately and DOM querying is avoided (via forcefeeding). */\n /* Note: Don't forcefeed hooks, otherwise their hook roots will be defaulted to their null values. */\n if (Velocity.CSS.Hooks.registered[resetProperty] === undefined && (typeof resetValue === \"string\" || typeof resetValue === \"number\")) {\n properties.reset[resetProperty] = [ properties.reset[resetProperty], properties.reset[resetProperty] ];\n }\n }\n\n /* So that the reset values are applied instantly upon the next rAF tick, use a zero duration and parallel queueing. */\n var resetOptions = { duration: 0, queue: false };\n\n /* Since the reset option uses up the complete callback, we trigger the user's complete callback at the end of ours. */\n if (finalElement) {\n resetOptions.complete = injectFinalCallbacks;\n }\n\n Velocity.animate(element, properties.reset, resetOptions);\n /* Only trigger the user's complete callback on the last effect call with the last element in the set. */\n } else if (finalElement) {\n injectFinalCallbacks();\n }\n };\n\n if (redirectOptions.visibility === \"hidden\") {\n opts.visibility = redirectOptions.visibility;\n }\n }\n\n Velocity.animate(element, propertyMap, opts);\n }\n };\n\n /* Return the Velocity object so that RegisterUI calls can be chained. */\n return Velocity;\n };\n\n /*********************\n Packaged Effects\n *********************/\n\n /* Externalize the packagedEffects data so that they can optionally be modified and re-registered. */\n /* Support: <=IE8: Callouts will have no effect, and transitions will simply fade in/out. IE9/Android 2.3: Most effects are fully supported, the rest fade in/out. All other browsers: full support. */\n Velocity.RegisterEffect.packagedEffects =\n {\n /* Animate.css */\n \"callout.bounce\": {\n defaultDuration: 550,\n calls: [\n [ { translateY: -30 }, 0.25 ],\n [ { translateY: 0 }, 0.125 ],\n [ { translateY: -15 }, 0.125 ],\n [ { translateY: 0 }, 0.25 ]\n ]\n },\n /* Animate.css */\n \"callout.shake\": {\n defaultDuration: 800,\n calls: [\n [ { translateX: -11 }, 0.125 ],\n [ { translateX: 11 }, 0.125 ],\n [ { translateX: -11 }, 0.125 ],\n [ { translateX: 11 }, 0.125 ],\n [ { translateX: -11 }, 0.125 ],\n [ { translateX: 11 }, 0.125 ],\n [ { translateX: -11 }, 0.125 ],\n [ { translateX: 0 }, 0.125 ]\n ]\n },\n /* Animate.css */\n \"callout.flash\": {\n defaultDuration: 1100,\n calls: [\n [ { opacity: [ 0, \"easeInOutQuad\", 1 ] }, 0.25 ],\n [ { opacity: [ 1, \"easeInOutQuad\" ] }, 0.25 ],\n [ { opacity: [ 0, \"easeInOutQuad\" ] }, 0.25 ],\n [ { opacity: [ 1, \"easeInOutQuad\" ] }, 0.25 ]\n ]\n },\n /* Animate.css */\n \"callout.pulse\": {\n defaultDuration: 825,\n calls: [\n [ { scaleX: 1.1, scaleY: 1.1 }, 0.50, { easing: \"easeInExpo\" } ],\n [ { scaleX: 1, scaleY: 1 }, 0.50 ]\n ]\n },\n /* Animate.css */\n \"callout.swing\": {\n defaultDuration: 950,\n calls: [\n [ { rotateZ: 15 }, 0.20 ],\n [ { rotateZ: -10 }, 0.20 ],\n [ { rotateZ: 5 }, 0.20 ],\n [ { rotateZ: -5 }, 0.20 ],\n [ { rotateZ: 0 }, 0.20 ]\n ]\n },\n /* Animate.css */\n \"callout.tada\": {\n defaultDuration: 1000,\n calls: [\n [ { scaleX: 0.9, scaleY: 0.9, rotateZ: -3 }, 0.10 ],\n [ { scaleX: 1.1, scaleY: 1.1, rotateZ: 3 }, 0.10 ],\n [ { scaleX: 1.1, scaleY: 1.1, rotateZ: -3 }, 0.10 ],\n [ \"reverse\", 0.125 ],\n [ \"reverse\", 0.125 ],\n [ \"reverse\", 0.125 ],\n [ \"reverse\", 0.125 ],\n [ \"reverse\", 0.125 ],\n [ { scaleX: 1, scaleY: 1, rotateZ: 0 }, 0.20 ]\n ]\n },\n \"transition.fadeIn\": {\n defaultDuration: 500,\n calls: [\n [ { opacity: [ 1, 0 ] } ]\n ]\n },\n \"transition.fadeOut\": {\n defaultDuration: 500,\n calls: [\n [ { opacity: [ 0, 1 ] } ]\n ]\n },\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipXIn\": {\n defaultDuration: 700,\n calls: [\n [ { opacity: [ 1, 0 ], transformPerspective: [ 800, 800 ], rotateY: [ 0, -55 ] } ]\n ],\n reset: { transformPerspective: 0 }\n },\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipXOut\": {\n defaultDuration: 700,\n calls: [\n [ { opacity: [ 0, 1 ], transformPerspective: [ 800, 800 ], rotateY: 55 } ]\n ],\n reset: { transformPerspective: 0, rotateY: 0 }\n },\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipYIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], transformPerspective: [ 800, 800 ], rotateX: [ 0, -45 ] } ]\n ],\n reset: { transformPerspective: 0 }\n },\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipYOut\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 0, 1 ], transformPerspective: [ 800, 800 ], rotateX: 25 } ]\n ],\n reset: { transformPerspective: 0, rotateX: 0 }\n },\n /* Animate.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipBounceXIn\": {\n defaultDuration: 900,\n calls: [\n [ { opacity: [ 0.725, 0 ], transformPerspective: [ 400, 400 ], rotateY: [ -10, 90 ] }, 0.50 ],\n [ { opacity: 0.80, rotateY: 10 }, 0.25 ],\n [ { opacity: 1, rotateY: 0 }, 0.25 ]\n ],\n reset: { transformPerspective: 0 }\n },\n /* Animate.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipBounceXOut\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 0.9, 1 ], transformPerspective: [ 400, 400 ], rotateY: -10 }, 0.50 ],\n [ { opacity: 0, rotateY: 90 }, 0.50 ]\n ],\n reset: { transformPerspective: 0, rotateY: 0 }\n },\n /* Animate.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipBounceYIn\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 0.725, 0 ], transformPerspective: [ 400, 400 ], rotateX: [ -10, 90 ] }, 0.50 ],\n [ { opacity: 0.80, rotateX: 10 }, 0.25 ],\n [ { opacity: 1, rotateX: 0 }, 0.25 ]\n ],\n reset: { transformPerspective: 0 }\n },\n /* Animate.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.flipBounceYOut\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 0.9, 1 ], transformPerspective: [ 400, 400 ], rotateX: -15 }, 0.50 ],\n [ { opacity: 0, rotateX: 90 }, 0.50 ]\n ],\n reset: { transformPerspective: 0, rotateX: 0 }\n },\n /* Magic.css */\n \"transition.swoopIn\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 1, 0 ], transformOriginX: [ \"100%\", \"50%\" ], transformOriginY: [ \"100%\", \"100%\" ], scaleX: [ 1, 0 ], scaleY: [ 1, 0 ], translateX: [ 0, -700 ], translateZ: 0 } ]\n ],\n reset: { transformOriginX: \"50%\", transformOriginY: \"50%\" }\n },\n /* Magic.css */\n \"transition.swoopOut\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 0, 1 ], transformOriginX: [ \"50%\", \"100%\" ], transformOriginY: [ \"100%\", \"100%\" ], scaleX: 0, scaleY: 0, translateX: -700, translateZ: 0 } ]\n ],\n reset: { transformOriginX: \"50%\", transformOriginY: \"50%\", scaleX: 1, scaleY: 1, translateX: 0 }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3. (Fades and scales only.) */\n \"transition.whirlIn\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 1, 0 ], transformOriginX: [ \"50%\", \"50%\" ], transformOriginY: [ \"50%\", \"50%\" ], scaleX: [ 1, 0 ], scaleY: [ 1, 0 ], rotateY: [ 0, 160 ] }, 1, { easing: \"easeInOutSine\" } ]\n ]\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3. (Fades and scales only.) */\n \"transition.whirlOut\": {\n defaultDuration: 750,\n calls: [\n [ { opacity: [ 0, \"easeInOutQuint\", 1 ], transformOriginX: [ \"50%\", \"50%\" ], transformOriginY: [ \"50%\", \"50%\" ], scaleX: 0, scaleY: 0, rotateY: 160 }, 1, { easing: \"swing\" } ]\n ],\n reset: { scaleX: 1, scaleY: 1, rotateY: 0 }\n },\n \"transition.shrinkIn\": {\n defaultDuration: 750,\n calls: [\n [ { opacity: [ 1, 0 ], transformOriginX: [ \"50%\", \"50%\" ], transformOriginY: [ \"50%\", \"50%\" ], scaleX: [ 1, 1.5 ], scaleY: [ 1, 1.5 ], translateZ: 0 } ]\n ]\n },\n \"transition.shrinkOut\": {\n defaultDuration: 600,\n calls: [\n [ { opacity: [ 0, 1 ], transformOriginX: [ \"50%\", \"50%\" ], transformOriginY: [ \"50%\", \"50%\" ], scaleX: 1.3, scaleY: 1.3, translateZ: 0 } ]\n ],\n reset: { scaleX: 1, scaleY: 1 }\n },\n \"transition.expandIn\": {\n defaultDuration: 700,\n calls: [\n [ { opacity: [ 1, 0 ], transformOriginX: [ \"50%\", \"50%\" ], transformOriginY: [ \"50%\", \"50%\" ], scaleX: [ 1, 0.625 ], scaleY: [ 1, 0.625 ], translateZ: 0 } ]\n ]\n },\n \"transition.expandOut\": {\n defaultDuration: 700,\n calls: [\n [ { opacity: [ 0, 1 ], transformOriginX: [ \"50%\", \"50%\" ], transformOriginY: [ \"50%\", \"50%\" ], scaleX: 0.5, scaleY: 0.5, translateZ: 0 } ]\n ],\n reset: { scaleX: 1, scaleY: 1 }\n },\n /* Animate.css */\n \"transition.bounceIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], scaleX: [ 1.05, 0.3 ], scaleY: [ 1.05, 0.3 ] }, 0.40 ],\n [ { scaleX: 0.9, scaleY: 0.9, translateZ: 0 }, 0.20 ],\n [ { scaleX: 1, scaleY: 1 }, 0.50 ]\n ]\n },\n /* Animate.css */\n \"transition.bounceOut\": {\n defaultDuration: 800,\n calls: [\n [ { scaleX: 0.95, scaleY: 0.95 }, 0.35 ],\n [ { scaleX: 1.1, scaleY: 1.1, translateZ: 0 }, 0.35 ],\n [ { opacity: [ 0, 1 ], scaleX: 0.3, scaleY: 0.3 }, 0.30 ]\n ],\n reset: { scaleX: 1, scaleY: 1 }\n },\n /* Animate.css */\n \"transition.bounceUpIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], translateY: [ -30, 1000 ] }, 0.60, { easing: \"easeOutCirc\" } ],\n [ { translateY: 10 }, 0.20 ],\n [ { translateY: 0 }, 0.20 ]\n ]\n },\n /* Animate.css */\n \"transition.bounceUpOut\": {\n defaultDuration: 1000,\n calls: [\n [ { translateY: 20 }, 0.20 ],\n [ { opacity: [ 0, \"easeInCirc\", 1 ], translateY: -1000 }, 0.80 ]\n ],\n reset: { translateY: 0 }\n },\n /* Animate.css */\n \"transition.bounceDownIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], translateY: [ 30, -1000 ] }, 0.60, { easing: \"easeOutCirc\" } ],\n [ { translateY: -10 }, 0.20 ],\n [ { translateY: 0 }, 0.20 ]\n ]\n },\n /* Animate.css */\n \"transition.bounceDownOut\": {\n defaultDuration: 1000,\n calls: [\n [ { translateY: -20 }, 0.20 ],\n [ { opacity: [ 0, \"easeInCirc\", 1 ], translateY: 1000 }, 0.80 ]\n ],\n reset: { translateY: 0 }\n },\n /* Animate.css */\n \"transition.bounceLeftIn\": {\n defaultDuration: 750,\n calls: [\n [ { opacity: [ 1, 0 ], translateX: [ 30, -1250 ] }, 0.60, { easing: \"easeOutCirc\" } ],\n [ { translateX: -10 }, 0.20 ],\n [ { translateX: 0 }, 0.20 ]\n ]\n },\n /* Animate.css */\n \"transition.bounceLeftOut\": {\n defaultDuration: 750,\n calls: [\n [ { translateX: 30 }, 0.20 ],\n [ { opacity: [ 0, \"easeInCirc\", 1 ], translateX: -1250 }, 0.80 ]\n ],\n reset: { translateX: 0 }\n },\n /* Animate.css */\n \"transition.bounceRightIn\": {\n defaultDuration: 750,\n calls: [\n [ { opacity: [ 1, 0 ], translateX: [ -30, 1250 ] }, 0.60, { easing: \"easeOutCirc\" } ],\n [ { translateX: 10 }, 0.20 ],\n [ { translateX: 0 }, 0.20 ]\n ]\n },\n /* Animate.css */\n \"transition.bounceRightOut\": {\n defaultDuration: 750,\n calls: [\n [ { translateX: -30 }, 0.20 ],\n [ { opacity: [ 0, \"easeInCirc\", 1 ], translateX: 1250 }, 0.80 ]\n ],\n reset: { translateX: 0 }\n },\n \"transition.slideUpIn\": {\n defaultDuration: 900,\n calls: [\n [ { opacity: [ 1, 0 ], translateY: [ 0, 20 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideUpOut\": {\n defaultDuration: 900,\n calls: [\n [ { opacity: [ 0, 1 ], translateY: -20, translateZ: 0 } ]\n ],\n reset: { translateY: 0 }\n },\n \"transition.slideDownIn\": {\n defaultDuration: 900,\n calls: [\n [ { opacity: [ 1, 0 ], translateY: [ 0, -20 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideDownOut\": {\n defaultDuration: 900,\n calls: [\n [ { opacity: [ 0, 1 ], translateY: 20, translateZ: 0 } ]\n ],\n reset: { translateY: 0 }\n },\n \"transition.slideLeftIn\": {\n defaultDuration: 1000,\n calls: [\n [ { opacity: [ 1, 0 ], translateX: [ 0, -20 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideLeftOut\": {\n defaultDuration: 1050,\n calls: [\n [ { opacity: [ 0, 1 ], translateX: -20, translateZ: 0 } ]\n ],\n reset: { translateX: 0 }\n },\n \"transition.slideRightIn\": {\n defaultDuration: 1000,\n calls: [\n [ { opacity: [ 1, 0 ], translateX: [ 0, 20 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideRightOut\": {\n defaultDuration: 1050,\n calls: [\n [ { opacity: [ 0, 1 ], translateX: 20, translateZ: 0 } ]\n ],\n reset: { translateX: 0 }\n },\n \"transition.slideUpBigIn\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 1, 0 ], translateY: [ 0, 75 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideUpBigOut\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 0, 1 ], translateY: -75, translateZ: 0 } ]\n ],\n reset: { translateY: 0 }\n },\n \"transition.slideDownBigIn\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 1, 0 ], translateY: [ 0, -75 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideDownBigOut\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 0, 1 ], translateY: 75, translateZ: 0 } ]\n ],\n reset: { translateY: 0 }\n },\n \"transition.slideLeftBigIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], translateX: [ 0, -75 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideLeftBigOut\": {\n defaultDuration: 750,\n calls: [\n [ { opacity: [ 0, 1 ], translateX: -75, translateZ: 0 } ]\n ],\n reset: { translateX: 0 }\n },\n \"transition.slideRightBigIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], translateX: [ 0, 75 ], translateZ: 0 } ]\n ]\n },\n \"transition.slideRightBigOut\": {\n defaultDuration: 750,\n calls: [\n [ { opacity: [ 0, 1 ], translateX: 75, translateZ: 0 } ]\n ],\n reset: { translateX: 0 }\n },\n /* Magic.css */\n \"transition.perspectiveUpIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], transformPerspective: [ 800, 800 ], transformOriginX: [ 0, 0 ], transformOriginY: [ \"100%\", \"100%\" ], rotateX: [ 0, -180 ] } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\" }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveUpOut\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 0, 1 ], transformPerspective: [ 800, 800 ], transformOriginX: [ 0, 0 ], transformOriginY: [ \"100%\", \"100%\" ], rotateX: -180 } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\", rotateX: 0 }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveDownIn\": {\n defaultDuration: 800,\n calls: [\n [ { opacity: [ 1, 0 ], transformPerspective: [ 800, 800 ], transformOriginX: [ 0, 0 ], transformOriginY: [ 0, 0 ], rotateX: [ 0, 180 ] } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\" }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveDownOut\": {\n defaultDuration: 850,\n calls: [\n [ { opacity: [ 0, 1 ], transformPerspective: [ 800, 800 ], transformOriginX: [ 0, 0 ], transformOriginY: [ 0, 0 ], rotateX: 180 } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\", rotateX: 0 }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveLeftIn\": {\n defaultDuration: 950,\n calls: [\n [ { opacity: [ 1, 0 ], transformPerspective: [ 2000, 2000 ], transformOriginX: [ 0, 0 ], transformOriginY: [ 0, 0 ], rotateY: [ 0, -180 ] } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\" }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveLeftOut\": {\n defaultDuration: 950,\n calls: [\n [ { opacity: [ 0, 1 ], transformPerspective: [ 2000, 2000 ], transformOriginX: [ 0, 0 ], transformOriginY: [ 0, 0 ], rotateY: -180 } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\", rotateY: 0 }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveRightIn\": {\n defaultDuration: 950,\n calls: [\n [ { opacity: [ 1, 0 ], transformPerspective: [ 2000, 2000 ], transformOriginX: [ \"100%\", \"100%\" ], transformOriginY: [ 0, 0 ], rotateY: [ 0, 180 ] } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\" }\n },\n /* Magic.css */\n /* Support: Loses rotation in IE9/Android 2.3 (fades only). */\n \"transition.perspectiveRightOut\": {\n defaultDuration: 950,\n calls: [\n [ { opacity: [ 0, 1 ], transformPerspective: [ 2000, 2000 ], transformOriginX: [ \"100%\", \"100%\" ], transformOriginY: [ 0, 0 ], rotateY: 180 } ]\n ],\n reset: { transformPerspective: 0, transformOriginX: \"50%\", transformOriginY: \"50%\", rotateY: 0 }\n }\n };\n\n /* Register the packaged effects. */\n for (var effectName in Velocity.RegisterEffect.packagedEffects) {\n Velocity.RegisterEffect(effectName, Velocity.RegisterEffect.packagedEffects[effectName]);\n }\n\n /*********************\n Sequence Running\n **********************/\n\n /* Note: Sequence calls must use Velocity's single-object arguments syntax. */\n Velocity.RunSequence = function (originalSequence) {\n var sequence = $.extend(true, [], originalSequence);\n\n if (sequence.length > 1) {\n $.each(sequence.reverse(), function(i, currentCall) {\n var nextCall = sequence[i + 1];\n\n if (nextCall) {\n /* Parallel sequence calls (indicated via sequenceQueue:false) are triggered\n in the previous call's begin callback. Otherwise, chained calls are normally triggered\n in the previous call's complete callback. */\n var currentCallOptions = currentCall.o || currentCall.options,\n nextCallOptions = nextCall.o || nextCall.options;\n\n var timing = (currentCallOptions && currentCallOptions.sequenceQueue === false) ? \"begin\" : \"complete\",\n callbackOriginal = nextCallOptions && nextCallOptions[timing],\n options = {};\n\n options[timing] = function() {\n var nextCallElements = nextCall.e || nextCall.elements;\n var elements = nextCallElements.nodeType ? [ nextCallElements ] : nextCallElements;\n\n callbackOriginal && callbackOriginal.call(elements, elements);\n Velocity(currentCall);\n }\n\n if (nextCall.o) {\n nextCall.o = $.extend({}, nextCallOptions, options);\n } else {\n nextCall.options = $.extend({}, nextCallOptions, options);\n }\n }\n });\n\n sequence.reverse();\n }\n\n Velocity(sequence[0]);\n };\n}((window.jQuery || window.Zepto || window), window, document);\n}));","/**\n * Owl Carousel v2.3.4\n * Copyright 2013-2018 David Deutsch\n * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE\n */\n/**\n * Owl carousel\n * @version 2.3.4\n * @author Bartosz Wojciechowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n * @todo Lazy Load Icon\n * @todo prevent animationend bubling\n * @todo itemsScaleUp\n * @todo Test Zepto\n * @todo stagePadding calculate wrong active classes\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates a carousel.\n\t * @class The Owl Carousel.\n\t * @public\n\t * @param {HTMLElement|jQuery} element - The element to create the carousel for.\n\t * @param {Object} [options] - The options\n\t */\n\tfunction Owl(element, options) {\n\n\t\t/**\n\t\t * Current settings for the carousel.\n\t\t * @public\n\t\t */\n\t\tthis.settings = null;\n\n\t\t/**\n\t\t * Current options set by the caller including defaults.\n\t\t * @public\n\t\t */\n\t\tthis.options = $.extend({}, Owl.Defaults, options);\n\n\t\t/**\n\t\t * Plugin element.\n\t\t * @public\n\t\t */\n\t\tthis.$element = $(element);\n\n\t\t/**\n\t\t * Proxied event handlers.\n\t\t * @protected\n\t\t */\n\t\tthis._handlers = {};\n\n\t\t/**\n\t\t * References to the running plugins of this carousel.\n\t\t * @protected\n\t\t */\n\t\tthis._plugins = {};\n\n\t\t/**\n\t\t * Currently suppressed events to prevent them from being retriggered.\n\t\t * @protected\n\t\t */\n\t\tthis._supress = {};\n\n\t\t/**\n\t\t * Absolute current position.\n\t\t * @protected\n\t\t */\n\t\tthis._current = null;\n\n\t\t/**\n\t\t * Animation speed in milliseconds.\n\t\t * @protected\n\t\t */\n\t\tthis._speed = null;\n\n\t\t/**\n\t\t * Coordinates of all items in pixel.\n\t\t * @todo The name of this member is missleading.\n\t\t * @protected\n\t\t */\n\t\tthis._coordinates = [];\n\n\t\t/**\n\t\t * Current breakpoint.\n\t\t * @todo Real media queries would be nice.\n\t\t * @protected\n\t\t */\n\t\tthis._breakpoint = null;\n\n\t\t/**\n\t\t * Current width of the plugin element.\n\t\t */\n\t\tthis._width = null;\n\n\t\t/**\n\t\t * All real items.\n\t\t * @protected\n\t\t */\n\t\tthis._items = [];\n\n\t\t/**\n\t\t * All cloned items.\n\t\t * @protected\n\t\t */\n\t\tthis._clones = [];\n\n\t\t/**\n\t\t * Merge values of all items.\n\t\t * @todo Maybe this could be part of a plugin.\n\t\t * @protected\n\t\t */\n\t\tthis._mergers = [];\n\n\t\t/**\n\t\t * Widths of all items.\n\t\t */\n\t\tthis._widths = [];\n\n\t\t/**\n\t\t * Invalidated parts within the update process.\n\t\t * @protected\n\t\t */\n\t\tthis._invalidated = {};\n\n\t\t/**\n\t\t * Ordered list of workers for the update process.\n\t\t * @protected\n\t\t */\n\t\tthis._pipe = [];\n\n\t\t/**\n\t\t * Current state information for the drag operation.\n\t\t * @todo #261\n\t\t * @protected\n\t\t */\n\t\tthis._drag = {\n\t\t\ttime: null,\n\t\t\ttarget: null,\n\t\t\tpointer: null,\n\t\t\tstage: {\n\t\t\t\tstart: null,\n\t\t\t\tcurrent: null\n\t\t\t},\n\t\t\tdirection: null\n\t\t};\n\n\t\t/**\n\t\t * Current state information and their tags.\n\t\t * @type {Object}\n\t\t * @protected\n\t\t */\n\t\tthis._states = {\n\t\t\tcurrent: {},\n\t\t\ttags: {\n\t\t\t\t'initializing': [ 'busy' ],\n\t\t\t\t'animating': [ 'busy' ],\n\t\t\t\t'dragging': [ 'interacting' ]\n\t\t\t}\n\t\t};\n\n\t\t$.each([ 'onResize', 'onThrottledResize' ], $.proxy(function(i, handler) {\n\t\t\tthis._handlers[handler] = $.proxy(this[handler], this);\n\t\t}, this));\n\n\t\t$.each(Owl.Plugins, $.proxy(function(key, plugin) {\n\t\t\tthis._plugins[key.charAt(0).toLowerCase() + key.slice(1)]\n\t\t\t\t= new plugin(this);\n\t\t}, this));\n\n\t\t$.each(Owl.Workers, $.proxy(function(priority, worker) {\n\t\t\tthis._pipe.push({\n\t\t\t\t'filter': worker.filter,\n\t\t\t\t'run': $.proxy(worker.run, this)\n\t\t\t});\n\t\t}, this));\n\n\t\tthis.setup();\n\t\tthis.initialize();\n\t}\n\n\t/**\n\t * Default options for the carousel.\n\t * @public\n\t */\n\tOwl.Defaults = {\n\t\titems: 3,\n\t\tloop: false,\n\t\tcenter: false,\n\t\trewind: false,\n\t\tcheckVisibility: true,\n\n\t\tmouseDrag: true,\n\t\ttouchDrag: true,\n\t\tpullDrag: true,\n\t\tfreeDrag: false,\n\n\t\tmargin: 0,\n\t\tstagePadding: 0,\n\n\t\tmerge: false,\n\t\tmergeFit: true,\n\t\tautoWidth: false,\n\n\t\tstartPosition: 0,\n\t\trtl: false,\n\n\t\tsmartSpeed: 250,\n\t\tfluidSpeed: false,\n\t\tdragEndSpeed: false,\n\n\t\tresponsive: {},\n\t\tresponsiveRefreshRate: 200,\n\t\tresponsiveBaseElement: window,\n\n\t\tfallbackEasing: 'swing',\n\t\tslideTransition: '',\n\n\t\tinfo: false,\n\n\t\tnestedItemSelector: false,\n\t\titemElement: 'div',\n\t\tstageElement: 'div',\n\n\t\trefreshClass: 'owl-refresh',\n\t\tloadedClass: 'owl-loaded',\n\t\tloadingClass: 'owl-loading',\n\t\trtlClass: 'owl-rtl',\n\t\tresponsiveClass: 'owl-responsive',\n\t\tdragClass: 'owl-drag',\n\t\titemClass: 'owl-item',\n\t\tstageClass: 'owl-stage',\n\t\tstageOuterClass: 'owl-stage-outer',\n\t\tgrabClass: 'owl-grab'\n\t};\n\n\t/**\n\t * Enumeration for width.\n\t * @public\n\t * @readonly\n\t * @enum {String}\n\t */\n\tOwl.Width = {\n\t\tDefault: 'default',\n\t\tInner: 'inner',\n\t\tOuter: 'outer'\n\t};\n\n\t/**\n\t * Enumeration for types.\n\t * @public\n\t * @readonly\n\t * @enum {String}\n\t */\n\tOwl.Type = {\n\t\tEvent: 'event',\n\t\tState: 'state'\n\t};\n\n\t/**\n\t * Contains all registered plugins.\n\t * @public\n\t */\n\tOwl.Plugins = {};\n\n\t/**\n\t * List of workers involved in the update process.\n\t */\n\tOwl.Workers = [ {\n\t\tfilter: [ 'width', 'settings' ],\n\t\trun: function() {\n\t\t\tthis._width = this.$element.width();\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function(cache) {\n\t\t\tcache.current = this._items && this._items[this.relative(this._current)];\n\t\t}\n\t}, {\n\t\tfilter: [ 'items', 'settings' ],\n\t\trun: function() {\n\t\t\tthis.$stage.children('.cloned').remove();\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function(cache) {\n\t\t\tvar margin = this.settings.margin || '',\n\t\t\t\tgrid = !this.settings.autoWidth,\n\t\t\t\trtl = this.settings.rtl,\n\t\t\t\tcss = {\n\t\t\t\t\t'width': 'auto',\n\t\t\t\t\t'margin-left': rtl ? margin : '',\n\t\t\t\t\t'margin-right': rtl ? '' : margin\n\t\t\t\t};\n\n\t\t\t!grid && this.$stage.children().css(css);\n\n\t\t\tcache.css = css;\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function(cache) {\n\t\t\tvar width = (this.width() / this.settings.items).toFixed(3) - this.settings.margin,\n\t\t\t\tmerge = null,\n\t\t\t\titerator = this._items.length,\n\t\t\t\tgrid = !this.settings.autoWidth,\n\t\t\t\twidths = [];\n\n\t\t\tcache.items = {\n\t\t\t\tmerge: false,\n\t\t\t\twidth: width\n\t\t\t};\n\n\t\t\twhile (iterator--) {\n\t\t\t\tmerge = this._mergers[iterator];\n\t\t\t\tmerge = this.settings.mergeFit && Math.min(merge, this.settings.items) || merge;\n\n\t\t\t\tcache.items.merge = merge > 1 || cache.items.merge;\n\n\t\t\t\twidths[iterator] = !grid ? this._items[iterator].width() : width * merge;\n\t\t\t}\n\n\t\t\tthis._widths = widths;\n\t\t}\n\t}, {\n\t\tfilter: [ 'items', 'settings' ],\n\t\trun: function() {\n\t\t\tvar clones = [],\n\t\t\t\titems = this._items,\n\t\t\t\tsettings = this.settings,\n\t\t\t\t// TODO: Should be computed from number of min width items in stage\n\t\t\t\tview = Math.max(settings.items * 2, 4),\n\t\t\t\tsize = Math.ceil(items.length / 2) * 2,\n\t\t\t\trepeat = settings.loop && items.length ? settings.rewind ? view : Math.max(view, size) : 0,\n\t\t\t\tappend = '',\n\t\t\t\tprepend = '';\n\n\t\t\trepeat /= 2;\n\n\t\t\twhile (repeat > 0) {\n\t\t\t\t// Switch to only using appended clones\n\t\t\t\tclones.push(this.normalize(clones.length / 2, true));\n\t\t\t\tappend = append + items[clones[clones.length - 1]][0].outerHTML;\n\t\t\t\tclones.push(this.normalize(items.length - 1 - (clones.length - 1) / 2, true));\n\t\t\t\tprepend = items[clones[clones.length - 1]][0].outerHTML + prepend;\n\t\t\t\trepeat -= 1;\n\t\t\t}\n\n\t\t\tthis._clones = clones;\n\n\t\t\t$(append).addClass('cloned').appendTo(this.$stage);\n\t\t\t$(prepend).addClass('cloned').prependTo(this.$stage);\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function() {\n\t\t\tvar rtl = this.settings.rtl ? 1 : -1,\n\t\t\t\tsize = this._clones.length + this._items.length,\n\t\t\t\titerator = -1,\n\t\t\t\tprevious = 0,\n\t\t\t\tcurrent = 0,\n\t\t\t\tcoordinates = [];\n\n\t\t\twhile (++iterator < size) {\n\t\t\t\tprevious = coordinates[iterator - 1] || 0;\n\t\t\t\tcurrent = this._widths[this.relative(iterator)] + this.settings.margin;\n\t\t\t\tcoordinates.push(previous + current * rtl);\n\t\t\t}\n\n\t\t\tthis._coordinates = coordinates;\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function() {\n\t\t\tvar padding = this.settings.stagePadding,\n\t\t\t\tcoordinates = this._coordinates,\n\t\t\t\tcss = {\n\t\t\t\t\t'width': Math.ceil(Math.abs(coordinates[coordinates.length - 1])) + padding * 2,\n\t\t\t\t\t'padding-left': padding || '',\n\t\t\t\t\t'padding-right': padding || ''\n\t\t\t\t};\n\n\t\t\tthis.$stage.css(css);\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function(cache) {\n\t\t\tvar iterator = this._coordinates.length,\n\t\t\t\tgrid = !this.settings.autoWidth,\n\t\t\t\titems = this.$stage.children();\n\n\t\t\tif (grid && cache.items.merge) {\n\t\t\t\twhile (iterator--) {\n\t\t\t\t\tcache.css.width = this._widths[this.relative(iterator)];\n\t\t\t\t\titems.eq(iterator).css(cache.css);\n\t\t\t\t}\n\t\t\t} else if (grid) {\n\t\t\t\tcache.css.width = cache.items.width;\n\t\t\t\titems.css(cache.css);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tfilter: [ 'items' ],\n\t\trun: function() {\n\t\t\tthis._coordinates.length < 1 && this.$stage.removeAttr('style');\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'items', 'settings' ],\n\t\trun: function(cache) {\n\t\t\tcache.current = cache.current ? this.$stage.children().index(cache.current) : 0;\n\t\t\tcache.current = Math.max(this.minimum(), Math.min(this.maximum(), cache.current));\n\t\t\tthis.reset(cache.current);\n\t\t}\n\t}, {\n\t\tfilter: [ 'position' ],\n\t\trun: function() {\n\t\t\tthis.animate(this.coordinates(this._current));\n\t\t}\n\t}, {\n\t\tfilter: [ 'width', 'position', 'items', 'settings' ],\n\t\trun: function() {\n\t\t\tvar rtl = this.settings.rtl ? 1 : -1,\n\t\t\t\tpadding = this.settings.stagePadding * 2,\n\t\t\t\tbegin = this.coordinates(this.current()) + padding,\n\t\t\t\tend = begin + this.width() * rtl,\n\t\t\t\tinner, outer, matches = [], i, n;\n\n\t\t\tfor (i = 0, n = this._coordinates.length; i < n; i++) {\n\t\t\t\tinner = this._coordinates[i - 1] || 0;\n\t\t\t\touter = Math.abs(this._coordinates[i]) + padding * rtl;\n\n\t\t\t\tif ((this.op(inner, '<=', begin) && (this.op(inner, '>', end)))\n\t\t\t\t\t|| (this.op(outer, '<', begin) && this.op(outer, '>', end))) {\n\t\t\t\t\tmatches.push(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.$stage.children('.active').removeClass('active');\n\t\t\tthis.$stage.children(':eq(' + matches.join('), :eq(') + ')').addClass('active');\n\n\t\t\tthis.$stage.children('.center').removeClass('center');\n\t\t\tif (this.settings.center) {\n\t\t\t\tthis.$stage.children().eq(this.current()).addClass('center');\n\t\t\t}\n\t\t}\n\t} ];\n\n\t/**\n\t * Create the stage DOM element\n\t */\n\tOwl.prototype.initializeStage = function() {\n\t\tthis.$stage = this.$element.find('.' + this.settings.stageClass);\n\n\t\t// if the stage is already in the DOM, grab it and skip stage initialization\n\t\tif (this.$stage.length) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.$element.addClass(this.options.loadingClass);\n\n\t\t// create stage\n\t\tthis.$stage = $('<' + this.settings.stageElement + '>', {\n\t\t\t\"class\": this.settings.stageClass\n\t\t}).wrap( $( '
', {\n\t\t\t\"class\": this.settings.stageOuterClass\n\t\t}));\n\n\t\t// append stage\n\t\tthis.$element.append(this.$stage.parent());\n\t};\n\n\t/**\n\t * Create item DOM elements\n\t */\n\tOwl.prototype.initializeItems = function() {\n\t\tvar $items = this.$element.find('.owl-item');\n\n\t\t// if the items are already in the DOM, grab them and skip item initialization\n\t\tif ($items.length) {\n\t\t\tthis._items = $items.get().map(function(item) {\n\t\t\t\treturn $(item);\n\t\t\t});\n\n\t\t\tthis._mergers = this._items.map(function() {\n\t\t\t\treturn 1;\n\t\t\t});\n\n\t\t\tthis.refresh();\n\n\t\t\treturn;\n\t\t}\n\n\t\t// append content\n\t\tthis.replace(this.$element.children().not(this.$stage.parent()));\n\n\t\t// check visibility\n\t\tif (this.isVisible()) {\n\t\t\t// update view\n\t\t\tthis.refresh();\n\t\t} else {\n\t\t\t// invalidate width\n\t\t\tthis.invalidate('width');\n\t\t}\n\n\t\tthis.$element\n\t\t\t.removeClass(this.options.loadingClass)\n\t\t\t.addClass(this.options.loadedClass);\n\t};\n\n\t/**\n\t * Initializes the carousel.\n\t * @protected\n\t */\n\tOwl.prototype.initialize = function() {\n\t\tthis.enter('initializing');\n\t\tthis.trigger('initialize');\n\n\t\tthis.$element.toggleClass(this.settings.rtlClass, this.settings.rtl);\n\n\t\tif (this.settings.autoWidth && !this.is('pre-loading')) {\n\t\t\tvar imgs, nestedSelector, width;\n\t\t\timgs = this.$element.find('img');\n\t\t\tnestedSelector = this.settings.nestedItemSelector ? '.' + this.settings.nestedItemSelector : undefined;\n\t\t\twidth = this.$element.children(nestedSelector).width();\n\n\t\t\tif (imgs.length && width <= 0) {\n\t\t\t\tthis.preloadAutoWidthImages(imgs);\n\t\t\t}\n\t\t}\n\n\t\tthis.initializeStage();\n\t\tthis.initializeItems();\n\n\t\t// register event handlers\n\t\tthis.registerEventHandlers();\n\n\t\tthis.leave('initializing');\n\t\tthis.trigger('initialized');\n\t};\n\n\t/**\n\t * @returns {Boolean} visibility of $element\n\t * if you know the carousel will always be visible you can set `checkVisibility` to `false` to\n\t * prevent the expensive browser layout forced reflow the $element.is(':visible') does\n\t */\n\tOwl.prototype.isVisible = function() {\n\t\treturn this.settings.checkVisibility\n\t\t\t? this.$element.is(':visible')\n\t\t\t: true;\n\t};\n\n\t/**\n\t * Setups the current settings.\n\t * @todo Remove responsive classes. Why should adaptive designs be brought into IE8?\n\t * @todo Support for media queries by using `matchMedia` would be nice.\n\t * @public\n\t */\n\tOwl.prototype.setup = function() {\n\t\tvar viewport = this.viewport(),\n\t\t\toverwrites = this.options.responsive,\n\t\t\tmatch = -1,\n\t\t\tsettings = null;\n\n\t\tif (!overwrites) {\n\t\t\tsettings = $.extend({}, this.options);\n\t\t} else {\n\t\t\t$.each(overwrites, function(breakpoint) {\n\t\t\t\tif (breakpoint <= viewport && breakpoint > match) {\n\t\t\t\t\tmatch = Number(breakpoint);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tsettings = $.extend({}, this.options, overwrites[match]);\n\t\t\tif (typeof settings.stagePadding === 'function') {\n\t\t\t\tsettings.stagePadding = settings.stagePadding();\n\t\t\t}\n\t\t\tdelete settings.responsive;\n\n\t\t\t// responsive class\n\t\t\tif (settings.responsiveClass) {\n\t\t\t\tthis.$element.attr('class',\n\t\t\t\t\tthis.$element.attr('class').replace(new RegExp('(' + this.options.responsiveClass + '-)\\\\S+\\\\s', 'g'), '$1' + match)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\tthis.trigger('change', { property: { name: 'settings', value: settings } });\n\t\tthis._breakpoint = match;\n\t\tthis.settings = settings;\n\t\tthis.invalidate('settings');\n\t\tthis.trigger('changed', { property: { name: 'settings', value: this.settings } });\n\t};\n\n\t/**\n\t * Updates option logic if necessery.\n\t * @protected\n\t */\n\tOwl.prototype.optionsLogic = function() {\n\t\tif (this.settings.autoWidth) {\n\t\t\tthis.settings.stagePadding = false;\n\t\t\tthis.settings.merge = false;\n\t\t}\n\t};\n\n\t/**\n\t * Prepares an item before add.\n\t * @todo Rename event parameter `content` to `item`.\n\t * @protected\n\t * @returns {jQuery|HTMLElement} - The item container.\n\t */\n\tOwl.prototype.prepare = function(item) {\n\t\tvar event = this.trigger('prepare', { content: item });\n\n\t\tif (!event.data) {\n\t\t\tevent.data = $('<' + this.settings.itemElement + '/>')\n\t\t\t\t.addClass(this.options.itemClass).append(item)\n\t\t}\n\n\t\tthis.trigger('prepared', { content: event.data });\n\n\t\treturn event.data;\n\t};\n\n\t/**\n\t * Updates the view.\n\t * @public\n\t */\n\tOwl.prototype.update = function() {\n\t\tvar i = 0,\n\t\t\tn = this._pipe.length,\n\t\t\tfilter = $.proxy(function(p) { return this[p] }, this._invalidated),\n\t\t\tcache = {};\n\n\t\twhile (i < n) {\n\t\t\tif (this._invalidated.all || $.grep(this._pipe[i].filter, filter).length > 0) {\n\t\t\t\tthis._pipe[i].run(cache);\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t\tthis._invalidated = {};\n\n\t\t!this.is('valid') && this.enter('valid');\n\t};\n\n\t/**\n\t * Gets the width of the view.\n\t * @public\n\t * @param {Owl.Width} [dimension=Owl.Width.Default] - The dimension to return.\n\t * @returns {Number} - The width of the view in pixel.\n\t */\n\tOwl.prototype.width = function(dimension) {\n\t\tdimension = dimension || Owl.Width.Default;\n\t\tswitch (dimension) {\n\t\t\tcase Owl.Width.Inner:\n\t\t\tcase Owl.Width.Outer:\n\t\t\t\treturn this._width;\n\t\t\tdefault:\n\t\t\t\treturn this._width - this.settings.stagePadding * 2 + this.settings.margin;\n\t\t}\n\t};\n\n\t/**\n\t * Refreshes the carousel primarily for adaptive purposes.\n\t * @public\n\t */\n\tOwl.prototype.refresh = function() {\n\t\tthis.enter('refreshing');\n\t\tthis.trigger('refresh');\n\n\t\tthis.setup();\n\n\t\tthis.optionsLogic();\n\n\t\tthis.$element.addClass(this.options.refreshClass);\n\n\t\tthis.update();\n\n\t\tthis.$element.removeClass(this.options.refreshClass);\n\n\t\tthis.leave('refreshing');\n\t\tthis.trigger('refreshed');\n\t};\n\n\t/**\n\t * Checks window `resize` event.\n\t * @protected\n\t */\n\tOwl.prototype.onThrottledResize = function() {\n\t\twindow.clearTimeout(this.resizeTimer);\n\t\tthis.resizeTimer = window.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate);\n\t};\n\n\t/**\n\t * Checks window `resize` event.\n\t * @protected\n\t */\n\tOwl.prototype.onResize = function() {\n\t\tif (!this._items.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (this._width === this.$element.width()) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (!this.isVisible()) {\n\t\t\treturn false;\n\t\t}\n\n\t\tthis.enter('resizing');\n\n\t\tif (this.trigger('resize').isDefaultPrevented()) {\n\t\t\tthis.leave('resizing');\n\t\t\treturn false;\n\t\t}\n\n\t\tthis.invalidate('width');\n\n\t\tthis.refresh();\n\n\t\tthis.leave('resizing');\n\t\tthis.trigger('resized');\n\t};\n\n\t/**\n\t * Registers event handlers.\n\t * @todo Check `msPointerEnabled`\n\t * @todo #261\n\t * @protected\n\t */\n\tOwl.prototype.registerEventHandlers = function() {\n\t\tif ($.support.transition) {\n\t\t\tthis.$stage.on($.support.transition.end + '.owl.core', $.proxy(this.onTransitionEnd, this));\n\t\t}\n\n\t\tif (this.settings.responsive !== false) {\n\t\t\tthis.on(window, 'resize', this._handlers.onThrottledResize);\n\t\t}\n\n\t\tif (this.settings.mouseDrag) {\n\t\t\tthis.$element.addClass(this.options.dragClass);\n\t\t\tthis.$stage.on('mousedown.owl.core', $.proxy(this.onDragStart, this));\n\t\t\tthis.$stage.on('dragstart.owl.core selectstart.owl.core', function() { return false });\n\t\t}\n\n\t\tif (this.settings.touchDrag){\n\t\t\tthis.$stage.on('touchstart.owl.core', $.proxy(this.onDragStart, this));\n\t\t\tthis.$stage.on('touchcancel.owl.core', $.proxy(this.onDragEnd, this));\n\t\t}\n\t};\n\n\t/**\n\t * Handles `touchstart` and `mousedown` events.\n\t * @todo Horizontal swipe threshold as option\n\t * @todo #261\n\t * @protected\n\t * @param {Event} event - The event arguments.\n\t */\n\tOwl.prototype.onDragStart = function(event) {\n\t\tvar stage = null;\n\n\t\tif (event.which === 3) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ($.support.transform) {\n\t\t\tstage = this.$stage.css('transform').replace(/.*\\(|\\)| /g, '').split(',');\n\t\t\tstage = {\n\t\t\t\tx: stage[stage.length === 16 ? 12 : 4],\n\t\t\t\ty: stage[stage.length === 16 ? 13 : 5]\n\t\t\t};\n\t\t} else {\n\t\t\tstage = this.$stage.position();\n\t\t\tstage = {\n\t\t\t\tx: this.settings.rtl ?\n\t\t\t\t\tstage.left + this.$stage.width() - this.width() + this.settings.margin :\n\t\t\t\t\tstage.left,\n\t\t\t\ty: stage.top\n\t\t\t};\n\t\t}\n\n\t\tif (this.is('animating')) {\n\t\t\t$.support.transform ? this.animate(stage.x) : this.$stage.stop()\n\t\t\tthis.invalidate('position');\n\t\t}\n\n\t\tthis.$element.toggleClass(this.options.grabClass, event.type === 'mousedown');\n\n\t\tthis.speed(0);\n\n\t\tthis._drag.time = new Date().getTime();\n\t\tthis._drag.target = $(event.target);\n\t\tthis._drag.stage.start = stage;\n\t\tthis._drag.stage.current = stage;\n\t\tthis._drag.pointer = this.pointer(event);\n\n\t\t$(document).on('mouseup.owl.core touchend.owl.core', $.proxy(this.onDragEnd, this));\n\n\t\t$(document).one('mousemove.owl.core touchmove.owl.core', $.proxy(function(event) {\n\t\t\tvar delta = this.difference(this._drag.pointer, this.pointer(event));\n\n\t\t\t$(document).on('mousemove.owl.core touchmove.owl.core', $.proxy(this.onDragMove, this));\n\n\t\t\tif (Math.abs(delta.x) < Math.abs(delta.y) && this.is('valid')) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tevent.preventDefault();\n\n\t\t\tthis.enter('dragging');\n\t\t\tthis.trigger('drag');\n\t\t}, this));\n\t};\n\n\t/**\n\t * Handles the `touchmove` and `mousemove` events.\n\t * @todo #261\n\t * @protected\n\t * @param {Event} event - The event arguments.\n\t */\n\tOwl.prototype.onDragMove = function(event) {\n\t\tvar minimum = null,\n\t\t\tmaximum = null,\n\t\t\tpull = null,\n\t\t\tdelta = this.difference(this._drag.pointer, this.pointer(event)),\n\t\t\tstage = this.difference(this._drag.stage.start, delta);\n\n\t\tif (!this.is('dragging')) {\n\t\t\treturn;\n\t\t}\n\n\t\tevent.preventDefault();\n\n\t\tif (this.settings.loop) {\n\t\t\tminimum = this.coordinates(this.minimum());\n\t\t\tmaximum = this.coordinates(this.maximum() + 1) - minimum;\n\t\t\tstage.x = (((stage.x - minimum) % maximum + maximum) % maximum) + minimum;\n\t\t} else {\n\t\t\tminimum = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum());\n\t\t\tmaximum = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum());\n\t\t\tpull = this.settings.pullDrag ? -1 * delta.x / 5 : 0;\n\t\t\tstage.x = Math.max(Math.min(stage.x, minimum + pull), maximum + pull);\n\t\t}\n\n\t\tthis._drag.stage.current = stage;\n\n\t\tthis.animate(stage.x);\n\t};\n\n\t/**\n\t * Handles the `touchend` and `mouseup` events.\n\t * @todo #261\n\t * @todo Threshold for click event\n\t * @protected\n\t * @param {Event} event - The event arguments.\n\t */\n\tOwl.prototype.onDragEnd = function(event) {\n\t\tvar delta = this.difference(this._drag.pointer, this.pointer(event)),\n\t\t\tstage = this._drag.stage.current,\n\t\t\tdirection = delta.x > 0 ^ this.settings.rtl ? 'left' : 'right';\n\n\t\t$(document).off('.owl.core');\n\n\t\tthis.$element.removeClass(this.options.grabClass);\n\n\t\tif (delta.x !== 0 && this.is('dragging') || !this.is('valid')) {\n\t\t\tthis.speed(this.settings.dragEndSpeed || this.settings.smartSpeed);\n\t\t\tthis.current(this.closest(stage.x, delta.x !== 0 ? direction : this._drag.direction));\n\t\t\tthis.invalidate('position');\n\t\t\tthis.update();\n\n\t\t\tthis._drag.direction = direction;\n\n\t\t\tif (Math.abs(delta.x) > 3 || new Date().getTime() - this._drag.time > 300) {\n\t\t\t\tthis._drag.target.one('click.owl.core', function() { return false; });\n\t\t\t}\n\t\t}\n\n\t\tif (!this.is('dragging')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.leave('dragging');\n\t\tthis.trigger('dragged');\n\t};\n\n\t/**\n\t * Gets absolute position of the closest item for a coordinate.\n\t * @todo Setting `freeDrag` makes `closest` not reusable. See #165.\n\t * @protected\n\t * @param {Number} coordinate - The coordinate in pixel.\n\t * @param {String} direction - The direction to check for the closest item. Ether `left` or `right`.\n\t * @return {Number} - The absolute position of the closest item.\n\t */\n\tOwl.prototype.closest = function(coordinate, direction) {\n\t\tvar position = -1,\n\t\t\tpull = 30,\n\t\t\twidth = this.width(),\n\t\t\tcoordinates = this.coordinates();\n\n\t\tif (!this.settings.freeDrag) {\n\t\t\t// check closest item\n\t\t\t$.each(coordinates, $.proxy(function(index, value) {\n\t\t\t\t// on a left pull, check on current index\n\t\t\t\tif (direction === 'left' && coordinate > value - pull && coordinate < value + pull) {\n\t\t\t\t\tposition = index;\n\t\t\t\t// on a right pull, check on previous index\n\t\t\t\t// to do so, subtract width from value and set position = index + 1\n\t\t\t\t} else if (direction === 'right' && coordinate > value - width - pull && coordinate < value - width + pull) {\n\t\t\t\t\tposition = index + 1;\n\t\t\t\t} else if (this.op(coordinate, '<', value)\n\t\t\t\t\t&& this.op(coordinate, '>', coordinates[index + 1] !== undefined ? coordinates[index + 1] : value - width)) {\n\t\t\t\t\tposition = direction === 'left' ? index + 1 : index;\n\t\t\t\t}\n\t\t\t\treturn position === -1;\n\t\t\t}, this));\n\t\t}\n\n\t\tif (!this.settings.loop) {\n\t\t\t// non loop boundries\n\t\t\tif (this.op(coordinate, '>', coordinates[this.minimum()])) {\n\t\t\t\tposition = coordinate = this.minimum();\n\t\t\t} else if (this.op(coordinate, '<', coordinates[this.maximum()])) {\n\t\t\t\tposition = coordinate = this.maximum();\n\t\t\t}\n\t\t}\n\n\t\treturn position;\n\t};\n\n\t/**\n\t * Animates the stage.\n\t * @todo #270\n\t * @public\n\t * @param {Number} coordinate - The coordinate in pixels.\n\t */\n\tOwl.prototype.animate = function(coordinate) {\n\t\tvar animate = this.speed() > 0;\n\n\t\tthis.is('animating') && this.onTransitionEnd();\n\n\t\tif (animate) {\n\t\t\tthis.enter('animating');\n\t\t\tthis.trigger('translate');\n\t\t}\n\n\t\tif ($.support.transform3d && $.support.transition) {\n\t\t\tthis.$stage.css({\n\t\t\t\ttransform: 'translate3d(' + coordinate + 'px,0px,0px)',\n\t\t\t\ttransition: (this.speed() / 1000) + 's' + (\n\t\t\t\t\tthis.settings.slideTransition ? ' ' + this.settings.slideTransition : ''\n\t\t\t\t)\n\t\t\t});\n\t\t} else if (animate) {\n\t\t\tthis.$stage.animate({\n\t\t\t\tleft: coordinate + 'px'\n\t\t\t}, this.speed(), this.settings.fallbackEasing, $.proxy(this.onTransitionEnd, this));\n\t\t} else {\n\t\t\tthis.$stage.css({\n\t\t\t\tleft: coordinate + 'px'\n\t\t\t});\n\t\t}\n\t};\n\n\t/**\n\t * Checks whether the carousel is in a specific state or not.\n\t * @param {String} state - The state to check.\n\t * @returns {Boolean} - The flag which indicates if the carousel is busy.\n\t */\n\tOwl.prototype.is = function(state) {\n\t\treturn this._states.current[state] && this._states.current[state] > 0;\n\t};\n\n\t/**\n\t * Sets the absolute position of the current item.\n\t * @public\n\t * @param {Number} [position] - The new absolute position or nothing to leave it unchanged.\n\t * @returns {Number} - The absolute position of the current item.\n\t */\n\tOwl.prototype.current = function(position) {\n\t\tif (position === undefined) {\n\t\t\treturn this._current;\n\t\t}\n\n\t\tif (this._items.length === 0) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tposition = this.normalize(position);\n\n\t\tif (this._current !== position) {\n\t\t\tvar event = this.trigger('change', { property: { name: 'position', value: position } });\n\n\t\t\tif (event.data !== undefined) {\n\t\t\t\tposition = this.normalize(event.data);\n\t\t\t}\n\n\t\t\tthis._current = position;\n\n\t\t\tthis.invalidate('position');\n\n\t\t\tthis.trigger('changed', { property: { name: 'position', value: this._current } });\n\t\t}\n\n\t\treturn this._current;\n\t};\n\n\t/**\n\t * Invalidates the given part of the update routine.\n\t * @param {String} [part] - The part to invalidate.\n\t * @returns {Array.} - The invalidated parts.\n\t */\n\tOwl.prototype.invalidate = function(part) {\n\t\tif ($.type(part) === 'string') {\n\t\t\tthis._invalidated[part] = true;\n\t\t\tthis.is('valid') && this.leave('valid');\n\t\t}\n\t\treturn $.map(this._invalidated, function(v, i) { return i });\n\t};\n\n\t/**\n\t * Resets the absolute position of the current item.\n\t * @public\n\t * @param {Number} position - The absolute position of the new item.\n\t */\n\tOwl.prototype.reset = function(position) {\n\t\tposition = this.normalize(position);\n\n\t\tif (position === undefined) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._speed = 0;\n\t\tthis._current = position;\n\n\t\tthis.suppress([ 'translate', 'translated' ]);\n\n\t\tthis.animate(this.coordinates(position));\n\n\t\tthis.release([ 'translate', 'translated' ]);\n\t};\n\n\t/**\n\t * Normalizes an absolute or a relative position of an item.\n\t * @public\n\t * @param {Number} position - The absolute or relative position to normalize.\n\t * @param {Boolean} [relative=false] - Whether the given position is relative or not.\n\t * @returns {Number} - The normalized position.\n\t */\n\tOwl.prototype.normalize = function(position, relative) {\n\t\tvar n = this._items.length,\n\t\t\tm = relative ? 0 : this._clones.length;\n\n\t\tif (!this.isNumeric(position) || n < 1) {\n\t\t\tposition = undefined;\n\t\t} else if (position < 0 || position >= n + m) {\n\t\t\tposition = ((position - m / 2) % n + n) % n + m / 2;\n\t\t}\n\n\t\treturn position;\n\t};\n\n\t/**\n\t * Converts an absolute position of an item into a relative one.\n\t * @public\n\t * @param {Number} position - The absolute position to convert.\n\t * @returns {Number} - The converted position.\n\t */\n\tOwl.prototype.relative = function(position) {\n\t\tposition -= this._clones.length / 2;\n\t\treturn this.normalize(position, true);\n\t};\n\n\t/**\n\t * Gets the maximum position for the current item.\n\t * @public\n\t * @param {Boolean} [relative=false] - Whether to return an absolute position or a relative position.\n\t * @returns {Number}\n\t */\n\tOwl.prototype.maximum = function(relative) {\n\t\tvar settings = this.settings,\n\t\t\tmaximum = this._coordinates.length,\n\t\t\titerator,\n\t\t\treciprocalItemsWidth,\n\t\t\telementWidth;\n\n\t\tif (settings.loop) {\n\t\t\tmaximum = this._clones.length / 2 + this._items.length - 1;\n\t\t} else if (settings.autoWidth || settings.merge) {\n\t\t\titerator = this._items.length;\n\t\t\tif (iterator) {\n\t\t\t\treciprocalItemsWidth = this._items[--iterator].width();\n\t\t\t\telementWidth = this.$element.width();\n\t\t\t\twhile (iterator--) {\n\t\t\t\t\treciprocalItemsWidth += this._items[iterator].width() + this.settings.margin;\n\t\t\t\t\tif (reciprocalItemsWidth > elementWidth) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tmaximum = iterator + 1;\n\t\t} else if (settings.center) {\n\t\t\tmaximum = this._items.length - 1;\n\t\t} else {\n\t\t\tmaximum = this._items.length - settings.items;\n\t\t}\n\n\t\tif (relative) {\n\t\t\tmaximum -= this._clones.length / 2;\n\t\t}\n\n\t\treturn Math.max(maximum, 0);\n\t};\n\n\t/**\n\t * Gets the minimum position for the current item.\n\t * @public\n\t * @param {Boolean} [relative=false] - Whether to return an absolute position or a relative position.\n\t * @returns {Number}\n\t */\n\tOwl.prototype.minimum = function(relative) {\n\t\treturn relative ? 0 : this._clones.length / 2;\n\t};\n\n\t/**\n\t * Gets an item at the specified relative position.\n\t * @public\n\t * @param {Number} [position] - The relative position of the item.\n\t * @return {jQuery|Array.} - The item at the given position or all items if no position was given.\n\t */\n\tOwl.prototype.items = function(position) {\n\t\tif (position === undefined) {\n\t\t\treturn this._items.slice();\n\t\t}\n\n\t\tposition = this.normalize(position, true);\n\t\treturn this._items[position];\n\t};\n\n\t/**\n\t * Gets an item at the specified relative position.\n\t * @public\n\t * @param {Number} [position] - The relative position of the item.\n\t * @return {jQuery|Array.} - The item at the given position or all items if no position was given.\n\t */\n\tOwl.prototype.mergers = function(position) {\n\t\tif (position === undefined) {\n\t\t\treturn this._mergers.slice();\n\t\t}\n\n\t\tposition = this.normalize(position, true);\n\t\treturn this._mergers[position];\n\t};\n\n\t/**\n\t * Gets the absolute positions of clones for an item.\n\t * @public\n\t * @param {Number} [position] - The relative position of the item.\n\t * @returns {Array.} - The absolute positions of clones for the item or all if no position was given.\n\t */\n\tOwl.prototype.clones = function(position) {\n\t\tvar odd = this._clones.length / 2,\n\t\t\teven = odd + this._items.length,\n\t\t\tmap = function(index) { return index % 2 === 0 ? even + index / 2 : odd - (index + 1) / 2 };\n\n\t\tif (position === undefined) {\n\t\t\treturn $.map(this._clones, function(v, i) { return map(i) });\n\t\t}\n\n\t\treturn $.map(this._clones, function(v, i) { return v === position ? map(i) : null });\n\t};\n\n\t/**\n\t * Sets the current animation speed.\n\t * @public\n\t * @param {Number} [speed] - The animation speed in milliseconds or nothing to leave it unchanged.\n\t * @returns {Number} - The current animation speed in milliseconds.\n\t */\n\tOwl.prototype.speed = function(speed) {\n\t\tif (speed !== undefined) {\n\t\t\tthis._speed = speed;\n\t\t}\n\n\t\treturn this._speed;\n\t};\n\n\t/**\n\t * Gets the coordinate of an item.\n\t * @todo The name of this method is missleanding.\n\t * @public\n\t * @param {Number} position - The absolute position of the item within `minimum()` and `maximum()`.\n\t * @returns {Number|Array.} - The coordinate of the item in pixel or all coordinates.\n\t */\n\tOwl.prototype.coordinates = function(position) {\n\t\tvar multiplier = 1,\n\t\t\tnewPosition = position - 1,\n\t\t\tcoordinate;\n\n\t\tif (position === undefined) {\n\t\t\treturn $.map(this._coordinates, $.proxy(function(coordinate, index) {\n\t\t\t\treturn this.coordinates(index);\n\t\t\t}, this));\n\t\t}\n\n\t\tif (this.settings.center) {\n\t\t\tif (this.settings.rtl) {\n\t\t\t\tmultiplier = -1;\n\t\t\t\tnewPosition = position + 1;\n\t\t\t}\n\n\t\t\tcoordinate = this._coordinates[position];\n\t\t\tcoordinate += (this.width() - coordinate + (this._coordinates[newPosition] || 0)) / 2 * multiplier;\n\t\t} else {\n\t\t\tcoordinate = this._coordinates[newPosition] || 0;\n\t\t}\n\n\t\tcoordinate = Math.ceil(coordinate);\n\n\t\treturn coordinate;\n\t};\n\n\t/**\n\t * Calculates the speed for a translation.\n\t * @protected\n\t * @param {Number} from - The absolute position of the start item.\n\t * @param {Number} to - The absolute position of the target item.\n\t * @param {Number} [factor=undefined] - The time factor in milliseconds.\n\t * @returns {Number} - The time in milliseconds for the translation.\n\t */\n\tOwl.prototype.duration = function(from, to, factor) {\n\t\tif (factor === 0) {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn Math.min(Math.max(Math.abs(to - from), 1), 6) * Math.abs((factor || this.settings.smartSpeed));\n\t};\n\n\t/**\n\t * Slides to the specified item.\n\t * @public\n\t * @param {Number} position - The position of the item.\n\t * @param {Number} [speed] - The time in milliseconds for the transition.\n\t */\n\tOwl.prototype.to = function(position, speed) {\n\t\tvar current = this.current(),\n\t\t\trevert = null,\n\t\t\tdistance = position - this.relative(current),\n\t\t\tdirection = (distance > 0) - (distance < 0),\n\t\t\titems = this._items.length,\n\t\t\tminimum = this.minimum(),\n\t\t\tmaximum = this.maximum();\n\n\t\tif (this.settings.loop) {\n\t\t\tif (!this.settings.rewind && Math.abs(distance) > items / 2) {\n\t\t\t\tdistance += direction * -1 * items;\n\t\t\t}\n\n\t\t\tposition = current + distance;\n\t\t\trevert = ((position - minimum) % items + items) % items + minimum;\n\n\t\t\tif (revert !== position && revert - distance <= maximum && revert - distance > 0) {\n\t\t\t\tcurrent = revert - distance;\n\t\t\t\tposition = revert;\n\t\t\t\tthis.reset(current);\n\t\t\t}\n\t\t} else if (this.settings.rewind) {\n\t\t\tmaximum += 1;\n\t\t\tposition = (position % maximum + maximum) % maximum;\n\t\t} else {\n\t\t\tposition = Math.max(minimum, Math.min(maximum, position));\n\t\t}\n\n\t\tthis.speed(this.duration(current, position, speed));\n\t\tthis.current(position);\n\n\t\tif (this.isVisible()) {\n\t\t\tthis.update();\n\t\t}\n\t};\n\n\t/**\n\t * Slides to the next item.\n\t * @public\n\t * @param {Number} [speed] - The time in milliseconds for the transition.\n\t */\n\tOwl.prototype.next = function(speed) {\n\t\tspeed = speed || false;\n\t\tthis.to(this.relative(this.current()) + 1, speed);\n\t};\n\n\t/**\n\t * Slides to the previous item.\n\t * @public\n\t * @param {Number} [speed] - The time in milliseconds for the transition.\n\t */\n\tOwl.prototype.prev = function(speed) {\n\t\tspeed = speed || false;\n\t\tthis.to(this.relative(this.current()) - 1, speed);\n\t};\n\n\t/**\n\t * Handles the end of an animation.\n\t * @protected\n\t * @param {Event} event - The event arguments.\n\t */\n\tOwl.prototype.onTransitionEnd = function(event) {\n\n\t\t// if css2 animation then event object is undefined\n\t\tif (event !== undefined) {\n\t\t\tevent.stopPropagation();\n\n\t\t\t// Catch only owl-stage transitionEnd event\n\t\t\tif ((event.target || event.srcElement || event.originalTarget) !== this.$stage.get(0)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tthis.leave('animating');\n\t\tthis.trigger('translated');\n\t};\n\n\t/**\n\t * Gets viewport width.\n\t * @protected\n\t * @return {Number} - The width in pixel.\n\t */\n\tOwl.prototype.viewport = function() {\n\t\tvar width;\n\t\tif (this.options.responsiveBaseElement !== window) {\n\t\t\twidth = $(this.options.responsiveBaseElement).width();\n\t\t} else if (window.innerWidth) {\n\t\t\twidth = window.innerWidth;\n\t\t} else if (document.documentElement && document.documentElement.clientWidth) {\n\t\t\twidth = document.documentElement.clientWidth;\n\t\t} else {\n\t\t\tconsole.warn('Can not detect viewport width.');\n\t\t}\n\t\treturn width;\n\t};\n\n\t/**\n\t * Replaces the current content.\n\t * @public\n\t * @param {HTMLElement|jQuery|String} content - The new content.\n\t */\n\tOwl.prototype.replace = function(content) {\n\t\tthis.$stage.empty();\n\t\tthis._items = [];\n\n\t\tif (content) {\n\t\t\tcontent = (content instanceof jQuery) ? content : $(content);\n\t\t}\n\n\t\tif (this.settings.nestedItemSelector) {\n\t\t\tcontent = content.find('.' + this.settings.nestedItemSelector);\n\t\t}\n\n\t\tcontent.filter(function() {\n\t\t\treturn this.nodeType === 1;\n\t\t}).each($.proxy(function(index, item) {\n\t\t\titem = this.prepare(item);\n\t\t\tthis.$stage.append(item);\n\t\t\tthis._items.push(item);\n\t\t\tthis._mergers.push(item.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1);\n\t\t}, this));\n\n\t\tthis.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0);\n\n\t\tthis.invalidate('items');\n\t};\n\n\t/**\n\t * Adds an item.\n\t * @todo Use `item` instead of `content` for the event arguments.\n\t * @public\n\t * @param {HTMLElement|jQuery|String} content - The item content to add.\n\t * @param {Number} [position] - The relative position at which to insert the item otherwise the item will be added to the end.\n\t */\n\tOwl.prototype.add = function(content, position) {\n\t\tvar current = this.relative(this._current);\n\n\t\tposition = position === undefined ? this._items.length : this.normalize(position, true);\n\t\tcontent = content instanceof jQuery ? content : $(content);\n\n\t\tthis.trigger('add', { content: content, position: position });\n\n\t\tcontent = this.prepare(content);\n\n\t\tif (this._items.length === 0 || position === this._items.length) {\n\t\t\tthis._items.length === 0 && this.$stage.append(content);\n\t\t\tthis._items.length !== 0 && this._items[position - 1].after(content);\n\t\t\tthis._items.push(content);\n\t\t\tthis._mergers.push(content.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1);\n\t\t} else {\n\t\t\tthis._items[position].before(content);\n\t\t\tthis._items.splice(position, 0, content);\n\t\t\tthis._mergers.splice(position, 0, content.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1);\n\t\t}\n\n\t\tthis._items[current] && this.reset(this._items[current].index());\n\n\t\tthis.invalidate('items');\n\n\t\tthis.trigger('added', { content: content, position: position });\n\t};\n\n\t/**\n\t * Removes an item by its position.\n\t * @todo Use `item` instead of `content` for the event arguments.\n\t * @public\n\t * @param {Number} position - The relative position of the item to remove.\n\t */\n\tOwl.prototype.remove = function(position) {\n\t\tposition = this.normalize(position, true);\n\n\t\tif (position === undefined) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.trigger('remove', { content: this._items[position], position: position });\n\n\t\tthis._items[position].remove();\n\t\tthis._items.splice(position, 1);\n\t\tthis._mergers.splice(position, 1);\n\n\t\tthis.invalidate('items');\n\n\t\tthis.trigger('removed', { content: null, position: position });\n\t};\n\n\t/**\n\t * Preloads images with auto width.\n\t * @todo Replace by a more generic approach\n\t * @protected\n\t */\n\tOwl.prototype.preloadAutoWidthImages = function(images) {\n\t\timages.each($.proxy(function(i, element) {\n\t\t\tthis.enter('pre-loading');\n\t\t\telement = $(element);\n\t\t\t$(new Image()).one('load', $.proxy(function(e) {\n\t\t\t\telement.attr('src', e.target.src);\n\t\t\t\telement.css('opacity', 1);\n\t\t\t\tthis.leave('pre-loading');\n\t\t\t\t!this.is('pre-loading') && !this.is('initializing') && this.refresh();\n\t\t\t}, this)).attr('src', element.attr('src') || element.attr('data-src') || element.attr('data-src-retina'));\n\t\t}, this));\n\t};\n\n\t/**\n\t * Destroys the carousel.\n\t * @public\n\t */\n\tOwl.prototype.destroy = function() {\n\n\t\tthis.$element.off('.owl.core');\n\t\tthis.$stage.off('.owl.core');\n\t\t$(document).off('.owl.core');\n\n\t\tif (this.settings.responsive !== false) {\n\t\t\twindow.clearTimeout(this.resizeTimer);\n\t\t\tthis.off(window, 'resize', this._handlers.onThrottledResize);\n\t\t}\n\n\t\tfor (var i in this._plugins) {\n\t\t\tthis._plugins[i].destroy();\n\t\t}\n\n\t\tthis.$stage.children('.cloned').remove();\n\n\t\tthis.$stage.unwrap();\n\t\tthis.$stage.children().contents().unwrap();\n\t\tthis.$stage.children().unwrap();\n\t\tthis.$stage.remove();\n\t\tthis.$element\n\t\t\t.removeClass(this.options.refreshClass)\n\t\t\t.removeClass(this.options.loadingClass)\n\t\t\t.removeClass(this.options.loadedClass)\n\t\t\t.removeClass(this.options.rtlClass)\n\t\t\t.removeClass(this.options.dragClass)\n\t\t\t.removeClass(this.options.grabClass)\n\t\t\t.attr('class', this.$element.attr('class').replace(new RegExp(this.options.responsiveClass + '-\\\\S+\\\\s', 'g'), ''))\n\t\t\t.removeData('owl.carousel');\n\t};\n\n\t/**\n\t * Operators to calculate right-to-left and left-to-right.\n\t * @protected\n\t * @param {Number} [a] - The left side operand.\n\t * @param {String} [o] - The operator.\n\t * @param {Number} [b] - The right side operand.\n\t */\n\tOwl.prototype.op = function(a, o, b) {\n\t\tvar rtl = this.settings.rtl;\n\t\tswitch (o) {\n\t\t\tcase '<':\n\t\t\t\treturn rtl ? a > b : a < b;\n\t\t\tcase '>':\n\t\t\t\treturn rtl ? a < b : a > b;\n\t\t\tcase '>=':\n\t\t\t\treturn rtl ? a <= b : a >= b;\n\t\t\tcase '<=':\n\t\t\t\treturn rtl ? a >= b : a <= b;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\t/**\n\t * Attaches to an internal event.\n\t * @protected\n\t * @param {HTMLElement} element - The event source.\n\t * @param {String} event - The event name.\n\t * @param {Function} listener - The event handler to attach.\n\t * @param {Boolean} capture - Wether the event should be handled at the capturing phase or not.\n\t */\n\tOwl.prototype.on = function(element, event, listener, capture) {\n\t\tif (element.addEventListener) {\n\t\t\telement.addEventListener(event, listener, capture);\n\t\t} else if (element.attachEvent) {\n\t\t\telement.attachEvent('on' + event, listener);\n\t\t}\n\t};\n\n\t/**\n\t * Detaches from an internal event.\n\t * @protected\n\t * @param {HTMLElement} element - The event source.\n\t * @param {String} event - The event name.\n\t * @param {Function} listener - The attached event handler to detach.\n\t * @param {Boolean} capture - Wether the attached event handler was registered as a capturing listener or not.\n\t */\n\tOwl.prototype.off = function(element, event, listener, capture) {\n\t\tif (element.removeEventListener) {\n\t\t\telement.removeEventListener(event, listener, capture);\n\t\t} else if (element.detachEvent) {\n\t\t\telement.detachEvent('on' + event, listener);\n\t\t}\n\t};\n\n\t/**\n\t * Triggers a public event.\n\t * @todo Remove `status`, `relatedTarget` should be used instead.\n\t * @protected\n\t * @param {String} name - The event name.\n\t * @param {*} [data=null] - The event data.\n\t * @param {String} [namespace=carousel] - The event namespace.\n\t * @param {String} [state] - The state which is associated with the event.\n\t * @param {Boolean} [enter=false] - Indicates if the call enters the specified state or not.\n\t * @returns {Event} - The event arguments.\n\t */\n\tOwl.prototype.trigger = function(name, data, namespace, state, enter) {\n\t\tvar status = {\n\t\t\titem: { count: this._items.length, index: this.current() }\n\t\t}, handler = $.camelCase(\n\t\t\t$.grep([ 'on', name, namespace ], function(v) { return v })\n\t\t\t\t.join('-').toLowerCase()\n\t\t), event = $.Event(\n\t\t\t[ name, 'owl', namespace || 'carousel' ].join('.').toLowerCase(),\n\t\t\t$.extend({ relatedTarget: this }, status, data)\n\t\t);\n\n\t\tif (!this._supress[name]) {\n\t\t\t$.each(this._plugins, function(name, plugin) {\n\t\t\t\tif (plugin.onTrigger) {\n\t\t\t\t\tplugin.onTrigger(event);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tthis.register({ type: Owl.Type.Event, name: name });\n\t\t\tthis.$element.trigger(event);\n\n\t\t\tif (this.settings && typeof this.settings[handler] === 'function') {\n\t\t\t\tthis.settings[handler].call(this, event);\n\t\t\t}\n\t\t}\n\n\t\treturn event;\n\t};\n\n\t/**\n\t * Enters a state.\n\t * @param name - The state name.\n\t */\n\tOwl.prototype.enter = function(name) {\n\t\t$.each([ name ].concat(this._states.tags[name] || []), $.proxy(function(i, name) {\n\t\t\tif (this._states.current[name] === undefined) {\n\t\t\t\tthis._states.current[name] = 0;\n\t\t\t}\n\n\t\t\tthis._states.current[name]++;\n\t\t}, this));\n\t};\n\n\t/**\n\t * Leaves a state.\n\t * @param name - The state name.\n\t */\n\tOwl.prototype.leave = function(name) {\n\t\t$.each([ name ].concat(this._states.tags[name] || []), $.proxy(function(i, name) {\n\t\t\tthis._states.current[name]--;\n\t\t}, this));\n\t};\n\n\t/**\n\t * Registers an event or state.\n\t * @public\n\t * @param {Object} object - The event or state to register.\n\t */\n\tOwl.prototype.register = function(object) {\n\t\tif (object.type === Owl.Type.Event) {\n\t\t\tif (!$.event.special[object.name]) {\n\t\t\t\t$.event.special[object.name] = {};\n\t\t\t}\n\n\t\t\tif (!$.event.special[object.name].owl) {\n\t\t\t\tvar _default = $.event.special[object.name]._default;\n\t\t\t\t$.event.special[object.name]._default = function(e) {\n\t\t\t\t\tif (_default && _default.apply && (!e.namespace || e.namespace.indexOf('owl') === -1)) {\n\t\t\t\t\t\treturn _default.apply(this, arguments);\n\t\t\t\t\t}\n\t\t\t\t\treturn e.namespace && e.namespace.indexOf('owl') > -1;\n\t\t\t\t};\n\t\t\t\t$.event.special[object.name].owl = true;\n\t\t\t}\n\t\t} else if (object.type === Owl.Type.State) {\n\t\t\tif (!this._states.tags[object.name]) {\n\t\t\t\tthis._states.tags[object.name] = object.tags;\n\t\t\t} else {\n\t\t\t\tthis._states.tags[object.name] = this._states.tags[object.name].concat(object.tags);\n\t\t\t}\n\n\t\t\tthis._states.tags[object.name] = $.grep(this._states.tags[object.name], $.proxy(function(tag, i) {\n\t\t\t\treturn $.inArray(tag, this._states.tags[object.name]) === i;\n\t\t\t}, this));\n\t\t}\n\t};\n\n\t/**\n\t * Suppresses events.\n\t * @protected\n\t * @param {Array.} events - The events to suppress.\n\t */\n\tOwl.prototype.suppress = function(events) {\n\t\t$.each(events, $.proxy(function(index, event) {\n\t\t\tthis._supress[event] = true;\n\t\t}, this));\n\t};\n\n\t/**\n\t * Releases suppressed events.\n\t * @protected\n\t * @param {Array.} events - The events to release.\n\t */\n\tOwl.prototype.release = function(events) {\n\t\t$.each(events, $.proxy(function(index, event) {\n\t\t\tdelete this._supress[event];\n\t\t}, this));\n\t};\n\n\t/**\n\t * Gets unified pointer coordinates from event.\n\t * @todo #261\n\t * @protected\n\t * @param {Event} - The `mousedown` or `touchstart` event.\n\t * @returns {Object} - Contains `x` and `y` coordinates of current pointer position.\n\t */\n\tOwl.prototype.pointer = function(event) {\n\t\tvar result = { x: null, y: null };\n\n\t\tevent = event.originalEvent || event || window.event;\n\n\t\tevent = event.touches && event.touches.length ?\n\t\t\tevent.touches[0] : event.changedTouches && event.changedTouches.length ?\n\t\t\t\tevent.changedTouches[0] : event;\n\n\t\tif (event.pageX) {\n\t\t\tresult.x = event.pageX;\n\t\t\tresult.y = event.pageY;\n\t\t} else {\n\t\t\tresult.x = event.clientX;\n\t\t\tresult.y = event.clientY;\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t/**\n\t * Determines if the input is a Number or something that can be coerced to a Number\n\t * @protected\n\t * @param {Number|String|Object|Array|Boolean|RegExp|Function|Symbol} - The input to be tested\n\t * @returns {Boolean} - An indication if the input is a Number or can be coerced to a Number\n\t */\n\tOwl.prototype.isNumeric = function(number) {\n\t\treturn !isNaN(parseFloat(number));\n\t};\n\n\t/**\n\t * Gets the difference of two vectors.\n\t * @todo #261\n\t * @protected\n\t * @param {Object} - The first vector.\n\t * @param {Object} - The second vector.\n\t * @returns {Object} - The difference.\n\t */\n\tOwl.prototype.difference = function(first, second) {\n\t\treturn {\n\t\t\tx: first.x - second.x,\n\t\t\ty: first.y - second.y\n\t\t};\n\t};\n\n\t/**\n\t * The jQuery Plugin for the Owl Carousel\n\t * @todo Navigation plugin `next` and `prev`\n\t * @public\n\t */\n\t$.fn.owlCarousel = function(option) {\n\t\tvar args = Array.prototype.slice.call(arguments, 1);\n\n\t\treturn this.each(function() {\n\t\t\tvar $this = $(this),\n\t\t\t\tdata = $this.data('owl.carousel');\n\n\t\t\tif (!data) {\n\t\t\t\tdata = new Owl(this, typeof option == 'object' && option);\n\t\t\t\t$this.data('owl.carousel', data);\n\n\t\t\t\t$.each([\n\t\t\t\t\t'next', 'prev', 'to', 'destroy', 'refresh', 'replace', 'add', 'remove'\n\t\t\t\t], function(i, event) {\n\t\t\t\t\tdata.register({ type: Owl.Type.Event, name: event });\n\t\t\t\t\tdata.$element.on(event + '.owl.carousel.core', $.proxy(function(e) {\n\t\t\t\t\t\tif (e.namespace && e.relatedTarget !== this) {\n\t\t\t\t\t\t\tthis.suppress([ event ]);\n\t\t\t\t\t\t\tdata[event].apply(this, [].slice.call(arguments, 1));\n\t\t\t\t\t\t\tthis.release([ event ]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, data));\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (typeof option == 'string' && option.charAt(0) !== '_') {\n\t\t\t\tdata[option].apply(data, args);\n\t\t\t}\n\t\t});\n\t};\n\n\t/**\n\t * The constructor for the jQuery Plugin\n\t * @public\n\t */\n\t$.fn.owlCarousel.Constructor = Owl;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * AutoRefresh Plugin\n * @version 2.3.4\n * @author Artus Kolanowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates the auto refresh plugin.\n\t * @class The Auto Refresh Plugin\n\t * @param {Owl} carousel - The Owl Carousel\n\t */\n\tvar AutoRefresh = function(carousel) {\n\t\t/**\n\t\t * Reference to the core.\n\t\t * @protected\n\t\t * @type {Owl}\n\t\t */\n\t\tthis._core = carousel;\n\n\t\t/**\n\t\t * Refresh interval.\n\t\t * @protected\n\t\t * @type {number}\n\t\t */\n\t\tthis._interval = null;\n\n\t\t/**\n\t\t * Whether the element is currently visible or not.\n\t\t * @protected\n\t\t * @type {Boolean}\n\t\t */\n\t\tthis._visible = null;\n\n\t\t/**\n\t\t * All event handlers.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._handlers = {\n\t\t\t'initialized.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.autoRefresh) {\n\t\t\t\t\tthis.watch();\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\t// set default options\n\t\tthis._core.options = $.extend({}, AutoRefresh.Defaults, this._core.options);\n\n\t\t// register event handlers\n\t\tthis._core.$element.on(this._handlers);\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t */\n\tAutoRefresh.Defaults = {\n\t\tautoRefresh: true,\n\t\tautoRefreshInterval: 500\n\t};\n\n\t/**\n\t * Watches the element.\n\t */\n\tAutoRefresh.prototype.watch = function() {\n\t\tif (this._interval) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._visible = this._core.isVisible();\n\t\tthis._interval = window.setInterval($.proxy(this.refresh, this), this._core.settings.autoRefreshInterval);\n\t};\n\n\t/**\n\t * Refreshes the element.\n\t */\n\tAutoRefresh.prototype.refresh = function() {\n\t\tif (this._core.isVisible() === this._visible) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._visible = !this._visible;\n\n\t\tthis._core.$element.toggleClass('owl-hidden', !this._visible);\n\n\t\tthis._visible && (this._core.invalidate('width') && this._core.refresh());\n\t};\n\n\t/**\n\t * Destroys the plugin.\n\t */\n\tAutoRefresh.prototype.destroy = function() {\n\t\tvar handler, property;\n\n\t\twindow.clearInterval(this._interval);\n\n\t\tfor (handler in this._handlers) {\n\t\t\tthis._core.$element.off(handler, this._handlers[handler]);\n\t\t}\n\t\tfor (property in Object.getOwnPropertyNames(this)) {\n\t\t\ttypeof this[property] != 'function' && (this[property] = null);\n\t\t}\n\t};\n\n\t$.fn.owlCarousel.Constructor.Plugins.AutoRefresh = AutoRefresh;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * Lazy Plugin\n * @version 2.3.4\n * @author Bartosz Wojciechowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates the lazy plugin.\n\t * @class The Lazy Plugin\n\t * @param {Owl} carousel - The Owl Carousel\n\t */\n\tvar Lazy = function(carousel) {\n\n\t\t/**\n\t\t * Reference to the core.\n\t\t * @protected\n\t\t * @type {Owl}\n\t\t */\n\t\tthis._core = carousel;\n\n\t\t/**\n\t\t * Already loaded items.\n\t\t * @protected\n\t\t * @type {Array.}\n\t\t */\n\t\tthis._loaded = [];\n\n\t\t/**\n\t\t * Event handlers.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._handlers = {\n\t\t\t'initialized.owl.carousel change.owl.carousel resized.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (!e.namespace) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (!this._core.settings || !this._core.settings.lazyLoad) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif ((e.property && e.property.name == 'position') || e.type == 'initialized') {\n\t\t\t\t\tvar settings = this._core.settings,\n\t\t\t\t\t\tn = (settings.center && Math.ceil(settings.items / 2) || settings.items),\n\t\t\t\t\t\ti = ((settings.center && n * -1) || 0),\n\t\t\t\t\t\tposition = (e.property && e.property.value !== undefined ? e.property.value : this._core.current()) + i,\n\t\t\t\t\t\tclones = this._core.clones().length,\n\t\t\t\t\t\tload = $.proxy(function(i, v) { this.load(v) }, this);\n\t\t\t\t\t//TODO: Need documentation for this new option\n\t\t\t\t\tif (settings.lazyLoadEager > 0) {\n\t\t\t\t\t\tn += settings.lazyLoadEager;\n\t\t\t\t\t\t// If the carousel is looping also preload images that are to the \"left\"\n\t\t\t\t\t\tif (settings.loop) {\n position -= settings.lazyLoadEager;\n n++;\n }\n\t\t\t\t\t}\n\n\t\t\t\t\twhile (i++ < n) {\n\t\t\t\t\t\tthis.load(clones / 2 + this._core.relative(position));\n\t\t\t\t\t\tclones && $.each(this._core.clones(this._core.relative(position)), load);\n\t\t\t\t\t\tposition++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\t// set the default options\n\t\tthis._core.options = $.extend({}, Lazy.Defaults, this._core.options);\n\n\t\t// register event handler\n\t\tthis._core.$element.on(this._handlers);\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t */\n\tLazy.Defaults = {\n\t\tlazyLoad: false,\n\t\tlazyLoadEager: 0\n\t};\n\n\t/**\n\t * Loads all resources of an item at the specified position.\n\t * @param {Number} position - The absolute position of the item.\n\t * @protected\n\t */\n\tLazy.prototype.load = function(position) {\n\t\tvar $item = this._core.$stage.children().eq(position),\n\t\t\t$elements = $item && $item.find('.owl-lazy');\n\n\t\tif (!$elements || $.inArray($item.get(0), this._loaded) > -1) {\n\t\t\treturn;\n\t\t}\n\n\t\t$elements.each($.proxy(function(index, element) {\n\t\t\tvar $element = $(element), image,\n url = (window.devicePixelRatio > 1 && $element.attr('data-src-retina')) || $element.attr('data-src') || $element.attr('data-srcset');\n\n\t\t\tthis._core.trigger('load', { element: $element, url: url }, 'lazy');\n\n\t\t\tif ($element.is('img')) {\n\t\t\t\t$element.one('load.owl.lazy', $.proxy(function() {\n\t\t\t\t\t$element.css('opacity', 1);\n\t\t\t\t\tthis._core.trigger('loaded', { element: $element, url: url }, 'lazy');\n\t\t\t\t}, this)).attr('src', url);\n } else if ($element.is('source')) {\n $element.one('load.owl.lazy', $.proxy(function() {\n this._core.trigger('loaded', { element: $element, url: url }, 'lazy');\n }, this)).attr('srcset', url);\n\t\t\t} else {\n\t\t\t\timage = new Image();\n\t\t\t\timage.onload = $.proxy(function() {\n\t\t\t\t\t$element.css({\n\t\t\t\t\t\t'background-image': 'url(\"' + url + '\")',\n\t\t\t\t\t\t'opacity': '1'\n\t\t\t\t\t});\n\t\t\t\t\tthis._core.trigger('loaded', { element: $element, url: url }, 'lazy');\n\t\t\t\t}, this);\n\t\t\t\timage.src = url;\n\t\t\t}\n\t\t}, this));\n\n\t\tthis._loaded.push($item.get(0));\n\t};\n\n\t/**\n\t * Destroys the plugin.\n\t * @public\n\t */\n\tLazy.prototype.destroy = function() {\n\t\tvar handler, property;\n\n\t\tfor (handler in this.handlers) {\n\t\t\tthis._core.$element.off(handler, this.handlers[handler]);\n\t\t}\n\t\tfor (property in Object.getOwnPropertyNames(this)) {\n\t\t\ttypeof this[property] != 'function' && (this[property] = null);\n\t\t}\n\t};\n\n\t$.fn.owlCarousel.Constructor.Plugins.Lazy = Lazy;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * AutoHeight Plugin\n * @version 2.3.4\n * @author Bartosz Wojciechowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates the auto height plugin.\n\t * @class The Auto Height Plugin\n\t * @param {Owl} carousel - The Owl Carousel\n\t */\n\tvar AutoHeight = function(carousel) {\n\t\t/**\n\t\t * Reference to the core.\n\t\t * @protected\n\t\t * @type {Owl}\n\t\t */\n\t\tthis._core = carousel;\n\n\t\tthis._previousHeight = null;\n\n\t\t/**\n\t\t * All event handlers.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._handlers = {\n\t\t\t'initialized.owl.carousel refreshed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.autoHeight) {\n\t\t\t\t\tthis.update();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'changed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.autoHeight && e.property.name === 'position'){\n\t\t\t\t\tthis.update();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'loaded.owl.lazy': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.autoHeight\n\t\t\t\t\t&& e.element.closest('.' + this._core.settings.itemClass).index() === this._core.current()) {\n\t\t\t\t\tthis.update();\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\t// set default options\n\t\tthis._core.options = $.extend({}, AutoHeight.Defaults, this._core.options);\n\n\t\t// register event handlers\n\t\tthis._core.$element.on(this._handlers);\n\t\tthis._intervalId = null;\n\t\tvar refThis = this;\n\n\t\t// These changes have been taken from a PR by gavrochelegnou proposed in #1575\n\t\t// and have been made compatible with the latest jQuery version\n\t\t$(window).on('load', function() {\n\t\t\tif (refThis._core.settings.autoHeight) {\n\t\t\t\trefThis.update();\n\t\t\t}\n\t\t});\n\n\t\t// Autoresize the height of the carousel when window is resized\n\t\t// When carousel has images, the height is dependent on the width\n\t\t// and should also change on resize\n\t\t$(window).resize(function() {\n\t\t\tif (refThis._core.settings.autoHeight) {\n\t\t\t\tif (refThis._intervalId != null) {\n\t\t\t\t\tclearTimeout(refThis._intervalId);\n\t\t\t\t}\n\n\t\t\t\trefThis._intervalId = setTimeout(function() {\n\t\t\t\t\trefThis.update();\n\t\t\t\t}, 250);\n\t\t\t}\n\t\t});\n\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t */\n\tAutoHeight.Defaults = {\n\t\tautoHeight: false,\n\t\tautoHeightClass: 'owl-height'\n\t};\n\n\t/**\n\t * Updates the view.\n\t */\n\tAutoHeight.prototype.update = function() {\n\t\tvar start = this._core._current,\n\t\t\tend = start + this._core.settings.items,\n\t\t\tlazyLoadEnabled = this._core.settings.lazyLoad,\n\t\t\tvisible = this._core.$stage.children().toArray().slice(start, end),\n\t\t\theights = [],\n\t\t\tmaxheight = 0;\n\n\t\t$.each(visible, function(index, item) {\n\t\t\theights.push($(item).height());\n\t\t});\n\n\t\tmaxheight = Math.max.apply(null, heights);\n\n\t\tif (maxheight <= 1 && lazyLoadEnabled && this._previousHeight) {\n\t\t\tmaxheight = this._previousHeight;\n\t\t}\n\n\t\tthis._previousHeight = maxheight;\n\n\t\tthis._core.$stage.parent()\n\t\t\t.height(maxheight)\n\t\t\t.addClass(this._core.settings.autoHeightClass);\n\t};\n\n\tAutoHeight.prototype.destroy = function() {\n\t\tvar handler, property;\n\n\t\tfor (handler in this._handlers) {\n\t\t\tthis._core.$element.off(handler, this._handlers[handler]);\n\t\t}\n\t\tfor (property in Object.getOwnPropertyNames(this)) {\n\t\t\ttypeof this[property] !== 'function' && (this[property] = null);\n\t\t}\n\t};\n\n\t$.fn.owlCarousel.Constructor.Plugins.AutoHeight = AutoHeight;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * Video Plugin\n * @version 2.3.4\n * @author Bartosz Wojciechowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates the video plugin.\n\t * @class The Video Plugin\n\t * @param {Owl} carousel - The Owl Carousel\n\t */\n\tvar Video = function(carousel) {\n\t\t/**\n\t\t * Reference to the core.\n\t\t * @protected\n\t\t * @type {Owl}\n\t\t */\n\t\tthis._core = carousel;\n\n\t\t/**\n\t\t * Cache all video URLs.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._videos = {};\n\n\t\t/**\n\t\t * Current playing item.\n\t\t * @protected\n\t\t * @type {jQuery}\n\t\t */\n\t\tthis._playing = null;\n\n\t\t/**\n\t\t * All event handlers.\n\t\t * @todo The cloned content removale is too late\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._handlers = {\n\t\t\t'initialized.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace) {\n\t\t\t\t\tthis._core.register({ type: 'state', name: 'playing', tags: [ 'interacting' ] });\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'resize.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.video && this.isInFullScreen()) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'refreshed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.is('resizing')) {\n\t\t\t\t\tthis._core.$stage.find('.cloned .owl-video-frame').remove();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'changed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && e.property.name === 'position' && this._playing) {\n\t\t\t\t\tthis.stop();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'prepared.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (!e.namespace) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar $element = $(e.content).find('.owl-video');\n\n\t\t\t\tif ($element.length) {\n\t\t\t\t\t$element.css('display', 'none');\n\t\t\t\t\tthis.fetch($element, $(e.content));\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\t// set default options\n\t\tthis._core.options = $.extend({}, Video.Defaults, this._core.options);\n\n\t\t// register event handlers\n\t\tthis._core.$element.on(this._handlers);\n\n\t\tthis._core.$element.on('click.owl.video', '.owl-video-play-icon', $.proxy(function(e) {\n\t\t\tthis.play(e);\n\t\t}, this));\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t */\n\tVideo.Defaults = {\n\t\tvideo: false,\n\t\tvideoHeight: false,\n\t\tvideoWidth: false\n\t};\n\n\t/**\n\t * Gets the video ID and the type (YouTube/Vimeo/vzaar only).\n\t * @protected\n\t * @param {jQuery} target - The target containing the video data.\n\t * @param {jQuery} item - The item containing the video.\n\t */\n\tVideo.prototype.fetch = function(target, item) {\n\t\t\tvar type = (function() {\n\t\t\t\t\tif (target.attr('data-vimeo-id')) {\n\t\t\t\t\t\treturn 'vimeo';\n\t\t\t\t\t} else if (target.attr('data-vzaar-id')) {\n\t\t\t\t\t\treturn 'vzaar'\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn 'youtube';\n\t\t\t\t\t}\n\t\t\t\t})(),\n\t\t\t\tid = target.attr('data-vimeo-id') || target.attr('data-youtube-id') || target.attr('data-vzaar-id'),\n\t\t\t\twidth = target.attr('data-width') || this._core.settings.videoWidth,\n\t\t\t\theight = target.attr('data-height') || this._core.settings.videoHeight,\n\t\t\t\turl = target.attr('href');\n\n\t\tif (url) {\n\n\t\t\t/*\n\t\t\t\t\tParses the id's out of the following urls (and probably more):\n\t\t\t\t\thttps://www.youtube.com/watch?v=:id\n\t\t\t\t\thttps://youtu.be/:id\n\t\t\t\t\thttps://vimeo.com/:id\n\t\t\t\t\thttps://vimeo.com/channels/:channel/:id\n\t\t\t\t\thttps://vimeo.com/groups/:group/videos/:id\n\t\t\t\t\thttps://app.vzaar.com/videos/:id\n\n\t\t\t\t\tVisual example: https://regexper.com/#(http%3A%7Chttps%3A%7C)%5C%2F%5C%2F(player.%7Cwww.%7Capp.)%3F(vimeo%5C.com%7Cyoutu(be%5C.com%7C%5C.be%7Cbe%5C.googleapis%5C.com)%7Cvzaar%5C.com)%5C%2F(video%5C%2F%7Cvideos%5C%2F%7Cembed%5C%2F%7Cchannels%5C%2F.%2B%5C%2F%7Cgroups%5C%2F.%2B%5C%2F%7Cwatch%5C%3Fv%3D%7Cv%5C%2F)%3F(%5BA-Za-z0-9._%25-%5D*)(%5C%26%5CS%2B)%3F\n\t\t\t*/\n\n\t\t\tid = url.match(/(http:|https:|)\\/\\/(player.|www.|app.)?(vimeo\\.com|youtu(be\\.com|\\.be|be\\.googleapis\\.com|be\\-nocookie\\.com)|vzaar\\.com)\\/(video\\/|videos\\/|embed\\/|channels\\/.+\\/|groups\\/.+\\/|watch\\?v=|v\\/)?([A-Za-z0-9._%-]*)(\\&\\S+)?/);\n\n\t\t\tif (id[3].indexOf('youtu') > -1) {\n\t\t\t\ttype = 'youtube';\n\t\t\t} else if (id[3].indexOf('vimeo') > -1) {\n\t\t\t\ttype = 'vimeo';\n\t\t\t} else if (id[3].indexOf('vzaar') > -1) {\n\t\t\t\ttype = 'vzaar';\n\t\t\t} else {\n\t\t\t\tthrow new Error('Video URL not supported.');\n\t\t\t}\n\t\t\tid = id[6];\n\t\t} else {\n\t\t\tthrow new Error('Missing video URL.');\n\t\t}\n\n\t\tthis._videos[url] = {\n\t\t\ttype: type,\n\t\t\tid: id,\n\t\t\twidth: width,\n\t\t\theight: height\n\t\t};\n\n\t\titem.attr('data-video', url);\n\n\t\tthis.thumbnail(target, this._videos[url]);\n\t};\n\n\t/**\n\t * Creates video thumbnail.\n\t * @protected\n\t * @param {jQuery} target - The target containing the video data.\n\t * @param {Object} info - The video info object.\n\t * @see `fetch`\n\t */\n\tVideo.prototype.thumbnail = function(target, video) {\n\t\tvar tnLink,\n\t\t\ticon,\n\t\t\tpath,\n\t\t\tdimensions = video.width && video.height ? 'width:' + video.width + 'px;height:' + video.height + 'px;' : '',\n\t\t\tcustomTn = target.find('img'),\n\t\t\tsrcType = 'src',\n\t\t\tlazyClass = '',\n\t\t\tsettings = this._core.settings,\n\t\t\tcreate = function(path) {\n\t\t\t\ticon = '
';\n\n\t\t\t\tif (settings.lazyLoad) {\n\t\t\t\t\ttnLink = $('
',{\n\t\t\t\t\t\t\"class\": 'owl-video-tn ' + lazyClass,\n\t\t\t\t\t\t\"srcType\": path\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\ttnLink = $( '
', {\n\t\t\t\t\t\t\"class\": \"owl-video-tn\",\n\t\t\t\t\t\t\"style\": 'opacity:1;background-image:url(' + path + ')'\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\ttarget.after(tnLink);\n\t\t\t\ttarget.after(icon);\n\t\t\t};\n\n\t\t// wrap video content into owl-video-wrapper div\n\t\ttarget.wrap( $( '
', {\n\t\t\t\"class\": \"owl-video-wrapper\",\n\t\t\t\"style\": dimensions\n\t\t}));\n\n\t\tif (this._core.settings.lazyLoad) {\n\t\t\tsrcType = 'data-src';\n\t\t\tlazyClass = 'owl-lazy';\n\t\t}\n\n\t\t// custom thumbnail\n\t\tif (customTn.length) {\n\t\t\tcreate(customTn.attr(srcType));\n\t\t\tcustomTn.remove();\n\t\t\treturn false;\n\t\t}\n\n\t\tif (video.type === 'youtube') {\n\t\t\tpath = \"//img.youtube.com/vi/\" + video.id + \"/hqdefault.jpg\";\n\t\t\tcreate(path);\n\t\t} else if (video.type === 'vimeo') {\n\t\t\t$.ajax({\n\t\t\t\ttype: 'GET',\n\t\t\t\turl: '//vimeo.com/api/v2/video/' + video.id + '.json',\n\t\t\t\tjsonp: 'callback',\n\t\t\t\tdataType: 'jsonp',\n\t\t\t\tsuccess: function(data) {\n\t\t\t\t\tpath = data[0].thumbnail_large;\n\t\t\t\t\tcreate(path);\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (video.type === 'vzaar') {\n\t\t\t$.ajax({\n\t\t\t\ttype: 'GET',\n\t\t\t\turl: '//vzaar.com/api/videos/' + video.id + '.json',\n\t\t\t\tjsonp: 'callback',\n\t\t\t\tdataType: 'jsonp',\n\t\t\t\tsuccess: function(data) {\n\t\t\t\t\tpath = data.framegrab_url;\n\t\t\t\t\tcreate(path);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\n\t/**\n\t * Stops the current video.\n\t * @public\n\t */\n\tVideo.prototype.stop = function() {\n\t\tthis._core.trigger('stop', null, 'video');\n\t\tthis._playing.find('.owl-video-frame').remove();\n\t\tthis._playing.removeClass('owl-video-playing');\n\t\tthis._playing = null;\n\t\tthis._core.leave('playing');\n\t\tthis._core.trigger('stopped', null, 'video');\n\t};\n\n\t/**\n\t * Starts the current video.\n\t * @public\n\t * @param {Event} event - The event arguments.\n\t */\n\tVideo.prototype.play = function(event) {\n\t\tvar target = $(event.target),\n\t\t\titem = target.closest('.' + this._core.settings.itemClass),\n\t\t\tvideo = this._videos[item.attr('data-video')],\n\t\t\twidth = video.width || '100%',\n\t\t\theight = video.height || this._core.$stage.height(),\n\t\t\thtml,\n\t\t\tiframe;\n\n\t\tif (this._playing) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._core.enter('playing');\n\t\tthis._core.trigger('play', null, 'video');\n\n\t\titem = this._core.items(this._core.relative(item.index()));\n\n\t\tthis._core.reset(item.index());\n\n\t\thtml = $( '' );\n\t\thtml.attr( 'height', height );\n\t\thtml.attr( 'width', width );\n\t\tif (video.type === 'youtube') {\n\t\t\thtml.attr( 'src', '//www.youtube.com/embed/' + video.id + '?autoplay=1&rel=0&v=' + video.id );\n\t\t} else if (video.type === 'vimeo') {\n\t\t\thtml.attr( 'src', '//player.vimeo.com/video/' + video.id + '?autoplay=1' );\n\t\t} else if (video.type === 'vzaar') {\n\t\t\thtml.attr( 'src', '//view.vzaar.com/' + video.id + '/player?autoplay=true' );\n\t\t}\n\n\t\tiframe = $(html).wrap( '
' ).insertAfter(item.find('.owl-video'));\n\n\t\tthis._playing = item.addClass('owl-video-playing');\n\t};\n\n\t/**\n\t * Checks whether an video is currently in full screen mode or not.\n\t * @todo Bad style because looks like a readonly method but changes members.\n\t * @protected\n\t * @returns {Boolean}\n\t */\n\tVideo.prototype.isInFullScreen = function() {\n\t\tvar element = document.fullscreenElement || document.mozFullScreenElement ||\n\t\t\t\tdocument.webkitFullscreenElement;\n\n\t\treturn element && $(element).parent().hasClass('owl-video-frame');\n\t};\n\n\t/**\n\t * Destroys the plugin.\n\t */\n\tVideo.prototype.destroy = function() {\n\t\tvar handler, property;\n\n\t\tthis._core.$element.off('click.owl.video');\n\n\t\tfor (handler in this._handlers) {\n\t\t\tthis._core.$element.off(handler, this._handlers[handler]);\n\t\t}\n\t\tfor (property in Object.getOwnPropertyNames(this)) {\n\t\t\ttypeof this[property] != 'function' && (this[property] = null);\n\t\t}\n\t};\n\n\t$.fn.owlCarousel.Constructor.Plugins.Video = Video;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * Animate Plugin\n * @version 2.3.4\n * @author Bartosz Wojciechowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates the animate plugin.\n\t * @class The Navigation Plugin\n\t * @param {Owl} scope - The Owl Carousel\n\t */\n\tvar Animate = function(scope) {\n\t\tthis.core = scope;\n\t\tthis.core.options = $.extend({}, Animate.Defaults, this.core.options);\n\t\tthis.swapping = true;\n\t\tthis.previous = undefined;\n\t\tthis.next = undefined;\n\n\t\tthis.handlers = {\n\t\t\t'change.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && e.property.name == 'position') {\n\t\t\t\t\tthis.previous = this.core.current();\n\t\t\t\t\tthis.next = e.property.value;\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'drag.owl.carousel dragged.owl.carousel translated.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace) {\n\t\t\t\t\tthis.swapping = e.type == 'translated';\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'translate.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn)) {\n\t\t\t\t\tthis.swap();\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\tthis.core.$element.on(this.handlers);\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t */\n\tAnimate.Defaults = {\n\t\tanimateOut: false,\n\t\tanimateIn: false\n\t};\n\n\t/**\n\t * Toggles the animation classes whenever an translations starts.\n\t * @protected\n\t * @returns {Boolean|undefined}\n\t */\n\tAnimate.prototype.swap = function() {\n\n\t\tif (this.core.settings.items !== 1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!$.support.animation || !$.support.transition) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.core.speed(0);\n\n\t\tvar left,\n\t\t\tclear = $.proxy(this.clear, this),\n\t\t\tprevious = this.core.$stage.children().eq(this.previous),\n\t\t\tnext = this.core.$stage.children().eq(this.next),\n\t\t\tincoming = this.core.settings.animateIn,\n\t\t\toutgoing = this.core.settings.animateOut;\n\n\t\tif (this.core.current() === this.previous) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (outgoing) {\n\t\t\tleft = this.core.coordinates(this.previous) - this.core.coordinates(this.next);\n\t\t\tprevious.one($.support.animation.end, clear)\n\t\t\t\t.css( { 'left': left + 'px' } )\n\t\t\t\t.addClass('animated owl-animated-out')\n\t\t\t\t.addClass(outgoing);\n\t\t}\n\n\t\tif (incoming) {\n\t\t\tnext.one($.support.animation.end, clear)\n\t\t\t\t.addClass('animated owl-animated-in')\n\t\t\t\t.addClass(incoming);\n\t\t}\n\t};\n\n\tAnimate.prototype.clear = function(e) {\n\t\t$(e.target).css( { 'left': '' } )\n\t\t\t.removeClass('animated owl-animated-out owl-animated-in')\n\t\t\t.removeClass(this.core.settings.animateIn)\n\t\t\t.removeClass(this.core.settings.animateOut);\n\t\tthis.core.onTransitionEnd();\n\t};\n\n\t/**\n\t * Destroys the plugin.\n\t * @public\n\t */\n\tAnimate.prototype.destroy = function() {\n\t\tvar handler, property;\n\n\t\tfor (handler in this.handlers) {\n\t\t\tthis.core.$element.off(handler, this.handlers[handler]);\n\t\t}\n\t\tfor (property in Object.getOwnPropertyNames(this)) {\n\t\t\ttypeof this[property] != 'function' && (this[property] = null);\n\t\t}\n\t};\n\n\t$.fn.owlCarousel.Constructor.Plugins.Animate = Animate;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * Autoplay Plugin\n * @version 2.3.4\n * @author Bartosz Wojciechowski\n * @author Artus Kolanowski\n * @author David Deutsch\n * @author Tom De Caluwé\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\n\t/**\n\t * Creates the autoplay plugin.\n\t * @class The Autoplay Plugin\n\t * @param {Owl} scope - The Owl Carousel\n\t */\n\tvar Autoplay = function(carousel) {\n\t\t/**\n\t\t * Reference to the core.\n\t\t * @protected\n\t\t * @type {Owl}\n\t\t */\n\t\tthis._core = carousel;\n\n\t\t/**\n\t\t * The autoplay timeout id.\n\t\t * @type {Number}\n\t\t */\n\t\tthis._call = null;\n\n\t\t/**\n\t\t * Depending on the state of the plugin, this variable contains either\n\t\t * the start time of the timer or the current timer value if it's\n\t\t * paused. Since we start in a paused state we initialize the timer\n\t\t * value.\n\t\t * @type {Number}\n\t\t */\n\t\tthis._time = 0;\n\n\t\t/**\n\t\t * Stores the timeout currently used.\n\t\t * @type {Number}\n\t\t */\n\t\tthis._timeout = 0;\n\n\t\t/**\n\t\t * Indicates whenever the autoplay is paused.\n\t\t * @type {Boolean}\n\t\t */\n\t\tthis._paused = true;\n\n\t\t/**\n\t\t * All event handlers.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._handlers = {\n\t\t\t'changed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && e.property.name === 'settings') {\n\t\t\t\t\tif (this._core.settings.autoplay) {\n\t\t\t\t\t\tthis.play();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.stop();\n\t\t\t\t\t}\n\t\t\t\t} else if (e.namespace && e.property.name === 'position' && this._paused) {\n\t\t\t\t\t// Reset the timer. This code is triggered when the position\n\t\t\t\t\t// of the carousel was changed through user interaction.\n\t\t\t\t\tthis._time = 0;\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'initialized.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.autoplay) {\n\t\t\t\t\tthis.play();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'play.owl.autoplay': $.proxy(function(e, t, s) {\n\t\t\t\tif (e.namespace) {\n\t\t\t\t\tthis.play(t, s);\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'stop.owl.autoplay': $.proxy(function(e) {\n\t\t\t\tif (e.namespace) {\n\t\t\t\t\tthis.stop();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'mouseover.owl.autoplay': $.proxy(function() {\n\t\t\t\tif (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {\n\t\t\t\t\tthis.pause();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'mouseleave.owl.autoplay': $.proxy(function() {\n\t\t\t\tif (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {\n\t\t\t\t\tthis.play();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'touchstart.owl.core': $.proxy(function() {\n\t\t\t\tif (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {\n\t\t\t\t\tthis.pause();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'touchend.owl.core': $.proxy(function() {\n\t\t\t\tif (this._core.settings.autoplayHoverPause) {\n\t\t\t\t\tthis.play();\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\t// register event handlers\n\t\tthis._core.$element.on(this._handlers);\n\n\t\t// set default options\n\t\tthis._core.options = $.extend({}, Autoplay.Defaults, this._core.options);\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t */\n\tAutoplay.Defaults = {\n\t\tautoplay: false,\n\t\tautoplayTimeout: 5000,\n\t\tautoplayHoverPause: false,\n\t\tautoplaySpeed: false\n\t};\n\n\t/**\n\t * Transition to the next slide and set a timeout for the next transition.\n\t * @private\n\t * @param {Number} [speed] - The animation speed for the animations.\n\t */\n\tAutoplay.prototype._next = function(speed) {\n\t\tthis._call = window.setTimeout(\n\t\t\t$.proxy(this._next, this, speed),\n\t\t\tthis._timeout * (Math.round(this.read() / this._timeout) + 1) - this.read()\n\t\t);\n\n\t\tif (this._core.is('interacting') || document.hidden) {\n\t\t\treturn;\n\t\t}\n\t\tthis._core.next(speed || this._core.settings.autoplaySpeed);\n\t}\n\n\t/**\n\t * Reads the current timer value when the timer is playing.\n\t * @public\n\t */\n\tAutoplay.prototype.read = function() {\n\t\treturn new Date().getTime() - this._time;\n\t};\n\n\t/**\n\t * Starts the autoplay.\n\t * @public\n\t * @param {Number} [timeout] - The interval before the next animation starts.\n\t * @param {Number} [speed] - The animation speed for the animations.\n\t */\n\tAutoplay.prototype.play = function(timeout, speed) {\n\t\tvar elapsed;\n\n\t\tif (!this._core.is('rotating')) {\n\t\t\tthis._core.enter('rotating');\n\t\t}\n\n\t\ttimeout = timeout || this._core.settings.autoplayTimeout;\n\n\t\t// Calculate the elapsed time since the last transition. If the carousel\n\t\t// wasn't playing this calculation will yield zero.\n\t\telapsed = Math.min(this._time % (this._timeout || timeout), timeout);\n\n\t\tif (this._paused) {\n\t\t\t// Start the clock.\n\t\t\tthis._time = this.read();\n\t\t\tthis._paused = false;\n\t\t} else {\n\t\t\t// Clear the active timeout to allow replacement.\n\t\t\twindow.clearTimeout(this._call);\n\t\t}\n\n\t\t// Adjust the origin of the timer to match the new timeout value.\n\t\tthis._time += this.read() % timeout - elapsed;\n\n\t\tthis._timeout = timeout;\n\t\tthis._call = window.setTimeout($.proxy(this._next, this, speed), timeout - elapsed);\n\t};\n\n\t/**\n\t * Stops the autoplay.\n\t * @public\n\t */\n\tAutoplay.prototype.stop = function() {\n\t\tif (this._core.is('rotating')) {\n\t\t\t// Reset the clock.\n\t\t\tthis._time = 0;\n\t\t\tthis._paused = true;\n\n\t\t\twindow.clearTimeout(this._call);\n\t\t\tthis._core.leave('rotating');\n\t\t}\n\t};\n\n\t/**\n\t * Pauses the autoplay.\n\t * @public\n\t */\n\tAutoplay.prototype.pause = function() {\n\t\tif (this._core.is('rotating') && !this._paused) {\n\t\t\t// Pause the clock.\n\t\t\tthis._time = this.read();\n\t\t\tthis._paused = true;\n\n\t\t\twindow.clearTimeout(this._call);\n\t\t}\n\t};\n\n\t/**\n\t * Destroys the plugin.\n\t */\n\tAutoplay.prototype.destroy = function() {\n\t\tvar handler, property;\n\n\t\tthis.stop();\n\n\t\tfor (handler in this._handlers) {\n\t\t\tthis._core.$element.off(handler, this._handlers[handler]);\n\t\t}\n\t\tfor (property in Object.getOwnPropertyNames(this)) {\n\t\t\ttypeof this[property] != 'function' && (this[property] = null);\n\t\t}\n\t};\n\n\t$.fn.owlCarousel.Constructor.Plugins.autoplay = Autoplay;\n\n})(window.Zepto || window.jQuery, window, document);\n\n/**\n * Navigation Plugin\n * @version 2.3.4\n * @author Artus Kolanowski\n * @author David Deutsch\n * @license The MIT License (MIT)\n */\n;(function($, window, document, undefined) {\n\t'use strict';\n\n\t/**\n\t * Creates the navigation plugin.\n\t * @class The Navigation Plugin\n\t * @param {Owl} carousel - The Owl Carousel.\n\t */\n\tvar Navigation = function(carousel) {\n\t\t/**\n\t\t * Reference to the core.\n\t\t * @protected\n\t\t * @type {Owl}\n\t\t */\n\t\tthis._core = carousel;\n\n\t\t/**\n\t\t * Indicates whether the plugin is initialized or not.\n\t\t * @protected\n\t\t * @type {Boolean}\n\t\t */\n\t\tthis._initialized = false;\n\n\t\t/**\n\t\t * The current paging indexes.\n\t\t * @protected\n\t\t * @type {Array}\n\t\t */\n\t\tthis._pages = [];\n\n\t\t/**\n\t\t * All DOM elements of the user interface.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._controls = {};\n\n\t\t/**\n\t\t * Markup for an indicator.\n\t\t * @protected\n\t\t * @type {Array.}\n\t\t */\n\t\tthis._templates = [];\n\n\t\t/**\n\t\t * The carousel element.\n\t\t * @type {jQuery}\n\t\t */\n\t\tthis.$element = this._core.$element;\n\n\t\t/**\n\t\t * Overridden methods of the carousel.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._overrides = {\n\t\t\tnext: this._core.next,\n\t\t\tprev: this._core.prev,\n\t\t\tto: this._core.to\n\t\t};\n\n\t\t/**\n\t\t * All event handlers.\n\t\t * @protected\n\t\t * @type {Object}\n\t\t */\n\t\tthis._handlers = {\n\t\t\t'prepared.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.dotsData) {\n\t\t\t\t\tthis._templates.push('
' +\n\t\t\t\t\t\t$(e.content).find('[data-dot]').addBack('[data-dot]').attr('data-dot') + '
');\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'added.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.dotsData) {\n\t\t\t\t\tthis._templates.splice(e.position, 0, this._templates.pop());\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'remove.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._core.settings.dotsData) {\n\t\t\t\t\tthis._templates.splice(e.position, 1);\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'changed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && e.property.name == 'position') {\n\t\t\t\t\tthis.draw();\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'initialized.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && !this._initialized) {\n\t\t\t\t\tthis._core.trigger('initialize', null, 'navigation');\n\t\t\t\t\tthis.initialize();\n\t\t\t\t\tthis.update();\n\t\t\t\t\tthis.draw();\n\t\t\t\t\tthis._initialized = true;\n\t\t\t\t\tthis._core.trigger('initialized', null, 'navigation');\n\t\t\t\t}\n\t\t\t}, this),\n\t\t\t'refreshed.owl.carousel': $.proxy(function(e) {\n\t\t\t\tif (e.namespace && this._initialized) {\n\t\t\t\t\tthis._core.trigger('refresh', null, 'navigation');\n\t\t\t\t\tthis.update();\n\t\t\t\t\tthis.draw();\n\t\t\t\t\tthis._core.trigger('refreshed', null, 'navigation');\n\t\t\t\t}\n\t\t\t}, this)\n\t\t};\n\n\t\t// set default options\n\t\tthis._core.options = $.extend({}, Navigation.Defaults, this._core.options);\n\n\t\t// register event handlers\n\t\tthis.$element.on(this._handlers);\n\t};\n\n\t/**\n\t * Default options.\n\t * @public\n\t * @todo Rename `slideBy` to `navBy`\n\t */\n\tNavigation.Defaults = {\n\t\tnav: false,\n\t\tnavText: [\n\t\t\t'',\n\t\t\t''\n\t\t],\n\t\tnavSpeed: false,\n\t\tnavElement: 'button type=\"button\" role=\"presentation\"',\n\t\tnavContainer: false,\n\t\tnavContainerClass: 'owl-nav',\n\t\tnavClass: [\n\t\t\t'owl-prev',\n\t\t\t'owl-next'\n\t\t],\n\t\tslideBy: 1,\n\t\tdotClass: 'owl-dot',\n\t\tdotsClass: 'owl-dots',\n\t\tdots: true,\n\t\tdotsEach: false,\n\t\tdotsData: false,\n\t\tdotsSpeed: false,\n\t\tdotsContainer: false\n\t};\n\n\t/**\n\t * Initializes the layout of the plugin and extends the carousel.\n\t * @protected\n\t */\n\tNavigation.prototype.initialize = function() {\n\t\tvar override,\n\t\t\tsettings = this._core.settings;\n\n\t\t// create DOM structure for relative navigation\n\t\tthis._controls.$relative = (settings.navContainer ? $(settings.navContainer)\n\t\t\t: $('
').addClass(settings.navContainerClass).appendTo(this.$element)).addClass('disabled');\n\n\t\tthis._controls.$previous = $('<' + settings.navElement + '>')\n\t\t\t.addClass(settings.navClass[0])\n\t\t\t.html(settings.navText[0])\n\t\t\t.prependTo(this._controls.$relative)\n\t\t\t.on('click', $.proxy(function(e) {\n\t\t\t\tthis.prev(settings.navSpeed);\n\t\t\t}, this));\n\t\tthis._controls.$next = $('<' + settings.navElement + '>')\n\t\t\t.addClass(settings.navClass[1])\n\t\t\t.html(settings.navText[1])\n\t\t\t.appendTo(this._controls.$relative)\n\t\t\t.on('click', $.proxy(function(e) {\n\t\t\t\tthis.next(settings.navSpeed);\n\t\t\t}, this));\n\n\t\t// create DOM structure for absolute navigation\n\t\tif (!settings.dotsData) {\n\t\t\tthis._templates = [ $('' +\r\n this.options.header +\r\n '
';\r\n }\r\n\r\n if (this.options.liveSearch) {\r\n searchbox =\r\n '
' +\r\n '' +\r\n '
';\r\n }\r\n\r\n if (this.multiple && this.options.actionsBox) {\r\n actionsbox =\r\n '
' +\r\n '
' +\r\n '' +\r\n '' +\r\n '
' +\r\n '
';\r\n }\r\n\r\n if (this.multiple && this.options.doneButton) {\r\n donebutton =\r\n '
' +\r\n '
' +\r\n '' +\r\n '
' +\r\n '
';\r\n }\r\n\r\n drop =\r\n '
' +\r\n '' +\r\n '
' +\r\n header +\r\n searchbox +\r\n actionsbox +\r\n '
' +\r\n '
    ' +\r\n '
' +\r\n '
' +\r\n donebutton +\r\n '
' +\r\n '
';\r\n\r\n return $(drop);\r\n },\r\n\r\n setPositionData: function () {\r\n this.selectpicker.view.canHighlight = [];\r\n this.selectpicker.view.size = 0;\r\n this.selectpicker.view.firstHighlightIndex = false;\r\n\r\n for (var i = 0; i < this.selectpicker.current.data.length; i++) {\r\n var li = this.selectpicker.current.data[i],\r\n canHighlight = true;\r\n\r\n if (li.type === 'divider') {\r\n canHighlight = false;\r\n li.height = this.sizeInfo.dividerHeight;\r\n } else if (li.type === 'optgroup-label') {\r\n canHighlight = false;\r\n li.height = this.sizeInfo.dropdownHeaderHeight;\r\n } else {\r\n li.height = this.sizeInfo.liHeight;\r\n }\r\n\r\n if (li.disabled) canHighlight = false;\r\n\r\n this.selectpicker.view.canHighlight.push(canHighlight);\r\n\r\n if (canHighlight) {\r\n this.selectpicker.view.size++;\r\n li.posinset = this.selectpicker.view.size;\r\n if (this.selectpicker.view.firstHighlightIndex === false) this.selectpicker.view.firstHighlightIndex = i;\r\n }\r\n\r\n li.position = (i === 0 ? 0 : this.selectpicker.current.data[i - 1].position) + li.height;\r\n }\r\n },\r\n\r\n isVirtual: function () {\r\n return (this.options.virtualScroll !== false) && (this.selectpicker.main.elements.length >= this.options.virtualScroll) || this.options.virtualScroll === true;\r\n },\r\n\r\n createView: function (isSearching, setSize, refresh) {\r\n var that = this,\r\n scrollTop = 0,\r\n active = [],\r\n selected,\r\n prevActive;\r\n\r\n this.selectpicker.isSearching = isSearching;\r\n this.selectpicker.current = isSearching ? this.selectpicker.search : this.selectpicker.main;\r\n\r\n this.setPositionData();\r\n\r\n if (setSize) {\r\n if (refresh) {\r\n scrollTop = this.$menuInner[0].scrollTop;\r\n } else if (!that.multiple) {\r\n var element = that.$element[0],\r\n selectedIndex = (element.options[element.selectedIndex] || {}).liIndex;\r\n\r\n if (typeof selectedIndex === 'number' && that.options.size !== false) {\r\n var selectedData = that.selectpicker.main.data[selectedIndex],\r\n position = selectedData && selectedData.position;\r\n\r\n if (position) {\r\n scrollTop = position - ((that.sizeInfo.menuInnerHeight + that.sizeInfo.liHeight) / 2);\r\n }\r\n }\r\n }\r\n }\r\n\r\n scroll(scrollTop, true);\r\n\r\n this.$menuInner.off('scroll.createView').on('scroll.createView', function (e, updateValue) {\r\n if (!that.noScroll) scroll(this.scrollTop, updateValue);\r\n that.noScroll = false;\r\n });\r\n\r\n function scroll (scrollTop, init) {\r\n var size = that.selectpicker.current.elements.length,\r\n chunks = [],\r\n chunkSize,\r\n chunkCount,\r\n firstChunk,\r\n lastChunk,\r\n currentChunk,\r\n prevPositions,\r\n positionIsDifferent,\r\n previousElements,\r\n menuIsDifferent = true,\r\n isVirtual = that.isVirtual();\r\n\r\n that.selectpicker.view.scrollTop = scrollTop;\r\n\r\n chunkSize = Math.ceil(that.sizeInfo.menuInnerHeight / that.sizeInfo.liHeight * 1.5); // number of options in a chunk\r\n chunkCount = Math.round(size / chunkSize) || 1; // number of chunks\r\n\r\n for (var i = 0; i < chunkCount; i++) {\r\n var endOfChunk = (i + 1) * chunkSize;\r\n\r\n if (i === chunkCount - 1) {\r\n endOfChunk = size;\r\n }\r\n\r\n chunks[i] = [\r\n (i) * chunkSize + (!i ? 0 : 1),\r\n endOfChunk\r\n ];\r\n\r\n if (!size) break;\r\n\r\n if (currentChunk === undefined && scrollTop - 1 <= that.selectpicker.current.data[endOfChunk - 1].position - that.sizeInfo.menuInnerHeight) {\r\n currentChunk = i;\r\n }\r\n }\r\n\r\n if (currentChunk === undefined) currentChunk = 0;\r\n\r\n prevPositions = [that.selectpicker.view.position0, that.selectpicker.view.position1];\r\n\r\n // always display previous, current, and next chunks\r\n firstChunk = Math.max(0, currentChunk - 1);\r\n lastChunk = Math.min(chunkCount - 1, currentChunk + 1);\r\n\r\n that.selectpicker.view.position0 = isVirtual === false ? 0 : (Math.max(0, chunks[firstChunk][0]) || 0);\r\n that.selectpicker.view.position1 = isVirtual === false ? size : (Math.min(size, chunks[lastChunk][1]) || 0);\r\n\r\n positionIsDifferent = prevPositions[0] !== that.selectpicker.view.position0 || prevPositions[1] !== that.selectpicker.view.position1;\r\n\r\n if (that.activeIndex !== undefined) {\r\n prevActive = that.selectpicker.main.elements[that.prevActiveIndex];\r\n active = that.selectpicker.main.elements[that.activeIndex];\r\n selected = that.selectpicker.main.elements[that.selectedIndex];\r\n\r\n if (init) {\r\n if (that.activeIndex !== that.selectedIndex) {\r\n that.defocusItem(active);\r\n }\r\n that.activeIndex = undefined;\r\n }\r\n\r\n if (that.activeIndex && that.activeIndex !== that.selectedIndex) {\r\n that.defocusItem(selected);\r\n }\r\n }\r\n\r\n if (that.prevActiveIndex !== undefined && that.prevActiveIndex !== that.activeIndex && that.prevActiveIndex !== that.selectedIndex) {\r\n that.defocusItem(prevActive);\r\n }\r\n\r\n if (init || positionIsDifferent) {\r\n previousElements = that.selectpicker.view.visibleElements ? that.selectpicker.view.visibleElements.slice() : [];\r\n\r\n if (isVirtual === false) {\r\n that.selectpicker.view.visibleElements = that.selectpicker.current.elements;\r\n } else {\r\n that.selectpicker.view.visibleElements = that.selectpicker.current.elements.slice(that.selectpicker.view.position0, that.selectpicker.view.position1);\r\n }\r\n\r\n that.setOptionStatus();\r\n\r\n // if searching, check to make sure the list has actually been updated before updating DOM\r\n // this prevents unnecessary repaints\r\n if (isSearching || (isVirtual === false && init)) menuIsDifferent = !isEqual(previousElements, that.selectpicker.view.visibleElements);\r\n\r\n // if virtual scroll is disabled and not searching,\r\n // menu should never need to be updated more than once\r\n if ((init || isVirtual === true) && menuIsDifferent) {\r\n var menuInner = that.$menuInner[0],\r\n menuFragment = document.createDocumentFragment(),\r\n emptyMenu = menuInner.firstChild.cloneNode(false),\r\n marginTop,\r\n marginBottom,\r\n elements = that.selectpicker.view.visibleElements,\r\n toSanitize = [];\r\n\r\n // replace the existing UL with an empty one - this is faster than $.empty()\r\n menuInner.replaceChild(emptyMenu, menuInner.firstChild);\r\n\r\n for (var i = 0, visibleElementsLen = elements.length; i < visibleElementsLen; i++) {\r\n var element = elements[i],\r\n elText,\r\n elementData;\r\n\r\n if (that.options.sanitize) {\r\n elText = element.lastChild;\r\n\r\n if (elText) {\r\n elementData = that.selectpicker.current.data[i + that.selectpicker.view.position0];\r\n\r\n if (elementData && elementData.content && !elementData.sanitized) {\r\n toSanitize.push(elText);\r\n elementData.sanitized = true;\r\n }\r\n }\r\n }\r\n\r\n menuFragment.appendChild(element);\r\n }\r\n\r\n if (that.options.sanitize && toSanitize.length) {\r\n sanitizeHtml(toSanitize, that.options.whiteList, that.options.sanitizeFn);\r\n }\r\n\r\n if (isVirtual === true) {\r\n marginTop = (that.selectpicker.view.position0 === 0 ? 0 : that.selectpicker.current.data[that.selectpicker.view.position0 - 1].position);\r\n marginBottom = (that.selectpicker.view.position1 > size - 1 ? 0 : that.selectpicker.current.data[size - 1].position - that.selectpicker.current.data[that.selectpicker.view.position1 - 1].position);\r\n\r\n menuInner.firstChild.style.marginTop = marginTop + 'px';\r\n menuInner.firstChild.style.marginBottom = marginBottom + 'px';\r\n } else {\r\n menuInner.firstChild.style.marginTop = 0;\r\n menuInner.firstChild.style.marginBottom = 0;\r\n }\r\n\r\n menuInner.firstChild.appendChild(menuFragment);\r\n\r\n // if an option is encountered that is wider than the current menu width, update the menu width accordingly\r\n // switch to ResizeObserver with increased browser support\r\n if (isVirtual === true && that.sizeInfo.hasScrollBar) {\r\n var menuInnerInnerWidth = menuInner.firstChild.offsetWidth;\r\n\r\n if (init && menuInnerInnerWidth < that.sizeInfo.menuInnerInnerWidth && that.sizeInfo.totalMenuWidth > that.sizeInfo.selectWidth) {\r\n menuInner.firstChild.style.minWidth = that.sizeInfo.menuInnerInnerWidth + 'px';\r\n } else if (menuInnerInnerWidth > that.sizeInfo.menuInnerInnerWidth) {\r\n // set to 0 to get actual width of menu\r\n that.$menu[0].style.minWidth = 0;\r\n\r\n var actualMenuWidth = menuInner.firstChild.offsetWidth;\r\n\r\n if (actualMenuWidth > that.sizeInfo.menuInnerInnerWidth) {\r\n that.sizeInfo.menuInnerInnerWidth = actualMenuWidth;\r\n menuInner.firstChild.style.minWidth = that.sizeInfo.menuInnerInnerWidth + 'px';\r\n }\r\n\r\n // reset to default CSS styling\r\n that.$menu[0].style.minWidth = '';\r\n }\r\n }\r\n }\r\n }\r\n\r\n that.prevActiveIndex = that.activeIndex;\r\n\r\n if (!that.options.liveSearch) {\r\n that.$menuInner.trigger('focus');\r\n } else if (isSearching && init) {\r\n var index = 0,\r\n newActive;\r\n\r\n if (!that.selectpicker.view.canHighlight[index]) {\r\n index = 1 + that.selectpicker.view.canHighlight.slice(1).indexOf(true);\r\n }\r\n\r\n newActive = that.selectpicker.view.visibleElements[index];\r\n\r\n that.defocusItem(that.selectpicker.view.currentActive);\r\n\r\n that.activeIndex = (that.selectpicker.current.data[index] || {}).index;\r\n\r\n that.focusItem(newActive);\r\n }\r\n }\r\n\r\n $(window)\r\n .off('resize' + EVENT_KEY + '.' + this.selectId + '.createView')\r\n .on('resize' + EVENT_KEY + '.' + this.selectId + '.createView', function () {\r\n var isActive = that.$newElement.hasClass(classNames.SHOW);\r\n\r\n if (isActive) scroll(that.$menuInner[0].scrollTop);\r\n });\r\n },\r\n\r\n focusItem: function (li, liData, noStyle) {\r\n if (li) {\r\n liData = liData || this.selectpicker.main.data[this.activeIndex];\r\n var a = li.firstChild;\r\n\r\n if (a) {\r\n a.setAttribute('aria-setsize', this.selectpicker.view.size);\r\n a.setAttribute('aria-posinset', liData.posinset);\r\n\r\n if (noStyle !== true) {\r\n this.focusedParent.setAttribute('aria-activedescendant', a.id);\r\n li.classList.add('active');\r\n a.classList.add('active');\r\n }\r\n }\r\n }\r\n },\r\n\r\n defocusItem: function (li) {\r\n if (li) {\r\n li.classList.remove('active');\r\n if (li.firstChild) li.firstChild.classList.remove('active');\r\n }\r\n },\r\n\r\n setPlaceholder: function () {\r\n var that = this,\r\n updateIndex = false;\r\n\r\n if (this.options.title && !this.multiple) {\r\n if (!this.selectpicker.view.titleOption) this.selectpicker.view.titleOption = document.createElement('option');\r\n\r\n // this option doesn't create a new
  • element, but does add a new option at the start,\r\n // so startIndex should increase to prevent having to check every option for the bs-title-option class\r\n updateIndex = true;\r\n\r\n var element = this.$element[0],\r\n selectTitleOption = false,\r\n titleNotAppended = !this.selectpicker.view.titleOption.parentNode,\r\n selectedIndex = element.selectedIndex,\r\n selectedOption = element.options[selectedIndex],\r\n navigation = window.performance && window.performance.getEntriesByType('navigation'),\r\n // Safari doesn't support getEntriesByType('navigation') - fall back to performance.navigation\r\n isNotBackForward = (navigation && navigation.length) ? navigation[0].type !== 'back_forward' : window.performance.navigation.type !== 2;\r\n\r\n if (titleNotAppended) {\r\n // Use native JS to prepend option (faster)\r\n this.selectpicker.view.titleOption.className = 'bs-title-option';\r\n this.selectpicker.view.titleOption.value = '';\r\n\r\n // Check if selected or data-selected attribute is already set on an option. If not, select the titleOption option.\r\n // the selected item may have been changed by user or programmatically before the bootstrap select plugin runs,\r\n // if so, the select will have the data-selected attribute\r\n selectTitleOption = !selectedOption || (selectedIndex === 0 && selectedOption.defaultSelected === false && this.$element.data('selected') === undefined);\r\n }\r\n\r\n if (titleNotAppended || this.selectpicker.view.titleOption.index !== 0) {\r\n element.insertBefore(this.selectpicker.view.titleOption, element.firstChild);\r\n }\r\n\r\n // Set selected *after* appending to select,\r\n // otherwise the option doesn't get selected in IE\r\n // set using selectedIndex, as setting the selected attr to true here doesn't work in IE11\r\n if (selectTitleOption && isNotBackForward) {\r\n element.selectedIndex = 0;\r\n } else if (document.readyState !== 'complete') {\r\n // if navigation type is back_forward, there's a chance the select will have its value set by BFCache\r\n // wait for that value to be set, then run render again\r\n window.addEventListener('pageshow', function () {\r\n if (that.selectpicker.view.displayedValue !== element.value) that.render();\r\n });\r\n }\r\n }\r\n\r\n return updateIndex;\r\n },\r\n\r\n buildData: function () {\r\n var optionSelector = ':not([hidden]):not([data-hidden=\"true\"])',\r\n mainData = [],\r\n optID = 0,\r\n startIndex = this.setPlaceholder() ? 1 : 0; // append the titleOption if necessary and skip the first option in the loop\r\n\r\n if (this.options.hideDisabled) optionSelector += ':not(:disabled)';\r\n\r\n var selectOptions = this.$element[0].querySelectorAll('select > *' + optionSelector);\r\n\r\n function addDivider (config) {\r\n var previousData = mainData[mainData.length - 1];\r\n\r\n // ensure optgroup doesn't create back-to-back dividers\r\n if (\r\n previousData &&\r\n previousData.type === 'divider' &&\r\n (previousData.optID || config.optID)\r\n ) {\r\n return;\r\n }\r\n\r\n config = config || {};\r\n config.type = 'divider';\r\n\r\n mainData.push(config);\r\n }\r\n\r\n function addOption (option, config) {\r\n config = config || {};\r\n\r\n config.divider = option.getAttribute('data-divider') === 'true';\r\n\r\n if (config.divider) {\r\n addDivider({\r\n optID: config.optID\r\n });\r\n } else {\r\n var liIndex = mainData.length,\r\n cssText = option.style.cssText,\r\n inlineStyle = cssText ? htmlEscape(cssText) : '',\r\n optionClass = (option.className || '') + (config.optgroupClass || '');\r\n\r\n if (config.optID) optionClass = 'opt ' + optionClass;\r\n\r\n config.optionClass = optionClass.trim();\r\n config.inlineStyle = inlineStyle;\r\n config.text = option.textContent;\r\n\r\n config.content = option.getAttribute('data-content');\r\n config.tokens = option.getAttribute('data-tokens');\r\n config.subtext = option.getAttribute('data-subtext');\r\n config.icon = option.getAttribute('data-icon');\r\n\r\n option.liIndex = liIndex;\r\n\r\n config.display = config.content || config.text;\r\n config.type = 'option';\r\n config.index = liIndex;\r\n config.option = option;\r\n config.selected = !!option.selected;\r\n config.disabled = config.disabled || !!option.disabled;\r\n\r\n mainData.push(config);\r\n }\r\n }\r\n\r\n function addOptgroup (index, selectOptions) {\r\n var optgroup = selectOptions[index],\r\n // skip placeholder option\r\n previous = index - 1 < startIndex ? false : selectOptions[index - 1],\r\n next = selectOptions[index + 1],\r\n options = optgroup.querySelectorAll('option' + optionSelector);\r\n\r\n if (!options.length) return;\r\n\r\n var config = {\r\n display: htmlEscape(optgroup.label),\r\n subtext: optgroup.getAttribute('data-subtext'),\r\n icon: optgroup.getAttribute('data-icon'),\r\n type: 'optgroup-label',\r\n optgroupClass: ' ' + (optgroup.className || '')\r\n },\r\n headerIndex,\r\n lastIndex;\r\n\r\n optID++;\r\n\r\n if (previous) {\r\n addDivider({ optID: optID });\r\n }\r\n\r\n config.optID = optID;\r\n\r\n mainData.push(config);\r\n\r\n for (var j = 0, len = options.length; j < len; j++) {\r\n var option = options[j];\r\n\r\n if (j === 0) {\r\n headerIndex = mainData.length - 1;\r\n lastIndex = headerIndex + len;\r\n }\r\n\r\n addOption(option, {\r\n headerIndex: headerIndex,\r\n lastIndex: lastIndex,\r\n optID: config.optID,\r\n optgroupClass: config.optgroupClass,\r\n disabled: optgroup.disabled\r\n });\r\n }\r\n\r\n if (next) {\r\n addDivider({ optID: optID });\r\n }\r\n }\r\n\r\n for (var len = selectOptions.length, i = startIndex; i < len; i++) {\r\n var item = selectOptions[i];\r\n\r\n if (item.tagName !== 'OPTGROUP') {\r\n addOption(item, {});\r\n } else {\r\n addOptgroup(i, selectOptions);\r\n }\r\n }\r\n\r\n this.selectpicker.main.data = this.selectpicker.current.data = mainData;\r\n },\r\n\r\n buildList: function () {\r\n var that = this,\r\n selectData = this.selectpicker.main.data,\r\n mainElements = [],\r\n widestOptionLength = 0;\r\n\r\n if ((that.options.showTick || that.multiple) && !elementTemplates.checkMark.parentNode) {\r\n elementTemplates.checkMark.className = this.options.iconBase + ' ' + that.options.tickIcon + ' check-mark';\r\n elementTemplates.a.appendChild(elementTemplates.checkMark);\r\n }\r\n\r\n function buildElement (item) {\r\n var liElement,\r\n combinedLength = 0;\r\n\r\n switch (item.type) {\r\n case 'divider':\r\n liElement = generateOption.li(\r\n false,\r\n classNames.DIVIDER,\r\n (item.optID ? item.optID + 'div' : undefined)\r\n );\r\n\r\n break;\r\n\r\n case 'option':\r\n liElement = generateOption.li(\r\n generateOption.a(\r\n generateOption.text.call(that, item),\r\n item.optionClass,\r\n item.inlineStyle\r\n ),\r\n '',\r\n item.optID\r\n );\r\n\r\n if (liElement.firstChild) {\r\n liElement.firstChild.id = that.selectId + '-' + item.index;\r\n }\r\n\r\n break;\r\n\r\n case 'optgroup-label':\r\n liElement = generateOption.li(\r\n generateOption.label.call(that, item),\r\n 'dropdown-header' + item.optgroupClass,\r\n item.optID\r\n );\r\n\r\n break;\r\n }\r\n\r\n item.element = liElement;\r\n mainElements.push(liElement);\r\n\r\n // count the number of characters in the option - not perfect, but should work in most cases\r\n if (item.display) combinedLength += item.display.length;\r\n if (item.subtext) combinedLength += item.subtext.length;\r\n // if there is an icon, ensure this option's width is checked\r\n if (item.icon) combinedLength += 1;\r\n\r\n if (combinedLength > widestOptionLength) {\r\n widestOptionLength = combinedLength;\r\n\r\n // guess which option is the widest\r\n // use this when calculating menu width\r\n // not perfect, but it's fast, and the width will be updating accordingly when scrolling\r\n that.selectpicker.view.widestOption = mainElements[mainElements.length - 1];\r\n }\r\n }\r\n\r\n for (var len = selectData.length, i = 0; i < len; i++) {\r\n var item = selectData[i];\r\n\r\n buildElement(item);\r\n }\r\n\r\n this.selectpicker.main.elements = this.selectpicker.current.elements = mainElements;\r\n },\r\n\r\n findLis: function () {\r\n return this.$menuInner.find('.inner > li');\r\n },\r\n\r\n render: function () {\r\n var that = this,\r\n element = this.$element[0],\r\n // ensure titleOption is appended and selected (if necessary) before getting selectedOptions\r\n placeholderSelected = this.setPlaceholder() && element.selectedIndex === 0,\r\n selectedOptions = getSelectedOptions(element, this.options.hideDisabled),\r\n selectedCount = selectedOptions.length,\r\n button = this.$button[0],\r\n buttonInner = button.querySelector('.filter-option-inner-inner'),\r\n multipleSeparator = document.createTextNode(this.options.multipleSeparator),\r\n titleFragment = elementTemplates.fragment.cloneNode(false),\r\n showCount,\r\n countMax,\r\n hasContent = false;\r\n\r\n button.classList.toggle('bs-placeholder', that.multiple ? !selectedCount : !getSelectValues(element, selectedOptions));\r\n\r\n if (!that.multiple && selectedOptions.length === 1) {\r\n that.selectpicker.view.displayedValue = getSelectValues(element, selectedOptions);\r\n }\r\n\r\n if (this.options.selectedTextFormat === 'static') {\r\n titleFragment = generateOption.text.call(this, { text: this.options.title }, true);\r\n } else {\r\n showCount = this.multiple && this.options.selectedTextFormat.indexOf('count') !== -1 && selectedCount > 1;\r\n\r\n // determine if the number of selected options will be shown (showCount === true)\r\n if (showCount) {\r\n countMax = this.options.selectedTextFormat.split('>');\r\n showCount = (countMax.length > 1 && selectedCount > countMax[1]) || (countMax.length === 1 && selectedCount >= 2);\r\n }\r\n\r\n // only loop through all selected options if the count won't be shown\r\n if (showCount === false) {\r\n if (!placeholderSelected) {\r\n for (var selectedIndex = 0; selectedIndex < selectedCount; selectedIndex++) {\r\n if (selectedIndex < 50) {\r\n var option = selectedOptions[selectedIndex],\r\n thisData = this.selectpicker.main.data[option.liIndex],\r\n titleOptions = {};\r\n\r\n if (this.multiple && selectedIndex > 0) {\r\n titleFragment.appendChild(multipleSeparator.cloneNode(false));\r\n }\r\n\r\n if (option.title) {\r\n titleOptions.text = option.title;\r\n } else if (thisData) {\r\n if (thisData.content && that.options.showContent) {\r\n titleOptions.content = thisData.content.toString();\r\n hasContent = true;\r\n } else {\r\n if (that.options.showIcon) {\r\n titleOptions.icon = thisData.icon;\r\n }\r\n if (that.options.showSubtext && !that.multiple && thisData.subtext) titleOptions.subtext = ' ' + thisData.subtext;\r\n titleOptions.text = option.textContent.trim();\r\n }\r\n }\r\n\r\n titleFragment.appendChild(generateOption.text.call(this, titleOptions, true));\r\n } else {\r\n break;\r\n }\r\n }\r\n\r\n // add ellipsis\r\n if (selectedCount > 49) {\r\n titleFragment.appendChild(document.createTextNode('...'));\r\n }\r\n }\r\n } else {\r\n var optionSelector = ':not([hidden]):not([data-hidden=\"true\"]):not([data-divider=\"true\"])';\r\n if (this.options.hideDisabled) optionSelector += ':not(:disabled)';\r\n\r\n // If this is a multiselect, and selectedTextFormat is count, then show 1 of 2 selected, etc.\r\n var totalCount = this.$element[0].querySelectorAll('select > option' + optionSelector + ', optgroup' + optionSelector + ' option' + optionSelector).length,\r\n tr8nText = (typeof this.options.countSelectedText === 'function') ? this.options.countSelectedText(selectedCount, totalCount) : this.options.countSelectedText;\r\n\r\n titleFragment = generateOption.text.call(this, {\r\n text: tr8nText.replace('{0}', selectedCount.toString()).replace('{1}', totalCount.toString())\r\n }, true);\r\n }\r\n }\r\n\r\n if (this.options.title == undefined) {\r\n // use .attr to ensure undefined is returned if title attribute is not set\r\n this.options.title = this.$element.attr('title');\r\n }\r\n\r\n // If the select doesn't have a title, then use the default, or if nothing is set at all, use noneSelectedText\r\n if (!titleFragment.childNodes.length) {\r\n titleFragment = generateOption.text.call(this, {\r\n text: typeof this.options.title !== 'undefined' ? this.options.title : this.options.noneSelectedText\r\n }, true);\r\n }\r\n\r\n // strip all HTML tags and trim the result, then unescape any escaped tags\r\n button.title = titleFragment.textContent.replace(/<[^>]*>?/g, '').trim();\r\n\r\n if (this.options.sanitize && hasContent) {\r\n sanitizeHtml([titleFragment], that.options.whiteList, that.options.sanitizeFn);\r\n }\r\n\r\n buttonInner.innerHTML = '';\r\n buttonInner.appendChild(titleFragment);\r\n\r\n if (version.major < 4 && this.$newElement[0].classList.contains('bs3-has-addon')) {\r\n var filterExpand = button.querySelector('.filter-expand'),\r\n clone = buttonInner.cloneNode(true);\r\n\r\n clone.className = 'filter-expand';\r\n\r\n if (filterExpand) {\r\n button.replaceChild(clone, filterExpand);\r\n } else {\r\n button.appendChild(clone);\r\n }\r\n }\r\n\r\n this.$element.trigger('rendered' + EVENT_KEY);\r\n },\r\n\r\n /**\r\n * @param [style]\r\n * @param [status]\r\n */\r\n setStyle: function (newStyle, status) {\r\n var button = this.$button[0],\r\n newElement = this.$newElement[0],\r\n style = this.options.style.trim(),\r\n buttonClass;\r\n\r\n if (this.$element.attr('class')) {\r\n this.$newElement.addClass(this.$element.attr('class').replace(/selectpicker|mobile-device|bs-select-hidden|validate\\[.*\\]/gi, ''));\r\n }\r\n\r\n if (version.major < 4) {\r\n newElement.classList.add('bs3');\r\n\r\n if (newElement.parentNode.classList && newElement.parentNode.classList.contains('input-group') &&\r\n (newElement.previousElementSibling || newElement.nextElementSibling) &&\r\n (newElement.previousElementSibling || newElement.nextElementSibling).classList.contains('input-group-addon')\r\n ) {\r\n newElement.classList.add('bs3-has-addon');\r\n }\r\n }\r\n\r\n if (newStyle) {\r\n buttonClass = newStyle.trim();\r\n } else {\r\n buttonClass = style;\r\n }\r\n\r\n if (status == 'add') {\r\n if (buttonClass) button.classList.add.apply(button.classList, buttonClass.split(' '));\r\n } else if (status == 'remove') {\r\n if (buttonClass) button.classList.remove.apply(button.classList, buttonClass.split(' '));\r\n } else {\r\n if (style) button.classList.remove.apply(button.classList, style.split(' '));\r\n if (buttonClass) button.classList.add.apply(button.classList, buttonClass.split(' '));\r\n }\r\n },\r\n\r\n liHeight: function (refresh) {\r\n if (!refresh && (this.options.size === false || Object.keys(this.sizeInfo).length)) return;\r\n\r\n var newElement = elementTemplates.div.cloneNode(false),\r\n menu = elementTemplates.div.cloneNode(false),\r\n menuInner = elementTemplates.div.cloneNode(false),\r\n menuInnerInner = document.createElement('ul'),\r\n divider = elementTemplates.li.cloneNode(false),\r\n dropdownHeader = elementTemplates.li.cloneNode(false),\r\n li,\r\n a = elementTemplates.a.cloneNode(false),\r\n text = elementTemplates.span.cloneNode(false),\r\n header = this.options.header && this.$menu.find('.' + classNames.POPOVERHEADER).length > 0 ? this.$menu.find('.' + classNames.POPOVERHEADER)[0].cloneNode(true) : null,\r\n search = this.options.liveSearch ? elementTemplates.div.cloneNode(false) : null,\r\n actions = this.options.actionsBox && this.multiple && this.$menu.find('.bs-actionsbox').length > 0 ? this.$menu.find('.bs-actionsbox')[0].cloneNode(true) : null,\r\n doneButton = this.options.doneButton && this.multiple && this.$menu.find('.bs-donebutton').length > 0 ? this.$menu.find('.bs-donebutton')[0].cloneNode(true) : null,\r\n firstOption = this.$element.find('option')[0];\r\n\r\n this.sizeInfo.selectWidth = this.$newElement[0].offsetWidth;\r\n\r\n text.className = 'text';\r\n a.className = 'dropdown-item ' + (firstOption ? firstOption.className : '');\r\n newElement.className = this.$menu[0].parentNode.className + ' ' + classNames.SHOW;\r\n newElement.style.width = 0; // ensure button width doesn't affect natural width of menu when calculating\r\n if (this.options.width === 'auto') menu.style.minWidth = 0;\r\n menu.className = classNames.MENU + ' ' + classNames.SHOW;\r\n menuInner.className = 'inner ' + classNames.SHOW;\r\n menuInnerInner.className = classNames.MENU + ' inner ' + (version.major === '4' ? classNames.SHOW : '');\r\n divider.className = classNames.DIVIDER;\r\n dropdownHeader.className = 'dropdown-header';\r\n\r\n text.appendChild(document.createTextNode('\\u200b'));\r\n\r\n if (this.selectpicker.current.data.length) {\r\n for (var i = 0; i < this.selectpicker.current.data.length; i++) {\r\n var data = this.selectpicker.current.data[i];\r\n if (data.type === 'option') {\r\n li = data.element;\r\n break;\r\n }\r\n }\r\n } else {\r\n li = elementTemplates.li.cloneNode(false);\r\n a.appendChild(text);\r\n li.appendChild(a);\r\n }\r\n\r\n dropdownHeader.appendChild(text.cloneNode(true));\r\n\r\n if (this.selectpicker.view.widestOption) {\r\n menuInnerInner.appendChild(this.selectpicker.view.widestOption.cloneNode(true));\r\n }\r\n\r\n menuInnerInner.appendChild(li);\r\n menuInnerInner.appendChild(divider);\r\n menuInnerInner.appendChild(dropdownHeader);\r\n if (header) menu.appendChild(header);\r\n if (search) {\r\n var input = document.createElement('input');\r\n search.className = 'bs-searchbox';\r\n input.className = 'form-control';\r\n search.appendChild(input);\r\n menu.appendChild(search);\r\n }\r\n if (actions) menu.appendChild(actions);\r\n menuInner.appendChild(menuInnerInner);\r\n menu.appendChild(menuInner);\r\n if (doneButton) menu.appendChild(doneButton);\r\n newElement.appendChild(menu);\r\n\r\n document.body.appendChild(newElement);\r\n\r\n var liHeight = li.offsetHeight,\r\n dropdownHeaderHeight = dropdownHeader ? dropdownHeader.offsetHeight : 0,\r\n headerHeight = header ? header.offsetHeight : 0,\r\n searchHeight = search ? search.offsetHeight : 0,\r\n actionsHeight = actions ? actions.offsetHeight : 0,\r\n doneButtonHeight = doneButton ? doneButton.offsetHeight : 0,\r\n dividerHeight = $(divider).outerHeight(true),\r\n // fall back to jQuery if getComputedStyle is not supported\r\n menuStyle = window.getComputedStyle ? window.getComputedStyle(menu) : false,\r\n menuWidth = menu.offsetWidth,\r\n $menu = menuStyle ? null : $(menu),\r\n menuPadding = {\r\n vert: toInteger(menuStyle ? menuStyle.paddingTop : $menu.css('paddingTop')) +\r\n toInteger(menuStyle ? menuStyle.paddingBottom : $menu.css('paddingBottom')) +\r\n toInteger(menuStyle ? menuStyle.borderTopWidth : $menu.css('borderTopWidth')) +\r\n toInteger(menuStyle ? menuStyle.borderBottomWidth : $menu.css('borderBottomWidth')),\r\n horiz: toInteger(menuStyle ? menuStyle.paddingLeft : $menu.css('paddingLeft')) +\r\n toInteger(menuStyle ? menuStyle.paddingRight : $menu.css('paddingRight')) +\r\n toInteger(menuStyle ? menuStyle.borderLeftWidth : $menu.css('borderLeftWidth')) +\r\n toInteger(menuStyle ? menuStyle.borderRightWidth : $menu.css('borderRightWidth'))\r\n },\r\n menuExtras = {\r\n vert: menuPadding.vert +\r\n toInteger(menuStyle ? menuStyle.marginTop : $menu.css('marginTop')) +\r\n toInteger(menuStyle ? menuStyle.marginBottom : $menu.css('marginBottom')) + 2,\r\n horiz: menuPadding.horiz +\r\n toInteger(menuStyle ? menuStyle.marginLeft : $menu.css('marginLeft')) +\r\n toInteger(menuStyle ? menuStyle.marginRight : $menu.css('marginRight')) + 2\r\n },\r\n scrollBarWidth;\r\n\r\n menuInner.style.overflowY = 'scroll';\r\n\r\n scrollBarWidth = menu.offsetWidth - menuWidth;\r\n\r\n document.body.removeChild(newElement);\r\n\r\n this.sizeInfo.liHeight = liHeight;\r\n this.sizeInfo.dropdownHeaderHeight = dropdownHeaderHeight;\r\n this.sizeInfo.headerHeight = headerHeight;\r\n this.sizeInfo.searchHeight = searchHeight;\r\n this.sizeInfo.actionsHeight = actionsHeight;\r\n this.sizeInfo.doneButtonHeight = doneButtonHeight;\r\n this.sizeInfo.dividerHeight = dividerHeight;\r\n this.sizeInfo.menuPadding = menuPadding;\r\n this.sizeInfo.menuExtras = menuExtras;\r\n this.sizeInfo.menuWidth = menuWidth;\r\n this.sizeInfo.menuInnerInnerWidth = menuWidth - menuPadding.horiz;\r\n this.sizeInfo.totalMenuWidth = this.sizeInfo.menuWidth;\r\n this.sizeInfo.scrollBarWidth = scrollBarWidth;\r\n this.sizeInfo.selectHeight = this.$newElement[0].offsetHeight;\r\n\r\n this.setPositionData();\r\n },\r\n\r\n getSelectPosition: function () {\r\n var that = this,\r\n $window = $(window),\r\n pos = that.$newElement.offset(),\r\n $container = $(that.options.container),\r\n containerPos;\r\n\r\n if (that.options.container && $container.length && !$container.is('body')) {\r\n containerPos = $container.offset();\r\n containerPos.top += parseInt($container.css('borderTopWidth'));\r\n containerPos.left += parseInt($container.css('borderLeftWidth'));\r\n } else {\r\n containerPos = { top: 0, left: 0 };\r\n }\r\n\r\n var winPad = that.options.windowPadding;\r\n\r\n this.sizeInfo.selectOffsetTop = pos.top - containerPos.top - $window.scrollTop();\r\n this.sizeInfo.selectOffsetBot = $window.height() - this.sizeInfo.selectOffsetTop - this.sizeInfo.selectHeight - containerPos.top - winPad[2];\r\n this.sizeInfo.selectOffsetLeft = pos.left - containerPos.left - $window.scrollLeft();\r\n this.sizeInfo.selectOffsetRight = $window.width() - this.sizeInfo.selectOffsetLeft - this.sizeInfo.selectWidth - containerPos.left - winPad[1];\r\n this.sizeInfo.selectOffsetTop -= winPad[0];\r\n this.sizeInfo.selectOffsetLeft -= winPad[3];\r\n },\r\n\r\n setMenuSize: function (isAuto) {\r\n this.getSelectPosition();\r\n\r\n var selectWidth = this.sizeInfo.selectWidth,\r\n liHeight = this.sizeInfo.liHeight,\r\n headerHeight = this.sizeInfo.headerHeight,\r\n searchHeight = this.sizeInfo.searchHeight,\r\n actionsHeight = this.sizeInfo.actionsHeight,\r\n doneButtonHeight = this.sizeInfo.doneButtonHeight,\r\n divHeight = this.sizeInfo.dividerHeight,\r\n menuPadding = this.sizeInfo.menuPadding,\r\n menuInnerHeight,\r\n menuHeight,\r\n divLength = 0,\r\n minHeight,\r\n _minHeight,\r\n maxHeight,\r\n menuInnerMinHeight,\r\n estimate,\r\n isDropup;\r\n\r\n if (this.options.dropupAuto) {\r\n // Get the estimated height of the menu without scrollbars.\r\n // This is useful for smaller menus, where there might be plenty of room\r\n // below the button without setting dropup, but we can't know\r\n // the exact height of the menu until createView is called later\r\n estimate = liHeight * this.selectpicker.current.elements.length + menuPadding.vert;\r\n\r\n isDropup = this.sizeInfo.selectOffsetTop - this.sizeInfo.selectOffsetBot > this.sizeInfo.menuExtras.vert && estimate + this.sizeInfo.menuExtras.vert + 50 > this.sizeInfo.selectOffsetBot;\r\n\r\n // ensure dropup doesn't change while searching (so menu doesn't bounce back and forth)\r\n if (this.selectpicker.isSearching === true) {\r\n isDropup = this.selectpicker.dropup;\r\n }\r\n\r\n this.$newElement.toggleClass(classNames.DROPUP, isDropup);\r\n this.selectpicker.dropup = isDropup;\r\n }\r\n\r\n if (this.options.size === 'auto') {\r\n _minHeight = this.selectpicker.current.elements.length > 3 ? this.sizeInfo.liHeight * 3 + this.sizeInfo.menuExtras.vert - 2 : 0;\r\n menuHeight = this.sizeInfo.selectOffsetBot - this.sizeInfo.menuExtras.vert;\r\n minHeight = _minHeight + headerHeight + searchHeight + actionsHeight + doneButtonHeight;\r\n menuInnerMinHeight = Math.max(_minHeight - menuPadding.vert, 0);\r\n\r\n if (this.$newElement.hasClass(classNames.DROPUP)) {\r\n menuHeight = this.sizeInfo.selectOffsetTop - this.sizeInfo.menuExtras.vert;\r\n }\r\n\r\n maxHeight = menuHeight;\r\n menuInnerHeight = menuHeight - headerHeight - searchHeight - actionsHeight - doneButtonHeight - menuPadding.vert;\r\n } else if (this.options.size && this.options.size != 'auto' && this.selectpicker.current.elements.length > this.options.size) {\r\n for (var i = 0; i < this.options.size; i++) {\r\n if (this.selectpicker.current.data[i].type === 'divider') divLength++;\r\n }\r\n\r\n menuHeight = liHeight * this.options.size + divLength * divHeight + menuPadding.vert;\r\n menuInnerHeight = menuHeight - menuPadding.vert;\r\n maxHeight = menuHeight + headerHeight + searchHeight + actionsHeight + doneButtonHeight;\r\n minHeight = menuInnerMinHeight = '';\r\n }\r\n\r\n this.$menu.css({\r\n 'max-height': maxHeight + 'px',\r\n 'overflow': 'hidden',\r\n 'min-height': minHeight + 'px'\r\n });\r\n\r\n this.$menuInner.css({\r\n 'max-height': menuInnerHeight + 'px',\r\n 'overflow-y': 'auto',\r\n 'min-height': menuInnerMinHeight + 'px'\r\n });\r\n\r\n // ensure menuInnerHeight is always a positive number to prevent issues calculating chunkSize in createView\r\n this.sizeInfo.menuInnerHeight = Math.max(menuInnerHeight, 1);\r\n\r\n if (this.selectpicker.current.data.length && this.selectpicker.current.data[this.selectpicker.current.data.length - 1].position > this.sizeInfo.menuInnerHeight) {\r\n this.sizeInfo.hasScrollBar = true;\r\n this.sizeInfo.totalMenuWidth = this.sizeInfo.menuWidth + this.sizeInfo.scrollBarWidth;\r\n }\r\n\r\n if (this.options.dropdownAlignRight === 'auto') {\r\n this.$menu.toggleClass(classNames.MENURIGHT, this.sizeInfo.selectOffsetLeft > this.sizeInfo.selectOffsetRight && this.sizeInfo.selectOffsetRight < (this.sizeInfo.totalMenuWidth - selectWidth));\r\n }\r\n\r\n if (this.dropdown && this.dropdown._popper) this.dropdown._popper.update();\r\n },\r\n\r\n setSize: function (refresh) {\r\n this.liHeight(refresh);\r\n\r\n if (this.options.header) this.$menu.css('padding-top', 0);\r\n\r\n if (this.options.size !== false) {\r\n var that = this,\r\n $window = $(window);\r\n\r\n this.setMenuSize();\r\n\r\n if (this.options.liveSearch) {\r\n this.$searchbox\r\n .off('input.setMenuSize propertychange.setMenuSize')\r\n .on('input.setMenuSize propertychange.setMenuSize', function () {\r\n return that.setMenuSize();\r\n });\r\n }\r\n\r\n if (this.options.size === 'auto') {\r\n $window\r\n .off('resize' + EVENT_KEY + '.' + this.selectId + '.setMenuSize' + ' scroll' + EVENT_KEY + '.' + this.selectId + '.setMenuSize')\r\n .on('resize' + EVENT_KEY + '.' + this.selectId + '.setMenuSize' + ' scroll' + EVENT_KEY + '.' + this.selectId + '.setMenuSize', function () {\r\n return that.setMenuSize();\r\n });\r\n } else if (this.options.size && this.options.size != 'auto' && this.selectpicker.current.elements.length > this.options.size) {\r\n $window.off('resize' + EVENT_KEY + '.' + this.selectId + '.setMenuSize' + ' scroll' + EVENT_KEY + '.' + this.selectId + '.setMenuSize');\r\n }\r\n }\r\n\r\n this.createView(false, true, refresh);\r\n },\r\n\r\n setWidth: function () {\r\n var that = this;\r\n\r\n if (this.options.width === 'auto') {\r\n requestAnimationFrame(function () {\r\n that.$menu.css('min-width', '0');\r\n\r\n that.$element.on('loaded' + EVENT_KEY, function () {\r\n that.liHeight();\r\n that.setMenuSize();\r\n\r\n // Get correct width if element is hidden\r\n var $selectClone = that.$newElement.clone().appendTo('body'),\r\n btnWidth = $selectClone.css('width', 'auto').children('button').outerWidth();\r\n\r\n $selectClone.remove();\r\n\r\n // Set width to whatever's larger, button title or longest option\r\n that.sizeInfo.selectWidth = Math.max(that.sizeInfo.totalMenuWidth, btnWidth);\r\n that.$newElement.css('width', that.sizeInfo.selectWidth + 'px');\r\n });\r\n });\r\n } else if (this.options.width === 'fit') {\r\n // Remove inline min-width so width can be changed from 'auto'\r\n this.$menu.css('min-width', '');\r\n this.$newElement.css('width', '').addClass('fit-width');\r\n } else if (this.options.width) {\r\n // Remove inline min-width so width can be changed from 'auto'\r\n this.$menu.css('min-width', '');\r\n this.$newElement.css('width', this.options.width);\r\n } else {\r\n // Remove inline min-width/width so width can be changed\r\n this.$menu.css('min-width', '');\r\n this.$newElement.css('width', '');\r\n }\r\n // Remove fit-width class if width is changed programmatically\r\n if (this.$newElement.hasClass('fit-width') && this.options.width !== 'fit') {\r\n this.$newElement[0].classList.remove('fit-width');\r\n }\r\n },\r\n\r\n selectPosition: function () {\r\n this.$bsContainer = $('
    ');\r\n\r\n var that = this,\r\n $container = $(this.options.container),\r\n pos,\r\n containerPos,\r\n actualHeight,\r\n getPlacement = function ($element) {\r\n var containerPosition = {},\r\n // fall back to dropdown's default display setting if display is not manually set\r\n display = that.options.display || (\r\n // Bootstrap 3 doesn't have $.fn.dropdown.Constructor.Default\r\n $.fn.dropdown.Constructor.Default ? $.fn.dropdown.Constructor.Default.display\r\n : false\r\n );\r\n\r\n that.$bsContainer.addClass($element.attr('class').replace(/form-control|fit-width/gi, '')).toggleClass(classNames.DROPUP, $element.hasClass(classNames.DROPUP));\r\n pos = $element.offset();\r\n\r\n if (!$container.is('body')) {\r\n containerPos = $container.offset();\r\n containerPos.top += parseInt($container.css('borderTopWidth')) - $container.scrollTop();\r\n containerPos.left += parseInt($container.css('borderLeftWidth')) - $container.scrollLeft();\r\n } else {\r\n containerPos = { top: 0, left: 0 };\r\n }\r\n\r\n actualHeight = $element.hasClass(classNames.DROPUP) ? 0 : $element[0].offsetHeight;\r\n\r\n // Bootstrap 4+ uses Popper for menu positioning\r\n if (version.major < 4 || display === 'static') {\r\n containerPosition.top = pos.top - containerPos.top + actualHeight;\r\n containerPosition.left = pos.left - containerPos.left;\r\n }\r\n\r\n containerPosition.width = $element[0].offsetWidth;\r\n\r\n that.$bsContainer.css(containerPosition);\r\n };\r\n\r\n this.$button.on('click.bs.dropdown.data-api', function () {\r\n if (that.isDisabled()) {\r\n return;\r\n }\r\n\r\n getPlacement(that.$newElement);\r\n\r\n that.$bsContainer\r\n .appendTo(that.options.container)\r\n .toggleClass(classNames.SHOW, !that.$button.hasClass(classNames.SHOW))\r\n .append(that.$menu);\r\n });\r\n\r\n $(window)\r\n .off('resize' + EVENT_KEY + '.' + this.selectId + ' scroll' + EVENT_KEY + '.' + this.selectId)\r\n .on('resize' + EVENT_KEY + '.' + this.selectId + ' scroll' + EVENT_KEY + '.' + this.selectId, function () {\r\n var isActive = that.$newElement.hasClass(classNames.SHOW);\r\n\r\n if (isActive) getPlacement(that.$newElement);\r\n });\r\n\r\n this.$element.on('hide' + EVENT_KEY, function () {\r\n that.$menu.data('height', that.$menu.height());\r\n that.$bsContainer.detach();\r\n });\r\n },\r\n\r\n setOptionStatus: function (selectedOnly) {\r\n var that = this;\r\n\r\n that.noScroll = false;\r\n\r\n if (that.selectpicker.view.visibleElements && that.selectpicker.view.visibleElements.length) {\r\n for (var i = 0; i < that.selectpicker.view.visibleElements.length; i++) {\r\n var liData = that.selectpicker.current.data[i + that.selectpicker.view.position0],\r\n option = liData.option;\r\n\r\n if (option) {\r\n if (selectedOnly !== true) {\r\n that.setDisabled(\r\n liData.index,\r\n liData.disabled\r\n );\r\n }\r\n\r\n that.setSelected(\r\n liData.index,\r\n option.selected\r\n );\r\n }\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * @param {number} index - the index of the option that is being changed\r\n * @param {boolean} selected - true if the option is being selected, false if being deselected\r\n */\r\n setSelected: function (index, selected) {\r\n var li = this.selectpicker.main.elements[index],\r\n liData = this.selectpicker.main.data[index],\r\n activeIndexIsSet = this.activeIndex !== undefined,\r\n thisIsActive = this.activeIndex === index,\r\n prevActive,\r\n a,\r\n // if current option is already active\r\n // OR\r\n // if the current option is being selected, it's NOT multiple, and\r\n // activeIndex is undefined:\r\n // - when the menu is first being opened, OR\r\n // - after a search has been performed, OR\r\n // - when retainActive is false when selecting a new option (i.e. index of the newly selected option is not the same as the current activeIndex)\r\n keepActive = thisIsActive || (selected && !this.multiple && !activeIndexIsSet);\r\n\r\n liData.selected = selected;\r\n\r\n a = li.firstChild;\r\n\r\n if (selected) {\r\n this.selectedIndex = index;\r\n }\r\n\r\n li.classList.toggle('selected', selected);\r\n\r\n if (keepActive) {\r\n this.focusItem(li, liData);\r\n this.selectpicker.view.currentActive = li;\r\n this.activeIndex = index;\r\n } else {\r\n this.defocusItem(li);\r\n }\r\n\r\n if (a) {\r\n a.classList.toggle('selected', selected);\r\n\r\n if (selected) {\r\n a.setAttribute('aria-selected', true);\r\n } else {\r\n if (this.multiple) {\r\n a.setAttribute('aria-selected', false);\r\n } else {\r\n a.removeAttribute('aria-selected');\r\n }\r\n }\r\n }\r\n\r\n if (!keepActive && !activeIndexIsSet && selected && this.prevActiveIndex !== undefined) {\r\n prevActive = this.selectpicker.main.elements[this.prevActiveIndex];\r\n\r\n this.defocusItem(prevActive);\r\n }\r\n },\r\n\r\n /**\r\n * @param {number} index - the index of the option that is being disabled\r\n * @param {boolean} disabled - true if the option is being disabled, false if being enabled\r\n */\r\n setDisabled: function (index, disabled) {\r\n var li = this.selectpicker.main.elements[index],\r\n a;\r\n\r\n this.selectpicker.main.data[index].disabled = disabled;\r\n\r\n a = li.firstChild;\r\n\r\n li.classList.toggle(classNames.DISABLED, disabled);\r\n\r\n if (a) {\r\n if (version.major === '4') a.classList.toggle(classNames.DISABLED, disabled);\r\n\r\n if (disabled) {\r\n a.setAttribute('aria-disabled', disabled);\r\n a.setAttribute('tabindex', -1);\r\n } else {\r\n a.removeAttribute('aria-disabled');\r\n a.setAttribute('tabindex', 0);\r\n }\r\n }\r\n },\r\n\r\n isDisabled: function () {\r\n return this.$element[0].disabled;\r\n },\r\n\r\n checkDisabled: function () {\r\n if (this.isDisabled()) {\r\n this.$newElement[0].classList.add(classNames.DISABLED);\r\n this.$button.addClass(classNames.DISABLED).attr('aria-disabled', true);\r\n } else {\r\n if (this.$button[0].classList.contains(classNames.DISABLED)) {\r\n this.$newElement[0].classList.remove(classNames.DISABLED);\r\n this.$button.removeClass(classNames.DISABLED).attr('aria-disabled', false);\r\n }\r\n }\r\n },\r\n\r\n clickListener: function () {\r\n var that = this,\r\n $document = $(document);\r\n\r\n $document.data('spaceSelect', false);\r\n\r\n this.$button.on('keyup', function (e) {\r\n if (/(32)/.test(e.keyCode.toString(10)) && $document.data('spaceSelect')) {\r\n e.preventDefault();\r\n $document.data('spaceSelect', false);\r\n }\r\n });\r\n\r\n this.$newElement.on('show.bs.dropdown', function () {\r\n if (version.major > 3 && !that.dropdown) {\r\n that.dropdown = that.$button.data('bs.dropdown');\r\n that.dropdown._menu = that.$menu[0];\r\n }\r\n });\r\n\r\n this.$button.on('click.bs.dropdown.data-api', function () {\r\n if (!that.$newElement.hasClass(classNames.SHOW)) {\r\n that.setSize();\r\n }\r\n });\r\n\r\n function setFocus () {\r\n if (that.options.liveSearch) {\r\n that.$searchbox.trigger('focus');\r\n } else {\r\n that.$menuInner.trigger('focus');\r\n }\r\n }\r\n\r\n function checkPopperExists () {\r\n if (that.dropdown && that.dropdown._popper && that.dropdown._popper.state.isCreated) {\r\n setFocus();\r\n } else {\r\n requestAnimationFrame(checkPopperExists);\r\n }\r\n }\r\n\r\n this.$element.on('shown' + EVENT_KEY, function () {\r\n if (that.$menuInner[0].scrollTop !== that.selectpicker.view.scrollTop) {\r\n that.$menuInner[0].scrollTop = that.selectpicker.view.scrollTop;\r\n }\r\n\r\n if (version.major > 3) {\r\n requestAnimationFrame(checkPopperExists);\r\n } else {\r\n setFocus();\r\n }\r\n });\r\n\r\n // ensure posinset and setsize are correct before selecting an option via a click\r\n this.$menuInner.on('mouseenter', 'li a', function (e) {\r\n var hoverLi = this.parentElement,\r\n position0 = that.isVirtual() ? that.selectpicker.view.position0 : 0,\r\n index = Array.prototype.indexOf.call(hoverLi.parentElement.children, hoverLi),\r\n hoverData = that.selectpicker.current.data[index + position0];\r\n\r\n that.focusItem(hoverLi, hoverData, true);\r\n });\r\n\r\n this.$menuInner.on('click', 'li a', function (e, retainActive) {\r\n var $this = $(this),\r\n element = that.$element[0],\r\n position0 = that.isVirtual() ? that.selectpicker.view.position0 : 0,\r\n clickedData = that.selectpicker.current.data[$this.parent().index() + position0],\r\n clickedIndex = clickedData.index,\r\n prevValue = getSelectValues(element),\r\n prevIndex = element.selectedIndex,\r\n prevOption = element.options[prevIndex],\r\n triggerChange = true;\r\n\r\n // Don't close on multi choice menu\r\n if (that.multiple && that.options.maxOptions !== 1) {\r\n e.stopPropagation();\r\n }\r\n\r\n e.preventDefault();\r\n\r\n // Don't run if the select is disabled\r\n if (!that.isDisabled() && !$this.parent().hasClass(classNames.DISABLED)) {\r\n var option = clickedData.option,\r\n $option = $(option),\r\n state = option.selected,\r\n $optgroup = $option.parent('optgroup'),\r\n $optgroupOptions = $optgroup.find('option'),\r\n maxOptions = that.options.maxOptions,\r\n maxOptionsGrp = $optgroup.data('maxOptions') || false;\r\n\r\n if (clickedIndex === that.activeIndex) retainActive = true;\r\n\r\n if (!retainActive) {\r\n that.prevActiveIndex = that.activeIndex;\r\n that.activeIndex = undefined;\r\n }\r\n\r\n if (!that.multiple) { // Deselect all others if not multi select box\r\n if (prevOption) prevOption.selected = false;\r\n option.selected = true;\r\n that.setSelected(clickedIndex, true);\r\n } else { // Toggle the one we have chosen if we are multi select.\r\n option.selected = !state;\r\n\r\n that.setSelected(clickedIndex, !state);\r\n that.focusedParent.focus();\r\n\r\n if (maxOptions !== false || maxOptionsGrp !== false) {\r\n var maxReached = maxOptions < getSelectedOptions(element).length,\r\n maxReachedGrp = maxOptionsGrp < $optgroup.find('option:selected').length;\r\n\r\n if ((maxOptions && maxReached) || (maxOptionsGrp && maxReachedGrp)) {\r\n if (maxOptions && maxOptions == 1) {\r\n element.selectedIndex = -1;\r\n option.selected = true;\r\n that.setOptionStatus(true);\r\n } else if (maxOptionsGrp && maxOptionsGrp == 1) {\r\n for (var i = 0; i < $optgroupOptions.length; i++) {\r\n var _option = $optgroupOptions[i];\r\n _option.selected = false;\r\n that.setSelected(_option.liIndex, false);\r\n }\r\n\r\n option.selected = true;\r\n that.setSelected(clickedIndex, true);\r\n } else {\r\n var maxOptionsText = typeof that.options.maxOptionsText === 'string' ? [that.options.maxOptionsText, that.options.maxOptionsText] : that.options.maxOptionsText,\r\n maxOptionsArr = typeof maxOptionsText === 'function' ? maxOptionsText(maxOptions, maxOptionsGrp) : maxOptionsText,\r\n maxTxt = maxOptionsArr[0].replace('{n}', maxOptions),\r\n maxTxtGrp = maxOptionsArr[1].replace('{n}', maxOptionsGrp),\r\n $notify = $('
    ');\r\n // If {var} is set in array, replace it\r\n /** @deprecated */\r\n if (maxOptionsArr[2]) {\r\n maxTxt = maxTxt.replace('{var}', maxOptionsArr[2][maxOptions > 1 ? 0 : 1]);\r\n maxTxtGrp = maxTxtGrp.replace('{var}', maxOptionsArr[2][maxOptionsGrp > 1 ? 0 : 1]);\r\n }\r\n\r\n option.selected = false;\r\n\r\n that.$menu.append($notify);\r\n\r\n if (maxOptions && maxReached) {\r\n $notify.append($('
    ' + maxTxt + '
    '));\r\n triggerChange = false;\r\n that.$element.trigger('maxReached' + EVENT_KEY);\r\n }\r\n\r\n if (maxOptionsGrp && maxReachedGrp) {\r\n $notify.append($('
    ' + maxTxtGrp + '
    '));\r\n triggerChange = false;\r\n that.$element.trigger('maxReachedGrp' + EVENT_KEY);\r\n }\r\n\r\n setTimeout(function () {\r\n that.setSelected(clickedIndex, false);\r\n }, 10);\r\n\r\n $notify[0].classList.add('fadeOut');\r\n\r\n setTimeout(function () {\r\n $notify.remove();\r\n }, 1050);\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!that.multiple || (that.multiple && that.options.maxOptions === 1)) {\r\n that.$button.trigger('focus');\r\n } else if (that.options.liveSearch) {\r\n that.$searchbox.trigger('focus');\r\n }\r\n\r\n // Trigger select 'change'\r\n if (triggerChange) {\r\n if (that.multiple || prevIndex !== element.selectedIndex) {\r\n // $option.prop('selected') is current option state (selected/unselected). prevValue is the value of the select prior to being changed.\r\n changedArguments = [option.index, $option.prop('selected'), prevValue];\r\n that.$element\r\n .triggerNative('change');\r\n }\r\n }\r\n }\r\n });\r\n\r\n this.$menu.on('click', 'li.' + classNames.DISABLED + ' a, .' + classNames.POPOVERHEADER + ', .' + classNames.POPOVERHEADER + ' :not(.close)', function (e) {\r\n if (e.currentTarget == this) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n if (that.options.liveSearch && !$(e.target).hasClass('close')) {\r\n that.$searchbox.trigger('focus');\r\n } else {\r\n that.$button.trigger('focus');\r\n }\r\n }\r\n });\r\n\r\n this.$menuInner.on('click', '.divider, .dropdown-header', function (e) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n if (that.options.liveSearch) {\r\n that.$searchbox.trigger('focus');\r\n } else {\r\n that.$button.trigger('focus');\r\n }\r\n });\r\n\r\n this.$menu.on('click', '.' + classNames.POPOVERHEADER + ' .close', function () {\r\n that.$button.trigger('click');\r\n });\r\n\r\n this.$searchbox.on('click', function (e) {\r\n e.stopPropagation();\r\n });\r\n\r\n this.$menu.on('click', '.actions-btn', function (e) {\r\n if (that.options.liveSearch) {\r\n that.$searchbox.trigger('focus');\r\n } else {\r\n that.$button.trigger('focus');\r\n }\r\n\r\n e.preventDefault();\r\n e.stopPropagation();\r\n\r\n if ($(this).hasClass('bs-select-all')) {\r\n that.selectAll();\r\n } else {\r\n that.deselectAll();\r\n }\r\n });\r\n\r\n this.$button\r\n .on('focus' + EVENT_KEY, function (e) {\r\n var tabindex = that.$element[0].getAttribute('tabindex');\r\n\r\n // only change when button is actually focused\r\n if (tabindex !== undefined && e.originalEvent && e.originalEvent.isTrusted) {\r\n // apply select element's tabindex to ensure correct order is followed when tabbing to the next element\r\n this.setAttribute('tabindex', tabindex);\r\n // set element's tabindex to -1 to allow for reverse tabbing\r\n that.$element[0].setAttribute('tabindex', -1);\r\n that.selectpicker.view.tabindex = tabindex;\r\n }\r\n })\r\n .on('blur' + EVENT_KEY, function (e) {\r\n // revert everything to original tabindex\r\n if (that.selectpicker.view.tabindex !== undefined && e.originalEvent && e.originalEvent.isTrusted) {\r\n that.$element[0].setAttribute('tabindex', that.selectpicker.view.tabindex);\r\n this.setAttribute('tabindex', -1);\r\n that.selectpicker.view.tabindex = undefined;\r\n }\r\n });\r\n\r\n this.$element\r\n .on('change' + EVENT_KEY, function () {\r\n that.render();\r\n that.$element.trigger('changed' + EVENT_KEY, changedArguments);\r\n changedArguments = null;\r\n })\r\n .on('focus' + EVENT_KEY, function () {\r\n if (!that.options.mobile) that.$button[0].focus();\r\n });\r\n },\r\n\r\n liveSearchListener: function () {\r\n var that = this;\r\n\r\n this.$button.on('click.bs.dropdown.data-api', function () {\r\n if (!!that.$searchbox.val()) {\r\n that.$searchbox.val('');\r\n that.selectpicker.search.previousValue = undefined;\r\n }\r\n });\r\n\r\n this.$searchbox.on('click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api', function (e) {\r\n e.stopPropagation();\r\n });\r\n\r\n this.$searchbox.on('input propertychange', function () {\r\n var searchValue = that.$searchbox[0].value;\r\n\r\n that.selectpicker.search.elements = [];\r\n that.selectpicker.search.data = [];\r\n\r\n if (searchValue) {\r\n var i,\r\n searchMatch = [],\r\n q = searchValue.toUpperCase(),\r\n cache = {},\r\n cacheArr = [],\r\n searchStyle = that._searchStyle(),\r\n normalizeSearch = that.options.liveSearchNormalize;\r\n\r\n if (normalizeSearch) q = normalizeToBase(q);\r\n\r\n for (var i = 0; i < that.selectpicker.main.data.length; i++) {\r\n var li = that.selectpicker.main.data[i];\r\n\r\n if (!cache[i]) {\r\n cache[i] = stringSearch(li, q, searchStyle, normalizeSearch);\r\n }\r\n\r\n if (cache[i] && li.headerIndex !== undefined && cacheArr.indexOf(li.headerIndex) === -1) {\r\n if (li.headerIndex > 0) {\r\n cache[li.headerIndex - 1] = true;\r\n cacheArr.push(li.headerIndex - 1);\r\n }\r\n\r\n cache[li.headerIndex] = true;\r\n cacheArr.push(li.headerIndex);\r\n\r\n cache[li.lastIndex + 1] = true;\r\n }\r\n\r\n if (cache[i] && li.type !== 'optgroup-label') cacheArr.push(i);\r\n }\r\n\r\n for (var i = 0, cacheLen = cacheArr.length; i < cacheLen; i++) {\r\n var index = cacheArr[i],\r\n prevIndex = cacheArr[i - 1],\r\n li = that.selectpicker.main.data[index],\r\n liPrev = that.selectpicker.main.data[prevIndex];\r\n\r\n if (li.type !== 'divider' || (li.type === 'divider' && liPrev && liPrev.type !== 'divider' && cacheLen - 1 !== i)) {\r\n that.selectpicker.search.data.push(li);\r\n searchMatch.push(that.selectpicker.main.elements[index]);\r\n }\r\n }\r\n\r\n that.activeIndex = undefined;\r\n that.noScroll = true;\r\n that.$menuInner.scrollTop(0);\r\n that.selectpicker.search.elements = searchMatch;\r\n that.createView(true);\r\n showNoResults.call(that, searchMatch, searchValue);\r\n } else if (that.selectpicker.search.previousValue) { // for IE11 (#2402)\r\n that.$menuInner.scrollTop(0);\r\n that.createView(false);\r\n }\r\n\r\n that.selectpicker.search.previousValue = searchValue;\r\n });\r\n },\r\n\r\n _searchStyle: function () {\r\n return this.options.liveSearchStyle || 'contains';\r\n },\r\n\r\n val: function (value) {\r\n var element = this.$element[0];\r\n\r\n if (typeof value !== 'undefined') {\r\n var prevValue = getSelectValues(element);\r\n\r\n changedArguments = [null, null, prevValue];\r\n\r\n this.$element\r\n .val(value)\r\n .trigger('changed' + EVENT_KEY, changedArguments);\r\n\r\n if (this.$newElement.hasClass(classNames.SHOW)) {\r\n if (this.multiple) {\r\n this.setOptionStatus(true);\r\n } else {\r\n var liSelectedIndex = (element.options[element.selectedIndex] || {}).liIndex;\r\n\r\n if (typeof liSelectedIndex === 'number') {\r\n this.setSelected(this.selectedIndex, false);\r\n this.setSelected(liSelectedIndex, true);\r\n }\r\n }\r\n }\r\n\r\n this.render();\r\n\r\n changedArguments = null;\r\n\r\n return this.$element;\r\n } else {\r\n return this.$element.val();\r\n }\r\n },\r\n\r\n changeAll: function (status) {\r\n if (!this.multiple) return;\r\n if (typeof status === 'undefined') status = true;\r\n\r\n var element = this.$element[0],\r\n previousSelected = 0,\r\n currentSelected = 0,\r\n prevValue = getSelectValues(element);\r\n\r\n element.classList.add('bs-select-hidden');\r\n\r\n for (var i = 0, data = this.selectpicker.current.data, len = data.length; i < len; i++) {\r\n var liData = data[i],\r\n option = liData.option;\r\n\r\n if (option && !liData.disabled && liData.type !== 'divider') {\r\n if (liData.selected) previousSelected++;\r\n option.selected = status;\r\n if (status === true) currentSelected++;\r\n }\r\n }\r\n\r\n element.classList.remove('bs-select-hidden');\r\n\r\n if (previousSelected === currentSelected) return;\r\n\r\n this.setOptionStatus();\r\n\r\n changedArguments = [null, null, prevValue];\r\n\r\n this.$element\r\n .triggerNative('change');\r\n },\r\n\r\n selectAll: function () {\r\n return this.changeAll(true);\r\n },\r\n\r\n deselectAll: function () {\r\n return this.changeAll(false);\r\n },\r\n\r\n toggle: function (e) {\r\n e = e || window.event;\r\n\r\n if (e) e.stopPropagation();\r\n\r\n this.$button.trigger('click.bs.dropdown.data-api');\r\n },\r\n\r\n keydown: function (e) {\r\n var $this = $(this),\r\n isToggle = $this.hasClass('dropdown-toggle'),\r\n $parent = isToggle ? $this.closest('.dropdown') : $this.closest(Selector.MENU),\r\n that = $parent.data('this'),\r\n $items = that.findLis(),\r\n index,\r\n isActive,\r\n liActive,\r\n activeLi,\r\n offset,\r\n updateScroll = false,\r\n downOnTab = e.which === keyCodes.TAB && !isToggle && !that.options.selectOnTab,\r\n isArrowKey = REGEXP_ARROW.test(e.which) || downOnTab,\r\n scrollTop = that.$menuInner[0].scrollTop,\r\n isVirtual = that.isVirtual(),\r\n position0 = isVirtual === true ? that.selectpicker.view.position0 : 0;\r\n\r\n // do nothing if a function key is pressed\r\n if (e.which >= 112 && e.which <= 123) return;\r\n\r\n isActive = that.$newElement.hasClass(classNames.SHOW);\r\n\r\n if (\r\n !isActive &&\r\n (\r\n isArrowKey ||\r\n (e.which >= 48 && e.which <= 57) ||\r\n (e.which >= 96 && e.which <= 105) ||\r\n (e.which >= 65 && e.which <= 90)\r\n )\r\n ) {\r\n that.$button.trigger('click.bs.dropdown.data-api');\r\n\r\n if (that.options.liveSearch) {\r\n that.$searchbox.trigger('focus');\r\n return;\r\n }\r\n }\r\n\r\n if (e.which === keyCodes.ESCAPE && isActive) {\r\n e.preventDefault();\r\n that.$button.trigger('click.bs.dropdown.data-api').trigger('focus');\r\n }\r\n\r\n if (isArrowKey) { // if up or down\r\n if (!$items.length) return;\r\n\r\n liActive = that.selectpicker.main.elements[that.activeIndex];\r\n index = liActive ? Array.prototype.indexOf.call(liActive.parentElement.children, liActive) : -1;\r\n\r\n if (index !== -1) {\r\n that.defocusItem(liActive);\r\n }\r\n\r\n if (e.which === keyCodes.ARROW_UP) { // up\r\n if (index !== -1) index--;\r\n if (index + position0 < 0) index += $items.length;\r\n\r\n if (!that.selectpicker.view.canHighlight[index + position0]) {\r\n index = that.selectpicker.view.canHighlight.slice(0, index + position0).lastIndexOf(true) - position0;\r\n if (index === -1) index = $items.length - 1;\r\n }\r\n } else if (e.which === keyCodes.ARROW_DOWN || downOnTab) { // down\r\n index++;\r\n if (index + position0 >= that.selectpicker.view.canHighlight.length) index = that.selectpicker.view.firstHighlightIndex;\r\n\r\n if (!that.selectpicker.view.canHighlight[index + position0]) {\r\n index = index + 1 + that.selectpicker.view.canHighlight.slice(index + position0 + 1).indexOf(true);\r\n }\r\n }\r\n\r\n e.preventDefault();\r\n\r\n var liActiveIndex = position0 + index;\r\n\r\n if (e.which === keyCodes.ARROW_UP) { // up\r\n // scroll to bottom and highlight last option\r\n if (position0 === 0 && index === $items.length - 1) {\r\n that.$menuInner[0].scrollTop = that.$menuInner[0].scrollHeight;\r\n\r\n liActiveIndex = that.selectpicker.current.elements.length - 1;\r\n } else {\r\n activeLi = that.selectpicker.current.data[liActiveIndex];\r\n offset = activeLi.position - activeLi.height;\r\n\r\n updateScroll = offset < scrollTop;\r\n }\r\n } else if (e.which === keyCodes.ARROW_DOWN || downOnTab) { // down\r\n // scroll to top and highlight first option\r\n if (index === that.selectpicker.view.firstHighlightIndex) {\r\n that.$menuInner[0].scrollTop = 0;\r\n\r\n liActiveIndex = that.selectpicker.view.firstHighlightIndex;\r\n } else {\r\n activeLi = that.selectpicker.current.data[liActiveIndex];\r\n offset = activeLi.position - that.sizeInfo.menuInnerHeight;\r\n\r\n updateScroll = offset > scrollTop;\r\n }\r\n }\r\n\r\n liActive = that.selectpicker.current.elements[liActiveIndex];\r\n\r\n that.activeIndex = that.selectpicker.current.data[liActiveIndex].index;\r\n\r\n that.focusItem(liActive);\r\n\r\n that.selectpicker.view.currentActive = liActive;\r\n\r\n if (updateScroll) that.$menuInner[0].scrollTop = offset;\r\n\r\n if (that.options.liveSearch) {\r\n that.$searchbox.trigger('focus');\r\n } else {\r\n $this.trigger('focus');\r\n }\r\n } else if (\r\n (!$this.is('input') && !REGEXP_TAB_OR_ESCAPE.test(e.which)) ||\r\n (e.which === keyCodes.SPACE && that.selectpicker.keydown.keyHistory)\r\n ) {\r\n var searchMatch,\r\n matches = [],\r\n keyHistory;\r\n\r\n e.preventDefault();\r\n\r\n that.selectpicker.keydown.keyHistory += keyCodeMap[e.which];\r\n\r\n if (that.selectpicker.keydown.resetKeyHistory.cancel) clearTimeout(that.selectpicker.keydown.resetKeyHistory.cancel);\r\n that.selectpicker.keydown.resetKeyHistory.cancel = that.selectpicker.keydown.resetKeyHistory.start();\r\n\r\n keyHistory = that.selectpicker.keydown.keyHistory;\r\n\r\n // if all letters are the same, set keyHistory to just the first character when searching\r\n if (/^(.)\\1+$/.test(keyHistory)) {\r\n keyHistory = keyHistory.charAt(0);\r\n }\r\n\r\n // find matches\r\n for (var i = 0; i < that.selectpicker.current.data.length; i++) {\r\n var li = that.selectpicker.current.data[i],\r\n hasMatch;\r\n\r\n hasMatch = stringSearch(li, keyHistory, 'startsWith', true);\r\n\r\n if (hasMatch && that.selectpicker.view.canHighlight[i]) {\r\n matches.push(li.index);\r\n }\r\n }\r\n\r\n if (matches.length) {\r\n var matchIndex = 0;\r\n\r\n $items.removeClass('active').find('a').removeClass('active');\r\n\r\n // either only one key has been pressed or they are all the same key\r\n if (keyHistory.length === 1) {\r\n matchIndex = matches.indexOf(that.activeIndex);\r\n\r\n if (matchIndex === -1 || matchIndex === matches.length - 1) {\r\n matchIndex = 0;\r\n } else {\r\n matchIndex++;\r\n }\r\n }\r\n\r\n searchMatch = matches[matchIndex];\r\n\r\n activeLi = that.selectpicker.main.data[searchMatch];\r\n\r\n if (scrollTop - activeLi.position > 0) {\r\n offset = activeLi.position - activeLi.height;\r\n updateScroll = true;\r\n } else {\r\n offset = activeLi.position - that.sizeInfo.menuInnerHeight;\r\n // if the option is already visible at the current scroll position, just keep it the same\r\n updateScroll = activeLi.position > scrollTop + that.sizeInfo.menuInnerHeight;\r\n }\r\n\r\n liActive = that.selectpicker.main.elements[searchMatch];\r\n\r\n that.activeIndex = matches[matchIndex];\r\n\r\n that.focusItem(liActive);\r\n\r\n if (liActive) liActive.firstChild.focus();\r\n\r\n if (updateScroll) that.$menuInner[0].scrollTop = offset;\r\n\r\n $this.trigger('focus');\r\n }\r\n }\r\n\r\n // Select focused option if \"Enter\", \"Spacebar\" or \"Tab\" (when selectOnTab is true) are pressed inside the menu.\r\n if (\r\n isActive &&\r\n (\r\n (e.which === keyCodes.SPACE && !that.selectpicker.keydown.keyHistory) ||\r\n e.which === keyCodes.ENTER ||\r\n (e.which === keyCodes.TAB && that.options.selectOnTab)\r\n )\r\n ) {\r\n if (e.which !== keyCodes.SPACE) e.preventDefault();\r\n\r\n if (!that.options.liveSearch || e.which !== keyCodes.SPACE) {\r\n that.$menuInner.find('.active a').trigger('click', true); // retain active class\r\n $this.trigger('focus');\r\n\r\n if (!that.options.liveSearch) {\r\n // Prevent screen from scrolling if the user hits the spacebar\r\n e.preventDefault();\r\n // Fixes spacebar selection of dropdown items in FF & IE\r\n $(document).data('spaceSelect', true);\r\n }\r\n }\r\n }\r\n },\r\n\r\n mobile: function () {\r\n // ensure mobile is set to true if mobile function is called after init\r\n this.options.mobile = true;\r\n this.$element[0].classList.add('mobile-device');\r\n },\r\n\r\n refresh: function () {\r\n // update options if data attributes have been changed\r\n var config = $.extend({}, this.options, this.$element.data());\r\n this.options = config;\r\n\r\n this.checkDisabled();\r\n this.buildData();\r\n this.setStyle();\r\n this.render();\r\n this.buildList();\r\n this.setWidth();\r\n\r\n this.setSize(true);\r\n\r\n this.$element.trigger('refreshed' + EVENT_KEY);\r\n },\r\n\r\n hide: function () {\r\n this.$newElement.hide();\r\n },\r\n\r\n show: function () {\r\n this.$newElement.show();\r\n },\r\n\r\n remove: function () {\r\n this.$newElement.remove();\r\n this.$element.remove();\r\n },\r\n\r\n destroy: function () {\r\n this.$newElement.before(this.$element).remove();\r\n\r\n if (this.$bsContainer) {\r\n this.$bsContainer.remove();\r\n } else {\r\n this.$menu.remove();\r\n }\r\n\r\n if (this.selectpicker.view.titleOption && this.selectpicker.view.titleOption.parentNode) {\r\n this.selectpicker.view.titleOption.parentNode.removeChild(this.selectpicker.view.titleOption);\r\n }\r\n\r\n this.$element\r\n .off(EVENT_KEY)\r\n .removeData('selectpicker')\r\n .removeClass('bs-select-hidden selectpicker');\r\n\r\n $(window).off(EVENT_KEY + '.' + this.selectId);\r\n }\r\n };\r\n\r\n // SELECTPICKER PLUGIN DEFINITION\r\n // ==============================\r\n function Plugin (option) {\r\n // get the args of the outer function..\r\n var args = arguments;\r\n // The arguments of the function are explicitly re-defined from the argument list, because the shift causes them\r\n // to get lost/corrupted in android 2.3 and IE9 #715 #775\r\n var _option = option;\r\n\r\n [].shift.apply(args);\r\n\r\n // if the version was not set successfully\r\n if (!version.success) {\r\n // try to retreive it again\r\n try {\r\n version.full = ($.fn.dropdown.Constructor.VERSION || '').split(' ')[0].split('.');\r\n } catch (err) {\r\n // fall back to use BootstrapVersion if set\r\n if (Selectpicker.BootstrapVersion) {\r\n version.full = Selectpicker.BootstrapVersion.split(' ')[0].split('.');\r\n } else {\r\n version.full = [version.major, '0', '0'];\r\n\r\n console.warn(\r\n 'There was an issue retrieving Bootstrap\\'s version. ' +\r\n 'Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. ' +\r\n 'If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.',\r\n err\r\n );\r\n }\r\n }\r\n\r\n version.major = version.full[0];\r\n version.success = true;\r\n }\r\n\r\n if (version.major === '4') {\r\n // some defaults need to be changed if using Bootstrap 4\r\n // check to see if they have already been manually changed before forcing them to update\r\n var toUpdate = [];\r\n\r\n if (Selectpicker.DEFAULTS.style === classNames.BUTTONCLASS) toUpdate.push({ name: 'style', className: 'BUTTONCLASS' });\r\n if (Selectpicker.DEFAULTS.iconBase === classNames.ICONBASE) toUpdate.push({ name: 'iconBase', className: 'ICONBASE' });\r\n if (Selectpicker.DEFAULTS.tickIcon === classNames.TICKICON) toUpdate.push({ name: 'tickIcon', className: 'TICKICON' });\r\n\r\n classNames.DIVIDER = 'dropdown-divider';\r\n classNames.SHOW = 'show';\r\n classNames.BUTTONCLASS = 'btn-light';\r\n classNames.POPOVERHEADER = 'popover-header';\r\n classNames.ICONBASE = '';\r\n classNames.TICKICON = 'bs-ok-default';\r\n\r\n for (var i = 0; i < toUpdate.length; i++) {\r\n var option = toUpdate[i];\r\n Selectpicker.DEFAULTS[option.name] = classNames[option.className];\r\n }\r\n }\r\n\r\n var value;\r\n var chain = this.each(function () {\r\n var $this = $(this);\r\n if ($this.is('select')) {\r\n var data = $this.data('selectpicker'),\r\n options = typeof _option == 'object' && _option;\r\n\r\n if (!data) {\r\n var dataAttributes = $this.data();\r\n\r\n for (var dataAttr in dataAttributes) {\r\n if (Object.prototype.hasOwnProperty.call(dataAttributes, dataAttr) && $.inArray(dataAttr, DISALLOWED_ATTRIBUTES) !== -1) {\r\n delete dataAttributes[dataAttr];\r\n }\r\n }\r\n\r\n var config = $.extend({}, Selectpicker.DEFAULTS, $.fn.selectpicker.defaults || {}, dataAttributes, options);\r\n config.template = $.extend({}, Selectpicker.DEFAULTS.template, ($.fn.selectpicker.defaults ? $.fn.selectpicker.defaults.template : {}), dataAttributes.template, options.template);\r\n $this.data('selectpicker', (data = new Selectpicker(this, config)));\r\n } else if (options) {\r\n for (var i in options) {\r\n if (Object.prototype.hasOwnProperty.call(options, i)) {\r\n data.options[i] = options[i];\r\n }\r\n }\r\n }\r\n\r\n if (typeof _option == 'string') {\r\n if (data[_option] instanceof Function) {\r\n value = data[_option].apply(data, args);\r\n } else {\r\n value = data.options[_option];\r\n }\r\n }\r\n }\r\n });\r\n\r\n if (typeof value !== 'undefined') {\r\n // noinspection JSUnusedAssignment\r\n return value;\r\n } else {\r\n return chain;\r\n }\r\n }\r\n\r\n var old = $.fn.selectpicker;\r\n $.fn.selectpicker = Plugin;\r\n $.fn.selectpicker.Constructor = Selectpicker;\r\n\r\n // SELECTPICKER NO CONFLICT\r\n // ========================\r\n $.fn.selectpicker.noConflict = function () {\r\n $.fn.selectpicker = old;\r\n return this;\r\n };\r\n\r\n // get Bootstrap's keydown event handler for either Bootstrap 4 or Bootstrap 3\r\n function keydownHandler () {\r\n if ($.fn.dropdown) {\r\n // wait to define until function is called in case Bootstrap isn't loaded yet\r\n var bootstrapKeydown = $.fn.dropdown.Constructor._dataApiKeydownHandler || $.fn.dropdown.Constructor.prototype.keydown;\r\n return bootstrapKeydown.apply(this, arguments);\r\n }\r\n }\r\n\r\n $(document)\r\n .off('keydown.bs.dropdown.data-api')\r\n .on('keydown.bs.dropdown.data-api', ':not(.bootstrap-select) > [data-toggle=\"dropdown\"]', keydownHandler)\r\n .on('keydown.bs.dropdown.data-api', ':not(.bootstrap-select) > .dropdown-menu', keydownHandler)\r\n .on('keydown' + EVENT_KEY, '.bootstrap-select [data-toggle=\"dropdown\"], .bootstrap-select [role=\"listbox\"], .bootstrap-select .bs-searchbox input', Selectpicker.prototype.keydown)\r\n .on('focusin.modal', '.bootstrap-select [data-toggle=\"dropdown\"], .bootstrap-select [role=\"listbox\"], .bootstrap-select .bs-searchbox input', function (e) {\r\n e.stopPropagation();\r\n });\r\n\r\n // SELECTPICKER DATA-API\r\n // =====================\r\n $(window).on('load' + EVENT_KEY + '.data-api', function () {\r\n $('.selectpicker').each(function () {\r\n var $selectpicker = $(this);\r\n Plugin.call($selectpicker, $selectpicker.data());\r\n })\r\n });\r\n})(jQuery);\r\n","(function ($) {\n\n var methods = {\n init : function(options) {\n var defaults = {\n menuWidth: 300,\n edge: 'left',\n closeOnClick: false,\n draggable: true,\n onOpen: null,\n onClose: null\n };\n options = $.extend(defaults, options);\n \n $(this).each(function(){\n var $this = $(this);\n var menuId = $this.attr('data-activates');\n var menu = $(\"#\"+ menuId);\n\n // Set to width\n if (options.menuWidth != 300) {\n menu.css('width', options.menuWidth);\n } \n\n // Add Touch Area\n var $dragTarget = $('.drag-target[data-sidenav=\"' + menuId + '\"]');\n if (options.draggable) {\n // Regenerate dragTarget\n if ($dragTarget.length) {\n $dragTarget.remove();\n }\n\n $dragTarget = $('
    ').attr('data-sidenav', menuId);\n $('body').append($dragTarget);\n } else {\n $dragTarget = $();\n }\n\n if (options.edge == 'left') {\n menu.css('transform', 'translateX(-110%)');\n $dragTarget.css({'left': 0}); // Add Touch Area\n }\n else {\n menu.addClass('right-aligned') // Change text-alignment to right\n .css('transform', 'translateX(110%)');\n $dragTarget.css({'right': 0}); // Add Touch Area\n }\n\n // If fixed sidenav, bring menu out\n if (menu.hasClass('fixed')) {\n if (window.innerWidth > 992) {\n menu.css('transform', 'translateX(0)');\n }\n }\n\n // Window resize to reset on large screens fixed\n if (menu.hasClass('fixed')) {\n $(window).resize( function() {\n if (window.innerWidth > 992) {\n // Close menu if window is resized bigger than 992 and user has fixed sidenav\n if ($('#sidenav-overlay').length !== 0 && menuOut) {\n removeMenu(true);\n }\n else {\n // menu.removeAttr('style');\n menu.css('transform', 'translateX(0%)');\n // menu.css('width', options.menuWidth);\n }\n }\n else if (menuOut === false){\n if (options.edge === 'left') {\n menu.css('transform', 'translateX(-110%)');\n } else {\n menu.css('transform', 'translateX(110%)');\n }\n\n }\n\n });\n }\n\n // if closeOnClick, then add close event for all a tags in side sideNav\n if (options.closeOnClick === true) {\n // menu.on(\"click.itemclick\", \"a:not(.collapsible-header)\", function(){\n // if (!(window.innerWidth > 992 && menu.hasClass('fixed'))){\n // removeMenu();\n // }\n // });\n menu.on(\"click.itemclick\", \".sidemenu-close\", function(){\n if (!(window.innerWidth > 992 && menu.hasClass('fixed'))){\n removeMenu();\n }\n });\n }\n\n var removeMenu = function(restoreNav) {\n panning = false;\n menuOut = false;\n // Reenable scrolling\n $('body').css({\n overflow: '',\n width: ''\n });\n\n $('#sidenav-overlay').velocity({opacity: 0}, {duration: 200,\n queue: false, easing: 'easeOutQuad',\n complete: function() {\n $(this).remove();\n } });\n if (options.edge === 'left') {\n // Reset phantom div\n $dragTarget.css({width: '', right: '', left: '0'});\n menu.velocity(\n {'translateX': '-110%'},\n { duration: 200,\n queue: false,\n easing: 'easeOutCubic',\n complete: function() {\n if (restoreNav === true) {\n // Restore Fixed sidenav\n menu.removeAttr('style');\n menu.css('width', options.menuWidth);\n }\n }\n\n });\n }\n else {\n // Reset phantom div\n $dragTarget.css({width: '', right: '0', left: ''});\n menu.velocity(\n {'translateX': '110%'},\n { duration: 200,\n queue: false,\n easing: 'easeOutCubic',\n complete: function() {\n if (restoreNav === true) {\n // Restore Fixed sidenav\n menu.removeAttr('style');\n menu.css('width', options.menuWidth);\n }\n }\n });\n }\n\n // Callback\n if (typeof(options.onClose) === 'function') {\n options.onClose.call(this, menu);\n }\n }\n\n\n\n // Touch Event\n var panning = false;\n var menuOut = false;\n\n if (options.draggable) {\n $dragTarget.on('click', function(){\n if (menuOut) {\n removeMenu();\n }\n });\n\n $dragTarget.hammer({\n prevent_default: false\n }).on('pan', function(e) {\n\n if (e.gesture.pointerType == \"touch\") {\n\n var direction = e.gesture.direction;\n var x = e.gesture.center.x;\n var y = e.gesture.center.y;\n var velocityX = e.gesture.velocityX;\n\n // Vertical scroll bugfix\n if (x === 0 && y === 0) {\n return;\n }\n\n // Disable Scrolling\n var $body = $('body');\n var $overlay = $('#sidenav-overlay');\n var oldWidth = $body.innerWidth();\n $body.css('overflow', 'hidden');\n $body.width(oldWidth);\n\n // If overlay does not exist, create one and if it is clicked, close menu\n if ($overlay.length === 0) {\n $overlay = $('
    ');\n $overlay.css('opacity', 0).click( function(){\n removeMenu();\n });\n\n // Run 'onOpen' when sidenav is opened via touch/swipe if applicable\n if (typeof(options.onOpen) === 'function') {\n options.onOpen.call(this, menu);\n }\n\n $('body').append($overlay);\n }\n\n // Keep within boundaries\n if (options.edge === 'left') {\n if (x > options.menuWidth) { x = options.menuWidth; }\n else if (x < 0) { x = 0; }\n }\n\n if (options.edge === 'left') {\n // Left Direction\n if (x < (options.menuWidth / 2)) { menuOut = false; }\n // Right Direction\n else if (x >= (options.menuWidth / 2)) { menuOut = true; }\n menu.css('transform', 'translateX(' + (x - options.menuWidth) + 'px)');\n }\n else {\n // Left Direction\n if (x < (window.innerWidth - options.menuWidth / 2)) {\n menuOut = true;\n }\n // Right Direction\n else if (x >= (window.innerWidth - options.menuWidth / 2)) {\n menuOut = false;\n }\n var rightPos = (x - options.menuWidth / 2);\n if (rightPos < 0) {\n rightPos = 0;\n }\n\n menu.css('transform', 'translateX(' + rightPos + 'px)');\n }\n\n\n // Percentage overlay\n var overlayPerc;\n if (options.edge === 'left') {\n overlayPerc = x / options.menuWidth;\n $overlay.velocity({opacity: overlayPerc }, {duration: 10, queue: false, easing: 'easeOutQuad'});\n }\n else {\n overlayPerc = Math.abs((x - window.innerWidth) / options.menuWidth);\n $overlay.velocity({opacity: overlayPerc }, {duration: 10, queue: false, easing: 'easeOutQuad'});\n }\n }\n\n }).on('panend', function(e) {\n\n if (e.gesture.pointerType == \"touch\") {\n var $overlay = $('#sidenav-overlay');\n var velocityX = e.gesture.velocityX;\n var x = e.gesture.center.x;\n var leftPos = x - options.menuWidth;\n var rightPos = x - options.menuWidth / 2;\n if (leftPos > 0 ) {\n leftPos = 0;\n }\n if (rightPos < 0) {\n rightPos = 0;\n }\n panning = false;\n\n if (options.edge === 'left') {\n // If velocityX <= 0.3 then the user is flinging the menu closed so ignore menuOut\n if ((menuOut && velocityX <= 0.3) || velocityX < -0.5) {\n // Return menu to open\n if (leftPos !== 0) {\n menu.velocity({'translateX': [0, leftPos]}, {duration: 300, queue: false, easing: 'easeOutQuad'});\n }\n\n $overlay.velocity({opacity: 1 }, {duration: 50, queue: false, easing: 'easeOutQuad'});\n $dragTarget.css({width: '50%', right: 0, left: ''});\n menuOut = true;\n }\n else if (!menuOut || velocityX > 0.3) {\n // Enable Scrolling\n $('body').css({\n overflow: '',\n width: ''\n });\n // Slide menu closed\n menu.velocity({'translateX': [-1 * options.menuWidth - 10, leftPos]}, {duration: 200, queue: false, easing: 'easeOutQuad'});\n $overlay.velocity({opacity: 0 }, {duration: 200, queue: false, easing: 'easeOutQuad',\n complete: function () {\n // Run 'onClose' when sidenav is closed via touch/swipe if applicable\n if (typeof(options.onClose) === 'function') {\n options.onClose.call(this, menu);\n }\n\n $(this).remove();\n }});\n $dragTarget.css({width: '10px', right: '', left: 0});\n }\n }\n else {\n if ((menuOut && velocityX >= -0.3) || velocityX > 0.5) {\n // Return menu to open\n if (rightPos !== 0) {\n menu.velocity({'translateX': [0, rightPos]}, {duration: 300, queue: false, easing: 'easeOutQuad'});\n }\n\n $overlay.velocity({opacity: 1 }, {duration: 50, queue: false, easing: 'easeOutQuad'});\n $dragTarget.css({width: '50%', right: '', left: 0});\n menuOut = true;\n }\n else if (!menuOut || velocityX < -0.3) {\n // Enable Scrolling\n $('body').css({\n overflow: '',\n width: ''\n });\n\n // Slide menu closed\n menu.velocity({'translateX': [options.menuWidth + 10, rightPos]}, {duration: 200, queue: false, easing: 'easeOutQuad'});\n $overlay.velocity({opacity: 0 }, {duration: 200, queue: false, easing: 'easeOutQuad',\n complete: function () {\n // Run 'onClose' when sidenav is closed via touch/swipe if applicable\n if (typeof(options.onClose) === 'function') {\n options.onClose.call(this, menu);\n }\n\n $(this).remove();\n }});\n $dragTarget.css({width: '10px', right: 0, left: ''});\n }\n }\n\n }\n });\n }\n\n $this.off('click.sidenav').on('click.sidenav', function() {\n if (menuOut === true) {\n menuOut = false;\n panning = false;\n removeMenu();\n }\n else {\n\n // Disable Scrolling\n var $body = $('body');\n var $overlay = $('
    ');\n var oldWidth = $body.innerWidth();\n $body.css('overflow', 'hidden');\n $body.width(oldWidth);\n\n // Push current drag target on top of DOM tree\n $('body').append($dragTarget);\n\n if (options.edge === 'left') {\n $dragTarget.css({width: '50%', right: 0, left: ''});\n menu.velocity({'translateX': [0, -1 * options.menuWidth]}, {duration: 300, queue: false, easing: 'easeOutQuad'});\n }\n else {\n $dragTarget.css({width: '50%', right: '', left: 0});\n menu.velocity({'translateX': [0, options.menuWidth]}, {duration: 300, queue: false, easing: 'easeOutQuad'});\n }\n\n // Overlay close on click\n $overlay.css('opacity', 0)\n .click(function() {\n menuOut = false;\n panning = false;\n removeMenu();\n $overlay.velocity({opacity: 0}, {duration: 300, queue: false, easing: 'easeOutQuad',\n complete: function() {\n $(this).remove();\n }\n });\n });\n\n // Append body\n $('body').append($overlay);\n $overlay.velocity({opacity: 1}, {duration: 300, queue: false, easing: 'easeOutQuad',\n complete: function () {\n menuOut = true;\n panning = false;\n }\n });\n\n // Callback\n if (typeof(options.onOpen) === 'function') {\n options.onOpen.call(this, menu);\n }\n }\n\n return false;\n });\n });\n\n\n },\n destroy: function () {\n var $overlay = $('#sidenav-overlay');\n var $dragTarget = $('.drag-target[data-sidenav=\"' + $(this).attr('data-activates') + '\"]');\n $overlay.trigger('click');\n $dragTarget.remove();\n $(this).off('click');\n $overlay.remove();\n },\n show : function() {\n this.trigger('click');\n },\n hide : function() {\n $('#sidenav-overlay').trigger('click');\n }\n };\n\n\n $.fn.sideNav = function(methodOrOptions) {\n if ( methods[methodOrOptions] ) {\n return methods[ methodOrOptions ].apply( this, Array.prototype.slice.call( arguments, 1 ));\n } else if ( typeof methodOrOptions === 'object' || ! methodOrOptions ) {\n // Default to \"init\"\n return methods.init.apply( this, arguments );\n } else {\n $.error( 'Method ' + methodOrOptions + ' does not exist on jQuery.sideNav' );\n }\n }; // Plugin end\n}( jQuery ));\n","/* globals icodetutsfrminput jQuery */\n\n(function ($) {\n // Selector to select only not already processed elements\n $.expr[\":\"].notmdproc = function (obj) {\n if ($(obj).data(\"mdproc\")) {\n return false;\n } else {\n return true;\n }\n };\n\n function _isChar(evt) {\n if (typeof evt.which == \"undefined\") {\n return true;\n } else if (typeof evt.which == \"number\" && evt.which > 0) {\n return (\n !evt.ctrlKey &&\n !evt.metaKey &&\n !evt.altKey &&\n evt.which != 8 && // backspace\n evt.which != 9 && // tab\n evt.which != 13 && // enter\n evt.which != 16 && // shift\n evt.which != 17 && // ctrl\n evt.which != 20 && // caps lock\n evt.which != 27 // escape\n );\n }\n return false; \n }\n\n function _addFormGroupFocus(element) {\n var $element = $(element);\n if (!$element.prop(\"disabled\")) {\n // this is showing as undefined on chrome but works fine on firefox??\n $element.closest(\".form-group\").addClass(\"is-focused\");\n $element\n .parent()\n .parent(\".input-group\")\n .addClass(\"prefix\"); /// By arun\n }\n }\n\n function _toggleTypeFocus($input) {\n $input.closest(\"label\").hover(\n function () {\n var $i = $(this).find(\"input\");\n if (!$i.prop(\"disabled\")) {\n // hack because the _addFormGroupFocus() wasn't identifying the property on chrome\n _addFormGroupFocus($i); // need to find the input so we can check disablement\n }\n },\n function () {\n _removeFormGroupFocus($(this).find(\"input\"));\n }\n );\n }\n\n function _removeFormGroupFocus(element) {\n $(element)\n .parent()\n .parent(\".input-group\")\n .removeClass(\"prefix\"); /// By arun\n $(element)\n .closest(\".form-group\")\n .removeClass(\"is-focused\"); // remove class from form-group\n }\n\n $.icodetutsfrminput = {\n options: {\n // These options set what will be started by $.icodetutsfrminput.init()\n validate: true,\n input: true,\n ripples: true,\n checkbox: true,\n togglebutton: true,\n radio: true,\n arrive: true,\n autofill: false,\n withRipples: [\n \".btn:not(.btn-link)\",\n \".card-img\",\n \".navbar a:not(.withoutripple)\",\n \".dropdown-menu a\",\n \".nav-tabs a:not(.withoutripple)\",\n \".withripple\",\n \".pagination li:not(.active):not(.disabled) a:not(.withoutripple)\"\n ].join(\",\"),\n inputElements: \"input.form-control, textarea.form-control, select.form-control\",\n checkboxElements: \".checkbox > label > input[type=checkbox]\",\n togglebuttonElements: \".togglebutton > label > input[type=checkbox]\",\n radioElements: \".radio > label > input[type=radio]\"\n },\n checkbox: function (selector) {\n // Add fake-checkbox to icodetutsfrminput checkboxes\n var $input = $(selector ? selector : this.options.checkboxElements)\n .filter(\":notmdproc\")\n .data(\"mdproc\", true)\n .after(\n \"\"\n );\n\n _toggleTypeFocus($input);\n },\n togglebutton: function (selector) {\n // Add fake-checkbox to icodetutsfrminput checkboxes\n var $input = $(selector ? selector : this.options.togglebuttonElements)\n .filter(\":notmdproc\")\n .data(\"mdproc\", true)\n .after(\"\");\n _toggleTypeFocus($input);\n },\n radio: function (selector) {\n // Add fake-radio to icodetutsfrminput radios\n var $input = $(selector ? selector : this.options.radioElements)\n .filter(\":notmdproc\")\n .data(\"mdproc\", true)\n .after(\"\");\n\n _toggleTypeFocus($input);\n },\n input: function (selector) {\n $(selector ? selector : this.options.inputElements)\n .filter(\":notmdproc\")\n .data(\"mdproc\", true)\n .each(function () {\n var $input = $(this);\n\n // Requires form-group standard markup (will add it if necessary)\n var $formGroup = $input.closest(\".form-group\"); // note that form-group may be grandparent in the case of an input-group\n if (\n $formGroup.length === 0 &&\n $input.attr(\"type\") !== \"hidden\" &&\n !$input.attr(\"hidden\")\n ) {\n $input.addClass(\"form-group\");\n //$input.wrap(\"
    \");\n $formGroup = $input.closest(\".form-group\"); // find node after attached (otherwise additional attachments don't work)\n }\n\n // Legacy - Add hint label if using the old shorthand data-hint attribute on the input\n if ($input.attr(\"data-hint\")) {\n $input.after(\n \"

    \" + $input.attr(\"data-hint\") + \"

    \"\n );\n $input.removeAttr(\"data-hint\");\n }\n\n // Legacy - Change input-sm/lg to form-group-sm/lg instead (preferred standard and simpler css/less variants)\n var legacySizes = {\n \"input-lg\": \"form-group-lg\",\n \"input-sm\": \"form-group-sm\"\n };\n $.each(legacySizes, function (legacySize, standardSize) {\n if ($input.hasClass(legacySize)) {\n $input.removeClass(legacySize);\n $formGroup.addClass(standardSize);\n }\n });\n\n // Legacy - Add label-floating if using old shorthand \n if ($input.hasClass(\"floating-label\")) {\n var placeholder = $input.attr(\"placeholder\");\n // $input.removeClass(\"floating-label\");\n $input.attr(\"placeholder\", null).removeClass(\"floating-label\");\n var id = $input.attr(\"id\");\n var forAttribute = \"\";\n if (id) {\n forAttribute = \"for='\" + id + \"'\";\n }\n $formGroup.addClass(\"label-floating\");\n $input.before(\n \"\"\n );\n }\n\n // Set as empty if is empty (damn I must improve this...)\n\n if (\n $input.val() === null ||\n $input.val() == \"undefined\" ||\n $input.val() === \"\"\n ) {\n $formGroup.removeClass(\"is-value\");\n $formGroup.addClass(\"is-empty\");\n } else {\n $formGroup.addClass(\"is-value\");\n $formGroup.removeClass(\"is-filled\");\n }\n\n // Add at the end of the form-group\n // $formGroup.append(\"\");\n\n // Support for file input\n if ($formGroup.find(\"input[type=file]\").length > 0) {\n $formGroup.addClass(\"is-fileinput\");\n }\n });\n },\n attachInputEventHandlers: function () {\n var validate = this.options.validate;\n\n $(document)\n .on(\"change\", \".checkbox input[type=checkbox]\", function () {\n $(this).blur();\n })\n .on(\"keydown paste\", \".form-control\", function (e) {\n if (_isChar(e)) {\n $(this)\n .closest(\".form-group\")\n .removeClass(\"is-empty\");\n } else {\n $(this)\n .closest(\".form-group\")\n .removeClass(\"is-filled\");\n }\n })\n .on(\"keyup change\", \".form-control\", function () {\n var $input = $(this);\n var $formGroup = $input.closest(\".form-group\");\n var isValid =\n typeof $input[0].checkValidity === \"undefined\" ||\n $input[0].checkValidity();\n\n if ($input.val() === \"\") {\n $formGroup.addClass(\"is-empty\");\n $formGroup.removeClass(\"is-value\");\n } else {\n $formGroup.addClass(\"is-filled\");\n $formGroup.removeClass(\"is-empty\");\n }\n\n // Validation events do not bubble, so they must be attached directly to the input: http://jsfiddle.net/PEpRM/1/\n // Further, even the bind method is being caught, but since we are already calling #checkValidity here, just alter\n // the form-group on change.\n //\n // NOTE: I'm not sure we should be intervening regarding validation, this seems better as a README and snippet of code.\n // BUT, I've left it here for backwards compatibility.\n if (validate) {\n if (isValid) {\n $formGroup.removeClass(\"has-error\");\n } else {\n $formGroup.addClass(\"has-error\");\n }\n }\n })\n .on(\"focus\", \".form-control, .form-group.is-fileinput\", function () {\n _addFormGroupFocus(this);\n })\n .on(\"blur\", \".form-control, .form-group.is-fileinput\", function () {\n _removeFormGroupFocus(this);\n })\n // make sure empty is added back when there is a programmatic value change.\n // NOTE: programmatic changing of value using $.val() must trigger the change event i.e. $.val('x').trigger('change')\n .on(\"change\", \".form-group input\", function () {\n var $input = $(this);\n if ($input.attr(\"type\") == \"file\") {\n return;\n }\n\n var $formGroup = $input.closest(\".form-group\");\n var value = $input.val();\n if (value) {\n $formGroup.addClass(\"is-filled\");\n $formGroup.removeClass(\"is-empty\");\n } else {\n $formGroup.addClass(\"is-empty\");\n }\n })\n // set the fileinput readonly field with the name of the file\n .on(\n \"change\",\n \".form-group.is-fileinput input[type='file']\",\n function () {\n var $input = $(this);\n var $formGroup = $input.closest(\".form-group\");\n var value = \"\";\n $.each(this.files, function (i, file) {\n value += file.name + \", \";\n });\n value = value.substring(0, value.length - 2);\n if (value) {\n $formGroup.addClass(\"is-filled\");\n $formGroup.removeClass(\"is-empty\");\n } else {\n $formGroup.addClass(\"is-empty\");\n }\n $formGroup.find(\"input.form-control[readonly]\").val(value);\n }\n );\n },\n ripples: function (selector) {\n $(selector ? selector : this.options.withRipples).ripples();\n },\n autofill: function () {\n // This part of code will detect autofill when the page is loading (username and password inputs for example)\n var loading = setInterval(function () {\n $(\"input[type!=checkbox]\").each(function () {\n var $this = $(this);\n if ($this.val() && $this.val() !== $this.attr(\"value\")) {\n $this.trigger(\"change\");\n }\n });\n }, 100);\n\n // After 10 seconds we are quite sure all the needed inputs are autofilled then we can stop checking them\n setTimeout(function () {\n clearInterval(loading);\n }, 10000);\n },\n attachAutofillEventHandlers: function () {\n // Listen on inputs of the focused form (because user can select from the autofill dropdown only when the input has focus)\n var focused;\n $(document)\n .on(\"focus\", \"input\", function () {\n var $inputs = $(this)\n .parents(\"form\")\n .find(\"input\")\n .not(\"[type=file]\");\n focused = setInterval(function () {\n $inputs.each(function () {\n var $this = $(this);\n if ($this.val() !== $this.attr(\"value\")) {\n $this.trigger(\"change\");\n }\n });\n }, 100);\n })\n .on(\"blur\", \".form-group input\", function () {\n clearInterval(focused);\n });\n },\n init: function (options) {\n this.options = $.extend({}, this.options, options);\n var $document = $(document);\n\n if ($.fn.ripples && this.options.ripples) {\n this.ripples();\n }\n if (this.options.input) {\n this.input();\n this.attachInputEventHandlers();\n }\n if (this.options.checkbox) {\n this.checkbox();\n }\n if (this.options.togglebutton) {\n this.togglebutton();\n }\n if (this.options.radio) {\n this.radio();\n }\n if (this.options.autofill) {\n this.autofill();\n this.attachAutofillEventHandlers();\n }\n\n if (document.arrive && this.options.arrive) {\n if ($.fn.ripples && this.options.ripples) {\n $document.arrive(this.options.withRipples, function () {\n $.icodetutsfrminput.ripples($(this));\n });\n }\n if (this.options.input) {\n $document.arrive(this.options.inputElements, function () {\n $.icodetutsfrminput.input($(this));\n });\n }\n if (this.options.checkbox) {\n $document.arrive(this.options.checkboxElements, function () {\n $.icodetutsfrminput.checkbox($(this));\n });\n }\n if (this.options.radio) {\n $document.arrive(this.options.radioElements, function () {\n $.icodetutsfrminput.radio($(this));\n });\n }\n if (this.options.togglebutton) {\n $document.arrive(this.options.togglebuttonElements, function () {\n $.icodetutsfrminput.togglebutton($(this));\n });\n }\n }\n }\n };\n})(jQuery);\n\n/* globals icodetutsfrminput jQuery */"]}