{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/jquery/dist/jquery.js-exposed?bd84","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///../../src/di/container.ts","webpack:///../../src/di/injectable.ts","webpack:///../../src/di/inject.ts","webpack:///../../src/utils/browser.ts","webpack:///../../src/utils/observer.ts","webpack:///../../../src/utils/dom/events.ts","webpack:///../../src/utils/scriptLoader.ts","webpack:///../../../src/utils/dom/html.ts","webpack:///../../../src/utils/dom/animate.ts","webpack:///../../../src/utils/dom/classlist.ts","webpack:///../../../src/utils/dom/index.ts","webpack:///../../src/utils/api.ts","webpack:///../../../src/utils/form/validator.ts","webpack:///../../src/utils/i18n.ts","webpack:///../../src/utils/component.ts","webpack:///../../../src/utils/form/index.ts","webpack:///../../../src/utils/form/validator-builder.ts","webpack:///../src/index.ts","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/ui-core/utility/js/bootstrap-utils.js","webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js","webpack:////mnt/ssd/na101/home/literatum/.nvm/versions/node/v14.16.0/lib/node_modules/@atypon/utypon-cli/node_modules/process/browser.js","webpack:///./node_modules/@babel/runtime/helpers/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/classCallCheck.js","webpack:///./node_modules/@babel/runtime/helpers/createClass.js","webpack:///./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","webpack:///./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","webpack:///./node_modules/ui-core/utility/js/tests.js","webpack:///./node_modules/@babel/runtime/helpers/slicedToArray.js","webpack:///./node_modules/ui-core/plugins/polyfills/js/NodeList/forEach.js","webpack:///./node_modules/ui-core/utility/js/utils.js","webpack:///./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack:///./node_modules/ui-core/plugins/polyfills/js/CustomEvent.js","webpack:///./node_modules/element-closest-polyfill/index.js","webpack:///./node_modules/reflect-metadata/Reflect.js","webpack:////mnt/ssd/na101/home/literatum/.nvm/versions/node/v14.16.0/lib/node_modules/@atypon/utypon-cli/node_modules/@babel/runtime/helpers/typeof.js","webpack:///./node_modules/jquery/dist/jquery.js-exposed","webpack:///./node_modules/jquery/dist/jquery.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/ui-core/utility/js/namespace.js","webpack:///./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/iterableToArray.js","webpack:///./node_modules/@babel/runtime/helpers/nonIterableSpread.js","webpack:///./node_modules/ui-core/utility/ab-logger/js/ab-logger.js","webpack:///./node_modules/ui-core/plugins/polyfills/js/Promise/es6-promise.min.js","webpack:///./node_modules/ui-core/plugins/polyfills/js/Promise/es6-promise.auto.min.js","webpack:///./node_modules/ui-core/plugins/controller/js/controller.js","webpack:///./node_modules/ui-core/plugins/enquireJs/js/enquire.js","webpack:///./node_modules/ui-core/plugins/truncate/js/truncate.js","webpack:///./node_modules/ui-core/plugins/magicSearch/js/magicsuggest.js","webpack:///./node_modules/ui-core/plugins/transplant/js/transplant.js","webpack:///./node_modules/ui-theme/variables/js/photo-grid-variables.js","webpack:///./node_modules/ui-core/basic/lists/js/list.js","webpack:///./node_modules/ui-core/basic/inputs/js/inputs.js","webpack:///./node_modules/ui-core/basic/base/js/base.js","webpack:///./node_modules/ui-theme/templates/advanced-search/js/advanced-search-page.js","webpack:///./node_modules/ui-core/plugins/custom-form/js/jcf.js","webpack:///./node_modules/ui-core/plugins/custom-form/js/jcf.file.js","webpack:///./node_modules/ui-core/plugins/custom-form/js/jcf.checkbox.js","webpack:///./node_modules/ui-core/plugins/custom-form/js/jcf.radio.js","webpack:///./node_modules/ui-core/plugins/custom-form/js/jcf.range.js","webpack:///./node_modules/ui-core/plugins/custom-form/js/jcf.start.js","webpack:///./node_modules/ui-core/utility/js/jquery.selector.focusable.js","webpack:///./node_modules/ui-core/plugins/jquery/jquery-migrate.external.js","webpack:///./node_modules/ui-core/plugins/jquery-ui/jquery-ui.external.js","webpack:///./node_modules/ui-core/plugins/jquery-ui/jquery.ui.touch-punch.min.js","webpack:///./node_modules/ui-core/plugins/touchSwipe/jquery.touchSwipe.js","webpack:///./node_modules/ui-core/plugins/lazyload/js/jquery.lazyload.js","webpack:///./node_modules/@babel/runtime/helpers/arrayWithHoles.js","webpack:///./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","webpack:///./node_modules/@babel/runtime/helpers/nonIterableRest.js","webpack:///./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack:///./node_modules/@atypon/ui-bundle-generator/.generated/webpack-public-path.js","webpack:///./node_modules/ui-core/plugins/controller/js/enquireIt.js","webpack:///./node_modules/ui-core/utility/resized-event/js/resized-event.js","webpack:///./node_modules/@atypon/get-ftr/src/publication-content/ts/index.ts","webpack:///./node_modules/@atypon/get-ftr/src/axel-publication-content/ts/index.ts","webpack:///./node_modules/@atypon/get-ftr/src/index.ts","webpack:///./node_modules/@atypon/get-ftr/src/variables/js/index.js","webpack:///./node_modules/ui-core/widgets/ip-ranges/js/ip-ranges.ts","webpack:///./node_modules/ui-core/plugins/tabs/js/tabs.js","webpack:///./node_modules/ui-core/components/tabs/js/tabs.js","webpack:///./node_modules/ui-theme/components/tabs/js/tabs.js","webpack:///./node_modules/@atypon/ui-bundle-generator/.generated/groups/_tabs.js","webpack:///./node_modules/@atypon/ui-bundle-generator/.generated/index.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","installedModules","13","__webpack_require__","exports","module","l","e","requireEnsure","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","jsonpScriptSrc","p","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","getDefault","getModuleExports","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","s","_typeof","iterator","constructor","Container","instance","register","element","classList","Animater","withDuration","this","_duration","duration","style","Validator","isTooLong","valueFrom","maxLength","test","ValidatorBuilder","Reflect","g","Function","transitionEndEmulator","_this","called","$","one","Util","TRANSITION_END","triggerTransitionEnd","getUID","prefix","Math","random","getElementById","getSelectorFromElement","selector","getAttribute","hrefAttr","trim","querySelector","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","obj","nodeType","typeCheckConfig","componentName","config","configTypes","expectedTypes","valueType","toString","match","toLowerCase","RegExp","concat","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","parentNode","jQueryDetection","TypeError","version","fn","jquery","setTransitionEndSupport","emulateTransitionEnd","special","getSpecialTransitionEndEvent","bindType","delegateType","handle","is","handleObj","handler","apply","arguments","asyncGeneratorStep","a","u","done","then","_asyncToGenerator","_next","_throw","cachedSetTimeout","cachedClearTimeout","process","defaultSetTimout","defaultClearTimeout","runTimeout","fun","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","len","run","runClearTimeout","marker","Item","array","noop","nextTick","args","Array","title","browser","env","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_toConsumableArray","_classCallCheck","toPropertyKey","_defineProperties","configurable","writable","_createClass","_arrayLikeToArray","arrayLikeToArray","_unsupportedIterableToArray","from","UX","inputDate","hasDateInputSupport","checkInput","input","checkDateInput","isIE","ua","navigator","userAgent","msie","indexOf","parseInt","substring","rv","edge","arrayWithHoles","iterableToArrayLimit","nonIterableRest","_slicedToArray","NodeList","forEach","utils","generateId","substr","capitalizeFirstLetter","string","charAt","fixedHeaderHeight","fixedHeader","getBoundingClientRect","height","contains","querySelectorAll","fixedHeaderElements","isFixed","parentsOfHeader","parentElement","headerPositions","header","getComputedStyle","position","parents","flattenAndFlip","result","_loop","ext","getUrlParameter","sParam","sParameterName","sURLVariables","location","search","decodeURIComponent","removeUrlParam","sourceURL","rtn","params_arr","queryString","splice","join","escapeHtml","entityMap","String","replace","isRTL","convertToArray","nodeList","focusCycle","outerWrapper","focusableList","focusOrder","dataset","relatedTarget","closest","focus","add","item","index","addEventListener","releasedAssetsPath","resourcePath","map","node","href","find","includes","isSafari","safari","agent","focusCycleInitiator","container","cycleElements","filteredElements","filter","tabIndex","preventDefault","shiftKey","prevIndex","nextIndex","_UX$utils","keyCodes","DOWN","END","HOME","LEFT","RIGHT","UP","RETURN","SPACE","TAB","ESCAPE","leftClick","ENTER","toPrimitive","CustomEvent","params","bubbles","cancelable","detail","evt","createEvent","initCustomEvent","Event","Element","matches","msMatchesSelector","webkitMatchesSelector","el","factory","global","self","exporter","makeExporter","previous","hasOwn","supportsSymbol","toPrimitiveSymbol","iteratorSymbol","supportsCreate","supportsProto","__proto__","downLevel","HashMap","MakeDictionary","has","functionPrototype","getPrototypeOf","usePolyfill","_Map","Map","entries","CreateMapPolyfill","cacheSentinel","arraySentinel","MapIterator","keys","values","_index","_keys","_values","_selector","next","_cacheKey","_cacheIndex","_find","set","size","clear","getKey","getValue","getEntry","insert","_","_Set","Set","CreateSetPolyfill","_map","Metadata","WeakMap","CreateWeakMapPolyfill","rootKey","CreateUniqueKey","_key","table","GetOrCreateWeakMapTable","CreateUUID","FillRandomBytes","buffer","GenRandomBytes","Uint8Array","crypto","getRandomValues","msCrypto","offset","byte","GetOrCreateMetadataMap","O","P","Create","targetMetadata","IsUndefined","metadataMap","OrdinaryHasOwnMetadata","MetadataKey","ToBoolean","argument","OrdinaryGetOwnMetadata","OrdinaryDefineOwnMetadata","MetadataValue","OrdinaryOwnMetadataKeys","GetIterator","method","GetMethod","IsCallable","IsObject","k","IteratorStep","nextValue","IteratorClose","Type","x","IsNull","ToPrimitive","PreferredType","hint","exoticToPrim","OrdinaryToPrimitive","toString_1","valueOf","toString_2","ToPropertyKey","IsSymbol","ToString","IsArray","isArray","IsConstructor","V","func","f","OrdinaryGetPrototypeOf","proto","prototypeProto","__","decorate","decorators","propertyKey","attributes","DecorateConstructor","decorated","decorator","DecorateProperty","descriptor","metadata","metadataKey","metadataValue","IsPropertyKey","defineMetadata","hasMetadata","OrdinaryHasMetadata","parent","hasOwnMetadata","getMetadata","OrdinaryGetMetadata","getOwnMetadata","getMetadataKeys","OrdinaryMetadataKeys","ownKeys","parentKeys","_i","ownKeys_1","_a","parentKeys_1","getOwnMetadataKeys","deleteMetadata","w","noGlobal","arr","getProto","flat","class2type","fnToString","ObjectFunctionString","support","isFunction","isWindow","preservedScriptAttributes","nonce","noModule","DOMEval","code","doc","val","text","removeChild","toType","rhtmlSuffix","jQuery","context","init","isArrayLike","nodeName","elem","toArray","num","pushStack","elems","ret","merge","prevObject","each","callback","first","eq","last","even","grep","_elem","odd","j","end","sort","extend","options","copy","copyIsArray","clone","deep","isPlainObject","expando","isReady","msg","Ctor","isEmptyObject","globalEval","textContent","nodeValue","makeArray","results","inArray","isXMLDoc","namespace","namespaceURI","docElem","ownerDocument","second","invert","callbackExpect","arg","guid","pop","whitespace","rtrimCSS","b","bup","compareDocumentPosition","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","escapeSelector","sel","preferredDoc","pushNative","Expr","outermostContext","sortInput","hasDuplicate","documentIsHTML","rbuggyQSA","dirruns","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","booleans","identifier","pseudos","rwhitespace","rcomma","rleadingCombinator","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","fromCharCode","unloadHandler","setDocument","inDisabledFieldset","addCombinator","disabled","childNodes","els","seed","nid","groups","newSelector","newContext","exec","id","getElementsByTagName","getElementsByClassName","testContext","scope","tokenize","toSelector","qsaError","removeAttribute","select","cache","cacheLength","markFunction","assert","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","matchIndexes","subWindow","defaultView","top","getById","getElementsByName","disconnectedMatch","cssHas","attrId","getAttributeNode","tag","className","innerHTML","compare","sortDetached","expr","elements","matchesSelector","attr","attrHandle","uniqueSort","duplicates","sortStable","createPseudo","relative","preFilter","excess","unquoted","nodeNameSelector","expectedNodeName","pattern","operator","check","what","_argument","simple","forward","ofType","_context","xml","outerCache","nodeIndex","start","useCache","diff","firstChild","lastChild","pseudo","setFilters","idx","matched","not","matcher","compile","unmatched","lang","elemLang","hash","safeActiveElement","activeElement","hasFocus","enabled","checked","selected","selectedIndex","empty","nextSibling","button","_matchIndexes","lt","gt","nth","radio","checkbox","file","password","image","submit","reset","parseOnly","tokens","soFar","preFilters","cached","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","matcherOut","preMap","postMap","preexisting","multipleContexts","contexts","matcherIn","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","setMatchers","elementMatchers","matcherFromGroupMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","token","compiled","filters","unique","getText","isXML","selectors","until","truncate","siblings","rneedsContext","rsingleTag","winnow","qualifier","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","prev","sibling","cur","targets","prevAll","addBack","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","content","reverse","rnothtmlwhite","Identity","v","Thrower","ex","adoptValue","noValue","fail","Callbacks","createOptions","flag","firing","memory","fired","locked","list","firingIndex","fire","stopOnFalse","remove","disable","lock","fireWith","Deferred","tuples","state","always","deferred","_catch","pipe","fns","newDefer","tuple","returned","progress","notify","onFulfilled","onRejected","onProgress","maxDepth","depth","that","mightThrow","notifyWith","resolveWith","exceptionHook","rejectWith","getErrorHook","getStackHook","stateString","when","singleValue","remaining","resolveContexts","resolveValues","primary","updateFunc","rerrorNames","asyncError","warn","stack","readyException","readyList","completed","removeEventListener","readyWait","wait","readyState","doScroll","access","chainable","emptyGet","raw","bulk","rmsPrefix","rdashAlpha","fcamelCase","_all","letter","camelCase","acceptData","owner","Data","uid","prop","hasData","dataPriv","dataUser","rbrace","rmultiDash","dataAttr","getData","JSON","parse","removeData","_data","_removeData","attrs","dequeue","startLength","hooks","_queueHooks","unshift","stop","setter","clearQueue","tmp","count","defer","pnum","source","rcssNum","cssExpand","isAttached","composed","isHiddenWithinTree","display","adjustCSS","valueParts","tween","adjusted","scale","maxIterations","currentValue","initial","unit","cssNumber","initialInUnit","defaultDisplayMap","getDefaultDisplay","body","showHide","show","hide","toggle","div","rcheckableType","rtagName","rscriptType","createDocumentFragment","checkClone","cloneNode","noCloneChecked","defaultValue","option","wrapMap","thead","col","tr","td","_default","getAll","setGlobalEval","refElements","tbody","tfoot","colgroup","caption","th","optgroup","rhtml","buildFragment","scripts","selection","ignored","wrap","attached","fragment","nodes","htmlPrefilter","createTextNode","rtypenamespace","returnTrue","returnFalse","types","origFn","leverageNative","isSetup","saved","isTrigger","stopPropagation","stopImmediatePropagation","isImmediatePropagationStopped","handleObjIn","eventHandle","events","handlers","namespaces","origType","elemData","triggered","dispatch","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","nativeEvent","handlerQueue","fix","delegateTarget","preDispatch","isPropagationStopped","currentTarget","rnamespace","postDispatch","matchedHandlers","matchedSelectors","addProp","hook","originalEvent","load","noBubble","click","beforeunload","returnValue","props","isDefaultPrevented","defaultPrevented","timeStamp","Date","now","isSimulated","altKey","changedTouches","ctrlKey","eventPhase","metaKey","pageX","pageY","view","charCode","keyCode","buttons","clientX","clientY","offsetX","offsetY","pointerId","pointerType","screenX","screenY","targetTouches","toElement","touches","which","blur","focusMappedHandler","documentMode","simulate","attaches","dataHolder","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","rnoInnerhtml","rchecked","rcleanScript","manipulationTarget","disableScript","restoreScript","cloneCopyEvent","dest","udataOld","udataCur","fixInput","domManip","collection","hasScripts","iNoClone","valueIsFunction","html","_evalUrl","keepData","cleanData","dataAndEvents","deepDataAndEvents","srcElements","destElements","inPage","detach","append","prepend","insertBefore","before","after","replaceWith","replaceChild","appendTo","prependTo","insertAfter","replaceAll","original","rnumnonpx","rcustomProp","getStyles","opener","swap","old","rboxStyle","curCSS","computed","width","minWidth","maxWidth","isCustomProp","getPropertyValue","pixelBoxStyles","addGetHookIf","conditionFn","hookFn","computeStyleTests","cssText","divStyle","pixelPositionVal","reliableMarginLeftVal","roundPixelMeasures","marginLeft","right","pixelBoxStylesVal","boxSizingReliableVal","scrollboxSizeVal","offsetWidth","measure","round","reliableTrDimensionsVal","backgroundClip","clearCloneStyle","boxSizingReliable","pixelPosition","reliableMarginLeft","scrollboxSize","reliableTrDimensions","trChild","trStyle","borderTopWidth","borderBottomWidth","cssPrefixes","emptyStyle","vendorProps","finalPropName","final","cssProps","vendorPropName","capName","rdisplayswap","cssShow","visibility","cssNormalTransform","letterSpacing","fontWeight","setPositiveNumber","subtract","max","boxModelAdjustment","dimension","box","isBorderBox","styles","computedVal","extra","delta","marginDelta","ceil","getWidthOrHeight","valueIsBorderBox","offsetProp","getClientRects","Tween","easing","cssHooks","opacity","animationIterationCount","aspectRatio","borderImageSlice","columnCount","flexGrow","flexShrink","gridArea","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","lineHeight","order","orphans","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeMiterlimit","strokeOpacity","origName","setProperty","isFinite","scrollboxSizeBuggy","left","margin","padding","border","suffix","expand","expanded","parts","propHooks","percent","eased","pos","step","fx","scrollTop","scrollLeft","linear","swing","cos","PI","fxNow","inProgress","rfxtypes","rrun","schedule","hidden","requestAnimationFrame","interval","tick","createFxNow","genFx","includeWidth","createTween","animation","Animation","tweeners","properties","stopped","prefilters","currentTime","startTime","tweens","opts","specialEasing","originalProperties","originalOptions","gotoEnd","propFilter","complete","timer","anim","tweener","defaultPrefilter","oldfire","propTween","restoreDisplay","isBox","dataShow","unqueued","overflow","overflowX","overflowY","prefilter","speed","opt","speeds","fadeTo","to","animate","optall","doAnimation","finish","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","slow","fast","delay","time","checkOn","optSelected","radioValue","boolHook","removeAttr","nType","attrHooks","attrNames","lowercaseName","rfocusable","rclickable","stripAndCollapse","getClass","classesToArray","removeProp","propFix","tabindex","addClass","classNames","curValue","finalValue","removeClass","toggleClass","stateVal","isValidValue","hasClass","rreturn","valHooks","optionSet","rquery","parseXML","parserErrorElem","DOMParser","parseFromString","rfocusMorph","stopPropagationCallback","onlyHandlers","bubbleType","ontype","lastElement","eventPath","parentWindow","triggerHandler","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","traditional","param","valueOrFunction","encodeURIComponent","serialize","serializeArray","r20","rhash","rantiCache","rheaders","rnoContent","rprotocol","transports","allTypes","originAnchor","addToPrefiltersOrTransports","structure","dataTypeExpression","dataType","dataTypes","inspectPrefiltersOrTransports","jqXHR","inspected","seekingTransport","inspect","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","ajaxSettings","active","lastModified","etag","url","isLocal","protocol","processData","async","contentType","accepts","json","responseFields","converters","ajaxSetup","settings","ajaxPrefilter","ajaxTransport","ajax","transport","cacheURL","responseHeadersString","responseHeaders","timeoutTimer","urlAnchor","fireGlobals","uncached","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getResponseHeader","getAllResponseHeaders","setRequestHeader","overrideMimeType","mimeType","status","abort","statusText","finalText","crossDomain","host","hasContent","ifModified","headers","beforeSend","success","send","nativeStatusText","responses","isSuccess","response","modified","ajaxHandleResponses","ct","finalDataType","firstDataType","ajaxConvert","conv2","current","conv","dataFilter","getJSON","getScript","text_script","wrapAll","firstElementChild","wrapInner","htmlIsFunction","unwrap","visible","xhr","XMLHttpRequest","xhrSuccessStatus","0","1223","xhrSupported","cors","errorCallback","open","username","xhrFields","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","scriptAttrs","scriptCharset","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","createHTMLDocument","implementation","keepScripts","parsed","animated","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","curElem","using","rect","win","pageYOffset","pageXOffset","offsetParent","parentOffset","scrollTo","Height","Width","defaultExtra","funcName","unbind","delegate","undelegate","hover","fnOver","fnOut","rtrim","proxy","holdReady","hold","parseJSON","isNumeric","isNaN","_jQuery","_$","noConflict","webpackPolyfill","deprecate","paths","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","abLogger","loggingUrl","doiLink","childElement","$parent","expType","queryId","itemSelector","logSearchResultsByHrefSelector","logClick","doi","exp","$elm","$links","sliceDoiFromHref","bindElementToMouseUpEvent","doiFirst","doiLast","define","W","Z","_state","G","_result","E","h","nt","tt","S","et","y","_label","A","_onerror","T","_subscribers","M","rt","U","z","B","X","H","I","J","MutationObserver","WebKitMutationObserver","Q","R","Uint8ClampedArray","importScripts","MessageChannel","observe","characterData","port1","onmessage","port2","postMessage","require","runOnLoop","runOnContext","ot","_instanceConstructor","_remaining","_enumerate","_eachEntry","_settledAt","it","_willSettleAt","C","D","K","F","race","Y","q","_setScheduler","_setAsap","_asap","polyfill","L","cast","controller","$body","$activeComponent","$container","$target","control","$controller","$section","checkToHide","matchMedia","QueryHandler","deferSetup","MediaQuery","query","isUnconditional","mql","listener","assess","MediaQueryDispatch","queries","browserIsIncapable","initialised","unmatch","destroy","equals","addHandler","qh","removeHandler","action","shouldDegrade","unregister","methods","seeMoreLink","link","seeMore","ellipsisChar","seeMoreText","seeMoreTextHidden","seeMoreIcon","seeMoreHtml","isMobile","seeMoreIconMobile","isSliding","mobileTarget","parentTagName","ellipsis","isLink","removeElements","containerEl","$lastRemoved","$seeMore","$this","maxHeight","lines","Node","ELEMENT_NODE","onComplete","$lastChild","min","mid","floor","midWordEnabled","lastIndexOf","truncateText","seeMoreMiddleLink","removeListItemsMiddle","$removedItems","removedCount","removeItems","indexToRemove","ignoreCountList","showRemovedCount","removedCountMarkup","removeListItemsEnd","removeListItemsBetweenFirstAndLast","firstItem","latsItem","$items","removeListItemsBeforeLast","$seeMoreLink","$lastXItems","lastItemsCount","TEXT_NODE","$lastXItemsContent","truncateList","seeLessLink","seeLess","lessLinkEllipsis","seeLessText","seeLessIcon","seeLessHtml","addEventHandlers","originalHeight","checkHeight","allowedKeys","allowTabToReadMore","readMoreWithSpacebar","readMore","truncatedLength","lessLink","autoHeight","outerHeight","$evtTarget","readLess","tabId","restoreContent","truncateStart","targetViewport","tagName","addResponsiveHandlers","targetViewportOn","targetViewportOff","prevVPort","vPort","firstInit","dataAttrOptions","hiddenTextHTML","defaults","MagicSuggest","ms","conf","cfg","allowFreeEntries","allowDuplicates","ajaxConfig","autoSelect","selectFirst","queryParam","cls","dataUrlParams","disabledField","displayField","editable","expandOnFocus","groupBy","hideTrigger","highlight","infoMsgCls","inputCfg","invalidCls","matchCase","maxDropHeight","maxEntryLength","maxEntryRenderer","maxSuggestions","maxSelection","maxSelectionRenderer","minChars","minCharsRenderer","noSuggestionText","placeholder","renderer","required","resultAsString","resultAsStringDelimiter","resultsField","selectionCls","selectionContainer","selectionPosition","selectionRenderer","selectionStacked","sortDir","strictSuggest","toggleOnClick","typeDelay","useTabKey","useCommaKey","useZebraStyle","valueField","vregex","vtype","addToSelection","items","isSilent","_selection","valuechanged","_renderSelection","getSelection","removeFromSelection","collapse","combobox","enable","_processSuggestions","isValid","valid","_validateSingleItem","getDataUrlParams","getName","getRawValue","modifiedData","clipboardData","textarea","selectionStart","selectionEnd","_cbData","setData","setName","_valueContainer","setSelection","setValue","found","setDataUrlParams","_timer","_comboItemHeight","_hasFocus","_groups","_ctrlDown","KEYCODES","_displaySuggestions","ariaControlID","resHeight","nbGroups","_renderComboItems","grpName","class","_groupItemHeight","tmpResHeight","_updateHelper","_getEntriesFromStringArray","entry","_highlightSuggestion","glob","_moveSelectedRow","scrollPos","offsetTop","queryParams","asyncData","_asyncValues","sortedData","_sortAndTrim","_group","_render","_onFocus","_onBlur","keydown","_onKeyDown","keyup","_onKeyUp","readonly","_onInputFocus","_onInputClick","role","_onComboItemSelected","_onComboItemMouseOver","helper","_onTriggerClick","resize","_onWindowResized","isGrouped","ref","displayed","resultItemEl","stringify","inputOffset","asText","selectedItemEl","delItemEl","selectedItemHtml","validCls","_onTagTriggerClick","_selectItem","filtered","newSuggestions","selectedValues","curLength","freeInput","inputValid","magicSuggest","cntr","child","def","att","field","transplant","$element","$order","$cloneData","$clonedContainer","$direction","$remove","$targetClass","$classNames","_transplant$$target$f","cleanDuplicateID","clonedItems","$source","targetFor","$controler","clonedElement","ariaOwns","grid","screenXs","screenSm","screenMd","screenLg","screenXlg","containerMobile","containerXs","containerTablet","containerSm","containerDesktop","containerMd","containerLargeDesktop","containerLg","articleLg","expandIcon","collapseIcon","build","toggleList","$toggle","$wrapper","defineToggleIcons","closeList","$expandableList","fieldsCtrl","$form","$terms","$markAll","maxClone","$lastTerm","lastClone","accessibility","additionalControls","radioCheckbox","selectBox","range","radioCheckboxSelector","jcf","getInstance","realElement","fakeElement","dropdown","hideDropdown","prepare","markAll","terms","$el","nameInput","copy_from_template","number","MSStream","customInstances","commonOptions","optionsKey","dataKey","rtlClass","focusClass","pressedClass","disabledClass","hiddenClass","resetAppearanceClass","unselectableClass","isTouchDevice","DocumentTouch","isWinPhoneDevice","isMobileDevice","eventList","pointerEventsSupported","pointerEnabled","msPointerEnabled","touchEventsSupported","eventMap","pointerover","pointerdown","pointermove","pointerup","targetEventName","fakeEventList","fakeEventName","eventName","eventHandlers","fallbackEvent","fixEvent","lastTouch","origEvent","touchEventData","mouseEventSimulated","dx","abs","dy","wheelEvents","deltaY","wheelDelta","wheelDeltaY","deltaX","wheelDeltaX","deltaMode","moduleMixin","fireNativeEvent","eventObject","dispatchEvent","initEvent","createEventObject","fireEvent","bindHandlers","propName","propValue","api","getOptions","setOptions","moduleName","moduleOptions","addModule","Module","getInlineOptions","dataOptions","attrOptions","plugins","pluginName","plugin","originalDestroy","customOptions","styleSheetCreated","createStyleSheet","styleTag","styleSheet","addCSSRule","rules","insertRule","addRule","refreshAll","refresh","currentModuleName","matchElement","destroyAll","fakeStructure","buttonText","placeholderText","realElementClass","extensionPrefixClass","selectedFileBlock","buttonTextBlock","initStructure","attachEvents","fileNameBlock","onPress","change","onChange","onFocus","onBlur","onRelease","getFileName","resultFileName","files","getFileExtension","fileName","updateExtensionClass","currentExtension","cleanedClassList","selectedFileName","wrapNative","checkedClass","uncheckedClass","labelActiveClass","labelElement","getLabelFor","onRealClick","onFakeClick","savedEventObject","stateChecked","pressedFlag","focusedFlag","parentLabel","elementId","isChecked","refreshRadioGroup","currentActiveRadio","getCurrentActiveRadio","getRadioGroup","parentForm","dataListMark","rangeDisplayWrapper","rangeDisplay","handleSelector","trackSelector","activeHandleClass","verticalClass","orientation","dragHandleCenter","snapToMarks","snapRadius","minRange","page","track","trackHolder","createdHandleCount","activeDragHandleIndex","isMultiple","handleCount","rangeMin","rangeMax","rangeMid","handles","isVertical","directionProperty","offsetProperty","eventProperty","sizeProperty","sizeMethod","minValue","maxValue","stepValue","stepsCount","createDataList","onTrackPress","onHandlePress","dataValues","dataListId","markOffset","itemValue","valueToOffset","getDragHandleRange","handleIndex","minStep","Infinity","maxStep","valueToStepIndex","minStepIndex","maxStepIndex","getNearestHandle","closestHandle","closestDistance","handleOffset","handleDistance","trackSize","trackOffset","innerOffset","activeDragHandle","dragData","onHandleMove","onHandleRelease","newOffset","dragPercent","stepIndex","valuePercent","handleDragRange","dragOffset","markMin","markMax","stepIndexToValue","updateValues","newValue","onKeyPress","incValue","decValue","updateRanges","curHandle","prevHandle","midBox","changeValue","originalValue","setSliderValue","getSliderValue","wrapNativeOnMobile","maxVisibleItems","multipleCompactStyle","focusable","tabbable","migrateMute","migrateWarnings","migrateTrace","trace","migrateVersion","log","migrateReset","compatMode","fixHooks","_migrated_","andSelf","ui","widgetUuid","widgetSlice","widget","existingConstructor","basePrototype","proxiedPrototype","fullName","Widget","_createWidget","_proto","_childConstructors","_super","_superApply","__super","__superApply","widgetEventPrefix","widgetName","widgetFullName","childPrototype","bridge","inputIndex","inputLength","isMethodCall","methodValue","_init","defaultElement","classes","uuid","eventNamespace","bindings","hoverable","classesElementLookup","_on","_getCreateOptions","_create","_setOptionDisabled","_trigger","_getCreateEventData","_destroy","_removeClass","curOption","_setOptions","_setOption","_setOptionClasses","classKey","currentElements","_classes","_toggleClass","full","processClassString","checkOption","_untrackClassesElement","_addClass","suppressDisabledCheck","delegateElement","handlerProxy","_off","_delay","_hoverable","_focusable","focusin","focusout","defaultEffect","hasOptions","effect","effectName","effects","dataName","side","innerWidth","innerHeight","outerWidth","reduce","BACKSPACE","COMMA","DELETE","PAGE_DOWN","PAGE_UP","PERIOD","scrollParent","includeHidden","excludeStaticParent","overflowRegex","ie","datepicker_instActive","mouseHandled","Datepicker","_curInst","_keyEvent","_disabledInputs","_datepickerShowing","_inDialog","_mainDivId","_inlineClass","_appendClass","_triggerClass","_dialogClass","_disableClass","_unselectableClass","_currentClass","_dayOverClass","regional","closeText","prevText","nextText","currentText","monthNames","monthNamesShort","dayNames","dayNamesShort","dayNamesMin","weekHeader","dateFormat","firstDay","showMonthAfterYear","yearSuffix","_defaults","showOn","showAnim","showOptions","defaultDate","appendText","buttonImage","buttonImageOnly","hideIfNoPrevNext","navigationAsDateFormat","gotoCurrent","changeMonth","changeYear","yearRange","showOtherMonths","selectOtherMonths","showWeek","calculateWeek","iso8601Week","shortYearCutoff","minDate","maxDate","beforeShowDay","beforeShow","onSelect","onChangeMonthYear","onClose","numberOfMonths","showCurrentAtPos","stepMonths","stepBigMonths","altField","altFormat","constrainInput","showButtonPanel","autoSize","en","dpDiv","datepicker_bindHover","datepicker_handleMouseover","datepicker","_isDisabledDatepicker","inline","datepicker_extendRemove","cancel","distance","_mouseInit","_mouseDown","started","_mouseDestroy","_mouseMoveDelegate","_mouseUpDelegate","_mouseMoved","_mouseStarted","_mouseUp","_mouseDownEvent","btnIsLeft","elIsCancel","_mouseCapture","mouseDelayMet","_mouseDelayTimer","_mouseDistanceMet","_mouseDelayMet","_mouseStart","_mouseMove","ignoreMissingWhich","_mouseDrag","_mouseStop","mouse","axis","connectWith","containment","cursor","cursorAt","dropOnEmpty","forcePlaceholderSize","forceHelperSize","revert","scroll","scrollSensitivity","scrollSpeed","tolerance","activate","beforeStop","deactivate","out","over","receive","update","_isOverAxis","reference","_isFloating","containerCache","_setHandleClassName","overrideHandle","currentItem","validHandle","reverting","_refreshItems","_removeCurrentsFromItems","noActivation","currentContainer","refreshPositions","_createHelper","_cacheHelperProportions","_cacheMargins","margins","_getParentOffset","_getRelativeOffset","cssPosition","originalPosition","_generatePosition","originalPageX","originalPageY","_adjustOffsetFromHelper","domPosition","_createPlaceholder","_setContainment","storedCursor","storedStylesheet","_storedOpacity","_storedZIndex","overflowOffset","_uiHash","_preserveHelperProportions","containers","ddmanager","dropBehaviour","prepareOffsets","dragging","itemElement","intersection","scrolled","positionAbs","_convertPositionTo","lastPositionAbs","_intersectsWithPointer","direction","_intersectsWithSides","_rearrange","_contactContainers","drag","noPropagation","drop","_clear","_storedCSS","_noFinalSort","_getItemsAsjQuery","connected","str","res","attribute","expression","_intersectsWith","x1","x2","helperProportions","y1","y2","dyClick","dxClick","isOverElementHeight","isOverElementWidth","isOverElement","forcePointerForContainers","floating","verticalDirection","horizontalDirection","_getDragVerticalDirection","_getDragHorizontalDirection","isOverBottomHalf","isOverRightHalf","_connectWith","inst","addItems","targetData","_queries","queriesLength","toleranceElement","custom","refreshContainers","_createTrPlaceholder","sourceTr","targetTr","dist","itemWithLeastDistance","posProperty","nearBottom","innermostContainer","innermostIndex","bottom","po","ce","co","scrollHeight","scrollWidth","mod","scrollIsRootNode","hardRefresh","counter","delayedTriggers","delayEvent","fromOutside","cancelHelperRemoval","_inst","sender","markerClassName","maxRows","_widgetDatepicker","setDefaults","_attachDatepicker","_newInst","_connectDatepicker","_inlineDatepicker","selectedDay","selectedMonth","selectedYear","drawMonth","drawYear","_attachments","_doKeyDown","_doKeyPress","_doKeyUp","_autoSize","_disableDatepicker","_get","_showDatepicker","alt","_lastInput","_hideDatepicker","findMax","maxI","date","names","setMonth","setDate","getDay","_formatDate","divSpan","_setDate","_getDefaultDate","_updateDatepicker","_updateAlternate","_dialogDatepicker","browserWidth","browserHeight","scrollX","scrollY","_dialogInst","_dialogInput","_pos","clientWidth","clientHeight","blockUI","_destroyDatepicker","_enableDatepicker","_getInst","_optionDatepicker","_getDateDatepicker","_getMinMaxDate","_changeDatepicker","_refreshDatepicker","_setDateDatepicker","noDefault","_setDateFromField","_getDate","dateStr","handled","_selectDay","_adjustDate","_clearDate","_gotoToday","chars","chr","_possibleChars","lastVal","parseDate","_getFormatConfig","beforeShowSettings","_findPos","_checkOffset","datepicker_getZindex","_shouldFocusInput","_generateHTML","_attachHandlers","origyearshtml","numMonths","_getNumberOfMonths","cols","activeCell","yearshtml","dpWidth","dpHeight","inputWidth","inputHeight","viewWidth","viewHeight","postProcess","_tidyDialog","unblockUI","_checkExternalClick","period","_adjustInstDate","currentDay","currentMonth","currentYear","getDate","getMonth","getFullYear","_notifyChange","_selectMonthYear","month","year","_selectDate","formatDate","noWeekends","day","checkDate","getTime","format","iFormat","dim","iValue","shortYearCutoffTemp","doy","literal","lookAhead","getNumber","isDoubled","digits","shortNames","longNames","pair","checkLiteral","_ticksTo1970","_getDaysInMonth","_daylightSavingAdjust","ATOM","COOKIE","ISO_8601","RFC_822","RFC_850","RFC_1036","RFC_1123","RFC_2822","RSS","TICKS","TIMESTAMP","W3C","formatNumber","formatName","output","dates","_restrictMinMax","_determineDate","newDate","offsetString","offsetNumeric","setHours","setMinutes","setSeconds","setMilliseconds","getHours","noChange","origMonth","origYear","today","selectDay","selectMonth","selectYear","maxDraw","gotoDate","controls","buttonPanel","dow","row","group","selectedDate","cornerClass","calender","daysInMonth","leadDays","curRows","numRows","printDate","dRow","daySettings","otherMonth","unselectable","tempDate","isMultiMonth","currentDate","_canAdjustMonth","_isInRange","_generateMonthYearHeader","_getFirstDayOfMonth","secondary","inMinYear","inMaxYear","years","thisYear","determineYear","endYear","monthHtml","minMax","curYear","curMonth","yearSplit","minYear","maxYear","initialized","otherArgs","slide","numPages","_keySliding","_mouseSliding","_animateOff","_handleIndex","_detectOrientation","_calculateNewMax","_refresh","_createRange","_createHandles","_setupEvents","_refreshValue","existingHandles","_valueMin","_handleEvents","normValue","mouseOverHandle","elementSize","elementOffset","_normValueFromMouse","_valueMax","thisDistance","_lastChangedValue","_start","_clickOffset","_slide","_stop","_change","pixelTotal","pixelMouse","percentMouse","valueTotal","valueMouse","_trimAlignValue","uiHash","_hasMultipleValues","newVal","otherVal","newValues","_value","vals","valsLength","_refreshRange","valModStep","alignValue","toFixed","_precision","precision","_precisionOf","decimal","lastValPercent","valPercent","valueMin","valueMax","oRange","_set","curVal","initMouseEvent","touch","_touchStart","_touchMoved","_touchMove","_touchEnd","touchstart","touchmove","touchend","SUPPORTS_TOUCH","SUPPORTS_POINTER_IE10","SUPPORTS_POINTER","allowPageScroll","swipe","swipeStatus","tap","TouchSwipe","useTouchEvents","fallbackToMouseEvents","START_EV","MOVE_EV","END_EV","LEAVE_EV","CANCEL_EV","currentDirection","startTouchesDistance","endTouchesDistance","pinchZoom","pinchDistance","pinchDirection","maximumsMap","phase","fingerCount","fingerData","endTime","previousTouchEndTime","fingerCountAtRelease","doubleTapStartTime","singleTapTimeout","holdTimeout","touchStart","touchCancel","jqEvent","getTouchInProgress","PLUGIN_NS","excludedElements","preventDefaultEvents","createMaximumsData","maxData","createMaximumVO","cancelMultiFingerRelease","createFingerData","fingers","hasPinches","getTimeStamp","calculateTouchesDistance","pinchStatus","longTapThreshold","setTouchInProgress","touchMove","inMultiFingerRelease","currentFinger","updateFingerData","calculatePinchDirection","calculatePinchZoom","startDistance","endDistance","calculateDirection","validateDefaultEvent","auto","swipeLeft","swipeRight","swipeUp","swipeDown","calculateDistance","startPoint","endPoint","sqrt","pow","calculateDuration","setMaxDistance","getMaxDistance","triggerOnTouchEnd","triggerOnTouchLeave","inBounds","bounds","getbounds","isInBounds","point","getNextPhase","touchEnd","startMultiFingerRelease","didSwipeBackToCancel","validateSwipeDistance","hasTap","triggerHandlerForGesture","touchLeave","removeListeners","currentPhase","nextPhase","validTime","validateSwipeTime","validDistance","didCancel","didSwipe","validateSwipe","hasSwipes","didPinch","validatePinch","didDoubleTap","validateDoubleTap","hasDoubleTap","didLongTap","validateLongTap","hasLongTap","longTap","didTap","validateTap","threshold","gesture","pinchIn","pinchOut","inDoubleTap","doubleTapThreshold","doubleTap","cancelled","cancelThreshold","maxTimeThreshold","hasCorrectFingerCount","validateFingers","hasEndPoint","validateEndPoint","hasCorrectDistance","validatePinchDistance","pinchThreshold","hasValidTime","hasValidDistance","withinThreshold","fingerReleaseThreshold","getFingerData","diffX","diffY","comparePoints","pointA","pointB","angle","calculateAngle","atan2","phases","PHASE_START","PHASE_MOVE","PHASE_END","PHASE_CANCEL","directions","IN","OUT","pageScroll","NONE","HORIZONTAL","VERTICAL","AUTO","ONE","TWO","THREE","FOUR","FIVE","ALL","$window","lazyload","failure_limit","data_attribute","skip_invisible","appear","abovethetop","leftofbegin","belowthefold","rightoffold","failurelimit","effectspeed","effect_speed","$self","loaded","elements_left","appVersion","persisted","inviewport","belowTheFold","aboveTheTop","rightOfScreen","leftOfScreen","inViewport","aboveTheFold","rightOfFold","leftOfFold","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","Number","__webpack_public_path__","enquireIt","windowWidth","enquire","apiUrl","isCrossrefEnabled","getFTRContent","getFTRButton","getFTRLink","prevItemDoi","requestSource","getFTRPlaceholder","article","articleReferences","articleCitedBy","tabContent","tabReferences","tabRelated","wrapperItem","isButtonVisible","isSafeToFetch","handleWindowScroll","scrollPosition","targetElement","firstPlaceholder","firstPlaceholderOffsetTop","isEntitlement","texts","iconEl","isIconVisible","iconName","btnText","btnLink","tooltip","insertAdjacentHTML","initialize","setElements","addEventListeners","getGetFTRConfig","domUtils","getElement","linksCount","getGetFTRElements","placeholderElements","getElements","firstPlaceholderElement","firstItemDoi","elementsData","numberOfPlaceholders","fetchData","handleTabScroll","setGetFTRSource","sourceElement","wrapperItemSelector","referencesTab","relatedTab","tabContentScrollY","requestBody","pubDoi","associatedCitations","fetch","getFTRWrapper","getFTRContentEmpty","removePlaceholder","catch","finally","GetFTR","Elements","ClassList","Texts","AxelPublicationContent","enableAxelArticleWidget","addRangeFields","addRangeSubmitButtons","updateRangesCheckboxes","updateRangesSubmitButtons","wrapper","handleAddRangeFieldChange","handleUpdateRangeFieldChange","anyIsEmpty","some","setSubmitButtonsDisable","anyIsChecked","ipRanges","HTMLElement","EVENT_KEY","JQUERY_NO_CONFLICT","HIDE","HIDDEN","SHOW","SHOWN","CLICK_DATA_API","ClassName","Selector","Tab","_element","listElement","hideEvent","showEvent","_activate","hiddenEvent","shownEvent","dispose","_this2","_activeElements$toArr","_activeElements$toArr2","activeAnchor","isTransitioning","_transitionComplete","_document","activeClickedElement","localName","dropdownChild","dropdownElement","dropdownToggleList","_jQueryInterface","Constructor","tab","$li","$spinner","$ul","$previous","$content","isTouched","extraMargin","elementvPort","$controls","pointerPosition","cumulativeShift","isSlide","backToAccessibility","swipeDisableClass","isGetFTREnabled","isGetFTRReferencesEnabled","isGetFTRCitedByEnabled","_tab$article","_tab$article2","_tab$article3","preselectTab","eleWithLabelsData","tabElm","ele","viewPort","responsive","$activeTab","activeTab","getPaneTarget","sessionActiveTab","sessionStorage","getItem","setItem","reExp","activeParameter","$firstItem","triggerTarget","documentScrollTop","triggerExternal","dropBlock","getContent","getFTR","$activeNav","$activePane","$newActiveEl","navToExternal","toggleArrowAttrs","setPostbackActiveTab","getPostbackActiveTab","additionalControl","$ele","attrStr","$externalLink","tabElem","rebuild","tabNav","posIndex","withArrows","contentScrollTop","contentTop","targetTop","externalLink","backLink","external","$elem","parentTab","animateScroll","swipeBuild","dropdownBuild","slideDestroy","swipeDestroy","dropdownDestroy","accordionDestroy","$tabItem","pane","$pane","hasNoContent","emptyText","tabID","$activeTabs","additionalAjaxSuccess","widgetId","pbContext","$tabBody","showcaseSlideshowCheck","$showCase","showcaseSlideshow","initInstance","defaultOptions","$dropdownContainer","tabNavWidth","main","$tab","_regeneratorRuntime","asyncIterator","Generator","Context","makeInvokeMethod","tryCatch","GeneratorFunction","GeneratorFunctionPrototype","defineIteratorMethods","_invoke","AsyncIterator","invoke","__await","callInvokeWithMethodAndArg","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","displayName","isGeneratorFunction","mark","setPrototypeOf","awrap","rval","delegateYield","$transplant","$list","$getFTR","$ipRanges","IpRanges","tabsMain","importPromises","_ref","_callee2","_yield$import","dynamicMain","lazyPromise","_callee2$","_context2","t0","t1","t2","t3","requestIdleCallback","_callee","_yield$import2","lazyMain","_callee$","_ref3","_callee3","_callee3$","_context3","_x","debug"],"mappings":"aACE,SAASA,qBAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GAKAK,EAAI,EAAGC,EAAW,GACpCD,EAAIF,EAASI,OAAQF,IACzBH,EAAUC,EAASE,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBV,IAAYU,EAAgBV,IACpFI,EAASO,KAAKD,EAAgBV,GAAS,IAExCU,EAAgBV,GAAW,EAE5B,IAAID,KAAYG,EACZI,OAAOC,UAAUC,eAAeC,KAAKP,EAAaH,KACpDa,EAAQb,GAAYG,EAAYH,IAKlC,IAFGc,GAAqBA,EAAoBf,GAEtCM,EAAS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sBAAA+B,MAAG,SAAA6B,SAAO38F,GAAE,OAAA+4F,sBAAArpE,MAAA,SAAAktE,UAAAC,GAAA,cAAAA,EAAAr4E,KAAAq4E,EAAA3yF,MAAA,OAGiC,MADE,IAAzC1J,UAAUC,UAAUE,QAAQ,SAClCH,UAAUqqF,WAAWlqF,QAAQ,aAAe,GACzC,CAAFk8F,EAAA3yF,KAAA,eAAA2yF,EAAA3yF,KAAA,EACE,+BAA2D,OAI5D,OAAT2uF,GAAK74F,GAAI68F,EAAA3yF,KAAA,EACHuxF,KAAgB,OACtB,IACIz7F,EAAGgyC,SAASr/B,OACd,MAAOld,GACLC,QAAQ7C,MAAM4C,GAGtB,IACQuK,EAAG6rF,UAAUl5E,OACf,MAAOld,GACLC,QAAQ7C,MAAM4C,GACjB,wBAAAonG,EAAAjxE,UAAA+wE,cAEJ,gBAvBKtyC,MAAKyyC,GAAA,OAAAJ,EAAA9gG,MAAA,KAAAC,aAAA,EAyBXwuD,CAAMrqD,IAAI9D,MAAK,WACXxG,QAAQqnG,MAAM","file":"js/main.bundle-107e1ec3c0fa150c70f9.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t};\n\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t13: 0\n \t};\n\n\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"0\":\"vendors~listOfIssuesAccordion~profile\",\"1\":\"audioPlayer\",\"4\":\"clientPagination\",\"5\":\"connectProfileMenu\",\"6\":\"dashboardToolbar\",\"7\":\"datepicker\",\"8\":\"disableADBlocker\",\"9\":\"favorites\",\"10\":\"lazy-imports\",\"11\":\"listOfIssuesAccordion\",\"12\":\"loi\",\"14\":\"mathjax\",\"16\":\"requestidlecallback-polyfill\",\"17\":\"showRecommended\",\"18\":\"toggleTable\",\"19\":\"truncate\",\"20\":\"vendors~article\",\"21\":\"vendors~dynamic-imports\",\"22\":\"vendors~fileUploader\",\"23\":\"vendors~ie-imports\",\"24\":\"vendors~lazy-imports\",\"25\":\"vendors~pd\",\"26\":\"vendors~profile\",\"27\":\"vendors~search\",\"28\":\"vendors~slideshow\"}[chunkId]||chunkId) + \"-\" + {\"0\":\"f964801b7002bebac6f0\",\"1\":\"9929e6b2d8de5e88f880\",\"4\":\"0d43088e0314bcd2971c\",\"5\":\"81f64f2b5989dfa2319c\",\"6\":\"3842ed664f62d5638b33\",\"7\":\"5b3a03fc7777170e367a\",\"8\":\"1c9fe23d896c12966987\",\"9\":\"f8446c37b0909317f9ee\",\"10\":\"bb34b8cda90ea6e94c77\",\"11\":\"706d3a7511c9f28b87cb\",\"12\":\"93595e354d04aa37f91b\",\"14\":\"e78eb8f5e2796c83bd57\",\"16\":\"277f23e9e428d6c5114e\",\"17\":\"b68e6961d67270a70605\",\"18\":\"662fa7e667edfaac732c\",\"19\":\"22eac69a087a8cf3d197\",\"20\":\"447cef0b5163dd434bd9\",\"21\":\"ac00a3d6f23d5b01cad7\",\"22\":\"648634e711f57d5f836d\",\"23\":\"887e8bf9f09d2a37748b\",\"24\":\"f760274c27d3a823376a\",\"25\":\"2e4ae9491730d20686c8\",\"26\":\"58f50fe00f5a678e8e37\",\"27\":\"10a5cf3dcec3ddda0791\",\"28\":\"61fad82e8c5ba8a2ca1d\",\"29\":\"1be882be8c67fddb6ddd\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 19);\n","module.exports = global[\"$\"] = require(\"-!/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/expose-loader/index.js?jQuery!/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/babel-loader/lib/index.js??ref--7-0!./jquery.js\");","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var Container = /** @class */ (function () {\n function Container() {\n this._services = {};\n }\n Container.register = function (service) {\n this.instance._services[service.name] = new service();\n };\n Container.get = function (service) {\n var instance = this.instance._services[service.name];\n if (!instance) {\n throw Error('Service not found');\n }\n return instance;\n };\n Container.instance = new Container();\n return Container;\n}());\nexport { Container };\n//# sourceMappingURL=container.js.map","import { Container } from \"./container\";\nfunction Injectable(lazy) {\n if (lazy === void 0) { lazy = null; }\n return function (target) {\n Container.register(target);\n };\n}\nexport { Injectable, };\n//# sourceMappingURL=injectable.js.map","import { Container } from \"./container\";\nfunction Inject() {\n return function (target, key) {\n var type = Reflect.getMetadata(\"design:type\", target, key);\n Object.defineProperty(target, key, {\n get: function () { return Container.get(type); },\n enumerable: false,\n configurable: false\n });\n };\n}\nexport { Inject };\n//# sourceMappingURL=inject.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { Injectable } from '../di/injectable';\nvar BrowserUtils = /** @class */ (function () {\n function BrowserUtils() {\n }\n Object.defineProperty(BrowserUtils.prototype, \"isIOS\", {\n /**\n * Check if the current device is an IOS device\n */\n get: function () {\n return !!navigator.userAgent.match(/ipad|ipod|iphone/i);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BrowserUtils.prototype, \"isSafari\", {\n /**\n * Check if the browser is safari\n */\n get: function () {\n return new RegExp('apple', 'i').test(navigator.vendor);\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(BrowserUtils.prototype, \"isIE\", {\n /**\n * Check if the browser is IE\n */\n get: function () {\n return navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > -1;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Enable the native fullScreen toggle\n * @param element\n */\n BrowserUtils.prototype.toggleFullScreen = function (element) {\n var isFullscreen = document[\"webkitIsFullScreen\"] || document[\"mozFullScreen\"] || false;\n element['requestFullScreen'] = element[\"requestFullScreen\"] || element[\"webkitRequestFullScreen\"] || element[\"mozRequestFullScreen\"] || function () { return false; };\n document['cancelFullScreen'] = document[\"cancelFullScreen\"] || document[\"webkitCancelFullScreen\"] || document[\"mozCancelFullScreen\"] || function () { return false; };\n isFullscreen ? document['cancelFullScreen']() : element['requestFullScreen']();\n };\n /**\n * Copy any text content to the clipboard\n *\n * @param text\n */\n BrowserUtils.prototype.copyToClipboard = function (text) {\n var textArea = document.createElement('textarea');\n textArea.value = text;\n textArea.setAttribute('readonly', '');\n document.body.appendChild(textArea);\n textArea.select();\n document.execCommand('copy');\n document.body.removeChild(textArea);\n };\n /**\n * Transforming the beloved setTimeout to a promise;\n *\n * @param ms\n * @returns Promise<void>\n */\n BrowserUtils.prototype.delay = function (ms) {\n var _resolve, x;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n x = setTimeout(function () {\n _resolve();\n }, ms);\n return [4 /*yield*/, x];\n case 1:\n _a.sent();\n return [2 /*return*/, new Promise(function (resolve) { return _resolve = resolve; })];\n }\n });\n };\n /**\n * Easyliy scroll to the html element\n * @param element\n * @param offset\n */\n BrowserUtils.prototype.scrollTo = function (element, offset) {\n if (offset === void 0) { offset = 0; }\n if (element && element.offsetTop) {\n var top_1 = element.offsetTop - offset;\n window.scrollTo({ top: top_1, behavior: 'smooth' });\n }\n };\n BrowserUtils = __decorate([\n Injectable()\n ], BrowserUtils);\n return BrowserUtils;\n}());\nexport { BrowserUtils, };\n//# sourceMappingURL=browser.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { Injectable } from \"../di/injectable\";\nvar Observer = /** @class */ (function () {\n function Observer() {\n this._observers = {};\n }\n Observer.prototype.subscribe = function (eventName, callback) {\n if (!this._observers[eventName]) {\n this._observers[eventName] = [];\n }\n this._observers[eventName].push(callback);\n };\n Observer.prototype.unsubscribe = function (eventName, callback) {\n if (!this._observers[eventName]) {\n return;\n }\n this._observers[eventName] = this._observers[eventName].filter(function (obj) { return obj !== callback; });\n };\n Observer.prototype.unsubscribeAll = function (eventName) {\n if (!this._observers[eventName]) {\n return;\n }\n this._observers[eventName] = [];\n };\n Observer.prototype.notify = function (eventName) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n if (!this._observers[eventName]) {\n return;\n }\n this._observers[eventName].forEach(function (callback) {\n callback.apply(void 0, args);\n });\n };\n Observer.prototype.getObservers = function (eventName) {\n return this._observers[eventName];\n };\n Observer = __decorate([\n Injectable()\n ], Observer);\n return Observer;\n}());\nexport { Observer };\n//# sourceMappingURL=observer.js.map","var DOMEvents = /** @class */ (function () {\n function DOMEvents() {\n }\n DOMEvents.prototype.addEventListener = function (target, event, callback) {\n var _this = this;\n if (event.indexOf(',') > -1) {\n event.split(',').forEach(function (event) {\n _this.addEventListener(target, event, callback);\n });\n }\n else if (target) {\n if (target instanceof Array) {\n target.forEach(function (target) {\n target === null || target === void 0 ? void 0 : target.addEventListener(event.trim(), callback);\n });\n }\n else {\n target === null || target === void 0 ? void 0 : target.addEventListener(event.trim(), callback);\n }\n }\n };\n DOMEvents.prototype.removeEventListener = function (target, event, callback) {\n var _this = this;\n if (event.indexOf(',') > -1) {\n event.split(',').forEach(function (event) {\n _this.removeEventListener(target, event, callback);\n });\n }\n else if (target) {\n if (target instanceof Array) {\n target.forEach(function (target) {\n target === null || target === void 0 ? void 0 : target.removeEventListener(event.trim(), callback);\n });\n }\n else {\n target === null || target === void 0 ? void 0 : target.removeEventListener(event.trim(), callback);\n }\n }\n };\n return DOMEvents;\n}());\nexport default DOMEvents;\n//# sourceMappingURL=events.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar LoadScript = /** @class */ (function () {\n function LoadScript(target, externalScript) {\n if (externalScript === void 0) { externalScript = false; }\n this.target = target;\n }\n LoadScript.prototype.generateScripts = function (i) {\n var _this = this;\n if (i === void 0) { i = 0; }\n var targetArray = Array.from(this.target);\n if (i < targetArray.length) {\n if (targetArray[i].src) {\n this.injectScriptsAsync(targetArray[i].src, true).then(function (r) {\n i++;\n return _this.generateScripts(i);\n });\n }\n else {\n this.injectScriptsAsync(targetArray[i].innerHTML);\n i++;\n return this.generateScripts(i);\n }\n }\n else {\n return;\n }\n };\n LoadScript.prototype.injectScriptsAsync = function (target, externalScript) {\n if (externalScript === void 0) { externalScript = false; }\n return __awaiter(this, void 0, void 0, function () {\n var script, promise;\n return __generator(this, function (_a) {\n script = document.createElement('script');\n script.type = 'text/javascript';\n script.async = true;\n if (externalScript) {\n script.src = target;\n }\n else {\n script.innerHTML = target;\n }\n promise = new Promise(function (resolve, reject) {\n document.getElementsByTagName('head')[0].appendChild(script);\n script.onload = function (e) {\n resolve(e);\n };\n script.onerror = function (e) {\n reject(e);\n };\n });\n return [2 /*return*/, promise];\n });\n });\n };\n return LoadScript;\n}());\nexport default LoadScript;\n//# sourceMappingURL=scriptLoader.js.map","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport DOMEvents from './events';\nimport LoadScript from '../scriptLoader';\nvar DOMHTML = /** @class */ (function (_super) {\n __extends(DOMHTML, _super);\n function DOMHTML() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DOMHTML.prototype.insertHTML = function (where, node, to) {\n if (to === void 0) { to = document.body; }\n var nodeElement;\n if (typeof node === 'string') {\n nodeElement = this.htmlToElement(node);\n }\n else {\n nodeElement = node;\n }\n return to.insertAdjacentElement(where, nodeElement);\n };\n DOMHTML.prototype.htmlToElement = function (html) {\n var template = document.createElement('template');\n html = html.trim();\n template.innerHTML = html;\n return template.content.firstElementChild;\n };\n DOMHTML.prototype.replaceElement = function (element, newElement) {\n var newElementTag;\n if (typeof newElement === 'string') {\n newElementTag = this.htmlToElement(newElement);\n }\n else {\n newElementTag = newElement;\n }\n var scripts = newElementTag.querySelectorAll('script');\n element.parentNode.replaceChild(newElementTag, element);\n if (scripts) {\n new LoadScript(scripts).generateScripts();\n }\n return newElementTag;\n };\n return DOMHTML;\n}(DOMEvents));\nexport default DOMHTML;\n//# sourceMappingURL=html.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { Injectable } from \"../../index\";\nvar Animater = /** @class */ (function () {\n function Animater() {\n this._duration = 250;\n this._display = 'block';\n this.delays = new Map();\n }\n Animater.prototype.toggleClass = function (element, toRemove, toAdd) {\n element.classList.remove(toRemove);\n element.classList.add(toAdd);\n };\n Animater.prototype.withDuration = function (duration) {\n this._duration = duration;\n return this;\n };\n Animater.prototype.withDisplay = function (display) {\n this._display = display;\n return this;\n };\n Animater.prototype.fadeToggle = function (element) {\n if (!element) {\n return;\n }\n var computedStyle = getComputedStyle(element);\n if (computedStyle.opacity === '0' || computedStyle.display === 'none' || element.classList.contains('animator__fade-out')) {\n this.fadeIn(element);\n }\n else {\n this.fadeOut(element);\n }\n };\n Animater.prototype.slideToggle = function (element) {\n if (!element) {\n return;\n }\n var computedStyle = getComputedStyle(element);\n if (computedStyle.display === 'none' || element.classList.contains('animator__slide-up')) {\n this.slideIn(element);\n }\n else {\n this.slideOut(element);\n }\n };\n Animater.prototype.fadeIn = function (element) {\n if (!element) {\n return;\n }\n clearTimeout(this.delays.get(element));\n this.toggleClass(element, 'animator__fade-out', 'animator__fade-in');\n element.style.opacity = '0';\n element.style.display = this._display;\n element.style.transition = \"opacity \".concat(this._duration, \"ms ease-in-out\");\n this.delays.set(element, setTimeout(function () {\n element.style.opacity = '1';\n }, 0));\n };\n Animater.prototype.fadeOut = function (element) {\n if (!element) {\n return;\n }\n clearTimeout(this.delays.get(element));\n this.toggleClass(element, 'animator__fade-in', 'animator__fade-out');\n element.style.transition = \"opacity \".concat(this._duration, \"ms ease-in-out\");\n element.style.opacity = '0';\n this.delays.set(element, setTimeout(function () {\n element.style.display = 'none';\n }, this._duration));\n };\n Animater.prototype.slideIn = function (element) {\n if (!element) {\n return;\n }\n clearTimeout(this.delays.get(element));\n this.toggleClass(element, 'animator__slide-up', 'animator__slide-down');\n element.style.height = '0';\n element.style.display = this._display;\n element.style.transition = \"height \".concat(this._duration, \"ms ease-in-out\");\n element.style.overflow = 'hidden';\n setTimeout(function () {\n element.style.height = \"\".concat(element.scrollHeight, \"px\");\n }, 0);\n this.delays.set(element, setTimeout(function () {\n element.style.height = null;\n }, this._duration));\n };\n Animater.prototype.slideOut = function (element) {\n if (!element) {\n return;\n }\n clearTimeout(this.delays.get(element));\n this.toggleClass(element, 'animator__slide-down', 'animator__slide-up');\n element.style.height = \"\".concat(element.scrollHeight, \"px\");\n element.style.transition = \"height \".concat(this._duration, \"ms ease-in-out\");\n setTimeout(function () {\n element.style.height = '0';\n }, 0);\n this.delays.set(element, setTimeout(function () {\n element.style.display = 'none';\n element.style.overflow = null;\n }, this._duration));\n };\n Animater = __decorate([\n Injectable()\n ], Animater);\n return Animater;\n}());\nexport default Animater;\n//# sourceMappingURL=animate.js.map","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nimport { Inject } from '../../index';\nimport DOMHTML from './html';\nimport Animater from './animate';\nvar DOMClasslist = /** @class */ (function (_super) {\n __extends(DOMClasslist, _super);\n function DOMClasslist() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DOMClasslist.prototype.containsClasses = function (element) {\n var classes = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n classes[_i - 1] = arguments[_i];\n }\n for (var _a = 0, classes_1 = classes; _a < classes_1.length; _a++) {\n var item = classes_1[_a];\n if (element.classList.contains(item)) {\n return true;\n }\n }\n return false;\n };\n DOMClasslist.prototype.addClasses = function (elements) {\n var classes = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n classes[_i - 1] = arguments[_i];\n }\n var _loop_1 = function (item) {\n if (elements instanceof Array) {\n elements.forEach(function (element) {\n element === null || element === void 0 ? void 0 : element.classList.add(item);\n });\n }\n else {\n elements === null || elements === void 0 ? void 0 : elements.classList.add(item);\n }\n };\n for (var _a = 0, classes_2 = classes; _a < classes_2.length; _a++) {\n var item = classes_2[_a];\n _loop_1(item);\n }\n };\n DOMClasslist.prototype.removeClasses = function (elements) {\n var classes = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n classes[_i - 1] = arguments[_i];\n }\n var _loop_2 = function (item) {\n if (elements instanceof Array) {\n elements.forEach(function (element) {\n element === null || element === void 0 ? void 0 : element.classList.remove(item);\n });\n }\n else {\n elements === null || elements === void 0 ? void 0 : elements.classList.remove(item);\n }\n };\n for (var _a = 0, classes_3 = classes; _a < classes_3.length; _a++) {\n var item = classes_3[_a];\n _loop_2(item);\n }\n };\n DOMClasslist.prototype.toggleClasses = function (elements) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var classes = args.filter(function (item) { return typeof item === 'string'; });\n var force = args.find(function (item) { return typeof item === 'boolean'; });\n var _loop_3 = function (item) {\n if (elements instanceof Array) {\n elements.forEach(function (element) {\n element === null || element === void 0 ? void 0 : element.classList.toggle(item, force);\n });\n }\n else {\n elements === null || elements === void 0 ? void 0 : elements.classList.toggle(item, force);\n }\n };\n for (var _a = 0, classes_4 = classes; _a < classes_4.length; _a++) {\n var item = classes_4[_a];\n _loop_3(item);\n }\n };\n // converts the HTMLElement to a selector string\n DOMClasslist.prototype.toSelector = function (element) {\n if (element.id) {\n return \"#\".concat(element.id);\n }\n if (element.classList.length > 0) {\n return element.classList.toString().split(' ').map(function (className) { return \".\".concat(className.trim()); }).join('');\n }\n return element.tagName.toLowerCase();\n };\n DOMClasslist.prototype.animate = function (animation) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n var animate = this._animate;\n if (typeof args[0] === 'string') {\n animate = this._animate.withDisplay(args[0]);\n }\n args.forEach(function (item) {\n if (item instanceof Element) {\n animate[animation].bind(animate)(item);\n }\n });\n this._animate.withDisplay('block');\n };\n DOMClasslist.prototype.isVisible = function (element) {\n var style = window.getComputedStyle(element);\n return (style.display !== 'none') || element.classList.contains('js--fade-in');\n };\n __decorate([\n Inject(),\n __metadata(\"design:type\", Animater)\n ], DOMClasslist.prototype, \"_animate\", void 0);\n return DOMClasslist;\n}(DOMHTML));\nexport default DOMClasslist;\n//# sourceMappingURL=classlist.js.map","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { Injectable } from '../../di/injectable';\nimport DOMClasslist from './classlist';\nvar DOMUtils = /** @class */ (function (_super) {\n __extends(DOMUtils, _super);\n function DOMUtils() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.focusableElementSelector = 'button, a, input:not([type=\"hidden\"]), select, textarea, [tabindex]:not([tabindex=\"-1\"])';\n return _this;\n }\n DOMUtils.prototype.getFocusableElements = function (element) {\n var focusableElements = this.getElements(this.focusableElementSelector, element);\n return focusableElements;\n };\n DOMUtils.prototype.getFocusableElement = function (element) {\n return this.getElement(this.focusableElementSelector, element);\n };\n DOMUtils.prototype.getElement = function (selector, wrapper) {\n if (wrapper === void 0) { wrapper = document.body; }\n return wrapper === null || wrapper === void 0 ? void 0 : wrapper.querySelector(selector);\n };\n DOMUtils.prototype.getElements = function (selector, wrapper) {\n if (wrapper === void 0) { wrapper = document.body; }\n return this.convertToArray(wrapper === null || wrapper === void 0 ? void 0 : wrapper.querySelectorAll(selector));\n };\n DOMUtils.prototype.getElementById = function (id) {\n return document.getElementById(id);\n };\n DOMUtils.prototype.getElementsByClassName = function (className, wrapper) {\n if (wrapper === void 0) { wrapper = document.body; }\n return this.convertToArray(wrapper === null || wrapper === void 0 ? void 0 : wrapper.getElementsByClassName(className));\n };\n DOMUtils.prototype.getElementByClassName = function (className, wrapper) {\n if (wrapper === void 0) { wrapper = document.body; }\n return this.getElementsByClassName(className, wrapper)[0];\n };\n DOMUtils.prototype.closest = function (className, wrapper) {\n return wrapper === null || wrapper === void 0 ? void 0 : wrapper.closest(className);\n };\n DOMUtils.prototype.convertToArray = function (elements) {\n if (elements == null) {\n return [];\n }\n return Array.prototype.slice.call(elements);\n };\n DOMUtils.prototype.htmlIterator = function (element, key, selector) {\n var nextElements = [];\n var nextElement = element;\n while (nextElement[key]) {\n nextElement = nextElement[key];\n if (!selector) {\n nextElements.push(nextElement);\n }\n else if (nextElement.matches(selector)) {\n nextElements.push(nextElement);\n }\n }\n return nextElements;\n };\n DOMUtils.prototype.nextAll = function (element, selector) {\n return this.htmlIterator(element, 'nextElementSibling', selector);\n };\n DOMUtils.prototype.prevAll = function (element, selector) {\n if (selector === void 0) { selector = null; }\n return this.htmlIterator(element, 'previousElementSibling', selector);\n };\n DOMUtils.prototype.parents = function (element, selector) {\n return this.htmlIterator(element, 'parentElement', selector);\n };\n DOMUtils.prototype.offsetTop = function (target) {\n return (target instanceof HTMLElement ? target.getBoundingClientRect() : target).top + window.pageYOffset;\n };\n DOMUtils = __decorate([\n Injectable()\n ], DOMUtils);\n return DOMUtils;\n}(DOMClasslist));\nexport { DOMUtils };\n//# sourceMappingURL=index.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { Inject } from '../di/inject';\nimport { Injectable } from '../di/injectable';\nimport { DOMUtils } from './dom/index';\nvar Api = /** @class */ (function () {\n function Api() {\n }\n Object.defineProperty(Api.prototype, \"pbContext\", {\n get: function () {\n var _a;\n return (_a = this.domUtils.getElement('[name=pbContext]', document.head)) === null || _a === void 0 ? void 0 : _a.getAttribute('content');\n },\n enumerable: false,\n configurable: true\n });\n Api.prototype.widgetId = function (widget) {\n var _a, _b;\n return (_b = (_a = widget.getAttribute('widget-id')) !== null && _a !== void 0 ? _a : widget.dataset.widgetId) !== null && _b !== void 0 ? _b : widget.id;\n };\n /**\n * Request an updated HTML for the widget by using the context\n *\n * @param widget\n * @param url\n * @param method\n * @param dataType\n * @param data\n * @returns\n */\n Api.prototype.renderWidget = function (widget, name, incoming, method, dataType) {\n if (incoming === void 0) { incoming = {}; }\n if (method === void 0) { method = \"GET\"; }\n if (dataType === void 0) { dataType = 'html'; }\n return __awaiter(this, void 0, void 0, function () {\n var data, widgetId, pbContext, searchParams;\n return __generator(this, function (_a) {\n data = incoming;\n if (widget) {\n widgetId = this.widgetId(widget);\n pbContext = this.pbContext;\n if (!(widgetId === null || widgetId === void 0 ? void 0 : widgetId.length)) {\n throw new Error('Widget ID not found');\n }\n if (!(pbContext === null || pbContext === void 0 ? void 0 : pbContext.length)) {\n throw new Error('PB Context not found');\n }\n data['pbContext'] = this.pbContext;\n data['widgetId'] = widgetId;\n }\n searchParams = new URL(window.location.href).searchParams;\n if (searchParams.has(\"showJson\")) {\n data[\"showJson\"] = searchParams.get(\"showJson\");\n }\n return [2 /*return*/, this.fetch(\"/pb/widgets/\".concat(name), method, dataType, data)];\n });\n });\n };\n /**\n * Converts the data to query string which could be appended to the url\n *\n * @param data\n * @returns string\n */\n Api.prototype.dataToQueryString = function (data, url) {\n var params;\n var hasParams = (url || \"\").indexOf('?') > -1;\n var updatedData = [];\n for (var key in data) {\n updatedData.push(\"\".concat(key, \"=\").concat(encodeURIComponent(\"\".concat(data[key]))));\n }\n params = updatedData.join('&');\n return hasParams ? \"&\".concat(params) : \"?\".concat(params);\n };\n /**\n * Sends the request to the server, instead of nativally using fetch use this method\n *\n * @param url\n * @param method\n * @param dataType\n * @param data\n *\n * @returns Promise<RequestResponse>\n */\n Api.prototype.fetch = function (url, method, dataType, data) {\n if (method === void 0) { method = \"GET\"; }\n if (dataType === void 0) { dataType = 'html'; }\n if (data === void 0) { data = {}; }\n return __awaiter(this, void 0, void 0, function () {\n var hasRequestBody, response;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n hasRequestBody = method === \"POST\" || method === \"PUT\" || method === \"PATCH\";\n if (!hasRequestBody) {\n url = url + this.dataToQueryString(data, url);\n }\n return [4 /*yield*/, fetch(url, {\n method: method,\n headers: this.getHeaderFromData(data),\n body: hasRequestBody ? this.serialize(data) : null,\n })];\n case 1:\n response = _a.sent();\n if (response.status === 404) {\n throw new Error('not found');\n }\n if (response.status === 500) {\n throw new Error('internal server error');\n }\n return [2 /*return*/, dataType == 'json' || dataType == 'jsonp' ? response.json() : response.text()];\n }\n });\n });\n };\n Api.prototype.serialize = function (incomingData) {\n var data = '';\n if (incomingData instanceof FormData) {\n var updatedData_1 = [];\n incomingData.forEach(function (value, key) {\n updatedData_1.push(\"\".concat(key, \"=\").concat(encodeURIComponent(\"\".concat(value))));\n });\n data = updatedData_1.join('&');\n }\n else {\n data = JSON.stringify(incomingData);\n }\n return data;\n };\n Api.prototype.getHeaderFromData = function (data) {\n return data instanceof FormData ? { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' } : { 'Content-Type': 'application/json' };\n };\n Api.prototype.get = function (url, data, type) {\n if (data === void 0) { data = {}; }\n if (type === void 0) { type = 'json'; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.fetch(url, 'GET', type, data)];\n });\n });\n };\n Api.prototype.post = function (url, data, type) {\n if (data === void 0) { data = {}; }\n if (type === void 0) { type = 'json'; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.fetch(url, 'POST', type, data)];\n });\n });\n };\n __decorate([\n Inject(),\n __metadata(\"design:type\", DOMUtils)\n ], Api.prototype, \"domUtils\", void 0);\n Api = __decorate([\n Injectable()\n ], Api);\n return Api;\n}());\nexport { Api };\n//# sourceMappingURL=api.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { Injectable } from \"../../di/injectable\";\nvar Validator = /** @class */ (function () {\n function Validator() {\n }\n Validator.prototype.valueFrom = function (target) {\n if (target instanceof HTMLInputElement) {\n return target === null || target === void 0 ? void 0 : target.value;\n }\n return target !== null && target !== void 0 ? target : \"\";\n };\n Validator.prototype.isEmail = function (email) {\n var regix = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return regix.test(this.valueFrom(email));\n };\n Validator.prototype.isNumber = function (number) {\n var numeric = parseFloat(this.valueFrom(number));\n return !isNaN(numeric) && isFinite(numeric);\n };\n Validator.prototype.isPhone = function (phone) {\n var regix = /^\\+\\d{12}$/;\n return regix.test(this.valueFrom(phone));\n };\n Validator.prototype.isEmpty = function (value) {\n return !this.valueFrom(value).trim().length;\n };\n Validator.prototype.isNotEmpty = function (value) {\n return !!this.valueFrom(value).trim().length;\n };\n Validator.prototype.isTooLong = function (value, maxLength) {\n return this.valueFrom(value).length > maxLength;\n };\n Validator.prototype.isTooShort = function (value, minLength) {\n return this.valueFrom(value).length < minLength;\n };\n Validator.prototype.matchLength = function (value, length) {\n return this.valueFrom(value).length === length;\n };\n Validator.prototype.hasSpecialCharacters = function (value) {\n var regix = /[!@#\\$%\\^\\&*\\)\\(+=._-]/;\n return regix.test(this.valueFrom(value));\n };\n Validator.prototype.hasLowerCase = function (value) {\n var regix = /[a-z]/;\n return regix.test(this.valueFrom(value));\n };\n Validator.prototype.hasUpperCase = function (value) {\n var regix = /[A-Z]/;\n return regix.test(this.valueFrom(value));\n };\n Validator.prototype.hasNumber = function (value) {\n var regix = /[0-9]/;\n return regix.test(this.valueFrom(value));\n };\n Validator = __decorate([\n Injectable()\n ], Validator);\n return Validator;\n}());\nexport { Validator };\n//# sourceMappingURL=validator.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nimport { Injectable } from \"../di/injectable\";\nvar I18N = /** @class */ (function () {\n function I18N() {\n }\n I18N.prototype.initialize = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.load()];\n case 1:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n Object.defineProperty(I18N.prototype, \"language\", {\n get: function () { return document.documentElement.lang || 'en'; },\n enumerable: false,\n configurable: true\n });\n I18N.prototype.load = function () {\n return __awaiter(this, void 0, void 0, function () {\n var _this = this;\n return __generator(this, function (_a) {\n return [2 /*return*/, new Promise(function (resolve) { return __awaiter(_this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!this.data) return [3 /*break*/, 1];\n resolve();\n return [3 /*break*/, 3];\n case 1: return [4 /*yield*/, this.loadFromFile()];\n case 2:\n _a.sent();\n resolve();\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n }); })];\n });\n });\n };\n I18N.prototype.loadFromFile = function () {\n return __awaiter(this, void 0, void 0, function () {\n var lang, url, response, _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n lang = this.language;\n url = \"\".concat(window.__webpack_public_path__, \"/locales/\").concat(lang, \".json\");\n return [4 /*yield*/, fetch(url)];\n case 1:\n response = _b.sent();\n _a = this;\n return [4 /*yield*/, response.json()];\n case 2:\n _a.data = _b.sent();\n return [2 /*return*/];\n }\n });\n });\n };\n I18N.prototype.localized = function (key, dynamicArgs) {\n return this.translate(this.localizedObject(key), dynamicArgs);\n };\n I18N.prototype.localizedObject = function (key) {\n if (key.includes('.')) {\n return this.correctedKey(key);\n }\n return this.data[key];\n };\n I18N.prototype.correctedKey = function (key) {\n var splitted = key.split('.');\n var object = this.data[splitted.shift()];\n while (splitted.length > 0) {\n object = object[splitted.shift()];\n }\n return object;\n };\n I18N.prototype.translate = function (localizedString, dynamicArgs) {\n var result = localizedString;\n if (!dynamicArgs) {\n return result;\n }\n Object.keys(dynamicArgs).forEach(function (key) {\n var value = dynamicArgs[key];\n var regex = new RegExp(\"{{\".concat(key, \"}}\"), 'g');\n result = result.replace(regex, value);\n });\n return result;\n };\n I18N = __decorate([\n Injectable()\n ], I18N);\n return I18N;\n}());\nexport { I18N };\n//# sourceMappingURL=i18n.js.map","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nimport { Inject } from \"../di/inject\";\nimport { DOMUtils } from \"./dom/index\";\nvar ComponentSelector = /** @class */ (function () {\n function ComponentSelector(selector, parent, shouldInitiate) {\n if (parent === void 0) { parent = 'wrapper'; }\n if (shouldInitiate === void 0) { shouldInitiate = true; }\n this.selector = selector;\n this.parent = parent;\n this.shouldInitiate = shouldInitiate;\n }\n return ComponentSelector;\n}());\nvar ComponentSelectors = /** @class */ (function () {\n function ComponentSelectors() {\n }\n return ComponentSelectors;\n}());\nvar ComponentObject = /** @class */ (function () {\n function ComponentObject() {\n }\n Object.defineProperty(ComponentObject.prototype, \"className\", {\n get: function () {\n return typeof this;\n },\n enumerable: false,\n configurable: true\n });\n return ComponentObject;\n}());\nvar ComponentElements = /** @class */ (function () {\n function ComponentElements(selectors) {\n this.selectors = selectors;\n }\n ComponentElements.prototype.initialize = function (wrapper) {\n if (wrapper === void 0) { wrapper = null; }\n this.wrapper = wrapper;\n this.setElements();\n };\n ComponentElements.prototype.setElements = function () {\n var _this = this;\n var selectors = this.selectors;\n Object.keys(selectors).forEach(function (key) {\n if (typeof selectors[key] === 'string') {\n return;\n }\n var selector = selectors[key];\n if (!selector.shouldInitiate) {\n return;\n }\n var parent = selector.parent;\n var parentElm;\n parentElm = parent == 'document' ? document.body : _this[parent];\n if (Array.isArray(_this[key])) {\n _this[key] = _this.domUtils.getElements(selector.selector, parentElm);\n }\n else {\n _this[key] = _this.domUtils.getElement(selector.selector, parentElm);\n }\n });\n };\n ;\n __decorate([\n Inject(),\n __metadata(\"design:type\", DOMUtils)\n ], ComponentElements.prototype, \"domUtils\", void 0);\n return ComponentElements;\n}());\nvar Component = /** @class */ (function () {\n function Component(elements, classList, texts) {\n this.elements = elements;\n this.classList = classList;\n this.texts = texts;\n }\n return Component;\n}());\nfunction ComponentInjector(selectors, elements, classList, texts) {\n return function (constructor) {\n return /** @class */ (function (_super) {\n __extends(class_1, _super);\n function class_1() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.component = new Component(new elements(new selectors()), new classList(), new texts());\n return _this;\n }\n Object.defineProperty(class_1.prototype, \"selectors\", {\n get: function () {\n return this.component.elements.selectors;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(class_1.prototype, \"classList\", {\n get: function () {\n return this.component.classList;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(class_1.prototype, \"elements\", {\n get: function () {\n return this.component.elements;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(class_1.prototype, \"texts\", {\n get: function () {\n return this.component.texts;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(class_1.prototype, \"domUtils\", {\n get: function () {\n return this.component.elements.domUtils;\n },\n enumerable: false,\n configurable: true\n });\n return class_1;\n }(constructor));\n };\n}\nexport { Component, ComponentSelector, ComponentSelectors, ComponentObject, ComponentElements, ComponentInjector, };\n//# sourceMappingURL=component.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nimport { Inject } from \"../../di/inject\";\nimport { DOMUtils } from \"../dom/index\";\nvar Form = /** @class */ (function () {\n function Form(submitButton) {\n var builders = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n builders[_i - 1] = arguments[_i];\n }\n this.submitButton = submitButton;\n this._isValid = true;\n this._builders = [];\n this.builders = builders || [];\n this.addEventListeners();\n }\n Object.defineProperty(Form.prototype, \"isValid\", {\n get: function () {\n return this._isValid;\n },\n set: function (value) {\n this._isValid = value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Form.prototype, \"builders\", {\n get: function () {\n return this._builders;\n },\n set: function (value) {\n this._builders = value;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Form.prototype, \"onSubmission\", {\n get: function () {\n return this._onSubmission;\n },\n set: function (value) {\n this._onSubmission = value;\n },\n enumerable: false,\n configurable: true\n });\n Form.prototype.addEventListeners = function () {\n var _this = this;\n var _a;\n if ((_a = this.submitButton) === null || _a === void 0 ? void 0 : _a.form) {\n this.submitButton.form.addEventListener('submit', this.onSubmit.bind(this));\n }\n this.builders.forEach(function (builder) {\n _this.domUtils.addEventListener(builder.field, 'keyup,input', _this.validate.bind(_this));\n });\n };\n Form.prototype.onSubmit = function (e) {\n this.validate();\n if (!this.isValid) {\n e.preventDefault();\n }\n this.onSubmission && this.onSubmission(e);\n };\n Form.prototype.validate = function () {\n this.isValid = this.builders.every(function (builder) { return builder.validate(); });\n if (!this.isValid) {\n this.submitButton.setAttribute('disabled', 'disabled');\n }\n else {\n this.submitButton.removeAttribute('disabled');\n }\n return this;\n };\n __decorate([\n Inject(),\n __metadata(\"design:type\", DOMUtils)\n ], Form.prototype, \"domUtils\", void 0);\n return Form;\n}());\nexport { Form };\n//# sourceMappingURL=index.js.map","var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nimport { Inject } from \"../../di/inject\";\nimport { Validator } from \"./validator\";\nvar ValidatorBuilder = /** @class */ (function () {\n function ValidatorBuilder(_field) {\n this._field = _field;\n this.customValidators = [];\n }\n Object.defineProperty(ValidatorBuilder.prototype, \"field\", {\n get: function () {\n return this._field;\n },\n enumerable: false,\n configurable: true\n });\n ValidatorBuilder.prototype.isRequired = function () {\n this.required = this.validator.isNotEmpty.bind(this.validator, this.field);\n return this;\n };\n ValidatorBuilder.prototype.isTooLong = function (maxLength) {\n this.tooLong = this.validator.isTooLong.bind(this.validator, this.field, maxLength);\n return this;\n };\n ValidatorBuilder.prototype.isTooShort = function (minLength) {\n this.tooShort = this.validator.isTooShort.bind(this.validator, this.field, minLength);\n return this;\n };\n ValidatorBuilder.prototype.isEmail = function () {\n this.email = this.validator.isEmail.bind(this.validator, this.field);\n return this;\n };\n ValidatorBuilder.prototype.isNumber = function () {\n this.number = this.validator.isNumber.bind(this.validator, this.field);\n return this;\n };\n ValidatorBuilder.prototype.isPhone = function () {\n this.phone = this.validator.isPhone.bind(this.validator, this.field);\n return this;\n };\n ValidatorBuilder.prototype.matches = function (length) {\n this.matchLength = this.validator.matchLength.bind(this.validator, this.field, length);\n return this;\n };\n ValidatorBuilder.prototype.custom = function (validator) {\n this.customValidators.push(validator.bind(this.validator, this.field));\n return this;\n };\n ValidatorBuilder.prototype.validate = function () {\n var _this = this;\n if (this.required && !this.required(this.field)) {\n return false;\n }\n if (this.email && !this.email(this.field)) {\n return false;\n }\n if (this.tooLong && this.tooLong(this.field)) {\n return false;\n }\n if (this.tooShort && this.tooShort(this.field)) {\n return false;\n }\n if (this.number && !this.number(this.field)) {\n return false;\n }\n if (this.matchLength && !this.matchLength(this.field)) {\n return false;\n }\n if (this.phone && !this.phone(this.field)) {\n return false;\n }\n if (this.customValidators.length) {\n var isValid = this.customValidators.every(function (custom) { return custom(_this.field); });\n if (!isValid) {\n return false;\n }\n }\n return true;\n };\n __decorate([\n Inject(),\n __metadata(\"design:type\", Validator)\n ], ValidatorBuilder.prototype, \"validator\", void 0);\n return ValidatorBuilder;\n}());\nexport { ValidatorBuilder };\n//# sourceMappingURL=validator-builder.js.map","/**\n * We have a hard dependency on reflect-metadata package. Without it the\n * dependency lookup won't work, so we warn users when it's not loaded.\n */\nif (!Reflect || !Reflect.getMetadata) {\n throw new Error('reflect-metadata should be installed otherwise please uninstall this package');\n}\nexport { Injectable } from './di/injectable';\nexport { Inject } from './di/inject';\nexport { Container } from './di/container';\nexport { BrowserUtils } from './utils/browser';\nexport { Observer } from './utils/observer';\nexport { DOMUtils } from './utils/dom/index';\nexport { Api } from './utils/api';\nexport { Validator } from './utils/form/validator';\nexport { I18N } from './utils/i18n';\nexport { Component, ComponentSelector, ComponentSelectors, ComponentObject, ComponentElements, ComponentInjector, } from './utils/component';\nexport { Form, } from './utils/form/index';\nexport { ValidatorBuilder } from './utils/form/validator-builder';\nexport { Multi } from './multi-inherit';\n//# sourceMappingURL=index.js.map","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.4.1): util.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n/*eslint-disable*/\nimport $ from 'jquery';\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend';\nconst MAX_UID = 1000000;\nconst MILLISECONDS_MULTIPLIER = 1000;\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n return {}.toString\n .call(obj)\n .match(/\\s([a-z]+)/i)[1]\n .toLowerCase();\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params\n }\n return undefined; // eslint-disable-line no-undefined\n },\n };\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false;\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true;\n });\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this);\n }\n }, duration);\n\n return this;\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator;\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID); // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix));\n return prefix;\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target');\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href');\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : '';\n }\n\n try {\n return document.querySelector(selector) ? selector : null;\n } catch (err) {\n return null;\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0;\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration');\n let transitionDelay = $(element).css('transition-delay');\n\n const floatTransitionDuration = parseFloat(transitionDuration);\n const floatTransitionDelay = parseFloat(transitionDelay);\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0;\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0];\n transitionDelay = transitionDelay.split(',')[0];\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;\n },\n\n reflow(element) {\n return element.offsetHeight;\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END);\n },\n\n // TODO: Remove in v5\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END);\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType;\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property];\n const value = config[property];\n const valueType = value && Util.isElement(value) ? 'element' : toType(value);\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`\n );\n }\n }\n }\n },\n\n findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null;\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode();\n return root instanceof ShadowRoot ? root : null;\n }\n\n if (element instanceof ShadowRoot) {\n return element;\n }\n\n // when we don't find a shadow root\n if (!element.parentNode) {\n return null;\n }\n\n return Util.findShadowRoot(element.parentNode);\n },\n\n jQueryDetection() {\n if (typeof $ === 'undefined') {\n throw new TypeError(\n \"Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.\"\n );\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.');\n const minMajor = 1;\n const ltMajor = 2;\n const minMinor = 9;\n const minPatch = 1;\n const maxMajor = 4;\n\n if (\n (version[0] < ltMajor && version[1] < minMinor) ||\n (version[0] === minMajor && version[1] === minMinor && version[2] < minPatch) ||\n version[0] >= maxMajor\n ) {\n throw new Error(\"Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0\");\n }\n },\n};\n\nUtil.jQueryDetection();\nsetTransitionEndSupport();\n\nexport default Util;\n","function asyncGeneratorStep(n, t, e, r, o, a, c) {\n try {\n var i = n[a](c),\n u = i.value;\n } catch (n) {\n return void e(n);\n }\n i.done ? t(u) : Promise.resolve(u).then(r, o);\n}\nfunction _asyncToGenerator(n) {\n return function () {\n var t = this,\n e = arguments;\n return new Promise(function (r, o) {\n var a = n.apply(t, e);\n function _next(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n);\n }\n function _throw(n) {\n asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n);\n }\n _next(void 0);\n });\n };\n}\nmodule.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\nvar iterableToArray = require(\"./iterableToArray.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(a, n) {\n if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n}\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var toPropertyKey = require(\"./toPropertyKey.js\");\nfunction _defineProperties(e, r) {\n for (var t = 0; t < r.length; t++) {\n var o = r[t];\n o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);\n }\n}\nfunction _createClass(e, r, t) {\n return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", {\n writable: !1\n }), e;\n}\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(r, a) {\n (null == a || a > r.length) && (a = r.length);\n for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];\n return n;\n}\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _unsupportedIterableToArray(r, a) {\n if (r) {\n if (\"string\" == typeof r) return arrayLikeToArray(r, a);\n var t = {}.toString.call(r).slice(8, -1);\n return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;\n }\n}\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","(function (UX) {\n /**\n * UX Namespace for tests\n * @namespace\n * @type {*|{}}\n */\n UX.test = UX.test || {};\n\n /**\n * Test browser support for input[type=date]\n * @returns {boolean}\n */\n UX.test.inputDate = function () {\n // test for input|type=date support\n // it could be better, when tests are separated and used globally - Modernizr test for this issue is much more sofisticated for example\n let hasDateInputSupport = false;\n\n function checkInput(type) {\n const input = document.createElement('input');\n input.setAttribute('type', type);\n return input.type === type;\n }\n\n function checkDateInput() {\n const input = document.createElement('input');\n input.setAttribute('type', 'date');\n\n const notADateValue = 'not-a-date';\n input.setAttribute('value', notADateValue);\n\n return input.value !== notADateValue;\n }\n\n if (checkInput('date') && checkDateInput()) {\n hasDateInputSupport = true;\n }\n\n return hasDateInputSupport;\n };\n\n /**\n * detect IE\n * returns version of IE or false, if browser is not Internet Explorer\n */\n UX.test.isIE = function isIE() {\n const ua = window.navigator.userAgent;\n const msie = ua.indexOf('MSIE ');\n if (msie > 0) {\n // IE 10 or older => return version number\n return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);\n }\n\n const trident = ua.indexOf('Trident/');\n if (trident > 0) {\n // IE 11 => return version number\n const rv = ua.indexOf('rv:');\n return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);\n }\n\n const edge = ua.indexOf('Edge/');\n if (edge > 0) {\n // Edge (IE 12+) => return version number\n return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);\n }\n\n // other browser\n return false;\n };\n})(UX);\n\nexport const isIE = UX.test.isIE();\n","var arrayWithHoles = require(\"./arrayWithHoles.js\");\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\nvar nonIterableRest = require(\"./nonIterableRest.js\");\nfunction _slicedToArray(r, e) {\n return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();\n}\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Polyfill to add support to NodeList forEach in IE\n *\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill}\n */\n\nif (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n}\n","import {isIE} from './tests';\nimport '../../plugins/polyfills/js/NodeList/forEach';\nimport 'element-closest-polyfill';\n\n(function (UX) {\n /**\n * UX namespace for basic utils\n * @namespace\n * @type {*|{}}\n */\n UX.utils = UX.utils || {};\n\n /**\n * Generate unique ID suffix\n * @returns {string}\n */\n UX.utils.generateId = function () {\n // Math.random should be unique because of its seeding algorithm.\n // Convert it to base 36 (numbers + letters), and grab the first 9 characters\n // after the decimal.\n return '_' + Math.random().toString(36).substr(2, 9);\n };\n\n /**\n * Capitalize first letter\n * @param {string} string\n * @returns {string}\n */\n UX.utils.capitalizeFirstLetter = function (string) {\n if (typeof string == 'string') {\n return string.charAt(0).toUpperCase() + string.slice(1);\n } else {\n return '';\n }\n };\n\n UX.utils.fixedHeaderHeight = function (selector) {\n if (!selector) selector = '.header';\n const fixedHeader = document.querySelector(selector);\n if (!fixedHeader) return 0;\n\n if (fixedHeader.querySelector('.scrollThenFix')) {\n return fixedHeader.querySelector('.scrollThenFix').getBoundingClientRect().height;\n }\n\n if (fixedHeader.classList.contains('auto-hide-bar') || fixedHeader.querySelectorAll('.auto-hide-bar').length) {\n const fixedHeaderElements = fixedHeader.querySelectorAll('.fixed-element');\n let height = 0;\n fixedHeaderElements.forEach(element => {\n height += element.getBoundingClientRect().height;\n });\n return height;\n }\n\n const parentsOfHeader = fixedHeader.parentElement;\n\n let isFixed;\n if (isIE) {\n isFixed = fixedHeader.classList.contains('fixed') || parentsOfHeader.classList.contains('fixed');\n } else {\n const headerPositions = {\n header: window.getComputedStyle(fixedHeader).position,\n parents: window.getComputedStyle(parentsOfHeader).position,\n };\n isFixed =\n ['fixed', 'sticky'].indexOf(headerPositions.header) !== -1 ||\n ['fixed', 'sticky'].indexOf(headerPositions.parents) !== -1;\n }\n\n return isFixed ? fixedHeader.getBoundingClientRect().height : 0;\n };\n\n UX.utils.flattenAndFlip = function (object) {\n const result = {};\n for (const type in object) {\n if (!Object.prototype.hasOwnProperty.call(object, type)) continue;\n object[type].forEach(ext => (result[ext] = type));\n }\n return result;\n };\n\n UX.utils.getUrlParameter = function (sParam) {\n var sPageURL = window.location.search.substring(1),\n sURLVariables = sPageURL.split('&'),\n sParameterName,\n i;\n\n for (i = 0; i < sURLVariables.length; i++) {\n sParameterName = sURLVariables[i].split('=');\n\n if (sParameterName[0] === sParam) {\n return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);\n }\n }\n };\n\n UX.utils.removeUrlParam = function (key, sourceURL) {\n if (typeof sourceURL === 'undefined') {\n return;\n }\n let rtn = sourceURL.split('?')[0],\n param,\n params_arr = [],\n queryString = sourceURL.indexOf('?') !== -1 ? sourceURL.split('?')[1] : '';\n if (queryString !== '') {\n params_arr = queryString.split('&');\n for (let i = params_arr.length - 1; i >= 0; i -= 1) {\n param = params_arr[i].split('=')[0];\n if (param === key) {\n params_arr.splice(i, 1);\n }\n }\n rtn = rtn + '?' + params_arr.join('&');\n }\n return rtn;\n };\n\n UX.utils.escapeHtml = function (string) {\n var entityMap = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '/': '/',\n '`': '`',\n '=': '=',\n };\n return String(string).replace(/[&<>\"'`=\\/]/g, function (s) { /*eslint-disable-line*/\n return entityMap[s];\n });\n };\n\n UX.utils.isRTL = () => document.querySelector('html').getAttribute('dir') === 'rtl';\n\n /**\n * Polyfill for document.querySelectorAll() with forEach() IE.\n * @param nodeList\n * @returns {T[]}\n */\n UX.utils.convertToArray = nodeList => Array.prototype.slice.call(nodeList);\n\n /**\n * To keep the focus inside the wrapper (for modal accessibility).\n * @param {HTMLElement} outerWrapper\n */\n UX.utils.focusCycle = outerWrapper => {\n if (outerWrapper) {\n /*eslint-disable*/\n const focusableList = UX.utils.convertToArray(\n outerWrapper.querySelectorAll(\n 'a, button, input, textarea, select, details, [tabindex]:not([tabindex=\"-1\"])'\n )\n ),\n focusCycle = e => {\n const focusOrder = e.target.dataset.focusOrder;\n if (e.relatedTarget && !e.relatedTarget.closest('.js--focusCycle')) {\n switch (focusOrder) {\n case '0':\n focusableList[focusableList.length - 1].focus();\n break;\n case `${focusableList.length - 1}`:\n focusableList[0].focus();\n break;\n }\n }\n };\n\n outerWrapper.classList.add('js--focusCycle');\n if (focusableList.length) {\n focusableList.forEach((item, index) => {\n item.dataset.focusOrder = `${index}`;\n item.addEventListener('focusout', focusCycle);\n });\n }\n }\n };\n\n UX.utils.releasedAssetsPath = () => {\n const resourcePath = [...document.querySelectorAll('link')].map(node => node.href).find(href => href.includes('releasedAssets'));\n const releasedAssetsPath = resourcePath && `${resourcePath.split('releasedAssets')[0]}releasedAssets/`;\n return releasedAssetsPath;\n };\n\n UX.utils.isSafari = () => {\n const excludedAgentsArray = [\n 'crios',\n 'fxios',\n 'chrome',\n 'msie',\n 'rv:',\n 'firefox',\n 'op',\n 'android',\n ];\n var userAgent = navigator.userAgent.toLowerCase();\n let isSafari =\n (userAgent.includes('iphone') || userAgent.includes('os')) &&\n (/^((?!chrome|android).)*safari/i.test(userAgent) || window.safari !== undefined);\n\n // Exclude other browsers\n excludedAgentsArray.forEach(agent => {\n if (userAgent.includes(agent)) {\n isSafari = false;\n }\n });\n return isSafari;\n }\n\n UX.utils.focusCycleInitiator = container => {\n const cycleElements = container.querySelectorAll('[class*=\"__cycleElement\"]');\n if (!cycleElements || cycleElements.length === 0) return;\n const filteredElements = Array.from(cycleElements).filter(element => !element.closest('.hidden'));\n filteredElements.forEach((element, index) => {\n element.tabIndex = 0;\n element.addEventListener('keydown', event => {\n if (event.key === 'Tab') {\n event.preventDefault();\n if (event.shiftKey) {\n const prevIndex = (index - 1 + filteredElements.length) % filteredElements.length;\n filteredElements[prevIndex].focus();\n } else {\n const nextIndex = (index + 1) % filteredElements.length;\n filteredElements[nextIndex].focus();\n }\n }\n });\n });\n };\n})(UX);\n\nexport default UX.utils;\nexport const { generateId, capitalizeFirstLetter, fixedHeaderHeight, flattenAndFlip, convertToArray, focusCycle } =\n UX.utils;\n\nexport const keyCodes = {\n DOWN: 40,\n END: 35,\n HOME: 36,\n LEFT: 37,\n RIGHT: 39,\n UP: 38,\n RETURN: 13,\n SPACE: 32,\n TAB: 9,\n ESCAPE: 27,\n leftClick: 0,\n ENTER: 13,\n};","var _typeof = require(\"./typeof.js\")[\"default\"];\nvar toPrimitive = require(\"./toPrimitive.js\");\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nmodule.exports = toPropertyKey, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill}\n */\n/*eslint-disable*/\n(function () {\n if (typeof window.CustomEvent === 'function') return false; //If not IE\n\n function CustomEvent(event, params) {\n params = params || {bubbles: false, cancelable: false, detail: undefined};\n var evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n }\n\n CustomEvent.prototype = window.Event.prototype;\n\n window.CustomEvent = CustomEvent;\n})();\n","if (typeof Element !== \"undefined\") {\n if (!Element.prototype.matches) {\n Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\n }\n\n if (!Element.prototype.closest) {\n Element.prototype.closest = function (s) {\n var el = this;\n\n do {\n if (el.matches(s)) return el;\n el = el.parentElement || el.parentNode;\n } while (el !== null && el.nodeType === 1);\n \n return null;\n };\n }\n}\n","/*! *****************************************************************************\nCopyright (C) Microsoft. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\nvar Reflect;\n(function (Reflect) {\n // Metadata Proposal\n // https://rbuckton.github.io/reflect-metadata/\n (function (factory) {\n var root = typeof global === \"object\" ? global :\n typeof self === \"object\" ? self :\n typeof this === \"object\" ? this :\n Function(\"return this;\")();\n var exporter = makeExporter(Reflect);\n if (typeof root.Reflect === \"undefined\") {\n root.Reflect = Reflect;\n }\n else {\n exporter = makeExporter(root.Reflect, exporter);\n }\n factory(exporter);\n function makeExporter(target, previous) {\n return function (key, value) {\n if (typeof target[key] !== \"function\") {\n Object.defineProperty(target, key, { configurable: true, writable: true, value: value });\n }\n if (previous)\n previous(key, value);\n };\n }\n })(function (exporter) {\n var hasOwn = Object.prototype.hasOwnProperty;\n // feature test for Symbol support\n var supportsSymbol = typeof Symbol === \"function\";\n var toPrimitiveSymbol = supportsSymbol && typeof Symbol.toPrimitive !== \"undefined\" ? Symbol.toPrimitive : \"@@toPrimitive\";\n var iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== \"undefined\" ? Symbol.iterator : \"@@iterator\";\n var supportsCreate = typeof Object.create === \"function\"; // feature test for Object.create support\n var supportsProto = { __proto__: [] } instanceof Array; // feature test for __proto__ support\n var downLevel = !supportsCreate && !supportsProto;\n var HashMap = {\n // create an object in dictionary mode (a.k.a. \"slow\" mode in v8)\n create: supportsCreate\n ? function () { return MakeDictionary(Object.create(null)); }\n : supportsProto\n ? function () { return MakeDictionary({ __proto__: null }); }\n : function () { return MakeDictionary({}); },\n has: downLevel\n ? function (map, key) { return hasOwn.call(map, key); }\n : function (map, key) { return key in map; },\n get: downLevel\n ? function (map, key) { return hasOwn.call(map, key) ? map[key] : undefined; }\n : function (map, key) { return map[key]; },\n };\n // Load global or shim versions of Map, Set, and WeakMap\n var functionPrototype = Object.getPrototypeOf(Function);\n var usePolyfill = typeof process === \"object\" && process.env && process.env[\"REFLECT_METADATA_USE_MAP_POLYFILL\"] === \"true\";\n var _Map = !usePolyfill && typeof Map === \"function\" && typeof Map.prototype.entries === \"function\" ? Map : CreateMapPolyfill();\n var _Set = !usePolyfill && typeof Set === \"function\" && typeof Set.prototype.entries === \"function\" ? Set : CreateSetPolyfill();\n var _WeakMap = !usePolyfill && typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\n // [[Metadata]] internal slot\n // https://rbuckton.github.io/reflect-metadata/#ordinary-object-internal-methods-and-internal-slots\n var Metadata = new _WeakMap();\n /**\n * Applies a set of decorators to a property of a target object.\n * @param decorators An array of decorators.\n * @param target The target object.\n * @param propertyKey (Optional) The property key to decorate.\n * @param attributes (Optional) The property descriptor for the target key.\n * @remarks Decorators are applied in reverse order.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * Example = Reflect.decorate(decoratorsArray, Example);\n *\n * // property (on constructor)\n * Reflect.decorate(decoratorsArray, Example, \"staticProperty\");\n *\n * // property (on prototype)\n * Reflect.decorate(decoratorsArray, Example.prototype, \"property\");\n *\n * // method (on constructor)\n * Object.defineProperty(Example, \"staticMethod\",\n * Reflect.decorate(decoratorsArray, Example, \"staticMethod\",\n * Object.getOwnPropertyDescriptor(Example, \"staticMethod\")));\n *\n * // method (on prototype)\n * Object.defineProperty(Example.prototype, \"method\",\n * Reflect.decorate(decoratorsArray, Example.prototype, \"method\",\n * Object.getOwnPropertyDescriptor(Example.prototype, \"method\")));\n *\n */\n function decorate(decorators, target, propertyKey, attributes) {\n if (!IsUndefined(propertyKey)) {\n if (!IsArray(decorators))\n throw new TypeError();\n if (!IsObject(target))\n throw new TypeError();\n if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes))\n throw new TypeError();\n if (IsNull(attributes))\n attributes = undefined;\n propertyKey = ToPropertyKey(propertyKey);\n return DecorateProperty(decorators, target, propertyKey, attributes);\n }\n else {\n if (!IsArray(decorators))\n throw new TypeError();\n if (!IsConstructor(target))\n throw new TypeError();\n return DecorateConstructor(decorators, target);\n }\n }\n exporter(\"decorate\", decorate);\n // 4.1.2 Reflect.metadata(metadataKey, metadataValue)\n // https://rbuckton.github.io/reflect-metadata/#reflect.metadata\n /**\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\n * @param metadataKey The key for the metadata entry.\n * @param metadataValue The value for the metadata entry.\n * @returns A decorator function.\n * @remarks\n * If `metadataKey` is already defined for the target and target key, the\n * metadataValue for that key will be overwritten.\n * @example\n *\n * // constructor\n * @Reflect.metadata(key, value)\n * class Example {\n * }\n *\n * // property (on constructor, TypeScript only)\n * class Example {\n * @Reflect.metadata(key, value)\n * static staticProperty;\n * }\n *\n * // property (on prototype, TypeScript only)\n * class Example {\n * @Reflect.metadata(key, value)\n * property;\n * }\n *\n * // method (on constructor)\n * class Example {\n * @Reflect.metadata(key, value)\n * static staticMethod() { }\n * }\n *\n * // method (on prototype)\n * class Example {\n * @Reflect.metadata(key, value)\n * method() { }\n * }\n *\n */\n function metadata(metadataKey, metadataValue) {\n function decorator(target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey))\n throw new TypeError();\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\n }\n return decorator;\n }\n exporter(\"metadata\", metadata);\n /**\n * Define a unique metadata entry on the target.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param metadataValue A value that contains attached metadata.\n * @param target The target object on which to define metadata.\n * @param propertyKey (Optional) The property key for the target.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * Reflect.defineMetadata(\"custom:annotation\", options, Example);\n *\n * // property (on constructor)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticProperty\");\n *\n * // property (on prototype)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"property\");\n *\n * // method (on constructor)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example, \"staticMethod\");\n *\n * // method (on prototype)\n * Reflect.defineMetadata(\"custom:annotation\", options, Example.prototype, \"method\");\n *\n * // decorator factory as metadata-producing annotation.\n * function MyAnnotation(options): Decorator {\n * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\n * }\n *\n */\n function defineMetadata(metadataKey, metadataValue, target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);\n }\n exporter(\"defineMetadata\", defineMetadata);\n /**\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.hasMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.hasMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function hasMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryHasMetadata(metadataKey, target, propertyKey);\n }\n exporter(\"hasMetadata\", hasMetadata);\n /**\n * Gets a value indicating whether the target object has the provided metadata key defined.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function hasOwnMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);\n }\n exporter(\"hasOwnMetadata\", hasOwnMetadata);\n /**\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function getMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryGetMetadata(metadataKey, target, propertyKey);\n }\n exporter(\"getMetadata\", getMetadata);\n /**\n * Gets the metadata value for the provided metadata key on the target object.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getOwnMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function getOwnMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);\n }\n exporter(\"getOwnMetadata\", getOwnMetadata);\n /**\n * Gets the metadata keys defined on the target object or its prototype chain.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns An array of unique metadata keys.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getMetadataKeys(Example);\n *\n * // property (on constructor)\n * result = Reflect.getMetadataKeys(Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getMetadataKeys(Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getMetadataKeys(Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getMetadataKeys(Example.prototype, \"method\");\n *\n */\n function getMetadataKeys(target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryMetadataKeys(target, propertyKey);\n }\n exporter(\"getMetadataKeys\", getMetadataKeys);\n /**\n * Gets the unique metadata keys defined on the target object.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns An array of unique metadata keys.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.getOwnMetadataKeys(Example);\n *\n * // property (on constructor)\n * result = Reflect.getOwnMetadataKeys(Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.getOwnMetadataKeys(Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.getOwnMetadataKeys(Example.prototype, \"method\");\n *\n */\n function getOwnMetadataKeys(target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n return OrdinaryOwnMetadataKeys(target, propertyKey);\n }\n exporter(\"getOwnMetadataKeys\", getOwnMetadataKeys);\n /**\n * Deletes the metadata entry from the target object with the provided key.\n * @param metadataKey A key used to store and retrieve metadata.\n * @param target The target object on which the metadata is defined.\n * @param propertyKey (Optional) The property key for the target.\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\n * @example\n *\n * class Example {\n * // property declarations are not part of ES6, though they are valid in TypeScript:\n * // static staticProperty;\n * // property;\n *\n * constructor(p) { }\n * static staticMethod(p) { }\n * method(p) { }\n * }\n *\n * // constructor\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example);\n *\n * // property (on constructor)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticProperty\");\n *\n * // property (on prototype)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"property\");\n *\n * // method (on constructor)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example, \"staticMethod\");\n *\n * // method (on prototype)\n * result = Reflect.deleteMetadata(\"custom:annotation\", Example.prototype, \"method\");\n *\n */\n function deleteMetadata(metadataKey, target, propertyKey) {\n if (!IsObject(target))\n throw new TypeError();\n if (!IsUndefined(propertyKey))\n propertyKey = ToPropertyKey(propertyKey);\n var metadataMap = GetOrCreateMetadataMap(target, propertyKey, /*Create*/ false);\n if (IsUndefined(metadataMap))\n return false;\n if (!metadataMap.delete(metadataKey))\n return false;\n if (metadataMap.size > 0)\n return true;\n var targetMetadata = Metadata.get(target);\n targetMetadata.delete(propertyKey);\n if (targetMetadata.size > 0)\n return true;\n Metadata.delete(target);\n return true;\n }\n exporter(\"deleteMetadata\", deleteMetadata);\n function DecorateConstructor(decorators, target) {\n for (var i = decorators.length - 1; i >= 0; --i) {\n var decorator = decorators[i];\n var decorated = decorator(target);\n if (!IsUndefined(decorated) && !IsNull(decorated)) {\n if (!IsConstructor(decorated))\n throw new TypeError();\n target = decorated;\n }\n }\n return target;\n }\n function DecorateProperty(decorators, target, propertyKey, descriptor) {\n for (var i = decorators.length - 1; i >= 0; --i) {\n var decorator = decorators[i];\n var decorated = decorator(target, propertyKey, descriptor);\n if (!IsUndefined(decorated) && !IsNull(decorated)) {\n if (!IsObject(decorated))\n throw new TypeError();\n descriptor = decorated;\n }\n }\n return descriptor;\n }\n function GetOrCreateMetadataMap(O, P, Create) {\n var targetMetadata = Metadata.get(O);\n if (IsUndefined(targetMetadata)) {\n if (!Create)\n return undefined;\n targetMetadata = new _Map();\n Metadata.set(O, targetMetadata);\n }\n var metadataMap = targetMetadata.get(P);\n if (IsUndefined(metadataMap)) {\n if (!Create)\n return undefined;\n metadataMap = new _Map();\n targetMetadata.set(P, metadataMap);\n }\n return metadataMap;\n }\n // 3.1.1.1 OrdinaryHasMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinaryhasmetadata\n function OrdinaryHasMetadata(MetadataKey, O, P) {\n var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn)\n return true;\n var parent = OrdinaryGetPrototypeOf(O);\n if (!IsNull(parent))\n return OrdinaryHasMetadata(MetadataKey, parent, P);\n return false;\n }\n // 3.1.2.1 OrdinaryHasOwnMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinaryhasownmetadata\n function OrdinaryHasOwnMetadata(MetadataKey, O, P) {\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\n if (IsUndefined(metadataMap))\n return false;\n return ToBoolean(metadataMap.has(MetadataKey));\n }\n // 3.1.3.1 OrdinaryGetMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarygetmetadata\n function OrdinaryGetMetadata(MetadataKey, O, P) {\n var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn)\n return OrdinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = OrdinaryGetPrototypeOf(O);\n if (!IsNull(parent))\n return OrdinaryGetMetadata(MetadataKey, parent, P);\n return undefined;\n }\n // 3.1.4.1 OrdinaryGetOwnMetadata(MetadataKey, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarygetownmetadata\n function OrdinaryGetOwnMetadata(MetadataKey, O, P) {\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\n if (IsUndefined(metadataMap))\n return undefined;\n return metadataMap.get(MetadataKey);\n }\n // 3.1.5.1 OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarydefineownmetadata\n function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ true);\n metadataMap.set(MetadataKey, MetadataValue);\n }\n // 3.1.6.1 OrdinaryMetadataKeys(O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinarymetadatakeys\n function OrdinaryMetadataKeys(O, P) {\n var ownKeys = OrdinaryOwnMetadataKeys(O, P);\n var parent = OrdinaryGetPrototypeOf(O);\n if (parent === null)\n return ownKeys;\n var parentKeys = OrdinaryMetadataKeys(parent, P);\n if (parentKeys.length <= 0)\n return ownKeys;\n if (ownKeys.length <= 0)\n return parentKeys;\n var set = new _Set();\n var keys = [];\n for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {\n var key = ownKeys_1[_i];\n var hasKey = set.has(key);\n if (!hasKey) {\n set.add(key);\n keys.push(key);\n }\n }\n for (var _a = 0, parentKeys_1 = parentKeys; _a < parentKeys_1.length; _a++) {\n var key = parentKeys_1[_a];\n var hasKey = set.has(key);\n if (!hasKey) {\n set.add(key);\n keys.push(key);\n }\n }\n return keys;\n }\n // 3.1.7.1 OrdinaryOwnMetadataKeys(O, P)\n // https://rbuckton.github.io/reflect-metadata/#ordinaryownmetadatakeys\n function OrdinaryOwnMetadataKeys(O, P) {\n var keys = [];\n var metadataMap = GetOrCreateMetadataMap(O, P, /*Create*/ false);\n if (IsUndefined(metadataMap))\n return keys;\n var keysObj = metadataMap.keys();\n var iterator = GetIterator(keysObj);\n var k = 0;\n while (true) {\n var next = IteratorStep(iterator);\n if (!next) {\n keys.length = k;\n return keys;\n }\n var nextValue = IteratorValue(next);\n try {\n keys[k] = nextValue;\n }\n catch (e) {\n try {\n IteratorClose(iterator);\n }\n finally {\n throw e;\n }\n }\n k++;\n }\n }\n // 6 ECMAScript Data Typ0es and Values\n // https://tc39.github.io/ecma262/#sec-ecmascript-data-types-and-values\n function Type(x) {\n if (x === null)\n return 1 /* Null */;\n switch (typeof x) {\n case \"undefined\": return 0 /* Undefined */;\n case \"boolean\": return 2 /* Boolean */;\n case \"string\": return 3 /* String */;\n case \"symbol\": return 4 /* Symbol */;\n case \"number\": return 5 /* Number */;\n case \"object\": return x === null ? 1 /* Null */ : 6 /* Object */;\n default: return 6 /* Object */;\n }\n }\n // 6.1.1 The Undefined Type\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-undefined-type\n function IsUndefined(x) {\n return x === undefined;\n }\n // 6.1.2 The Null Type\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-null-type\n function IsNull(x) {\n return x === null;\n }\n // 6.1.5 The Symbol Type\n // https://tc39.github.io/ecma262/#sec-ecmascript-language-types-symbol-type\n function IsSymbol(x) {\n return typeof x === \"symbol\";\n }\n // 6.1.7 The Object Type\n // https://tc39.github.io/ecma262/#sec-object-type\n function IsObject(x) {\n return typeof x === \"object\" ? x !== null : typeof x === \"function\";\n }\n // 7.1 Type Conversion\n // https://tc39.github.io/ecma262/#sec-type-conversion\n // 7.1.1 ToPrimitive(input [, PreferredType])\n // https://tc39.github.io/ecma262/#sec-toprimitive\n function ToPrimitive(input, PreferredType) {\n switch (Type(input)) {\n case 0 /* Undefined */: return input;\n case 1 /* Null */: return input;\n case 2 /* Boolean */: return input;\n case 3 /* String */: return input;\n case 4 /* Symbol */: return input;\n case 5 /* Number */: return input;\n }\n var hint = PreferredType === 3 /* String */ ? \"string\" : PreferredType === 5 /* Number */ ? \"number\" : \"default\";\n var exoticToPrim = GetMethod(input, toPrimitiveSymbol);\n if (exoticToPrim !== undefined) {\n var result = exoticToPrim.call(input, hint);\n if (IsObject(result))\n throw new TypeError();\n return result;\n }\n return OrdinaryToPrimitive(input, hint === \"default\" ? \"number\" : hint);\n }\n // 7.1.1.1 OrdinaryToPrimitive(O, hint)\n // https://tc39.github.io/ecma262/#sec-ordinarytoprimitive\n function OrdinaryToPrimitive(O, hint) {\n if (hint === \"string\") {\n var toString_1 = O.toString;\n if (IsCallable(toString_1)) {\n var result = toString_1.call(O);\n if (!IsObject(result))\n return result;\n }\n var valueOf = O.valueOf;\n if (IsCallable(valueOf)) {\n var result = valueOf.call(O);\n if (!IsObject(result))\n return result;\n }\n }\n else {\n var valueOf = O.valueOf;\n if (IsCallable(valueOf)) {\n var result = valueOf.call(O);\n if (!IsObject(result))\n return result;\n }\n var toString_2 = O.toString;\n if (IsCallable(toString_2)) {\n var result = toString_2.call(O);\n if (!IsObject(result))\n return result;\n }\n }\n throw new TypeError();\n }\n // 7.1.2 ToBoolean(argument)\n // https://tc39.github.io/ecma262/2016/#sec-toboolean\n function ToBoolean(argument) {\n return !!argument;\n }\n // 7.1.12 ToString(argument)\n // https://tc39.github.io/ecma262/#sec-tostring\n function ToString(argument) {\n return \"\" + argument;\n }\n // 7.1.14 ToPropertyKey(argument)\n // https://tc39.github.io/ecma262/#sec-topropertykey\n function ToPropertyKey(argument) {\n var key = ToPrimitive(argument, 3 /* String */);\n if (IsSymbol(key))\n return key;\n return ToString(key);\n }\n // 7.2 Testing and Comparison Operations\n // https://tc39.github.io/ecma262/#sec-testing-and-comparison-operations\n // 7.2.2 IsArray(argument)\n // https://tc39.github.io/ecma262/#sec-isarray\n function IsArray(argument) {\n return Array.isArray\n ? Array.isArray(argument)\n : argument instanceof Object\n ? argument instanceof Array\n : Object.prototype.toString.call(argument) === \"[object Array]\";\n }\n // 7.2.3 IsCallable(argument)\n // https://tc39.github.io/ecma262/#sec-iscallable\n function IsCallable(argument) {\n // NOTE: This is an approximation as we cannot check for [[Call]] internal method.\n return typeof argument === \"function\";\n }\n // 7.2.4 IsConstructor(argument)\n // https://tc39.github.io/ecma262/#sec-isconstructor\n function IsConstructor(argument) {\n // NOTE: This is an approximation as we cannot check for [[Construct]] internal method.\n return typeof argument === \"function\";\n }\n // 7.2.7 IsPropertyKey(argument)\n // https://tc39.github.io/ecma262/#sec-ispropertykey\n function IsPropertyKey(argument) {\n switch (Type(argument)) {\n case 3 /* String */: return true;\n case 4 /* Symbol */: return true;\n default: return false;\n }\n }\n // 7.3 Operations on Objects\n // https://tc39.github.io/ecma262/#sec-operations-on-objects\n // 7.3.9 GetMethod(V, P)\n // https://tc39.github.io/ecma262/#sec-getmethod\n function GetMethod(V, P) {\n var func = V[P];\n if (func === undefined || func === null)\n return undefined;\n if (!IsCallable(func))\n throw new TypeError();\n return func;\n }\n // 7.4 Operations on Iterator Objects\n // https://tc39.github.io/ecma262/#sec-operations-on-iterator-objects\n function GetIterator(obj) {\n var method = GetMethod(obj, iteratorSymbol);\n if (!IsCallable(method))\n throw new TypeError(); // from Call\n var iterator = method.call(obj);\n if (!IsObject(iterator))\n throw new TypeError();\n return iterator;\n }\n // 7.4.4 IteratorValue(iterResult)\n // https://tc39.github.io/ecma262/2016/#sec-iteratorvalue\n function IteratorValue(iterResult) {\n return iterResult.value;\n }\n // 7.4.5 IteratorStep(iterator)\n // https://tc39.github.io/ecma262/#sec-iteratorstep\n function IteratorStep(iterator) {\n var result = iterator.next();\n return result.done ? false : result;\n }\n // 7.4.6 IteratorClose(iterator, completion)\n // https://tc39.github.io/ecma262/#sec-iteratorclose\n function IteratorClose(iterator) {\n var f = iterator[\"return\"];\n if (f)\n f.call(iterator);\n }\n // 9.1 Ordinary Object Internal Methods and Internal Slots\n // https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots\n // 9.1.1.1 OrdinaryGetPrototypeOf(O)\n // https://tc39.github.io/ecma262/#sec-ordinarygetprototypeof\n function OrdinaryGetPrototypeOf(O) {\n var proto = Object.getPrototypeOf(O);\n if (typeof O !== \"function\" || O === functionPrototype)\n return proto;\n // TypeScript doesn't set __proto__ in ES5, as it's non-standard.\n // Try to determine the superclass constructor. Compatible implementations\n // must either set __proto__ on a subclass constructor to the superclass constructor,\n // or ensure each class has a valid `constructor` property on its prototype that\n // points back to the constructor.\n // If this is not the same as Function.[[Prototype]], then this is definately inherited.\n // This is the case when in ES6 or when using __proto__ in a compatible browser.\n if (proto !== functionPrototype)\n return proto;\n // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\n var prototype = O.prototype;\n var prototypeProto = prototype && Object.getPrototypeOf(prototype);\n if (prototypeProto == null || prototypeProto === Object.prototype)\n return proto;\n // If the constructor was not a function, then we cannot determine the heritage.\n var constructor = prototypeProto.constructor;\n if (typeof constructor !== \"function\")\n return proto;\n // If we have some kind of self-reference, then we cannot determine the heritage.\n if (constructor === O)\n return proto;\n // we have a pretty good guess at the heritage.\n return constructor;\n }\n // naive Map shim\n function CreateMapPolyfill() {\n var cacheSentinel = {};\n var arraySentinel = [];\n var MapIterator = /** @class */ (function () {\n function MapIterator(keys, values, selector) {\n this._index = 0;\n this._keys = keys;\n this._values = values;\n this._selector = selector;\n }\n MapIterator.prototype[\"@@iterator\"] = function () { return this; };\n MapIterator.prototype[iteratorSymbol] = function () { return this; };\n MapIterator.prototype.next = function () {\n var index = this._index;\n if (index >= 0 && index < this._keys.length) {\n var result = this._selector(this._keys[index], this._values[index]);\n if (index + 1 >= this._keys.length) {\n this._index = -1;\n this._keys = arraySentinel;\n this._values = arraySentinel;\n }\n else {\n this._index++;\n }\n return { value: result, done: false };\n }\n return { value: undefined, done: true };\n };\n MapIterator.prototype.throw = function (error) {\n if (this._index >= 0) {\n this._index = -1;\n this._keys = arraySentinel;\n this._values = arraySentinel;\n }\n throw error;\n };\n MapIterator.prototype.return = function (value) {\n if (this._index >= 0) {\n this._index = -1;\n this._keys = arraySentinel;\n this._values = arraySentinel;\n }\n return { value: value, done: true };\n };\n return MapIterator;\n }());\n return /** @class */ (function () {\n function Map() {\n this._keys = [];\n this._values = [];\n this._cacheKey = cacheSentinel;\n this._cacheIndex = -2;\n }\n Object.defineProperty(Map.prototype, \"size\", {\n get: function () { return this._keys.length; },\n enumerable: true,\n configurable: true\n });\n Map.prototype.has = function (key) { return this._find(key, /*insert*/ false) >= 0; };\n Map.prototype.get = function (key) {\n var index = this._find(key, /*insert*/ false);\n return index >= 0 ? this._values[index] : undefined;\n };\n Map.prototype.set = function (key, value) {\n var index = this._find(key, /*insert*/ true);\n this._values[index] = value;\n return this;\n };\n Map.prototype.delete = function (key) {\n var index = this._find(key, /*insert*/ false);\n if (index >= 0) {\n var size = this._keys.length;\n for (var i = index + 1; i < size; i++) {\n this._keys[i - 1] = this._keys[i];\n this._values[i - 1] = this._values[i];\n }\n this._keys.length--;\n this._values.length--;\n if (key === this._cacheKey) {\n this._cacheKey = cacheSentinel;\n this._cacheIndex = -2;\n }\n return true;\n }\n return false;\n };\n Map.prototype.clear = function () {\n this._keys.length = 0;\n this._values.length = 0;\n this._cacheKey = cacheSentinel;\n this._cacheIndex = -2;\n };\n Map.prototype.keys = function () { return new MapIterator(this._keys, this._values, getKey); };\n Map.prototype.values = function () { return new MapIterator(this._keys, this._values, getValue); };\n Map.prototype.entries = function () { return new MapIterator(this._keys, this._values, getEntry); };\n Map.prototype[\"@@iterator\"] = function () { return this.entries(); };\n Map.prototype[iteratorSymbol] = function () { return this.entries(); };\n Map.prototype._find = function (key, insert) {\n if (this._cacheKey !== key) {\n this._cacheIndex = this._keys.indexOf(this._cacheKey = key);\n }\n if (this._cacheIndex < 0 && insert) {\n this._cacheIndex = this._keys.length;\n this._keys.push(key);\n this._values.push(undefined);\n }\n return this._cacheIndex;\n };\n return Map;\n }());\n function getKey(key, _) {\n return key;\n }\n function getValue(_, value) {\n return value;\n }\n function getEntry(key, value) {\n return [key, value];\n }\n }\n // naive Set shim\n function CreateSetPolyfill() {\n return /** @class */ (function () {\n function Set() {\n this._map = new _Map();\n }\n Object.defineProperty(Set.prototype, \"size\", {\n get: function () { return this._map.size; },\n enumerable: true,\n configurable: true\n });\n Set.prototype.has = function (value) { return this._map.has(value); };\n Set.prototype.add = function (value) { return this._map.set(value, value), this; };\n Set.prototype.delete = function (value) { return this._map.delete(value); };\n Set.prototype.clear = function () { this._map.clear(); };\n Set.prototype.keys = function () { return this._map.keys(); };\n Set.prototype.values = function () { return this._map.values(); };\n Set.prototype.entries = function () { return this._map.entries(); };\n Set.prototype[\"@@iterator\"] = function () { return this.keys(); };\n Set.prototype[iteratorSymbol] = function () { return this.keys(); };\n return Set;\n }());\n }\n // naive WeakMap shim\n function CreateWeakMapPolyfill() {\n var UUID_SIZE = 16;\n var keys = HashMap.create();\n var rootKey = CreateUniqueKey();\n return /** @class */ (function () {\n function WeakMap() {\n this._key = CreateUniqueKey();\n }\n WeakMap.prototype.has = function (target) {\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\n return table !== undefined ? HashMap.has(table, this._key) : false;\n };\n WeakMap.prototype.get = function (target) {\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\n return table !== undefined ? HashMap.get(table, this._key) : undefined;\n };\n WeakMap.prototype.set = function (target, value) {\n var table = GetOrCreateWeakMapTable(target, /*create*/ true);\n table[this._key] = value;\n return this;\n };\n WeakMap.prototype.delete = function (target) {\n var table = GetOrCreateWeakMapTable(target, /*create*/ false);\n return table !== undefined ? delete table[this._key] : false;\n };\n WeakMap.prototype.clear = function () {\n // NOTE: not a real clear, just makes the previous data unreachable\n this._key = CreateUniqueKey();\n };\n return WeakMap;\n }());\n function CreateUniqueKey() {\n var key;\n do\n key = \"@@WeakMap@@\" + CreateUUID();\n while (HashMap.has(keys, key));\n keys[key] = true;\n return key;\n }\n function GetOrCreateWeakMapTable(target, create) {\n if (!hasOwn.call(target, rootKey)) {\n if (!create)\n return undefined;\n Object.defineProperty(target, rootKey, { value: HashMap.create() });\n }\n return target[rootKey];\n }\n function FillRandomBytes(buffer, size) {\n for (var i = 0; i < size; ++i)\n buffer[i] = Math.random() * 0xff | 0;\n return buffer;\n }\n function GenRandomBytes(size) {\n if (typeof Uint8Array === \"function\") {\n if (typeof crypto !== \"undefined\")\n return crypto.getRandomValues(new Uint8Array(size));\n if (typeof msCrypto !== \"undefined\")\n return msCrypto.getRandomValues(new Uint8Array(size));\n return FillRandomBytes(new Uint8Array(size), size);\n }\n return FillRandomBytes(new Array(size), size);\n }\n function CreateUUID() {\n var data = GenRandomBytes(UUID_SIZE);\n // mark as random - RFC 4122 § 4.4\n data[6] = data[6] & 0x4f | 0x40;\n data[8] = data[8] & 0xbf | 0x80;\n var result = \"\";\n for (var offset = 0; offset < UUID_SIZE; ++offset) {\n var byte = data[offset];\n if (offset === 4 || offset === 6 || offset === 8)\n result += \"-\";\n if (byte < 16)\n result += \"0\";\n result += byte.toString(16).toLowerCase();\n }\n return result;\n }\n }\n // uses a heuristic used by v8 and chakra to force an object into dictionary mode.\n function MakeDictionary(obj) {\n obj.__ = undefined;\n delete obj.__;\n return obj;\n }\n });\n})(Reflect || (Reflect = {}));\n","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _typeof(o);\n}\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","module.exports = global[\"jQuery\"] = require(\"-!/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/babel-loader/lib/index.js??ref--7-0!./jquery.js\");","/*!\n * jQuery JavaScript Library v3.7.1\n * https://jquery.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-08-28T13:37Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket trac-14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar version = \"3.7.1\",\n\n\trhtmlSuffix = /HTML$/i,\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\n\t// Retrieve the text value of an array of DOM nodes\n\ttext: function( elem ) {\n\t\tvar node,\n\t\t\tret = \"\",\n\t\t\ti = 0,\n\t\t\tnodeType = elem.nodeType;\n\n\t\tif ( !nodeType ) {\n\n\t\t\t// If no nodeType, this is expected to be an array\n\t\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t\t// Do not traverse comment nodes\n\t\t\t\tret += jQuery.text( node );\n\t\t\t}\n\t\t}\n\t\tif ( nodeType === 1 || nodeType === 11 ) {\n\t\t\treturn elem.textContent;\n\t\t}\n\t\tif ( nodeType === 9 ) {\n\t\t\treturn elem.documentElement.textContent;\n\t\t}\n\t\tif ( nodeType === 3 || nodeType === 4 ) {\n\t\t\treturn elem.nodeValue;\n\t\t}\n\n\t\t// Do not include comment or processing instruction nodes\n\n\t\treturn ret;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\tisXMLDoc: function( elem ) {\n\t\tvar namespace = elem && elem.namespaceURI,\n\t\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t\t// Assume HTML when documentElement doesn't yet exist, such as inside\n\t\t// document fragments.\n\t\treturn !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar pop = arr.pop;\n\n\nvar sort = arr.sort;\n\n\nvar splice = arr.splice;\n\n\nvar whitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\";\n\n\nvar rtrimCSS = new RegExp(\n\t\"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\",\n\t\"g\"\n);\n\n\n\n\n// Note: an element does not contain itself\njQuery.contains = function( a, b ) {\n\tvar bup = b && b.parentNode;\n\n\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE doesn't have `contains` on SVG.\n\t\ta.contains ?\n\t\t\ta.contains( bup ) :\n\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t) );\n};\n\n\n\n\n// CSS string/identifier serialization\n// https://drafts.csswg.org/cssom/#common-serializing-idioms\nvar rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n\nfunction fcssescape( ch, asCodePoint ) {\n\tif ( asCodePoint ) {\n\n\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\tif ( ch === \"\\0\" ) {\n\t\t\treturn \"\\uFFFD\";\n\t\t}\n\n\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t}\n\n\t// Other potentially-special ASCII characters get backslash-escaped\n\treturn \"\\\\\" + ch;\n}\n\njQuery.escapeSelector = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\n\n\n\nvar preferredDoc = document,\n\tpushNative = push;\n\n( function() {\n\nvar i,\n\tExpr,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\tpush = pushNative,\n\n\t// Local document vars\n\tdocument,\n\tdocumentElement,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\tmatches,\n\n\t// Instance-specific data\n\texpando = jQuery.expando,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|\" +\n\t\t\"loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trleadingCombinator = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" +\n\t\twhitespace + \"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\tID: new RegExp( \"^#(\" + identifier + \")\" ),\n\t\tCLASS: new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\tTAG: new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\tATTR: new RegExp( \"^\" + attributes ),\n\t\tPSEUDO: new RegExp( \"^\" + pseudos ),\n\t\tCHILD: new RegExp(\n\t\t\t\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\tbool: new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\tneedsContext: new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\tif ( nonHex ) {\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\treturn nonHex;\n\t\t}\n\n\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t// Support: IE <=11+\n\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t// surrogate pair\n\t\treturn high < 0 ?\n\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// Used for iframes; see `setDocument`.\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE/Edge.\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && nodeName( elem, \"fieldset\" );\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android <=4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = {\n\t\tapply: function( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t},\n\t\tcall: function( target ) {\n\t\t\tpushNative.apply( target, slice.call( arguments, 1 ) );\n\t\t}\n\t};\n}\n\nfunction find( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tfind.contains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( !nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when\n\t\t\t\t\t// strict-comparing two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( newContext != context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = jQuery.escapeSelector( nid );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrimCSS, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties\n\t\t// (see https://github.com/jquery/sizzle/issues/157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by jQuery selector module\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn nodeName( elem, \"input\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn ( nodeName( elem, \"input\" ) || nodeName( elem, \"button\" ) ) &&\n\t\t\telem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11+\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a jQuery selector context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nfunction setDocument( node ) {\n\tvar subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocumentElement = document.documentElement;\n\tdocumentIsHTML = !jQuery.isXMLDoc( document );\n\n\t// Support: iOS 7 only, IE 9 - 11+\n\t// Older browsers didn't support unprefixed `matches`.\n\tmatches = documentElement.matches ||\n\t\tdocumentElement.webkitMatchesSelector ||\n\t\tdocumentElement.msMatchesSelector;\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors\n\t// (see trac-13936).\n\t// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n\t// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n\tif ( documentElement.msMatchesSelector &&\n\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tpreferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t\tsubWindow.addEventListener( \"unload\", unloadHandler );\n\t}\n\n\t// Support: IE <10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocumentElement.appendChild( el ).id = jQuery.expando;\n\t\treturn !document.getElementsByName ||\n\t\t\t!document.getElementsByName( jQuery.expando ).length;\n\t} );\n\n\t// Support: IE 9 only\n\t// Check to see if it's possible to do matchesSelector\n\t// on a disconnected node.\n\tsupport.disconnectedMatch = assert( function( el ) {\n\t\treturn matches.call( el, \"*\" );\n\t} );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// IE/Edge don't support the :scope pseudo-class.\n\tsupport.scope = assert( function() {\n\t\treturn document.querySelectorAll( \":scope\" );\n\t} );\n\n\t// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n\t// Make sure the `:has()` argument is parsed unforgivingly.\n\t// We include `*` in the test to detect buggy implementations that are\n\t// _selectively_ forgiving (specifically when the list includes at least\n\t// one valid selector).\n\t// Note that we treat complete lack of support for `:has()` as if it were\n\t// spec-compliant support, which is fine because use of `:has()` in such\n\t// environments will fail in the qSA path and fall back to jQuery traversal\n\t// anyway.\n\tsupport.cssHas = assert( function() {\n\t\ttry {\n\t\t\tdocument.querySelector( \":has(*,:jqfake)\" );\n\t\t\treturn false;\n\t\t} catch ( e ) {\n\t\t\treturn true;\n\t\t}\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter.ID = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter.ID = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find.TAG = function( tag, context ) {\n\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t// DocumentFragment nodes don't have gEBTN\n\t\t} else {\n\t\t\treturn context.querySelectorAll( tag );\n\t\t}\n\t};\n\n\t// Class\n\tExpr.find.CLASS = function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\trbuggyQSA = [];\n\n\t// Build QSA regex\n\t// Regex strategy adopted from Diego Perini\n\tassert( function( el ) {\n\n\t\tvar input;\n\n\t\tdocumentElement.appendChild( el ).innerHTML =\n\t\t\t\"<a id='\" + expando + \"' href='' disabled='disabled'></a>\" +\n\t\t\t\"<select id='\" + expando + \"-\\r\\\\' disabled='disabled'>\" +\n\t\t\t\"<option selected=''></option></select>\";\n\n\t\t// Support: iOS <=7 - 8 only\n\t\t// Boolean attributes and \"value\" are not treated correctly in some XML documents\n\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t}\n\n\t\t// Support: iOS <=7 - 8 only\n\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\trbuggyQSA.push( \"~=\" );\n\t\t}\n\n\t\t// Support: iOS 8 only\n\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t}\n\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\trbuggyQSA.push( \":checked\" );\n\t\t}\n\n\t\t// Support: Windows 8 Native Apps\n\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tdocumentElement.appendChild( el ).disabled = true;\n\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t}\n\n\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t// Adding a temporary attribute to the document before the selection works\n\t\t// around the issue.\n\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"name\", \"\" );\n\t\tel.appendChild( input );\n\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t}\n\t} );\n\n\tif ( !support.cssHas ) {\n\n\t\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t\t// Our regular `try-catch` mechanism fails to detect natively-unsupported\n\t\t// pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n\t\t// in browsers that parse the `:has()` argument as a forgiving selector list.\n\t\t// https://drafts.csswg.org/selectors/#relational now requires the argument\n\t\t// to be parsed unforgivingly, but browsers have not yet fully adjusted.\n\t\trbuggyQSA.push( \":has\" );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = function( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a === document || a.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b === document || b.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t};\n\n\treturn document;\n}\n\nfind.matches = function( expr, elements ) {\n\treturn find( expr, null, null, elements );\n};\n\nfind.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn find( expr, document, null, [ elem ] ).length > 0;\n};\n\nfind.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn jQuery.contains( context, elem );\n};\n\n\nfind.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (see trac-13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\tif ( val !== undefined ) {\n\t\treturn val;\n\t}\n\n\treturn elem.getAttribute( name );\n};\n\nfind.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\njQuery.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\t//\n\t// Support: Android <=4.0+\n\t// Testing for detecting duplicates is unpredictable so instead assume we can't\n\t// depend on duplicate detection in all browsers without a stable sort.\n\thasDuplicate = !support.sortStable;\n\tsortInput = !support.sortStable && slice.call( results, 0 );\n\tsort.call( results, sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tsplice.call( results, duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\njQuery.fn.uniqueSort = function() {\n\treturn this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) );\n};\n\nExpr = jQuery.expr = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\tATTR: function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || \"\" )\n\t\t\t\t.replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\tCHILD: function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" )\n\t\t\t\t);\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\tPSEUDO: function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr.CHILD.test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\tTAG: function( nodeNameSelector ) {\n\t\t\tvar expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn nodeName( elem, expectedNodeName );\n\t\t\t\t};\n\t\t},\n\n\t\tCLASS: function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace + \")\" + className +\n\t\t\t\t\t\"(\" + whitespace + \"|$)\" ) ) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\tATTR: function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = find.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\tif ( operator === \"=\" ) {\n\t\t\t\t\treturn result === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"!=\" ) {\n\t\t\t\t\treturn result !== check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"^=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) === 0;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"*=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"$=\" ) {\n\t\t\t\t\treturn check && result.slice( -check.length ) === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"~=\" ) {\n\t\t\t\t\treturn ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" )\n\t\t\t\t\t\t.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"|=\" ) {\n\t\t\t\t\treturn result === check || result.slice( 0, check.length + 1 ) === check + \"-\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t};\n\t\t},\n\n\t\tCHILD: function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || ( parent[ expando ] = {} );\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\t\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\t\t\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\tPSEUDO: function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// https://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tfind.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as jQuery does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf.call( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\tnot: markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrimCSS, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element\n\t\t\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\thas: markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn find( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\tcontains: markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// https://www.w3.org/TR/selectors/#lang-pseudo\n\t\tlang: markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tfind.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\ttarget: function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\troot: function( elem ) {\n\t\t\treturn elem === documentElement;\n\t\t},\n\n\t\tfocus: function( elem ) {\n\t\t\treturn elem === safeActiveElement() &&\n\t\t\t\tdocument.hasFocus() &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\tenabled: createDisabledPseudo( false ),\n\t\tdisabled: createDisabledPseudo( true ),\n\n\t\tchecked: function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\treturn ( nodeName( elem, \"input\" ) && !!elem.checked ) ||\n\t\t\t\t( nodeName( elem, \"option\" ) && !!elem.selected );\n\t\t},\n\n\t\tselected: function( elem ) {\n\n\t\t\t// Support: IE <=11+\n\t\t\t// Accessing the selectedIndex property\n\t\t\t// forces the browser to treat the default option as\n\t\t\t// selected when in an optgroup.\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\tempty: function( elem ) {\n\n\t\t\t// https://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t// but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\tparent: function( elem ) {\n\t\t\treturn !Expr.pseudos.empty( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\theader: function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\tinput: function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\tbutton: function( elem ) {\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"button\" ||\n\t\t\t\tnodeName( elem, \"button\" );\n\t\t},\n\n\t\ttext: function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"text\" &&\n\n\t\t\t\t// Support: IE <10 only\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear\n\t\t\t\t// with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\tfirst: createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\tlast: createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\teq: createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\teven: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\todd: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tlt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i;\n\n\t\t\tif ( argument < 0 ) {\n\t\t\t\ti = argument + length;\n\t\t\t} else if ( argument > length ) {\n\t\t\t\ti = length;\n\t\t\t} else {\n\t\t\t\ti = argument;\n\t\t\t}\n\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tgt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos.nth = Expr.pseudos.eq;\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\nfunction tokenize( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rleadingCombinator.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrimCSS, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\tif ( parseOnly ) {\n\t\treturn soFar.length;\n\t}\n\n\treturn soFar ?\n\t\tfind.error( selector ) :\n\n\t\t// Cache the tokens\n\t\ttokenCache( selector, groups ).slice( 0 );\n}\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\tif ( skip && nodeName( elem, skip ) ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = outerCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\touterCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tfind( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem, matcherOut,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed ||\n\t\t\t\tmultipleContexts( selector || \"*\",\n\t\t\t\t\tcontext.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems;\n\n\t\tif ( matcher ) {\n\n\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter\n\t\t\t// or preexisting results,\n\t\t\tmatcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t[] :\n\n\t\t\t\t// ...otherwise use results directly\n\t\t\t\tresults;\n\n\t\t\t// Find primary matches\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t} else {\n\t\t\tmatcherOut = matcherIn;\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tvar ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element\n\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 )\n\t\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrimCSS, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find.TAG( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: iOS <=7 - 9 only\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching\n\t\t\t// elements by id. (see trac-14142)\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tjQuery.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\nfunction compile( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n}\n\n/**\n * A low-level selection function that works with jQuery's compiled\n * selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n * selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nfunction select( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find.ID(\n\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\tcontext\n\t\t\t) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr.needsContext.test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) &&\n\t\t\t\t\t\ttestContext( context.parentNode ) || context\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n}\n\n// One-time assignments\n\n// Support: Android <=4.0 - 4.1+\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Android <=4.0 - 4.1+\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\njQuery.find = find;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.unique = jQuery.uniqueSort;\n\n// These have always been private, but they used to be documented as part of\n// Sizzle so let's maintain them for now for backwards compatibility purposes.\nfind.compile = compile;\nfind.select = select;\nfind.setDocument = setDocument;\nfind.tokenize = tokenize;\n\nfind.escape = jQuery.escapeSelector;\nfind.getText = jQuery.text;\nfind.isXML = jQuery.isXMLDoc;\nfind.selectors = jQuery.expr;\nfind.support = jQuery.support;\nfind.uniqueSort = jQuery.uniqueSort;\n\n\t/* eslint-enable */\n\n} )();\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)\n\t// Strict HTML recognition (trac-11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to jQuery#find\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\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}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.error );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the error, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getErrorHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getErrorHook();\n\n\t\t\t\t\t\t\t\t// The deprecated alias of the above. While the name suggests\n\t\t\t\t\t\t\t\t// returning the stack, not an error instance, jQuery just passes\n\t\t\t\t\t\t\t\t// it directly to `console.warn` so both will work; an instance\n\t\t\t\t\t\t\t\t// just better cooperates with source maps.\n\t\t\t\t\t\t\t\t} else if ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\n// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error\n// captured before the async barrier to get the original error cause\n// which may otherwise be hidden.\njQuery.Deferred.exceptionHook = function( error, asyncError ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message,\n\t\t\terror.stack, asyncError );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See trac-6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (trac-9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t// - Node\n\t// - Node.ELEMENT_NODE\n\t// - Node.DOCUMENT_NODE\n\t// - Object\n\t// - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see trac-8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t// 1. No key was specified\n\t\t// 2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t// 1. The entire cache object\n\t\t// 2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t// 1. An object of properties\n\t\t// 2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (trac-14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (trac-11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (trac-14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (trac-13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (trac-15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (trac-12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (trac-13208)\n\t\t\t\t// Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (trac-13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", true );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, isSetup ) {\n\n\t// Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !isSetup ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\tif ( !saved ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tdataPriv.set( this, type, false );\n\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering\n\t\t\t\t// the native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, jQuery.event.trigger(\n\t\t\t\t\tsaved[ 0 ],\n\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\tthis\n\t\t\t\t) );\n\n\t\t\t\t// Abort handling of the native event by all jQuery handlers while allowing\n\t\t\t\t// native handlers on the same element to run. On target, this is achieved\n\t\t\t\t// by stopping immediate propagation just on the jQuery event. However,\n\t\t\t\t// the native event is re-wrapped by a jQuery one on each level of the\n\t\t\t\t// propagation so the only way to stop it for jQuery is to stop it for\n\t\t\t\t// everyone via native `stopPropagation()`. This is not a problem for\n\t\t\t\t// focus/blur which don't bubble, but it does also stop click on checkboxes\n\t\t\t\t// and radios. We accept this limitation.\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tevent.isImmediatePropagationStopped = returnTrue;\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (trac-504, trac-13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\n\tfunction focusMappedHandler( nativeEvent ) {\n\t\tif ( document.documentMode ) {\n\n\t\t\t// Support: IE 11+\n\t\t\t// Attach a single focusin/focusout handler on the document while someone wants\n\t\t\t// focus/blur. This is because the former are synchronous in IE while the latter\n\t\t\t// are async. In other browsers, all those handlers are invoked synchronously.\n\n\t\t\t// `handle` from private data would already wrap the event, but we need\n\t\t\t// to change the `type` here.\n\t\t\tvar handle = dataPriv.get( this, \"handle\" ),\n\t\t\t\tevent = jQuery.event.fix( nativeEvent );\n\t\t\tevent.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n\t\t\tevent.isSimulated = true;\n\n\t\t\t// First, handle focusin/focusout\n\t\t\thandle( nativeEvent );\n\n\t\t\t// ...then, handle focus/blur\n\t\t\t//\n\t\t\t// focus/blur don't bubble while focusin/focusout do; simulate the former by only\n\t\t\t// invoking the handler at the lower level.\n\t\t\tif ( event.target === event.currentTarget ) {\n\n\t\t\t\t// The setup part calls `leverageNative`, which, in turn, calls\n\t\t\t\t// `jQuery.event.add`, so event handle will already have been set\n\t\t\t\t// by this point.\n\t\t\t\thandle( event );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// For non-IE browsers, attach a single capturing handler on the document\n\t\t\t// while someone wants focusin/focusout.\n\t\t\tjQuery.event.simulate( delegateType, nativeEvent.target,\n\t\t\t\tjQuery.event.fix( nativeEvent ) );\n\t\t}\n\t}\n\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\tvar attaches;\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, true );\n\n\t\t\tif ( document.documentMode ) {\n\n\t\t\t\t// Support: IE 9 - 11+\n\t\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\t\tattaches = dataPriv.get( this, delegateType );\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t}\n\t\t\t\tdataPriv.set( this, delegateType, ( attaches || 0 ) + 1 );\n\t\t\t} else {\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\tteardown: function() {\n\t\t\tvar attaches;\n\n\t\t\tif ( document.documentMode ) {\n\t\t\t\tattaches = dataPriv.get( this, delegateType ) - 1;\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t\tdataPriv.remove( this, delegateType );\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.set( this, delegateType, attaches );\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Return false to indicate standard teardown should be applied\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Suppress native focus or blur if we're currently inside\n\t\t// a leveraged native-event stack\n\t\t_default: function( event ) {\n\t\t\treturn dataPriv.get( event.target, type );\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n\n\t// Support: Firefox <=44\n\t// Firefox doesn't have focus(in | out) events\n\t// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n\t//\n\t// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n\t// focus(in | out) events fire after focus & blur events,\n\t// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n\t// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n\t//\n\t// Support: IE 9 - 11+\n\t// To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n\t// attach a single handler for both events in IE.\n\tjQuery.event.special[ delegateType ] = {\n\t\tsetup: function() {\n\n\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType );\n\n\t\t\t// Support: IE 9 - 11+\n\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.addEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t}\n\t\t\tdataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 );\n\t\t},\n\t\tteardown: function() {\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType ) - 1;\n\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.removeEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( dataHolder, delegateType );\n\t\t\t} else {\n\t\t\t\tdataPriv.set( dataHolder, delegateType, attaches );\n\t\t\t}\n\t\t}\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event ) dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\n\trcleanScript = /^\\s*<!\\[CDATA\\[|\\]\\]>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (trac-8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Re-enable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase() !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Unwrap a CDATA section containing script contents. This shouldn't be\n\t\t\t\t\t\t\t// needed as in XML documents they're already not visible when\n\t\t\t\t\t\t\t// inspecting element contents and in HTML documents they have no\n\t\t\t\t\t\t\t// meaning but we're preserving that logic for backwards compatibility.\n\t\t\t\t\t\t\t// This will be removed completely in 4.0. See gh-4904.\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew jQuery#find here for performance reasons:\n\t\t\t// https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar rcustomProp = /^--/;\n\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (trac-8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"box-sizing:content-box;border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is `display: block`\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\t\tisCustomProp = rcustomProp.test( name ),\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t// .css('filter') (IE 9 only, trac-12537)\n\t// .css('--customProperty) (gh-3144)\n\tif ( computed ) {\n\n\t\t// Support: IE <=9 - 11+\n\t\t// IE only supports `\"float\"` in `getPropertyValue`; in computed styles\n\t\t// it's only available as `\"cssFloat\"`. We no longer modify properties\n\t\t// sent to `.css()` apart from camelCasing, so we need to check both.\n\t\t// Normally, this would create difference in behavior: if\n\t\t// `getPropertyValue` returns an empty string, the value returned\n\t\t// by `.css()` would be `undefined`. This is usually the case for\n\t\t// disconnected elements. However, in IE even disconnected elements\n\t\t// with no styles return `\"none\"` for `getPropertyValue( \"float\" )`\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( isCustomProp && ret ) {\n\n\t\t\t// Support: Firefox 105+, Chrome <=105+\n\t\t\t// Spec requires trimming whitespace for custom properties (gh-4926).\n\t\t\t// Firefox only trims leading whitespace. Chrome just collapses\n\t\t\t// both leading & trailing whitespace to a single space.\n\t\t\t//\n\t\t\t// Fall back to `undefined` if empty string returned.\n\t\t\t// This collapses a missing definition with property defined\n\t\t\t// and set to an empty string but there's no standard API\n\t\t\t// allowing us to differentiate them without a performance penalty\n\t\t\t// and returning `undefined` aligns with older jQuery.\n\t\t\t//\n\t\t\t// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED\n\t\t\t// as whitespace while CSS does not, but this is not a problem\n\t\t\t// because CSS preprocessing replaces them with U+000A LINE FEED\n\t\t\t// (which *is* CSS whitespace)\n\t\t\t// https://www.w3.org/TR/css-syntax-3/#input-preprocessing\n\t\t\tret = ret.replace( rtrimCSS, \"$1\" ) || undefined;\n\t\t}\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0,\n\t\tmarginDelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\t// Count margin delta separately to only add it after scroll gutter adjustment.\n\t\t// This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n\t\tif ( box === \"margin\" ) {\n\t\t\tmarginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta + marginDelta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\tanimationIterationCount: true,\n\t\taspectRatio: true,\n\t\tborderImageSlice: true,\n\t\tcolumnCount: true,\n\t\tflexGrow: true,\n\t\tflexShrink: true,\n\t\tfontWeight: true,\n\t\tgridArea: true,\n\t\tgridColumn: true,\n\t\tgridColumnEnd: true,\n\t\tgridColumnStart: true,\n\t\tgridRow: true,\n\t\tgridRowEnd: true,\n\t\tgridRowStart: true,\n\t\tlineHeight: true,\n\t\topacity: true,\n\t\torder: true,\n\t\torphans: true,\n\t\tscale: true,\n\t\twidows: true,\n\t\tzIndex: true,\n\t\tzoom: true,\n\n\t\t// SVG-related\n\t\tfillOpacity: true,\n\t\tfloodOpacity: true,\n\t\tstopOpacity: true,\n\t\tstrokeMiterlimit: true,\n\t\tstrokeOpacity: true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (trac-7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug trac-9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (trac-7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// Use proper attribute retrieval (trac-12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + className + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += className + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + className + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + className + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar classNames, className, i, self,\n\t\t\ttype = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\treturn this.each( function() {\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\tself = jQuery( this );\n\n\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (trac-14686, trac-14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (trac-2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (trac-9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (trac-6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// trac-7653, trac-8125, trac-8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t * - BEFORE asking for a transport\n\t * - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes trac-9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (trac-10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket trac-12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// trac-9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (trac-11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// trac-1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see trac-8605, trac-14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\" ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// trac-14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t// documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this\n\t\t\t.on( \"mouseenter\", fnOver )\n\t\t\t.on( \"mouseleave\", fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\n// Require that the \"whitespace run\" starts from a non-whitespace\n// to avoid O(N^2) behavior when the engine would try matching \"\\s+$\" at each space position.\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|([^\\s\\uFEFF\\xA0])[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"$1\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (trac-13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","// create global namespace for all JS modules\nwindow.UX = {};\n","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(r) {\n if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r);\n}\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","(function ($, UX) {\n let abLogger = {\n loggingUrl: '/action/clientSideLogging',\n\n selectors: {\n trigger: '.js__abTestingTrigger',\n doiLink: 'a[href^=\"/doi/\"]',\n childElement: '.search__item, .creative-work, .item',\n },\n\n init() {\n let $parent = $(this.selectors.trigger);\n if ($parent.length > 0) {\n let expType = $parent.data('exp-type');\n let queryId = $parent.data('query-id');\n let itemSelector = $parent.data('child-selector')\n ? $parent.data('child-selector')\n : this.selectors.childElement;\n this.logSearchResultsByHrefSelector(expType, queryId, $parent.find(itemSelector));\n }\n },\n\n logClick(e, doi, expType, queryId, pos) {\n $.ajax({\n url: this.loggingUrl,\n data: {\n type: '102',\n doi: doi,\n queryId: queryId,\n exp: expType,\n event: 'click',\n pos: pos + 1,\n },\n async: false,\n });\n e.stopImmediatePropagation();\n return true;\n },\n\n logSearchResultsByHrefSelector(expType, queryId, $elm) {\n let $links = $elm.find(this.selectors.doiLink);\n let that = this;\n $links.each(function (i) {\n let doi = that.sliceDoiFromHref($(this).attr('href'));\n that.bindElementToMouseUpEvent(this, doi, expType, queryId, i);\n });\n },\n\n bindElementToMouseUpEvent(element, doi, expType, queryId, i) {\n let that = this;\n $(element).on('mouseup', function (e) {\n switch (e.which) {\n case 1:\n // Left click;\n that.logClick(e, doi, expType, queryId, i);\n break;\n case 2:\n // Wheel click (new tab);\n that.logClick(e, doi, expType, queryId, i);\n break;\n case 3:\n // Right click;\n // No proper way to track 'Open in new window / tab' from context menu at the moment.\n break;\n }\n return true;\n });\n },\n\n sliceDoiFromHref(href) {\n let doi = href.split('/');\n let doiFirst = doi[doi.length - 2];\n let doiLast = doi[doi.length - 1];\n if (doiLast.indexOf('?') > 0) {\n doiLast = doiLast.substring(0, doiLast.indexOf('?'));\n }\n return doiFirst + '/' + doiLast;\n },\n };\n\n UX.abLogger = abLogger;\n})(jQuery, UX);\n","/*eslint-disable*/\n!(function (t, e) {\n 'object' == typeof exports && 'undefined' != typeof module\n ? (module.exports = e())\n : 'function' == typeof define && define.amd\n ? define(e)\n : (t.ES6Promise = e());\n})(this, function () {\n 'use strict';\n function t(t) {\n var e = typeof t;\n return null !== t && ('object' === e || 'function' === e);\n }\n function e(t) {\n return 'function' == typeof t;\n }\n function n(t) {\n B = t;\n }\n function r(t) {\n G = t;\n }\n function o() {\n return function () {\n return process.nextTick(a);\n };\n }\n function i() {\n return 'undefined' != typeof z\n ? function () {\n z(a);\n }\n : c();\n }\n function s() {\n var t = 0,\n e = new J(a),\n n = document.createTextNode('');\n return (\n e.observe(n, {characterData: !0}),\n function () {\n n.data = t = ++t % 2;\n }\n );\n }\n function u() {\n var t = new MessageChannel();\n return (\n (t.port1.onmessage = a),\n function () {\n return t.port2.postMessage(0);\n }\n );\n }\n function c() {\n var t = setTimeout;\n return function () {\n return t(a, 1);\n };\n }\n function a() {\n for (var t = 0; t < W; t += 2) {\n var e = V[t],\n n = V[t + 1];\n e(n), (V[t] = void 0), (V[t + 1] = void 0);\n }\n W = 0;\n }\n function f() {\n try {\n var t = Function('return this')().require('vertx');\n return (z = t.runOnLoop || t.runOnContext), i();\n } catch (e) {\n return c();\n }\n }\n function l(t, e) {\n var n = this,\n r = new this.constructor(p);\n void 0 === r[Z] && O(r);\n var o = n._state;\n if (o) {\n var i = arguments[o - 1];\n G(function () {\n return P(o, r, i, n._result);\n });\n } else E(n, r, t, e);\n return r;\n }\n function h(t) {\n var e = this;\n if (t && 'object' == typeof t && t.constructor === e) return t;\n var n = new e(p);\n return g(n, t), n;\n }\n function p() {}\n function v() {\n return new TypeError('You cannot resolve a promise with itself');\n }\n function d() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n function _(t) {\n try {\n return t.then;\n } catch (e) {\n return (nt.error = e), nt;\n }\n }\n function y(t, e, n, r) {\n try {\n t.call(e, n, r);\n } catch (o) {\n return o;\n }\n }\n function m(t, e, n) {\n G(function (t) {\n var r = !1,\n o = y(\n n,\n e,\n function (n) {\n r || ((r = !0), e !== n ? g(t, n) : S(t, n));\n },\n function (e) {\n r || ((r = !0), j(t, e));\n },\n 'Settle: ' + (t._label || ' unknown promise')\n );\n !r && o && ((r = !0), j(t, o));\n }, t);\n }\n function b(t, e) {\n e._state === tt\n ? S(t, e._result)\n : e._state === et\n ? j(t, e._result)\n : E(\n e,\n void 0,\n function (e) {\n return g(t, e);\n },\n function (e) {\n return j(t, e);\n }\n );\n }\n function w(t, n, r) {\n n.constructor === t.constructor && r === l && n.constructor.resolve === h\n ? b(t, n)\n : r === nt\n ? (j(t, nt.error), (nt.error = null))\n : void 0 === r\n ? S(t, n)\n : e(r)\n ? m(t, n, r)\n : S(t, n);\n }\n function g(e, n) {\n e === n ? j(e, v()) : t(n) ? w(e, n, _(n)) : S(e, n);\n }\n function A(t) {\n t._onerror && t._onerror(t._result), T(t);\n }\n function S(t, e) {\n t._state === $ && ((t._result = e), (t._state = tt), 0 !== t._subscribers.length && G(T, t));\n }\n function j(t, e) {\n t._state === $ && ((t._state = et), (t._result = e), G(A, t));\n }\n function E(t, e, n, r) {\n var o = t._subscribers,\n i = o.length;\n (t._onerror = null), (o[i] = e), (o[i + tt] = n), (o[i + et] = r), 0 === i && t._state && G(T, t);\n }\n function T(t) {\n var e = t._subscribers,\n n = t._state;\n if (0 !== e.length) {\n for (var r = void 0, o = void 0, i = t._result, s = 0; s < e.length; s += 3)\n (r = e[s]), (o = e[s + n]), r ? P(n, r, o, i) : o(i);\n t._subscribers.length = 0;\n }\n }\n function M(t, e) {\n try {\n return t(e);\n } catch (n) {\n return (nt.error = n), nt;\n }\n }\n function P(t, n, r, o) {\n var i = e(r),\n s = void 0,\n u = void 0,\n c = void 0,\n a = void 0;\n if (i) {\n if (((s = M(r, o)), s === nt ? ((a = !0), (u = s.error), (s.error = null)) : (c = !0), n === s))\n return void j(n, d());\n } else (s = o), (c = !0);\n n._state !== $ || (i && c ? g(n, s) : a ? j(n, u) : t === tt ? S(n, s) : t === et && j(n, s));\n }\n function x(t, e) {\n try {\n e(\n function (e) {\n g(t, e);\n },\n function (e) {\n j(t, e);\n }\n );\n } catch (n) {\n j(t, n);\n }\n }\n function C() {\n return rt++;\n }\n function O(t) {\n (t[Z] = rt++), (t._state = void 0), (t._result = void 0), (t._subscribers = []);\n }\n function k() {\n return new Error('Array Methods must be provided an Array');\n }\n function F(t) {\n return new ot(this, t).promise;\n }\n function Y(t) {\n var e = this;\n return new e(\n U(t)\n ? function (n, r) {\n for (var o = t.length, i = 0; i < o; i++) e.resolve(t[i]).then(n, r);\n }\n : function (t, e) {\n return e(new TypeError('You must pass an array to race.'));\n }\n );\n }\n function q(t) {\n var e = this,\n n = new e(p);\n return j(n, t), n;\n }\n function D() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n function K() {\n throw new TypeError(\n \"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\"\n );\n }\n function L() {\n var t = void 0;\n if ('undefined' != typeof global) t = global;\n else if ('undefined' != typeof self) t = self;\n else\n try {\n t = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n var n = t.Promise;\n if (n) {\n var r = null;\n try {\n r = Object.prototype.toString.call(n.resolve());\n } catch (e) {}\n if ('[object Promise]' === r && !n.cast) return;\n }\n t.Promise = it;\n }\n var N = void 0;\n N = Array.isArray\n ? Array.isArray\n : function (t) {\n return '[object Array]' === Object.prototype.toString.call(t);\n };\n var U = N,\n W = 0,\n z = void 0,\n B = void 0,\n G = function (t, e) {\n (V[W] = t), (V[W + 1] = e), (W += 2), 2 === W && (B ? B(a) : X());\n },\n H = 'undefined' != typeof window ? window : void 0,\n I = H || {},\n J = I.MutationObserver || I.WebKitMutationObserver,\n Q =\n 'undefined' == typeof self &&\n 'undefined' != typeof process &&\n '[object process]' === {}.toString.call(process),\n R =\n 'undefined' != typeof Uint8ClampedArray &&\n 'undefined' != typeof importScripts &&\n 'undefined' != typeof MessageChannel,\n V = new Array(1e3),\n X = void 0;\n X = Q ? o() : J ? s() : R ? u() : void 0 === H && 'function' == typeof require ? f() : c();\n var Z = Math.random().toString(36).substring(2),\n $ = void 0,\n tt = 1,\n et = 2,\n nt = {error: null},\n rt = 0,\n ot = (function () {\n function t(t, e) {\n (this._instanceConstructor = t),\n (this.promise = new t(p)),\n this.promise[Z] || O(this.promise),\n U(e)\n ? ((this.length = e.length),\n (this._remaining = e.length),\n (this._result = new Array(this.length)),\n 0 === this.length\n ? S(this.promise, this._result)\n : ((this.length = this.length || 0),\n this._enumerate(e),\n 0 === this._remaining && S(this.promise, this._result)))\n : j(this.promise, k());\n }\n return (\n (t.prototype._enumerate = function (t) {\n for (var e = 0; this._state === $ && e < t.length; e++) this._eachEntry(t[e], e);\n }),\n (t.prototype._eachEntry = function (t, e) {\n var n = this._instanceConstructor,\n r = n.resolve;\n if (r === h) {\n var o = _(t);\n if (o === l && t._state !== $) this._settledAt(t._state, e, t._result);\n else if ('function' != typeof o) this._remaining--, (this._result[e] = t);\n else if (n === it) {\n var i = new n(p);\n w(i, t, o), this._willSettleAt(i, e);\n } else\n this._willSettleAt(\n new n(function (e) {\n return e(t);\n }),\n e\n );\n } else this._willSettleAt(r(t), e);\n }),\n (t.prototype._settledAt = function (t, e, n) {\n var r = this.promise;\n r._state === $ && (this._remaining--, t === et ? j(r, n) : (this._result[e] = n)),\n 0 === this._remaining && S(r, this._result);\n }),\n (t.prototype._willSettleAt = function (t, e) {\n var n = this;\n E(\n t,\n void 0,\n function (t) {\n return n._settledAt(tt, e, t);\n },\n function (t) {\n return n._settledAt(et, e, t);\n }\n );\n }),\n t\n );\n })(),\n it = (function () {\n function t(e) {\n (this[Z] = C()),\n (this._result = this._state = void 0),\n (this._subscribers = []),\n p !== e && ('function' != typeof e && D(), this instanceof t ? x(this, e) : K());\n }\n return (\n (t.prototype['catch'] = function (t) {\n return this.then(null, t);\n }),\n (t.prototype['finally'] = function (t) {\n var n = this,\n r = n.constructor;\n return e(t)\n ? n.then(\n function (e) {\n return r.resolve(t()).then(function () {\n return e;\n });\n },\n function (e) {\n return r.resolve(t()).then(function () {\n throw e;\n });\n }\n )\n : n.then(t, t);\n }),\n t\n );\n })();\n return (\n (it.prototype.then = l),\n (it.all = F),\n (it.race = Y),\n (it.resolve = h),\n (it.reject = q),\n (it._setScheduler = n),\n (it._setAsap = r),\n (it._asap = G),\n (it.polyfill = L),\n (it.Promise = it),\n it\n );\n});\n","/*eslint-disable*/\n!(function (t, e) {\n 'object' == typeof exports && 'undefined' != typeof module\n ? (module.exports = e())\n : 'function' == typeof define && define.amd\n ? define(e)\n : (t.ES6Promise = e());\n})(this, function () {\n 'use strict';\n function t(t) {\n var e = typeof t;\n return null !== t && ('object' === e || 'function' === e);\n }\n function e(t) {\n return 'function' == typeof t;\n }\n function n(t) {\n B = t;\n }\n function r(t) {\n G = t;\n }\n function o() {\n return function () {\n return process.nextTick(a);\n };\n }\n function i() {\n return 'undefined' != typeof z\n ? function () {\n z(a);\n }\n : c();\n }\n function s() {\n var t = 0,\n e = new J(a),\n n = document.createTextNode('');\n return (\n e.observe(n, {characterData: !0}),\n function () {\n n.data = t = ++t % 2;\n }\n );\n }\n function u() {\n var t = new MessageChannel();\n return (\n (t.port1.onmessage = a),\n function () {\n return t.port2.postMessage(0);\n }\n );\n }\n function c() {\n var t = setTimeout;\n return function () {\n return t(a, 1);\n };\n }\n function a() {\n for (var t = 0; t < W; t += 2) {\n var e = V[t],\n n = V[t + 1];\n e(n), (V[t] = void 0), (V[t + 1] = void 0);\n }\n W = 0;\n }\n function f() {\n try {\n var t = Function('return this')().require('vertx');\n return (z = t.runOnLoop || t.runOnContext), i();\n } catch (e) {\n return c();\n }\n }\n function l(t, e) {\n var n = this,\n r = new this.constructor(p);\n void 0 === r[Z] && O(r);\n var o = n._state;\n if (o) {\n var i = arguments[o - 1];\n G(function () {\n return P(o, r, i, n._result);\n });\n } else E(n, r, t, e);\n return r;\n }\n function h(t) {\n var e = this;\n if (t && 'object' == typeof t && t.constructor === e) return t;\n var n = new e(p);\n return g(n, t), n;\n }\n function p() {}\n function v() {\n return new TypeError('You cannot resolve a promise with itself');\n }\n function d() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n function _(t) {\n try {\n return t.then;\n } catch (e) {\n return (nt.error = e), nt;\n }\n }\n function y(t, e, n, r) {\n try {\n t.call(e, n, r);\n } catch (o) {\n return o;\n }\n }\n function m(t, e, n) {\n G(function (t) {\n var r = !1,\n o = y(\n n,\n e,\n function (n) {\n r || ((r = !0), e !== n ? g(t, n) : S(t, n));\n },\n function (e) {\n r || ((r = !0), j(t, e));\n },\n 'Settle: ' + (t._label || ' unknown promise')\n );\n !r && o && ((r = !0), j(t, o));\n }, t);\n }\n function b(t, e) {\n e._state === tt\n ? S(t, e._result)\n : e._state === et\n ? j(t, e._result)\n : E(\n e,\n void 0,\n function (e) {\n return g(t, e);\n },\n function (e) {\n return j(t, e);\n }\n );\n }\n function w(t, n, r) {\n n.constructor === t.constructor && r === l && n.constructor.resolve === h\n ? b(t, n)\n : r === nt\n ? (j(t, nt.error), (nt.error = null))\n : void 0 === r\n ? S(t, n)\n : e(r)\n ? m(t, n, r)\n : S(t, n);\n }\n function g(e, n) {\n e === n ? j(e, v()) : t(n) ? w(e, n, _(n)) : S(e, n);\n }\n function A(t) {\n t._onerror && t._onerror(t._result), T(t);\n }\n function S(t, e) {\n t._state === $ && ((t._result = e), (t._state = tt), 0 !== t._subscribers.length && G(T, t));\n }\n function j(t, e) {\n t._state === $ && ((t._state = et), (t._result = e), G(A, t));\n }\n function E(t, e, n, r) {\n var o = t._subscribers,\n i = o.length;\n (t._onerror = null), (o[i] = e), (o[i + tt] = n), (o[i + et] = r), 0 === i && t._state && G(T, t);\n }\n function T(t) {\n var e = t._subscribers,\n n = t._state;\n if (0 !== e.length) {\n for (var r = void 0, o = void 0, i = t._result, s = 0; s < e.length; s += 3)\n (r = e[s]), (o = e[s + n]), r ? P(n, r, o, i) : o(i);\n t._subscribers.length = 0;\n }\n }\n function M(t, e) {\n try {\n return t(e);\n } catch (n) {\n return (nt.error = n), nt;\n }\n }\n function P(t, n, r, o) {\n var i = e(r),\n s = void 0,\n u = void 0,\n c = void 0,\n a = void 0;\n if (i) {\n if (((s = M(r, o)), s === nt ? ((a = !0), (u = s.error), (s.error = null)) : (c = !0), n === s))\n return void j(n, d());\n } else (s = o), (c = !0);\n n._state !== $ || (i && c ? g(n, s) : a ? j(n, u) : t === tt ? S(n, s) : t === et && j(n, s));\n }\n function x(t, e) {\n try {\n e(\n function (e) {\n g(t, e);\n },\n function (e) {\n j(t, e);\n }\n );\n } catch (n) {\n j(t, n);\n }\n }\n function C() {\n return rt++;\n }\n function O(t) {\n (t[Z] = rt++), (t._state = void 0), (t._result = void 0), (t._subscribers = []);\n }\n function k() {\n return new Error('Array Methods must be provided an Array');\n }\n function F(t) {\n return new ot(this, t).promise;\n }\n function Y(t) {\n var e = this;\n return new e(\n U(t)\n ? function (n, r) {\n for (var o = t.length, i = 0; i < o; i++) e.resolve(t[i]).then(n, r);\n }\n : function (t, e) {\n return e(new TypeError('You must pass an array to race.'));\n }\n );\n }\n function q(t) {\n var e = this,\n n = new e(p);\n return j(n, t), n;\n }\n function D() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n function K() {\n throw new TypeError(\n \"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\"\n );\n }\n function L() {\n var t = void 0;\n if ('undefined' != typeof global) t = global;\n else if ('undefined' != typeof self) t = self;\n else\n try {\n t = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n var n = t.Promise;\n if (n) {\n var r = null;\n try {\n r = Object.prototype.toString.call(n.resolve());\n } catch (e) {}\n if ('[object Promise]' === r && !n.cast) return;\n }\n t.Promise = it;\n }\n var N = void 0;\n N = Array.isArray\n ? Array.isArray\n : function (t) {\n return '[object Array]' === Object.prototype.toString.call(t);\n };\n var U = N,\n W = 0,\n z = void 0,\n B = void 0,\n G = function (t, e) {\n (V[W] = t), (V[W + 1] = e), (W += 2), 2 === W && (B ? B(a) : X());\n },\n H = 'undefined' != typeof window ? window : void 0,\n I = H || {},\n J = I.MutationObserver || I.WebKitMutationObserver,\n Q =\n 'undefined' == typeof self &&\n 'undefined' != typeof process &&\n '[object process]' === {}.toString.call(process),\n R =\n 'undefined' != typeof Uint8ClampedArray &&\n 'undefined' != typeof importScripts &&\n 'undefined' != typeof MessageChannel,\n V = new Array(1e3),\n X = void 0;\n X = Q ? o() : J ? s() : R ? u() : void 0 === H && 'function' == typeof require ? f() : c();\n var Z = Math.random().toString(36).substring(2),\n $ = void 0,\n tt = 1,\n et = 2,\n nt = {error: null},\n rt = 0,\n ot = (function () {\n function t(t, e) {\n (this._instanceConstructor = t),\n (this.promise = new t(p)),\n this.promise[Z] || O(this.promise),\n U(e)\n ? ((this.length = e.length),\n (this._remaining = e.length),\n (this._result = new Array(this.length)),\n 0 === this.length\n ? S(this.promise, this._result)\n : ((this.length = this.length || 0),\n this._enumerate(e),\n 0 === this._remaining && S(this.promise, this._result)))\n : j(this.promise, k());\n }\n return (\n (t.prototype._enumerate = function (t) {\n for (var e = 0; this._state === $ && e < t.length; e++) this._eachEntry(t[e], e);\n }),\n (t.prototype._eachEntry = function (t, e) {\n var n = this._instanceConstructor,\n r = n.resolve;\n if (r === h) {\n var o = _(t);\n if (o === l && t._state !== $) this._settledAt(t._state, e, t._result);\n else if ('function' != typeof o) this._remaining--, (this._result[e] = t);\n else if (n === it) {\n var i = new n(p);\n w(i, t, o), this._willSettleAt(i, e);\n } else\n this._willSettleAt(\n new n(function (e) {\n return e(t);\n }),\n e\n );\n } else this._willSettleAt(r(t), e);\n }),\n (t.prototype._settledAt = function (t, e, n) {\n var r = this.promise;\n r._state === $ && (this._remaining--, t === et ? j(r, n) : (this._result[e] = n)),\n 0 === this._remaining && S(r, this._result);\n }),\n (t.prototype._willSettleAt = function (t, e) {\n var n = this;\n E(\n t,\n void 0,\n function (t) {\n return n._settledAt(tt, e, t);\n },\n function (t) {\n return n._settledAt(et, e, t);\n }\n );\n }),\n t\n );\n })(),\n it = (function () {\n function t(e) {\n (this[Z] = C()),\n (this._result = this._state = void 0),\n (this._subscribers = []),\n p !== e && ('function' != typeof e && D(), this instanceof t ? x(this, e) : K());\n }\n return (\n (t.prototype['catch'] = function (t) {\n return this.then(null, t);\n }),\n (t.prototype['finally'] = function (t) {\n var n = this,\n r = n.constructor;\n return e(t)\n ? n.then(\n function (e) {\n return r.resolve(t()).then(function () {\n return e;\n });\n },\n function (e) {\n return r.resolve(t()).then(function () {\n throw e;\n });\n }\n )\n : n.then(t, t);\n }),\n t\n );\n })();\n return (\n (it.prototype.then = l),\n (it.all = F),\n (it.race = Y),\n (it.resolve = h),\n (it.reject = q),\n (it._setScheduler = n),\n (it._setAsap = r),\n (it._asap = G),\n (it.polyfill = L),\n (it.Promise = it),\n it.polyfill(),\n it\n );\n});\n","(function () {\n var controller = {\n $body: $('body'),\n active: null,\n escape: 27,\n enabled: false,\n $activeComponent: null,\n $container: null,\n $target: null,\n\n init: function () {\n controller.control();\n controller.extra();\n controller.check();\n controller.extra();\n },\n control: function () {\n $(document).on('keydown', function (e) {\n // hide / close when esc key is pressed\n if ((e.keyCode || e.which) === controller.escape) {\n controller.check(e);\n }\n });\n },\n check: function (e) {\n // check if there is open / active component\n controller.active = controller.$body.attr('data-active');\n if (controller.active != null) {\n controller.disable(e);\n }\n },\n disable: function (e) {\n // hide / close active component\n // return focus to controller if component was closed by check()\n if (typeof UX[controller.active].$controller !== 'undefined') {\n UX[controller.active].$controller.focus();\n }\n UX[controller.active].on.hide(e);\n },\n extra: function () {\n controller.$body.on('click focusout', function (e) {\n // hide / close opened components when click out side it\n // @todo: this can be still improved for nested compoentns, when click is outside of all of them, close all, not only current one - but it is a feature\n // if key was pressed, than we need to operate with related target, not original target\n if (e.type === 'focusout' && e.target !== e.relatedTarget) {\n if (e.relatedTarget !== null) {\n e.target = e.relatedTarget;\n }\n }\n controller.active = controller.$body.attr('data-active');\n controller.$activeComponent =\n typeof UX[controller.active] !== 'undefined' ? UX[controller.active] : 'undefined';\n\n if (\n typeof controller.$activeComponent !== 'undefined' &&\n typeof controller.$activeComponent.$section !== 'undefined' &&\n typeof controller.$activeComponent.$controller !== 'undefined'\n ) {\n controller.$container = controller.$activeComponent.$section;\n controller.$target = controller.$activeComponent.$controller;\n controller.checkToHide(e);\n }\n });\n },\n checkToHide: function (e) {\n if (\n !controller.$container.is(e.target) && // if the target of the click isn't the container...\n controller.$container.has(e.target).length === 0 &&\n !controller.$target.is(e.target) && // if the target of the click isn't the controller...\n controller.$target.has(e.target).length === 0 && // ... nor a descendant of the controller\n !$(e.target).closest('.ui-autocomplete').length\n ) {\n controller.$activeComponent.on.hide(e);\n }\n },\n };\n\n UX.controller = controller; // add to global namespace\n})();\n","/*!\n * enquire.js v2.1.2 - Awesome Media Queries in JavaScript\n * Copyright (c) 2014 Nick Williams - http://wicky.nillia.ms/enquire.js\n * License: MIT (http://www.opensource.org/licenses/mit-license.php)\n */\n/*eslint-disable*/\n(function (name, context, factory) {\n var matchMedia = window.matchMedia;\n\n /*if (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = factory(matchMedia);\n\t}\n\telse if (typeof define === 'function' && define.amd) {\n\t\tdefine(function() {\n\t\t\treturn (context[name] = factory(matchMedia));\n\t\t});\n\t}\n\telse {\n\t\tcontext[name] = factory(matchMedia);\n\t}*/\n context[name] = factory(matchMedia);\n})('enquire', window, function (matchMedia) {\n 'use strict';\n\n /*jshint unused:false */\n /**\n * Helper function for iterating over a collection\n *\n * @param collection\n * @param fn\n */\n function each(collection, fn) {\n var i = 0,\n length = collection.length,\n cont;\n\n for (i; i < length; i++) {\n cont = fn(collection[i], i);\n if (cont === false) {\n break; //allow early exit\n }\n }\n }\n\n /**\n * Helper function for determining whether target object is an array\n *\n * @param target the object under test\n * @return {Boolean} true if array, false otherwise\n */\n function isArray(target) {\n return Object.prototype.toString.apply(target) === '[object Array]';\n }\n\n /**\n * Helper function for determining whether target object is a function\n *\n * @param target the object under test\n * @return {Boolean} true if function, false otherwise\n */\n function isFunction(target) {\n return typeof target === 'function';\n }\n\n /**\n * Delegate to handle a media query being matched and unmatched.\n *\n * @param {object} options\n * @param {function} options.match callback for when the media query is matched\n * @param {function} [options.unmatch] callback for when the media query is unmatched\n * @param {function} [options.setup] one-time callback triggered the first time a query is matched\n * @param {boolean} [options.deferSetup=false] should the setup callback be run immediately, rather than first time query is matched?\n * @constructor\n */\n function QueryHandler(options) {\n this.options = options;\n !options.deferSetup && this.setup();\n }\n QueryHandler.prototype = {\n /**\n * coordinates setup of the handler\n *\n * @function\n */\n setup: function () {\n if (this.options.setup) {\n this.options.setup();\n }\n this.initialised = true;\n },\n\n /**\n * coordinates setup and triggering of the handler\n *\n * @function\n */\n on: function () {\n !this.initialised && this.setup();\n this.options.match && this.options.match();\n },\n\n /**\n * coordinates the unmatch event for the handler\n *\n * @function\n */\n off: function () {\n this.options.unmatch && this.options.unmatch();\n },\n\n /**\n * called when a handler is to be destroyed.\n * delegates to the destroy or unmatch callbacks, depending on availability.\n *\n * @function\n */\n destroy: function () {\n this.options.destroy ? this.options.destroy() : this.off();\n },\n\n /**\n * determines equality by reference.\n * if object is supplied compare options, if function, compare match callback\n *\n * @function\n * @param {object || function} [target] the target for comparison\n */\n equals: function (target) {\n return this.options === target || this.options.match === target;\n },\n };\n /**\n * Represents a single media query, manages it's state and registered handlers for this query\n *\n * @constructor\n * @param {string} query the media query string\n * @param {boolean} [isUnconditional=false] whether the media query should run regardless of whether the conditions are met. Primarily for helping older browsers deal with mobile-first design\n */\n function MediaQuery(query, isUnconditional) {\n this.query = query;\n this.isUnconditional = isUnconditional;\n this.handlers = [];\n this.mql = matchMedia(query);\n\n var self = this;\n this.listener = function (mql) {\n self.mql = mql;\n self.assess();\n };\n this.mql.addListener(this.listener);\n }\n MediaQuery.prototype = {\n /**\n * add a handler for this query, triggering if already active\n *\n * @param {object} handler\n * @param {function} handler.match callback for when query is activated\n * @param {function} [handler.unmatch] callback for when query is deactivated\n * @param {function} [handler.setup] callback for immediate execution when a query handler is registered\n * @param {boolean} [handler.deferSetup=false] should the setup callback be deferred until the first time the handler is matched?\n */\n addHandler: function (handler) {\n var qh = new QueryHandler(handler);\n this.handlers.push(qh);\n\n this.matches() && qh.on();\n },\n\n /**\n * removes the given handler from the collection, and calls it's destroy methods\n *\n * @param {object || function} handler the handler to remove\n */\n removeHandler: function (handler) {\n var handlers = this.handlers;\n each(handlers, function (h, i) {\n if (h.equals(handler)) {\n h.destroy();\n return !handlers.splice(i, 1); //remove from array and exit each early\n }\n });\n },\n\n /**\n * Determine whether the media query should be considered a match\n *\n * @return {Boolean} true if media query can be considered a match, false otherwise\n */\n matches: function () {\n return this.mql.matches || this.isUnconditional;\n },\n\n /**\n * Clears all handlers and unbinds events\n */\n clear: function () {\n each(this.handlers, function (handler) {\n handler.destroy();\n });\n this.mql.removeListener(this.listener);\n this.handlers.length = 0; //clear array\n },\n\n /*\n * Assesses the query, turning on all handlers if it matches, turning them off if it doesn't match\n */\n assess: function () {\n var action = this.matches() ? 'on' : 'off';\n\n each(this.handlers, function (handler) {\n handler[action]();\n });\n },\n };\n /**\n * Allows for registration of query handlers.\n * Manages the query handler's state and is responsible for wiring up browser events\n *\n * @constructor\n */\n function MediaQueryDispatch() {\n if (!matchMedia) {\n throw new Error('matchMedia not present, legacy browsers require a polyfill');\n }\n\n this.queries = {};\n this.browserIsIncapable = !matchMedia('only all').matches;\n }\n\n MediaQueryDispatch.prototype = {\n /**\n * Registers a handler for the given media query\n *\n * @param {string} q the media query\n * @param {object || Array || Function} options either a single query handler object, a function, or an array of query handlers\n * @param {function} options.match fired when query matched\n * @param {function} [options.unmatch] fired when a query is no longer matched\n * @param {function} [options.setup] fired when handler first triggered\n * @param {boolean} [options.deferSetup=false] whether setup should be run immediately or deferred until query is first matched\n * @param {boolean} [shouldDegrade=false] whether this particular media query should always run on incapable browsers\n */\n register: function (q, options, shouldDegrade) {\n var queries = this.queries,\n isUnconditional = shouldDegrade && this.browserIsIncapable;\n\n if (!queries[q]) {\n queries[q] = new MediaQuery(q, isUnconditional);\n }\n\n //normalise to object in an array\n if (isFunction(options)) {\n options = {match: options};\n }\n if (!isArray(options)) {\n options = [options];\n }\n each(options, function (handler) {\n if (isFunction(handler)) {\n handler = {match: handler};\n }\n queries[q].addHandler(handler);\n });\n\n return this;\n },\n\n /**\n * unregisters a query and all it's handlers, or a specific handler for a query\n *\n * @param {string} q the media query to target\n * @param {object || function} [handler] specific handler to unregister\n */\n unregister: function (q, handler) {\n var query = this.queries[q];\n\n if (query) {\n if (handler) {\n query.removeHandler(handler);\n } else {\n query.clear();\n delete this.queries[q];\n }\n }\n\n return this;\n },\n };\n\n return new MediaQueryDispatch();\n});\n","(function ($) {\n let methods;\n function seeMoreLink() {\n let seeMore =\n ' <span class=\"ellipsis\">' +\n this.settings.ellipsisChar +\n '</span> ' +\n this.settings.seeMoreText +\n this.settings.seeMoreTextHidden +\n ' <i class=\" ' +\n this.settings.seeMoreIcon +\n ' \"></i>',\n link;\n\n if (this.settings.seeMoreHtml) {\n seeMore = this.settings.seeMoreHtml;\n } else if (this.settings.isMobile) {\n seeMore =\n ' <span class=\"ellipsis\">' +\n this.settings.ellipsisChar +\n '</span> ' +\n this.settings.seeMoreText +\n this.settings.seeMoreTextHidden +\n ' <i class=\" ' +\n this.settings.seeMoreIconMobile +\n ' \"></i>';\n }\n\n if (this.settings.isMobile && this.isSliding) {\n link =\n '<a href=\"javascript:void(0)\" class=\"read-more w-slide__btn slide-active\" data-slide-target=\"' +\n this.settings.mobileTarget +\n '\" aria-expanded=\"false\">' +\n seeMore +\n '</a>';\n } else {\n link = '<a href=\"javascript:void(0)\" class=\"read-more\" aria-expanded=\"false\">' + seeMore + '</a>';\n }\n\n if (this.parentTagName === 'UL') {\n link = '<li>' + link + '</li>';\n }\n\n return $(link);\n }\n\n function ellipsis(isLink) {\n let link =\n '<' +\n (isLink ? 'a href=\"#\"' : 'span') +\n ' class=\"ellipsis\"> ' +\n this.settings.ellipsisChar +\n ' </' +\n (isLink ? 'a' : 'span') +\n '>';\n if (this.parentTagName === 'UL') {\n link = '<li>' + link + '</li>';\n }\n return $(link);\n }\n\n function removeElements(containerEl) {\n const that = this;\n const $this = $(this);\n let height = $this.height();\n const maxHeight = this.settings.lines * Math.ceil(parseFloat($this.css('line-height')));\n let $lastRemoved;\n let $parent;\n\n let $seeMore;\n\n if (this.settings.seeMoreLink) {\n $seeMore = seeMoreLink.call(this);\n } else {\n $seeMore = ellipsis.call(this);\n }\n\n if (containerEl.get(0).nodeType === Node.ELEMENT_NODE) {\n while (height > maxHeight && containerEl.contents().length) {\n $lastRemoved = containerEl.contents().last().remove();\n height = $this.height();\n }\n\n if (height <= maxHeight && $lastRemoved) {\n if ($.trim($lastRemoved.text()) !== '') {\n containerEl.append($lastRemoved);\n height = $this.height();\n if (height > maxHeight) {\n removeElements.call(this, $lastRemoved);\n }\n } else {\n $this.append($seeMore);\n if (this.settings.addClass && !$this.hasClass(this.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n } else if ($.trim(containerEl.text()) === '') {\n $parent = containerEl.parent();\n containerEl.remove();\n height = $this.height();\n if ($.trim($parent.text()) === '') {\n removeElements.call(this, $parent);\n } else if (height <= maxHeight) {\n if ($this.children().length) {\n const $lastChild = $this.children().last();\n if ($lastChild.is('br')) {\n $lastChild.after($seeMore);\n } else {\n $lastChild.parent().append($seeMore);\n }\n } else {\n $this.append($seeMore);\n }\n if (this.settings.addClass && !$this.hasClass(this.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n }\n } else {\n const textContent = containerEl.text();\n let min = 0;\n let max = textContent.length - 1;\n let mid = Math.floor((min + max) / 2);\n $parent = containerEl.parent();\n\n while (min < max) {\n if (height > maxHeight) {\n //max = mid - 1;\n max = mid + parseInt(((max - mid) * maxHeight) / height, 10);\n } else {\n min = mid + 1;\n }\n $seeMore.remove();\n mid = Math.floor((min + max) / 2);\n containerEl.get(0).textContent = textContent.substr(\n 0,\n this.settings.midWordEnabled ? mid : Math.min(mid, textContent.lastIndexOf(' ', mid))\n );\n if ($.trim($parent.text()) === '') {\n removeElements.call(this, $parent);\n return;\n }\n containerEl.parent().append($seeMore);\n height = $this.height();\n }\n\n while (height > maxHeight && mid > 0) {\n $seeMore.remove();\n mid = mid - 1;\n containerEl.get(0).textContent = textContent.substr(\n 0,\n this.settings.midWordEnabled ? mid : Math.min(mid, textContent.lastIndexOf(' ', mid))\n );\n if ($.trim($parent.text()) === '') {\n removeElements.call(this, $parent);\n return;\n }\n containerEl.parent().append($seeMore);\n height = $this.height();\n }\n if (mid === 0) {\n $seeMore.remove();\n if ($.trim($parent.text()) === '') {\n removeElements.call(this, $parent);\n }\n }\n\n if (height <= maxHeight) {\n if (this.settings.addClass && !$this.hasClass(this.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n }\n }\n\n function truncateText() {\n const that = this;\n const $this = $(this);\n const height = $this.height();\n const maxHeight = this.settings.lines * parseFloat($this.css('line-height'));\n const visible = !$this.closest(':not(:visible)').length;\n\n if (visible && height === 0) {\n setTimeout(function () {\n truncateText.call(that);\n }, 30);\n return;\n }\n\n if (height > maxHeight) {\n removeElements.call(this, $this);\n } else {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n }\n\n function seeMoreMiddleLink() {\n let seeMore =\n ' <span class=\"ellipsis\">' +\n this.settings.ellipsisChar +\n '</span> ' +\n this.settings.seeMoreText +\n this.settings.seeMoreTextHidden +\n ' <i class=\" ' +\n this.settings.seeMoreIcon +\n ' \"></i> <span class=\"ellipsis\">' +\n this.settings.ellipsisChar +\n '</span> ',\n link;\n\n if (this.settings.seeMoreHtml) {\n seeMore = this.settings.seeMoreHtml;\n } else if (this.settings.isMobile) {\n seeMore =\n ' <span class=\"ellipsis\">' +\n this.settings.ellipsisChar +\n '</span> ' +\n this.settings.seeMoreText +\n this.settings.seeMoreTextHidden +\n ' <i class=\"' +\n this.settings.seeMoreIconMobile +\n '\"></i> <span class=\"ellipsis\">' +\n this.settings.ellipsisChar +\n '</span> ';\n }\n\n if (this.settings.isMobile) {\n link =\n '<a href=\"javascript:void(0)\" class=\"read-more w-slide__btn slide-active \" data-slide-target=\"' +\n this.settings.mobileTarget +\n '\" aria-expanded=\"false\">' +\n seeMore +\n '</a>';\n } else {\n link = '<a href=\"javascript:void(0)\" class=\"read-more\" aria-expanded=\"false\">' + seeMore + '</a>';\n }\n\n if (this.parentTagName === 'UL') {\n link = '<li>' + link + '</li>';\n }\n\n return $(link);\n }\n\n function removeListItemsMiddle() {\n const that = this;\n const $this = $(this);\n let height;\n const lineHeight = Math.ceil(Math.max($this.children().height(), parseFloat($this.css('line-height'))));\n const maxHeight = this.settings.lines * lineHeight;\n let $seeMore;\n let removedCount = 0;\n let $removedItems;\n let $lastRemoved;\n const visible = !$this.closest(':not(:visible)').length;\n\n if (this.settings.seeMoreLink) {\n $seeMore = seeMoreMiddleLink.call(this);\n } else {\n $seeMore = ellipsis.call(this, true);\n }\n\n const removeItems = function () {\n height = $this.height();\n if (!visible) return;\n if (height > maxHeight) {\n while (height > maxHeight && $this.contents().length > 2) {\n $seeMore.remove();\n if ($removedItems && $this.find($removedItems).length) {\n $removedItems.remove();\n }\n let indexToRemove = Math.floor($this.contents().length / 2);\n\n $lastRemoved = $($this.contents().get(indexToRemove)).remove();\n if ($lastRemoved && $lastRemoved.get(0).nodeType === Node.ELEMENT_NODE) {\n if (that.settings.ignoreCountList !== null) {\n if (!$lastRemoved.is(that.settings.ignoreCountList)) {\n removedCount += 1;\n }\n } else {\n removedCount += 1;\n }\n }\n indexToRemove -= 1;\n height = $this.height();\n\n if (height > maxHeight && $this.contents().length > 2) {\n $lastRemoved = $($this.contents().get(indexToRemove)).remove();\n if ($lastRemoved && $lastRemoved.get(0).nodeType === Node.ELEMENT_NODE) {\n if (that.settings.ignoreCountList !== null) {\n if (!$lastRemoved.is(that.settings.ignoreCountList)) {\n removedCount += 1;\n }\n } else {\n removedCount += 1;\n }\n }\n indexToRemove -= 1;\n }\n if (that.settings.showRemovedCount && removedCount > 0) {\n $removedItems = $.fn.truncate.removedCountMarkup(removedCount);\n $removedItems.insertAfter($($this.contents().get(indexToRemove)));\n } else {\n $seeMore.insertAfter($($this.contents().get(indexToRemove)));\n }\n\n height = $this.height();\n }\n setTimeout(removeItems, 500);\n } else {\n if (that.settings.addClass && !$this.hasClass(that.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n };\n\n removeItems();\n }\n\n function removeListItemsEnd() {\n var that = this;\n var $this = $(this);\n var height;\n var lineHeight = Math.ceil(Math.max($this.children().height(), parseFloat($this.css('line-height'))));\n var maxHeight = this.settings.lines * lineHeight;\n var $seeMore;\n var removedCount = 0;\n var $removedItems;\n var $lastRemoved;\n var visible = !$this.closest(':not(:visible)').length;\n\n if (this.settings.seeMoreLink) {\n $seeMore = seeMoreLink.call(this);\n } else {\n $seeMore = ellipsis.call(this);\n }\n\n const removeItems = function () {\n height = $this.height();\n if (!visible) return;\n if (height > maxHeight) {\n while (height > maxHeight && $this.contents().length > 1) {\n if ($removedItems && $this.find($removedItems).length) {\n $removedItems.remove();\n }\n if ($this.find($seeMore).length) {\n $lastRemoved = $($this.contents().get($this.contents().length - 2)).remove();\n } else {\n $lastRemoved = $this.contents().last().remove();\n\n if (!that.settings.showRemovedCount) {\n $this.append($seeMore);\n }\n }\n if ($lastRemoved && $lastRemoved.get(0).nodeType === Node.ELEMENT_NODE) {\n if (that.settings.ignoreCountList !== null) {\n if (!$lastRemoved.is(that.settings.ignoreCountList)) {\n removedCount += 1;\n }\n } else {\n removedCount += 1;\n }\n }\n\n if (that.settings.showRemovedCount && removedCount > 0) {\n $removedItems = $.fn.truncate.removedCountMarkup(removedCount);\n $this.append($removedItems);\n }\n\n height = $this.height();\n }\n setTimeout(removeItems, 500);\n } else {\n if (that.settings.addClass && !$this.hasClass(that.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n };\n\n removeItems();\n }\n\n function removeListItemsBetweenFirstAndLast() {\n const that = this,\n $this = $(this),\n $items = $this.children();\n\n let $seeMore,\n removedCount = $items.length - 2,\n $removedItems,\n firstItem,\n latsItem;\n\n if ($items.length > 2) {\n firstItem = $items.eq(0).clone();\n latsItem = $items.eq($items.length - 1).clone();\n if (this.settings.seeMoreLink) {\n $seeMore = seeMoreMiddleLink.call(this);\n } else {\n $seeMore = ellipsis.call(this, true);\n }\n\n if (that.settings.showRemovedCount) {\n $removedItems = $.fn.truncate.removedCountMarkup(removedCount);\n }\n\n $this.html('');\n $this.append(firstItem);\n if (that.settings.showRemovedCount && removedCount > 0) {\n $this.append($removedItems);\n } else {\n $this.append($seeMore);\n }\n $this.append(latsItem);\n }\n if (that.settings.addClass && !$this.hasClass(that.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n\n function removeListItemsBeforeLast() {\n var that = this;\n var $this = $(this);\n var height = $this.height();\n var lineHeight = Math.ceil(Math.max($this.children().height(), parseFloat($this.css('line-height'))));\n var maxHeight = this.settings.lines * lineHeight;\n var $seeMoreLink = seeMoreMiddleLink.call(this);\n var removedCount = 0;\n var $removedItems;\n var $lastRemoved;\n var visible = !$this.closest(':not(:visible)').length;\n\n var removeItems = function () {\n height = $this.height();\n if (!visible) return;\n if (height > maxHeight) {\n const $lastXItems = $('<div></div>');\n while (\n ($this.children().length > 1 && $lastXItems.children().length < that.settings.lastItemsCount) ||\n $this.contents().last().get(0).nodeType === Node.TEXT_NODE\n ) {\n $lastXItems.prepend($this.contents().last().remove());\n }\n const $lastXItemsContent = $lastXItems.contents();\n while (height > maxHeight && $this.children().length > 2) {\n if ($removedItems && $this.find($removedItems).length) {\n $removedItems.remove();\n }\n $seeMoreLink.remove();\n $lastXItemsContent.remove();\n $lastRemoved = $this.contents().last().remove();\n if ($lastRemoved && $lastRemoved.get(0).nodeType === Node.ELEMENT_NODE) {\n if (that.settings.ignoreCountList !== null) {\n if (!$lastRemoved.is(that.settings.ignoreCountList)) {\n removedCount += 1;\n }\n } else {\n removedCount += 1;\n }\n }\n if (that.settings.showRemovedCount && removedCount > 0) {\n $removedItems = $.fn.truncate.removedCountMarkup(removedCount);\n $this.append($removedItems);\n } else {\n $this.append($seeMoreLink);\n }\n $this.append($lastXItemsContent);\n height = $this.height();\n }\n setTimeout(removeItems, 500);\n } else {\n if (that.settings.addClass && !$this.hasClass(that.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n };\n\n removeItems();\n }\n\n function truncateList() {\n var that = this;\n var $this = $(this);\n var height = $this.height();\n var lineHeight = Math.ceil(Math.max($this.children().height(), parseFloat($this.css('line-height'))));\n var maxHeight = this.settings.lines * lineHeight;\n var visible = !$this.closest(':not(:visible)').length;\n\n if ($this.children().length === 0) {\n $this.addClass(that.settings.addClass);\n $this.data('truncationDone', true);\n that.settings.onComplete();\n return;\n }\n\n if (visible && (height === 0 || maxHeight === 0)) {\n setTimeout(function () {\n truncateList.call(that);\n }, 30);\n return;\n }\n\n switch (this.settings.position) {\n case 'middle':\n if (height > maxHeight) {\n removeListItemsMiddle.call(this, $this);\n } else {\n if (this.settings.addClass && !$this.hasClass(this.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n break;\n case 'end':\n if (height > maxHeight) {\n removeListItemsEnd.call(this, $this);\n } else {\n if (this.settings.addClass && !$this.hasClass(this.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n break;\n case 'betweenFirstAndLast':\n removeListItemsBetweenFirstAndLast.call(this, $this);\n break;\n case 'beforeLast':\n if (height > maxHeight) {\n removeListItemsBeforeLast.call(this, $this);\n } else {\n if (this.settings.addClass && !$this.hasClass(this.settings.addClass)) {\n setTimeout(function () {\n $this.addClass(that.settings.addClass);\n }, 0);\n }\n $this.data('truncationDone', true);\n that.settings.onComplete();\n }\n break;\n }\n }\n\n function seeLessLink() {\n var seeLess =\n (this.settings.lessLinkEllipsis\n ? ' <span class=\"ellipsis\">' + this.settings.ellipsisChar + '</span> '\n : ' ') +\n this.settings.seeLessText +\n ' <i class=\"' +\n this.settings.seeLessIcon +\n '\"></i>',\n link;\n\n if (this.settings.seeLessHtml) {\n seeLess = this.settings.seeLessHtml;\n }\n\n link = '<a href=\"javascript:void(0)\" class=\"read-less\" aria-expanded=\"true\">' + seeLess + '</a>';\n\n if (this.parentTagName === 'UL') {\n link = '<li>' + link + '</li>';\n }\n\n return $(link);\n }\n\n function addEventHandlers() {\n let originalHeight;\n let checkHeight;\n const that = this;\n const $this = $(this);\n let allowedKeys = [9, 13]; // tabs and enter (return)\n let allowTabToReadMore = true;\n\n if (that.settings.readMoreWithSpacebar) {\n allowedKeys = [9, 13, 32]; // tabs and enter (return) and spacebar\n }\n\n if (that.settings.animation) {\n checkHeight = true;\n }\n\n $this.on('touchend mousedown keydown', function (evt) {\n function readMore() {\n evt.preventDefault();\n const truncatedLength = $this.children().length;\n $this.data('truncatedContent', $this.html());\n $this.html($this.data('originalContent'));\n const lessLink = seeLessLink.call(that);\n $this.append(lessLink);\n\n if (that.settings.animation) {\n $this.css('height', 'auto');\n const autoHeight = $this.outerHeight(true);\n $this.height(originalHeight).animate({height: autoHeight}, 300);\n setTimeout(function () {\n $this.css('height', 'auto');\n }, 350);\n }\n\n if (evt.type === 'keydown') {\n if ($this[0].parentTagName === 'UL') {\n $this\n .children()\n .eq(truncatedLength - 1)\n .find('a')\n .trigger('focus');\n } else {\n lessLink.focus();\n }\n }\n }\n\n function readLess() {\n if (evt.keyCode === 9) {\n // preventing tabulation limbo\n return;\n } else {\n evt.preventDefault();\n }\n\n if (that.settings.animation) {\n $this.animate({height: originalHeight}, 300);\n setTimeout(function () {\n $this.html($this.data('truncatedContent'));\n }, 250);\n } else {\n $this.html($this.data('truncatedContent'));\n }\n\n $this.find('.read-more').focus();\n //var moreLink = seeMoreLink.call(that);\n //$(evt.target).replaceWith(moreLink);\n }\n if (evt.type === 'keydown' && allowedKeys.indexOf(evt.keyCode) < 0) {\n // preventing random keys from triggering action\n return;\n }\n\n if (that.settings.readMoreWithSpacebar) {\n allowTabToReadMore = evt.keyCode !== 9;\n }\n\n if (that.settings.animation) {\n if (checkHeight) {\n originalHeight = $this.outerHeight(true);\n checkHeight = false;\n }\n }\n\n if ($this.data('truncationDone') && allowTabToReadMore) {\n const $evtTarget = $(evt.target);\n if ($evtTarget.hasClass('ellipsis') && $evtTarget.is('a')) {\n // ellipsis clicked\n readMore();\n }\n\n if (\n ($evtTarget.hasClass('read-more') && !$evtTarget.hasClass('w-slide__btn')) ||\n ($evtTarget.parent().hasClass('read-more') && !$evtTarget.parent().hasClass('w-slide__btn')) ||\n $evtTarget.hasClass('removed-items-count')\n ) {\n // \"Read more\" link clicked\n readMore();\n }\n\n if ($evtTarget.hasClass('read-less') || $evtTarget.parent().hasClass('read-less')) {\n // \"Read less\" link clicked\n readLess();\n }\n }\n });\n\n if (!$(document).data('activeTabHandlerAdded')) {\n $(document).data('activeTabHandlerAdded', 'yes');\n $(document).on('tabs:changeActiveTab', function (evt, data) {\n setTimeout(function () {\n $('.truncate-delayed', data.tabId).truncate();\n }, 10);\n });\n }\n }\n\n function restoreContent() {\n var $this = $(this);\n if ($this.data('originalContent')) {\n $this.html($this.data('originalContent'));\n if (this.settings && this.settings.addClass) {\n $this.removeClass(this.settings.addClass);\n }\n }\n }\n\n function truncateStart() {\n var $this = $(this);\n if (this.settings.showRemovedCount) {\n $this.truncate('destroy'); // destroy in case showRemovedCount to get a correct number\n }\n\n if (\n (this.settings.isMobile && this.settings.targetViewport === 'desktop') ||\n (!this.settings.isMobile && this.settings.targetViewport === 'mobile')\n ) {\n restoreContent.call(this);\n return;\n }\n\n if ($this.closest('.tab__pane').length && !$this.closest('.tab__pane').hasClass('active')) {\n $this.addClass('truncate-delayed');\n return;\n } else {\n $this.removeClass('truncate-delayed');\n }\n\n if (this.settings && this.settings.type === 'text') {\n truncateText.call(this);\n } else if (this.settings && this.settings.type === 'list') {\n this.parentTagName = $this.get(0).tagName;\n truncateList.call(this);\n }\n }\n\n function addResponsiveHandlers() {\n var that = this;\n\n function targetViewportOn() {\n that.settings.isMobile = true;\n truncateStart.call(that);\n }\n\n function targetViewportOff() {\n that.settings.isMobile = false;\n truncateStart.call(that);\n }\n\n if (this.prevVPort) {\n // remove previous responsive handlers\n $(document).off(this.prevVPort + '-on', targetViewportOn);\n $(document).off(this.prevVPort + '-off', targetViewportOff);\n }\n\n $(document).on(this.settings.vPort + '-on', targetViewportOn); // Waiting for custom event that will be triggered by controller.js to activate responsive effects\n $(document).on(this.settings.vPort + '-off', targetViewportOff); // Waiting for custom event that will be triggered by controller.js to deactivate responsive effects\n\n this.prevVPort = this.settings.vPort;\n }\n\n methods = {\n init: function (options) {\n return this.each(function () {\n var $this = $(this);\n var firstInit = true;\n if ($this.data('originalContent')) {\n if ($this.data('settings')) {\n this.settings = $this.data('settings');\n }\n restoreContent.call(this);\n firstInit = false;\n } else {\n $this.data('originalContent', $this.html());\n }\n\n // read configuration from data attributes\n const dataAttrOptions = {};\n if ($this.data('truncate-lines')) {\n dataAttrOptions.lines = parseInt($this.data('truncate-lines'), 10);\n }\n if ($this.data('truncate-type')) {\n dataAttrOptions.type = $this.data('truncate-type');\n }\n if ($this.data('truncate-position')) {\n dataAttrOptions.position = $this.data('truncate-position');\n }\n if (typeof $this.data('truncate-show-removed-count') !== 'undefined') {\n dataAttrOptions.showRemovedCount = $this.data('truncate-show-removed-count');\n }\n if (typeof $this.data('truncate-see-more-link') !== 'undefined') {\n dataAttrOptions.seeMoreLink = $this.data('truncate-see-more-link');\n }\n if ($this.data('truncate-see-more-text')) {\n dataAttrOptions.seeMoreText = $this.data('truncate-see-more-text');\n }\n if ($this.data('truncate-see-less-text')) {\n dataAttrOptions.seeLessText = $this.data('truncate-see-less-text');\n }\n if ($this.data('truncate-see-more-html')) {\n dataAttrOptions.seeMoreHtml = $this.data('truncate-see-more-html');\n }\n if ($this.data('truncate-see-less-html')) {\n dataAttrOptions.seeLessHtml = $this.data('truncate-see-less-html');\n }\n if ($this.data('truncate-see-more-hidden-text')) {\n let hiddenTextHTML = $this.data('truncate-see-more-hidden-text');\n dataAttrOptions.seeMoreTextHidden = hiddenTextHTML\n ? `<span class=\"sr-only\"> ${hiddenTextHTML} </span>`\n : '';\n } else {\n dataAttrOptions.seeMoreTextHidden = '';\n }\n if ($this.data('truncate-ellipsis-char')) {\n dataAttrOptions.ellipsisChar = $this.data('truncate-ellipsis-char');\n }\n if ($this.data('truncate-last-items-count')) {\n dataAttrOptions.lastItemsCount = parseInt($this.data('truncate-last-items-count'), 10);\n }\n if ($this.data('truncate-mobile-target')) {\n dataAttrOptions.mobileTarget = $this.data('truncate-mobile-target');\n }\n if ($this.data('truncate-add-class')) {\n dataAttrOptions.addClass = $this.data('truncate-add-class');\n }\n if ($this.data('truncate-vport')) {\n dataAttrOptions.vPort = $this.data('truncate-vport');\n }\n if ($this.data('truncate-target-viewport')) {\n dataAttrOptions.targetViewport = $this.data('truncate-target-viewport');\n }\n if (typeof $this.data('truncate-mid-word-enabled') !== 'undefined') {\n dataAttrOptions.midWordEnabled = $this.data('truncate-mid-word-enabled');\n }\n if (typeof $this.data('truncate-less-link-ellipsis') !== 'undefined') {\n dataAttrOptions.lessLinkEllipsis = $this.data('truncate-less-link-ellipsis');\n }\n\n this.settings = $.extend({}, this.settings || $.fn.truncate.defaults, dataAttrOptions, options || {});\n $this.data('settings', this.settings);\n $this.data('truncationDone', false);\n truncateStart.call(this);\n\n if (firstInit) {\n addEventHandlers.call(this);\n }\n\n addResponsiveHandlers.call(this);\n });\n },\n destroy: function () {\n return this.each(function () {\n restoreContent.call(this);\n });\n },\n };\n\n $.fn.truncate = function (method) {\n if (methods[method]) {\n return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));\n } else if (typeof method === 'object' || !method) {\n return methods.init.apply(this, arguments);\n } else {\n $.error('Method ' + method + ' does not exist on jQuery.truncate');\n }\n };\n\n $.fn.truncate.removedCountMarkup = function (count) {\n return $('<a href=\"javascript:void(0)\" class=\"removed-items-count\"> + ' + count + ' </a>');\n };\n\n /* Default truncate settings. */\n $.fn.truncate.defaults = {\n type: 'text', // text, list\n position: 'end', // end, middle, beforeLast, betweenFirstAndLast\n showRemovedCount: false,\n lines: 1,\n seeMoreLink: false,\n seeMoreText: 'See More',\n seeLessText: 'See Less',\n seeMoreIcon: 'icon-section_arrow_d',\n seeLessIcon: 'icon-section_arrow_u',\n seeMoreIconMobile: 'icon-arrow_r',\n seeMoreHtml: '',\n seeLessHtml: '',\n ellipsisChar: '…',\n lessLinkEllipsis: false,\n lastItemsCount: 1,\n isMobile: false,\n isSliding: true,\n mobileTarget: '',\n targetViewport: 'all', // all, desktop, mobile\n addClass: '',\n vPort: 'screen-sm',\n midWordEnabled: false,\n animation: false,\n ignoreCountList: null,\n readMoreWithSpacebar: false,\n onComplete: function () {},\n };\n})(jQuery);\n","/**\n * Multiple Selection Component for Bootstrap\n * Check nicolasbize.github.io/magicsuggest/ for latest updates.\n *\n * Author: Nicolas Bize\n * Created: Feb 8th 2013\n * Last Updated: Oct 16th 2014\n * Version: 2.1.4\n * Licence: MagicSuggest is licenced under MIT licence (http://opensource.org/licenses/MIT)\n */\n/*eslint-disable*/\n\n(function ($) {\n 'use strict';\n var MagicSuggest = function (element, options) {\n var ms = this;\n\n /**\n * Initializes the MagicSuggest component\n */\n var defaults = {\n /********** CONFIGURATION PROPERTIES ************/\n /**\n * Restricts or allows the user to validate typed entries.\n * Defaults to true.\n */\n allowFreeEntries: true,\n\n /**\n * Restricts or allows the user to add the same entry more than once\n * Defaults to false.\n */\n allowDuplicates: false,\n\n /**\n * Additional config object passed to each $.ajax call\n */\n ajaxConfig: {},\n\n /**\n * If a single suggestion comes out, it is preselected.\n */\n autoSelect: true,\n\n /**\n * Auto select the first matching item with multiple items shown\n */\n selectFirst: false,\n\n /**\n * Allow customization of query parameter\n */\n queryParam: 'query',\n\n /**\n * A function triggered just before the ajax request is sent, similar to jQuery\n */\n beforeSend: function () {},\n\n /**\n * A custom CSS class to apply to the field's underlying element.\n */\n cls: '',\n\n /**\n * JSON Data source used to populate the combo box. 3 options are available here:\n * No Data Source (default)\n * When left null, the combo box will not suggest anything. It can still enable the user to enter\n * multiple entries if allowFreeEntries is * set to true (default).\n * Static Source\n * You can pass an array of JSON objects, an array of strings or even a single CSV string as the\n * data source.For ex. data: [* {id:0,name:\"Paris\"}, {id: 1, name: \"New York\"}]\n * You can also pass any json object with the results property containing the json array.\n * Url\n * You can pass the url from which the component will fetch its JSON data.Data will be fetched\n * using a POST ajax request that will * include the entered text as 'query' parameter. The results\n * fetched from the server can be:\n * - an array of JSON objects (ex: [{id:...,name:...},{...}])\n * - a string containing an array of JSON objects ready to be parsed (ex: \"[{id:...,name:...},{...}]\")\n * - a JSON object whose data will be contained in the results property\n * (ex: {results: [{id:...,name:...},{...}]\n * Function\n * You can pass a function which returns an array of JSON objects (ex: [{id:...,name:...},{...}])\n * The function can return the JSON data or it can use the first argument as function to handle the data.\n * Only one (callback function or return value) is needed for the function to succeed.\n * See the following example:\n * function (response) { var myjson = [{name: 'test', id: 1}]; response(myjson); return myjson; }\n */\n data: null,\n\n /**\n * Additional parameters to the ajax call\n */\n dataUrlParams: {},\n\n /**\n * Start the component in a disabled state.\n */\n disabled: false,\n\n /**\n * Name of JSON object property that defines the disabled behaviour\n */\n disabledField: null,\n\n /**\n * Name of JSON object property displayed in the combo list\n */\n displayField: 'name',\n\n /**\n * Set to false if you only want mouse interaction. In that case the combo will\n * automatically expand on focus.\n */\n editable: true,\n\n /**\n * Set starting state for combo.\n */\n expanded: false,\n\n /**\n * Automatically expands combo on focus.\n */\n expandOnFocus: false,\n\n /**\n * JSON property by which the list should be grouped\n */\n groupBy: null,\n\n /**\n * Set to true to hide the trigger on the right\n */\n hideTrigger: false,\n\n /**\n * Set to true to highlight search input within displayed suggestions\n */\n highlight: true,\n\n /**\n * A custom ID for this component\n */\n id: null,\n\n /**\n * A class that is added to the info message appearing on the top-right part of the component\n */\n infoMsgCls: '',\n\n /**\n * Additional parameters passed out to the INPUT tag. Enables usage of AngularJS's custom tags for ex.\n */\n inputCfg: {},\n\n /**\n * The class that is applied to show that the field is invalid\n */\n invalidCls: 'ms-inv',\n\n /**\n * Set to true to filter data results according to case. Useless if the data is fetched remotely\n */\n matchCase: false,\n\n /**\n * Once expanded, the combo's height will take as much room as the # of available results.\n * In case there are too many results displayed, this will fix the drop down height.\n */\n maxDropHeight: 290,\n\n /**\n * Defines how long the user free entry can be. Set to null for no limit.\n */\n maxEntryLength: null,\n\n /**\n * A function that defines the helper text when the max entry length has been surpassed.\n */\n maxEntryRenderer: function (v) {\n return 'Please reduce your entry by ' + v + ' character' + (v > 1 ? 's' : '');\n },\n\n /**\n * The maximum number of results displayed in the combo drop down at once.\n */\n maxSuggestions: null,\n\n /**\n * The maximum number of items the user can select if multiple selection is allowed.\n * Set to null to remove the limit.\n */\n maxSelection: 10,\n\n /**\n * A function that defines the helper text when the max selection amount has been reached. The function has a single\n * parameter which is the number of selected elements.\n */\n maxSelectionRenderer: function (v) {\n return 'You cannot choose more than ' + v + ' item' + (v > 1 ? 's' : '');\n },\n\n /**\n * The method used by the ajax request.\n */\n method: 'POST',\n\n /**\n * The minimum number of characters the user must type before the combo expands and offers suggestions.\n */\n minChars: 0,\n\n /**\n * A function that defines the helper text when not enough letters are set. The function has a single\n * parameter which is the difference between the required amount of letters and the current one.\n */\n minCharsRenderer: function (v) {\n return 'Please type ' + v + ' more character' + (v > 1 ? 's' : '');\n },\n\n /**\n * Whether or not sorting / filtering should be done remotely or locally.\n * Use either 'local' or 'remote'\n */\n mode: 'local',\n\n /**\n * The name used as a form element.\n */\n name: null,\n\n /**\n * The text displayed when there are no suggestions.\n */\n noSuggestionText: 'No suggestions',\n\n /**\n * The default placeholder text when nothing has been entered\n */\n placeholder: 'Type or click here',\n\n /**\n * A function used to define how the items will be presented in the combo\n */\n renderer: null,\n\n /**\n * Whether or not this field should be required\n */\n required: false,\n\n /**\n * Set to true to render selection as a delimited string\n */\n resultAsString: false,\n\n /**\n * Text delimiter to use in a delimited string.\n */\n resultAsStringDelimiter: ',',\n\n /**\n * Name of JSON object property that represents the list of suggested objects\n */\n resultsField: 'results',\n\n /**\n * A custom CSS class to add to a selected item\n */\n selectionCls: '',\n\n /**\n * An optional element replacement in which the selection is rendered\n */\n selectionContainer: null,\n\n /**\n * Where the selected items will be displayed. Only 'right', 'bottom' and 'inner' are valid values\n */\n selectionPosition: 'inner',\n\n /**\n * A function used to define how the items will be presented in the tag list\n */\n selectionRenderer: null,\n\n /**\n * Set to true to stack the selectioned items when positioned on the bottom\n * Requires the selectionPosition to be set to 'bottom'\n */\n selectionStacked: false,\n\n /**\n * Direction used for sorting. Only 'asc' and 'desc' are valid values\n */\n sortDir: 'asc',\n\n /**\n * name of JSON object property for local result sorting.\n * Leave null if you do not wish the results to be ordered or if they are already ordered remotely.\n */\n sortOrder: null,\n\n /**\n * If set to true, suggestions will have to start by user input (and not simply contain it as a substring)\n */\n strictSuggest: false,\n\n /**\n * Custom style added to the component container.\n */\n style: '',\n\n /**\n * If set to true, the combo will expand / collapse when clicked upon\n */\n toggleOnClick: false,\n\n /**\n * Amount (in ms) between keyboard registers.\n */\n typeDelay: 400,\n\n /**\n * If set to true, tab won't blur the component but will be registered as the ENTER key\n */\n useTabKey: false,\n\n /**\n * If set to true, using comma will validate the user's choice\n */\n useCommaKey: true,\n\n /**\n * Determines whether or not the results will be displayed with a zebra table style\n */\n useZebraStyle: false,\n\n /**\n * initial value for the field\n */\n value: null,\n\n /**\n * name of JSON object property that represents its underlying value\n */\n valueField: 'id',\n\n /**\n * regular expression to validate the values against\n */\n vregex: null,\n\n /**\n * type to validate against\n */\n vtype: null,\n };\n\n var conf = $.extend({}, options);\n var cfg = $.extend(true, {}, defaults, conf);\n\n /********** PUBLIC METHODS ************/\n /**\n * Add one or multiple json items to the current selection\n * @param items - json object or array of json objects\n * @param isSilent - (optional) set to true to suppress 'selectionchange' event from being triggered\n */\n this.addToSelection = function (items, isSilent) {\n if (!cfg.maxSelection || _selection.length < cfg.maxSelection) {\n if (!$.isArray(items)) {\n items = [items];\n }\n var valuechanged = false;\n $.each(items, function (index, json) {\n if (cfg.allowDuplicates || $.inArray(json[cfg.valueField], ms.getValue()) === -1) {\n _selection.push(json);\n valuechanged = true;\n }\n });\n if (valuechanged === true) {\n self._renderSelection();\n this.empty();\n if (isSilent !== true) {\n $(this).trigger('selectionchange', [this, this.getSelection()]);\n }\n }\n }\n this.input.attr(\n 'placeholder',\n cfg.selectionPosition === 'inner' && this.getValue().length > 0 ? '' : cfg.placeholder\n );\n };\n\n /**\n * Clears the current selection\n * @param isSilent - (optional) set to true to suppress 'selectionchange' event from being triggered\n */\n this.clear = function (isSilent) {\n this.removeFromSelection(_selection.slice(0), isSilent); // clone array to avoid concurrency issues\n };\n\n /**\n * Collapse the drop down part of the combo\n */\n this.collapse = function () {\n if (cfg.expanded === true) {\n this.combobox.detach();\n cfg.expanded = false;\n $(this).trigger('collapse', [this]);\n }\n };\n\n /**\n * Set the component in a disabled state.\n */\n this.disable = function () {\n this.container.addClass('ms-ctn-disabled');\n cfg.disabled = true;\n ms.input.attr('disabled', true);\n };\n\n /**\n * Empties out the combo user text\n */\n this.empty = function () {\n this.input.val('');\n };\n\n /**\n * Set the component in a enable state.\n */\n this.enable = function () {\n this.container.removeClass('ms-ctn-disabled');\n cfg.disabled = false;\n ms.input.attr('disabled', false);\n };\n\n /**\n * Expand the drop drown part of the combo.\n */\n this.expand = function () {\n if (!cfg.expanded && (this.input.val().length >= cfg.minChars || this.combobox.children().size() > 0)) {\n this.combobox.appendTo(this.container);\n self._processSuggestions();\n cfg.expanded = true;\n $(this).trigger('expand', [this]);\n }\n };\n\n /**\n * Retrieve component enabled status\n */\n this.isDisabled = function () {\n return cfg.disabled;\n };\n\n /**\n * Checks whether the field is valid or not\n * @return {boolean}\n */\n this.isValid = function () {\n var valid = cfg.required === false || _selection.length > 0;\n if (cfg.vtype || cfg.vregex) {\n $.each(_selection, function (index, item) {\n valid = valid && self._validateSingleItem(item[cfg.valueField]);\n });\n }\n return valid;\n };\n\n /**\n * Gets the data params for current ajax request\n */\n this.getDataUrlParams = function () {\n return cfg.dataUrlParams;\n };\n\n /**\n * Gets the name given to the form input\n */\n this.getName = function () {\n return cfg.name;\n };\n\n /**\n * Retrieve an array of selected json objects\n * @return {Array}\n */\n this.getSelection = function () {\n return _selection;\n };\n\n /**\n * Retrieve the current text entered by the user\n */\n this.getRawValue = function () {\n return UX.utils.escapeHtml(ms.input.val());\n }\n\n // Update the pasted data to avoid scripts injection\n $(\"body\").bind(\"paste\", function(e){\n if(e.target.id === \"shibboleth_search\") {\n e.preventDefault();\n let clipboardData = e.originalEvent.clipboardData.getData('text');\n let modifiedData = clipboardData.replace(/[<()>]/g, \"\");\n let textarea = e.target;\n let start = textarea.selectionStart;\n let end = textarea.selectionEnd;\n textarea.value = textarea.value.substring(0, start) + modifiedData + textarea.value.substring(end);\n textarea.selectionStart = textarea.selectionEnd = start + modifiedData.length;\n }\n });\n\n /**\n * Retrieve an array of selected values\n */\n this.getValue = function () {\n return $.map(_selection, function (o) {\n return o[cfg.valueField];\n });\n };\n\n /**\n * Remove one or multiples json items from the current selection\n * @param items - json object or array of json objects\n * @param isSilent - (optional) set to true to suppress 'selectionchange' event from being triggered\n */\n this.removeFromSelection = function (items, isSilent) {\n if (!$.isArray(items)) {\n items = [items];\n }\n var valuechanged = false;\n $.each(items, function (index, json) {\n var i = $.inArray(json[cfg.valueField], ms.getValue());\n if (i > -1) {\n _selection.splice(i, 1);\n valuechanged = true;\n }\n });\n if (valuechanged === true) {\n self._renderSelection();\n if (isSilent !== true) {\n $(this).trigger('selectionchange', [this, this.getSelection()]);\n }\n if (cfg.expandOnFocus) {\n ms.expand();\n }\n if (cfg.expanded) {\n self._processSuggestions();\n }\n }\n this.input.attr(\n 'placeholder',\n cfg.selectionPosition === 'inner' && this.getValue().length > 0 ? '' : cfg.placeholder\n );\n };\n\n /**\n * Get current data\n */\n this.getData = function () {\n return _cbData;\n };\n\n /**\n * Set up some combo data after it has been rendered\n * @param data\n */\n this.setData = function (data) {\n cfg.data = data;\n self._processSuggestions();\n };\n\n /**\n * Sets the name for the input field so it can be fetched in the form\n * @param name\n */\n this.setName = function (name) {\n cfg.name = name;\n if (name) {\n cfg.name += name.indexOf('[]') > 0 ? '' : '[]';\n }\n if (ms._valueContainer) {\n $.each(ms._valueContainer.children(), function (i, el) {\n el.name = cfg.name;\n });\n }\n };\n\n /**\n * Sets the current selection with the JSON items provided\n * @param items\n */\n this.setSelection = function (items) {\n this.clear();\n this.addToSelection(items);\n };\n\n /**\n * Sets a value for the combo box. Value must be an array of values with data type matching valueField one.\n * @param data\n */\n this.setValue = function (values) {\n var items = [];\n\n $.each(values, function (index, value) {\n // first try to see if we have the full objects from our data set\n var found = false;\n $.each(_cbData, function (i, item) {\n if (item[cfg.valueField] === value) {\n items.push(item);\n found = true;\n return false;\n }\n });\n if (!found) {\n if (typeof value === 'object') {\n items.push(value);\n } else {\n var json = {};\n json[cfg.valueField] = value;\n json[cfg.displayField] = value;\n items.push(json);\n }\n }\n });\n if (items.length > 0) {\n this.addToSelection(items);\n }\n };\n\n /**\n * Sets data params for subsequent ajax requests\n * @param params\n */\n this.setDataUrlParams = function (params) {\n cfg.dataUrlParams = $.extend({}, params);\n };\n\n /********** PRIVATE ************/\n var _selection = [], // selected objects\n _comboItemHeight = 0, // height for each combo item.\n _timer,\n _hasFocus = false,\n _groups = null,\n _cbData = [],\n _ctrlDown = false,\n KEYCODES = {\n BACKSPACE: 8,\n TAB: 9,\n ENTER: 13,\n CTRL: 17,\n ESC: 27,\n SPACE: 32,\n UPARROW: 38,\n DOWNARROW: 40,\n COMMA: 188,\n };\n \n\n var self = {\n /**\n * Empties the result container and refills it with the array of json results in input\n * @private\n */\n _displaySuggestions: function (data) {\n ms.combobox.show();\n ms.selectionContainer.attr('aria-expanded', 'true');\n const ariaControlID = ms.selectionContainer.children(\"input\").attr('id');\n ms.selectionContainer.attr('aria-controls', ariaControlID)\n ms.combobox.empty();\n\n var resHeight = 0, // total height taken by displayed results.\n nbGroups = 0;\n\n if (_groups === null) {\n self._renderComboItems(data);\n resHeight = _comboItemHeight * data.length;\n } else {\n for (var grpName in _groups) {\n nbGroups += 1;\n $('<div/>', {\n class: 'ms-res-group',\n html: grpName,\n }).appendTo(ms.combobox);\n self._renderComboItems(_groups[grpName].items, true);\n }\n var _groupItemHeight = ms.combobox.find('.ms-res-group').outerHeight();\n if (_groupItemHeight !== null) {\n var tmpResHeight = nbGroups * _groupItemHeight;\n resHeight = _comboItemHeight * data.length + tmpResHeight;\n } else {\n resHeight = _comboItemHeight * (data.length + nbGroups);\n }\n }\n\n if (resHeight < ms.combobox.height() || resHeight <= cfg.maxDropHeight) {\n ms.combobox.height(resHeight);\n } else if (resHeight >= ms.combobox.height() && resHeight > cfg.maxDropHeight) {\n ms.combobox.height(cfg.maxDropHeight);\n }\n\n if (data.length === 1 && cfg.autoSelect === true) {\n ms.combobox\n .children()\n .filter(':not(.ms-res-item-disabled):last')\n .addClass('ms-res-item-active')\n .attr('aria-selected', 'true');\n ms.input.attr(\n 'aria-activedescendant',\n ms.combobox.children().filter(':not(.ms-res-item-disabled):last').attr('id')\n );\n }\n\n if (cfg.selectFirst === true) {\n ms.combobox\n .children()\n .filter(':not(.ms-res-item-disabled):first')\n .addClass('ms-res-item-active')\n .attr('aria-selected', 'true');\n ms.input.attr(\n 'aria-activedescendant',\n ms.combobox.children().filter(':not(.ms-res-item-disabled):first').attr('id')\n );\n }\n\n if (data.length === 0 && ms.getRawValue() !== '') {\n var noSuggestionText = cfg.noSuggestionText.replace(/\\{\\{.*\\}\\}/, ms.input.val());\n self._updateHelper(`<div role=\"alert\">${noSuggestionText}</div>`);\n ms.collapse();\n }\n\n // When free entry is off, add invalid class to input if no data matches\n if (cfg.allowFreeEntries === false) {\n if (data.length === 0) {\n $(ms.input).addClass(cfg.invalidCls);\n ms.combobox.hide();\n } else {\n $(ms.input).removeClass(cfg.invalidCls);\n }\n }\n },\n\n /**\n * Returns an array of json objects from an array of strings.\n * @private\n */\n _getEntriesFromStringArray: function (data) {\n var json = [];\n $.each(data, function (index, s) {\n var entry = {};\n entry[cfg.displayField] = entry[cfg.valueField] = $.trim(s);\n json.push(entry);\n });\n return json;\n },\n\n /**\n * Replaces html with highlighted html according to case\n * @param html\n * @private\n */\n _highlightSuggestion: function (html) {\n var q = ms.input.val();\n\n //escape special regex characters\n var specialCharacters = ['^', '$', '*', '+', '?', '.', '(', ')', ':', '!', '|', '{', '}', '[', ']'];\n\n $.each(specialCharacters, function (index, value) {\n q = q.replace(value, '\\\\' + value);\n });\n\n if (q.length === 0) {\n return html; // nothing entered as input\n }\n\n var glob = cfg.matchCase === true ? 'g' : 'gi';\n return html.replace(new RegExp('(' + q + ')(?!([^<]+)?>)', glob), '<em>$1</em>');\n },\n\n /**\n * Moves the selected cursor amongst the list item\n * @param dir - 'up' or 'down'\n * @private\n */\n _moveSelectedRow: function (dir) {\n if (!cfg.expanded) {\n ms.expand();\n }\n var list, start, active, scrollPos;\n list = ms.combobox.find('.ms-res-item:not(.ms-res-item-disabled)');\n if (dir === 'down') {\n start = list.eq(0);\n } else {\n start = list.filter(':last');\n }\n active = ms.combobox.find('.ms-res-item-active:not(.ms-res-item-disabled):first');\n if (active.length > 0) {\n if (dir === 'down') {\n start = active.nextAll('.ms-res-item:not(.ms-res-item-disabled)').first();\n if (start.length === 0) {\n start = list.eq(0);\n }\n scrollPos = ms.combobox.scrollTop();\n ms.combobox.scrollTop(0);\n if (start[0].offsetTop + start.outerHeight() > ms.combobox.height()) {\n ms.combobox.scrollTop(scrollPos + _comboItemHeight);\n }\n } else {\n start = active.prevAll('.ms-res-item:not(.ms-res-item-disabled)').first();\n if (start.length === 0) {\n start = list.filter(':last');\n ms.combobox.scrollTop(_comboItemHeight * list.length);\n }\n if (start[0].offsetTop < ms.combobox.scrollTop()) {\n ms.combobox.scrollTop(ms.combobox.scrollTop() - _comboItemHeight);\n }\n }\n }\n list.removeClass('ms-res-item-active').attr('aria-selected', 'false');\n start.addClass('ms-res-item-active').attr('aria-selected', 'true');\n ms.input.attr('aria-activedescendant', start.attr('id'));\n },\n\n /**\n * According to given data and query, sort and add suggestions in their container\n * @private\n */\n _processSuggestions: function (source) {\n var json = null,\n data = source || cfg.data;\n if (data !== null) {\n if (typeof data === 'function') {\n data = data.call(ms, ms.getRawValue());\n }\n if (typeof data === 'string') {\n // get results from ajax\n $(ms).trigger('beforeload', [ms]);\n var queryParams = {};\n queryParams[cfg.queryParam] = ms.input.val();\n var params = $.extend(queryParams, cfg.dataUrlParams);\n $.ajax(\n $.extend(\n {\n type: cfg.method,\n url: data,\n data: params,\n beforeSend: cfg.beforeSend,\n success: function (asyncData) {\n json = typeof asyncData === 'string' ? JSON.parse(asyncData) : asyncData;\n self._processSuggestions(json);\n $(ms).trigger('load', [ms, json]);\n if (self._asyncValues) {\n ms.setValue(\n typeof self._asyncValues === 'string'\n ? JSON.parse(self._asyncValues)\n : self._asyncValues\n );\n self._renderSelection();\n delete self._asyncValues;\n }\n },\n error: function () {\n throw 'Could not reach server';\n },\n },\n cfg.ajaxConfig\n )\n );\n return;\n } else {\n // results from local array\n if (data.length > 0 && typeof data[0] === 'string') {\n // results from array of strings\n _cbData = self._getEntriesFromStringArray(data);\n } else {\n // regular json array or json object with results property\n _cbData = data[cfg.resultsField] || data;\n }\n }\n var sortedData = cfg.mode === 'remote' ? _cbData : self._sortAndTrim(_cbData);\n self._displaySuggestions(self._group(sortedData));\n }\n },\n\n /**\n * Render the component to the given input DOM element\n * @private\n */\n _render: function (el) {\n ms.setName(cfg.name); // make sure the form name is correct\n // holds the main div, will relay the focus events to the contained input element.\n ms.container = $('<div/>', {\n class:\n 'ms-ctn form-control ' +\n (cfg.resultAsString ? 'ms-as-string ' : '') +\n cfg.cls +\n ($(el).hasClass('input-lg') ? ' input-lg' : '') +\n ($(el).hasClass('input-sm') ? ' input-sm' : '') +\n (cfg.disabled === true ? ' ms-ctn-disabled' : '') +\n (cfg.editable === true ? '' : ' ms-ctn-readonly') +\n (cfg.hideTrigger === false ? '' : ' ms-no-trigger'),\n style: cfg.style,\n id: cfg.id,\n });\n ms.container.focus($.proxy(handlers._onFocus, this));\n ms.container.blur($.proxy(handlers._onBlur, this));\n ms.container.keydown($.proxy(handlers._onKeyDown, this));\n ms.container.keyup($.proxy(handlers._onKeyUp, this));\n\n // holds the input field\n ms.input = $(\n '<input/>',\n $.extend(\n {\n id: cfg.id,\n 'aria-autocomplete': 'list',\n 'aria-controls': $(el).closest('[data-list-id]').data('list-id'),\n type: 'text',\n class: cfg.editable === true ? '' : ' ms-input-readonly',\n readonly: !cfg.editable,\n placeholder: cfg.placeholder,\n disabled: cfg.disabled,\n },\n cfg.inputCfg\n )\n );\n\n ms.input.attr('autocomplete', 'off');\n ms.input.focus($.proxy(handlers._onInputFocus, this));\n ms.input.click($.proxy(handlers._onInputClick, this));\n\n // holds the suggestions. will always be placed on focus\n ms.combobox = $('<div/>', {\n id: $(el).closest('[data-list-id]').data('list-id'),\n 'aria-labelledby': $(el).closest('[data-list-id]').find('.ms-label').attr('id'),\n role: 'listbox',\n class: 'ms-res-ctn dropdown-menu',\n }).height(cfg.maxDropHeight);\n\n // bind the onclick and mouseover using delegated events (needs jQuery >= 1.7)\n ms.combobox.on('click', 'div.ms-res-item', $.proxy(handlers._onComboItemSelected, this));\n ms.combobox.on('mouseover', 'div.ms-res-item', $.proxy(handlers._onComboItemMouseOver, this));\n\n if (cfg.selectionContainer) {\n ms.selectionContainer = cfg.selectionContainer;\n $(ms.selectionContainer).addClass('ms-sel-ctn');\n } else {\n ms.selectionContainer = $('<div/>', {\n class: 'ms-sel-ctn',\n });\n }\n ms.selectionContainer.attr({\n role: 'combobox',\n 'aria-expanded': 'false',\n 'aria-owns': $(el).closest('[data-list-id]').data('list-id'),\n 'aria-haspopup': 'listbox',\n });\n ms.selectionContainer.click($.proxy(handlers._onFocus, this));\n\n if (cfg.selectionPosition === 'inner' && !cfg.selectionContainer) {\n ms.selectionContainer.append(ms.input);\n } else {\n ms.container.append(ms.input);\n }\n\n ms.helper = $('<span/>', {\n class: 'ms-helper ' + cfg.infoMsgCls,\n });\n self._updateHelper();\n ms.container.append(ms.helper);\n\n // Render the whole thing\n $(el).replaceWith(ms.container);\n\n if (!cfg.selectionContainer) {\n switch (cfg.selectionPosition) {\n case 'bottom':\n ms.selectionContainer.insertAfter(ms.container);\n if (cfg.selectionStacked === true) {\n ms.selectionContainer.width(ms.container.width());\n ms.selectionContainer.addClass('ms-stacked');\n }\n break;\n case 'right':\n ms.selectionContainer.insertAfter(ms.container);\n ms.container.css('float', 'left');\n break;\n default:\n ms.container.append(ms.selectionContainer);\n break;\n }\n }\n\n // holds the trigger on the right side\n if (cfg.hideTrigger === false) {\n ms.trigger = $('<div/>', {\n class: 'ms-trigger',\n html: '<div class=\"ms-trigger-ico\"></div>',\n });\n ms.trigger.click($.proxy(handlers._onTriggerClick, this));\n ms.container.append(ms.trigger);\n }\n\n $(window).resize($.proxy(handlers._onWindowResized, this));\n\n // do not perform an initial call if we are using ajax unless we have initial values\n if (cfg.value !== null || cfg.data !== null) {\n if (typeof cfg.data === 'string') {\n self._asyncValues = cfg.value;\n self._processSuggestions();\n } else {\n self._processSuggestions();\n if (cfg.value !== null) {\n ms.setValue(cfg.value);\n self._renderSelection();\n }\n }\n }\n\n $('body').click(function (e) {\n if (\n ms.container.hasClass('ms-ctn-focus') &&\n ms.container.has(e.target).length === 0 &&\n e.target.className.indexOf('ms-res-item') < 0 &&\n e.target.className.indexOf('ms-close-btn') < 0 &&\n ms.container[0] !== e.target\n ) {\n handlers._onBlur();\n }\n });\n\n if (cfg.expanded === true) {\n cfg.expanded = false;\n ms.expand();\n }\n },\n\n /**\n * Renders each element within the combo box\n * @private\n */\n _renderComboItems: function (items, isGrouped) {\n var ref = this,\n html = '';\n $.each(items, function (index, value) {\n var displayed = cfg.renderer !== null ? cfg.renderer.call(ref, value) : value[cfg.displayField];\n var disabled = cfg.disabledField !== null && value[cfg.disabledField] === true;\n var resultItemEl = $('<div/>', {\n id: `result-item-${index}`,\n role: 'option',\n 'aria-selected': 'false',\n class:\n 'ms-res-item ' +\n (isGrouped ? 'ms-res-item-grouped ' : '') +\n (disabled ? 'ms-res-item-disabled ' : '') +\n (index % 2 === 1 && cfg.useZebraStyle === true ? 'ms-res-odd' : ''),\n html: cfg.highlight === true ? self._highlightSuggestion(displayed) : displayed,\n 'data-json': JSON.stringify(value),\n });\n html += $('<div/>').append(resultItemEl).html();\n });\n ms.combobox.append(html);\n _comboItemHeight = ms.combobox.find('.ms-res-item:first').outerHeight();\n },\n\n /**\n * Renders the selected items into their container.\n * @private\n */\n _renderSelection: function () {\n var ref = this,\n w = 0,\n inputOffset = 0,\n items = [],\n asText = cfg.resultAsString === true && !_hasFocus;\n\n ms.selectionContainer.find('.ms-sel-item').remove();\n if (ms._valueContainer !== undefined) {\n ms._valueContainer.remove();\n }\n\n $.each(_selection, function (index, value) {\n var selectedItemEl,\n delItemEl,\n selectedItemHtml =\n cfg.selectionRenderer !== null\n ? cfg.selectionRenderer.call(ref, value)\n : value[cfg.displayField];\n\n var validCls = self._validateSingleItem(value[cfg.displayField]) ? '' : ' ms-sel-invalid';\n\n // tag representing selected value\n if (asText === true) {\n selectedItemEl = $('<div/>', {\n tabindex: '0',\n 'aria-label': 'selected item',\n class: 'ms-sel-item ms-sel-text ' + cfg.selectionCls + validCls,\n html:\n selectedItemHtml + (index === _selection.length - 1 ? '' : cfg.resultAsStringDelimiter),\n }).data('json', value);\n } else {\n selectedItemEl = $('<div/>', {\n tabindex: '0',\n 'aria-label': `selected item: ${selectedItemHtml}`,\n class: 'ms-sel-item ' + cfg.selectionCls + validCls,\n html: selectedItemHtml,\n }).data('json', value);\n ms.selectionContainer.removeAttr('role');\n\n if (cfg.disabled === false) {\n // small cross img\n delItemEl = $(\n '<span class=\"ms-close-btn\" role=\"button\" aria-label=\"Remove selected item\" tabindex=\"0\"><i aria-hidden=\"true\" class=\"icon-tools_close\"></i></span>'\n )\n .data('json', value)\n .appendTo(selectedItemEl);\n delItemEl.click($.proxy(handlers._onTagTriggerClick, ref));\n delItemEl.on('keydown', e => {\n if (e.key === 'Enter') {\n e.preventDefault();\n $(e.target).trigger('click');\n ms.input.focus();\n }\n });\n }\n }\n\n items.push(selectedItemEl);\n });\n ms.selectionContainer.prepend(items);\n ms.selectionContainer.find('.ms-sel-item').last().focus();\n\n // store the values, behaviour of multiple select\n ms._valueContainer = $('<div/>', {\n style: 'display: none;',\n });\n $.each(ms.getValue(), function (i, val) {\n var el = $('<input/>', {\n type: 'hidden',\n name: cfg.name,\n value: val,\n });\n el.appendTo(ms._valueContainer);\n });\n ms._valueContainer.appendTo(ms.selectionContainer);\n\n if (cfg.selectionPosition === 'inner' && !cfg.selectionContainer) {\n ms.input.width(0);\n inputOffset = ms.input.offset().left - ms.selectionContainer.offset().left;\n w = ms.container.width() - inputOffset - 42;\n ms.input.width(w);\n }\n\n if (_selection.length > cfg.maxSelection) {\n self._updateHelper(cfg.maxSelectionRenderer.call(this, _selection.length));\n } else {\n ms.helper.hide();\n }\n },\n\n /**\n * Select an item either through keyboard or mouse\n * @param item\n * @private\n */\n _selectItem: function (item) {\n if (cfg.maxSelection === 1) {\n _selection = [];\n }\n ms.addToSelection(item.data('json'));\n item.removeClass('ms-res-item-active').attr('aria-selected', 'false');\n if (cfg.expandOnFocus === false || _selection.length === cfg.maxSelection) {\n ms.collapse();\n ms.selectionContainer.attr('aria-expanded', 'false');\n }\n if (!_hasFocus) {\n ms.input.focus();\n } else if (_hasFocus && (cfg.expandOnFocus || _ctrlDown)) {\n self._processSuggestions();\n if (_ctrlDown) {\n ms.expand();\n }\n }\n },\n\n /**\n * Sorts the results and cut them down to max # of displayed results at once\n * @private\n */\n _sortAndTrim: function (data) {\n var q = ms.getRawValue(),\n filtered = [],\n newSuggestions = [],\n selectedValues = ms.getValue();\n // filter the data according to given input\n if (q.length > 0) {\n $.each(data, function (index, obj) {\n var name = obj[cfg.displayField];\n if (\n (cfg.matchCase === true && name.indexOf(q) > -1) ||\n (cfg.matchCase === false && name.toLowerCase().indexOf(q.toLowerCase()) > -1)\n ) {\n if (cfg.strictSuggest === false || name.toLowerCase().indexOf(q.toLowerCase()) === 0) {\n filtered.push(obj);\n }\n }\n });\n } else {\n filtered = data;\n }\n // take out the ones that have already been selected\n $.each(filtered, function (index, obj) {\n if (cfg.allowDuplicates || $.inArray(obj[cfg.valueField], selectedValues) === -1) {\n newSuggestions.push(obj);\n }\n });\n // sort the data\n if (cfg.sortOrder !== null) {\n newSuggestions.sort(function (a, b) {\n if (a[cfg.sortOrder] < b[cfg.sortOrder]) {\n return cfg.sortDir === 'asc' ? -1 : 1;\n }\n if (a[cfg.sortOrder] > b[cfg.sortOrder]) {\n return cfg.sortDir === 'asc' ? 1 : -1;\n }\n return 0;\n });\n }\n // trim it down\n if (cfg.maxSuggestions && cfg.maxSuggestions > 0) {\n newSuggestions = newSuggestions.slice(0, cfg.maxSuggestions);\n }\n return newSuggestions;\n },\n\n _group: function (data) {\n // build groups\n if (cfg.groupBy !== null) {\n _groups = {};\n\n $.each(data, function (index, value) {\n var props = cfg.groupBy.indexOf('.') > -1 ? cfg.groupBy.split('.') : cfg.groupBy;\n var prop = value[cfg.groupBy];\n if (typeof props != 'string') {\n prop = value;\n while (props.length > 0) {\n prop = prop[props.shift()];\n }\n }\n if (_groups[prop] === undefined) {\n _groups[prop] = {title: prop, items: [value]};\n } else {\n _groups[prop].items.push(value);\n }\n });\n }\n return data;\n },\n\n /**\n * Update the helper text\n * @private\n */\n _updateHelper: function (html) {\n ms.helper.html(html);\n if (!ms.helper.is(':visible')) {\n ms.helper.fadeIn();\n }\n },\n\n /**\n * Validate an item against vtype or vregex\n * @private\n */\n _validateSingleItem: function (value) {\n if (cfg.vregex !== null && cfg.vregex instanceof RegExp) {\n return cfg.vregex.test(value);\n } else if (cfg.vtype !== null) {\n switch (cfg.vtype) {\n case 'alpha':\n return /^[a-zA-Z_]+$/.test(value);\n case 'alphanum':\n return /^[a-zA-Z0-9_]+$/.test(value);\n case 'email':\n return /^(\\w+)([\\-+.][\\w]+)*@(\\w[\\-\\w]*\\.){1,5}([A-Za-z]){2,6}$/.test(value);\n case 'url':\n return /(((^https?)|(^ftp)):\\/\\/([\\-\\w]+\\.)+\\w{2,3}(\\/[%\\-\\w]+(\\.\\w{2,})?)*(([\\w\\-\\.\\?\\\\\\/+@&#;`~=%!]*)(\\.\\w{2,})?)*\\/?)/i.test(\n value\n );\n case 'ipaddress':\n return /^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/.test(value);\n }\n }\n return true;\n },\n };\n\n var handlers = {\n /**\n * Triggered when blurring out of the component\n * @private\n */\n _onBlur: function () {\n ms.container.removeClass('ms-ctn-focus');\n ms.collapse();\n _hasFocus = false;\n if (ms.getRawValue() !== '' && cfg.allowFreeEntries === true) {\n var obj = {};\n obj[cfg.displayField] = obj[cfg.valueField] = ms.getRawValue().trim();\n ms.addToSelection(obj);\n }\n self._renderSelection();\n\n if (ms.isValid() === false) {\n ms.container.addClass(cfg.invalidCls);\n } else if (ms.input.val() !== '' && cfg.allowFreeEntries === false) {\n ms.empty();\n self._updateHelper('');\n }\n\n $(ms).trigger('blur', [ms]);\n },\n\n /**\n * Triggered when hovering an element in the combo\n * @param e\n * @private\n */\n _onComboItemMouseOver: function (e) {\n var target = $(e.currentTarget);\n if (!target.hasClass('ms-res-item-disabled')) {\n ms.combobox.children().removeClass('ms-res-item-active').attr('aria-selected', 'false');\n target.addClass('ms-res-item-active').attr('aria-selected', 'true');\n ms.input.attr('aria-activedescendant', target.attr('id'));\n }\n },\n\n /**\n * Triggered when an item is chosen from the list\n * @param e\n * @private\n */\n _onComboItemSelected: function (e) {\n var target = $(e.currentTarget);\n if (!target.hasClass('ms-res-item-disabled')) {\n self._selectItem($(e.currentTarget));\n }\n },\n\n /**\n * Triggered when focusing on the container div. Will focus on the input field instead.\n * @private\n */\n _onFocus: function () {\n ms.input.focus();\n },\n\n /**\n * Triggered when clicking on the input text field\n * @private\n */\n _onInputClick: function () {\n if (ms.isDisabled() === false && _hasFocus) {\n if (cfg.toggleOnClick === true) {\n if (cfg.expanded) {\n ms.collapse();\n } else {\n ms.expand();\n }\n }\n }\n },\n\n /**\n * Triggered when focusing on the input text field.\n * @private\n */\n _onInputFocus: function () {\n if (ms.isDisabled() === false && !_hasFocus) {\n _hasFocus = true;\n ms.container.addClass('ms-ctn-focus');\n ms.container.removeClass(cfg.invalidCls);\n\n var curLength = ms.getRawValue().length;\n if (cfg.expandOnFocus === true) {\n ms.expand();\n }\n\n if (_selection.length === cfg.maxSelection) {\n self._updateHelper(cfg.maxSelectionRenderer.call(this, _selection.length));\n } else if (curLength < cfg.minChars) {\n self._updateHelper(cfg.minCharsRenderer.call(this, cfg.minChars - curLength));\n }\n\n self._renderSelection();\n $(ms).trigger('focus', [ms]);\n }\n },\n\n /**\n * Triggered when the user presses a key while the component has focus\n * This is where we want to handle all keys that don't require the user input field\n * since it hasn't registered the key hit yet\n * @param e keyEvent\n * @private\n */\n _onKeyDown: function (e) {\n // check how tab should be handled\n var active = ms.combobox.find('.ms-res-item-active:not(.ms-res-item-disabled):first'),\n freeInput = ms.input.val();\n $(ms).trigger('keydown', [ms, e]);\n\n if (\n e.keyCode === KEYCODES.TAB &&\n (cfg.useTabKey === false ||\n (cfg.useTabKey === true && active.length === 0 && ms.input.val().length === 0))\n ) {\n handlers._onBlur();\n return;\n }\n switch (e.keyCode) {\n case KEYCODES.BACKSPACE:\n if (\n freeInput.length === 0 &&\n ms.getSelection().length > 0 &&\n cfg.selectionPosition === 'inner'\n ) {\n _selection.pop();\n self._renderSelection();\n $(ms).trigger('selectionchange', [ms, ms.getSelection()]);\n ms.input.attr(\n 'placeholder',\n cfg.selectionPosition === 'inner' && ms.getValue().length > 0 ? '' : cfg.placeholder\n );\n ms.input.focus();\n e.preventDefault();\n }\n break;\n case KEYCODES.TAB:\n case KEYCODES.ESC:\n e.preventDefault();\n break;\n case KEYCODES.ENTER:\n if (freeInput !== '' || cfg.expanded) {\n e.preventDefault();\n }\n break;\n case KEYCODES.COMMA:\n if (cfg.useCommaKey === true) {\n e.preventDefault();\n }\n break;\n case KEYCODES.CTRL:\n _ctrlDown = true;\n break;\n case KEYCODES.DOWNARROW:\n e.preventDefault();\n ms.combobox.show();\n ms.selectionContainer.attr('aria-expanded', 'true');\n self._moveSelectedRow('down');\n break;\n case KEYCODES.UPARROW:\n e.preventDefault();\n self._moveSelectedRow('up');\n break;\n default:\n if (_selection.length === cfg.maxSelection) {\n e.preventDefault();\n }\n break;\n }\n },\n\n /**\n * Triggered when a key is released while the component has focus\n * @param e\n * @private\n */\n _onKeyUp: function (e) {\n var freeInput = ms.getRawValue(),\n inputValid =\n $.trim(ms.input.val()).length > 0 &&\n (!cfg.maxEntryLength || $.trim(ms.input.val()).length <= cfg.maxEntryLength),\n selected,\n obj = {};\n\n if (/(^\\s$)|(\\s\\s+)/g.test(freeInput)) {\n return;\n }\n\n $(ms).trigger('keyup', [ms, e]);\n\n clearTimeout(_timer);\n\n // collapse if escape, but keep focus.\n if (e.keyCode === KEYCODES.ESC && cfg.expanded) {\n ms.combobox.hide();\n ms.selectionContainer.attr('aria-expanded', 'false');\n ms.input.attr('aria-activedescendant', '');\n }\n // ignore a bunch of keys\n if (\n (e.keyCode === KEYCODES.TAB && cfg.useTabKey === false) ||\n (e.keyCode > KEYCODES.ENTER && e.keyCode < KEYCODES.SPACE)\n ) {\n if (e.keyCode === KEYCODES.CTRL) {\n _ctrlDown = false;\n }\n return;\n }\n switch (e.keyCode) {\n case KEYCODES.UPARROW:\n case KEYCODES.DOWNARROW:\n e.preventDefault();\n break;\n case KEYCODES.ENTER:\n case KEYCODES.TAB:\n case KEYCODES.COMMA:\n if (e.keyCode !== KEYCODES.COMMA || cfg.useCommaKey === true) {\n e.preventDefault();\n if (cfg.expanded === true) {\n // if a selection is performed, select it and reset field\n selected = ms.combobox.find('.ms-res-item-active:not(.ms-res-item-disabled):first');\n if (selected.length > 0) {\n self._selectItem(selected);\n return;\n }\n }\n // if no selection or if freetext entered and free entries allowed, add new obj to selection\n if (inputValid === true && cfg.allowFreeEntries === true) {\n obj[cfg.displayField] = obj[cfg.valueField] = freeInput.trim();\n ms.addToSelection(obj);\n ms.collapse(); // reset combo suggestions\n ms.input.focus();\n }\n break;\n }\n default:\n if (_selection.length === cfg.maxSelection) {\n self._updateHelper(cfg.maxSelectionRenderer.call(this, _selection.length));\n } else {\n if (freeInput.length < cfg.minChars) {\n self._updateHelper(cfg.minCharsRenderer.call(this, cfg.minChars - freeInput.length));\n if (cfg.expanded === true) {\n ms.collapse();\n }\n } else if (cfg.maxEntryLength && freeInput.length > cfg.maxEntryLength) {\n self._updateHelper(\n cfg.maxEntryRenderer.call(this, freeInput.length - cfg.maxEntryLength)\n );\n if (cfg.expanded === true) {\n ms.collapse();\n }\n } else {\n ms.helper.hide();\n if (cfg.minChars <= freeInput.length) {\n _timer = setTimeout(function () {\n if (cfg.expanded === true) {\n self._processSuggestions();\n } else {\n ms.expand();\n }\n }, cfg.typeDelay);\n }\n }\n }\n break;\n }\n },\n\n /**\n * Triggered when clicking upon cross for deletion\n * @param e\n * @private\n */\n _onTagTriggerClick: function (e) {\n ms.selectionContainer.attr('role', 'combobox');\n ms.removeFromSelection($(e.currentTarget).data('json'));\n },\n\n /**\n * Triggered when clicking on the small trigger in the right\n * @private\n */\n _onTriggerClick: function () {\n if (\n ms.isDisabled() === false &&\n !(cfg.expandOnFocus === true && _selection.length === cfg.maxSelection)\n ) {\n $(ms).trigger('triggerclick', [ms]);\n if (cfg.expanded === true) {\n ms.collapse();\n } else {\n var curLength = ms.getRawValue().length;\n if (curLength >= cfg.minChars) {\n ms.input.focus();\n ms.expand();\n } else {\n self._updateHelper(cfg.minCharsRenderer.call(this, cfg.minChars - curLength));\n }\n }\n }\n },\n\n /**\n * Triggered when the browser window is resized\n * @private\n */\n _onWindowResized: function () {\n self._renderSelection();\n },\n };\n\n // startup point\n if (element !== null) {\n self._render(element);\n }\n };\n\n $.fn.magicSuggest = function (options) {\n var obj = $(this);\n\n if (obj.size() === 1 && obj.data('magicSuggest')) {\n return obj.data('magicSuggest');\n }\n\n obj.each(function (i) {\n // assume $(this) is an element\n var cntr = $(this);\n\n // Return early if this element already has a plugin instance\n if (cntr.data('magicSuggest')) {\n return;\n }\n\n if (this.nodeName.toLowerCase() === 'select') {\n // rendering from select\n options.data = [];\n options.value = [];\n $.each(this.children, function (index, child) {\n if (child.nodeName && child.nodeName.toLowerCase() === 'option') {\n options.data.push({id: child.value, name: child.text});\n if ($(child).attr('selected')) {\n options.value.push(child.value);\n }\n }\n });\n }\n\n var def = {};\n // set values from DOM container element\n $.each(this.attributes, function (i, att) {\n def[att.name] = att.name === 'value' && att.value !== '' ? JSON.parse(att.value) : att.value;\n });\n\n var field = new MagicSuggest(this, $.extend([], $.fn.magicSuggest.defaults, options, def));\n cntr.data('magicSuggest', field);\n field.container.data('magicSuggest', field);\n });\n\n if (obj.size() === 1) {\n return obj.data('magicSuggest');\n }\n return obj;\n };\n\n $.fn.magicSuggest.defaults = {};\n})(jQuery);\n\n\n","(function () {\n var transplant = {\n $element: null,\n $target: null,\n $order: null,\n $cloneData: null,\n $clonedContainer: null,\n vPort: 'screen-sm',\n\n init: function () {\n var transArray = $('[data-toggle=\"transplant\"]');\n\n transArray.each(function (index) {\n var $this = $(this);\n\n transplant.$element = $this.data('transplant');\n transplant.$target = $($this.data('target'));\n transplant.$direction = $($this.data('direction'));\n transplant.$order = $this.data('transplant-order');\n\n transplant.$remove = $this.data('remove');\n transplant.$targetClass = $this.data('target-class');\n transplant.$classNames = $this.data('class-names');\n\n if (transplant.$direction === 'to' || typeof transplant.$direction === 'undefined') {\n if (transplant.$element === 'self') {\n transplant.$element = $this;\n } else {\n transplant.$element = $this.find(transplant.$element);\n }\n transplant.$cloneData = transplant.$element\n .clone(true, true)\n .removeAttr('data-toggle')\n .attr('data-transplant-order', transplant.$order);\n\n transplant.clone();\n if (transplant.$targetClass) {\n transplant.$target.find('.transplanted-clone').addClass(transplant.$targetClass);\n transplant.$target.find('[data-pb-widget]')?.removeAttr('data-pb-widget');\n }\n if (transplant.$classNames) {\n transplant.$element.addClass(transplant.$classNames);\n }\n if (transplant.$remove === true) {\n transplant.remove();\n }\n } else {\n transplant.$target = $this;\n\n const array = $this.data('target').split(',');\n $.each(array, function (index, item) {\n // go through selectors\n transplant.$element = $(item);\n transplant.$cloneData = transplant.$element\n .clone(true, true)\n .attr('data-transplant-order', transplant.$order);\n transplant.clone();\n\n if (transplant.$targetClass) {\n transplant.$element.addClass(transplant.$targetClass);\n }\n\n if (transplant.$classNames) {\n transplant.$target.find('.transplanted-clone').addClass(transplant.$classNames);\n }\n if (transplant.$remove === true) {\n transplant.remove();\n }\n });\n }\n });\n transplant.order();\n },\n\n clone: function () {\n if (transplant.$element.hasClass('cloned')) return;\n\n if (transplant.$target.find('.transplanted-clone').length <= 0) {\n if (transplant.$target.is('ul')) {\n transplant.$target.append('<li class=\"transplanted-clone\"></li>');\n } else {\n transplant.$target.append('<div class=\"transplanted-clone\"></div>');\n }\n\n transplant.$clonedContainer = transplant.$target.find('.transplanted-clone');\n if (transplant.$cloneData.is('li')) {\n transplant.$clonedContainer.append('<ul class=\"transplanted-clone__ul\"></ul>');\n transplant.$clonedContainer = transplant.$target\n .find('.transplanted-clone__ul')\n .addClass(transplant.$classNames);\n }\n }\n\n transplant.$clonedContainer.append(transplant.$cloneData);\n transplant.$element.addClass('cloned');\n\n transplant.cleanDuplicateID();\n },\n order: function () {\n var clonedItems = transplant.$clonedContainer.children();\n\n clonedItems.sort(function (a, b) {\n return $(a).data('transplant-order') - $(b).data('transplant-order');\n });\n\n transplant.$clonedContainer.html(clonedItems);\n },\n remove: function () {\n if (transplant.$target) {\n transplant.$element.remove();\n } else {\n transplant.$source.remove();\n }\n },\n cleanDuplicateID: function () {\n var id,\n targetFor,\n $controler,\n isMobile = false,\n clonedElement = transplant.$target;\n\n if (!clonedElement || clonedElement.length <= 0 || clonedElement.hasClass('cloned-with-ids')) return;\n\n id = clonedElement.attr('id');\n if (id) {\n clonedElement.attr('id', id + '-cloned');\n }\n clonedElement.find('[id]:not(.cloned-with-ids), [aria-owns]').each(function () {\n var $this = $(this);\n $this.addClass('cloned-with-ids');\n var id = $this.attr('id'),\n ariaOwns = $this.attr('aria-owns');\n\n if (id) {\n $this.attr('id', id + '-cloned');\n }\n if (ariaOwns) {\n $this.attr(\n 'aria-owns',\n $this\n .attr('aria-owns')\n .split(' ')\n .map(id => id + '-cloned')\n .join(' ')\n );\n }\n });\n targetFor = clonedElement.attr('data-db-target-of');\n\n if (targetFor) {\n $controler = $('[data-db-target-for=' + targetFor + ']');\n if (!isMobile) {\n $controler.attr({'aria-controls': targetFor + '-cloned'});\n }\n $(document).on(transplant.vPort + '-on', function () {\n // Waiting for custom event that will be triggered by controller.js to activate responsive effects\n isMobile = true;\n $controler.attr({'aria-controls': targetFor});\n });\n $(document).on(transplant.vPort + '-off', function () {\n // Waiting for custom event that will be triggered by controller.js to deactivate responsive effects\n isMobile = false;\n $controler.attr({'aria-controls': targetFor + '-cloned'});\n });\n }\n },\n };\n UX.transplant = transplant; // add to global namespace\n})();\n","UX.grid = {\n // Deprecated `$screen-xs` as of v3.0.1\n screenXs: '532',\n // Deprecated `$screen-sm` as of v3.0.1\n screenSm: '768',\n // Deprecated `$screen-md` as of v3.0.1\n screenMd: '1024',\n // Deprecated `$screen-md` as of v3.0.1\n screenLg: '1200',\n // Deprecated `$screen-md` as of v3.0.1\n screenXlg: '1920',\n // Small screen / phone\n containerMobile: '500',\n // For `$screen-sm-min` and up\n containerXs: '',\n // Small screen / tablet\n containerTablet: '736',\n // For `$screen-sm-min` and up\n containerSm: '',\n // Medium screen / desktop\n containerDesktop: '960',\n // For `$screen-md-min` and up\n containerMd: '',\n // Large screen / wide desktop\n containerLargeDesktop: '1080',\n // For `$screen-lg-min` and up\n containerLg: '',\n // New article has its own width and requires and additional breakpoint\n articleLg: '1320',\n};\n","(function () {\n let $body = $('body');\n\n let list = {\n expandIcon: 'icon-add_box',\n collapseIcon: 'icon-squared-minus',\n\n init: function () {\n list.on.build();\n list.control();\n },\n control: function () {\n $body.on('click', '.expandable-list__toggle', function (e) {\n e.preventDefault();\n list.on.toggleList($(this));\n });\n },\n on: {\n build: function () {\n let $wrapper = $('.expandable-list');\n\n $wrapper.each(function () {\n let $target = $(this).find('.expandable-list__body');\n $target.hide();\n });\n },\n\n toggleList: function (elem) {\n let $toggle = elem,\n $wrapper = $toggle.closest('.expandable-list'),\n $target = $wrapper.children('.expandable-list__body').toggle();\n list.defineToggleIcons($wrapper);\n\n $wrapper.toggleClass('js--open');\n $toggle.find('i').toggleClass(list.expandIcon + ' ' + list.collapseIcon);\n\n if ($wrapper.hasClass('js--open')) {\n $toggle.attr('aria-expanded', true);\n $target.attr('aria-hidden', false);\n } else {\n $toggle.attr('aria-expanded', false);\n $target.attr('aria-hidden', true);\n }\n },\n closeList: function (elem) {\n let $wrapper = $('.expandable-list');\n list.defineToggleIcons($wrapper);\n $wrapper.removeClass('js--open');\n let $target = $wrapper.children('.expandable-list__body').hide();\n let $toggle = $('.expandable-list__toggle');\n\n $toggle\n .attr('aria-expanded', 'false')\n .find('i')\n .addClass(list.expandIcon)\n .removeClass(list.collapseIcon);\n $target.attr('aria-hidden', true);\n },\n },\n defineToggleIcons($expandableList) {\n if ($expandableList.data('expand-icon') !== undefined && $expandableList.data('expand-icon') !== '') {\n list.expandIcon = $expandableList.data('expand-icon');\n }\n\n if ($expandableList.data('collapse-icon') !== undefined && $expandableList.data('collapse-icon') !== '') {\n list.collapseIcon = $expandableList.data('collapse-icon');\n }\n },\n };\n\n UX.list = list; // add to global namespace\n})();\n","(function () {\n const $body = $('body');\n\n var fieldsCtrl = {\n container: null,\n $wrapper: null,\n $toggle: null,\n $form: null,\n $terms: null,\n $markAll: null,\n maxClone: 2,\n\n init: function () {\n fieldsCtrl.$toggle = $('.reproducible');\n fieldsCtrl.$wrapper = $('.reproducible__wrapper');\n fieldsCtrl.container = '.reproducible__container'; // Support for the legacy emails and phones used in account page\n\n //fieldsCtrl.check.terms();\n fieldsCtrl.control();\n\n const $lastTerm = fieldsCtrl.$wrapper.children('.reproducible').length;\n fieldsCtrl.check.lastClone($lastTerm);\n\n fieldsCtrl.accessibility.init();\n fieldsCtrl.additionalControls();\n },\n accessibility: {\n init: function () {\n this.radioCheckbox();\n if ($('.force--disabled').length === 0) {\n this.selectBox();\n }\n this.buttons.init();\n this.range();\n },\n radioCheckbox: function () {\n const radioCheckboxSelector =\n '.radio--primary, .radio--secondary, .checkbox--primary, .checkbox--secondary';\n $(document)\n .on('mousedown', radioCheckboxSelector, function (event) {\n var $this = $(this);\n $this.attr({tabindex: 0});\n })\n .on('mouseup', radioCheckboxSelector, function (event) {\n const $this = $(this);\n $this.removeAttr('tabindex');\n if ($this.hasClass('withInput')) {\n $this.find('input[type=email], input[type=text]').focus();\n } else {\n $this.find('input[type=radio], input[type=checkbox]').focus();\n }\n });\n },\n selectBox: function () {\n // JCF selectbox\n $(document)\n .on('mousedown', '.jcf-select', function (event) {\n const $this = $(this);\n $this.attr({tabindex: 0});\n $this.siblings('.jcf-hidden').attr('disabled', true);\n $this.focus();\n })\n .on('mouseup', '.jcf-select', function (event) {\n const $this = $(this);\n $this.removeAttr('tabindex');\n $this.siblings('.jcf-hidden').focus();\n $this.siblings('.jcf-hidden').removeAttr('disabled');\n });\n $(document).on('keydown', 'select.jcf-hidden', function (event) {\n if (event.which === 13) {\n event.preventDefault();\n } else if (event.which === 27 && $(this).siblings('.jcf-drop-active').length > 0) {\n event.which = 13;\n $(this).trigger(event);\n }\n });\n\n // Hide on blur\n // note it doesn't work over document selector, event is not fired\n $('select.jcf-hidden').on('blur', function (event) {\n const $this = $(this);\n\n // if key was pressed, than we need to operate with related target, not original target\n if (event.relatedTarget !== null) {\n event.target = event.relatedTarget;\n }\n\n const instance = window.jcf.getInstance($this[0]).instance;\n\n const target = $(event.target),\n focusInsideSelect =\n target.filter(instance.realElement).length ||\n target.closest(instance.fakeElement).length ||\n target.closest(instance.dropdown).length;\n\n if (!focusInsideSelect) {\n instance.hideDropdown();\n }\n });\n },\n buttons: {\n init: function () {\n this.prepare();\n // Enable Screen reader standard behavior on space and enter for [role=buttons] to be consistent with normal button element\n $(document).on('keydown', 'a[role=button]', function (event) {\n if (event.which === 32 || event.which === 13) {\n event.preventDefault();\n $(this).click();\n }\n });\n },\n prepare: function () {\n // Remove HREF=# on a[role=button] as screen-reader would read whole page URL otherwise on focus\n $('a[role=button]').each(function () {\n const $this = $(this);\n let href = $this.attr('href');\n href = href === '#' ? null : href;\n const target = $this.data('target');\n $this.attr({'data-target': target || href, tabindex: 0});\n if (!href) {\n $this.removeAttr('href');\n }\n });\n },\n },\n range: function () {\n // range slider accessible by keyboard even if it's in slideshow, we want to catch key arrows and stop event propagation\n $('input[type=\"range\"]')\n .on('keydown', function (event) {\n const keyCodes = {\n DOWN: 40,\n END: 35,\n HOME: 36,\n LEFT: 37,\n RIGHT: 39,\n UP: 38,\n };\n\n // do nothing for not allowed keys\n if (!(Object.values(keyCodes).indexOf(event.keyCode) > -1)) return;\n\n event.stopPropagation();\n })\n .on('mousedown', function (event) {\n // and catch dragging\n event.stopPropagation();\n });\n },\n },\n control: function () {\n $body.on('keypress click', '[class*=\"-ctrl-field\"]', function (e) {\n if (e.which === 13 || e.type === 'click') {\n e.preventDefault();\n fieldsCtrl.$wrapper = $(this).closest('.reproducible__wrapper');\n fieldsCtrl.$toggle = $(this).closest('.reproducible');\n\n fieldsCtrl.$terms = $(this).closest('.reproducible__wrapper').find('.reproducible');\n\n // LIT-161778 Support for the legacy emails and phones used in account page\n if ($(fieldsCtrl.container).length === 0) {\n if ($(this).is('.add-ctrl-field')) {\n if (fieldsCtrl.$terms.length < fieldsCtrl.maxClone + 1) {\n fieldsCtrl.on.clone($(this));\n }\n } else {\n if (fieldsCtrl.$terms.length > 1) {\n fieldsCtrl.on.remove($(this));\n }\n }\n }\n }\n });\n\n $body.on('click', '[name=\"markall\"]', function (e) {\n fieldsCtrl.on.markAll($(this));\n });\n },\n additionalControls: function () {},\n on: {\n clone: function ($this) {\n window.jcf.destroy($('.reproducible .jcf'));\n\n fieldsCtrl.$toggle.clone(true, true).find('input').val('').end().appendTo(fieldsCtrl.$wrapper);\n\n $('.reproducible .jcf').each(function () {\n window.jcf.replace($(this));\n });\n\n fieldsCtrl.check.terms($this);\n\n const $lastTerm = fieldsCtrl.$wrapper.children('.reproducible').length;\n fieldsCtrl.check.lastClone($lastTerm);\n },\n remove: function ($this) {\n fieldsCtrl.$toggle.remove();\n fieldsCtrl.check.terms($this);\n const $lastTerm = fieldsCtrl.$wrapper.children('.reproducible').length;\n fieldsCtrl.check.lastClone($lastTerm);\n },\n\n markAll: function ($el) {\n fieldsCtrl.$markAll = $el.closest('.markAll');\n\n if ($el.prop('checked')) {\n fieldsCtrl.$markAll.find('[type=\"checkbox\"]').prop('checked', true);\n } else {\n fieldsCtrl.$markAll.find('[type=\"checkbox\"]').prop('checked', false);\n }\n },\n },\n check: {\n terms: function ($this) {\n var before, after;\n const nameInput = $this.closest('.reproducible').find('input').attr('name');\n if (nameInput) {\n before = nameInput.split('[');\n after = before[1].split(']');\n }\n\n // Support for the legacy emails and phones used in account page\n if ($(fieldsCtrl.container).length === 0) {\n fieldsCtrl.$terms = $('.reproducible');\n } else {\n fieldsCtrl.$terms = $this.parents(fieldsCtrl.container).find('.reproducible');\n }\n let copy_from_template = 0;\n fieldsCtrl.$terms.each(function (index) {\n const $el = $(this);\n\n if ($el.parents('.template').length) {\n copy_from_template = 1;\n } else {\n const number = index - copy_from_template;\n $(this)\n .find('input')\n .attr('name', before[0] + '[' + number + ']' + after[1]);\n }\n });\n },\n lastClone: function ($this) {\n if ($this === fieldsCtrl.maxClone) {\n fieldsCtrl.$wrapper\n .children('.reproducible:last-child')\n .children('.add-ctrl-field')\n .addClass('hidden');\n } else {\n fieldsCtrl.$wrapper\n .children('.reproducible:last-child')\n .children('.add-ctrl-field')\n .removeClass('hidden');\n }\n },\n },\n };\n\n UX.fieldsCtrl = fieldsCtrl; // add to global namespace\n})();\n","(function () {\n var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\n\n if (iOS) {\n $('body').addClass('iOS');\n }\n})();\n","(function () {\n $(window).on('load', function (e) {\n if (window.location.hash === '#citation') {\n $('.tab__citation-search a').click();\n }\n });\n})();\n","/*!\n * JavaScript Custom Forms\n *\n * Copyright 2014-2015 PSD2HTML - http://psd2html.com/jcf\n * Released under the MIT license (LICENSE.txt)\n *\n * Version: 1.2.3\n */\n/*eslint-disable*/\n(function (root, factory) {\n 'use strict';\n /*if (typeof define === 'function' && define.amd) {\n\t\tdefine(['jquery'], factory);\n\t} else if (typeof exports === 'object') {\n\t\tmodule.exports = factory(require('jquery'));\n\t} else {\n\t\troot.jcf = factory(jQuery);\n\t}*/\n root.jcf = factory(jQuery);\n})(this, function ($) {\n 'use strict';\n\n // define version\n var version = '1.2.3';\n\n // private variables\n var customInstances = [];\n\n // default global options\n var commonOptions = {\n optionsKey: 'jcf',\n dataKey: 'jcf-instance',\n rtlClass: 'jcf-rtl',\n focusClass: 'jcf-focus',\n pressedClass: 'jcf-pressed',\n disabledClass: 'jcf-disabled',\n hiddenClass: 'jcf-hidden',\n resetAppearanceClass: 'jcf-reset-appearance',\n unselectableClass: 'jcf-unselectable',\n };\n\n // detect device type\n var isTouchDevice = 'ontouchstart' in window || (window.DocumentTouch && document instanceof window.DocumentTouch),\n isWinPhoneDevice = /Windows Phone/.test(navigator.userAgent);\n commonOptions.isMobileDevice = !!(isTouchDevice || isWinPhoneDevice);\n\n // create global stylesheet if custom forms are used\n var createStyleSheet = function () {\n var styleTag = $('<style>').appendTo('head'),\n styleSheet = styleTag.prop('sheet') || styleTag.prop('styleSheet');\n\n // crossbrowser style handling\n var addCSSRule = function (selector, rules, index) {\n index = index || 0;\n if (styleSheet.insertRule) {\n styleSheet.insertRule(selector + '{' + rules + '}', index);\n } else {\n styleSheet.addRule(selector, rules, index);\n }\n };\n\n // add special rules\n addCSSRule(\n '.' + commonOptions.hiddenClass,\n 'position:absolute !important;left:-9999px !important;height:1px !important;width:1px !important;margin:0 !important;border-width:0 !important;-webkit-appearance:none;-moz-appearance:none;appearance:none'\n );\n addCSSRule(\n '.' + commonOptions.rtlClass + ' .' + commonOptions.hiddenClass,\n 'right:-9999px !important; left: auto !important'\n );\n addCSSRule(\n '.' + commonOptions.unselectableClass,\n '-webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0,0,0,0);'\n );\n addCSSRule(\n '.' + commonOptions.resetAppearanceClass,\n 'background: none; border: none; -webkit-appearance: none; appearance: none; opacity: 0; filter: alpha(opacity=0);'\n );\n\n // detect rtl pages\n var html = $('html'),\n body = $('body');\n if (html.css('direction') === 'rtl' || body.css('direction') === 'rtl') {\n html.addClass(commonOptions.rtlClass);\n }\n\n // handle form reset event\n html.on('reset', function () {\n setTimeout(function () {\n api.refreshAll();\n }, 0);\n });\n\n // mark stylesheet as created\n commonOptions.styleSheetCreated = true;\n };\n\n // simplified pointer events handler\n (function () {\n var pointerEventsSupported = navigator.pointerEnabled || navigator.msPointerEnabled,\n touchEventsSupported =\n 'ontouchstart' in window || (window.DocumentTouch && document instanceof window.DocumentTouch),\n eventList,\n eventMap = {},\n eventPrefix = 'jcf-';\n\n // detect events to attach\n if (pointerEventsSupported) {\n eventList = {\n pointerover: navigator.pointerEnabled ? 'pointerover' : 'MSPointerOver',\n pointerdown: navigator.pointerEnabled ? 'pointerdown' : 'MSPointerDown',\n pointermove: navigator.pointerEnabled ? 'pointermove' : 'MSPointerMove',\n pointerup: navigator.pointerEnabled ? 'pointerup' : 'MSPointerUp',\n };\n } else {\n eventList = {\n pointerover: 'mouseover',\n pointerdown: 'mousedown' + (touchEventsSupported ? ' touchstart' : ''),\n pointermove: 'mousemove' + (touchEventsSupported ? ' touchmove' : ''),\n pointerup: 'mouseup' + (touchEventsSupported ? ' touchend' : ''),\n };\n }\n\n // create event map\n $.each(eventList, function (targetEventName, fakeEventList) {\n $.each(fakeEventList.split(' '), function (index, fakeEventName) {\n eventMap[fakeEventName] = targetEventName;\n });\n });\n\n // jQuery event hooks\n $.each(eventList, function (eventName, eventHandlers) {\n eventHandlers = eventHandlers.split(' ');\n $.event.special[eventPrefix + eventName] = {\n setup: function () {\n var self = this;\n $.each(eventHandlers, function (index, fallbackEvent) {\n if (self.addEventListener) self.addEventListener(fallbackEvent, fixEvent, false);\n else self['on' + fallbackEvent] = fixEvent;\n });\n },\n teardown: function () {\n var self = this;\n $.each(eventHandlers, function (index, fallbackEvent) {\n if (self.addEventListener) self.removeEventListener(fallbackEvent, fixEvent, false);\n else self['on' + fallbackEvent] = null;\n });\n },\n };\n });\n\n // check that mouse event are not simulated by mobile browsers\n var lastTouch = null;\n var mouseEventSimulated = function (e) {\n var dx = Math.abs(e.pageX - lastTouch.x),\n dy = Math.abs(e.pageY - lastTouch.y),\n rangeDistance = 25;\n\n if (dx <= rangeDistance && dy <= rangeDistance) {\n return true;\n }\n };\n\n // normalize event\n var fixEvent = function (e) {\n var origEvent = e || window.event,\n touchEventData = null,\n targetEventName = eventMap[origEvent.type];\n\n e = $.event.fix(origEvent);\n e.type = eventPrefix + targetEventName;\n\n if (origEvent.pointerType) {\n switch (origEvent.pointerType) {\n case 2:\n e.pointerType = 'touch';\n break;\n case 3:\n e.pointerType = 'pen';\n break;\n case 4:\n e.pointerType = 'mouse';\n break;\n default:\n e.pointerType = origEvent.pointerType;\n }\n } else {\n e.pointerType = origEvent.type.substr(0, 5); // \"mouse\" or \"touch\" word length\n }\n\n if (!e.pageX && !e.pageY) {\n touchEventData = origEvent.changedTouches ? origEvent.changedTouches[0] : origEvent;\n e.pageX = touchEventData.pageX;\n e.pageY = touchEventData.pageY;\n }\n\n if (origEvent.type === 'touchend') {\n lastTouch = {x: e.pageX, y: e.pageY};\n }\n if (e.pointerType === 'mouse' && lastTouch && mouseEventSimulated(e)) {\n return;\n } else {\n return ($.event.dispatch || $.event.handle).call(this, e);\n }\n };\n })();\n\n // custom mousewheel/trackpad handler\n (function () {\n var wheelEvents = (\n 'onwheel' in document || document.documentMode >= 9 ? 'wheel' : 'mousewheel DOMMouseScroll'\n ).split(' '),\n shimEventName = 'jcf-mousewheel';\n\n $.event.special[shimEventName] = {\n setup: function () {\n var self = this;\n $.each(wheelEvents, function (index, fallbackEvent) {\n if (self.addEventListener) self.addEventListener(fallbackEvent, fixEvent, false);\n else self['on' + fallbackEvent] = fixEvent;\n });\n },\n teardown: function () {\n var self = this;\n $.each(wheelEvents, function (index, fallbackEvent) {\n if (self.addEventListener) self.removeEventListener(fallbackEvent, fixEvent, false);\n else self['on' + fallbackEvent] = null;\n });\n },\n };\n\n var fixEvent = function (e) {\n var origEvent = e || window.event;\n e = $.event.fix(origEvent);\n e.type = shimEventName;\n\n // old wheel events handler\n if ('detail' in origEvent) {\n e.deltaY = -origEvent.detail;\n }\n if ('wheelDelta' in origEvent) {\n e.deltaY = -origEvent.wheelDelta;\n }\n if ('wheelDeltaY' in origEvent) {\n e.deltaY = -origEvent.wheelDeltaY;\n }\n if ('wheelDeltaX' in origEvent) {\n e.deltaX = -origEvent.wheelDeltaX;\n }\n\n // modern wheel event handler\n if ('deltaY' in origEvent) {\n e.deltaY = origEvent.deltaY;\n }\n if ('deltaX' in origEvent) {\n e.deltaX = origEvent.deltaX;\n }\n\n // handle deltaMode for mouse wheel\n e.delta = e.deltaY || e.deltaX;\n if (origEvent.deltaMode === 1) {\n var lineHeight = 16;\n e.delta *= lineHeight;\n e.deltaY *= lineHeight;\n e.deltaX *= lineHeight;\n }\n\n return ($.event.dispatch || $.event.handle).call(this, e);\n };\n })();\n\n // extra module methods\n var moduleMixin = {\n // provide function for firing native events\n fireNativeEvent: function (elements, eventName) {\n $(elements).each(function () {\n var element = this,\n eventObject;\n if (element.dispatchEvent) {\n eventObject = document.createEvent('HTMLEvents');\n eventObject.initEvent(eventName, true, true);\n element.dispatchEvent(eventObject);\n } else if (document.createEventObject) {\n eventObject = document.createEventObject();\n eventObject.target = element;\n element.fireEvent('on' + eventName, eventObject);\n }\n });\n },\n // bind event handlers for module instance (functions beggining with \"on\")\n bindHandlers: function () {\n var self = this;\n $.each(self, function (propName, propValue) {\n if (propName.indexOf('on') === 0 && $.isFunction(propValue)) {\n // dont use $.proxy here because it doesn't create unique handler\n self[propName] = function () {\n return propValue.apply(self, arguments);\n };\n }\n });\n },\n };\n\n // public API\n var api = {\n version: version,\n modules: {},\n getOptions: function () {\n return $.extend({}, commonOptions);\n },\n setOptions: function (moduleName, moduleOptions) {\n if (arguments.length > 1) {\n // set module options\n if (this.modules[moduleName]) {\n $.extend(this.modules[moduleName].prototype.options, moduleOptions);\n }\n } else {\n // set common options\n $.extend(commonOptions, moduleName);\n }\n },\n addModule: function (proto) {\n // proto is factory function\n if ($.isFunction(proto)) {\n proto = proto($, window);\n }\n\n // add module to list\n var Module = function (options) {\n // save instance to collection\n if (!options.element.data(commonOptions.dataKey)) {\n options.element.data(commonOptions.dataKey, this);\n }\n customInstances.push(this);\n\n // save options\n this.options = $.extend({}, commonOptions, this.options, getInlineOptions(options.element), options);\n\n // bind event handlers to instance\n this.bindHandlers();\n\n // call constructor\n this.init.apply(this, arguments);\n };\n\n // parse options from HTML attribute\n var getInlineOptions = function (element) {\n var dataOptions = element.data(commonOptions.optionsKey),\n attrOptions = element.attr(commonOptions.optionsKey);\n\n if (dataOptions) {\n return dataOptions;\n } else if (attrOptions) {\n try {\n return $.parseJSON(attrOptions);\n } catch (e) {\n // ignore invalid attributes\n }\n }\n };\n\n // set proto as prototype for new module\n Module.prototype = proto;\n\n // add mixin methods to module proto\n $.extend(proto, moduleMixin);\n if (proto.plugins) {\n $.each(proto.plugins, function (pluginName, plugin) {\n $.extend(plugin.prototype, moduleMixin);\n });\n }\n\n // override destroy method\n var originalDestroy = Module.prototype.destroy;\n Module.prototype.destroy = function () {\n this.options.element.removeData(this.options.dataKey);\n\n for (var i = customInstances.length - 1; i >= 0; i--) {\n if (customInstances[i] === this) {\n customInstances.splice(i, 1);\n break;\n }\n }\n\n if (originalDestroy) {\n originalDestroy.apply(this, arguments);\n }\n };\n\n // save module to list\n this.modules[proto.name] = Module;\n },\n getInstance: function (element) {\n return $(element).data(commonOptions.dataKey);\n },\n replace: function (elements, moduleName, customOptions) {\n var self = this,\n instance;\n\n if (!commonOptions.styleSheetCreated) {\n createStyleSheet();\n }\n\n $(elements).each(function () {\n var moduleOptions,\n element = $(this);\n\n instance = element.data(commonOptions.dataKey);\n if (instance) {\n instance.refresh();\n } else {\n if (!moduleName) {\n $.each(self.modules, function (currentModuleName, module) {\n if (module.prototype.matchElement.call(module.prototype, element)) {\n moduleName = currentModuleName;\n return false;\n }\n });\n }\n if (moduleName) {\n moduleOptions = $.extend({element: element}, customOptions);\n instance = new self.modules[moduleName](moduleOptions);\n }\n }\n });\n return instance;\n },\n refresh: function (elements) {\n $(elements).each(function () {\n var instance = $(this).data(commonOptions.dataKey);\n if (instance) {\n instance.refresh();\n }\n });\n },\n destroy: function (elements) {\n $(elements).each(function () {\n var instance = $(this).data(commonOptions.dataKey);\n if (instance) {\n instance.destroy();\n }\n });\n },\n replaceAll: function (context) {\n var self = this;\n $.each(this.modules, function (moduleName, module) {\n $(module.prototype.selector, context).each(function () {\n if (this.className.indexOf('jcf-ignore') < 0) {\n self.replace(this, moduleName);\n }\n });\n });\n },\n refreshAll: function (context) {\n if (context) {\n $.each(this.modules, function (moduleName, module) {\n $(module.prototype.selector, context).each(function () {\n var instance = $(this).data(commonOptions.dataKey);\n if (instance) {\n instance.refresh();\n }\n });\n });\n } else {\n for (var i = customInstances.length - 1; i >= 0; i--) {\n customInstances[i].refresh();\n }\n }\n },\n destroyAll: function (context) {\n if (context) {\n $.each(this.modules, function (moduleName, module) {\n $(module.prototype.selector, context).each(function (index, element) {\n var instance = $(element).data(commonOptions.dataKey);\n if (instance) {\n instance.destroy();\n }\n });\n });\n } else {\n while (customInstances.length) {\n customInstances[0].destroy();\n }\n }\n },\n };\n\n // we need to make JCF available globally if we're in AMD environment\n if (typeof define === 'function' && define.amd) {\n window.jcf = api;\n }\n\n return api;\n});\n","/*!\n * JavaScript Custom Forms : File Module\n *\n * Copyright 2014-2015 PSD2HTML - http://psd2html.com/jcf\n * Released under the MIT license (LICENSE.txt)\n *\n * Version: 1.2.3\n */\n/*eslint-disable*/\n(function (jcf) {\n jcf.addModule(function ($) {\n 'use strict';\n\n return {\n name: 'File',\n selector: 'input[type=\"file\"]',\n options: {\n fakeStructure:\n '<span class=\"jcf-file\"><span class=\"jcf-fake-input\"></span><span class=\"jcf-upload-button\"><span class=\"jcf-button-content\"></span></span></span>',\n buttonText: 'Choose file',\n placeholderText: 'No file chosen',\n realElementClass: 'jcf-real-element',\n extensionPrefixClass: 'jcf-extension-',\n selectedFileBlock: '.jcf-fake-input',\n buttonTextBlock: '.jcf-button-content',\n },\n matchElement: function (element) {\n return element.is('input[type=\"file\"]');\n },\n init: function () {\n this.initStructure();\n this.attachEvents();\n this.refresh();\n },\n initStructure: function () {\n this.doc = $(document);\n this.realElement = $(this.options.element).addClass(this.options.realElementClass);\n this.fakeElement = $(this.options.fakeStructure).insertBefore(this.realElement);\n this.fileNameBlock = this.fakeElement.find(this.options.selectedFileBlock);\n this.buttonTextBlock = this.fakeElement\n .find(this.options.buttonTextBlock)\n .text(this.options.buttonText);\n\n this.realElement.appendTo(this.fakeElement).css({\n position: 'absolute',\n opacity: 0,\n });\n },\n attachEvents: function () {\n this.realElement.on({\n 'jcf-pointerdown': this.onPress,\n change: this.onChange,\n focus: this.onFocus,\n });\n },\n onChange: function () {\n this.refresh();\n },\n onFocus: function () {\n this.fakeElement.addClass(this.options.focusClass);\n this.realElement.on('blur', this.onBlur);\n },\n onBlur: function () {\n this.fakeElement.removeClass(this.options.focusClass);\n this.realElement.off('blur', this.onBlur);\n },\n onPress: function () {\n this.fakeElement.addClass(this.options.pressedClass);\n this.doc.on('jcf-pointerup', this.onRelease);\n },\n onRelease: function () {\n this.fakeElement.removeClass(this.options.pressedClass);\n this.doc.off('jcf-pointerup', this.onRelease);\n },\n getFileName: function () {\n var resultFileName = '',\n files = this.realElement.prop('files');\n\n if (files && files.length) {\n $.each(files, function (index, file) {\n resultFileName += (index > 0 ? ', ' : '') + file.name;\n });\n } else {\n resultFileName = this.realElement.val().replace(/^[\\s\\S]*(?:\\\\|\\/)([\\s\\S^\\\\\\/]*)$/g, '$1');\n }\n\n return resultFileName;\n },\n getFileExtension: function () {\n var fileName = this.realElement.val();\n return fileName.lastIndexOf('.') < 0\n ? ''\n : fileName.substring(fileName.lastIndexOf('.') + 1).toLowerCase();\n },\n updateExtensionClass: function () {\n var currentExtension = this.getFileExtension(),\n currentClassList = this.fakeElement.prop('className'),\n cleanedClassList = currentClassList.replace(\n new RegExp('(\\\\s|^)' + this.options.extensionPrefixClass + '[^ ]+', 'gi'),\n ''\n );\n\n this.fakeElement.prop('className', cleanedClassList);\n if (currentExtension) {\n this.fakeElement.addClass(this.options.extensionPrefixClass + currentExtension);\n }\n },\n refresh: function () {\n var selectedFileName = this.getFileName() || this.options.placeholderText;\n this.fakeElement.toggleClass(this.options.disabledClass, this.realElement.is(':disabled'));\n this.fileNameBlock.text(selectedFileName);\n this.updateExtensionClass();\n },\n destroy: function () {\n // reset styles and restore element position\n this.realElement.insertBefore(this.fakeElement).removeClass(this.options.realElementClass).css({\n position: '',\n opacity: '',\n });\n this.fakeElement.remove();\n\n // remove event handlers\n this.realElement.off({\n 'jcf-pointerdown': this.onPress,\n change: this.onChange,\n focus: this.onFocus,\n blur: this.onBlur,\n });\n this.doc.off('jcf-pointerup', this.onRelease);\n },\n };\n });\n})(jcf);\n","/*eslint-disable*/\n/*!\n * JavaScript Custom Forms : Checkbox Module\n *\n * Copyright 2014-2015 PSD2HTML - http://psd2html.com/jcf\n * Released under the MIT license (LICENSE.txt)\n *\n * Version: 1.2.3\n */\n\n(function (jcf) {\n jcf.addModule(function ($) {\n 'use strict';\n\n return {\n name: 'Checkbox',\n selector: 'input[type=\"checkbox\"]',\n options: {\n wrapNative: true,\n checkedClass: 'jcf-checked',\n uncheckedClass: 'jcf-unchecked',\n labelActiveClass: 'jcf-label-active',\n fakeStructure: '<span class=\"jcf-checkbox\"><span></span></span>',\n },\n matchElement: function (element) {\n return element.is(':checkbox');\n },\n init: function () {\n this.initStructure();\n this.attachEvents();\n this.refresh();\n },\n initStructure: function () {\n // prepare structure\n this.doc = $(document);\n this.realElement = $(this.options.element);\n this.fakeElement = $(this.options.fakeStructure).insertAfter(this.realElement);\n this.labelElement = this.getLabelFor();\n\n if (this.options.wrapNative) {\n // wrap native checkbox inside fake block\n this.realElement.appendTo(this.fakeElement).css({\n position: 'absolute',\n height: '100%',\n width: '100%',\n opacity: 0,\n margin: 0,\n });\n } else {\n // just hide native checkbox\n this.realElement.addClass(this.options.hiddenClass);\n }\n },\n attachEvents: function () {\n // add event handlers\n this.realElement.on({\n focus: this.onFocus,\n click: this.onRealClick,\n });\n this.fakeElement.on('click', this.onFakeClick);\n this.fakeElement.on('jcf-pointerdown', this.onPress);\n },\n onRealClick: function (e) {\n // just redraw fake element (setTimeout handles click that might be prevented)\n var self = this;\n this.savedEventObject = e;\n setTimeout(function () {\n self.refresh();\n }, 0);\n },\n onFakeClick: function (e) {\n // skip event if clicked on real element inside wrapper\n if (this.options.wrapNative && this.realElement.is(e.target)) {\n return;\n }\n\n // toggle checked class\n if (!this.realElement.is(':disabled')) {\n delete this.savedEventObject;\n this.stateChecked = this.realElement.prop('checked');\n this.realElement.prop('checked', !this.stateChecked);\n this.fireNativeEvent(this.realElement, 'click');\n if (this.savedEventObject && this.savedEventObject.isDefaultPrevented()) {\n this.realElement.prop('checked', this.stateChecked);\n } else {\n this.fireNativeEvent(this.realElement, 'change');\n }\n delete this.savedEventObject;\n }\n },\n onFocus: function () {\n if (!this.pressedFlag || !this.focusedFlag) {\n this.focusedFlag = true;\n this.fakeElement.addClass(this.options.focusClass);\n this.realElement.on('blur', this.onBlur);\n }\n },\n onBlur: function () {\n if (!this.pressedFlag) {\n this.focusedFlag = false;\n this.fakeElement.removeClass(this.options.focusClass);\n this.realElement.off('blur', this.onBlur);\n }\n },\n onPress: function (e) {\n if (!this.focusedFlag && e.pointerType === 'mouse') {\n this.realElement.focus();\n }\n this.pressedFlag = true;\n this.fakeElement.addClass(this.options.pressedClass);\n this.doc.on('jcf-pointerup', this.onRelease);\n },\n onRelease: function (e) {\n if (this.focusedFlag && e.pointerType === 'mouse') {\n this.realElement.focus();\n }\n this.pressedFlag = false;\n this.fakeElement.removeClass(this.options.pressedClass);\n this.doc.off('jcf-pointerup', this.onRelease);\n },\n getLabelFor: function () {\n var parentLabel = this.realElement.closest('label'),\n elementId = this.realElement.prop('id');\n\n if (!parentLabel.length && elementId) {\n parentLabel = $('label[for=\"' + elementId + '\"]');\n }\n return parentLabel.length ? parentLabel : null;\n },\n refresh: function () {\n // redraw custom checkbox\n var isChecked = this.realElement.is(':checked'),\n isDisabled = this.realElement.is(':disabled');\n\n this.fakeElement\n .toggleClass(this.options.checkedClass, isChecked)\n .toggleClass(this.options.uncheckedClass, !isChecked)\n .toggleClass(this.options.disabledClass, isDisabled);\n\n if (this.labelElement) {\n this.labelElement.toggleClass(this.options.labelActiveClass, isChecked);\n }\n },\n destroy: function () {\n // restore structure\n if (this.options.wrapNative) {\n this.realElement.insertBefore(this.fakeElement).css({\n position: '',\n width: '',\n height: '',\n opacity: '',\n margin: '',\n });\n } else {\n this.realElement.removeClass(this.options.hiddenClass);\n }\n\n // removing element will also remove its event handlers\n this.fakeElement.off('jcf-pointerdown', this.onPress);\n this.fakeElement.remove();\n\n // remove other event handlers\n this.doc.off('jcf-pointerup', this.onRelease);\n this.realElement.off({\n focus: this.onFocus,\n click: this.onRealClick,\n });\n },\n };\n });\n})(jcf);\n","/*!\n * JavaScript Custom Forms : Radio Module\n *\n * Copyright 2014-2015 PSD2HTML - http://psd2html.com/jcf\n * Released under the MIT license (LICENSE.txt)\n *\n * Version: 1.2.3\n */\n/*eslint-disable*/\n(function (jcf) {\n jcf.addModule(function ($) {\n 'use strict';\n\n return {\n name: 'Radio',\n selector: 'input[type=\"radio\"]',\n options: {\n wrapNative: true,\n checkedClass: 'jcf-checked',\n uncheckedClass: 'jcf-unchecked',\n labelActiveClass: 'jcf-label-active',\n fakeStructure: '<span class=\"jcf-radio\"><span></span></span>',\n },\n matchElement: function (element) {\n return element.is(':radio');\n },\n init: function () {\n this.initStructure();\n this.attachEvents();\n this.refresh();\n },\n initStructure: function () {\n // prepare structure\n this.doc = $(document);\n this.realElement = $(this.options.element);\n this.fakeElement = $(this.options.fakeStructure).insertAfter(this.realElement);\n this.labelElement = this.getLabelFor();\n\n if (this.options.wrapNative) {\n // wrap native radio inside fake block\n this.realElement.prependTo(this.fakeElement).css({\n position: 'absolute',\n opacity: 0,\n });\n } else {\n // just hide native radio\n this.realElement.addClass(this.options.hiddenClass);\n }\n },\n attachEvents: function () {\n // add event handlers\n this.realElement.on({\n focus: this.onFocus,\n click: this.onRealClick,\n });\n this.fakeElement.on('click', this.onFakeClick);\n this.fakeElement.on('jcf-pointerdown', this.onPress);\n },\n onRealClick: function (e) {\n // redraw current radio and its group (setTimeout handles click that might be prevented)\n var self = this;\n this.savedEventObject = e;\n setTimeout(function () {\n self.refreshRadioGroup();\n }, 0);\n },\n onFakeClick: function (e) {\n // skip event if clicked on real element inside wrapper\n if (this.options.wrapNative && this.realElement.is(e.target)) {\n return;\n }\n\n // toggle checked class\n if (!this.realElement.is(':disabled')) {\n delete this.savedEventObject;\n this.currentActiveRadio = this.getCurrentActiveRadio();\n this.stateChecked = this.realElement.prop('checked');\n this.realElement.prop('checked', true);\n this.fireNativeEvent(this.realElement, 'click');\n if (this.savedEventObject && this.savedEventObject.isDefaultPrevented()) {\n this.realElement.prop('checked', this.stateChecked);\n this.currentActiveRadio.prop('checked', true);\n } else {\n this.fireNativeEvent(this.realElement, 'change');\n }\n delete this.savedEventObject;\n }\n },\n onFocus: function () {\n if (!this.pressedFlag || !this.focusedFlag) {\n this.focusedFlag = true;\n this.fakeElement.addClass(this.options.focusClass);\n this.realElement.on('blur', this.onBlur);\n }\n },\n onBlur: function () {\n if (!this.pressedFlag) {\n this.focusedFlag = false;\n this.fakeElement.removeClass(this.options.focusClass);\n this.realElement.off('blur', this.onBlur);\n }\n },\n onPress: function (e) {\n if (!this.focusedFlag && e.pointerType === 'mouse') {\n this.realElement.focus();\n }\n this.pressedFlag = true;\n this.fakeElement.addClass(this.options.pressedClass);\n this.doc.on('jcf-pointerup', this.onRelease);\n },\n onRelease: function (e) {\n if (this.focusedFlag && e.pointerType === 'mouse') {\n this.realElement.focus();\n }\n this.pressedFlag = false;\n this.fakeElement.removeClass(this.options.pressedClass);\n this.doc.off('jcf-pointerup', this.onRelease);\n },\n getCurrentActiveRadio: function () {\n return this.getRadioGroup(this.realElement).filter(':checked');\n },\n getRadioGroup: function (radio) {\n // find radio group for specified radio button\n var name = radio.attr('name'),\n parentForm = radio.parents('form');\n\n if (name) {\n if (parentForm.length) {\n return parentForm.find('input[name=\"' + name + '\"]');\n } else {\n return $('input[name=\"' + name + '\"]:not(form input)');\n }\n } else {\n return radio;\n }\n },\n getLabelFor: function () {\n var parentLabel = this.realElement.closest('label'),\n elementId = this.realElement.prop('id');\n\n if (!parentLabel.length && elementId) {\n parentLabel = $('label[for=\"' + elementId + '\"]');\n }\n return parentLabel.length ? parentLabel : null;\n },\n refreshRadioGroup: function () {\n // redraw current radio and its group\n this.getRadioGroup(this.realElement).each(function () {\n jcf.refresh(this);\n });\n },\n refresh: function () {\n // redraw current radio button\n var isChecked = this.realElement.is(':checked'),\n isDisabled = this.realElement.is(':disabled');\n\n this.fakeElement\n .toggleClass(this.options.checkedClass, isChecked)\n .toggleClass(this.options.uncheckedClass, !isChecked)\n .toggleClass(this.options.disabledClass, isDisabled);\n\n if (this.labelElement) {\n this.labelElement.toggleClass(this.options.labelActiveClass, isChecked);\n }\n },\n destroy: function () {\n // restore structure\n if (this.options.wrapNative) {\n this.realElement.insertBefore(this.fakeElement).css({\n position: '',\n width: '',\n height: '',\n opacity: '',\n margin: '',\n });\n } else {\n this.realElement.removeClass(this.options.hiddenClass);\n }\n\n // removing element will also remove its event handlers\n this.fakeElement.off('jcf-pointerdown', this.onPress);\n this.fakeElement.remove();\n\n // remove other event handlers\n this.doc.off('jcf-pointerup', this.onRelease);\n this.realElement.off({\n blur: this.onBlur,\n focus: this.onFocus,\n click: this.onRealClick,\n });\n },\n };\n });\n})(jcf);\n","/*!\n * JavaScript Custom Forms : Range Module\n *\n * Copyright 2014-2015 PSD2HTML - http://psd2html.com/jcf\n * Released under the MIT license (LICENSE.txt)\n *\n * Version: 1.2.3\n */\n/*eslint-disable*/\n(function (jcf) {\n jcf.addModule(function ($) {\n 'use strict';\n\n return {\n name: 'Range',\n selector: 'input[type=\"range\"]',\n options: {\n realElementClass: 'jcf-real-element',\n fakeStructure:\n '<span class=\"jcf-range\"><span class=\"jcf-range-wrapper\"><span class=\"jcf-range-track\"><span class=\"jcf-range-handle\"></span></span></span></span>',\n dataListMark: '<span class=\"jcf-range-mark\"></span>',\n rangeDisplayWrapper: '<span class=\"jcf-range-display-wrapper\"></span>',\n rangeDisplay: '<span class=\"jcf-range-display\"></span>',\n handleSelector: '.jcf-range-handle',\n trackSelector: '.jcf-range-track',\n activeHandleClass: 'jcf-active-handle',\n verticalClass: 'jcf-vertical',\n orientation: 'horizontal',\n range: false, // or \"min\", \"max\", \"all\"\n dragHandleCenter: true,\n snapToMarks: true,\n snapRadius: 5,\n minRange: 0,\n },\n matchElement: function (element) {\n return element.is(this.selector);\n },\n init: function () {\n this.initStructure();\n this.attachEvents();\n this.refresh();\n },\n initStructure: function () {\n this.page = $('html');\n this.realElement = $(this.options.element).addClass(this.options.hiddenClass);\n this.fakeElement = $(this.options.fakeStructure)\n .insertBefore(this.realElement)\n .prepend(this.realElement);\n this.track = this.fakeElement.find(this.options.trackSelector);\n this.trackHolder = this.track.parent();\n this.handle = this.fakeElement.find(this.options.handleSelector);\n this.createdHandleCount = 0;\n this.activeDragHandleIndex = 0;\n this.isMultiple =\n this.realElement.prop('multiple') || typeof this.realElement.attr('multiple') === 'string';\n this.values = this.isMultiple ? this.realElement.attr('value').split(',') : [this.realElement.val()];\n this.handleCount = this.isMultiple ? this.values.length : 1;\n\n // create range display\n this.rangeDisplayWrapper = $(this.options.rangeDisplayWrapper).insertBefore(this.track);\n if (this.options.range === 'min' || this.options.range === 'all') {\n this.rangeMin = $(this.options.rangeDisplay)\n .addClass('jcf-range-min')\n .prependTo(this.rangeDisplayWrapper);\n }\n if (this.options.range === 'max' || this.options.range === 'all') {\n this.rangeMax = $(this.options.rangeDisplay)\n .addClass('jcf-range-max')\n .prependTo(this.rangeDisplayWrapper);\n }\n\n // clone handles if needed\n while (this.createdHandleCount < this.handleCount) {\n this.createdHandleCount++;\n this.handle\n .clone()\n .addClass('jcf-index-' + this.createdHandleCount)\n .insertBefore(this.handle);\n\n // create mid ranges\n if (this.createdHandleCount > 1) {\n if (!this.rangeMid) {\n this.rangeMid = $();\n }\n this.rangeMid = this.rangeMid.add(\n $(this.options.rangeDisplay).addClass('jcf-range-mid').prependTo(this.rangeDisplayWrapper)\n );\n }\n }\n\n // grab all handles\n this.handle.detach();\n this.handle = null;\n this.handles = this.fakeElement.find(this.options.handleSelector);\n this.handles.eq(0).addClass(this.options.activeHandleClass);\n\n // handle orientation\n this.isVertical = this.options.orientation === 'vertical';\n this.directionProperty = this.isVertical ? 'top' : 'left';\n this.offsetProperty = this.isVertical ? 'bottom' : 'left';\n this.eventProperty = this.isVertical ? 'pageY' : 'pageX';\n this.sizeProperty = this.isVertical ? 'height' : 'width';\n this.sizeMethod = this.isVertical ? 'innerHeight' : 'innerWidth';\n this.fakeElement.css('touchAction', this.isVertical ? 'pan-x' : 'pan-y');\n if (this.isVertical) {\n this.fakeElement.addClass(this.options.verticalClass);\n }\n\n // set initial values\n this.minValue = parseFloat(this.realElement.attr('min'));\n this.maxValue = parseFloat(this.realElement.attr('max'));\n this.stepValue = parseFloat(this.realElement.attr('step')) || 1;\n\n // check attribute values\n this.minValue = isNaN(this.minValue) ? 0 : this.minValue;\n this.maxValue = isNaN(this.maxValue) ? 100 : this.maxValue;\n\n // handle range\n if (this.stepValue !== 1) {\n this.maxValue -= (this.maxValue - this.minValue) % this.stepValue;\n }\n this.stepsCount = (this.maxValue - this.minValue) / this.stepValue;\n this.createDataList();\n },\n attachEvents: function () {\n this.realElement.on({\n focus: this.onFocus,\n });\n this.trackHolder.on('jcf-pointerdown', this.onTrackPress);\n this.handles.on('jcf-pointerdown', this.onHandlePress);\n },\n createDataList: function () {\n var self = this,\n dataValues = [],\n dataListId = this.realElement.attr('list');\n\n if (dataListId) {\n $('#' + dataListId)\n .find('option')\n .each(function () {\n var itemValue = parseFloat(this.value || this.innerHTML),\n mark,\n markOffset;\n\n if (!isNaN(itemValue)) {\n markOffset = self.valueToOffset(itemValue);\n dataValues.push({\n value: itemValue,\n offset: markOffset,\n });\n mark = $(self.options.dataListMark)\n .text(itemValue)\n .attr({\n 'data-mark-value': itemValue,\n })\n .css(self.offsetProperty, markOffset + '%')\n .appendTo(self.track);\n }\n });\n if (dataValues.length) {\n self.dataValues = dataValues;\n }\n }\n },\n getDragHandleRange: function (handleIndex) {\n // calculate range for slider with multiple handles\n var minStep = -Infinity,\n maxStep = Infinity;\n\n if (handleIndex > 0) {\n minStep = this.valueToStepIndex(parseFloat(this.values[handleIndex - 1]) + this.options.minRange);\n }\n if (handleIndex < this.handleCount - 1) {\n maxStep = this.valueToStepIndex(parseFloat(this.values[handleIndex + 1]) - this.options.minRange);\n }\n\n return {\n minStepIndex: minStep,\n maxStepIndex: maxStep,\n };\n },\n getNearestHandle: function (percent) {\n // handle vertical sliders\n if (this.isVertical) {\n percent = 1 - percent;\n }\n\n // detect closest handle when track is pressed\n var closestHandle = this.handles.eq(0),\n closestDistance = Infinity,\n self = this;\n\n if (this.handleCount > 1) {\n this.handles.each(function () {\n var handleOffset = parseFloat(this.style[self.offsetProperty]) / 100,\n handleDistance = Math.abs(handleOffset - percent);\n\n if (handleDistance < closestDistance) {\n closestDistance = handleDistance;\n closestHandle = $(this);\n }\n });\n }\n return closestHandle;\n },\n onTrackPress: function (e) {\n var trackSize, trackOffset, innerOffset;\n\n e.preventDefault();\n if (!this.realElement.is(':disabled') && !this.activeDragHandle) {\n trackSize = this.track[this.sizeMethod]();\n trackOffset = this.track.offset()[this.directionProperty];\n this.activeDragHandle = this.getNearestHandle(\n (e[this.eventProperty] - trackOffset) / this.trackHolder[this.sizeMethod]()\n );\n this.activeDragHandleIndex = this.handles.index(this.activeDragHandle);\n this.handles\n .removeClass(this.options.activeHandleClass)\n .eq(this.activeDragHandleIndex)\n .addClass(this.options.activeHandleClass);\n innerOffset = this.activeDragHandle[this.sizeMethod]() / 2;\n\n this.dragData = {\n trackSize: trackSize,\n innerOffset: innerOffset,\n trackOffset: trackOffset,\n min: trackOffset,\n max: trackOffset + trackSize,\n };\n this.page.on({\n 'jcf-pointermove': this.onHandleMove,\n 'jcf-pointerup': this.onHandleRelease,\n });\n\n if (e.pointerType === 'mouse') {\n this.realElement.focus();\n }\n\n this.onHandleMove(e);\n }\n },\n onHandlePress: function (e) {\n var trackSize, trackOffset, innerOffset;\n\n e.preventDefault();\n if (!this.realElement.is(':disabled') && !this.activeDragHandle) {\n this.activeDragHandle = $(e.currentTarget);\n this.activeDragHandleIndex = this.handles.index(this.activeDragHandle);\n this.handles\n .removeClass(this.options.activeHandleClass)\n .eq(this.activeDragHandleIndex)\n .addClass(this.options.activeHandleClass);\n trackSize = this.track[this.sizeMethod]();\n trackOffset = this.track.offset()[this.directionProperty];\n innerOffset = this.options.dragHandleCenter\n ? this.activeDragHandle[this.sizeMethod]() / 2\n : e[this.eventProperty] - this.handle.offset()[this.directionProperty];\n\n this.dragData = {\n trackSize: trackSize,\n innerOffset: innerOffset,\n trackOffset: trackOffset,\n min: trackOffset,\n max: trackOffset + trackSize,\n };\n this.page.on({\n 'jcf-pointermove': this.onHandleMove,\n 'jcf-pointerup': this.onHandleRelease,\n });\n\n if (e.pointerType === 'mouse') {\n this.realElement.focus();\n }\n }\n },\n onHandleMove: function (e) {\n var self = this,\n newOffset,\n dragPercent,\n stepIndex,\n valuePercent,\n handleDragRange;\n\n // calculate offset\n if (this.isVertical) {\n newOffset =\n this.dragData.max + (this.dragData.min - e[this.eventProperty]) - this.dragData.innerOffset;\n } else {\n newOffset = e[this.eventProperty] - this.dragData.innerOffset;\n }\n\n // fit in range\n if (newOffset < this.dragData.min) {\n newOffset = this.dragData.min;\n } else if (newOffset > this.dragData.max) {\n newOffset = this.dragData.max;\n }\n\n e.preventDefault();\n if (this.options.snapToMarks && this.dataValues) {\n // snap handle to marks\n var dragOffset = newOffset - this.dragData.trackOffset;\n dragPercent = ((newOffset - this.dragData.trackOffset) / this.dragData.trackSize) * 100;\n\n $.each(this.dataValues, function (index, item) {\n var markOffset = (item.offset / 100) * self.dragData.trackSize,\n markMin = markOffset - self.options.snapRadius,\n markMax = markOffset + self.options.snapRadius;\n\n if (dragOffset >= markMin && dragOffset <= markMax) {\n dragPercent = item.offset;\n return false;\n }\n });\n } else {\n // snap handle to steps\n dragPercent = ((newOffset - this.dragData.trackOffset) / this.dragData.trackSize) * 100;\n }\n\n // move handle only in range\n stepIndex = Math.round((dragPercent * this.stepsCount) / 100);\n if (this.handleCount > 1) {\n handleDragRange = this.getDragHandleRange(this.activeDragHandleIndex);\n if (stepIndex < handleDragRange.minStepIndex) {\n stepIndex = Math.max(handleDragRange.minStepIndex, stepIndex);\n } else if (stepIndex > handleDragRange.maxStepIndex) {\n stepIndex = Math.min(handleDragRange.maxStepIndex, stepIndex);\n }\n }\n valuePercent = stepIndex * (100 / this.stepsCount);\n\n if (this.dragData.stepIndex !== stepIndex) {\n this.dragData.stepIndex = stepIndex;\n this.dragData.offset = valuePercent;\n this.activeDragHandle.css(this.offsetProperty, this.dragData.offset + '%');\n\n // update value(s) and trigger \"input\" event\n this.values[this.activeDragHandleIndex] = '' + this.stepIndexToValue(stepIndex);\n this.updateValues();\n this.realElement.trigger('input');\n }\n },\n onHandleRelease: function () {\n var newValue;\n if (typeof this.dragData.offset === 'number') {\n newValue = this.stepIndexToValue(this.dragData.stepIndex);\n this.realElement.val(newValue).trigger('change');\n }\n\n this.page.off({\n 'jcf-pointermove': this.onHandleMove,\n 'jcf-pointerup': this.onHandleRelease,\n });\n delete this.activeDragHandle;\n delete this.dragData;\n },\n onFocus: function () {\n if (!this.fakeElement.hasClass(this.options.focusClass)) {\n this.fakeElement.addClass(this.options.focusClass);\n this.realElement.on({\n blur: this.onBlur,\n keydown: this.onKeyPress,\n });\n }\n },\n onBlur: function () {\n this.fakeElement.removeClass(this.options.focusClass);\n this.realElement.off({\n blur: this.onBlur,\n keydown: this.onKeyPress,\n });\n },\n onKeyPress: function (e) {\n var incValue = e.which === 38 || e.which === 39,\n decValue = e.which === 37 || e.which === 40;\n\n // handle TAB key in slider with multiple handles\n if (e.which === 9 && this.handleCount > 1) {\n if (e.shiftKey && this.activeDragHandleIndex > 0) {\n this.activeDragHandleIndex--;\n } else if (!e.shiftKey && this.activeDragHandleIndex < this.handleCount - 1) {\n this.activeDragHandleIndex++;\n } else {\n return;\n }\n e.preventDefault();\n this.handles\n .removeClass(this.options.activeHandleClass)\n .eq(this.activeDragHandleIndex)\n .addClass(this.options.activeHandleClass);\n }\n\n // handle cursor keys\n if (decValue || incValue) {\n e.preventDefault();\n this.step(incValue ? this.stepValue : -this.stepValue);\n }\n },\n updateValues: function () {\n var value = this.values.join(',');\n if (this.values.length > 1) {\n this.realElement.prop('valueLow', this.values[0]);\n this.realElement.prop('valueHigh', this.values[this.values.length - 1]);\n this.realElement.val(value);\n\n // if browser does not accept multiple values set only one\n if (this.realElement.val() !== value) {\n this.realElement.val(this.values[this.values.length - 1]);\n }\n } else {\n this.realElement.val(value);\n }\n\n this.updateRanges();\n },\n updateRanges: function () {\n // update display ranges\n var self = this,\n handle;\n\n if (this.rangeMin) {\n handle = this.handles[0];\n this.rangeMin.css(this.offsetProperty, 0).css(this.sizeProperty, handle.style[this.offsetProperty]);\n }\n if (this.rangeMax) {\n handle = this.handles[this.handles.length - 1];\n this.rangeMax\n .css(this.offsetProperty, handle.style[this.offsetProperty])\n .css(this.sizeProperty, 100 - parseFloat(handle.style[this.offsetProperty]) + '%');\n }\n if (this.rangeMid) {\n this.handles.each(function (index, curHandle) {\n var prevHandle, midBox;\n if (index > 0) {\n prevHandle = self.handles[index - 1];\n midBox = self.rangeMid[index - 1];\n midBox.style[self.offsetProperty] = prevHandle.style[self.offsetProperty];\n midBox.style[self.sizeProperty] =\n parseFloat(curHandle.style[self.offsetProperty]) -\n parseFloat(prevHandle.style[self.offsetProperty]) +\n '%';\n }\n });\n }\n },\n step: function (changeValue) {\n var originalValue = parseFloat(this.values[this.activeDragHandleIndex || 0]),\n newValue = originalValue,\n minValue = this.minValue,\n maxValue = this.maxValue;\n\n if (isNaN(originalValue)) {\n newValue = 0;\n }\n\n newValue += changeValue;\n\n if (this.handleCount > 1) {\n if (this.activeDragHandleIndex > 0) {\n minValue = parseFloat(this.values[this.activeDragHandleIndex - 1]) + this.options.minRange;\n }\n if (this.activeDragHandleIndex < this.handleCount - 1) {\n maxValue = parseFloat(this.values[this.activeDragHandleIndex + 1]) - this.options.minRange;\n }\n }\n\n if (newValue > maxValue) {\n newValue = maxValue;\n } else if (newValue < minValue) {\n newValue = minValue;\n }\n\n if (newValue !== originalValue) {\n this.values[this.activeDragHandleIndex || 0] = '' + newValue;\n this.updateValues();\n this.realElement.trigger('input').trigger('change');\n this.setSliderValue(this.values);\n }\n },\n valueToStepIndex: function (value) {\n return (value - this.minValue) / this.stepValue;\n },\n stepIndexToValue: function (stepIndex) {\n return this.minValue + this.stepValue * stepIndex;\n },\n valueToOffset: function (value) {\n var range = this.maxValue - this.minValue,\n percent = (value - this.minValue) / range;\n\n return percent * 100;\n },\n getSliderValue: function () {\n return $.map(this.values, function (value) {\n return parseFloat(value) || 0;\n });\n },\n setSliderValue: function (values) {\n // set handle position accordion according to value\n var self = this;\n this.handles.each(function (index, handle) {\n handle.style[self.offsetProperty] = self.valueToOffset(values[index]) + '%';\n });\n },\n refresh: function () {\n // handle disabled state\n var isDisabled = this.realElement.is(':disabled');\n this.fakeElement.toggleClass(this.options.disabledClass, isDisabled);\n\n // refresh handle position according to current value\n this.setSliderValue(this.getSliderValue());\n this.updateRanges();\n },\n destroy: function () {\n this.realElement.removeClass(this.options.hiddenClass).insertBefore(this.fakeElement);\n this.fakeElement.remove();\n\n this.realElement.off({\n keydown: this.onKeyPress,\n focus: this.onFocus,\n blur: this.onBlur,\n });\n },\n };\n });\n})(jcf);\n","/*eslint-disable*/\n$(document).ready(function () {\n jcf.setOptions('Select', {\n wrapNative: false,\n wrapNativeOnMobile: true,\n maxVisibleItems: 5,\n multipleCompactStyle: true,\n });\n\n $('.jcf')\n .not('.Taxonomy__select,.primary__subject, .advanced-search select.jcf')\n .each(function () {\n jcf.replace($(this));\n });\n\n jcf.setOptions('Select', {\n maxVisibleItems: 12,\n });\n\n jcf.replace('.Taxonomy__select, .advanced-search select.jcf');\n\n jcf.setOptions('Select', {\n maxVisibleItems: 10,\n });\n\n jcf.replace('.primary__subject');\n});\n","(function ($) {\n // Focusable pseoudo selector\n $.extend($.expr[':'], {\n focusable: function (el, index, selector) {\n var $el = $(el);\n return (\n $el.is('button, [href], input, select, textarea, object, [tabindex]:not([tabindex=\"-1\"])') && // we don't need to check \"area\" tag, while it is focusable only when it has href attr\n $el.is(':not(:disabled)') && // disabled elements are not focusable\n $el.is(':visible')\n );\n },\n });\n // Tabbable pseudo selector\n $.extend($.expr[':'], {\n tabbable: function (el, index, selector) {\n var $el = $(el);\n return $el.is(':focusable') && $el.is(':not([tabindex=\"-1\"])');\n },\n });\n})(jQuery);\n","/*eslint-disable*/\n/*! jQuery Migrate v3.0.0 | (c) jQuery Foundation and other contributors | jquery.org/license */\n'undefined' == typeof jQuery.migrateMute && (jQuery.migrateMute = !0),\n (function (a, b) {\n 'use strict';\n function c(c) {\n var d = b.console;\n e[c] ||\n ((e[c] = !0),\n a.migrateWarnings.push(c),\n d && d.warn && !a.migrateMute && (d.warn('JQMIGRATE: ' + c), a.migrateTrace && d.trace && d.trace()));\n }\n function d(a, b, d, e) {\n Object.defineProperty(a, b, {\n configurable: !0,\n enumerable: !0,\n get: function () {\n return c(e), d;\n },\n });\n }\n (a.migrateVersion = '3.0.0'),\n (function () {\n var c =\n b.console &&\n b.console.log &&\n function () {\n b.console.log.apply(b.console, arguments);\n },\n d = /^[12]\\./;\n c &&\n ((a && !d.test(a.fn.jquery)) || c('JQMIGRATE: jQuery 3.0.0+ REQUIRED'),\n a.migrateWarnings && c('JQMIGRATE: Migrate plugin loaded multiple times'),\n c(\n 'JQMIGRATE: Migrate is installed' +\n (a.migrateMute ? '' : ' with logging active') +\n ', version ' +\n a.migrateVersion\n ));\n })();\n var e = {};\n (a.migrateWarnings = []),\n void 0 === a.migrateTrace && (a.migrateTrace = !0),\n (a.migrateReset = function () {\n (e = {}), (a.migrateWarnings.length = 0);\n }),\n 'BackCompat' === document.compatMode && c('jQuery is not compatible with Quirks Mode');\n var f = a.fn.init,\n g = a.isNumeric,\n h = a.find,\n i = /\\[(\\s*[-\\w]+\\s*)([~|^$*]?=)\\s*([-\\w#]*?#[-\\w#]*)\\s*\\]/,\n j = /\\[(\\s*[-\\w]+\\s*)([~|^$*]?=)\\s*([-\\w#]*?#[-\\w#]*)\\s*\\]/g;\n (a.fn.init = function (a) {\n var b = Array.prototype.slice.call(arguments);\n return (\n 'string' == typeof a && '#' === a && (c(\"jQuery( '#' ) is not a valid selector\"), (b[0] = [])),\n f.apply(this, b)\n );\n }),\n (a.fn.init.prototype = a.fn),\n (a.find = function (a) {\n var b = Array.prototype.slice.call(arguments);\n if ('string' == typeof a && i.test(a))\n try {\n document.querySelector(a);\n } catch (d) {\n a = a.replace(j, function (a, b, c, d) {\n return '[' + b + c + '\"' + d + '\"]';\n });\n try {\n document.querySelector(a),\n c(\"Attribute selector with '#' must be quoted: \" + b[0]),\n (b[0] = a);\n } catch (e) {\n c(\"Attribute selector with '#' was not fixed: \" + b[0]);\n }\n }\n return h.apply(this, b);\n });\n var k;\n for (k in h) Object.prototype.hasOwnProperty.call(h, k) && (a.find[k] = h[k]);\n (a.fn.size = function () {\n return c('jQuery.fn.size() is deprecated; use the .length property'), this.length;\n }),\n (a.parseJSON = function () {\n return c('jQuery.parseJSON is deprecated; use JSON.parse'), JSON.parse.apply(null, arguments);\n }),\n (a.isNumeric = function (b) {\n function d(b) {\n var c = b && b.toString();\n return !a.isArray(b) && c - parseFloat(c) + 1 >= 0;\n }\n var e = g(b),\n f = d(b);\n return e !== f && c('jQuery.isNumeric() should not be called on constructed objects'), f;\n }),\n d(a, 'unique', a.uniqueSort, 'jQuery.unique is deprecated, use jQuery.uniqueSort'),\n d(a.expr, 'filters', a.expr.pseudos, 'jQuery.expr.filters is now jQuery.expr.pseudos'),\n d(a.expr, ':', a.expr.pseudos, 'jQuery.expr[\":\"] is now jQuery.expr.pseudos');\n var l = a.ajax;\n a.ajax = function () {\n var a = l.apply(this, arguments);\n return (\n a.promise &&\n (d(a, 'success', a.done, 'jQXHR.success is deprecated and removed'),\n d(a, 'error', a.fail, 'jQXHR.error is deprecated and removed'),\n d(a, 'complete', a.always, 'jQXHR.complete is deprecated and removed')),\n a\n );\n };\n var m = a.fn.removeAttr,\n n = a.fn.toggleClass,\n o = /\\S+/g;\n (a.fn.removeAttr = function (b) {\n var d = this;\n return (\n a.each(b.match(o), function (b, e) {\n a.expr.match.bool.test(e) &&\n (c('jQuery.fn.removeAttr no longer sets boolean properties: ' + e), d.prop(e, !1));\n }),\n m.apply(this, arguments)\n );\n }),\n (a.fn.toggleClass = function (b) {\n return void 0 !== b && 'boolean' != typeof b\n ? n.apply(this, arguments)\n : (c('jQuery.fn.toggleClass( boolean ) is deprecated'),\n this.each(function () {\n var c = (this.getAttribute && this.getAttribute('class')) || '';\n c && a.data(this, '__className__', c),\n this.setAttribute &&\n this.setAttribute('class', c || b === !1 ? '' : a.data(this, '__className__') || '');\n }));\n });\n var p = !1;\n a.swap &&\n a.each(['height', 'width', 'reliableMarginRight'], function (b, c) {\n var d = a.cssHooks[c] && a.cssHooks[c].get;\n d &&\n (a.cssHooks[c].get = function () {\n var a;\n return (p = !0), (a = d.apply(this, arguments)), (p = !1), a;\n });\n }),\n (a.swap = function (a, b, d, e) {\n var f,\n g,\n h = {};\n p || c('jQuery.swap() is undocumented and deprecated');\n for (g in b) (h[g] = a.style[g]), (a.style[g] = b[g]);\n f = d.apply(a, e || []);\n for (g in b) a.style[g] = h[g];\n return f;\n });\n var q = a.data;\n a.data = function (b, d, e) {\n var f;\n return d && d !== a.camelCase(d) && ((f = a.hasData(b) && q.call(this, b)), f && d in f)\n ? (c('jQuery.data() always sets/gets camelCased names: ' + d), arguments.length > 2 && (f[d] = e), f[d])\n : q.apply(this, arguments);\n };\n var r = a.Tween.prototype.run;\n a.Tween.prototype.run = function (b) {\n a.easing[this.easing].length > 1 &&\n (c('easing function \"jQuery.easing.' + this.easing.toString() + '\" should use only first argument'),\n (a.easing[this.easing] = a.easing[this.easing].bind(\n a.easing,\n b,\n this.options.duration * b,\n 0,\n 1,\n this.options.duration\n ))),\n r.apply(this, arguments);\n };\n var s = a.fn.load,\n t = a.event.fix;\n (a.event.props = []),\n (a.event.fixHooks = {}),\n (a.event.fix = function (b) {\n var d,\n e = b.type,\n f = this.fixHooks[e],\n g = a.event.props;\n if (g.length)\n for (c('jQuery.event.props are deprecated and removed: ' + g.join()); g.length; )\n a.event.addProp(g.pop());\n if (\n f &&\n !f._migrated_ &&\n ((f._migrated_ = !0),\n c('jQuery.event.fixHooks are deprecated and removed: ' + e),\n (g = f.props) && g.length)\n )\n for (; g.length; ) a.event.addProp(g.pop());\n return (d = t.call(this, b)), f && f.filter ? f.filter(d, b) : d;\n }),\n a.each(['load', 'unload', 'error'], function (b, d) {\n a.fn[d] = function () {\n var a = Array.prototype.slice.call(arguments, 0);\n return 'load' === d && 'string' == typeof a[0]\n ? s.apply(this, a)\n : (c('jQuery.fn.' + d + '() is deprecated'),\n a.splice(0, 0, d),\n arguments.length ? this.on.apply(this, a) : (this.triggerHandler.apply(this, a), this));\n };\n }),\n a(function () {\n a(document).triggerHandler('ready');\n }),\n (a.event.special.ready = {\n setup: function () {\n this === document && c(\"'ready' event is deprecated\");\n },\n }),\n a.fn.extend({\n bind: function (a, b, d) {\n return c('jQuery.fn.bind() is deprecated'), this.on(a, null, b, d);\n },\n unbind: function (a, b) {\n return c('jQuery.fn.unbind() is deprecated'), this.off(a, null, b);\n },\n delegate: function (a, b, d, e) {\n return c('jQuery.fn.delegate() is deprecated'), this.on(b, a, d, e);\n },\n undelegate: function (a, b, d) {\n return (\n c('jQuery.fn.undelegate() is deprecated'),\n 1 === arguments.length ? this.off(a, '**') : this.off(b, a || '**', d)\n );\n },\n });\n var u = a.fn.offset;\n a.fn.offset = function () {\n var b,\n d = this[0],\n e = {top: 0, left: 0};\n return d && d.nodeType\n ? ((b = (d.ownerDocument || document).documentElement),\n a.contains(b, d)\n ? u.apply(this, arguments)\n : (c('jQuery.fn.offset() requires an element connected to a document'), e))\n : (c('jQuery.fn.offset() requires a valid DOM element'), e);\n };\n var v = a.param;\n a.param = function (b, d) {\n var e = a.ajaxSettings && a.ajaxSettings.traditional;\n return (\n void 0 === d && e && (c('jQuery.param() no longer uses jQuery.ajaxSettings.traditional'), (d = e)),\n v.call(this, b, d)\n );\n };\n var w = a.fn.andSelf || a.fn.addBack;\n a.fn.andSelf = function () {\n return c('jQuery.fn.andSelf() replaced by jQuery.fn.addBack()'), w.apply(this, arguments);\n };\n var x = a.Deferred,\n y = [\n ['resolve', 'done', a.Callbacks('once memory'), a.Callbacks('once memory'), 'resolved'],\n ['reject', 'fail', a.Callbacks('once memory'), a.Callbacks('once memory'), 'rejected'],\n ['notify', 'progress', a.Callbacks('memory'), a.Callbacks('memory')],\n ];\n a.Deferred = function (b) {\n var d = x(),\n e = d.promise();\n return (\n (d.pipe = e.pipe =\n function () {\n var b = arguments;\n return (\n c('deferred.pipe() is deprecated'),\n a\n .Deferred(function (c) {\n a.each(y, function (f, g) {\n var h = a.isFunction(b[f]) && b[f];\n d[g[1]](function () {\n var b = h && h.apply(this, arguments);\n b && a.isFunction(b.promise)\n ? b.promise().done(c.resolve).fail(c.reject).progress(c.notify)\n : c[g[0] + 'With'](\n this === e ? c.promise() : this,\n h ? [b] : arguments\n );\n });\n }),\n (b = null);\n })\n .promise()\n );\n }),\n b && b.call(d, d),\n d\n );\n };\n })(jQuery, window);\n","/*! jQuery UI - v1.12.1 - 2018-04-24\n * http://jqueryui.com\n * Includes: widget.js, data.js, jquery-1-7.js, keycode.js, scroll-parent.js, widgets/sortable.js, widgets/datepicker.js, widgets/mouse.js, widgets/slider.js\n * Copyright jQuery Foundation and other contributors; Licensed MIT */\n/*eslint-disable*/\n(function( factory ) {\n\t// if ( typeof define === \"function\" && define.amd ) {\n //\n\t// \t// AMD. Register as an anonymous module.\n\t// \tdefine([ \"jquery\" ], factory );\n\t// } else {\n\n\t\t// Browser globals\n\t\tfactory( jQuery );\n\t//}\n}(function( $ ) {\n\n$.ui = $.ui || {};\n\nvar version = $.ui.version = \"1.12.1\";\n\n\n/*!\n * jQuery UI Widget 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Widget\n//>>group: Core\n//>>description: Provides a factory for creating stateful widgets with a common API.\n//>>docs: http://api.jqueryui.com/jQuery.widget/\n//>>demos: http://jqueryui.com/widget/\n\n\n\nvar widgetUuid = 0;\nvar widgetSlice = Array.prototype.slice;\n\n$.cleanData = ( function( orig ) {\n\treturn function( elems ) {\n\t\tvar events, elem, i;\n\t\tfor ( i = 0; ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\ttry {\n\n\t\t\t\t// Only trigger remove when necessary to save time\n\t\t\t\tevents = $._data( elem, \"events\" );\n\t\t\t\tif ( events && events.remove ) {\n\t\t\t\t\t$( elem ).triggerHandler( \"remove\" );\n\t\t\t\t}\n\n\t\t\t// Http://bugs.jquery.com/ticket/8235\n\t\t\t} catch ( e ) {}\n\t\t}\n\t\torig( elems );\n\t};\n} )( $.cleanData );\n\n$.widget = function( name, base, prototype ) {\n\tvar existingConstructor, constructor, basePrototype;\n\n\t// ProxiedPrototype allows the provided prototype to remain unmodified\n\t// so that it can be used as a mixin for multiple widgets (#8876)\n\tvar proxiedPrototype = {};\n\n\tvar namespace = name.split( \".\" )[ 0 ];\n\tname = name.split( \".\" )[ 1 ];\n\tvar fullName = namespace + \"-\" + name;\n\n\tif ( !prototype ) {\n\t\tprototype = base;\n\t\tbase = $.Widget;\n\t}\n\n\tif ( $.isArray( prototype ) ) {\n\t\tprototype = $.extend.apply( null, [ {} ].concat( prototype ) );\n\t}\n\n\t// Create selector for plugin\n\t$.expr[ \":\" ][ fullName.toLowerCase() ] = function( elem ) {\n\t\treturn !!$.data( elem, fullName );\n\t};\n\n\t$[ namespace ] = $[ namespace ] || {};\n\texistingConstructor = $[ namespace ][ name ];\n\tconstructor = $[ namespace ][ name ] = function( options, element ) {\n\n\t\t// Allow instantiation without \"new\" keyword\n\t\tif ( !this._createWidget ) {\n\t\t\treturn new constructor( options, element );\n\t\t}\n\n\t\t// Allow instantiation without initializing for simple inheritance\n\t\t// must use \"new\" keyword (the code above always passes args)\n\t\tif ( arguments.length ) {\n\t\t\tthis._createWidget( options, element );\n\t\t}\n\t};\n\n\t// Extend with the existing constructor to carry over any static properties\n\t$.extend( constructor, existingConstructor, {\n\t\tversion: prototype.version,\n\n\t\t// Copy the object used to create the prototype in case we need to\n\t\t// redefine the widget later\n\t\t_proto: $.extend( {}, prototype ),\n\n\t\t// Track widgets that inherit from this widget in case this widget is\n\t\t// redefined after a widget inherits from it\n\t\t_childConstructors: []\n\t} );\n\n\tbasePrototype = new base();\n\n\t// We need to make the options hash a property directly on the new instance\n\t// otherwise we'll modify the options hash on the prototype that we're\n\t// inheriting from\n\tbasePrototype.options = $.widget.extend( {}, basePrototype.options );\n\t$.each( prototype, function( prop, value ) {\n\t\tif ( !$.isFunction( value ) ) {\n\t\t\tproxiedPrototype[ prop ] = value;\n\t\t\treturn;\n\t\t}\n\t\tproxiedPrototype[ prop ] = ( function() {\n\t\t\tfunction _super() {\n\t\t\t\treturn base.prototype[ prop ].apply( this, arguments );\n\t\t\t}\n\n\t\t\tfunction _superApply( args ) {\n\t\t\t\treturn base.prototype[ prop ].apply( this, args );\n\t\t\t}\n\n\t\t\treturn function() {\n\t\t\t\tvar __super = this._super;\n\t\t\t\tvar __superApply = this._superApply;\n\t\t\t\tvar returnValue;\n\n\t\t\t\tthis._super = _super;\n\t\t\t\tthis._superApply = _superApply;\n\n\t\t\t\treturnValue = value.apply( this, arguments );\n\n\t\t\t\tthis._super = __super;\n\t\t\t\tthis._superApply = __superApply;\n\n\t\t\t\treturn returnValue;\n\t\t\t};\n\t\t} )();\n\t} );\n\tconstructor.prototype = $.widget.extend( basePrototype, {\n\n\t\t// TODO: remove support for widgetEventPrefix\n\t\t// always use the name + a colon as the prefix, e.g., draggable:start\n\t\t// don't prefix for widgets that aren't DOM-based\n\t\twidgetEventPrefix: existingConstructor ? ( basePrototype.widgetEventPrefix || name ) : name\n\t}, proxiedPrototype, {\n\t\tconstructor: constructor,\n\t\tnamespace: namespace,\n\t\twidgetName: name,\n\t\twidgetFullName: fullName\n\t} );\n\n\t// If this widget is being redefined then we need to find all widgets that\n\t// are inheriting from it and redefine all of them so that they inherit from\n\t// the new version of this widget. We're essentially trying to replace one\n\t// level in the prototype chain.\n\tif ( existingConstructor ) {\n\t\t$.each( existingConstructor._childConstructors, function( i, child ) {\n\t\t\tvar childPrototype = child.prototype;\n\n\t\t\t// Redefine the child widget using the same prototype that was\n\t\t\t// originally used, but inherit from the new version of the base\n\t\t\t$.widget( childPrototype.namespace + \".\" + childPrototype.widgetName, constructor,\n\t\t\t\tchild._proto );\n\t\t} );\n\n\t\t// Remove the list of existing child constructors from the old constructor\n\t\t// so the old child constructors can be garbage collected\n\t\tdelete existingConstructor._childConstructors;\n\t} else {\n\t\tbase._childConstructors.push( constructor );\n\t}\n\n\t$.widget.bridge( name, constructor );\n\n\treturn constructor;\n};\n\n$.widget.extend = function( target ) {\n\tvar input = widgetSlice.call( arguments, 1 );\n\tvar inputIndex = 0;\n\tvar inputLength = input.length;\n\tvar key;\n\tvar value;\n\n\tfor ( ; inputIndex < inputLength; inputIndex++ ) {\n\t\tfor ( key in input[ inputIndex ] ) {\n\t\t\tvalue = input[ inputIndex ][ key ];\n\t\t\tif ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {\n\n\t\t\t\t// Clone objects\n\t\t\t\tif ( $.isPlainObject( value ) ) {\n\t\t\t\t\ttarget[ key ] = $.isPlainObject( target[ key ] ) ?\n\t\t\t\t\t\t$.widget.extend( {}, target[ key ], value ) :\n\n\t\t\t\t\t\t// Don't extend strings, arrays, etc. with objects\n\t\t\t\t\t\t$.widget.extend( {}, value );\n\n\t\t\t\t// Copy everything else by reference\n\t\t\t\t} else {\n\t\t\t\t\ttarget[ key ] = value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn target;\n};\n\n$.widget.bridge = function( name, object ) {\n\tvar fullName = object.prototype.widgetFullName || name;\n\t$.fn[ name ] = function( options ) {\n\t\tvar isMethodCall = typeof options === \"string\";\n\t\tvar args = widgetSlice.call( arguments, 1 );\n\t\tvar returnValue = this;\n\n\t\tif ( isMethodCall ) {\n\n\t\t\t// If this is an empty collection, we need to have the instance method\n\t\t\t// return undefined instead of the jQuery instance\n\t\t\tif ( !this.length && options === \"instance\" ) {\n\t\t\t\treturnValue = undefined;\n\t\t\t} else {\n\t\t\t\tthis.each( function() {\n\t\t\t\t\tvar methodValue;\n\t\t\t\t\tvar instance = $.data( this, fullName );\n\n\t\t\t\t\tif ( options === \"instance\" ) {\n\t\t\t\t\t\treturnValue = instance;\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( !instance ) {\n\t\t\t\t\t\treturn $.error( \"cannot call methods on \" + name +\n\t\t\t\t\t\t\t\" prior to initialization; \" +\n\t\t\t\t\t\t\t\"attempted to call method '\" + options + \"'\" );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === \"_\" ) {\n\t\t\t\t\t\treturn $.error( \"no such method '\" + options + \"' for \" + name +\n\t\t\t\t\t\t\t\" widget instance\" );\n\t\t\t\t\t}\n\n\t\t\t\t\tmethodValue = instance[ options ].apply( instance, args );\n\n\t\t\t\t\tif ( methodValue !== instance && methodValue !== undefined ) {\n\t\t\t\t\t\treturnValue = methodValue && methodValue.jquery ?\n\t\t\t\t\t\t\treturnValue.pushStack( methodValue.get() ) :\n\t\t\t\t\t\t\tmethodValue;\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// Allow multiple hashes to be passed on init\n\t\t\tif ( args.length ) {\n\t\t\t\toptions = $.widget.extend.apply( null, [ options ].concat( args ) );\n\t\t\t}\n\n\t\t\tthis.each( function() {\n\t\t\t\tvar instance = $.data( this, fullName );\n\t\t\t\tif ( instance ) {\n\t\t\t\t\tinstance.option( options || {} );\n\t\t\t\t\tif ( instance._init ) {\n\t\t\t\t\t\tinstance._init();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$.data( this, fullName, new object( options, this ) );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn returnValue;\n\t};\n};\n\n$.Widget = function( /* options, element */ ) {};\n$.Widget._childConstructors = [];\n\n$.Widget.prototype = {\n\twidgetName: \"widget\",\n\twidgetEventPrefix: \"\",\n\tdefaultElement: \"<div>\",\n\n\toptions: {\n\t\tclasses: {},\n\t\tdisabled: false,\n\n\t\t// Callbacks\n\t\tcreate: null\n\t},\n\n\t_createWidget: function( options, element ) {\n\t\telement = $( element || this.defaultElement || this )[ 0 ];\n\t\tthis.element = $( element );\n\t\tthis.uuid = widgetUuid++;\n\t\tthis.eventNamespace = \".\" + this.widgetName + this.uuid;\n\n\t\tthis.bindings = $();\n\t\tthis.hoverable = $();\n\t\tthis.focusable = $();\n\t\tthis.classesElementLookup = {};\n\n\t\tif ( element !== this ) {\n\t\t\t$.data( element, this.widgetFullName, this );\n\t\t\tthis._on( true, this.element, {\n\t\t\t\tremove: function( event ) {\n\t\t\t\t\tif ( event.target === element ) {\n\t\t\t\t\t\tthis.destroy();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t\tthis.document = $( element.style ?\n\n\t\t\t\t// Element within the document\n\t\t\t\telement.ownerDocument :\n\n\t\t\t\t// Element is window or document\n\t\t\t\telement.document || element );\n\t\t\tthis.window = $( this.document[ 0 ].defaultView || this.document[ 0 ].parentWindow );\n\t\t}\n\n\t\tthis.options = $.widget.extend( {},\n\t\t\tthis.options,\n\t\t\tthis._getCreateOptions(),\n\t\t\toptions );\n\n\t\tthis._create();\n\n\t\tif ( this.options.disabled ) {\n\t\t\tthis._setOptionDisabled( this.options.disabled );\n\t\t}\n\n\t\tthis._trigger( \"create\", null, this._getCreateEventData() );\n\t\tthis._init();\n\t},\n\n\t_getCreateOptions: function() {\n\t\treturn {};\n\t},\n\n\t_getCreateEventData: $.noop,\n\n\t_create: $.noop,\n\n\t_init: $.noop,\n\n\tdestroy: function() {\n\t\tvar that = this;\n\n\t\tthis._destroy();\n\t\t$.each( this.classesElementLookup, function( key, value ) {\n\t\t\tthat._removeClass( value, key );\n\t\t} );\n\n\t\t// We can probably remove the unbind calls in 2.0\n\t\t// all event bindings should go through this._on()\n\t\tthis.element\n\t\t\t.off( this.eventNamespace )\n\t\t\t.removeData( this.widgetFullName );\n\t\tthis.widget()\n\t\t\t.off( this.eventNamespace )\n\t\t\t.removeAttr( \"aria-disabled\" );\n\n\t\t// Clean up events and states\n\t\tthis.bindings.off( this.eventNamespace );\n\t},\n\n\t_destroy: $.noop,\n\n\twidget: function() {\n\t\treturn this.element;\n\t},\n\n\toption: function( key, value ) {\n\t\tvar options = key;\n\t\tvar parts;\n\t\tvar curOption;\n\t\tvar i;\n\n\t\tif ( arguments.length === 0 ) {\n\n\t\t\t// Don't return a reference to the internal hash\n\t\t\treturn $.widget.extend( {}, this.options );\n\t\t}\n\n\t\tif ( typeof key === \"string\" ) {\n\n\t\t\t// Handle nested keys, e.g., \"foo.bar\" => { foo: { bar: ___ } }\n\t\t\toptions = {};\n\t\t\tparts = key.split( \".\" );\n\t\t\tkey = parts.shift();\n\t\t\tif ( parts.length ) {\n\t\t\t\tcurOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );\n\t\t\t\tfor ( i = 0; i < parts.length - 1; i++ ) {\n\t\t\t\t\tcurOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};\n\t\t\t\t\tcurOption = curOption[ parts[ i ] ];\n\t\t\t\t}\n\t\t\t\tkey = parts.pop();\n\t\t\t\tif ( arguments.length === 1 ) {\n\t\t\t\t\treturn curOption[ key ] === undefined ? null : curOption[ key ];\n\t\t\t\t}\n\t\t\t\tcurOption[ key ] = value;\n\t\t\t} else {\n\t\t\t\tif ( arguments.length === 1 ) {\n\t\t\t\t\treturn this.options[ key ] === undefined ? null : this.options[ key ];\n\t\t\t\t}\n\t\t\t\toptions[ key ] = value;\n\t\t\t}\n\t\t}\n\n\t\tthis._setOptions( options );\n\n\t\treturn this;\n\t},\n\n\t_setOptions: function( options ) {\n\t\tvar key;\n\n\t\tfor ( key in options ) {\n\t\t\tthis._setOption( key, options[ key ] );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\t_setOption: function( key, value ) {\n\t\tif ( key === \"classes\" ) {\n\t\t\tthis._setOptionClasses( value );\n\t\t}\n\n\t\tthis.options[ key ] = value;\n\n\t\tif ( key === \"disabled\" ) {\n\t\t\tthis._setOptionDisabled( value );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\t_setOptionClasses: function( value ) {\n\t\tvar classKey, elements, currentElements;\n\n\t\tfor ( classKey in value ) {\n\t\t\tcurrentElements = this.classesElementLookup[ classKey ];\n\t\t\tif ( value[ classKey ] === this.options.classes[ classKey ] ||\n\t\t\t\t\t!currentElements ||\n\t\t\t\t\t!currentElements.length ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// We are doing this to create a new jQuery object because the _removeClass() call\n\t\t\t// on the next line is going to destroy the reference to the current elements being\n\t\t\t// tracked. We need to save a copy of this collection so that we can add the new classes\n\t\t\t// below.\n\t\t\telements = $( currentElements.get() );\n\t\t\tthis._removeClass( currentElements, classKey );\n\n\t\t\t// We don't use _addClass() here, because that uses this.options.classes\n\t\t\t// for generating the string of classes. We want to use the value passed in from\n\t\t\t// _setOption(), this is the new value of the classes option which was passed to\n\t\t\t// _setOption(). We pass this value directly to _classes().\n\t\t\telements.addClass( this._classes( {\n\t\t\t\telement: elements,\n\t\t\t\tkeys: classKey,\n\t\t\t\tclasses: value,\n\t\t\t\tadd: true\n\t\t\t} ) );\n\t\t}\n\t},\n\n\t_setOptionDisabled: function( value ) {\n\t\tthis._toggleClass( this.widget(), this.widgetFullName + \"-disabled\", null, !!value );\n\n\t\t// If the widget is becoming disabled, then nothing is interactive\n\t\tif ( value ) {\n\t\t\tthis._removeClass( this.hoverable, null, \"ui-state-hover\" );\n\t\t\tthis._removeClass( this.focusable, null, \"ui-state-focus\" );\n\t\t}\n\t},\n\n\tenable: function() {\n\t\treturn this._setOptions( { disabled: false } );\n\t},\n\n\tdisable: function() {\n\t\treturn this._setOptions( { disabled: true } );\n\t},\n\n\t_classes: function( options ) {\n\t\tvar full = [];\n\t\tvar that = this;\n\n\t\toptions = $.extend( {\n\t\t\telement: this.element,\n\t\t\tclasses: this.options.classes || {}\n\t\t}, options );\n\n\t\tfunction processClassString( classes, checkOption ) {\n\t\t\tvar current, i;\n\t\t\tfor ( i = 0; i < classes.length; i++ ) {\n\t\t\t\tcurrent = that.classesElementLookup[ classes[ i ] ] || $();\n\t\t\t\tif ( options.add ) {\n\t\t\t\t\tcurrent = $( $.unique( current.get().concat( options.element.get() ) ) );\n\t\t\t\t} else {\n\t\t\t\t\tcurrent = $( current.not( options.element ).get() );\n\t\t\t\t}\n\t\t\t\tthat.classesElementLookup[ classes[ i ] ] = current;\n\t\t\t\tfull.push( classes[ i ] );\n\t\t\t\tif ( checkOption && options.classes[ classes[ i ] ] ) {\n\t\t\t\t\tfull.push( options.classes[ classes[ i ] ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis._on( options.element, {\n\t\t\t\"remove\": \"_untrackClassesElement\"\n\t\t} );\n\n\t\tif ( options.keys ) {\n\t\t\tprocessClassString( options.keys.match( /\\S+/g ) || [], true );\n\t\t}\n\t\tif ( options.extra ) {\n\t\t\tprocessClassString( options.extra.match( /\\S+/g ) || [] );\n\t\t}\n\n\t\treturn full.join( \" \" );\n\t},\n\n\t_untrackClassesElement: function( event ) {\n\t\tvar that = this;\n\t\t$.each( that.classesElementLookup, function( key, value ) {\n\t\t\tif ( $.inArray( event.target, value ) !== -1 ) {\n\t\t\t\tthat.classesElementLookup[ key ] = $( value.not( event.target ).get() );\n\t\t\t}\n\t\t} );\n\t},\n\n\t_removeClass: function( element, keys, extra ) {\n\t\treturn this._toggleClass( element, keys, extra, false );\n\t},\n\n\t_addClass: function( element, keys, extra ) {\n\t\treturn this._toggleClass( element, keys, extra, true );\n\t},\n\n\t_toggleClass: function( element, keys, extra, add ) {\n\t\tadd = ( typeof add === \"boolean\" ) ? add : extra;\n\t\tvar shift = ( typeof element === \"string\" || element === null ),\n\t\t\toptions = {\n\t\t\t\textra: shift ? keys : extra,\n\t\t\t\tkeys: shift ? element : keys,\n\t\t\t\telement: shift ? this.element : element,\n\t\t\t\tadd: add\n\t\t\t};\n\t\toptions.element.toggleClass( this._classes( options ), add );\n\t\treturn this;\n\t},\n\n\t_on: function( suppressDisabledCheck, element, handlers ) {\n\t\tvar delegateElement;\n\t\tvar instance = this;\n\n\t\t// No suppressDisabledCheck flag, shuffle arguments\n\t\tif ( typeof suppressDisabledCheck !== \"boolean\" ) {\n\t\t\thandlers = element;\n\t\t\telement = suppressDisabledCheck;\n\t\t\tsuppressDisabledCheck = false;\n\t\t}\n\n\t\t// No element argument, shuffle and use this.element\n\t\tif ( !handlers ) {\n\t\t\thandlers = element;\n\t\t\telement = this.element;\n\t\t\tdelegateElement = this.widget();\n\t\t} else {\n\t\t\telement = delegateElement = $( element );\n\t\t\tthis.bindings = this.bindings.add( element );\n\t\t}\n\n\t\t$.each( handlers, function( event, handler ) {\n\t\t\tfunction handlerProxy() {\n\n\t\t\t\t// Allow widgets to customize the disabled handling\n\t\t\t\t// - disabled as an array instead of boolean\n\t\t\t\t// - disabled class as method for disabling individual parts\n\t\t\t\tif ( !suppressDisabledCheck &&\n\t\t\t\t\t\t( instance.options.disabled === true ||\n\t\t\t\t\t\t$( this ).hasClass( \"ui-state-disabled\" ) ) ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\treturn ( typeof handler === \"string\" ? instance[ handler ] : handler )\n\t\t\t\t\t.apply( instance, arguments );\n\t\t\t}\n\n\t\t\t// Copy the guid so direct unbinding works\n\t\t\tif ( typeof handler !== \"string\" ) {\n\t\t\t\thandlerProxy.guid = handler.guid =\n\t\t\t\t\thandler.guid || handlerProxy.guid || $.guid++;\n\t\t\t}\n\n\t\t\tvar match = event.match( /^([\\w:-]*)\\s*(.*)$/ );\n\t\t\tvar eventName = match[ 1 ] + instance.eventNamespace;\n\t\t\tvar selector = match[ 2 ];\n\n\t\t\tif ( selector ) {\n\t\t\t\tdelegateElement.on( eventName, selector, handlerProxy );\n\t\t\t} else {\n\t\t\t\telement.on( eventName, handlerProxy );\n\t\t\t}\n\t\t} );\n\t},\n\n\t_off: function( element, eventName ) {\n\t\teventName = ( eventName || \"\" ).split( \" \" ).join( this.eventNamespace + \" \" ) +\n\t\t\tthis.eventNamespace;\n\t\telement.off( eventName ).off( eventName );\n\n\t\t// Clear the stack to avoid memory leaks (#10056)\n\t\tthis.bindings = $( this.bindings.not( element ).get() );\n\t\tthis.focusable = $( this.focusable.not( element ).get() );\n\t\tthis.hoverable = $( this.hoverable.not( element ).get() );\n\t},\n\n\t_delay: function( handler, delay ) {\n\t\tfunction handlerProxy() {\n\t\t\treturn ( typeof handler === \"string\" ? instance[ handler ] : handler )\n\t\t\t\t.apply( instance, arguments );\n\t\t}\n\t\tvar instance = this;\n\t\treturn setTimeout( handlerProxy, delay || 0 );\n\t},\n\n\t_hoverable: function( element ) {\n\t\tthis.hoverable = this.hoverable.add( element );\n\t\tthis._on( element, {\n\t\t\tmouseenter: function( event ) {\n\t\t\t\tthis._addClass( $( event.currentTarget ), null, \"ui-state-hover\" );\n\t\t\t},\n\t\t\tmouseleave: function( event ) {\n\t\t\t\tthis._removeClass( $( event.currentTarget ), null, \"ui-state-hover\" );\n\t\t\t}\n\t\t} );\n\t},\n\n\t_focusable: function( element ) {\n\t\tthis.focusable = this.focusable.add( element );\n\t\tthis._on( element, {\n\t\t\tfocusin: function( event ) {\n\t\t\t\tthis._addClass( $( event.currentTarget ), null, \"ui-state-focus\" );\n\t\t\t},\n\t\t\tfocusout: function( event ) {\n\t\t\t\tthis._removeClass( $( event.currentTarget ), null, \"ui-state-focus\" );\n\t\t\t}\n\t\t} );\n\t},\n\n\t_trigger: function( type, event, data ) {\n\t\tvar prop, orig;\n\t\tvar callback = this.options[ type ];\n\n\t\tdata = data || {};\n\t\tevent = $.Event( event );\n\t\tevent.type = ( type === this.widgetEventPrefix ?\n\t\t\ttype :\n\t\t\tthis.widgetEventPrefix + type ).toLowerCase();\n\n\t\t// The original event may come from any element\n\t\t// so we need to reset the target on the new event\n\t\tevent.target = this.element[ 0 ];\n\n\t\t// Copy original event properties over to the new event\n\t\torig = event.originalEvent;\n\t\tif ( orig ) {\n\t\t\tfor ( prop in orig ) {\n\t\t\t\tif ( !( prop in event ) ) {\n\t\t\t\t\tevent[ prop ] = orig[ prop ];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tthis.element.trigger( event, data );\n\t\treturn !( $.isFunction( callback ) &&\n\t\t\tcallback.apply( this.element[ 0 ], [ event ].concat( data ) ) === false ||\n\t\t\tevent.isDefaultPrevented() );\n\t}\n};\n\n$.each( { show: \"fadeIn\", hide: \"fadeOut\" }, function( method, defaultEffect ) {\n\t$.Widget.prototype[ \"_\" + method ] = function( element, options, callback ) {\n\t\tif ( typeof options === \"string\" ) {\n\t\t\toptions = { effect: options };\n\t\t}\n\n\t\tvar hasOptions;\n\t\tvar effectName = !options ?\n\t\t\tmethod :\n\t\t\toptions === true || typeof options === \"number\" ?\n\t\t\t\tdefaultEffect :\n\t\t\t\toptions.effect || defaultEffect;\n\n\t\toptions = options || {};\n\t\tif ( typeof options === \"number\" ) {\n\t\t\toptions = { duration: options };\n\t\t}\n\n\t\thasOptions = !$.isEmptyObject( options );\n\t\toptions.complete = callback;\n\n\t\tif ( options.delay ) {\n\t\t\telement.delay( options.delay );\n\t\t}\n\n\t\tif ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {\n\t\t\telement[ method ]( options );\n\t\t} else if ( effectName !== method && element[ effectName ] ) {\n\t\t\telement[ effectName ]( options.duration, options.easing, callback );\n\t\t} else {\n\t\t\telement.queue( function( next ) {\n\t\t\t\t$( this )[ method ]();\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback.call( element[ 0 ] );\n\t\t\t\t}\n\t\t\t\tnext();\n\t\t\t} );\n\t\t}\n\t};\n} );\n\nvar widget = $.widget;\n\n\n/*!\n * jQuery UI :data 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: :data Selector\n//>>group: Core\n//>>description: Selects elements which have data stored under the specified key.\n//>>docs: http://api.jqueryui.com/data-selector/\n\n\nvar data = $.extend( $.expr[ \":\" ], {\n\tdata: $.expr.createPseudo ?\n\t\t$.expr.createPseudo( function( dataName ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn !!$.data( elem, dataName );\n\t\t\t};\n\t\t} ) :\n\n\t\t// Support: jQuery <1.8\n\t\tfunction( elem, i, match ) {\n\t\t\treturn !!$.data( elem, match[ 3 ] );\n\t\t}\n} );\n\n/*!\n * jQuery UI Support for jQuery core 1.7.x 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n */\n\n//>>label: jQuery 1.7 Support\n//>>group: Core\n//>>description: Support version 1.7.x of jQuery core\n\n\n\n// Support: jQuery 1.7 only\n// Not a great way to check versions, but since we only support 1.7+ and only\n// need to detect <1.8, this is a simple check that should suffice. Checking\n// for \"1.7.\" would be a bit safer, but the version string is 1.7, not 1.7.0\n// and we'll never reach 1.70.0 (if we do, we certainly won't be supporting\n// 1.7 anymore). See #11197 for why we're not using feature detection.\nif ( $.fn.jquery.substring( 0, 3 ) === \"1.7\" ) {\n\n\t// Setters for .innerWidth(), .innerHeight(), .outerWidth(), .outerHeight()\n\t// Unlike jQuery Core 1.8+, these only support numeric values to set the\n\t// dimensions in pixels\n\t$.each( [ \"Width\", \"Height\" ], function( i, name ) {\n\t\tvar side = name === \"Width\" ? [ \"Left\", \"Right\" ] : [ \"Top\", \"Bottom\" ],\n\t\t\ttype = name.toLowerCase(),\n\t\t\torig = {\n\t\t\t\tinnerWidth: $.fn.innerWidth,\n\t\t\t\tinnerHeight: $.fn.innerHeight,\n\t\t\t\touterWidth: $.fn.outerWidth,\n\t\t\t\touterHeight: $.fn.outerHeight\n\t\t\t};\n\n\t\tfunction reduce( elem, size, border, margin ) {\n\t\t\t$.each( side, function() {\n\t\t\t\tsize -= parseFloat( $.css( elem, \"padding\" + this ) ) || 0;\n\t\t\t\tif ( border ) {\n\t\t\t\t\tsize -= parseFloat( $.css( elem, \"border\" + this + \"Width\" ) ) || 0;\n\t\t\t\t}\n\t\t\t\tif ( margin ) {\n\t\t\t\t\tsize -= parseFloat( $.css( elem, \"margin\" + this ) ) || 0;\n\t\t\t\t}\n\t\t\t} );\n\t\t\treturn size;\n\t\t}\n\n\t\t$.fn[ \"inner\" + name ] = function( size ) {\n\t\t\tif ( size === undefined ) {\n\t\t\t\treturn orig[ \"inner\" + name ].call( this );\n\t\t\t}\n\n\t\t\treturn this.each( function() {\n\t\t\t\t$( this ).css( type, reduce( this, size ) + \"px\" );\n\t\t\t} );\n\t\t};\n\n\t\t$.fn[ \"outer\" + name ] = function( size, margin ) {\n\t\t\tif ( typeof size !== \"number\" ) {\n\t\t\t\treturn orig[ \"outer\" + name ].call( this, size );\n\t\t\t}\n\n\t\t\treturn this.each( function() {\n\t\t\t\t$( this ).css( type, reduce( this, size, true, margin ) + \"px\" );\n\t\t\t} );\n\t\t};\n\t} );\n\n\t$.fn.addBack = function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t};\n}\n\n;\n/*!\n * jQuery UI Keycode 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Keycode\n//>>group: Core\n//>>description: Provide keycodes as keynames\n//>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/\n\n\nvar keycode = $.ui.keyCode = {\n\tBACKSPACE: 8,\n\tCOMMA: 188,\n\tDELETE: 46,\n\tDOWN: 40,\n\tEND: 35,\n\tENTER: 13,\n\tESCAPE: 27,\n\tHOME: 36,\n\tLEFT: 37,\n\tPAGE_DOWN: 34,\n\tPAGE_UP: 33,\n\tPERIOD: 190,\n\tRIGHT: 39,\n\tSPACE: 32,\n\tTAB: 9,\n\tUP: 38\n};\n\n\n/*!\n * jQuery UI Scroll Parent 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: scrollParent\n//>>group: Core\n//>>description: Get the closest ancestor element that is scrollable.\n//>>docs: http://api.jqueryui.com/scrollParent/\n\n\n\nvar scrollParent = $.fn.scrollParent = function( includeHidden ) {\n\tvar position = this.css( \"position\" ),\n\t\texcludeStaticParent = position === \"absolute\",\n\t\toverflowRegex = includeHidden ? /(auto|scroll|hidden)/ : /(auto|scroll)/,\n\t\tscrollParent = this.parents().filter( function() {\n\t\t\tvar parent = $( this );\n\t\t\tif ( excludeStaticParent && parent.css( \"position\" ) === \"static\" ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn overflowRegex.test( parent.css( \"overflow\" ) + parent.css( \"overflow-y\" ) +\n\t\t\t\tparent.css( \"overflow-x\" ) );\n\t\t} ).eq( 0 );\n\n\treturn position === \"fixed\" || !scrollParent.length ?\n\t\t$( this[ 0 ].ownerDocument || document ) :\n\t\tscrollParent;\n};\n\n\n\n\n// This file is deprecated\nvar ie = $.ui.ie = !!/msie [\\w.]+/.exec( navigator.userAgent.toLowerCase() );\n\n/*!\n * jQuery UI Mouse 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Mouse\n//>>group: Widgets\n//>>description: Abstracts mouse-based interactions to assist in creating certain widgets.\n//>>docs: http://api.jqueryui.com/mouse/\n\n\n\nvar mouseHandled = false;\n$( document ).on( \"mouseup\", function() {\n\tmouseHandled = false;\n} );\n\nvar widgetsMouse = $.widget( \"ui.mouse\", {\n\tversion: \"1.12.1\",\n\toptions: {\n\t\tcancel: \"input, textarea, button, select, option\",\n\t\tdistance: 1,\n\t\tdelay: 0\n\t},\n\t_mouseInit: function() {\n\t\tvar that = this;\n\n\t\tthis.element\n\t\t\t.on( \"mousedown.\" + this.widgetName, function( event ) {\n\t\t\t\treturn that._mouseDown( event );\n\t\t\t} )\n\t\t\t.on( \"click.\" + this.widgetName, function( event ) {\n\t\t\t\tif ( true === $.data( event.target, that.widgetName + \".preventClickEvent\" ) ) {\n\t\t\t\t\t$.removeData( event.target, that.widgetName + \".preventClickEvent\" );\n\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} );\n\n\t\tthis.started = false;\n\t},\n\n\t// TODO: make sure destroying one instance of mouse doesn't mess with\n\t// other instances of mouse\n\t_mouseDestroy: function() {\n\t\tthis.element.off( \".\" + this.widgetName );\n\t\tif ( this._mouseMoveDelegate ) {\n\t\t\tthis.document\n\t\t\t\t.off( \"mousemove.\" + this.widgetName, this._mouseMoveDelegate )\n\t\t\t\t.off( \"mouseup.\" + this.widgetName, this._mouseUpDelegate );\n\t\t}\n\t},\n\n\t_mouseDown: function( event ) {\n\n\t\t// don't let more than one widget handle mouseStart\n\t\tif ( mouseHandled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._mouseMoved = false;\n\n\t\t// We may have missed mouseup (out of window)\n\t\t( this._mouseStarted && this._mouseUp( event ) );\n\n\t\tthis._mouseDownEvent = event;\n\n\t\tvar that = this,\n\t\t\tbtnIsLeft = ( event.which === 1 ),\n\n\t\t\t// event.target.nodeName works around a bug in IE 8 with\n\t\t\t// disabled inputs (#7620)\n\t\t\telIsCancel = ( typeof this.options.cancel === \"string\" && event.target.nodeName ?\n\t\t\t\t$( event.target ).closest( this.options.cancel ).length : false );\n\t\tif ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {\n\t\t\treturn true;\n\t\t}\n\n\t\tthis.mouseDelayMet = !this.options.delay;\n\t\tif ( !this.mouseDelayMet ) {\n\t\t\tthis._mouseDelayTimer = setTimeout( function() {\n\t\t\t\tthat.mouseDelayMet = true;\n\t\t\t}, this.options.delay );\n\t\t}\n\n\t\tif ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {\n\t\t\tthis._mouseStarted = ( this._mouseStart( event ) !== false );\n\t\t\tif ( !this._mouseStarted ) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\t// Click event may never have fired (Gecko & Opera)\n\t\tif ( true === $.data( event.target, this.widgetName + \".preventClickEvent\" ) ) {\n\t\t\t$.removeData( event.target, this.widgetName + \".preventClickEvent\" );\n\t\t}\n\n\t\t// These delegates are required to keep context\n\t\tthis._mouseMoveDelegate = function( event ) {\n\t\t\treturn that._mouseMove( event );\n\t\t};\n\t\tthis._mouseUpDelegate = function( event ) {\n\t\t\treturn that._mouseUp( event );\n\t\t};\n\n\t\tthis.document\n\t\t\t.on( \"mousemove.\" + this.widgetName, this._mouseMoveDelegate )\n\t\t\t.on( \"mouseup.\" + this.widgetName, this._mouseUpDelegate );\n\n\t\tevent.preventDefault();\n\n\t\tmouseHandled = true;\n\t\treturn true;\n\t},\n\n\t_mouseMove: function( event ) {\n\n\t\t// Only check for mouseups outside the document if you've moved inside the document\n\t\t// at least once. This prevents the firing of mouseup in the case of IE<9, which will\n\t\t// fire a mousemove event if content is placed under the cursor. See #7778\n\t\t// Support: IE <9\n\t\tif ( this._mouseMoved ) {\n\n\t\t\t// IE mouseup check - mouseup happened when mouse was out of window\n\t\t\tif ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&\n\t\t\t\t\t!event.button ) {\n\t\t\t\treturn this._mouseUp( event );\n\n\t\t\t// Iframe mouseup check - mouseup occurred in another document\n\t\t\t} else if ( !event.which ) {\n\n\t\t\t\t// Support: Safari <=8 - 9\n\t\t\t\t// Safari sets which to 0 if you press any of the following keys\n\t\t\t\t// during a drag (#14461)\n\t\t\t\tif ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||\n\t\t\t\t\t\tevent.originalEvent.metaKey || event.originalEvent.shiftKey ) {\n\t\t\t\t\tthis.ignoreMissingWhich = true;\n\t\t\t\t} else if ( !this.ignoreMissingWhich ) {\n\t\t\t\t\treturn this._mouseUp( event );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( event.which || event.button ) {\n\t\t\tthis._mouseMoved = true;\n\t\t}\n\n\t\tif ( this._mouseStarted ) {\n\t\t\tthis._mouseDrag( event );\n\t\t\treturn event.preventDefault();\n\t\t}\n\n\t\tif ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {\n\t\t\tthis._mouseStarted =\n\t\t\t\t( this._mouseStart( this._mouseDownEvent, event ) !== false );\n\t\t\t( this._mouseStarted ? this._mouseDrag( event ) : this._mouseUp( event ) );\n\t\t}\n\n\t\treturn !this._mouseStarted;\n\t},\n\n\t_mouseUp: function( event ) {\n\t\tthis.document\n\t\t\t.off( \"mousemove.\" + this.widgetName, this._mouseMoveDelegate )\n\t\t\t.off( \"mouseup.\" + this.widgetName, this._mouseUpDelegate );\n\n\t\tif ( this._mouseStarted ) {\n\t\t\tthis._mouseStarted = false;\n\n\t\t\tif ( event.target === this._mouseDownEvent.target ) {\n\t\t\t\t$.data( event.target, this.widgetName + \".preventClickEvent\", true );\n\t\t\t}\n\n\t\t\tthis._mouseStop( event );\n\t\t}\n\n\t\tif ( this._mouseDelayTimer ) {\n\t\t\tclearTimeout( this._mouseDelayTimer );\n\t\t\tdelete this._mouseDelayTimer;\n\t\t}\n\n\t\tthis.ignoreMissingWhich = false;\n\t\tmouseHandled = false;\n\t\tevent.preventDefault();\n\t},\n\n\t_mouseDistanceMet: function( event ) {\n\t\treturn ( Math.max(\n\t\t\t\tMath.abs( this._mouseDownEvent.pageX - event.pageX ),\n\t\t\t\tMath.abs( this._mouseDownEvent.pageY - event.pageY )\n\t\t\t) >= this.options.distance\n\t\t);\n\t},\n\n\t_mouseDelayMet: function( /* event */ ) {\n\t\treturn this.mouseDelayMet;\n\t},\n\n\t// These are placeholder methods, to be overriden by extending plugin\n\t_mouseStart: function( /* event */ ) {},\n\t_mouseDrag: function( /* event */ ) {},\n\t_mouseStop: function( /* event */ ) {},\n\t_mouseCapture: function( /* event */ ) { return true; }\n} );\n\n\n/*!\n * jQuery UI Sortable 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Sortable\n//>>group: Interactions\n//>>description: Enables items in a list to be sorted using the mouse.\n//>>docs: http://api.jqueryui.com/sortable/\n//>>demos: http://jqueryui.com/sortable/\n//>>css.structure: ../../themes/base/sortable.css\n\n\n\nvar widgetsSortable = $.widget( \"ui.sortable\", $.ui.mouse, {\n\tversion: \"1.12.1\",\n\twidgetEventPrefix: \"sort\",\n\tready: false,\n\toptions: {\n\t\tappendTo: \"parent\",\n\t\taxis: false,\n\t\tconnectWith: false,\n\t\tcontainment: false,\n\t\tcursor: \"auto\",\n\t\tcursorAt: false,\n\t\tdropOnEmpty: true,\n\t\tforcePlaceholderSize: false,\n\t\tforceHelperSize: false,\n\t\tgrid: false,\n\t\thandle: false,\n\t\thelper: \"original\",\n\t\titems: \"> *\",\n\t\topacity: false,\n\t\tplaceholder: false,\n\t\trevert: false,\n\t\tscroll: true,\n\t\tscrollSensitivity: 20,\n\t\tscrollSpeed: 20,\n\t\tscope: \"default\",\n\t\ttolerance: \"intersect\",\n\t\tzIndex: 1000,\n\n\t\t// Callbacks\n\t\tactivate: null,\n\t\tbeforeStop: null,\n\t\tchange: null,\n\t\tdeactivate: null,\n\t\tout: null,\n\t\tover: null,\n\t\treceive: null,\n\t\tremove: null,\n\t\tsort: null,\n\t\tstart: null,\n\t\tstop: null,\n\t\tupdate: null\n\t},\n\n\t_isOverAxis: function( x, reference, size ) {\n\t\treturn ( x >= reference ) && ( x < ( reference + size ) );\n\t},\n\n\t_isFloating: function( item ) {\n\t\treturn ( /left|right/ ).test( item.css( \"float\" ) ) ||\n\t\t\t( /inline|table-cell/ ).test( item.css( \"display\" ) );\n\t},\n\n\t_create: function() {\n\t\tthis.containerCache = {};\n\t\tthis._addClass( \"ui-sortable\" );\n\n\t\t//Get the items\n\t\tthis.refresh();\n\n\t\t//Let's determine the parent's offset\n\t\tthis.offset = this.element.offset();\n\n\t\t//Initialize mouse events for interaction\n\t\tthis._mouseInit();\n\n\t\tthis._setHandleClassName();\n\n\t\t//We're ready to go\n\t\tthis.ready = true;\n\n\t},\n\n\t_setOption: function( key, value ) {\n\t\tthis._super( key, value );\n\n\t\tif ( key === \"handle\" ) {\n\t\t\tthis._setHandleClassName();\n\t\t}\n\t},\n\n\t_setHandleClassName: function() {\n\t\tvar that = this;\n\t\tthis._removeClass( this.element.find( \".ui-sortable-handle\" ), \"ui-sortable-handle\" );\n\t\t$.each( this.items, function() {\n\t\t\tthat._addClass(\n\t\t\t\tthis.instance.options.handle ?\n\t\t\t\t\tthis.item.find( this.instance.options.handle ) :\n\t\t\t\t\tthis.item,\n\t\t\t\t\"ui-sortable-handle\"\n\t\t\t);\n\t\t} );\n\t},\n\n\t_destroy: function() {\n\t\tthis._mouseDestroy();\n\n\t\tfor ( var i = this.items.length - 1; i >= 0; i-- ) {\n\t\t\tthis.items[ i ].item.removeData( this.widgetName + \"-item\" );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\t_mouseCapture: function( event, overrideHandle ) {\n\t\tvar currentItem = null,\n\t\t\tvalidHandle = false,\n\t\t\tthat = this;\n\n\t\tif ( this.reverting ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( this.options.disabled || this.options.type === \"static\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\t//We have to refresh the items data once first\n\t\tthis._refreshItems( event );\n\n\t\t//Find out if the clicked node (or one of its parents) is a actual item in this.items\n\t\t$( event.target ).parents().each( function() {\n\t\t\tif ( $.data( this, that.widgetName + \"-item\" ) === that ) {\n\t\t\t\tcurrentItem = $( this );\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} );\n\t\tif ( $.data( event.target, that.widgetName + \"-item\" ) === that ) {\n\t\t\tcurrentItem = $( event.target );\n\t\t}\n\n\t\tif ( !currentItem ) {\n\t\t\treturn false;\n\t\t}\n\t\tif ( this.options.handle && !overrideHandle ) {\n\t\t\t$( this.options.handle, currentItem ).find( \"*\" ).addBack().each( function() {\n\t\t\t\tif ( this === event.target ) {\n\t\t\t\t\tvalidHandle = true;\n\t\t\t\t}\n\t\t\t} );\n\t\t\tif ( !validHandle ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tthis.currentItem = currentItem;\n\t\tthis._removeCurrentsFromItems();\n\t\treturn true;\n\n\t},\n\n\t_mouseStart: function( event, overrideHandle, noActivation ) {\n\n\t\tvar i, body,\n\t\t\to = this.options;\n\n\t\tthis.currentContainer = this;\n\n\t\t//We only need to call refreshPositions, because the refreshItems call has been moved to\n\t\t// mouseCapture\n\t\tthis.refreshPositions();\n\n\t\t//Create and append the visible helper\n\t\tthis.helper = this._createHelper( event );\n\n\t\t//Cache the helper size\n\t\tthis._cacheHelperProportions();\n\n\t\t/*\n\t\t * - Position generation -\n\t\t * This block generates everything position related - it's the core of draggables.\n\t\t */\n\n\t\t//Cache the margins of the original element\n\t\tthis._cacheMargins();\n\n\t\t//Get the next scrolling parent\n\t\tthis.scrollParent = this.helper.scrollParent();\n\n\t\t//The element's absolute position on the page minus margins\n\t\tthis.offset = this.currentItem.offset();\n\t\tthis.offset = {\n\t\t\ttop: this.offset.top - this.margins.top,\n\t\t\tleft: this.offset.left - this.margins.left\n\t\t};\n\n\t\t$.extend( this.offset, {\n\t\t\tclick: { //Where the click happened, relative to the element\n\t\t\t\tleft: event.pageX - this.offset.left,\n\t\t\t\ttop: event.pageY - this.offset.top\n\t\t\t},\n\t\t\tparent: this._getParentOffset(),\n\n\t\t\t// This is a relative to absolute position minus the actual position calculation -\n\t\t\t// only used for relative positioned helper\n\t\t\trelative: this._getRelativeOffset()\n\t\t} );\n\n\t\t// Only after we got the offset, we can change the helper's position to absolute\n\t\t// TODO: Still need to figure out a way to make relative sorting possible\n\t\tthis.helper.css( \"position\", \"absolute\" );\n\t\tthis.cssPosition = this.helper.css( \"position\" );\n\n\t\t//Generate the original position\n\t\tthis.originalPosition = this._generatePosition( event );\n\t\tthis.originalPageX = event.pageX;\n\t\tthis.originalPageY = event.pageY;\n\n\t\t//Adjust the mouse offset relative to the helper if \"cursorAt\" is supplied\n\t\t( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) );\n\n\t\t//Cache the former DOM position\n\t\tthis.domPosition = {\n\t\t\tprev: this.currentItem.prev()[ 0 ],\n\t\t\tparent: this.currentItem.parent()[ 0 ]\n\t\t};\n\n\t\t// If the helper is not the original, hide the original so it's not playing any role during\n\t\t// the drag, won't cause anything bad this way\n\t\tif ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {\n\t\t\tthis.currentItem.hide();\n\t\t}\n\n\t\t//Create the placeholder\n\t\tthis._createPlaceholder();\n\n\t\t//Set a containment if given in the options\n\t\tif ( o.containment ) {\n\t\t\tthis._setContainment();\n\t\t}\n\n\t\tif ( o.cursor && o.cursor !== \"auto\" ) { // cursor option\n\t\t\tbody = this.document.find( \"body\" );\n\n\t\t\t// Support: IE\n\t\t\tthis.storedCursor = body.css( \"cursor\" );\n\t\t\tbody.css( \"cursor\", o.cursor );\n\n\t\t\tthis.storedStylesheet =\n\t\t\t\t$( \"<style>*{ cursor: \" + o.cursor + \" !important; }</style>\" ).appendTo( body );\n\t\t}\n\n\t\tif ( o.opacity ) { // opacity option\n\t\t\tif ( this.helper.css( \"opacity\" ) ) {\n\t\t\t\tthis._storedOpacity = this.helper.css( \"opacity\" );\n\t\t\t}\n\t\t\tthis.helper.css( \"opacity\", o.opacity );\n\t\t}\n\n\t\tif ( o.zIndex ) { // zIndex option\n\t\t\tif ( this.helper.css( \"zIndex\" ) ) {\n\t\t\t\tthis._storedZIndex = this.helper.css( \"zIndex\" );\n\t\t\t}\n\t\t\tthis.helper.css( \"zIndex\", o.zIndex );\n\t\t}\n\n\t\t//Prepare scrolling\n\t\tif ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n\t\t\t\tthis.scrollParent[ 0 ].tagName !== \"HTML\" ) {\n\t\t\tthis.overflowOffset = this.scrollParent.offset();\n\t\t}\n\n\t\t//Call callbacks\n\t\tthis._trigger( \"start\", event, this._uiHash() );\n\n\t\t//Recache the helper size\n\t\tif ( !this._preserveHelperProportions ) {\n\t\t\tthis._cacheHelperProportions();\n\t\t}\n\n\t\t//Post \"activate\" events to possible containers\n\t\tif ( !noActivation ) {\n\t\t\tfor ( i = this.containers.length - 1; i >= 0; i-- ) {\n\t\t\t\tthis.containers[ i ]._trigger( \"activate\", event, this._uiHash( this ) );\n\t\t\t}\n\t\t}\n\n\t\t//Prepare possible droppables\n\t\tif ( $.ui.ddmanager ) {\n\t\t\t$.ui.ddmanager.current = this;\n\t\t}\n\n\t\tif ( $.ui.ddmanager && !o.dropBehaviour ) {\n\t\t\t$.ui.ddmanager.prepareOffsets( this, event );\n\t\t}\n\n\t\tthis.dragging = true;\n\n\t\tthis._addClass( this.helper, \"ui-sortable-helper\" );\n\n\t\t// Execute the drag once - this causes the helper not to be visiblebefore getting its\n\t\t// correct position\n\t\tthis._mouseDrag( event );\n\t\treturn true;\n\n\t},\n\n\t_mouseDrag: function( event ) {\n\t\tvar i, item, itemElement, intersection,\n\t\t\to = this.options,\n\t\t\tscrolled = false;\n\n\t\t//Compute the helpers position\n\t\tthis.position = this._generatePosition( event );\n\t\tthis.positionAbs = this._convertPositionTo( \"absolute\" );\n\n\t\tif ( !this.lastPositionAbs ) {\n\t\t\tthis.lastPositionAbs = this.positionAbs;\n\t\t}\n\n\t\t//Do scrolling\n\t\tif ( this.options.scroll ) {\n\t\t\tif ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n\t\t\t\t\tthis.scrollParent[ 0 ].tagName !== \"HTML\" ) {\n\n\t\t\t\tif ( ( this.overflowOffset.top + this.scrollParent[ 0 ].offsetHeight ) -\n\t\t\t\t\t\tevent.pageY < o.scrollSensitivity ) {\n\t\t\t\t\tthis.scrollParent[ 0 ].scrollTop =\n\t\t\t\t\t\tscrolled = this.scrollParent[ 0 ].scrollTop + o.scrollSpeed;\n\t\t\t\t} else if ( event.pageY - this.overflowOffset.top < o.scrollSensitivity ) {\n\t\t\t\t\tthis.scrollParent[ 0 ].scrollTop =\n\t\t\t\t\t\tscrolled = this.scrollParent[ 0 ].scrollTop - o.scrollSpeed;\n\t\t\t\t}\n\n\t\t\t\tif ( ( this.overflowOffset.left + this.scrollParent[ 0 ].offsetWidth ) -\n\t\t\t\t\t\tevent.pageX < o.scrollSensitivity ) {\n\t\t\t\t\tthis.scrollParent[ 0 ].scrollLeft = scrolled =\n\t\t\t\t\t\tthis.scrollParent[ 0 ].scrollLeft + o.scrollSpeed;\n\t\t\t\t} else if ( event.pageX - this.overflowOffset.left < o.scrollSensitivity ) {\n\t\t\t\t\tthis.scrollParent[ 0 ].scrollLeft = scrolled =\n\t\t\t\t\t\tthis.scrollParent[ 0 ].scrollLeft - o.scrollSpeed;\n\t\t\t\t}\n\n\t\t\t} else {\n\n\t\t\t\tif ( event.pageY - this.document.scrollTop() < o.scrollSensitivity ) {\n\t\t\t\t\tscrolled = this.document.scrollTop( this.document.scrollTop() - o.scrollSpeed );\n\t\t\t\t} else if ( this.window.height() - ( event.pageY - this.document.scrollTop() ) <\n\t\t\t\t\t\to.scrollSensitivity ) {\n\t\t\t\t\tscrolled = this.document.scrollTop( this.document.scrollTop() + o.scrollSpeed );\n\t\t\t\t}\n\n\t\t\t\tif ( event.pageX - this.document.scrollLeft() < o.scrollSensitivity ) {\n\t\t\t\t\tscrolled = this.document.scrollLeft(\n\t\t\t\t\t\tthis.document.scrollLeft() - o.scrollSpeed\n\t\t\t\t\t);\n\t\t\t\t} else if ( this.window.width() - ( event.pageX - this.document.scrollLeft() ) <\n\t\t\t\t\t\to.scrollSensitivity ) {\n\t\t\t\t\tscrolled = this.document.scrollLeft(\n\t\t\t\t\t\tthis.document.scrollLeft() + o.scrollSpeed\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif ( scrolled !== false && $.ui.ddmanager && !o.dropBehaviour ) {\n\t\t\t\t$.ui.ddmanager.prepareOffsets( this, event );\n\t\t\t}\n\t\t}\n\n\t\t//Regenerate the absolute position used for position checks\n\t\tthis.positionAbs = this._convertPositionTo( \"absolute\" );\n\n\t\t//Set the helper position\n\t\tif ( !this.options.axis || this.options.axis !== \"y\" ) {\n\t\t\tthis.helper[ 0 ].style.left = this.position.left + \"px\";\n\t\t}\n\t\tif ( !this.options.axis || this.options.axis !== \"x\" ) {\n\t\t\tthis.helper[ 0 ].style.top = this.position.top + \"px\";\n\t\t}\n\n\t\t//Rearrange\n\t\tfor ( i = this.items.length - 1; i >= 0; i-- ) {\n\n\t\t\t//Cache variables and intersection, continue if no intersection\n\t\t\titem = this.items[ i ];\n\t\t\titemElement = item.item[ 0 ];\n\t\t\tintersection = this._intersectsWithPointer( item );\n\t\t\tif ( !intersection ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Only put the placeholder inside the current Container, skip all\n\t\t\t// items from other containers. This works because when moving\n\t\t\t// an item from one container to another the\n\t\t\t// currentContainer is switched before the placeholder is moved.\n\t\t\t//\n\t\t\t// Without this, moving items in \"sub-sortables\" can cause\n\t\t\t// the placeholder to jitter between the outer and inner container.\n\t\t\tif ( item.instance !== this.currentContainer ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Cannot intersect with itself\n\t\t\t// no useless actions that have been done before\n\t\t\t// no action if the item moved is the parent of the item checked\n\t\t\tif ( itemElement !== this.currentItem[ 0 ] &&\n\t\t\t\tthis.placeholder[ intersection === 1 ? \"next\" : \"prev\" ]()[ 0 ] !== itemElement &&\n\t\t\t\t!$.contains( this.placeholder[ 0 ], itemElement ) &&\n\t\t\t\t( this.options.type === \"semi-dynamic\" ?\n\t\t\t\t\t!$.contains( this.element[ 0 ], itemElement ) :\n\t\t\t\t\ttrue\n\t\t\t\t)\n\t\t\t) {\n\n\t\t\t\tthis.direction = intersection === 1 ? \"down\" : \"up\";\n\n\t\t\t\tif ( this.options.tolerance === \"pointer\" || this._intersectsWithSides( item ) ) {\n\t\t\t\t\tthis._rearrange( event, item );\n\t\t\t\t} else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tthis._trigger( \"change\", event, this._uiHash() );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t//Post events to containers\n\t\tthis._contactContainers( event );\n\n\t\t//Interconnect with droppables\n\t\tif ( $.ui.ddmanager ) {\n\t\t\t$.ui.ddmanager.drag( this, event );\n\t\t}\n\n\t\t//Call callbacks\n\t\tthis._trigger( \"sort\", event, this._uiHash() );\n\n\t\tthis.lastPositionAbs = this.positionAbs;\n\t\treturn false;\n\n\t},\n\n\t_mouseStop: function( event, noPropagation ) {\n\n\t\tif ( !event ) {\n\t\t\treturn;\n\t\t}\n\n\t\t//If we are using droppables, inform the manager about the drop\n\t\tif ( $.ui.ddmanager && !this.options.dropBehaviour ) {\n\t\t\t$.ui.ddmanager.drop( this, event );\n\t\t}\n\n\t\tif ( this.options.revert ) {\n\t\t\tvar that = this,\n\t\t\t\tcur = this.placeholder.offset(),\n\t\t\t\taxis = this.options.axis,\n\t\t\t\tanimation = {};\n\n\t\t\tif ( !axis || axis === \"x\" ) {\n\t\t\t\tanimation.left = cur.left - this.offset.parent.left - this.margins.left +\n\t\t\t\t\t( this.offsetParent[ 0 ] === this.document[ 0 ].body ?\n\t\t\t\t\t\t0 :\n\t\t\t\t\t\tthis.offsetParent[ 0 ].scrollLeft\n\t\t\t\t\t);\n\t\t\t}\n\t\t\tif ( !axis || axis === \"y\" ) {\n\t\t\t\tanimation.top = cur.top - this.offset.parent.top - this.margins.top +\n\t\t\t\t\t( this.offsetParent[ 0 ] === this.document[ 0 ].body ?\n\t\t\t\t\t\t0 :\n\t\t\t\t\t\tthis.offsetParent[ 0 ].scrollTop\n\t\t\t\t\t);\n\t\t\t}\n\t\t\tthis.reverting = true;\n\t\t\t$( this.helper ).animate(\n\t\t\t\tanimation,\n\t\t\t\tparseInt( this.options.revert, 10 ) || 500,\n\t\t\t\tfunction() {\n\t\t\t\t\tthat._clear( event );\n\t\t\t\t}\n\t\t\t);\n\t\t} else {\n\t\t\tthis._clear( event, noPropagation );\n\t\t}\n\n\t\treturn false;\n\n\t},\n\n\tcancel: function() {\n\n\t\tif ( this.dragging ) {\n\n\t\t\tthis._mouseUp( new $.Event( \"mouseup\", { target: null } ) );\n\n\t\t\tif ( this.options.helper === \"original\" ) {\n\t\t\t\tthis.currentItem.css( this._storedCSS );\n\t\t\t\tthis._removeClass( this.currentItem, \"ui-sortable-helper\" );\n\t\t\t} else {\n\t\t\t\tthis.currentItem.show();\n\t\t\t}\n\n\t\t\t//Post deactivating events to containers\n\t\t\tfor ( var i = this.containers.length - 1; i >= 0; i-- ) {\n\t\t\t\tthis.containers[ i ]._trigger( \"deactivate\", null, this._uiHash( this ) );\n\t\t\t\tif ( this.containers[ i ].containerCache.over ) {\n\t\t\t\t\tthis.containers[ i ]._trigger( \"out\", null, this._uiHash( this ) );\n\t\t\t\t\tthis.containers[ i ].containerCache.over = 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\tif ( this.placeholder ) {\n\n\t\t\t//$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,\n\t\t\t// it unbinds ALL events from the original node!\n\t\t\tif ( this.placeholder[ 0 ].parentNode ) {\n\t\t\t\tthis.placeholder[ 0 ].parentNode.removeChild( this.placeholder[ 0 ] );\n\t\t\t}\n\t\t\tif ( this.options.helper !== \"original\" && this.helper &&\n\t\t\t\t\tthis.helper[ 0 ].parentNode ) {\n\t\t\t\tthis.helper.remove();\n\t\t\t}\n\n\t\t\t$.extend( this, {\n\t\t\t\thelper: null,\n\t\t\t\tdragging: false,\n\t\t\t\treverting: false,\n\t\t\t\t_noFinalSort: null\n\t\t\t} );\n\n\t\t\tif ( this.domPosition.prev ) {\n\t\t\t\t$( this.domPosition.prev ).after( this.currentItem );\n\t\t\t} else {\n\t\t\t\t$( this.domPosition.parent ).prepend( this.currentItem );\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\n\t},\n\n\tserialize: function( o ) {\n\n\t\tvar items = this._getItemsAsjQuery( o && o.connected ),\n\t\t\tstr = [];\n\t\to = o || {};\n\n\t\t$( items ).each( function() {\n\t\t\tvar res = ( $( o.item || this ).attr( o.attribute || \"id\" ) || \"\" )\n\t\t\t\t.match( o.expression || ( /(.+)[\\-=_](.+)/ ) );\n\t\t\tif ( res ) {\n\t\t\t\tstr.push(\n\t\t\t\t\t( o.key || res[ 1 ] + \"[]\" ) +\n\t\t\t\t\t\"=\" + ( o.key && o.expression ? res[ 1 ] : res[ 2 ] ) );\n\t\t\t}\n\t\t} );\n\n\t\tif ( !str.length && o.key ) {\n\t\t\tstr.push( o.key + \"=\" );\n\t\t}\n\n\t\treturn str.join( \"&\" );\n\n\t},\n\n\ttoArray: function( o ) {\n\n\t\tvar items = this._getItemsAsjQuery( o && o.connected ),\n\t\t\tret = [];\n\n\t\to = o || {};\n\n\t\titems.each( function() {\n\t\t\tret.push( $( o.item || this ).attr( o.attribute || \"id\" ) || \"\" );\n\t\t} );\n\t\treturn ret;\n\n\t},\n\n\t/* Be careful with the following core functions */\n\t_intersectsWith: function( item ) {\n\n\t\tvar x1 = this.positionAbs.left,\n\t\t\tx2 = x1 + this.helperProportions.width,\n\t\t\ty1 = this.positionAbs.top,\n\t\t\ty2 = y1 + this.helperProportions.height,\n\t\t\tl = item.left,\n\t\t\tr = l + item.width,\n\t\t\tt = item.top,\n\t\t\tb = t + item.height,\n\t\t\tdyClick = this.offset.click.top,\n\t\t\tdxClick = this.offset.click.left,\n\t\t\tisOverElementHeight = ( this.options.axis === \"x\" ) || ( ( y1 + dyClick ) > t &&\n\t\t\t\t( y1 + dyClick ) < b ),\n\t\t\tisOverElementWidth = ( this.options.axis === \"y\" ) || ( ( x1 + dxClick ) > l &&\n\t\t\t\t( x1 + dxClick ) < r ),\n\t\t\tisOverElement = isOverElementHeight && isOverElementWidth;\n\n\t\tif ( this.options.tolerance === \"pointer\" ||\n\t\t\tthis.options.forcePointerForContainers ||\n\t\t\t( this.options.tolerance !== \"pointer\" &&\n\t\t\t\tthis.helperProportions[ this.floating ? \"width\" : \"height\" ] >\n\t\t\t\titem[ this.floating ? \"width\" : \"height\" ] )\n\t\t) {\n\t\t\treturn isOverElement;\n\t\t} else {\n\n\t\t\treturn ( l < x1 + ( this.helperProportions.width / 2 ) && // Right Half\n\t\t\t\tx2 - ( this.helperProportions.width / 2 ) < r && // Left Half\n\t\t\t\tt < y1 + ( this.helperProportions.height / 2 ) && // Bottom Half\n\t\t\t\ty2 - ( this.helperProportions.height / 2 ) < b ); // Top Half\n\n\t\t}\n\t},\n\n\t_intersectsWithPointer: function( item ) {\n\t\tvar verticalDirection, horizontalDirection,\n\t\t\tisOverElementHeight = ( this.options.axis === \"x\" ) ||\n\t\t\t\tthis._isOverAxis(\n\t\t\t\t\tthis.positionAbs.top + this.offset.click.top, item.top, item.height ),\n\t\t\tisOverElementWidth = ( this.options.axis === \"y\" ) ||\n\t\t\t\tthis._isOverAxis(\n\t\t\t\t\tthis.positionAbs.left + this.offset.click.left, item.left, item.width ),\n\t\t\tisOverElement = isOverElementHeight && isOverElementWidth;\n\n\t\tif ( !isOverElement ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tverticalDirection = this._getDragVerticalDirection();\n\t\thorizontalDirection = this._getDragHorizontalDirection();\n\n\t\treturn this.floating ?\n\t\t\t( ( horizontalDirection === \"right\" || verticalDirection === \"down\" ) ? 2 : 1 )\n\t\t\t: ( verticalDirection && ( verticalDirection === \"down\" ? 2 : 1 ) );\n\n\t},\n\n\t_intersectsWithSides: function( item ) {\n\n\t\tvar isOverBottomHalf = this._isOverAxis( this.positionAbs.top +\n\t\t\t\tthis.offset.click.top, item.top + ( item.height / 2 ), item.height ),\n\t\t\tisOverRightHalf = this._isOverAxis( this.positionAbs.left +\n\t\t\t\tthis.offset.click.left, item.left + ( item.width / 2 ), item.width ),\n\t\t\tverticalDirection = this._getDragVerticalDirection(),\n\t\t\thorizontalDirection = this._getDragHorizontalDirection();\n\n\t\tif ( this.floating && horizontalDirection ) {\n\t\t\treturn ( ( horizontalDirection === \"right\" && isOverRightHalf ) ||\n\t\t\t\t( horizontalDirection === \"left\" && !isOverRightHalf ) );\n\t\t} else {\n\t\t\treturn verticalDirection && ( ( verticalDirection === \"down\" && isOverBottomHalf ) ||\n\t\t\t\t( verticalDirection === \"up\" && !isOverBottomHalf ) );\n\t\t}\n\n\t},\n\n\t_getDragVerticalDirection: function() {\n\t\tvar delta = this.positionAbs.top - this.lastPositionAbs.top;\n\t\treturn delta !== 0 && ( delta > 0 ? \"down\" : \"up\" );\n\t},\n\n\t_getDragHorizontalDirection: function() {\n\t\tvar delta = this.positionAbs.left - this.lastPositionAbs.left;\n\t\treturn delta !== 0 && ( delta > 0 ? \"right\" : \"left\" );\n\t},\n\n\trefresh: function( event ) {\n\t\tthis._refreshItems( event );\n\t\tthis._setHandleClassName();\n\t\tthis.refreshPositions();\n\t\treturn this;\n\t},\n\n\t_connectWith: function() {\n\t\tvar options = this.options;\n\t\treturn options.connectWith.constructor === String ?\n\t\t\t[ options.connectWith ] :\n\t\t\toptions.connectWith;\n\t},\n\n\t_getItemsAsjQuery: function( connected ) {\n\n\t\tvar i, j, cur, inst,\n\t\t\titems = [],\n\t\t\tqueries = [],\n\t\t\tconnectWith = this._connectWith();\n\n\t\tif ( connectWith && connected ) {\n\t\t\tfor ( i = connectWith.length - 1; i >= 0; i-- ) {\n\t\t\t\tcur = $( connectWith[ i ], this.document[ 0 ] );\n\t\t\t\tfor ( j = cur.length - 1; j >= 0; j-- ) {\n\t\t\t\t\tinst = $.data( cur[ j ], this.widgetFullName );\n\t\t\t\t\tif ( inst && inst !== this && !inst.options.disabled ) {\n\t\t\t\t\t\tqueries.push( [ $.isFunction( inst.options.items ) ?\n\t\t\t\t\t\t\tinst.options.items.call( inst.element ) :\n\t\t\t\t\t\t\t$( inst.options.items, inst.element )\n\t\t\t\t\t\t\t\t.not( \".ui-sortable-helper\" )\n\t\t\t\t\t\t\t\t.not( \".ui-sortable-placeholder\" ), inst ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tqueries.push( [ $.isFunction( this.options.items ) ?\n\t\t\tthis.options.items\n\t\t\t\t.call( this.element, null, { options: this.options, item: this.currentItem } ) :\n\t\t\t$( this.options.items, this.element )\n\t\t\t\t.not( \".ui-sortable-helper\" )\n\t\t\t\t.not( \".ui-sortable-placeholder\" ), this ] );\n\n\t\tfunction addItems() {\n\t\t\titems.push( this );\n\t\t}\n\t\tfor ( i = queries.length - 1; i >= 0; i-- ) {\n\t\t\tqueries[ i ][ 0 ].each( addItems );\n\t\t}\n\n\t\treturn $( items );\n\n\t},\n\n\t_removeCurrentsFromItems: function() {\n\n\t\tvar list = this.currentItem.find( \":data(\" + this.widgetName + \"-item)\" );\n\n\t\tthis.items = $.grep( this.items, function( item ) {\n\t\t\tfor ( var j = 0; j < list.length; j++ ) {\n\t\t\t\tif ( list[ j ] === item.item[ 0 ] ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} );\n\n\t},\n\n\t_refreshItems: function( event ) {\n\n\t\tthis.items = [];\n\t\tthis.containers = [ this ];\n\n\t\tvar i, j, cur, inst, targetData, _queries, item, queriesLength,\n\t\t\titems = this.items,\n\t\t\tqueries = [ [ $.isFunction( this.options.items ) ?\n\t\t\t\tthis.options.items.call( this.element[ 0 ], event, { item: this.currentItem } ) :\n\t\t\t\t$( this.options.items, this.element ), this ] ],\n\t\t\tconnectWith = this._connectWith();\n\n\t\t//Shouldn't be run the first time through due to massive slow-down\n\t\tif ( connectWith && this.ready ) {\n\t\t\tfor ( i = connectWith.length - 1; i >= 0; i-- ) {\n\t\t\t\tcur = $( connectWith[ i ], this.document[ 0 ] );\n\t\t\t\tfor ( j = cur.length - 1; j >= 0; j-- ) {\n\t\t\t\t\tinst = $.data( cur[ j ], this.widgetFullName );\n\t\t\t\t\tif ( inst && inst !== this && !inst.options.disabled ) {\n\t\t\t\t\t\tqueries.push( [ $.isFunction( inst.options.items ) ?\n\t\t\t\t\t\t\tinst.options.items\n\t\t\t\t\t\t\t\t.call( inst.element[ 0 ], event, { item: this.currentItem } ) :\n\t\t\t\t\t\t\t$( inst.options.items, inst.element ), inst ] );\n\t\t\t\t\t\tthis.containers.push( inst );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor ( i = queries.length - 1; i >= 0; i-- ) {\n\t\t\ttargetData = queries[ i ][ 1 ];\n\t\t\t_queries = queries[ i ][ 0 ];\n\n\t\t\tfor ( j = 0, queriesLength = _queries.length; j < queriesLength; j++ ) {\n\t\t\t\titem = $( _queries[ j ] );\n\n\t\t\t\t// Data for target checking (mouse manager)\n\t\t\t\titem.data( this.widgetName + \"-item\", targetData );\n\n\t\t\t\titems.push( {\n\t\t\t\t\titem: item,\n\t\t\t\t\tinstance: targetData,\n\t\t\t\t\twidth: 0, height: 0,\n\t\t\t\t\tleft: 0, top: 0\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t},\n\n\trefreshPositions: function( fast ) {\n\n\t\t// Determine whether items are being displayed horizontally\n\t\tthis.floating = this.items.length ?\n\t\t\tthis.options.axis === \"x\" || this._isFloating( this.items[ 0 ].item ) :\n\t\t\tfalse;\n\n\t\t//This has to be redone because due to the item being moved out/into the offsetParent,\n\t\t// the offsetParent's position will change\n\t\tif ( this.offsetParent && this.helper ) {\n\t\t\tthis.offset.parent = this._getParentOffset();\n\t\t}\n\n\t\tvar i, item, t, p;\n\n\t\tfor ( i = this.items.length - 1; i >= 0; i-- ) {\n\t\t\titem = this.items[ i ];\n\n\t\t\t//We ignore calculating positions of all connected containers when we're not over them\n\t\t\tif ( item.instance !== this.currentContainer && this.currentContainer &&\n\t\t\t\t\titem.item[ 0 ] !== this.currentItem[ 0 ] ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tt = this.options.toleranceElement ?\n\t\t\t\t$( this.options.toleranceElement, item.item ) :\n\t\t\t\titem.item;\n\n\t\t\tif ( !fast ) {\n\t\t\t\titem.width = t.outerWidth();\n\t\t\t\titem.height = t.outerHeight();\n\t\t\t}\n\n\t\t\tp = t.offset();\n\t\t\titem.left = p.left;\n\t\t\titem.top = p.top;\n\t\t}\n\n\t\tif ( this.options.custom && this.options.custom.refreshContainers ) {\n\t\t\tthis.options.custom.refreshContainers.call( this );\n\t\t} else {\n\t\t\tfor ( i = this.containers.length - 1; i >= 0; i-- ) {\n\t\t\t\tp = this.containers[ i ].element.offset();\n\t\t\t\tthis.containers[ i ].containerCache.left = p.left;\n\t\t\t\tthis.containers[ i ].containerCache.top = p.top;\n\t\t\t\tthis.containers[ i ].containerCache.width =\n\t\t\t\t\tthis.containers[ i ].element.outerWidth();\n\t\t\t\tthis.containers[ i ].containerCache.height =\n\t\t\t\t\tthis.containers[ i ].element.outerHeight();\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\t_createPlaceholder: function( that ) {\n\t\tthat = that || this;\n\t\tvar className,\n\t\t\to = that.options;\n\n\t\tif ( !o.placeholder || o.placeholder.constructor === String ) {\n\t\t\tclassName = o.placeholder;\n\t\t\to.placeholder = {\n\t\t\t\telement: function() {\n\n\t\t\t\t\tvar nodeName = that.currentItem[ 0 ].nodeName.toLowerCase(),\n\t\t\t\t\t\telement = $( \"<\" + nodeName + \">\", that.document[ 0 ] );\n\n\t\t\t\t\t\tthat._addClass( element, \"ui-sortable-placeholder\",\n\t\t\t\t\t\t\t\tclassName || that.currentItem[ 0 ].className )\n\t\t\t\t\t\t\t._removeClass( element, \"ui-sortable-helper\" );\n\n\t\t\t\t\tif ( nodeName === \"tbody\" ) {\n\t\t\t\t\t\tthat._createTrPlaceholder(\n\t\t\t\t\t\t\tthat.currentItem.find( \"tr\" ).eq( 0 ),\n\t\t\t\t\t\t\t$( \"<tr>\", that.document[ 0 ] ).appendTo( element )\n\t\t\t\t\t\t);\n\t\t\t\t\t} else if ( nodeName === \"tr\" ) {\n\t\t\t\t\t\tthat._createTrPlaceholder( that.currentItem, element );\n\t\t\t\t\t} else if ( nodeName === \"img\" ) {\n\t\t\t\t\t\telement.attr( \"src\", that.currentItem.attr( \"src\" ) );\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( !className ) {\n\t\t\t\t\t\telement.css( \"visibility\", \"hidden\" );\n\t\t\t\t\t}\n\n\t\t\t\t\treturn element;\n\t\t\t\t},\n\t\t\t\tupdate: function( container, p ) {\n\n\t\t\t\t\t// 1. If a className is set as 'placeholder option, we don't force sizes -\n\t\t\t\t\t// the class is responsible for that\n\t\t\t\t\t// 2. The option 'forcePlaceholderSize can be enabled to force it even if a\n\t\t\t\t\t// class name is specified\n\t\t\t\t\tif ( className && !o.forcePlaceholderSize ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t//If the element doesn't have a actual height by itself (without styles coming\n\t\t\t\t\t// from a stylesheet), it receives the inline height from the dragged item\n\t\t\t\t\tif ( !p.height() ) {\n\t\t\t\t\t\tp.height(\n\t\t\t\t\t\t\tthat.currentItem.innerHeight() -\n\t\t\t\t\t\t\tparseInt( that.currentItem.css( \"paddingTop\" ) || 0, 10 ) -\n\t\t\t\t\t\t\tparseInt( that.currentItem.css( \"paddingBottom\" ) || 0, 10 ) );\n\t\t\t\t\t}\n\t\t\t\t\tif ( !p.width() ) {\n\t\t\t\t\t\tp.width(\n\t\t\t\t\t\t\tthat.currentItem.innerWidth() -\n\t\t\t\t\t\t\tparseInt( that.currentItem.css( \"paddingLeft\" ) || 0, 10 ) -\n\t\t\t\t\t\t\tparseInt( that.currentItem.css( \"paddingRight\" ) || 0, 10 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\t//Create the placeholder\n\t\tthat.placeholder = $( o.placeholder.element.call( that.element, that.currentItem ) );\n\n\t\t//Append it after the actual current item\n\t\tthat.currentItem.after( that.placeholder );\n\n\t\t//Update the size of the placeholder (TODO: Logic to fuzzy, see line 316/317)\n\t\to.placeholder.update( that, that.placeholder );\n\n\t},\n\n\t_createTrPlaceholder: function( sourceTr, targetTr ) {\n\t\tvar that = this;\n\n\t\tsourceTr.children().each( function() {\n\t\t\t$( \"<td> </td>\", that.document[ 0 ] )\n\t\t\t\t.attr( \"colspan\", $( this ).attr( \"colspan\" ) || 1 )\n\t\t\t\t.appendTo( targetTr );\n\t\t} );\n\t},\n\n\t_contactContainers: function( event ) {\n\t\tvar i, j, dist, itemWithLeastDistance, posProperty, sizeProperty, cur, nearBottom,\n\t\t\tfloating, axis,\n\t\t\tinnermostContainer = null,\n\t\t\tinnermostIndex = null;\n\n\t\t// Get innermost container that intersects with item\n\t\tfor ( i = this.containers.length - 1; i >= 0; i-- ) {\n\n\t\t\t// Never consider a container that's located within the item itself\n\t\t\tif ( $.contains( this.currentItem[ 0 ], this.containers[ i ].element[ 0 ] ) ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif ( this._intersectsWith( this.containers[ i ].containerCache ) ) {\n\n\t\t\t\t// If we've already found a container and it's more \"inner\" than this, then continue\n\t\t\t\tif ( innermostContainer &&\n\t\t\t\t\t\t$.contains(\n\t\t\t\t\t\t\tthis.containers[ i ].element[ 0 ],\n\t\t\t\t\t\t\tinnermostContainer.element[ 0 ] ) ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tinnermostContainer = this.containers[ i ];\n\t\t\t\tinnermostIndex = i;\n\n\t\t\t} else {\n\n\t\t\t\t// container doesn't intersect. trigger \"out\" event if necessary\n\t\t\t\tif ( this.containers[ i ].containerCache.over ) {\n\t\t\t\t\tthis.containers[ i ]._trigger( \"out\", event, this._uiHash( this ) );\n\t\t\t\t\tthis.containers[ i ].containerCache.over = 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\t// If no intersecting containers found, return\n\t\tif ( !innermostContainer ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Move the item into the container if it's not there already\n\t\tif ( this.containers.length === 1 ) {\n\t\t\tif ( !this.containers[ innermostIndex ].containerCache.over ) {\n\t\t\t\tthis.containers[ innermostIndex ]._trigger( \"over\", event, this._uiHash( this ) );\n\t\t\t\tthis.containers[ innermostIndex ].containerCache.over = 1;\n\t\t\t}\n\t\t} else {\n\n\t\t\t// When entering a new container, we will find the item with the least distance and\n\t\t\t// append our item near it\n\t\t\tdist = 10000;\n\t\t\titemWithLeastDistance = null;\n\t\t\tfloating = innermostContainer.floating || this._isFloating( this.currentItem );\n\t\t\tposProperty = floating ? \"left\" : \"top\";\n\t\t\tsizeProperty = floating ? \"width\" : \"height\";\n\t\t\taxis = floating ? \"pageX\" : \"pageY\";\n\n\t\t\tfor ( j = this.items.length - 1; j >= 0; j-- ) {\n\t\t\t\tif ( !$.contains(\n\t\t\t\t\t\tthis.containers[ innermostIndex ].element[ 0 ], this.items[ j ].item[ 0 ] )\n\t\t\t\t) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif ( this.items[ j ].item[ 0 ] === this.currentItem[ 0 ] ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tcur = this.items[ j ].item.offset()[ posProperty ];\n\t\t\t\tnearBottom = false;\n\t\t\t\tif ( event[ axis ] - cur > this.items[ j ][ sizeProperty ] / 2 ) {\n\t\t\t\t\tnearBottom = true;\n\t\t\t\t}\n\n\t\t\t\tif ( Math.abs( event[ axis ] - cur ) < dist ) {\n\t\t\t\t\tdist = Math.abs( event[ axis ] - cur );\n\t\t\t\t\titemWithLeastDistance = this.items[ j ];\n\t\t\t\t\tthis.direction = nearBottom ? \"up\" : \"down\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//Check if dropOnEmpty is enabled\n\t\t\tif ( !itemWithLeastDistance && !this.options.dropOnEmpty ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( this.currentContainer === this.containers[ innermostIndex ] ) {\n\t\t\t\tif ( !this.currentContainer.containerCache.over ) {\n\t\t\t\t\tthis.containers[ innermostIndex ]._trigger( \"over\", event, this._uiHash() );\n\t\t\t\t\tthis.currentContainer.containerCache.over = 1;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\titemWithLeastDistance ?\n\t\t\t\tthis._rearrange( event, itemWithLeastDistance, null, true ) :\n\t\t\t\tthis._rearrange( event, null, this.containers[ innermostIndex ].element, true );\n\t\t\tthis._trigger( \"change\", event, this._uiHash() );\n\t\t\tthis.containers[ innermostIndex ]._trigger( \"change\", event, this._uiHash( this ) );\n\t\t\tthis.currentContainer = this.containers[ innermostIndex ];\n\n\t\t\t//Update the placeholder\n\t\t\tthis.options.placeholder.update( this.currentContainer, this.placeholder );\n\n\t\t\tthis.containers[ innermostIndex ]._trigger( \"over\", event, this._uiHash( this ) );\n\t\t\tthis.containers[ innermostIndex ].containerCache.over = 1;\n\t\t}\n\n\t},\n\n\t_createHelper: function( event ) {\n\n\t\tvar o = this.options,\n\t\t\thelper = $.isFunction( o.helper ) ?\n\t\t\t\t$( o.helper.apply( this.element[ 0 ], [ event, this.currentItem ] ) ) :\n\t\t\t\t( o.helper === \"clone\" ? this.currentItem.clone() : this.currentItem );\n\n\t\t//Add the helper to the DOM if that didn't happen already\n\t\tif ( !helper.parents( \"body\" ).length ) {\n\t\t\t$( o.appendTo !== \"parent\" ?\n\t\t\t\to.appendTo :\n\t\t\t\tthis.currentItem[ 0 ].parentNode )[ 0 ].appendChild( helper[ 0 ] );\n\t\t}\n\n\t\tif ( helper[ 0 ] === this.currentItem[ 0 ] ) {\n\t\t\tthis._storedCSS = {\n\t\t\t\twidth: this.currentItem[ 0 ].style.width,\n\t\t\t\theight: this.currentItem[ 0 ].style.height,\n\t\t\t\tposition: this.currentItem.css( \"position\" ),\n\t\t\t\ttop: this.currentItem.css( \"top\" ),\n\t\t\t\tleft: this.currentItem.css( \"left\" )\n\t\t\t};\n\t\t}\n\n\t\tif ( !helper[ 0 ].style.width || o.forceHelperSize ) {\n\t\t\thelper.width( this.currentItem.width() );\n\t\t}\n\t\tif ( !helper[ 0 ].style.height || o.forceHelperSize ) {\n\t\t\thelper.height( this.currentItem.height() );\n\t\t}\n\n\t\treturn helper;\n\n\t},\n\n\t_adjustOffsetFromHelper: function( obj ) {\n\t\tif ( typeof obj === \"string\" ) {\n\t\t\tobj = obj.split( \" \" );\n\t\t}\n\t\tif ( $.isArray( obj ) ) {\n\t\t\tobj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };\n\t\t}\n\t\tif ( \"left\" in obj ) {\n\t\t\tthis.offset.click.left = obj.left + this.margins.left;\n\t\t}\n\t\tif ( \"right\" in obj ) {\n\t\t\tthis.offset.click.left = this.helperProportions.width - obj.right + this.margins.left;\n\t\t}\n\t\tif ( \"top\" in obj ) {\n\t\t\tthis.offset.click.top = obj.top + this.margins.top;\n\t\t}\n\t\tif ( \"bottom\" in obj ) {\n\t\t\tthis.offset.click.top = this.helperProportions.height - obj.bottom + this.margins.top;\n\t\t}\n\t},\n\n\t_getParentOffset: function() {\n\n\t\t//Get the offsetParent and cache its position\n\t\tthis.offsetParent = this.helper.offsetParent();\n\t\tvar po = this.offsetParent.offset();\n\n\t\t// This is a special case where we need to modify a offset calculated on start, since the\n\t\t// following happened:\n\t\t// 1. The position of the helper is absolute, so it's position is calculated based on the\n\t\t// next positioned parent\n\t\t// 2. The actual offset parent is a child of the scroll parent, and the scroll parent isn't\n\t\t// the document, which means that the scroll is included in the initial calculation of the\n\t\t// offset of the parent, and never recalculated upon drag\n\t\tif ( this.cssPosition === \"absolute\" && this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n\t\t\t\t$.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) {\n\t\t\tpo.left += this.scrollParent.scrollLeft();\n\t\t\tpo.top += this.scrollParent.scrollTop();\n\t\t}\n\n\t\t// This needs to be actually done for all browsers, since pageX/pageY includes this\n\t\t// information with an ugly IE fix\n\t\tif ( this.offsetParent[ 0 ] === this.document[ 0 ].body ||\n\t\t\t\t( this.offsetParent[ 0 ].tagName &&\n\t\t\t\tthis.offsetParent[ 0 ].tagName.toLowerCase() === \"html\" && $.ui.ie ) ) {\n\t\t\tpo = { top: 0, left: 0 };\n\t\t}\n\n\t\treturn {\n\t\t\ttop: po.top + ( parseInt( this.offsetParent.css( \"borderTopWidth\" ), 10 ) || 0 ),\n\t\t\tleft: po.left + ( parseInt( this.offsetParent.css( \"borderLeftWidth\" ), 10 ) || 0 )\n\t\t};\n\n\t},\n\n\t_getRelativeOffset: function() {\n\n\t\tif ( this.cssPosition === \"relative\" ) {\n\t\t\tvar p = this.currentItem.position();\n\t\t\treturn {\n\t\t\t\ttop: p.top - ( parseInt( this.helper.css( \"top\" ), 10 ) || 0 ) +\n\t\t\t\t\tthis.scrollParent.scrollTop(),\n\t\t\t\tleft: p.left - ( parseInt( this.helper.css( \"left\" ), 10 ) || 0 ) +\n\t\t\t\t\tthis.scrollParent.scrollLeft()\n\t\t\t};\n\t\t} else {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t},\n\n\t_cacheMargins: function() {\n\t\tthis.margins = {\n\t\t\tleft: ( parseInt( this.currentItem.css( \"marginLeft\" ), 10 ) || 0 ),\n\t\t\ttop: ( parseInt( this.currentItem.css( \"marginTop\" ), 10 ) || 0 )\n\t\t};\n\t},\n\n\t_cacheHelperProportions: function() {\n\t\tthis.helperProportions = {\n\t\t\twidth: this.helper.outerWidth(),\n\t\t\theight: this.helper.outerHeight()\n\t\t};\n\t},\n\n\t_setContainment: function() {\n\n\t\tvar ce, co, over,\n\t\t\to = this.options;\n\t\tif ( o.containment === \"parent\" ) {\n\t\t\to.containment = this.helper[ 0 ].parentNode;\n\t\t}\n\t\tif ( o.containment === \"document\" || o.containment === \"window\" ) {\n\t\t\tthis.containment = [\n\t\t\t\t0 - this.offset.relative.left - this.offset.parent.left,\n\t\t\t\t0 - this.offset.relative.top - this.offset.parent.top,\n\t\t\t\to.containment === \"document\" ?\n\t\t\t\t\tthis.document.width() :\n\t\t\t\t\tthis.window.width() - this.helperProportions.width - this.margins.left,\n\t\t\t\t( o.containment === \"document\" ?\n\t\t\t\t\t( this.document.height() || document.body.parentNode.scrollHeight ) :\n\t\t\t\t\tthis.window.height() || this.document[ 0 ].body.parentNode.scrollHeight\n\t\t\t\t) - this.helperProportions.height - this.margins.top\n\t\t\t];\n\t\t}\n\n\t\tif ( !( /^(document|window|parent)$/ ).test( o.containment ) ) {\n\t\t\tce = $( o.containment )[ 0 ];\n\t\t\tco = $( o.containment ).offset();\n\t\t\tover = ( $( ce ).css( \"overflow\" ) !== \"hidden\" );\n\n\t\t\tthis.containment = [\n\t\t\t\tco.left + ( parseInt( $( ce ).css( \"borderLeftWidth\" ), 10 ) || 0 ) +\n\t\t\t\t\t( parseInt( $( ce ).css( \"paddingLeft\" ), 10 ) || 0 ) - this.margins.left,\n\t\t\t\tco.top + ( parseInt( $( ce ).css( \"borderTopWidth\" ), 10 ) || 0 ) +\n\t\t\t\t\t( parseInt( $( ce ).css( \"paddingTop\" ), 10 ) || 0 ) - this.margins.top,\n\t\t\t\tco.left + ( over ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) -\n\t\t\t\t\t( parseInt( $( ce ).css( \"borderLeftWidth\" ), 10 ) || 0 ) -\n\t\t\t\t\t( parseInt( $( ce ).css( \"paddingRight\" ), 10 ) || 0 ) -\n\t\t\t\t\tthis.helperProportions.width - this.margins.left,\n\t\t\t\tco.top + ( over ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) -\n\t\t\t\t\t( parseInt( $( ce ).css( \"borderTopWidth\" ), 10 ) || 0 ) -\n\t\t\t\t\t( parseInt( $( ce ).css( \"paddingBottom\" ), 10 ) || 0 ) -\n\t\t\t\t\tthis.helperProportions.height - this.margins.top\n\t\t\t];\n\t\t}\n\n\t},\n\n\t_convertPositionTo: function( d, pos ) {\n\n\t\tif ( !pos ) {\n\t\t\tpos = this.position;\n\t\t}\n\t\tvar mod = d === \"absolute\" ? 1 : -1,\n\t\t\tscroll = this.cssPosition === \"absolute\" &&\n\t\t\t\t!( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n\t\t\t\t$.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ?\n\t\t\t\t\tthis.offsetParent :\n\t\t\t\t\tthis.scrollParent,\n\t\t\tscrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );\n\n\t\treturn {\n\t\t\ttop: (\n\n\t\t\t\t// The absolute mouse position\n\t\t\t\tpos.top\t+\n\n\t\t\t\t// Only for relative positioned nodes: Relative offset from element to offset parent\n\t\t\t\tthis.offset.relative.top * mod +\n\n\t\t\t\t// The offsetParent's offset without borders (offset + border)\n\t\t\t\tthis.offset.parent.top * mod -\n\t\t\t\t( ( this.cssPosition === \"fixed\" ?\n\t\t\t\t\t-this.scrollParent.scrollTop() :\n\t\t\t\t\t( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) * mod )\n\t\t\t),\n\t\t\tleft: (\n\n\t\t\t\t// The absolute mouse position\n\t\t\t\tpos.left +\n\n\t\t\t\t// Only for relative positioned nodes: Relative offset from element to offset parent\n\t\t\t\tthis.offset.relative.left * mod +\n\n\t\t\t\t// The offsetParent's offset without borders (offset + border)\n\t\t\t\tthis.offset.parent.left * mod\t-\n\t\t\t\t( ( this.cssPosition === \"fixed\" ?\n\t\t\t\t\t-this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 :\n\t\t\t\t\tscroll.scrollLeft() ) * mod )\n\t\t\t)\n\t\t};\n\n\t},\n\n\t_generatePosition: function( event ) {\n\n\t\tvar top, left,\n\t\t\to = this.options,\n\t\t\tpageX = event.pageX,\n\t\t\tpageY = event.pageY,\n\t\t\tscroll = this.cssPosition === \"absolute\" &&\n\t\t\t\t!( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n\t\t\t\t$.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ?\n\t\t\t\t\tthis.offsetParent :\n\t\t\t\t\tthis.scrollParent,\n\t\t\t\tscrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );\n\n\t\t// This is another very weird special case that only happens for relative elements:\n\t\t// 1. If the css position is relative\n\t\t// 2. and the scroll parent is the document or similar to the offset parent\n\t\t// we have to refresh the relative offset during the scroll so there are no jumps\n\t\tif ( this.cssPosition === \"relative\" && !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&\n\t\t\t\tthis.scrollParent[ 0 ] !== this.offsetParent[ 0 ] ) ) {\n\t\t\tthis.offset.relative = this._getRelativeOffset();\n\t\t}\n\n\t\t/*\n\t\t * - Position constraining -\n\t\t * Constrain the position to a mix of grid, containment.\n\t\t */\n\n\t\tif ( this.originalPosition ) { //If we are not dragging yet, we won't check for options\n\n\t\t\tif ( this.containment ) {\n\t\t\t\tif ( event.pageX - this.offset.click.left < this.containment[ 0 ] ) {\n\t\t\t\t\tpageX = this.containment[ 0 ] + this.offset.click.left;\n\t\t\t\t}\n\t\t\t\tif ( event.pageY - this.offset.click.top < this.containment[ 1 ] ) {\n\t\t\t\t\tpageY = this.containment[ 1 ] + this.offset.click.top;\n\t\t\t\t}\n\t\t\t\tif ( event.pageX - this.offset.click.left > this.containment[ 2 ] ) {\n\t\t\t\t\tpageX = this.containment[ 2 ] + this.offset.click.left;\n\t\t\t\t}\n\t\t\t\tif ( event.pageY - this.offset.click.top > this.containment[ 3 ] ) {\n\t\t\t\t\tpageY = this.containment[ 3 ] + this.offset.click.top;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( o.grid ) {\n\t\t\t\ttop = this.originalPageY + Math.round( ( pageY - this.originalPageY ) /\n\t\t\t\t\to.grid[ 1 ] ) * o.grid[ 1 ];\n\t\t\t\tpageY = this.containment ?\n\t\t\t\t\t( ( top - this.offset.click.top >= this.containment[ 1 ] &&\n\t\t\t\t\t\ttop - this.offset.click.top <= this.containment[ 3 ] ) ?\n\t\t\t\t\t\t\ttop :\n\t\t\t\t\t\t\t( ( top - this.offset.click.top >= this.containment[ 1 ] ) ?\n\t\t\t\t\t\t\t\ttop - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) :\n\t\t\t\t\t\t\t\ttop;\n\n\t\t\t\tleft = this.originalPageX + Math.round( ( pageX - this.originalPageX ) /\n\t\t\t\t\to.grid[ 0 ] ) * o.grid[ 0 ];\n\t\t\t\tpageX = this.containment ?\n\t\t\t\t\t( ( left - this.offset.click.left >= this.containment[ 0 ] &&\n\t\t\t\t\t\tleft - this.offset.click.left <= this.containment[ 2 ] ) ?\n\t\t\t\t\t\t\tleft :\n\t\t\t\t\t\t\t( ( left - this.offset.click.left >= this.containment[ 0 ] ) ?\n\t\t\t\t\t\t\t\tleft - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) :\n\t\t\t\t\t\t\t\tleft;\n\t\t\t}\n\n\t\t}\n\n\t\treturn {\n\t\t\ttop: (\n\n\t\t\t\t// The absolute mouse position\n\t\t\t\tpageY -\n\n\t\t\t\t// Click offset (relative to the element)\n\t\t\t\tthis.offset.click.top -\n\n\t\t\t\t// Only for relative positioned nodes: Relative offset from element to offset parent\n\t\t\t\tthis.offset.relative.top -\n\n\t\t\t\t// The offsetParent's offset without borders (offset + border)\n\t\t\t\tthis.offset.parent.top +\n\t\t\t\t( ( this.cssPosition === \"fixed\" ?\n\t\t\t\t\t-this.scrollParent.scrollTop() :\n\t\t\t\t\t( scrollIsRootNode ? 0 : scroll.scrollTop() ) ) )\n\t\t\t),\n\t\t\tleft: (\n\n\t\t\t\t// The absolute mouse position\n\t\t\t\tpageX -\n\n\t\t\t\t// Click offset (relative to the element)\n\t\t\t\tthis.offset.click.left -\n\n\t\t\t\t// Only for relative positioned nodes: Relative offset from element to offset parent\n\t\t\t\tthis.offset.relative.left -\n\n\t\t\t\t// The offsetParent's offset without borders (offset + border)\n\t\t\t\tthis.offset.parent.left +\n\t\t\t\t( ( this.cssPosition === \"fixed\" ?\n\t\t\t\t\t-this.scrollParent.scrollLeft() :\n\t\t\t\t\tscrollIsRootNode ? 0 : scroll.scrollLeft() ) )\n\t\t\t)\n\t\t};\n\n\t},\n\n\t_rearrange: function( event, i, a, hardRefresh ) {\n\n\t\ta ? a[ 0 ].appendChild( this.placeholder[ 0 ] ) :\n\t\t\ti.item[ 0 ].parentNode.insertBefore( this.placeholder[ 0 ],\n\t\t\t\t( this.direction === \"down\" ? i.item[ 0 ] : i.item[ 0 ].nextSibling ) );\n\n\t\t//Various things done here to improve the performance:\n\t\t// 1. we create a setTimeout, that calls refreshPositions\n\t\t// 2. on the instance, we have a counter variable, that get's higher after every append\n\t\t// 3. on the local scope, we copy the counter variable, and check in the timeout,\n\t\t// if it's still the same\n\t\t// 4. this lets only the last addition to the timeout stack through\n\t\tthis.counter = this.counter ? ++this.counter : 1;\n\t\tvar counter = this.counter;\n\n\t\tthis._delay( function() {\n\t\t\tif ( counter === this.counter ) {\n\n\t\t\t\t//Precompute after each DOM insertion, NOT on mousemove\n\t\t\t\tthis.refreshPositions( !hardRefresh );\n\t\t\t}\n\t\t} );\n\n\t},\n\n\t_clear: function( event, noPropagation ) {\n\n\t\tthis.reverting = false;\n\n\t\t// We delay all events that have to be triggered to after the point where the placeholder\n\t\t// has been removed and everything else normalized again\n\t\tvar i,\n\t\t\tdelayedTriggers = [];\n\n\t\t// We first have to update the dom position of the actual currentItem\n\t\t// Note: don't do it if the current item is already removed (by a user), or it gets\n\t\t// reappended (see #4088)\n\t\tif ( !this._noFinalSort && this.currentItem.parent().length ) {\n\t\t\tthis.placeholder.before( this.currentItem );\n\t\t}\n\t\tthis._noFinalSort = null;\n\n\t\tif ( this.helper[ 0 ] === this.currentItem[ 0 ] ) {\n\t\t\tfor ( i in this._storedCSS ) {\n\t\t\t\tif ( this._storedCSS[ i ] === \"auto\" || this._storedCSS[ i ] === \"static\" ) {\n\t\t\t\t\tthis._storedCSS[ i ] = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.currentItem.css( this._storedCSS );\n\t\t\tthis._removeClass( this.currentItem, \"ui-sortable-helper\" );\n\t\t} else {\n\t\t\tthis.currentItem.show();\n\t\t}\n\n\t\tif ( this.fromOutside && !noPropagation ) {\n\t\t\tdelayedTriggers.push( function( event ) {\n\t\t\t\tthis._trigger( \"receive\", event, this._uiHash( this.fromOutside ) );\n\t\t\t} );\n\t\t}\n\t\tif ( ( this.fromOutside ||\n\t\t\t\tthis.domPosition.prev !==\n\t\t\t\tthis.currentItem.prev().not( \".ui-sortable-helper\" )[ 0 ] ||\n\t\t\t\tthis.domPosition.parent !== this.currentItem.parent()[ 0 ] ) && !noPropagation ) {\n\n\t\t\t// Trigger update callback if the DOM position has changed\n\t\t\tdelayedTriggers.push( function( event ) {\n\t\t\t\tthis._trigger( \"update\", event, this._uiHash() );\n\t\t\t} );\n\t\t}\n\n\t\t// Check if the items Container has Changed and trigger appropriate\n\t\t// events.\n\t\tif ( this !== this.currentContainer ) {\n\t\t\tif ( !noPropagation ) {\n\t\t\t\tdelayedTriggers.push( function( event ) {\n\t\t\t\t\tthis._trigger( \"remove\", event, this._uiHash() );\n\t\t\t\t} );\n\t\t\t\tdelayedTriggers.push( ( function( c ) {\n\t\t\t\t\treturn function( event ) {\n\t\t\t\t\t\tc._trigger( \"receive\", event, this._uiHash( this ) );\n\t\t\t\t\t};\n\t\t\t\t} ).call( this, this.currentContainer ) );\n\t\t\t\tdelayedTriggers.push( ( function( c ) {\n\t\t\t\t\treturn function( event ) {\n\t\t\t\t\t\tc._trigger( \"update\", event, this._uiHash( this ) );\n\t\t\t\t\t};\n\t\t\t\t} ).call( this, this.currentContainer ) );\n\t\t\t}\n\t\t}\n\n\t\t//Post events to containers\n\t\tfunction delayEvent( type, instance, container ) {\n\t\t\treturn function( event ) {\n\t\t\t\tcontainer._trigger( type, event, instance._uiHash( instance ) );\n\t\t\t};\n\t\t}\n\t\tfor ( i = this.containers.length - 1; i >= 0; i-- ) {\n\t\t\tif ( !noPropagation ) {\n\t\t\t\tdelayedTriggers.push( delayEvent( \"deactivate\", this, this.containers[ i ] ) );\n\t\t\t}\n\t\t\tif ( this.containers[ i ].containerCache.over ) {\n\t\t\t\tdelayedTriggers.push( delayEvent( \"out\", this, this.containers[ i ] ) );\n\t\t\t\tthis.containers[ i ].containerCache.over = 0;\n\t\t\t}\n\t\t}\n\n\t\t//Do what was originally in plugins\n\t\tif ( this.storedCursor ) {\n\t\t\tthis.document.find( \"body\" ).css( \"cursor\", this.storedCursor );\n\t\t\tthis.storedStylesheet.remove();\n\t\t}\n\t\tif ( this._storedOpacity ) {\n\t\t\tthis.helper.css( \"opacity\", this._storedOpacity );\n\t\t}\n\t\tif ( this._storedZIndex ) {\n\t\t\tthis.helper.css( \"zIndex\", this._storedZIndex === \"auto\" ? \"\" : this._storedZIndex );\n\t\t}\n\n\t\tthis.dragging = false;\n\n\t\tif ( !noPropagation ) {\n\t\t\tthis._trigger( \"beforeStop\", event, this._uiHash() );\n\t\t}\n\n\t\t//$(this.placeholder[0]).remove(); would have been the jQuery way - unfortunately,\n\t\t// it unbinds ALL events from the original node!\n\t\tthis.placeholder[ 0 ].parentNode.removeChild( this.placeholder[ 0 ] );\n\n\t\tif ( !this.cancelHelperRemoval ) {\n\t\t\tif ( this.helper[ 0 ] !== this.currentItem[ 0 ] ) {\n\t\t\t\tthis.helper.remove();\n\t\t\t}\n\t\t\tthis.helper = null;\n\t\t}\n\n\t\tif ( !noPropagation ) {\n\t\t\tfor ( i = 0; i < delayedTriggers.length; i++ ) {\n\n\t\t\t\t// Trigger all delayed events\n\t\t\t\tdelayedTriggers[ i ].call( this, event );\n\t\t\t}\n\t\t\tthis._trigger( \"stop\", event, this._uiHash() );\n\t\t}\n\n\t\tthis.fromOutside = false;\n\t\treturn !this.cancelHelperRemoval;\n\n\t},\n\n\t_trigger: function() {\n\t\tif ( $.Widget.prototype._trigger.apply( this, arguments ) === false ) {\n\t\t\tthis.cancel();\n\t\t}\n\t},\n\n\t_uiHash: function( _inst ) {\n\t\tvar inst = _inst || this;\n\t\treturn {\n\t\t\thelper: inst.helper,\n\t\t\tplaceholder: inst.placeholder || $( [] ),\n\t\t\tposition: inst.position,\n\t\t\toriginalPosition: inst.originalPosition,\n\t\t\toffset: inst.positionAbs,\n\t\t\titem: inst.currentItem,\n\t\t\tsender: _inst ? _inst.element : null\n\t\t};\n\t}\n\n} );\n\n\n// jscs:disable maximumLineLength\n/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */\n/*!\n * jQuery UI Datepicker 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Datepicker\n//>>group: Widgets\n//>>description: Displays a calendar from an input or inline for selecting dates.\n//>>docs: http://api.jqueryui.com/datepicker/\n//>>demos: http://jqueryui.com/datepicker/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/datepicker.css\n//>>css.theme: ../../themes/base/theme.css\n\n\n\n$.extend( $.ui, { datepicker: { version: \"1.12.1\" } } );\n\nvar datepicker_instActive;\n\nfunction datepicker_getZindex( elem ) {\n\tvar position, value;\n\twhile ( elem.length && elem[ 0 ] !== document ) {\n\n\t\t// Ignore z-index if position is set to a value where z-index is ignored by the browser\n\t\t// This makes behavior of this function consistent across browsers\n\t\t// WebKit always returns auto if the element is positioned\n\t\tposition = elem.css( \"position\" );\n\t\tif ( position === \"absolute\" || position === \"relative\" || position === \"fixed\" ) {\n\n\t\t\t// IE returns 0 when zIndex is not specified\n\t\t\t// other browsers return a string\n\t\t\t// we ignore the case of nested elements with an explicit value of 0\n\t\t\t// <div style=\"z-index: -10;\"><div style=\"z-index: 0;\"></div></div>\n\t\t\tvalue = parseInt( elem.css( \"zIndex\" ), 10 );\n\t\t\tif ( !isNaN( value ) && value !== 0 ) {\n\t\t\t\treturn value;\n\t\t\t}\n\t\t}\n\t\telem = elem.parent();\n\t}\n\n\treturn 0;\n}\n/* Date picker manager.\n Use the singleton instance of this class, $.datepicker, to interact with the date picker.\n Settings for (groups of) date pickers are maintained in an instance object,\n allowing multiple different settings on the same page. */\n\nfunction Datepicker() {\n\tthis._curInst = null; // The current instance in use\n\tthis._keyEvent = false; // If the last event was a key event\n\tthis._disabledInputs = []; // List of date picker inputs that have been disabled\n\tthis._datepickerShowing = false; // True if the popup picker is showing , false if not\n\tthis._inDialog = false; // True if showing within a \"dialog\", false if not\n\tthis._mainDivId = \"ui-datepicker-div\"; // The ID of the main datepicker division\n\tthis._inlineClass = \"ui-datepicker-inline\"; // The name of the inline marker class\n\tthis._appendClass = \"ui-datepicker-append\"; // The name of the append marker class\n\tthis._triggerClass = \"ui-datepicker-trigger\"; // The name of the trigger marker class\n\tthis._dialogClass = \"ui-datepicker-dialog\"; // The name of the dialog marker class\n\tthis._disableClass = \"ui-datepicker-disabled\"; // The name of the disabled covering marker class\n\tthis._unselectableClass = \"ui-datepicker-unselectable\"; // The name of the unselectable cell marker class\n\tthis._currentClass = \"ui-datepicker-current-day\"; // The name of the current day marker class\n\tthis._dayOverClass = \"ui-datepicker-days-cell-over\"; // The name of the day hover marker class\n\tthis.regional = []; // Available regional settings, indexed by language code\n\tthis.regional[ \"\" ] = { // Default regional settings\n\t\tcloseText: \"Done\", // Display text for close link\n\t\tprevText: \"Prev\", // Display text for previous month link\n\t\tnextText: \"Next\", // Display text for next month link\n\t\tcurrentText: \"Today\", // Display text for current month link\n\t\tmonthNames: [ \"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\n\t\t\t\"July\",\"August\",\"September\",\"October\",\"November\",\"December\" ], // Names of months for drop-down and formatting\n\t\tmonthNamesShort: [ \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\" ], // For formatting\n\t\tdayNames: [ \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\" ], // For formatting\n\t\tdayNamesShort: [ \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\" ], // For formatting\n\t\tdayNamesMin: [ \"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\" ], // Column headings for days starting at Sunday\n\t\tweekHeader: \"Wk\", // Column header for week of the year\n\t\tdateFormat: \"mm/dd/yy\", // See format options on parseDate\n\t\tfirstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...\n\t\tisRTL: false, // True if right-to-left language, false if left-to-right\n\t\tshowMonthAfterYear: false, // True if the year select precedes month, false for month then year\n\t\tyearSuffix: \"\" // Additional text to append to the year in the month headers\n\t};\n\tthis._defaults = { // Global defaults for all the date picker instances\n\t\tshowOn: \"focus\", // \"focus\" for popup on focus,\n\t\t\t// \"button\" for trigger button, or \"both\" for either\n\t\tshowAnim: \"fadeIn\", // Name of jQuery animation for popup\n\t\tshowOptions: {}, // Options for enhanced animations\n\t\tdefaultDate: null, // Used when field is blank: actual date,\n\t\t\t// +/-number for offset from today, null for today\n\t\tappendText: \"\", // Display text following the input box, e.g. showing the format\n\t\tbuttonText: \"...\", // Text for trigger button\n\t\tbuttonImage: \"\", // URL for trigger button image\n\t\tbuttonImageOnly: false, // True if the image appears alone, false if it appears on a button\n\t\thideIfNoPrevNext: false, // True to hide next/previous month links\n\t\t\t// if not applicable, false to just disable them\n\t\tnavigationAsDateFormat: false, // True if date formatting applied to prev/today/next links\n\t\tgotoCurrent: false, // True if today link goes back to current selection instead\n\t\tchangeMonth: false, // True if month can be selected directly, false if only prev/next\n\t\tchangeYear: false, // True if year can be selected directly, false if only prev/next\n\t\tyearRange: \"c-10:c+10\", // Range of years to display in drop-down,\n\t\t\t// either relative to today's year (-nn:+nn), relative to currently displayed year\n\t\t\t// (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)\n\t\tshowOtherMonths: false, // True to show dates in other months, false to leave blank\n\t\tselectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable\n\t\tshowWeek: false, // True to show week of the year, false to not show it\n\t\tcalculateWeek: this.iso8601Week, // How to calculate the week of the year,\n\t\t\t// takes a Date and returns the number of the week for it\n\t\tshortYearCutoff: \"+10\", // Short year values < this are in the current century,\n\t\t\t// > this are in the previous century,\n\t\t\t// string value starting with \"+\" for current year + value\n\t\tminDate: null, // The earliest selectable date, or null for no limit\n\t\tmaxDate: null, // The latest selectable date, or null for no limit\n\t\tduration: \"fast\", // Duration of display/closure\n\t\tbeforeShowDay: null, // Function that takes a date and returns an array with\n\t\t\t// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or \"\",\n\t\t\t// [2] = cell title (optional), e.g. $.datepicker.noWeekends\n\t\tbeforeShow: null, // Function that takes an input field and\n\t\t\t// returns a set of custom settings for the date picker\n\t\tonSelect: null, // Define a callback function when a date is selected\n\t\tonChangeMonthYear: null, // Define a callback function when the month or year is changed\n\t\tonClose: null, // Define a callback function when the datepicker is closed\n\t\tnumberOfMonths: 1, // Number of months to show at a time\n\t\tshowCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)\n\t\tstepMonths: 1, // Number of months to step back/forward\n\t\tstepBigMonths: 12, // Number of months to step back/forward for the big links\n\t\taltField: \"\", // Selector for an alternate field to store selected dates into\n\t\taltFormat: \"\", // The date format to use for the alternate field\n\t\tconstrainInput: true, // The input is constrained by the current date format\n\t\tshowButtonPanel: false, // True to show button panel, false to not show it\n\t\tautoSize: false, // True to size the input for the date format, false to leave as is\n\t\tdisabled: false // The initial disabled state\n\t};\n\t$.extend( this._defaults, this.regional[ \"\" ] );\n\tthis.regional.en = $.extend( true, {}, this.regional[ \"\" ] );\n\tthis.regional[ \"en-US\" ] = $.extend( true, {}, this.regional.en );\n\tthis.dpDiv = datepicker_bindHover( $( \"<div id='\" + this._mainDivId + \"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\" ) );\n}\n\n$.extend( Datepicker.prototype, {\n\t/* Class name added to elements to indicate already configured with a date picker. */\n\tmarkerClassName: \"hasDatepicker\",\n\n\t//Keep track of the maximum number of rows displayed (see #7043)\n\tmaxRows: 4,\n\n\t// TODO rename to \"widget\" when switching to widget factory\n\t_widgetDatepicker: function() {\n\t\treturn this.dpDiv;\n\t},\n\n\t/* Override the default settings for all instances of the date picker.\n\t * @param settings object - the new settings to use as defaults (anonymous object)\n\t * @return the manager object\n\t */\n\tsetDefaults: function( settings ) {\n\t\tdatepicker_extendRemove( this._defaults, settings || {} );\n\t\treturn this;\n\t},\n\n\t/* Attach the date picker to a jQuery selection.\n\t * @param target\telement - the target input field or division or span\n\t * @param settings object - the new settings to use for this date picker instance (anonymous)\n\t */\n\t_attachDatepicker: function( target, settings ) {\n\t\tvar nodeName, inline, inst;\n\t\tnodeName = target.nodeName.toLowerCase();\n\t\tinline = ( nodeName === \"div\" || nodeName === \"span\" );\n\t\tif ( !target.id ) {\n\t\t\tthis.uuid += 1;\n\t\t\ttarget.id = \"dp\" + this.uuid;\n\t\t}\n\t\tinst = this._newInst( $( target ), inline );\n\t\tinst.settings = $.extend( {}, settings || {} );\n\t\tif ( nodeName === \"input\" ) {\n\t\t\tthis._connectDatepicker( target, inst );\n\t\t} else if ( inline ) {\n\t\t\tthis._inlineDatepicker( target, inst );\n\t\t}\n\t},\n\n\t/* Create a new instance object. */\n\t_newInst: function( target, inline ) {\n\t\tvar id = target[ 0 ].id.replace( /([^A-Za-z0-9_\\-])/g, \"\\\\\\\\$1\" ); // escape jQuery meta chars\n\t\treturn { id: id, input: target, // associated target\n\t\t\tselectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection\n\t\t\tdrawMonth: 0, drawYear: 0, // month being drawn\n\t\t\tinline: inline, // is datepicker inline or not\n\t\t\tdpDiv: ( !inline ? this.dpDiv : // presentation div\n\t\t\tdatepicker_bindHover( $( \"<div class='\" + this._inlineClass + \" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>\" ) ) ) };\n\t},\n\n\t/* Attach the date picker to an input field. */\n\t_connectDatepicker: function( target, inst ) {\n\t\tvar input = $( target );\n\t\tinst.append = $( [] );\n\t\tinst.trigger = $( [] );\n\t\tif ( input.hasClass( this.markerClassName ) ) {\n\t\t\treturn;\n\t\t}\n\t\tthis._attachments( input, inst );\n\t\tinput.addClass( this.markerClassName ).on( \"keydown\", this._doKeyDown ).\n\t\t\ton( \"keypress\", this._doKeyPress ).on( \"keyup\", this._doKeyUp );\n\t\tthis._autoSize( inst );\n\t\t$.data( target, \"datepicker\", inst );\n\n\t\t//If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)\n\t\tif ( inst.settings.disabled ) {\n\t\t\tthis._disableDatepicker( target );\n\t\t}\n\t},\n\n\t/* Make attachments based on settings. */\n\t_attachments: function( input, inst ) {\n\t\tvar showOn, buttonText, buttonImage,\n\t\t\tappendText = this._get( inst, \"appendText\" ),\n\t\t\tisRTL = this._get( inst, \"isRTL\" );\n\n\t\tif ( inst.append ) {\n\t\t\tinst.append.remove();\n\t\t}\n\t\tif ( appendText ) {\n\t\t\tinst.append = $( \"<span class='\" + this._appendClass + \"'>\" + appendText + \"</span>\" );\n\t\t\tinput[ isRTL ? \"before\" : \"after\" ]( inst.append );\n\t\t}\n\n\t\tinput.off( \"focus\", this._showDatepicker );\n\n\t\tif ( inst.trigger ) {\n\t\t\tinst.trigger.remove();\n\t\t}\n\n\t\tshowOn = this._get( inst, \"showOn\" );\n\t\tif ( showOn === \"focus\" || showOn === \"both\" ) { // pop-up date picker when in the marked field\n\t\t\tinput.on( \"focus\", this._showDatepicker );\n\t\t}\n\t\tif ( showOn === \"button\" || showOn === \"both\" ) { // pop-up date picker when button clicked\n\t\t\tbuttonText = this._get( inst, \"buttonText\" );\n\t\t\tbuttonImage = this._get( inst, \"buttonImage\" );\n\t\t\tinst.trigger = $( this._get( inst, \"buttonImageOnly\" ) ?\n\t\t\t\t$( \"<img/>\" ).addClass( this._triggerClass ).\n\t\t\t\t\tattr( { src: buttonImage, alt: buttonText, title: buttonText } ) :\n\t\t\t\t$( \"<button type='button'></button>\" ).addClass( this._triggerClass ).\n\t\t\t\t\thtml( !buttonImage ? buttonText : $( \"<img/>\" ).attr(\n\t\t\t\t\t{ src:buttonImage, alt:buttonText, title:buttonText } ) ) );\n\t\t\tinput[ isRTL ? \"before\" : \"after\" ]( inst.trigger );\n\t\t\tinst.trigger.on( \"click\", function() {\n\t\t\t\tif ( $.datepicker._datepickerShowing && $.datepicker._lastInput === input[ 0 ] ) {\n\t\t\t\t\t$.datepicker._hideDatepicker();\n\t\t\t\t} else if ( $.datepicker._datepickerShowing && $.datepicker._lastInput !== input[ 0 ] ) {\n\t\t\t\t\t$.datepicker._hideDatepicker();\n\t\t\t\t\t$.datepicker._showDatepicker( input[ 0 ] );\n\t\t\t\t} else {\n\t\t\t\t\t$.datepicker._showDatepicker( input[ 0 ] );\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t} );\n\t\t}\n\t},\n\n\t/* Apply the maximum length for the date format. */\n\t_autoSize: function( inst ) {\n\t\tif ( this._get( inst, \"autoSize\" ) && !inst.inline ) {\n\t\t\tvar findMax, max, maxI, i,\n\t\t\t\tdate = new Date( 2009, 12 - 1, 20 ), // Ensure double digits\n\t\t\t\tdateFormat = this._get( inst, \"dateFormat\" );\n\n\t\t\tif ( dateFormat.match( /[DM]/ ) ) {\n\t\t\t\tfindMax = function( names ) {\n\t\t\t\t\tmax = 0;\n\t\t\t\t\tmaxI = 0;\n\t\t\t\t\tfor ( i = 0; i < names.length; i++ ) {\n\t\t\t\t\t\tif ( names[ i ].length > max ) {\n\t\t\t\t\t\t\tmax = names[ i ].length;\n\t\t\t\t\t\t\tmaxI = i;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn maxI;\n\t\t\t\t};\n\t\t\t\tdate.setMonth( findMax( this._get( inst, ( dateFormat.match( /MM/ ) ?\n\t\t\t\t\t\"monthNames\" : \"monthNamesShort\" ) ) ) );\n\t\t\t\tdate.setDate( findMax( this._get( inst, ( dateFormat.match( /DD/ ) ?\n\t\t\t\t\t\"dayNames\" : \"dayNamesShort\" ) ) ) + 20 - date.getDay() );\n\t\t\t}\n\t\t\tinst.input.attr( \"size\", this._formatDate( inst, date ).length );\n\t\t}\n\t},\n\n\t/* Attach an inline date picker to a div. */\n\t_inlineDatepicker: function( target, inst ) {\n\t\tvar divSpan = $( target );\n\t\tif ( divSpan.hasClass( this.markerClassName ) ) {\n\t\t\treturn;\n\t\t}\n\t\tdivSpan.addClass( this.markerClassName ).append( inst.dpDiv );\n\t\t$.data( target, \"datepicker\", inst );\n\t\tthis._setDate( inst, this._getDefaultDate( inst ), true );\n\t\tthis._updateDatepicker( inst );\n\t\tthis._updateAlternate( inst );\n\n\t\t//If disabled option is true, disable the datepicker before showing it (see ticket #5665)\n\t\tif ( inst.settings.disabled ) {\n\t\t\tthis._disableDatepicker( target );\n\t\t}\n\n\t\t// Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements\n\t\t// http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height\n\t\tinst.dpDiv.css( \"display\", \"block\" );\n\t},\n\n\t/* Pop-up the date picker in a \"dialog\" box.\n\t * @param input element - ignored\n\t * @param date\tstring or Date - the initial date to display\n\t * @param onSelect function - the function to call when a date is selected\n\t * @param settings object - update the dialog date picker instance's settings (anonymous object)\n\t * @param pos int[2] - coordinates for the dialog's position within the screen or\n\t *\t\t\t\t\tevent - with x/y coordinates or\n\t *\t\t\t\t\tleave empty for default (screen centre)\n\t * @return the manager object\n\t */\n\t_dialogDatepicker: function( input, date, onSelect, settings, pos ) {\n\t\tvar id, browserWidth, browserHeight, scrollX, scrollY,\n\t\t\tinst = this._dialogInst; // internal instance\n\n\t\tif ( !inst ) {\n\t\t\tthis.uuid += 1;\n\t\t\tid = \"dp\" + this.uuid;\n\t\t\tthis._dialogInput = $( \"<input type='text' id='\" + id +\n\t\t\t\t\"' style='position: absolute; top: -100px; width: 0px;'/>\" );\n\t\t\tthis._dialogInput.on( \"keydown\", this._doKeyDown );\n\t\t\t$( \"body\" ).append( this._dialogInput );\n\t\t\tinst = this._dialogInst = this._newInst( this._dialogInput, false );\n\t\t\tinst.settings = {};\n\t\t\t$.data( this._dialogInput[ 0 ], \"datepicker\", inst );\n\t\t}\n\t\tdatepicker_extendRemove( inst.settings, settings || {} );\n\t\tdate = ( date && date.constructor === Date ? this._formatDate( inst, date ) : date );\n\t\tthis._dialogInput.val( date );\n\n\t\tthis._pos = ( pos ? ( pos.length ? pos : [ pos.pageX, pos.pageY ] ) : null );\n\t\tif ( !this._pos ) {\n\t\t\tbrowserWidth = document.documentElement.clientWidth;\n\t\t\tbrowserHeight = document.documentElement.clientHeight;\n\t\t\tscrollX = document.documentElement.scrollLeft || document.body.scrollLeft;\n\t\t\tscrollY = document.documentElement.scrollTop || document.body.scrollTop;\n\t\t\tthis._pos = // should use actual width/height below\n\t\t\t\t[ ( browserWidth / 2 ) - 100 + scrollX, ( browserHeight / 2 ) - 150 + scrollY ];\n\t\t}\n\n\t\t// Move input on screen for focus, but hidden behind dialog\n\t\tthis._dialogInput.css( \"left\", ( this._pos[ 0 ] + 20 ) + \"px\" ).css( \"top\", this._pos[ 1 ] + \"px\" );\n\t\tinst.settings.onSelect = onSelect;\n\t\tthis._inDialog = true;\n\t\tthis.dpDiv.addClass( this._dialogClass );\n\t\tthis._showDatepicker( this._dialogInput[ 0 ] );\n\t\tif ( $.blockUI ) {\n\t\t\t$.blockUI( this.dpDiv );\n\t\t}\n\t\t$.data( this._dialogInput[ 0 ], \"datepicker\", inst );\n\t\treturn this;\n\t},\n\n\t/* Detach a datepicker from its control.\n\t * @param target\telement - the target input field or division or span\n\t */\n\t_destroyDatepicker: function( target ) {\n\t\tvar nodeName,\n\t\t\t$target = $( target ),\n\t\t\tinst = $.data( target, \"datepicker\" );\n\n\t\tif ( !$target.hasClass( this.markerClassName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tnodeName = target.nodeName.toLowerCase();\n\t\t$.removeData( target, \"datepicker\" );\n\t\tif ( nodeName === \"input\" ) {\n\t\t\tinst.append.remove();\n\t\t\tinst.trigger.remove();\n\t\t\t$target.removeClass( this.markerClassName ).\n\t\t\t\toff( \"focus\", this._showDatepicker ).\n\t\t\t\toff( \"keydown\", this._doKeyDown ).\n\t\t\t\toff( \"keypress\", this._doKeyPress ).\n\t\t\t\toff( \"keyup\", this._doKeyUp );\n\t\t} else if ( nodeName === \"div\" || nodeName === \"span\" ) {\n\t\t\t$target.removeClass( this.markerClassName ).empty();\n\t\t}\n\n\t\tif ( datepicker_instActive === inst ) {\n\t\t\tdatepicker_instActive = null;\n\t\t}\n\t},\n\n\t/* Enable the date picker to a jQuery selection.\n\t * @param target\telement - the target input field or division or span\n\t */\n\t_enableDatepicker: function( target ) {\n\t\tvar nodeName, inline,\n\t\t\t$target = $( target ),\n\t\t\tinst = $.data( target, \"datepicker\" );\n\n\t\tif ( !$target.hasClass( this.markerClassName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tnodeName = target.nodeName.toLowerCase();\n\t\tif ( nodeName === \"input\" ) {\n\t\t\ttarget.disabled = false;\n\t\t\tinst.trigger.filter( \"button\" ).\n\t\t\t\teach( function() { this.disabled = false; } ).end().\n\t\t\t\tfilter( \"img\" ).css( { opacity: \"1.0\", cursor: \"\" } );\n\t\t} else if ( nodeName === \"div\" || nodeName === \"span\" ) {\n\t\t\tinline = $target.children( \".\" + this._inlineClass );\n\t\t\tinline.children().removeClass( \"ui-state-disabled\" );\n\t\t\tinline.find( \"select.ui-datepicker-month, select.ui-datepicker-year\" ).\n\t\t\t\tprop( \"disabled\", false );\n\t\t}\n\t\tthis._disabledInputs = $.map( this._disabledInputs,\n\t\t\tfunction( value ) { return ( value === target ? null : value ); } ); // delete entry\n\t},\n\n\t/* Disable the date picker to a jQuery selection.\n\t * @param target\telement - the target input field or division or span\n\t */\n\t_disableDatepicker: function( target ) {\n\t\tvar nodeName, inline,\n\t\t\t$target = $( target ),\n\t\t\tinst = $.data( target, \"datepicker\" );\n\n\t\tif ( !$target.hasClass( this.markerClassName ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tnodeName = target.nodeName.toLowerCase();\n\t\tif ( nodeName === \"input\" ) {\n\t\t\ttarget.disabled = true;\n\t\t\tinst.trigger.filter( \"button\" ).\n\t\t\t\teach( function() { this.disabled = true; } ).end().\n\t\t\t\tfilter( \"img\" ).css( { opacity: \"0.5\", cursor: \"default\" } );\n\t\t} else if ( nodeName === \"div\" || nodeName === \"span\" ) {\n\t\t\tinline = $target.children( \".\" + this._inlineClass );\n\t\t\tinline.children().addClass( \"ui-state-disabled\" );\n\t\t\tinline.find( \"select.ui-datepicker-month, select.ui-datepicker-year\" ).\n\t\t\t\tprop( \"disabled\", true );\n\t\t}\n\t\tthis._disabledInputs = $.map( this._disabledInputs,\n\t\t\tfunction( value ) { return ( value === target ? null : value ); } ); // delete entry\n\t\tthis._disabledInputs[ this._disabledInputs.length ] = target;\n\t},\n\n\t/* Is the first field in a jQuery collection disabled as a datepicker?\n\t * @param target\telement - the target input field or division or span\n\t * @return boolean - true if disabled, false if enabled\n\t */\n\t_isDisabledDatepicker: function( target ) {\n\t\tif ( !target ) {\n\t\t\treturn false;\n\t\t}\n\t\tfor ( var i = 0; i < this._disabledInputs.length; i++ ) {\n\t\t\tif ( this._disabledInputs[ i ] === target ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t},\n\n\t/* Retrieve the instance data for the target control.\n\t * @param target element - the target input field or division or span\n\t * @return object - the associated instance data\n\t * @throws error if a jQuery problem getting data\n\t */\n\t_getInst: function( target ) {\n\t\ttry {\n\t\t\treturn $.data( target, \"datepicker\" );\n\t\t}\n\t\tcatch ( err ) {\n\t\t\tthrow \"Missing instance data for this datepicker\";\n\t\t}\n\t},\n\n\t/* Update or retrieve the settings for a date picker attached to an input field or division.\n\t * @param target element - the target input field or division or span\n\t * @param name\tobject - the new settings to update or\n\t *\t\t\t\tstring - the name of the setting to change or retrieve,\n\t *\t\t\t\twhen retrieving also \"all\" for all instance settings or\n\t *\t\t\t\t\"defaults\" for all global defaults\n\t * @param value any - the new value for the setting\n\t *\t\t\t\t(omit if above is an object or to retrieve a value)\n\t */\n\t_optionDatepicker: function( target, name, value ) {\n\t\tvar settings, date, minDate, maxDate,\n\t\t\tinst = this._getInst( target );\n\n\t\tif ( arguments.length === 2 && typeof name === \"string\" ) {\n\t\t\treturn ( name === \"defaults\" ? $.extend( {}, $.datepicker._defaults ) :\n\t\t\t\t( inst ? ( name === \"all\" ? $.extend( {}, inst.settings ) :\n\t\t\t\tthis._get( inst, name ) ) : null ) );\n\t\t}\n\n\t\tsettings = name || {};\n\t\tif ( typeof name === \"string\" ) {\n\t\t\tsettings = {};\n\t\t\tsettings[ name ] = value;\n\t\t}\n\n\t\tif ( inst ) {\n\t\t\tif ( this._curInst === inst ) {\n\t\t\t\tthis._hideDatepicker();\n\t\t\t}\n\n\t\t\tdate = this._getDateDatepicker( target, true );\n\t\t\tminDate = this._getMinMaxDate( inst, \"min\" );\n\t\t\tmaxDate = this._getMinMaxDate( inst, \"max\" );\n\t\t\tdatepicker_extendRemove( inst.settings, settings );\n\n\t\t\t// reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided\n\t\t\tif ( minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined ) {\n\t\t\t\tinst.settings.minDate = this._formatDate( inst, minDate );\n\t\t\t}\n\t\t\tif ( maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined ) {\n\t\t\t\tinst.settings.maxDate = this._formatDate( inst, maxDate );\n\t\t\t}\n\t\t\tif ( \"disabled\" in settings ) {\n\t\t\t\tif ( settings.disabled ) {\n\t\t\t\t\tthis._disableDatepicker( target );\n\t\t\t\t} else {\n\t\t\t\t\tthis._enableDatepicker( target );\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._attachments( $( target ), inst );\n\t\t\tthis._autoSize( inst );\n\t\t\tthis._setDate( inst, date );\n\t\t\tthis._updateAlternate( inst );\n\t\t\tthis._updateDatepicker( inst );\n\t\t}\n\t},\n\n\t// Change method deprecated\n\t_changeDatepicker: function( target, name, value ) {\n\t\tthis._optionDatepicker( target, name, value );\n\t},\n\n\t/* Redraw the date picker attached to an input field or division.\n\t * @param target element - the target input field or division or span\n\t */\n\t_refreshDatepicker: function( target ) {\n\t\tvar inst = this._getInst( target );\n\t\tif ( inst ) {\n\t\t\tthis._updateDatepicker( inst );\n\t\t}\n\t},\n\n\t/* Set the dates for a jQuery selection.\n\t * @param target element - the target input field or division or span\n\t * @param date\tDate - the new date\n\t */\n\t_setDateDatepicker: function( target, date ) {\n\t\tvar inst = this._getInst( target );\n\t\tif ( inst ) {\n\t\t\tthis._setDate( inst, date );\n\t\t\tthis._updateDatepicker( inst );\n\t\t\tthis._updateAlternate( inst );\n\t\t}\n\t},\n\n\t/* Get the date(s) for the first entry in a jQuery selection.\n\t * @param target element - the target input field or division or span\n\t * @param noDefault boolean - true if no default date is to be used\n\t * @return Date - the current date\n\t */\n\t_getDateDatepicker: function( target, noDefault ) {\n\t\tvar inst = this._getInst( target );\n\t\tif ( inst && !inst.inline ) {\n\t\t\tthis._setDateFromField( inst, noDefault );\n\t\t}\n\t\treturn ( inst ? this._getDate( inst ) : null );\n\t},\n\n\t/* Handle keystrokes. */\n\t_doKeyDown: function( event ) {\n\t\tvar onSelect, dateStr, sel,\n\t\t\tinst = $.datepicker._getInst( event.target ),\n\t\t\thandled = true,\n\t\t\tisRTL = inst.dpDiv.is( \".ui-datepicker-rtl\" );\n\n\t\tinst._keyEvent = true;\n\t\tif ( $.datepicker._datepickerShowing ) {\n\t\t\tswitch ( event.keyCode ) {\n\t\t\t\tcase 9: $.datepicker._hideDatepicker();\n\t\t\t\t\t\thandled = false;\n\t\t\t\t\t\tbreak; // hide on tab out\n\t\t\t\tcase 13: sel = $( \"td.\" + $.datepicker._dayOverClass + \":not(.\" +\n\t\t\t\t\t\t\t\t\t$.datepicker._currentClass + \")\", inst.dpDiv );\n\t\t\t\t\t\tif ( sel[ 0 ] ) {\n\t\t\t\t\t\t\t$.datepicker._selectDay( event.target, inst.selectedMonth, inst.selectedYear, sel[ 0 ] );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tonSelect = $.datepicker._get( inst, \"onSelect\" );\n\t\t\t\t\t\tif ( onSelect ) {\n\t\t\t\t\t\t\tdateStr = $.datepicker._formatDate( inst );\n\n\t\t\t\t\t\t\t// Trigger custom callback\n\t\t\t\t\t\t\tonSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$.datepicker._hideDatepicker();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn false; // don't submit the form\n\t\t\t\tcase 27: $.datepicker._hideDatepicker();\n\t\t\t\t\t\tbreak; // hide on escape\n\t\t\t\tcase 33: $.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n\t\t\t\t\t\t\t-$.datepicker._get( inst, \"stepBigMonths\" ) :\n\t\t\t\t\t\t\t-$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n\t\t\t\t\t\tbreak; // previous month/year on page up/+ ctrl\n\t\t\t\tcase 34: $.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n\t\t\t\t\t\t\t+$.datepicker._get( inst, \"stepBigMonths\" ) :\n\t\t\t\t\t\t\t+$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n\t\t\t\t\t\tbreak; // next month/year on page down/+ ctrl\n\t\t\t\tcase 35: if ( event.ctrlKey || event.metaKey ) {\n\t\t\t\t\t\t\t$.datepicker._clearDate( event.target );\n\t\t\t\t\t\t}\n\t\t\t\t\t\thandled = event.ctrlKey || event.metaKey;\n\t\t\t\t\t\tbreak; // clear on ctrl or command +end\n\t\t\t\tcase 36: if ( event.ctrlKey || event.metaKey ) {\n\t\t\t\t\t\t\t$.datepicker._gotoToday( event.target );\n\t\t\t\t\t\t}\n\t\t\t\t\t\thandled = event.ctrlKey || event.metaKey;\n\t\t\t\t\t\tbreak; // current on ctrl or command +home\n\t\t\t\tcase 37: if ( event.ctrlKey || event.metaKey ) {\n\t\t\t\t\t\t\t$.datepicker._adjustDate( event.target, ( isRTL ? +1 : -1 ), \"D\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t\thandled = event.ctrlKey || event.metaKey;\n\n\t\t\t\t\t\t// -1 day on ctrl or command +left\n\t\t\t\t\t\tif ( event.originalEvent.altKey ) {\n\t\t\t\t\t\t\t$.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n\t\t\t\t\t\t\t\t-$.datepicker._get( inst, \"stepBigMonths\" ) :\n\t\t\t\t\t\t\t\t-$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// next month/year on alt +left on Mac\n\t\t\t\t\t\tbreak;\n\t\t\t\tcase 38: if ( event.ctrlKey || event.metaKey ) {\n\t\t\t\t\t\t\t$.datepicker._adjustDate( event.target, -7, \"D\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t\thandled = event.ctrlKey || event.metaKey;\n\t\t\t\t\t\tbreak; // -1 week on ctrl or command +up\n\t\t\t\tcase 39: if ( event.ctrlKey || event.metaKey ) {\n\t\t\t\t\t\t\t$.datepicker._adjustDate( event.target, ( isRTL ? -1 : +1 ), \"D\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t\thandled = event.ctrlKey || event.metaKey;\n\n\t\t\t\t\t\t// +1 day on ctrl or command +right\n\t\t\t\t\t\tif ( event.originalEvent.altKey ) {\n\t\t\t\t\t\t\t$.datepicker._adjustDate( event.target, ( event.ctrlKey ?\n\t\t\t\t\t\t\t\t+$.datepicker._get( inst, \"stepBigMonths\" ) :\n\t\t\t\t\t\t\t\t+$.datepicker._get( inst, \"stepMonths\" ) ), \"M\" );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// next month/year on alt +right\n\t\t\t\t\t\tbreak;\n\t\t\t\tcase 40: if ( event.ctrlKey || event.metaKey ) {\n\t\t\t\t\t\t\t$.datepicker._adjustDate( event.target, +7, \"D\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t\thandled = event.ctrlKey || event.metaKey;\n\t\t\t\t\t\tbreak; // +1 week on ctrl or command +down\n\t\t\t\tdefault: handled = false;\n\t\t\t}\n\t\t} else if ( event.keyCode === 36 && event.ctrlKey ) { // display the date picker on ctrl+home\n\t\t\t$.datepicker._showDatepicker( this );\n\t\t} else {\n\t\t\thandled = false;\n\t\t}\n\n\t\tif ( handled ) {\n\t\t\tevent.preventDefault();\n\t\t\tevent.stopPropagation();\n\t\t}\n\t},\n\n\t/* Filter entered characters - based on date format. */\n\t_doKeyPress: function( event ) {\n\t\tvar chars, chr,\n\t\t\tinst = $.datepicker._getInst( event.target );\n\n\t\tif ( $.datepicker._get( inst, \"constrainInput\" ) ) {\n\t\t\tchars = $.datepicker._possibleChars( $.datepicker._get( inst, \"dateFormat\" ) );\n\t\t\tchr = String.fromCharCode( event.charCode == null ? event.keyCode : event.charCode );\n\t\t\treturn event.ctrlKey || event.metaKey || ( chr < \" \" || !chars || chars.indexOf( chr ) > -1 );\n\t\t}\n\t},\n\n\t/* Synchronise manual entry and field/alternate field. */\n\t_doKeyUp: function( event ) {\n\t\tvar date,\n\t\t\tinst = $.datepicker._getInst( event.target );\n\n\t\tif ( inst.input.val() !== inst.lastVal ) {\n\t\t\ttry {\n\t\t\t\tdate = $.datepicker.parseDate( $.datepicker._get( inst, \"dateFormat\" ),\n\t\t\t\t\t( inst.input ? inst.input.val() : null ),\n\t\t\t\t\t$.datepicker._getFormatConfig( inst ) );\n\n\t\t\t\tif ( date ) { // only if valid\n\t\t\t\t\t$.datepicker._setDateFromField( inst );\n\t\t\t\t\t$.datepicker._updateAlternate( inst );\n\t\t\t\t\t$.datepicker._updateDatepicker( inst );\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch ( err ) {\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t},\n\n\t/* Pop-up the date picker for a given input field.\n\t * If false returned from beforeShow event handler do not show.\n\t * @param input element - the input field attached to the date picker or\n\t *\t\t\t\t\tevent - if triggered by focus\n\t */\n\t_showDatepicker: function( input ) {\n\t\tinput = input.target || input;\n\t\tif ( input.nodeName.toLowerCase() !== \"input\" ) { // find from button/image trigger\n\t\t\tinput = $( \"input\", input.parentNode )[ 0 ];\n\t\t}\n\n\t\tif ( $.datepicker._isDisabledDatepicker( input ) || $.datepicker._lastInput === input ) { // already here\n\t\t\treturn;\n\t\t}\n\n\t\tvar inst, beforeShow, beforeShowSettings, isFixed,\n\t\t\toffset, showAnim, duration;\n\n\t\tinst = $.datepicker._getInst( input );\n\t\tif ( $.datepicker._curInst && $.datepicker._curInst !== inst ) {\n\t\t\t$.datepicker._curInst.dpDiv.stop( true, true );\n\t\t\tif ( inst && $.datepicker._datepickerShowing ) {\n\t\t\t\t$.datepicker._hideDatepicker( $.datepicker._curInst.input[ 0 ] );\n\t\t\t}\n\t\t}\n\n\t\tbeforeShow = $.datepicker._get( inst, \"beforeShow\" );\n\t\tbeforeShowSettings = beforeShow ? beforeShow.apply( input, [ input, inst ] ) : {};\n\t\tif ( beforeShowSettings === false ) {\n\t\t\treturn;\n\t\t}\n\t\tdatepicker_extendRemove( inst.settings, beforeShowSettings );\n\n\t\tinst.lastVal = null;\n\t\t$.datepicker._lastInput = input;\n\t\t$.datepicker._setDateFromField( inst );\n\n\t\tif ( $.datepicker._inDialog ) { // hide cursor\n\t\t\tinput.value = \"\";\n\t\t}\n\t\tif ( !$.datepicker._pos ) { // position below input\n\t\t\t$.datepicker._pos = $.datepicker._findPos( input );\n\t\t\t$.datepicker._pos[ 1 ] += input.offsetHeight; // add the height\n\t\t}\n\n\t\tisFixed = false;\n\t\t$( input ).parents().each( function() {\n\t\t\tisFixed |= $( this ).css( \"position\" ) === \"fixed\";\n\t\t\treturn !isFixed;\n\t\t} );\n\n\t\toffset = { left: $.datepicker._pos[ 0 ], top: $.datepicker._pos[ 1 ] };\n\t\t$.datepicker._pos = null;\n\n\t\t//to avoid flashes on Firefox\n\t\tinst.dpDiv.empty();\n\n\t\t// determine sizing offscreen\n\t\tinst.dpDiv.css( { position: \"absolute\", display: \"block\", top: \"-1000px\" } );\n\t\t$.datepicker._updateDatepicker( inst );\n\n\t\t// fix width for dynamic number of date pickers\n\t\t// and adjust position before showing\n\t\toffset = $.datepicker._checkOffset( inst, offset, isFixed );\n\t\tinst.dpDiv.css( { position: ( $.datepicker._inDialog && $.blockUI ?\n\t\t\t\"static\" : ( isFixed ? \"fixed\" : \"absolute\" ) ), display: \"none\",\n\t\t\tleft: offset.left + \"px\", top: offset.top + \"px\" } );\n\n\t\tif ( !inst.inline ) {\n\t\t\tshowAnim = $.datepicker._get( inst, \"showAnim\" );\n\t\t\tduration = $.datepicker._get( inst, \"duration\" );\n\t\t\tinst.dpDiv.css( \"z-index\", datepicker_getZindex( $( input ) ) + 1 );\n\t\t\t$.datepicker._datepickerShowing = true;\n\n\t\t\tif ( $.effects && $.effects.effect[ showAnim ] ) {\n\t\t\t\tinst.dpDiv.show( showAnim, $.datepicker._get( inst, \"showOptions\" ), duration );\n\t\t\t} else {\n\t\t\t\tinst.dpDiv[ showAnim || \"show\" ]( showAnim ? duration : null );\n\t\t\t}\n\n\t\t\tif ( $.datepicker._shouldFocusInput( inst ) ) {\n\t\t\t\tinst.input.trigger( \"focus\" );\n\t\t\t}\n\n\t\t\t$.datepicker._curInst = inst;\n\t\t}\n\t},\n\n\t/* Generate the date picker content. */\n\t_updateDatepicker: function( inst ) {\n\t\tthis.maxRows = 4; //Reset the max number of rows being displayed (see #7043)\n\t\tdatepicker_instActive = inst; // for delegate hover events\n\t\tinst.dpDiv.empty().append( this._generateHTML( inst ) );\n\t\tthis._attachHandlers( inst );\n\n\t\tvar origyearshtml,\n\t\t\tnumMonths = this._getNumberOfMonths( inst ),\n\t\t\tcols = numMonths[ 1 ],\n\t\t\twidth = 17,\n\t\t\tactiveCell = inst.dpDiv.find( \".\" + this._dayOverClass + \" a\" );\n\n\t\tif ( activeCell.length > 0 ) {\n\t\t\tdatepicker_handleMouseover.apply( activeCell.get( 0 ) );\n\t\t}\n\n\t\tinst.dpDiv.removeClass( \"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\" ).width( \"\" );\n\t\tif ( cols > 1 ) {\n\t\t\tinst.dpDiv.addClass( \"ui-datepicker-multi-\" + cols ).css( \"width\", ( width * cols ) + \"em\" );\n\t\t}\n\t\tinst.dpDiv[ ( numMonths[ 0 ] !== 1 || numMonths[ 1 ] !== 1 ? \"add\" : \"remove\" ) +\n\t\t\t\"Class\" ]( \"ui-datepicker-multi\" );\n\t\tinst.dpDiv[ ( this._get( inst, \"isRTL\" ) ? \"add\" : \"remove\" ) +\n\t\t\t\"Class\" ]( \"ui-datepicker-rtl\" );\n\n\t\tif ( inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) {\n\t\t\tinst.input.trigger( \"focus\" );\n\t\t}\n\n\t\t// Deffered render of the years select (to avoid flashes on Firefox)\n\t\tif ( inst.yearshtml ) {\n\t\t\torigyearshtml = inst.yearshtml;\n\t\t\tsetTimeout( function() {\n\n\t\t\t\t//assure that inst.yearshtml didn't change.\n\t\t\t\tif ( origyearshtml === inst.yearshtml && inst.yearshtml ) {\n\t\t\t\t\tinst.dpDiv.find( \"select.ui-datepicker-year:first\" ).replaceWith( inst.yearshtml );\n\t\t\t\t}\n\t\t\t\torigyearshtml = inst.yearshtml = null;\n\t\t\t}, 0 );\n\t\t}\n\t},\n\n\t// #6694 - don't focus the input if it's already focused\n\t// this breaks the change event in IE\n\t// Support: IE and jQuery <1.9\n\t_shouldFocusInput: function( inst ) {\n\t\treturn inst.input && inst.input.is( \":visible\" ) && !inst.input.is( \":disabled\" ) && !inst.input.is( \":focus\" );\n\t},\n\n\t/* Check positioning to remain on screen. */\n\t_checkOffset: function( inst, offset, isFixed ) {\n\t\tvar dpWidth = inst.dpDiv.outerWidth(),\n\t\t\tdpHeight = inst.dpDiv.outerHeight(),\n\t\t\tinputWidth = inst.input ? inst.input.outerWidth() : 0,\n\t\t\tinputHeight = inst.input ? inst.input.outerHeight() : 0,\n\t\t\tviewWidth = document.documentElement.clientWidth + ( isFixed ? 0 : $( document ).scrollLeft() ),\n\t\t\tviewHeight = document.documentElement.clientHeight + ( isFixed ? 0 : $( document ).scrollTop() );\n\n\t\toffset.left -= ( this._get( inst, \"isRTL\" ) ? ( dpWidth - inputWidth ) : 0 );\n\t\toffset.left -= ( isFixed && offset.left === inst.input.offset().left ) ? $( document ).scrollLeft() : 0;\n\t\toffset.top -= ( isFixed && offset.top === ( inst.input.offset().top + inputHeight ) ) ? $( document ).scrollTop() : 0;\n\n\t\t// Now check if datepicker is showing outside window viewport - move to a better place if so.\n\t\toffset.left -= Math.min( offset.left, ( offset.left + dpWidth > viewWidth && viewWidth > dpWidth ) ?\n\t\t\tMath.abs( offset.left + dpWidth - viewWidth ) : 0 );\n\t\toffset.top -= Math.min( offset.top, ( offset.top + dpHeight > viewHeight && viewHeight > dpHeight ) ?\n\t\t\tMath.abs( dpHeight + inputHeight ) : 0 );\n\n\t\treturn offset;\n\t},\n\n\t/* Find an object's position on the screen. */\n\t_findPos: function( obj ) {\n\t\tvar position,\n\t\t\tinst = this._getInst( obj ),\n\t\t\tisRTL = this._get( inst, \"isRTL\" );\n\n\t\twhile ( obj && ( obj.type === \"hidden\" || obj.nodeType !== 1 || $.expr.filters.hidden( obj ) ) ) {\n\t\t\tobj = obj[ isRTL ? \"previousSibling\" : \"nextSibling\" ];\n\t\t}\n\n\t\tposition = $( obj ).offset();\n\t\treturn [ position.left, position.top ];\n\t},\n\n\t/* Hide the date picker from view.\n\t * @param input element - the input field attached to the date picker\n\t */\n\t_hideDatepicker: function( input ) {\n\t\tvar showAnim, duration, postProcess, onClose,\n\t\t\tinst = this._curInst;\n\n\t\tif ( !inst || ( input && inst !== $.data( input, \"datepicker\" ) ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( this._datepickerShowing ) {\n\t\t\tshowAnim = this._get( inst, \"showAnim\" );\n\t\t\tduration = this._get( inst, \"duration\" );\n\t\t\tpostProcess = function() {\n\t\t\t\t$.datepicker._tidyDialog( inst );\n\t\t\t};\n\n\t\t\t// DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed\n\t\t\tif ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {\n\t\t\t\tinst.dpDiv.hide( showAnim, $.datepicker._get( inst, \"showOptions\" ), duration, postProcess );\n\t\t\t} else {\n\t\t\t\tinst.dpDiv[ ( showAnim === \"slideDown\" ? \"slideUp\" :\n\t\t\t\t\t( showAnim === \"fadeIn\" ? \"fadeOut\" : \"hide\" ) ) ]( ( showAnim ? duration : null ), postProcess );\n\t\t\t}\n\n\t\t\tif ( !showAnim ) {\n\t\t\t\tpostProcess();\n\t\t\t}\n\t\t\tthis._datepickerShowing = false;\n\n\t\t\tonClose = this._get( inst, \"onClose\" );\n\t\t\tif ( onClose ) {\n\t\t\t\tonClose.apply( ( inst.input ? inst.input[ 0 ] : null ), [ ( inst.input ? inst.input.val() : \"\" ), inst ] );\n\t\t\t}\n\n\t\t\tthis._lastInput = null;\n\t\t\tif ( this._inDialog ) {\n\t\t\t\tthis._dialogInput.css( { position: \"absolute\", left: \"0\", top: \"-100px\" } );\n\t\t\t\tif ( $.blockUI ) {\n\t\t\t\t\t$.unblockUI();\n\t\t\t\t\t$( \"body\" ).append( this.dpDiv );\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._inDialog = false;\n\t\t}\n\t},\n\n\t/* Tidy up after a dialog display. */\n\t_tidyDialog: function( inst ) {\n\t\tinst.dpDiv.removeClass( this._dialogClass ).off( \".ui-datepicker-calendar\" );\n\t},\n\n\t/* Close date picker if clicked elsewhere. */\n\t_checkExternalClick: function( event ) {\n\t\tif ( !$.datepicker._curInst ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar $target = $( event.target ),\n\t\t\tinst = $.datepicker._getInst( $target[ 0 ] );\n\n\t\tif ( ( ( $target[ 0 ].id !== $.datepicker._mainDivId &&\n\t\t\t\t$target.parents( \"#\" + $.datepicker._mainDivId ).length === 0 &&\n\t\t\t\t!$target.hasClass( $.datepicker.markerClassName ) &&\n\t\t\t\t!$target.closest( \".\" + $.datepicker._triggerClass ).length &&\n\t\t\t\t$.datepicker._datepickerShowing && !( $.datepicker._inDialog && $.blockUI ) ) ) ||\n\t\t\t( $target.hasClass( $.datepicker.markerClassName ) && $.datepicker._curInst !== inst ) ) {\n\t\t\t\t$.datepicker._hideDatepicker();\n\t\t}\n\t},\n\n\t/* Adjust one of the date sub-fields. */\n\t_adjustDate: function( id, offset, period ) {\n\t\tvar target = $( id ),\n\t\t\tinst = this._getInst( target[ 0 ] );\n\n\t\tif ( this._isDisabledDatepicker( target[ 0 ] ) ) {\n\t\t\treturn;\n\t\t}\n\t\tthis._adjustInstDate( inst, offset +\n\t\t\t( period === \"M\" ? this._get( inst, \"showCurrentAtPos\" ) : 0 ), // undo positioning\n\t\t\tperiod );\n\t\tthis._updateDatepicker( inst );\n\t},\n\n\t/* Action for current link. */\n\t_gotoToday: function( id ) {\n\t\tvar date,\n\t\t\ttarget = $( id ),\n\t\t\tinst = this._getInst( target[ 0 ] );\n\n\t\tif ( this._get( inst, \"gotoCurrent\" ) && inst.currentDay ) {\n\t\t\tinst.selectedDay = inst.currentDay;\n\t\t\tinst.drawMonth = inst.selectedMonth = inst.currentMonth;\n\t\t\tinst.drawYear = inst.selectedYear = inst.currentYear;\n\t\t} else {\n\t\t\tdate = new Date();\n\t\t\tinst.selectedDay = date.getDate();\n\t\t\tinst.drawMonth = inst.selectedMonth = date.getMonth();\n\t\t\tinst.drawYear = inst.selectedYear = date.getFullYear();\n\t\t}\n\t\tthis._notifyChange( inst );\n\t\tthis._adjustDate( target );\n\t},\n\n\t/* Action for selecting a new month/year. */\n\t_selectMonthYear: function( id, select, period ) {\n\t\tvar target = $( id ),\n\t\t\tinst = this._getInst( target[ 0 ] );\n\n\t\tinst[ \"selected\" + ( period === \"M\" ? \"Month\" : \"Year\" ) ] =\n\t\tinst[ \"draw\" + ( period === \"M\" ? \"Month\" : \"Year\" ) ] =\n\t\t\tparseInt( select.options[ select.selectedIndex ].value, 10 );\n\n\t\tthis._notifyChange( inst );\n\t\tthis._adjustDate( target );\n\t},\n\n\t/* Action for selecting a day. */\n\t_selectDay: function( id, month, year, td ) {\n\t\tvar inst,\n\t\t\ttarget = $( id );\n\n\t\tif ( $( td ).hasClass( this._unselectableClass ) || this._isDisabledDatepicker( target[ 0 ] ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tinst = this._getInst( target[ 0 ] );\n\t\tinst.selectedDay = inst.currentDay = $( \"a\", td ).html();\n\t\tinst.selectedMonth = inst.currentMonth = month;\n\t\tinst.selectedYear = inst.currentYear = year;\n\t\tthis._selectDate( id, this._formatDate( inst,\n\t\t\tinst.currentDay, inst.currentMonth, inst.currentYear ) );\n\t},\n\n\t/* Erase the input field and hide the date picker. */\n\t_clearDate: function( id ) {\n\t\tvar target = $( id );\n\t\tthis._selectDate( target, \"\" );\n\t},\n\n\t/* Update the input field with the selected date. */\n\t_selectDate: function( id, dateStr ) {\n\t\tvar onSelect,\n\t\t\ttarget = $( id ),\n\t\t\tinst = this._getInst( target[ 0 ] );\n\n\t\tdateStr = ( dateStr != null ? dateStr : this._formatDate( inst ) );\n\t\tif ( inst.input ) {\n\t\t\tinst.input.val( dateStr );\n\t\t}\n\t\tthis._updateAlternate( inst );\n\n\t\tonSelect = this._get( inst, \"onSelect\" );\n\t\tif ( onSelect ) {\n\t\t\tonSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] ); // trigger custom callback\n\t\t} else if ( inst.input ) {\n\t\t\tinst.input.trigger( \"change\" ); // fire the change event\n\t\t}\n\n\t\tif ( inst.inline ) {\n\t\t\tthis._updateDatepicker( inst );\n\t\t} else {\n\t\t\tthis._hideDatepicker();\n\t\t\tthis._lastInput = inst.input[ 0 ];\n\t\t\tif ( typeof( inst.input[ 0 ] ) !== \"object\" ) {\n\t\t\t\tinst.input.trigger( \"focus\" ); // restore focus\n\t\t\t}\n\t\t\tthis._lastInput = null;\n\t\t}\n\t},\n\n\t/* Update any alternate field to synchronise with the main field. */\n\t_updateAlternate: function( inst ) {\n\t\tvar altFormat, date, dateStr,\n\t\t\taltField = this._get( inst, \"altField\" );\n\n\t\tif ( altField ) { // update alternate field too\n\t\t\taltFormat = this._get( inst, \"altFormat\" ) || this._get( inst, \"dateFormat\" );\n\t\t\tdate = this._getDate( inst );\n\t\t\tdateStr = this.formatDate( altFormat, date, this._getFormatConfig( inst ) );\n\t\t\t$( altField ).val( dateStr );\n\t\t}\n\t},\n\n\t/* Set as beforeShowDay function to prevent selection of weekends.\n\t * @param date Date - the date to customise\n\t * @return [boolean, string] - is this date selectable?, what is its CSS class?\n\t */\n\tnoWeekends: function( date ) {\n\t\tvar day = date.getDay();\n\t\treturn [ ( day > 0 && day < 6 ), \"\" ];\n\t},\n\n\t/* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.\n\t * @param date Date - the date to get the week for\n\t * @return number - the number of the week within the year that contains this date\n\t */\n\tiso8601Week: function( date ) {\n\t\tvar time,\n\t\t\tcheckDate = new Date( date.getTime() );\n\n\t\t// Find Thursday of this week starting on Monday\n\t\tcheckDate.setDate( checkDate.getDate() + 4 - ( checkDate.getDay() || 7 ) );\n\n\t\ttime = checkDate.getTime();\n\t\tcheckDate.setMonth( 0 ); // Compare with Jan 1\n\t\tcheckDate.setDate( 1 );\n\t\treturn Math.floor( Math.round( ( time - checkDate ) / 86400000 ) / 7 ) + 1;\n\t},\n\n\t/* Parse a string value into a date object.\n\t * See formatDate below for the possible formats.\n\t *\n\t * @param format string - the expected format of the date\n\t * @param value string - the date in the above format\n\t * @param settings Object - attributes include:\n\t *\t\t\t\t\tshortYearCutoff number - the cutoff year for determining the century (optional)\n\t *\t\t\t\t\tdayNamesShort\tstring[7] - abbreviated names of the days from Sunday (optional)\n\t *\t\t\t\t\tdayNames\t\tstring[7] - names of the days from Sunday (optional)\n\t *\t\t\t\t\tmonthNamesShort string[12] - abbreviated names of the months (optional)\n\t *\t\t\t\t\tmonthNames\t\tstring[12] - names of the months (optional)\n\t * @return Date - the extracted date value or null if value is blank\n\t */\n\tparseDate: function( format, value, settings ) {\n\t\tif ( format == null || value == null ) {\n\t\t\tthrow \"Invalid arguments\";\n\t\t}\n\n\t\tvalue = ( typeof value === \"object\" ? value.toString() : value + \"\" );\n\t\tif ( value === \"\" ) {\n\t\t\treturn null;\n\t\t}\n\n\t\tvar iFormat, dim, extra,\n\t\t\tiValue = 0,\n\t\t\tshortYearCutoffTemp = ( settings ? settings.shortYearCutoff : null ) || this._defaults.shortYearCutoff,\n\t\t\tshortYearCutoff = ( typeof shortYearCutoffTemp !== \"string\" ? shortYearCutoffTemp :\n\t\t\t\tnew Date().getFullYear() % 100 + parseInt( shortYearCutoffTemp, 10 ) ),\n\t\t\tdayNamesShort = ( settings ? settings.dayNamesShort : null ) || this._defaults.dayNamesShort,\n\t\t\tdayNames = ( settings ? settings.dayNames : null ) || this._defaults.dayNames,\n\t\t\tmonthNamesShort = ( settings ? settings.monthNamesShort : null ) || this._defaults.monthNamesShort,\n\t\t\tmonthNames = ( settings ? settings.monthNames : null ) || this._defaults.monthNames,\n\t\t\tyear = -1,\n\t\t\tmonth = -1,\n\t\t\tday = -1,\n\t\t\tdoy = -1,\n\t\t\tliteral = false,\n\t\t\tdate,\n\n\t\t\t// Check whether a format character is doubled\n\t\t\tlookAhead = function( match ) {\n\t\t\t\tvar matches = ( iFormat + 1 < format.length && format.charAt( iFormat + 1 ) === match );\n\t\t\t\tif ( matches ) {\n\t\t\t\t\tiFormat++;\n\t\t\t\t}\n\t\t\t\treturn matches;\n\t\t\t},\n\n\t\t\t// Extract a number from the string value\n\t\t\tgetNumber = function( match ) {\n\t\t\t\tvar isDoubled = lookAhead( match ),\n\t\t\t\t\tsize = ( match === \"@\" ? 14 : ( match === \"!\" ? 20 :\n\t\t\t\t\t( match === \"y\" && isDoubled ? 4 : ( match === \"o\" ? 3 : 2 ) ) ) ),\n\t\t\t\t\tminSize = ( match === \"y\" ? size : 1 ),\n\t\t\t\t\tdigits = new RegExp( \"^\\\\d{\" + minSize + \",\" + size + \"}\" ),\n\t\t\t\t\tnum = value.substring( iValue ).match( digits );\n\t\t\t\tif ( !num ) {\n\t\t\t\t\tthrow \"Missing number at position \" + iValue;\n\t\t\t\t}\n\t\t\t\tiValue += num[ 0 ].length;\n\t\t\t\treturn parseInt( num[ 0 ], 10 );\n\t\t\t},\n\n\t\t\t// Extract a name from the string value and convert to an index\n\t\t\tgetName = function( match, shortNames, longNames ) {\n\t\t\t\tvar index = -1,\n\t\t\t\t\tnames = $.map( lookAhead( match ) ? longNames : shortNames, function( v, k ) {\n\t\t\t\t\t\treturn [ [ k, v ] ];\n\t\t\t\t\t} ).sort( function( a, b ) {\n\t\t\t\t\t\treturn -( a[ 1 ].length - b[ 1 ].length );\n\t\t\t\t\t} );\n\n\t\t\t\t$.each( names, function( i, pair ) {\n\t\t\t\t\tvar name = pair[ 1 ];\n\t\t\t\t\tif ( value.substr( iValue, name.length ).toLowerCase() === name.toLowerCase() ) {\n\t\t\t\t\t\tindex = pair[ 0 ];\n\t\t\t\t\t\tiValue += name.length;\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\tif ( index !== -1 ) {\n\t\t\t\t\treturn index + 1;\n\t\t\t\t} else {\n\t\t\t\t\tthrow \"Unknown name at position \" + iValue;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// Confirm that a literal character matches the string value\n\t\t\tcheckLiteral = function() {\n\t\t\t\tif ( value.charAt( iValue ) !== format.charAt( iFormat ) ) {\n\t\t\t\t\tthrow \"Unexpected literal at position \" + iValue;\n\t\t\t\t}\n\t\t\t\tiValue++;\n\t\t\t};\n\n\t\tfor ( iFormat = 0; iFormat < format.length; iFormat++ ) {\n\t\t\tif ( literal ) {\n\t\t\t\tif ( format.charAt( iFormat ) === \"'\" && !lookAhead( \"'\" ) ) {\n\t\t\t\t\tliteral = false;\n\t\t\t\t} else {\n\t\t\t\t\tcheckLiteral();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tswitch ( format.charAt( iFormat ) ) {\n\t\t\t\t\tcase \"d\":\n\t\t\t\t\t\tday = getNumber( \"d\" );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"D\":\n\t\t\t\t\t\tgetName( \"D\", dayNamesShort, dayNames );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"o\":\n\t\t\t\t\t\tdoy = getNumber( \"o\" );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"m\":\n\t\t\t\t\t\tmonth = getNumber( \"m\" );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"M\":\n\t\t\t\t\t\tmonth = getName( \"M\", monthNamesShort, monthNames );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"y\":\n\t\t\t\t\t\tyear = getNumber( \"y\" );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"@\":\n\t\t\t\t\t\tdate = new Date( getNumber( \"@\" ) );\n\t\t\t\t\t\tyear = date.getFullYear();\n\t\t\t\t\t\tmonth = date.getMonth() + 1;\n\t\t\t\t\t\tday = date.getDate();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"!\":\n\t\t\t\t\t\tdate = new Date( ( getNumber( \"!\" ) - this._ticksTo1970 ) / 10000 );\n\t\t\t\t\t\tyear = date.getFullYear();\n\t\t\t\t\t\tmonth = date.getMonth() + 1;\n\t\t\t\t\t\tday = date.getDate();\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"'\":\n\t\t\t\t\t\tif ( lookAhead( \"'\" ) ) {\n\t\t\t\t\t\t\tcheckLiteral();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tliteral = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcheckLiteral();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( iValue < value.length ) {\n\t\t\textra = value.substr( iValue );\n\t\t\tif ( !/^\\s+/.test( extra ) ) {\n\t\t\t\tthrow \"Extra/unparsed characters found in date: \" + extra;\n\t\t\t}\n\t\t}\n\n\t\tif ( year === -1 ) {\n\t\t\tyear = new Date().getFullYear();\n\t\t} else if ( year < 100 ) {\n\t\t\tyear += new Date().getFullYear() - new Date().getFullYear() % 100 +\n\t\t\t\t( year <= shortYearCutoff ? 0 : -100 );\n\t\t}\n\n\t\tif ( doy > -1 ) {\n\t\t\tmonth = 1;\n\t\t\tday = doy;\n\t\t\tdo {\n\t\t\t\tdim = this._getDaysInMonth( year, month - 1 );\n\t\t\t\tif ( day <= dim ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tmonth++;\n\t\t\t\tday -= dim;\n\t\t\t} while ( true );\n\t\t}\n\n\t\tdate = this._daylightSavingAdjust( new Date( year, month - 1, day ) );\n\t\tif ( date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day ) {\n\t\t\tthrow \"Invalid date\"; // E.g. 31/02/00\n\t\t}\n\t\treturn date;\n\t},\n\n\t/* Standard date formats. */\n\tATOM: \"yy-mm-dd\", // RFC 3339 (ISO 8601)\n\tCOOKIE: \"D, dd M yy\",\n\tISO_8601: \"yy-mm-dd\",\n\tRFC_822: \"D, d M y\",\n\tRFC_850: \"DD, dd-M-y\",\n\tRFC_1036: \"D, d M y\",\n\tRFC_1123: \"D, d M yy\",\n\tRFC_2822: \"D, d M yy\",\n\tRSS: \"D, d M y\", // RFC 822\n\tTICKS: \"!\",\n\tTIMESTAMP: \"@\",\n\tW3C: \"yy-mm-dd\", // ISO 8601\n\n\t_ticksTo1970: ( ( ( 1970 - 1 ) * 365 + Math.floor( 1970 / 4 ) - Math.floor( 1970 / 100 ) +\n\t\tMath.floor( 1970 / 400 ) ) * 24 * 60 * 60 * 10000000 ),\n\n\t/* Format a date object into a string value.\n\t * The format can be combinations of the following:\n\t * d - day of month (no leading zero)\n\t * dd - day of month (two digit)\n\t * o - day of year (no leading zeros)\n\t * oo - day of year (three digit)\n\t * D - day name short\n\t * DD - day name long\n\t * m - month of year (no leading zero)\n\t * mm - month of year (two digit)\n\t * M - month name short\n\t * MM - month name long\n\t * y - year (two digit)\n\t * yy - year (four digit)\n\t * @ - Unix timestamp (ms since 01/01/1970)\n\t * ! - Windows ticks (100ns since 01/01/0001)\n\t * \"...\" - literal text\n\t * '' - single quote\n\t *\n\t * @param format string - the desired format of the date\n\t * @param date Date - the date value to format\n\t * @param settings Object - attributes include:\n\t *\t\t\t\t\tdayNamesShort\tstring[7] - abbreviated names of the days from Sunday (optional)\n\t *\t\t\t\t\tdayNames\t\tstring[7] - names of the days from Sunday (optional)\n\t *\t\t\t\t\tmonthNamesShort string[12] - abbreviated names of the months (optional)\n\t *\t\t\t\t\tmonthNames\t\tstring[12] - names of the months (optional)\n\t * @return string - the date in the above format\n\t */\n\tformatDate: function( format, date, settings ) {\n\t\tif ( !date ) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tvar iFormat,\n\t\t\tdayNamesShort = ( settings ? settings.dayNamesShort : null ) || this._defaults.dayNamesShort,\n\t\t\tdayNames = ( settings ? settings.dayNames : null ) || this._defaults.dayNames,\n\t\t\tmonthNamesShort = ( settings ? settings.monthNamesShort : null ) || this._defaults.monthNamesShort,\n\t\t\tmonthNames = ( settings ? settings.monthNames : null ) || this._defaults.monthNames,\n\n\t\t\t// Check whether a format character is doubled\n\t\t\tlookAhead = function( match ) {\n\t\t\t\tvar matches = ( iFormat + 1 < format.length && format.charAt( iFormat + 1 ) === match );\n\t\t\t\tif ( matches ) {\n\t\t\t\t\tiFormat++;\n\t\t\t\t}\n\t\t\t\treturn matches;\n\t\t\t},\n\n\t\t\t// Format a number, with leading zero if necessary\n\t\t\tformatNumber = function( match, value, len ) {\n\t\t\t\tvar num = \"\" + value;\n\t\t\t\tif ( lookAhead( match ) ) {\n\t\t\t\t\twhile ( num.length < len ) {\n\t\t\t\t\t\tnum = \"0\" + num;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn num;\n\t\t\t},\n\n\t\t\t// Format a name, short or long as requested\n\t\t\tformatName = function( match, value, shortNames, longNames ) {\n\t\t\t\treturn ( lookAhead( match ) ? longNames[ value ] : shortNames[ value ] );\n\t\t\t},\n\t\t\toutput = \"\",\n\t\t\tliteral = false;\n\n\t\tif ( date ) {\n\t\t\tfor ( iFormat = 0; iFormat < format.length; iFormat++ ) {\n\t\t\t\tif ( literal ) {\n\t\t\t\t\tif ( format.charAt( iFormat ) === \"'\" && !lookAhead( \"'\" ) ) {\n\t\t\t\t\t\tliteral = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\toutput += format.charAt( iFormat );\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tswitch ( format.charAt( iFormat ) ) {\n\t\t\t\t\t\tcase \"d\":\n\t\t\t\t\t\t\toutput += formatNumber( \"d\", date.getDate(), 2 );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"D\":\n\t\t\t\t\t\t\toutput += formatName( \"D\", date.getDay(), dayNamesShort, dayNames );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"o\":\n\t\t\t\t\t\t\toutput += formatNumber( \"o\",\n\t\t\t\t\t\t\t\tMath.round( ( new Date( date.getFullYear(), date.getMonth(), date.getDate() ).getTime() - new Date( date.getFullYear(), 0, 0 ).getTime() ) / 86400000 ), 3 );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"m\":\n\t\t\t\t\t\t\toutput += formatNumber( \"m\", date.getMonth() + 1, 2 );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"M\":\n\t\t\t\t\t\t\toutput += formatName( \"M\", date.getMonth(), monthNamesShort, monthNames );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"y\":\n\t\t\t\t\t\t\toutput += ( lookAhead( \"y\" ) ? date.getFullYear() :\n\t\t\t\t\t\t\t\t( date.getFullYear() % 100 < 10 ? \"0\" : \"\" ) + date.getFullYear() % 100 );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"@\":\n\t\t\t\t\t\t\toutput += date.getTime();\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"!\":\n\t\t\t\t\t\t\toutput += date.getTime() * 10000 + this._ticksTo1970;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"'\":\n\t\t\t\t\t\t\tif ( lookAhead( \"'\" ) ) {\n\t\t\t\t\t\t\t\toutput += \"'\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tliteral = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\toutput += format.charAt( iFormat );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t},\n\n\t/* Extract all possible characters from the date format. */\n\t_possibleChars: function( format ) {\n\t\tvar iFormat,\n\t\t\tchars = \"\",\n\t\t\tliteral = false,\n\n\t\t\t// Check whether a format character is doubled\n\t\t\tlookAhead = function( match ) {\n\t\t\t\tvar matches = ( iFormat + 1 < format.length && format.charAt( iFormat + 1 ) === match );\n\t\t\t\tif ( matches ) {\n\t\t\t\t\tiFormat++;\n\t\t\t\t}\n\t\t\t\treturn matches;\n\t\t\t};\n\n\t\tfor ( iFormat = 0; iFormat < format.length; iFormat++ ) {\n\t\t\tif ( literal ) {\n\t\t\t\tif ( format.charAt( iFormat ) === \"'\" && !lookAhead( \"'\" ) ) {\n\t\t\t\t\tliteral = false;\n\t\t\t\t} else {\n\t\t\t\t\tchars += format.charAt( iFormat );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tswitch ( format.charAt( iFormat ) ) {\n\t\t\t\t\tcase \"d\": case \"m\": case \"y\": case \"@\":\n\t\t\t\t\t\tchars += \"0123456789\";\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"D\": case \"M\":\n\t\t\t\t\t\treturn null; // Accept anything\n\t\t\t\t\tcase \"'\":\n\t\t\t\t\t\tif ( lookAhead( \"'\" ) ) {\n\t\t\t\t\t\t\tchars += \"'\";\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tliteral = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tchars += format.charAt( iFormat );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn chars;\n\t},\n\n\t/* Get a setting value, defaulting if necessary. */\n\t_get: function( inst, name ) {\n\t\treturn inst.settings[ name ] !== undefined ?\n\t\t\tinst.settings[ name ] : this._defaults[ name ];\n\t},\n\n\t/* Parse existing date and initialise date picker. */\n\t_setDateFromField: function( inst, noDefault ) {\n\t\tif ( inst.input.val() === inst.lastVal ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar dateFormat = this._get( inst, \"dateFormat\" ),\n\t\t\tdates = inst.lastVal = inst.input ? inst.input.val() : null,\n\t\t\tdefaultDate = this._getDefaultDate( inst ),\n\t\t\tdate = defaultDate,\n\t\t\tsettings = this._getFormatConfig( inst );\n\n\t\ttry {\n\t\t\tdate = this.parseDate( dateFormat, dates, settings ) || defaultDate;\n\t\t} catch ( event ) {\n\t\t\tdates = ( noDefault ? \"\" : dates );\n\t\t}\n\t\tinst.selectedDay = date.getDate();\n\t\tinst.drawMonth = inst.selectedMonth = date.getMonth();\n\t\tinst.drawYear = inst.selectedYear = date.getFullYear();\n\t\tinst.currentDay = ( dates ? date.getDate() : 0 );\n\t\tinst.currentMonth = ( dates ? date.getMonth() : 0 );\n\t\tinst.currentYear = ( dates ? date.getFullYear() : 0 );\n\t\tthis._adjustInstDate( inst );\n\t},\n\n\t/* Retrieve the default date shown on opening. */\n\t_getDefaultDate: function( inst ) {\n\t\treturn this._restrictMinMax( inst,\n\t\t\tthis._determineDate( inst, this._get( inst, \"defaultDate\" ), new Date() ) );\n\t},\n\n\t/* A date may be specified as an exact value or a relative one. */\n\t_determineDate: function( inst, date, defaultDate ) {\n\t\tvar offsetNumeric = function( offset ) {\n\t\t\t\tvar date = new Date();\n\t\t\t\tdate.setDate( date.getDate() + offset );\n\t\t\t\treturn date;\n\t\t\t},\n\t\t\toffsetString = function( offset ) {\n\t\t\t\ttry {\n\t\t\t\t\treturn $.datepicker.parseDate( $.datepicker._get( inst, \"dateFormat\" ),\n\t\t\t\t\t\toffset, $.datepicker._getFormatConfig( inst ) );\n\t\t\t\t}\n\t\t\t\tcatch ( e ) {\n\n\t\t\t\t\t// Ignore\n\t\t\t\t}\n\n\t\t\t\tvar date = ( offset.toLowerCase().match( /^c/ ) ?\n\t\t\t\t\t$.datepicker._getDate( inst ) : null ) || new Date(),\n\t\t\t\t\tyear = date.getFullYear(),\n\t\t\t\t\tmonth = date.getMonth(),\n\t\t\t\t\tday = date.getDate(),\n\t\t\t\t\tpattern = /([+\\-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,\n\t\t\t\t\tmatches = pattern.exec( offset );\n\n\t\t\t\twhile ( matches ) {\n\t\t\t\t\tswitch ( matches[ 2 ] || \"d\" ) {\n\t\t\t\t\t\tcase \"d\" : case \"D\" :\n\t\t\t\t\t\t\tday += parseInt( matches[ 1 ], 10 ); break;\n\t\t\t\t\t\tcase \"w\" : case \"W\" :\n\t\t\t\t\t\t\tday += parseInt( matches[ 1 ], 10 ) * 7; break;\n\t\t\t\t\t\tcase \"m\" : case \"M\" :\n\t\t\t\t\t\t\tmonth += parseInt( matches[ 1 ], 10 );\n\t\t\t\t\t\t\tday = Math.min( day, $.datepicker._getDaysInMonth( year, month ) );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"y\": case \"Y\" :\n\t\t\t\t\t\t\tyear += parseInt( matches[ 1 ], 10 );\n\t\t\t\t\t\t\tday = Math.min( day, $.datepicker._getDaysInMonth( year, month ) );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tmatches = pattern.exec( offset );\n\t\t\t\t}\n\t\t\t\treturn new Date( year, month, day );\n\t\t\t},\n\t\t\tnewDate = ( date == null || date === \"\" ? defaultDate : ( typeof date === \"string\" ? offsetString( date ) :\n\t\t\t\t( typeof date === \"number\" ? ( isNaN( date ) ? defaultDate : offsetNumeric( date ) ) : new Date( date.getTime() ) ) ) );\n\n\t\tnewDate = ( newDate && newDate.toString() === \"Invalid Date\" ? defaultDate : newDate );\n\t\tif ( newDate ) {\n\t\t\tnewDate.setHours( 0 );\n\t\t\tnewDate.setMinutes( 0 );\n\t\t\tnewDate.setSeconds( 0 );\n\t\t\tnewDate.setMilliseconds( 0 );\n\t\t}\n\t\treturn this._daylightSavingAdjust( newDate );\n\t},\n\n\t/* Handle switch to/from daylight saving.\n\t * Hours may be non-zero on daylight saving cut-over:\n\t * > 12 when midnight changeover, but then cannot generate\n\t * midnight datetime, so jump to 1AM, otherwise reset.\n\t * @param date (Date) the date to check\n\t * @return (Date) the corrected date\n\t */\n\t_daylightSavingAdjust: function( date ) {\n\t\tif ( !date ) {\n\t\t\treturn null;\n\t\t}\n\t\tdate.setHours( date.getHours() > 12 ? date.getHours() + 2 : 0 );\n\t\treturn date;\n\t},\n\n\t/* Set the date(s) directly. */\n\t_setDate: function( inst, date, noChange ) {\n\t\tvar clear = !date,\n\t\t\torigMonth = inst.selectedMonth,\n\t\t\torigYear = inst.selectedYear,\n\t\t\tnewDate = this._restrictMinMax( inst, this._determineDate( inst, date, new Date() ) );\n\n\t\tinst.selectedDay = inst.currentDay = newDate.getDate();\n\t\tinst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();\n\t\tinst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();\n\t\tif ( ( origMonth !== inst.selectedMonth || origYear !== inst.selectedYear ) && !noChange ) {\n\t\t\tthis._notifyChange( inst );\n\t\t}\n\t\tthis._adjustInstDate( inst );\n\t\tif ( inst.input ) {\n\t\t\tinst.input.val( clear ? \"\" : this._formatDate( inst ) );\n\t\t}\n\t},\n\n\t/* Retrieve the date(s) directly. */\n\t_getDate: function( inst ) {\n\t\tvar startDate = ( !inst.currentYear || ( inst.input && inst.input.val() === \"\" ) ? null :\n\t\t\tthis._daylightSavingAdjust( new Date(\n\t\t\tinst.currentYear, inst.currentMonth, inst.currentDay ) ) );\n\t\t\treturn startDate;\n\t},\n\n\t/* Attach the onxxx handlers. These are declared statically so\n\t * they work with static code transformers like Caja.\n\t */\n\t_attachHandlers: function( inst ) {\n\t\tvar stepMonths = this._get( inst, \"stepMonths\" ),\n\t\t\tid = \"#\" + inst.id.replace( /\\\\\\\\/g, \"\\\\\" );\n\t\tinst.dpDiv.find( \"[data-handler]\" ).map( function() {\n\t\t\tvar handler = {\n\t\t\t\tprev: function() {\n\t\t\t\t\t$.datepicker._adjustDate( id, -stepMonths, \"M\" );\n\t\t\t\t},\n\t\t\t\tnext: function() {\n\t\t\t\t\t$.datepicker._adjustDate( id, +stepMonths, \"M\" );\n\t\t\t\t},\n\t\t\t\thide: function() {\n\t\t\t\t\t$.datepicker._hideDatepicker();\n\t\t\t\t},\n\t\t\t\ttoday: function() {\n\t\t\t\t\t$.datepicker._gotoToday( id );\n\t\t\t\t},\n\t\t\t\tselectDay: function() {\n\t\t\t\t\t$.datepicker._selectDay( id, +this.getAttribute( \"data-month\" ), +this.getAttribute( \"data-year\" ), this );\n\t\t\t\t\treturn false;\n\t\t\t\t},\n\t\t\t\tselectMonth: function() {\n\t\t\t\t\t$.datepicker._selectMonthYear( id, this, \"M\" );\n\t\t\t\t\treturn false;\n\t\t\t\t},\n\t\t\t\tselectYear: function() {\n\t\t\t\t\t$.datepicker._selectMonthYear( id, this, \"Y\" );\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t};\n\t\t\t$( this ).on( this.getAttribute( \"data-event\" ), handler[ this.getAttribute( \"data-handler\" ) ] );\n\t\t} );\n\t},\n\n\t/* Generate the HTML for the current state of the date picker. */\n\t_generateHTML: function( inst ) {\n\t\tvar maxDraw, prevText, prev, nextText, next, currentText, gotoDate,\n\t\t\tcontrols, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,\n\t\t\tmonthNames, monthNamesShort, beforeShowDay, showOtherMonths,\n\t\t\tselectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,\n\t\t\tcornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,\n\t\t\tprintDate, dRow, tbody, daySettings, otherMonth, unselectable,\n\t\t\ttempDate = new Date(),\n\t\t\ttoday = this._daylightSavingAdjust(\n\t\t\t\tnew Date( tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate() ) ), // clear time\n\t\t\tisRTL = this._get( inst, \"isRTL\" ),\n\t\t\tshowButtonPanel = this._get( inst, \"showButtonPanel\" ),\n\t\t\thideIfNoPrevNext = this._get( inst, \"hideIfNoPrevNext\" ),\n\t\t\tnavigationAsDateFormat = this._get( inst, \"navigationAsDateFormat\" ),\n\t\t\tnumMonths = this._getNumberOfMonths( inst ),\n\t\t\tshowCurrentAtPos = this._get( inst, \"showCurrentAtPos\" ),\n\t\t\tstepMonths = this._get( inst, \"stepMonths\" ),\n\t\t\tisMultiMonth = ( numMonths[ 0 ] !== 1 || numMonths[ 1 ] !== 1 ),\n\t\t\tcurrentDate = this._daylightSavingAdjust( ( !inst.currentDay ? new Date( 9999, 9, 9 ) :\n\t\t\t\tnew Date( inst.currentYear, inst.currentMonth, inst.currentDay ) ) ),\n\t\t\tminDate = this._getMinMaxDate( inst, \"min\" ),\n\t\t\tmaxDate = this._getMinMaxDate( inst, \"max\" ),\n\t\t\tdrawMonth = inst.drawMonth - showCurrentAtPos,\n\t\t\tdrawYear = inst.drawYear;\n\n\t\tif ( drawMonth < 0 ) {\n\t\t\tdrawMonth += 12;\n\t\t\tdrawYear--;\n\t\t}\n\t\tif ( maxDate ) {\n\t\t\tmaxDraw = this._daylightSavingAdjust( new Date( maxDate.getFullYear(),\n\t\t\t\tmaxDate.getMonth() - ( numMonths[ 0 ] * numMonths[ 1 ] ) + 1, maxDate.getDate() ) );\n\t\t\tmaxDraw = ( minDate && maxDraw < minDate ? minDate : maxDraw );\n\t\t\twhile ( this._daylightSavingAdjust( new Date( drawYear, drawMonth, 1 ) ) > maxDraw ) {\n\t\t\t\tdrawMonth--;\n\t\t\t\tif ( drawMonth < 0 ) {\n\t\t\t\t\tdrawMonth = 11;\n\t\t\t\t\tdrawYear--;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tinst.drawMonth = drawMonth;\n\t\tinst.drawYear = drawYear;\n\n\t\tprevText = this._get( inst, \"prevText\" );\n\t\tprevText = ( !navigationAsDateFormat ? prevText : this.formatDate( prevText,\n\t\t\tthis._daylightSavingAdjust( new Date( drawYear, drawMonth - stepMonths, 1 ) ),\n\t\t\tthis._getFormatConfig( inst ) ) );\n\n\t\tprev = ( this._canAdjustMonth( inst, -1, drawYear, drawMonth ) ?\n\t\t\t\"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'\" +\n\t\t\t\" title='\" + prevText + \"'><span class='ui-icon ui-icon-circle-triangle-\" + ( isRTL ? \"e\" : \"w\" ) + \"'>\" + prevText + \"</span></a>\" :\n\t\t\t( hideIfNoPrevNext ? \"\" : \"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='\" + prevText + \"'><span class='ui-icon ui-icon-circle-triangle-\" + ( isRTL ? \"e\" : \"w\" ) + \"'>\" + prevText + \"</span></a>\" ) );\n\n\t\tnextText = this._get( inst, \"nextText\" );\n\t\tnextText = ( !navigationAsDateFormat ? nextText : this.formatDate( nextText,\n\t\t\tthis._daylightSavingAdjust( new Date( drawYear, drawMonth + stepMonths, 1 ) ),\n\t\t\tthis._getFormatConfig( inst ) ) );\n\n\t\tnext = ( this._canAdjustMonth( inst, +1, drawYear, drawMonth ) ?\n\t\t\t\"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'\" +\n\t\t\t\" title='\" + nextText + \"'><span class='ui-icon ui-icon-circle-triangle-\" + ( isRTL ? \"w\" : \"e\" ) + \"'>\" + nextText + \"</span></a>\" :\n\t\t\t( hideIfNoPrevNext ? \"\" : \"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='\" + nextText + \"'><span class='ui-icon ui-icon-circle-triangle-\" + ( isRTL ? \"w\" : \"e\" ) + \"'>\" + nextText + \"</span></a>\" ) );\n\n\t\tcurrentText = this._get( inst, \"currentText\" );\n\t\tgotoDate = ( this._get( inst, \"gotoCurrent\" ) && inst.currentDay ? currentDate : today );\n\t\tcurrentText = ( !navigationAsDateFormat ? currentText :\n\t\t\tthis.formatDate( currentText, gotoDate, this._getFormatConfig( inst ) ) );\n\n\t\tcontrols = ( !inst.inline ? \"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>\" +\n\t\t\tthis._get( inst, \"closeText\" ) + \"</button>\" : \"\" );\n\n\t\tbuttonPanel = ( showButtonPanel ) ? \"<div class='ui-datepicker-buttonpane ui-widget-content'>\" + ( isRTL ? controls : \"\" ) +\n\t\t\t( this._isInRange( inst, gotoDate ) ? \"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'\" +\n\t\t\t\">\" + currentText + \"</button>\" : \"\" ) + ( isRTL ? \"\" : controls ) + \"</div>\" : \"\";\n\n\t\tfirstDay = parseInt( this._get( inst, \"firstDay\" ), 10 );\n\t\tfirstDay = ( isNaN( firstDay ) ? 0 : firstDay );\n\n\t\tshowWeek = this._get( inst, \"showWeek\" );\n\t\tdayNames = this._get( inst, \"dayNames\" );\n\t\tdayNamesMin = this._get( inst, \"dayNamesMin\" );\n\t\tmonthNames = this._get( inst, \"monthNames\" );\n\t\tmonthNamesShort = this._get( inst, \"monthNamesShort\" );\n\t\tbeforeShowDay = this._get( inst, \"beforeShowDay\" );\n\t\tshowOtherMonths = this._get( inst, \"showOtherMonths\" );\n\t\tselectOtherMonths = this._get( inst, \"selectOtherMonths\" );\n\t\tdefaultDate = this._getDefaultDate( inst );\n\t\thtml = \"\";\n\n\t\tfor ( row = 0; row < numMonths[ 0 ]; row++ ) {\n\t\t\tgroup = \"\";\n\t\t\tthis.maxRows = 4;\n\t\t\tfor ( col = 0; col < numMonths[ 1 ]; col++ ) {\n\t\t\t\tselectedDate = this._daylightSavingAdjust( new Date( drawYear, drawMonth, inst.selectedDay ) );\n\t\t\t\tcornerClass = \" ui-corner-all\";\n\t\t\t\tcalender = \"\";\n\t\t\t\tif ( isMultiMonth ) {\n\t\t\t\t\tcalender += \"<div class='ui-datepicker-group\";\n\t\t\t\t\tif ( numMonths[ 1 ] > 1 ) {\n\t\t\t\t\t\tswitch ( col ) {\n\t\t\t\t\t\t\tcase 0: calender += \" ui-datepicker-group-first\";\n\t\t\t\t\t\t\t\tcornerClass = \" ui-corner-\" + ( isRTL ? \"right\" : \"left\" ); break;\n\t\t\t\t\t\t\tcase numMonths[ 1 ] - 1: calender += \" ui-datepicker-group-last\";\n\t\t\t\t\t\t\t\tcornerClass = \" ui-corner-\" + ( isRTL ? \"left\" : \"right\" ); break;\n\t\t\t\t\t\t\tdefault: calender += \" ui-datepicker-group-middle\"; cornerClass = \"\"; break;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcalender += \"'>\";\n\t\t\t\t}\n\t\t\t\tcalender += \"<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix\" + cornerClass + \"'>\" +\n\t\t\t\t\t( /all|left/.test( cornerClass ) && row === 0 ? ( isRTL ? next : prev ) : \"\" ) +\n\t\t\t\t\t( /all|right/.test( cornerClass ) && row === 0 ? ( isRTL ? prev : next ) : \"\" ) +\n\t\t\t\t\tthis._generateMonthYearHeader( inst, drawMonth, drawYear, minDate, maxDate,\n\t\t\t\t\trow > 0 || col > 0, monthNames, monthNamesShort ) + // draw month headers\n\t\t\t\t\t\"</div><table class='ui-datepicker-calendar'><thead>\" +\n\t\t\t\t\t\"<tr>\";\n\t\t\t\tthead = ( showWeek ? \"<th class='ui-datepicker-week-col'>\" + this._get( inst, \"weekHeader\" ) + \"</th>\" : \"\" );\n\t\t\t\tfor ( dow = 0; dow < 7; dow++ ) { // days of the week\n\t\t\t\t\tday = ( dow + firstDay ) % 7;\n\t\t\t\t\tthead += \"<th scope='col'\" + ( ( dow + firstDay + 6 ) % 7 >= 5 ? \" class='ui-datepicker-week-end'\" : \"\" ) + \">\" +\n\t\t\t\t\t\t\"<span title='\" + dayNames[ day ] + \"'>\" + dayNamesMin[ day ] + \"</span></th>\";\n\t\t\t\t}\n\t\t\t\tcalender += thead + \"</tr></thead><tbody>\";\n\t\t\t\tdaysInMonth = this._getDaysInMonth( drawYear, drawMonth );\n\t\t\t\tif ( drawYear === inst.selectedYear && drawMonth === inst.selectedMonth ) {\n\t\t\t\t\tinst.selectedDay = Math.min( inst.selectedDay, daysInMonth );\n\t\t\t\t}\n\t\t\t\tleadDays = ( this._getFirstDayOfMonth( drawYear, drawMonth ) - firstDay + 7 ) % 7;\n\t\t\t\tcurRows = Math.ceil( ( leadDays + daysInMonth ) / 7 ); // calculate the number of rows to generate\n\t\t\t\tnumRows = ( isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows ); //If multiple months, use the higher number of rows (see #7043)\n\t\t\t\tthis.maxRows = numRows;\n\t\t\t\tprintDate = this._daylightSavingAdjust( new Date( drawYear, drawMonth, 1 - leadDays ) );\n\t\t\t\tfor ( dRow = 0; dRow < numRows; dRow++ ) { // create date picker rows\n\t\t\t\t\tcalender += \"<tr>\";\n\t\t\t\t\ttbody = ( !showWeek ? \"\" : \"<td class='ui-datepicker-week-col'>\" +\n\t\t\t\t\t\tthis._get( inst, \"calculateWeek\" )( printDate ) + \"</td>\" );\n\t\t\t\t\tfor ( dow = 0; dow < 7; dow++ ) { // create date picker days\n\t\t\t\t\t\tdaySettings = ( beforeShowDay ?\n\t\t\t\t\t\t\tbeforeShowDay.apply( ( inst.input ? inst.input[ 0 ] : null ), [ printDate ] ) : [ true, \"\" ] );\n\t\t\t\t\t\totherMonth = ( printDate.getMonth() !== drawMonth );\n\t\t\t\t\t\tunselectable = ( otherMonth && !selectOtherMonths ) || !daySettings[ 0 ] ||\n\t\t\t\t\t\t\t( minDate && printDate < minDate ) || ( maxDate && printDate > maxDate );\n\t\t\t\t\t\ttbody += \"<td class='\" +\n\t\t\t\t\t\t\t( ( dow + firstDay + 6 ) % 7 >= 5 ? \" ui-datepicker-week-end\" : \"\" ) + // highlight weekends\n\t\t\t\t\t\t\t( otherMonth ? \" ui-datepicker-other-month\" : \"\" ) + // highlight days from other months\n\t\t\t\t\t\t\t( ( printDate.getTime() === selectedDate.getTime() && drawMonth === inst.selectedMonth && inst._keyEvent ) || // user pressed key\n\t\t\t\t\t\t\t( defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime() ) ?\n\n\t\t\t\t\t\t\t// or defaultDate is current printedDate and defaultDate is selectedDate\n\t\t\t\t\t\t\t\" \" + this._dayOverClass : \"\" ) + // highlight selected day\n\t\t\t\t\t\t\t( unselectable ? \" \" + this._unselectableClass + \" ui-state-disabled\" : \"\" ) + // highlight unselectable days\n\t\t\t\t\t\t\t( otherMonth && !showOtherMonths ? \"\" : \" \" + daySettings[ 1 ] + // highlight custom dates\n\t\t\t\t\t\t\t( printDate.getTime() === currentDate.getTime() ? \" \" + this._currentClass : \"\" ) + // highlight selected day\n\t\t\t\t\t\t\t( printDate.getTime() === today.getTime() ? \" ui-datepicker-today\" : \"\" ) ) + \"'\" + // highlight today (if different)\n\t\t\t\t\t\t\t( ( !otherMonth || showOtherMonths ) && daySettings[ 2 ] ? \" title='\" + daySettings[ 2 ].replace( /'/g, \"'\" ) + \"'\" : \"\" ) + // cell title\n\t\t\t\t\t\t\t( unselectable ? \"\" : \" data-handler='selectDay' data-event='click' data-month='\" + printDate.getMonth() + \"' data-year='\" + printDate.getFullYear() + \"'\" ) + \">\" + // actions\n\t\t\t\t\t\t\t( otherMonth && !showOtherMonths ? \" \" : // display for other months\n\t\t\t\t\t\t\t( unselectable ? \"<span class='ui-state-default'>\" + printDate.getDate() + \"</span>\" : \"<a class='ui-state-default\" +\n\t\t\t\t\t\t\t( printDate.getTime() === today.getTime() ? \" ui-state-highlight\" : \"\" ) +\n\t\t\t\t\t\t\t( printDate.getTime() === currentDate.getTime() ? \" ui-state-active\" : \"\" ) + // highlight selected day\n\t\t\t\t\t\t\t( otherMonth ? \" ui-priority-secondary\" : \"\" ) + // distinguish dates from other months\n\t\t\t\t\t\t\t\"' href='#'>\" + printDate.getDate() + \"</a>\" ) ) + \"</td>\"; // display selectable date\n\t\t\t\t\t\tprintDate.setDate( printDate.getDate() + 1 );\n\t\t\t\t\t\tprintDate = this._daylightSavingAdjust( printDate );\n\t\t\t\t\t}\n\t\t\t\t\tcalender += tbody + \"</tr>\";\n\t\t\t\t}\n\t\t\t\tdrawMonth++;\n\t\t\t\tif ( drawMonth > 11 ) {\n\t\t\t\t\tdrawMonth = 0;\n\t\t\t\t\tdrawYear++;\n\t\t\t\t}\n\t\t\t\tcalender += \"</tbody></table>\" + ( isMultiMonth ? \"</div>\" +\n\t\t\t\t\t\t\t( ( numMonths[ 0 ] > 0 && col === numMonths[ 1 ] - 1 ) ? \"<div class='ui-datepicker-row-break'></div>\" : \"\" ) : \"\" );\n\t\t\t\tgroup += calender;\n\t\t\t}\n\t\t\thtml += group;\n\t\t}\n\t\thtml += buttonPanel;\n\t\tinst._keyEvent = false;\n\t\treturn html;\n\t},\n\n\t/* Generate the month and year header. */\n\t_generateMonthYearHeader: function( inst, drawMonth, drawYear, minDate, maxDate,\n\t\t\tsecondary, monthNames, monthNamesShort ) {\n\n\t\tvar inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,\n\t\t\tchangeMonth = this._get( inst, \"changeMonth\" ),\n\t\t\tchangeYear = this._get( inst, \"changeYear\" ),\n\t\t\tshowMonthAfterYear = this._get( inst, \"showMonthAfterYear\" ),\n\t\t\thtml = \"<div class='ui-datepicker-title'>\",\n\t\t\tmonthHtml = \"\";\n\n\t\t// Month selection\n\t\tif ( secondary || !changeMonth ) {\n\t\t\tmonthHtml += \"<span class='ui-datepicker-month'>\" + monthNames[ drawMonth ] + \"</span>\";\n\t\t} else {\n\t\t\tinMinYear = ( minDate && minDate.getFullYear() === drawYear );\n\t\t\tinMaxYear = ( maxDate && maxDate.getFullYear() === drawYear );\n\t\t\tmonthHtml += \"<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>\";\n\t\t\tfor ( month = 0; month < 12; month++ ) {\n\t\t\t\tif ( ( !inMinYear || month >= minDate.getMonth() ) && ( !inMaxYear || month <= maxDate.getMonth() ) ) {\n\t\t\t\t\tmonthHtml += \"<option value='\" + month + \"'\" +\n\t\t\t\t\t\t( month === drawMonth ? \" selected='selected'\" : \"\" ) +\n\t\t\t\t\t\t\">\" + monthNamesShort[ month ] + \"</option>\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tmonthHtml += \"</select>\";\n\t\t}\n\n\t\tif ( !showMonthAfterYear ) {\n\t\t\thtml += monthHtml + ( secondary || !( changeMonth && changeYear ) ? \" \" : \"\" );\n\t\t}\n\n\t\t// Year selection\n\t\tif ( !inst.yearshtml ) {\n\t\t\tinst.yearshtml = \"\";\n\t\t\tif ( secondary || !changeYear ) {\n\t\t\t\thtml += \"<span class='ui-datepicker-year'>\" + drawYear + \"</span>\";\n\t\t\t} else {\n\n\t\t\t\t// determine range of years to display\n\t\t\t\tyears = this._get( inst, \"yearRange\" ).split( \":\" );\n\t\t\t\tthisYear = new Date().getFullYear();\n\t\t\t\tdetermineYear = function( value ) {\n\t\t\t\t\tvar year = ( value.match( /c[+\\-].*/ ) ? drawYear + parseInt( value.substring( 1 ), 10 ) :\n\t\t\t\t\t\t( value.match( /[+\\-].*/ ) ? thisYear + parseInt( value, 10 ) :\n\t\t\t\t\t\tparseInt( value, 10 ) ) );\n\t\t\t\t\treturn ( isNaN( year ) ? thisYear : year );\n\t\t\t\t};\n\t\t\t\tyear = determineYear( years[ 0 ] );\n\t\t\t\tendYear = Math.max( year, determineYear( years[ 1 ] || \"\" ) );\n\t\t\t\tyear = ( minDate ? Math.max( year, minDate.getFullYear() ) : year );\n\t\t\t\tendYear = ( maxDate ? Math.min( endYear, maxDate.getFullYear() ) : endYear );\n\t\t\t\tinst.yearshtml += \"<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>\";\n\t\t\t\tfor ( ; year <= endYear; year++ ) {\n\t\t\t\t\tinst.yearshtml += \"<option value='\" + year + \"'\" +\n\t\t\t\t\t\t( year === drawYear ? \" selected='selected'\" : \"\" ) +\n\t\t\t\t\t\t\">\" + year + \"</option>\";\n\t\t\t\t}\n\t\t\t\tinst.yearshtml += \"</select>\";\n\n\t\t\t\thtml += inst.yearshtml;\n\t\t\t\tinst.yearshtml = null;\n\t\t\t}\n\t\t}\n\n\t\thtml += this._get( inst, \"yearSuffix\" );\n\t\tif ( showMonthAfterYear ) {\n\t\t\thtml += ( secondary || !( changeMonth && changeYear ) ? \" \" : \"\" ) + monthHtml;\n\t\t}\n\t\thtml += \"</div>\"; // Close datepicker_header\n\t\treturn html;\n\t},\n\n\t/* Adjust one of the date sub-fields. */\n\t_adjustInstDate: function( inst, offset, period ) {\n\t\tvar year = inst.selectedYear + ( period === \"Y\" ? offset : 0 ),\n\t\t\tmonth = inst.selectedMonth + ( period === \"M\" ? offset : 0 ),\n\t\t\tday = Math.min( inst.selectedDay, this._getDaysInMonth( year, month ) ) + ( period === \"D\" ? offset : 0 ),\n\t\t\tdate = this._restrictMinMax( inst, this._daylightSavingAdjust( new Date( year, month, day ) ) );\n\n\t\tinst.selectedDay = date.getDate();\n\t\tinst.drawMonth = inst.selectedMonth = date.getMonth();\n\t\tinst.drawYear = inst.selectedYear = date.getFullYear();\n\t\tif ( period === \"M\" || period === \"Y\" ) {\n\t\t\tthis._notifyChange( inst );\n\t\t}\n\t},\n\n\t/* Ensure a date is within any min/max bounds. */\n\t_restrictMinMax: function( inst, date ) {\n\t\tvar minDate = this._getMinMaxDate( inst, \"min\" ),\n\t\t\tmaxDate = this._getMinMaxDate( inst, \"max\" ),\n\t\t\tnewDate = ( minDate && date < minDate ? minDate : date );\n\t\treturn ( maxDate && newDate > maxDate ? maxDate : newDate );\n\t},\n\n\t/* Notify change of month/year. */\n\t_notifyChange: function( inst ) {\n\t\tvar onChange = this._get( inst, \"onChangeMonthYear\" );\n\t\tif ( onChange ) {\n\t\t\tonChange.apply( ( inst.input ? inst.input[ 0 ] : null ),\n\t\t\t\t[ inst.selectedYear, inst.selectedMonth + 1, inst ] );\n\t\t}\n\t},\n\n\t/* Determine the number of months to show. */\n\t_getNumberOfMonths: function( inst ) {\n\t\tvar numMonths = this._get( inst, \"numberOfMonths\" );\n\t\treturn ( numMonths == null ? [ 1, 1 ] : ( typeof numMonths === \"number\" ? [ 1, numMonths ] : numMonths ) );\n\t},\n\n\t/* Determine the current maximum date - ensure no time components are set. */\n\t_getMinMaxDate: function( inst, minMax ) {\n\t\treturn this._determineDate( inst, this._get( inst, minMax + \"Date\" ), null );\n\t},\n\n\t/* Find the number of days in a given month. */\n\t_getDaysInMonth: function( year, month ) {\n\t\treturn 32 - this._daylightSavingAdjust( new Date( year, month, 32 ) ).getDate();\n\t},\n\n\t/* Find the day of the week of the first of a month. */\n\t_getFirstDayOfMonth: function( year, month ) {\n\t\treturn new Date( year, month, 1 ).getDay();\n\t},\n\n\t/* Determines if we should allow a \"next/prev\" month display change. */\n\t_canAdjustMonth: function( inst, offset, curYear, curMonth ) {\n\t\tvar numMonths = this._getNumberOfMonths( inst ),\n\t\t\tdate = this._daylightSavingAdjust( new Date( curYear,\n\t\t\tcurMonth + ( offset < 0 ? offset : numMonths[ 0 ] * numMonths[ 1 ] ), 1 ) );\n\n\t\tif ( offset < 0 ) {\n\t\t\tdate.setDate( this._getDaysInMonth( date.getFullYear(), date.getMonth() ) );\n\t\t}\n\t\treturn this._isInRange( inst, date );\n\t},\n\n\t/* Is the given date in the accepted range? */\n\t_isInRange: function( inst, date ) {\n\t\tvar yearSplit, currentYear,\n\t\t\tminDate = this._getMinMaxDate( inst, \"min\" ),\n\t\t\tmaxDate = this._getMinMaxDate( inst, \"max\" ),\n\t\t\tminYear = null,\n\t\t\tmaxYear = null,\n\t\t\tyears = this._get( inst, \"yearRange\" );\n\t\t\tif ( years ) {\n\t\t\t\tyearSplit = years.split( \":\" );\n\t\t\t\tcurrentYear = new Date().getFullYear();\n\t\t\t\tminYear = parseInt( yearSplit[ 0 ], 10 );\n\t\t\t\tmaxYear = parseInt( yearSplit[ 1 ], 10 );\n\t\t\t\tif ( yearSplit[ 0 ].match( /[+\\-].*/ ) ) {\n\t\t\t\t\tminYear += currentYear;\n\t\t\t\t}\n\t\t\t\tif ( yearSplit[ 1 ].match( /[+\\-].*/ ) ) {\n\t\t\t\t\tmaxYear += currentYear;\n\t\t\t\t}\n\t\t\t}\n\n\t\treturn ( ( !minDate || date.getTime() >= minDate.getTime() ) &&\n\t\t\t( !maxDate || date.getTime() <= maxDate.getTime() ) &&\n\t\t\t( !minYear || date.getFullYear() >= minYear ) &&\n\t\t\t( !maxYear || date.getFullYear() <= maxYear ) );\n\t},\n\n\t/* Provide the configuration settings for formatting/parsing. */\n\t_getFormatConfig: function( inst ) {\n\t\tvar shortYearCutoff = this._get( inst, \"shortYearCutoff\" );\n\t\tshortYearCutoff = ( typeof shortYearCutoff !== \"string\" ? shortYearCutoff :\n\t\t\tnew Date().getFullYear() % 100 + parseInt( shortYearCutoff, 10 ) );\n\t\treturn { shortYearCutoff: shortYearCutoff,\n\t\t\tdayNamesShort: this._get( inst, \"dayNamesShort\" ), dayNames: this._get( inst, \"dayNames\" ),\n\t\t\tmonthNamesShort: this._get( inst, \"monthNamesShort\" ), monthNames: this._get( inst, \"monthNames\" ) };\n\t},\n\n\t/* Format the given date for display. */\n\t_formatDate: function( inst, day, month, year ) {\n\t\tif ( !day ) {\n\t\t\tinst.currentDay = inst.selectedDay;\n\t\t\tinst.currentMonth = inst.selectedMonth;\n\t\t\tinst.currentYear = inst.selectedYear;\n\t\t}\n\t\tvar date = ( day ? ( typeof day === \"object\" ? day :\n\t\t\tthis._daylightSavingAdjust( new Date( year, month, day ) ) ) :\n\t\t\tthis._daylightSavingAdjust( new Date( inst.currentYear, inst.currentMonth, inst.currentDay ) ) );\n\t\treturn this.formatDate( this._get( inst, \"dateFormat\" ), date, this._getFormatConfig( inst ) );\n\t}\n} );\n\n/*\n * Bind hover events for datepicker elements.\n * Done via delegate so the binding only occurs once in the lifetime of the parent div.\n * Global datepicker_instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.\n */\nfunction datepicker_bindHover( dpDiv ) {\n\tvar selector = \"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";\n\treturn dpDiv.on( \"mouseout\", selector, function() {\n\t\t\t$( this ).removeClass( \"ui-state-hover\" );\n\t\t\tif ( this.className.indexOf( \"ui-datepicker-prev\" ) !== -1 ) {\n\t\t\t\t$( this ).removeClass( \"ui-datepicker-prev-hover\" );\n\t\t\t}\n\t\t\tif ( this.className.indexOf( \"ui-datepicker-next\" ) !== -1 ) {\n\t\t\t\t$( this ).removeClass( \"ui-datepicker-next-hover\" );\n\t\t\t}\n\t\t} )\n\t\t.on( \"mouseover\", selector, datepicker_handleMouseover );\n}\n\nfunction datepicker_handleMouseover() {\n\tif ( !$.datepicker._isDisabledDatepicker( datepicker_instActive.inline ? datepicker_instActive.dpDiv.parent()[ 0 ] : datepicker_instActive.input[ 0 ] ) ) {\n\t\t$( this ).parents( \".ui-datepicker-calendar\" ).find( \"a\" ).removeClass( \"ui-state-hover\" );\n\t\t$( this ).addClass( \"ui-state-hover\" );\n\t\tif ( this.className.indexOf( \"ui-datepicker-prev\" ) !== -1 ) {\n\t\t\t$( this ).addClass( \"ui-datepicker-prev-hover\" );\n\t\t}\n\t\tif ( this.className.indexOf( \"ui-datepicker-next\" ) !== -1 ) {\n\t\t\t$( this ).addClass( \"ui-datepicker-next-hover\" );\n\t\t}\n\t}\n}\n\n/* jQuery extend now ignores nulls! */\nfunction datepicker_extendRemove( target, props ) {\n\t$.extend( target, props );\n\tfor ( var name in props ) {\n\t\tif ( props[ name ] == null ) {\n\t\t\ttarget[ name ] = props[ name ];\n\t\t}\n\t}\n\treturn target;\n}\n\n/* Invoke the datepicker functionality.\n @param options string - a command, optionally followed by additional parameters or\n\t\t\t\t\tObject - settings for attaching new datepicker functionality\n @return jQuery object */\n$.fn.datepicker = function( options ) {\n\n\t/* Verify an empty collection wasn't passed - Fixes #6976 */\n\tif ( !this.length ) {\n\t\treturn this;\n\t}\n\n\t/* Initialise the date picker. */\n\tif ( !$.datepicker.initialized ) {\n\t\t$( document ).on( \"mousedown\", $.datepicker._checkExternalClick );\n\t\t$.datepicker.initialized = true;\n\t}\n\n\t/* Append datepicker main container to body if not exist. */\n\tif ( $( \"#\" + $.datepicker._mainDivId ).length === 0 ) {\n\t\t$( \"body\" ).append( $.datepicker.dpDiv );\n\t}\n\n\tvar otherArgs = Array.prototype.slice.call( arguments, 1 );\n\tif ( typeof options === \"string\" && ( options === \"isDisabled\" || options === \"getDate\" || options === \"widget\" ) ) {\n\t\treturn $.datepicker[ \"_\" + options + \"Datepicker\" ].\n\t\t\tapply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );\n\t}\n\tif ( options === \"option\" && arguments.length === 2 && typeof arguments[ 1 ] === \"string\" ) {\n\t\treturn $.datepicker[ \"_\" + options + \"Datepicker\" ].\n\t\t\tapply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );\n\t}\n\treturn this.each( function() {\n\t\ttypeof options === \"string\" ?\n\t\t\t$.datepicker[ \"_\" + options + \"Datepicker\" ].\n\t\t\t\tapply( $.datepicker, [ this ].concat( otherArgs ) ) :\n\t\t\t$.datepicker._attachDatepicker( this, options );\n\t} );\n};\n\n$.datepicker = new Datepicker(); // singleton instance\n$.datepicker.initialized = false;\n$.datepicker.uuid = new Date().getTime();\n$.datepicker.version = \"1.12.1\";\n\nvar widgetsDatepicker = $.datepicker;\n\n\n/*!\n * jQuery UI Slider 1.12.1\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n\n//>>label: Slider\n//>>group: Widgets\n//>>description: Displays a flexible slider with ranges and accessibility via keyboard.\n//>>docs: http://api.jqueryui.com/slider/\n//>>demos: http://jqueryui.com/slider/\n//>>css.structure: ../../themes/base/core.css\n//>>css.structure: ../../themes/base/slider.css\n//>>css.theme: ../../themes/base/theme.css\n\n\n\nvar widgetsSlider = $.widget( \"ui.slider\", $.ui.mouse, {\n\tversion: \"1.12.1\",\n\twidgetEventPrefix: \"slide\",\n\n\toptions: {\n\t\tanimate: false,\n\t\tclasses: {\n\t\t\t\"ui-slider\": \"ui-corner-all\",\n\t\t\t\"ui-slider-handle\": \"ui-corner-all\",\n\n\t\t\t// Note: ui-widget-header isn't the most fittingly semantic framework class for this\n\t\t\t// element, but worked best visually with a variety of themes\n\t\t\t\"ui-slider-range\": \"ui-corner-all ui-widget-header\"\n\t\t},\n\t\tdistance: 0,\n\t\tmax: 100,\n\t\tmin: 0,\n\t\torientation: \"horizontal\",\n\t\trange: false,\n\t\tstep: 1,\n\t\tvalue: 0,\n\t\tvalues: null,\n\n\t\t// Callbacks\n\t\tchange: null,\n\t\tslide: null,\n\t\tstart: null,\n\t\tstop: null\n\t},\n\n\t// Number of pages in a slider\n\t// (how many times can you page up/down to go through the whole range)\n\tnumPages: 5,\n\n\t_create: function() {\n\t\tthis._keySliding = false;\n\t\tthis._mouseSliding = false;\n\t\tthis._animateOff = true;\n\t\tthis._handleIndex = null;\n\t\tthis._detectOrientation();\n\t\tthis._mouseInit();\n\t\tthis._calculateNewMax();\n\n\t\tthis._addClass( \"ui-slider ui-slider-\" + this.orientation,\n\t\t\t\"ui-widget ui-widget-content\" );\n\n\t\tthis._refresh();\n\n\t\tthis._animateOff = false;\n\t},\n\n\t_refresh: function() {\n\t\tthis._createRange();\n\t\tthis._createHandles();\n\t\tthis._setupEvents();\n\t\tthis._refreshValue();\n\t},\n\n\t_createHandles: function() {\n\t\tvar i, handleCount,\n\t\t\toptions = this.options,\n\t\t\texistingHandles = this.element.find( \".ui-slider-handle\" ),\n\t\t\thandle = \"<span tabindex='0'></span>\",\n\t\t\thandles = [];\n\n\t\thandleCount = ( options.values && options.values.length ) || 1;\n\n\t\tif ( existingHandles.length > handleCount ) {\n\t\t\texistingHandles.slice( handleCount ).remove();\n\t\t\texistingHandles = existingHandles.slice( 0, handleCount );\n\t\t}\n\n\t\tfor ( i = existingHandles.length; i < handleCount; i++ ) {\n\t\t\thandles.push( handle );\n\t\t}\n\n\t\tthis.handles = existingHandles.add( $( handles.join( \"\" ) ).appendTo( this.element ) );\n\n\t\tthis._addClass( this.handles, \"ui-slider-handle\", \"ui-state-default\" );\n\n\t\tthis.handle = this.handles.eq( 0 );\n\n\t\tthis.handles.each( function( i ) {\n\t\t\t$( this )\n\t\t\t\t.data( \"ui-slider-handle-index\", i )\n\t\t\t\t.attr( \"tabIndex\", 0 );\n\t\t} );\n\t},\n\n\t_createRange: function() {\n\t\tvar options = this.options;\n\n\t\tif ( options.range ) {\n\t\t\tif ( options.range === true ) {\n\t\t\t\tif ( !options.values ) {\n\t\t\t\t\toptions.values = [ this._valueMin(), this._valueMin() ];\n\t\t\t\t} else if ( options.values.length && options.values.length !== 2 ) {\n\t\t\t\t\toptions.values = [ options.values[ 0 ], options.values[ 0 ] ];\n\t\t\t\t} else if ( $.isArray( options.values ) ) {\n\t\t\t\t\toptions.values = options.values.slice( 0 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( !this.range || !this.range.length ) {\n\t\t\t\tthis.range = $( \"<div>\" )\n\t\t\t\t\t.appendTo( this.element );\n\n\t\t\t\tthis._addClass( this.range, \"ui-slider-range\" );\n\t\t\t} else {\n\t\t\t\tthis._removeClass( this.range, \"ui-slider-range-min ui-slider-range-max\" );\n\n\t\t\t\t// Handle range switching from true to min/max\n\t\t\t\tthis.range.css( {\n\t\t\t\t\t\"left\": \"\",\n\t\t\t\t\t\"bottom\": \"\"\n\t\t\t\t} );\n\t\t\t}\n\t\t\tif ( options.range === \"min\" || options.range === \"max\" ) {\n\t\t\t\tthis._addClass( this.range, \"ui-slider-range-\" + options.range );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( this.range ) {\n\t\t\t\tthis.range.remove();\n\t\t\t}\n\t\t\tthis.range = null;\n\t\t}\n\t},\n\n\t_setupEvents: function() {\n\t\tthis._off( this.handles );\n\t\tthis._on( this.handles, this._handleEvents );\n\t\tthis._hoverable( this.handles );\n\t\tthis._focusable( this.handles );\n\t},\n\n\t_destroy: function() {\n\t\tthis.handles.remove();\n\t\tif ( this.range ) {\n\t\t\tthis.range.remove();\n\t\t}\n\n\t\tthis._mouseDestroy();\n\t},\n\n\t_mouseCapture: function( event ) {\n\t\tvar position, normValue, distance, closestHandle, index, allowed, offset, mouseOverHandle,\n\t\t\tthat = this,\n\t\t\to = this.options;\n\n\t\tif ( o.disabled ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tthis.elementSize = {\n\t\t\twidth: this.element.outerWidth(),\n\t\t\theight: this.element.outerHeight()\n\t\t};\n\t\tthis.elementOffset = this.element.offset();\n\n\t\tposition = { x: event.pageX, y: event.pageY };\n\t\tnormValue = this._normValueFromMouse( position );\n\t\tdistance = this._valueMax() - this._valueMin() + 1;\n\t\tthis.handles.each( function( i ) {\n\t\t\tvar thisDistance = Math.abs( normValue - that.values( i ) );\n\t\t\tif ( ( distance > thisDistance ) ||\n\t\t\t\t( distance === thisDistance &&\n\t\t\t\t\t( i === that._lastChangedValue || that.values( i ) === o.min ) ) ) {\n\t\t\t\tdistance = thisDistance;\n\t\t\t\tclosestHandle = $( this );\n\t\t\t\tindex = i;\n\t\t\t}\n\t\t} );\n\n\t\tallowed = this._start( event, index );\n\t\tif ( allowed === false ) {\n\t\t\treturn false;\n\t\t}\n\t\tthis._mouseSliding = true;\n\n\t\tthis._handleIndex = index;\n\n\t\tthis._addClass( closestHandle, null, \"ui-state-active\" );\n\t\tclosestHandle.trigger( \"focus\" );\n\n\t\toffset = closestHandle.offset();\n\t\tmouseOverHandle = !$( event.target ).parents().addBack().is( \".ui-slider-handle\" );\n\t\tthis._clickOffset = mouseOverHandle ? { left: 0, top: 0 } : {\n\t\t\tleft: event.pageX - offset.left - ( closestHandle.width() / 2 ),\n\t\t\ttop: event.pageY - offset.top -\n\t\t\t\t( closestHandle.height() / 2 ) -\n\t\t\t\t( parseInt( closestHandle.css( \"borderTopWidth\" ), 10 ) || 0 ) -\n\t\t\t\t( parseInt( closestHandle.css( \"borderBottomWidth\" ), 10 ) || 0 ) +\n\t\t\t\t( parseInt( closestHandle.css( \"marginTop\" ), 10 ) || 0 )\n\t\t};\n\n\t\tif ( !this.handles.hasClass( \"ui-state-hover\" ) ) {\n\t\t\tthis._slide( event, index, normValue );\n\t\t}\n\t\tthis._animateOff = true;\n\t\treturn true;\n\t},\n\n\t_mouseStart: function() {\n\t\treturn true;\n\t},\n\n\t_mouseDrag: function( event ) {\n\t\tvar position = { x: event.pageX, y: event.pageY },\n\t\t\tnormValue = this._normValueFromMouse( position );\n\n\t\tthis._slide( event, this._handleIndex, normValue );\n\n\t\treturn false;\n\t},\n\n\t_mouseStop: function( event ) {\n\t\tthis._removeClass( this.handles, null, \"ui-state-active\" );\n\t\tthis._mouseSliding = false;\n\n\t\tthis._stop( event, this._handleIndex );\n\t\tthis._change( event, this._handleIndex );\n\n\t\tthis._handleIndex = null;\n\t\tthis._clickOffset = null;\n\t\tthis._animateOff = false;\n\n\t\treturn false;\n\t},\n\n\t_detectOrientation: function() {\n\t\tthis.orientation = ( this.options.orientation === \"vertical\" ) ? \"vertical\" : \"horizontal\";\n\t},\n\n\t_normValueFromMouse: function( position ) {\n\t\tvar pixelTotal,\n\t\t\tpixelMouse,\n\t\t\tpercentMouse,\n\t\t\tvalueTotal,\n\t\t\tvalueMouse;\n\n\t\tif ( this.orientation === \"horizontal\" ) {\n\t\t\tpixelTotal = this.elementSize.width;\n\t\t\tpixelMouse = position.x - this.elementOffset.left -\n\t\t\t\t( this._clickOffset ? this._clickOffset.left : 0 );\n\t\t} else {\n\t\t\tpixelTotal = this.elementSize.height;\n\t\t\tpixelMouse = position.y - this.elementOffset.top -\n\t\t\t\t( this._clickOffset ? this._clickOffset.top : 0 );\n\t\t}\n\n\t\tpercentMouse = ( pixelMouse / pixelTotal );\n\t\tif ( percentMouse > 1 ) {\n\t\t\tpercentMouse = 1;\n\t\t}\n\t\tif ( percentMouse < 0 ) {\n\t\t\tpercentMouse = 0;\n\t\t}\n\t\tif ( this.orientation === \"vertical\" ) {\n\t\t\tpercentMouse = 1 - percentMouse;\n\t\t}\n\n\t\tvalueTotal = this._valueMax() - this._valueMin();\n\t\tvalueMouse = this._valueMin() + percentMouse * valueTotal;\n\n\t\treturn this._trimAlignValue( valueMouse );\n\t},\n\n\t_uiHash: function( index, value, values ) {\n\t\tvar uiHash = {\n\t\t\thandle: this.handles[ index ],\n\t\t\thandleIndex: index,\n\t\t\tvalue: value !== undefined ? value : this.value()\n\t\t};\n\n\t\tif ( this._hasMultipleValues() ) {\n\t\t\tuiHash.value = value !== undefined ? value : this.values( index );\n\t\t\tuiHash.values = values || this.values();\n\t\t}\n\n\t\treturn uiHash;\n\t},\n\n\t_hasMultipleValues: function() {\n\t\treturn this.options.values && this.options.values.length;\n\t},\n\n\t_start: function( event, index ) {\n\t\treturn this._trigger( \"start\", event, this._uiHash( index ) );\n\t},\n\n\t_slide: function( event, index, newVal ) {\n\t\tvar allowed, otherVal,\n\t\t\tcurrentValue = this.value(),\n\t\t\tnewValues = this.values();\n\n\t\tif ( this._hasMultipleValues() ) {\n\t\t\totherVal = this.values( index ? 0 : 1 );\n\t\t\tcurrentValue = this.values( index );\n\n\t\t\tif ( this.options.values.length === 2 && this.options.range === true ) {\n\t\t\t\tnewVal = index === 0 ? Math.min( otherVal, newVal ) : Math.max( otherVal, newVal );\n\t\t\t}\n\n\t\t\tnewValues[ index ] = newVal;\n\t\t}\n\n\t\tif ( newVal === currentValue ) {\n\t\t\treturn;\n\t\t}\n\n\t\tallowed = this._trigger( \"slide\", event, this._uiHash( index, newVal, newValues ) );\n\n\t\t// A slide can be canceled by returning false from the slide callback\n\t\tif ( allowed === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( this._hasMultipleValues() ) {\n\t\t\tthis.values( index, newVal );\n\t\t} else {\n\t\t\tthis.value( newVal );\n\t\t}\n\t},\n\n\t_stop: function( event, index ) {\n\t\tthis._trigger( \"stop\", event, this._uiHash( index ) );\n\t},\n\n\t_change: function( event, index ) {\n\t\tif ( !this._keySliding && !this._mouseSliding ) {\n\n\t\t\t//store the last changed value index for reference when handles overlap\n\t\t\tthis._lastChangedValue = index;\n\t\t\tthis._trigger( \"change\", event, this._uiHash( index ) );\n\t\t}\n\t},\n\n\tvalue: function( newValue ) {\n\t\tif ( arguments.length ) {\n\t\t\tthis.options.value = this._trimAlignValue( newValue );\n\t\t\tthis._refreshValue();\n\t\t\tthis._change( null, 0 );\n\t\t\treturn;\n\t\t}\n\n\t\treturn this._value();\n\t},\n\n\tvalues: function( index, newValue ) {\n\t\tvar vals,\n\t\t\tnewValues,\n\t\t\ti;\n\n\t\tif ( arguments.length > 1 ) {\n\t\t\tthis.options.values[ index ] = this._trimAlignValue( newValue );\n\t\t\tthis._refreshValue();\n\t\t\tthis._change( null, index );\n\t\t\treturn;\n\t\t}\n\n\t\tif ( arguments.length ) {\n\t\t\tif ( $.isArray( arguments[ 0 ] ) ) {\n\t\t\t\tvals = this.options.values;\n\t\t\t\tnewValues = arguments[ 0 ];\n\t\t\t\tfor ( i = 0; i < vals.length; i += 1 ) {\n\t\t\t\t\tvals[ i ] = this._trimAlignValue( newValues[ i ] );\n\t\t\t\t\tthis._change( null, i );\n\t\t\t\t}\n\t\t\t\tthis._refreshValue();\n\t\t\t} else {\n\t\t\t\tif ( this._hasMultipleValues() ) {\n\t\t\t\t\treturn this._values( index );\n\t\t\t\t} else {\n\t\t\t\t\treturn this.value();\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\treturn this._values();\n\t\t}\n\t},\n\n\t_setOption: function( key, value ) {\n\t\tvar i,\n\t\t\tvalsLength = 0;\n\n\t\tif ( key === \"range\" && this.options.range === true ) {\n\t\t\tif ( value === \"min\" ) {\n\t\t\t\tthis.options.value = this._values( 0 );\n\t\t\t\tthis.options.values = null;\n\t\t\t} else if ( value === \"max\" ) {\n\t\t\t\tthis.options.value = this._values( this.options.values.length - 1 );\n\t\t\t\tthis.options.values = null;\n\t\t\t}\n\t\t}\n\n\t\tif ( $.isArray( this.options.values ) ) {\n\t\t\tvalsLength = this.options.values.length;\n\t\t}\n\n\t\tthis._super( key, value );\n\n\t\tswitch ( key ) {\n\t\t\tcase \"orientation\":\n\t\t\t\tthis._detectOrientation();\n\t\t\t\tthis._removeClass( \"ui-slider-horizontal ui-slider-vertical\" )\n\t\t\t\t\t._addClass( \"ui-slider-\" + this.orientation );\n\t\t\t\tthis._refreshValue();\n\t\t\t\tif ( this.options.range ) {\n\t\t\t\t\tthis._refreshRange( value );\n\t\t\t\t}\n\n\t\t\t\t// Reset positioning from previous orientation\n\t\t\t\tthis.handles.css( value === \"horizontal\" ? \"bottom\" : \"left\", \"\" );\n\t\t\t\tbreak;\n\t\t\tcase \"value\":\n\t\t\t\tthis._animateOff = true;\n\t\t\t\tthis._refreshValue();\n\t\t\t\tthis._change( null, 0 );\n\t\t\t\tthis._animateOff = false;\n\t\t\t\tbreak;\n\t\t\tcase \"values\":\n\t\t\t\tthis._animateOff = true;\n\t\t\t\tthis._refreshValue();\n\n\t\t\t\t// Start from the last handle to prevent unreachable handles (#9046)\n\t\t\t\tfor ( i = valsLength - 1; i >= 0; i-- ) {\n\t\t\t\t\tthis._change( null, i );\n\t\t\t\t}\n\t\t\t\tthis._animateOff = false;\n\t\t\t\tbreak;\n\t\t\tcase \"step\":\n\t\t\tcase \"min\":\n\t\t\tcase \"max\":\n\t\t\t\tthis._animateOff = true;\n\t\t\t\tthis._calculateNewMax();\n\t\t\t\tthis._refreshValue();\n\t\t\t\tthis._animateOff = false;\n\t\t\t\tbreak;\n\t\t\tcase \"range\":\n\t\t\t\tthis._animateOff = true;\n\t\t\t\tthis._refresh();\n\t\t\t\tthis._animateOff = false;\n\t\t\t\tbreak;\n\t\t}\n\t},\n\n\t_setOptionDisabled: function( value ) {\n\t\tthis._super( value );\n\n\t\tthis._toggleClass( null, \"ui-state-disabled\", !!value );\n\t},\n\n\t//internal value getter\n\t// _value() returns value trimmed by min and max, aligned by step\n\t_value: function() {\n\t\tvar val = this.options.value;\n\t\tval = this._trimAlignValue( val );\n\n\t\treturn val;\n\t},\n\n\t//internal values getter\n\t// _values() returns array of values trimmed by min and max, aligned by step\n\t// _values( index ) returns single value trimmed by min and max, aligned by step\n\t_values: function( index ) {\n\t\tvar val,\n\t\t\tvals,\n\t\t\ti;\n\n\t\tif ( arguments.length ) {\n\t\t\tval = this.options.values[ index ];\n\t\t\tval = this._trimAlignValue( val );\n\n\t\t\treturn val;\n\t\t} else if ( this._hasMultipleValues() ) {\n\n\t\t\t// .slice() creates a copy of the array\n\t\t\t// this copy gets trimmed by min and max and then returned\n\t\t\tvals = this.options.values.slice();\n\t\t\tfor ( i = 0; i < vals.length; i += 1 ) {\n\t\t\t\tvals[ i ] = this._trimAlignValue( vals[ i ] );\n\t\t\t}\n\n\t\t\treturn vals;\n\t\t} else {\n\t\t\treturn [];\n\t\t}\n\t},\n\n\t// Returns the step-aligned value that val is closest to, between (inclusive) min and max\n\t_trimAlignValue: function( val ) {\n\t\tif ( val <= this._valueMin() ) {\n\t\t\treturn this._valueMin();\n\t\t}\n\t\tif ( val >= this._valueMax() ) {\n\t\t\treturn this._valueMax();\n\t\t}\n\t\tvar step = ( this.options.step > 0 ) ? this.options.step : 1,\n\t\t\tvalModStep = ( val - this._valueMin() ) % step,\n\t\t\talignValue = val - valModStep;\n\n\t\tif ( Math.abs( valModStep ) * 2 >= step ) {\n\t\t\talignValue += ( valModStep > 0 ) ? step : ( -step );\n\t\t}\n\n\t\t// Since JavaScript has problems with large floats, round\n\t\t// the final value to 5 digits after the decimal point (see #4124)\n\t\treturn parseFloat( alignValue.toFixed( 5 ) );\n\t},\n\n\t_calculateNewMax: function() {\n\t\tvar max = this.options.max,\n\t\t\tmin = this._valueMin(),\n\t\t\tstep = this.options.step,\n\t\t\taboveMin = Math.round( ( max - min ) / step ) * step;\n\t\tmax = aboveMin + min;\n\t\tif ( max > this.options.max ) {\n\n\t\t\t//If max is not divisible by step, rounding off may increase its value\n\t\t\tmax -= step;\n\t\t}\n\t\tthis.max = parseFloat( max.toFixed( this._precision() ) );\n\t},\n\n\t_precision: function() {\n\t\tvar precision = this._precisionOf( this.options.step );\n\t\tif ( this.options.min !== null ) {\n\t\t\tprecision = Math.max( precision, this._precisionOf( this.options.min ) );\n\t\t}\n\t\treturn precision;\n\t},\n\n\t_precisionOf: function( num ) {\n\t\tvar str = num.toString(),\n\t\t\tdecimal = str.indexOf( \".\" );\n\t\treturn decimal === -1 ? 0 : str.length - decimal - 1;\n\t},\n\n\t_valueMin: function() {\n\t\treturn this.options.min;\n\t},\n\n\t_valueMax: function() {\n\t\treturn this.max;\n\t},\n\n\t_refreshRange: function( orientation ) {\n\t\tif ( orientation === \"vertical\" ) {\n\t\t\tthis.range.css( { \"width\": \"\", \"left\": \"\" } );\n\t\t}\n\t\tif ( orientation === \"horizontal\" ) {\n\t\t\tthis.range.css( { \"height\": \"\", \"bottom\": \"\" } );\n\t\t}\n\t},\n\n\t_refreshValue: function() {\n\t\tvar lastValPercent, valPercent, value, valueMin, valueMax,\n\t\t\toRange = this.options.range,\n\t\t\to = this.options,\n\t\t\tthat = this,\n\t\t\tanimate = ( !this._animateOff ) ? o.animate : false,\n\t\t\t_set = {};\n\n\t\tif ( this._hasMultipleValues() ) {\n\t\t\tthis.handles.each( function( i ) {\n\t\t\t\tvalPercent = ( that.values( i ) - that._valueMin() ) / ( that._valueMax() -\n\t\t\t\t\tthat._valueMin() ) * 100;\n\t\t\t\t_set[ that.orientation === \"horizontal\" ? \"left\" : \"bottom\" ] = valPercent + \"%\";\n\t\t\t\t$( this ).stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( _set, o.animate );\n\t\t\t\tif ( that.options.range === true ) {\n\t\t\t\t\tif ( that.orientation === \"horizontal\" ) {\n\t\t\t\t\t\tif ( i === 0 ) {\n\t\t\t\t\t\t\tthat.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\t\t\t\tleft: valPercent + \"%\"\n\t\t\t\t\t\t\t}, o.animate );\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( i === 1 ) {\n\t\t\t\t\t\t\tthat.range[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\t\t\t\twidth: ( valPercent - lastValPercent ) + \"%\"\n\t\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\t\tqueue: false,\n\t\t\t\t\t\t\t\tduration: o.animate\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif ( i === 0 ) {\n\t\t\t\t\t\t\tthat.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\t\t\t\tbottom: ( valPercent ) + \"%\"\n\t\t\t\t\t\t\t}, o.animate );\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( i === 1 ) {\n\t\t\t\t\t\t\tthat.range[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\t\t\t\theight: ( valPercent - lastValPercent ) + \"%\"\n\t\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\t\tqueue: false,\n\t\t\t\t\t\t\t\tduration: o.animate\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlastValPercent = valPercent;\n\t\t\t} );\n\t\t} else {\n\t\t\tvalue = this.value();\n\t\t\tvalueMin = this._valueMin();\n\t\t\tvalueMax = this._valueMax();\n\t\t\tvalPercent = ( valueMax !== valueMin ) ?\n\t\t\t\t\t( value - valueMin ) / ( valueMax - valueMin ) * 100 :\n\t\t\t\t\t0;\n\t\t\t_set[ this.orientation === \"horizontal\" ? \"left\" : \"bottom\" ] = valPercent + \"%\";\n\t\t\tthis.handle.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( _set, o.animate );\n\n\t\t\tif ( oRange === \"min\" && this.orientation === \"horizontal\" ) {\n\t\t\t\tthis.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\twidth: valPercent + \"%\"\n\t\t\t\t}, o.animate );\n\t\t\t}\n\t\t\tif ( oRange === \"max\" && this.orientation === \"horizontal\" ) {\n\t\t\t\tthis.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\twidth: ( 100 - valPercent ) + \"%\"\n\t\t\t\t}, o.animate );\n\t\t\t}\n\t\t\tif ( oRange === \"min\" && this.orientation === \"vertical\" ) {\n\t\t\t\tthis.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\theight: valPercent + \"%\"\n\t\t\t\t}, o.animate );\n\t\t\t}\n\t\t\tif ( oRange === \"max\" && this.orientation === \"vertical\" ) {\n\t\t\t\tthis.range.stop( 1, 1 )[ animate ? \"animate\" : \"css\" ]( {\n\t\t\t\t\theight: ( 100 - valPercent ) + \"%\"\n\t\t\t\t}, o.animate );\n\t\t\t}\n\t\t}\n\t},\n\n\t_handleEvents: {\n\t\tkeydown: function( event ) {\n\t\t\tvar allowed, curVal, newVal, step,\n\t\t\t\tindex = $( event.target ).data( \"ui-slider-handle-index\" );\n\n\t\t\tswitch ( event.keyCode ) {\n\t\t\t\tcase $.ui.keyCode.HOME:\n\t\t\t\tcase $.ui.keyCode.END:\n\t\t\t\tcase $.ui.keyCode.PAGE_UP:\n\t\t\t\tcase $.ui.keyCode.PAGE_DOWN:\n\t\t\t\tcase $.ui.keyCode.UP:\n\t\t\t\tcase $.ui.keyCode.RIGHT:\n\t\t\t\tcase $.ui.keyCode.DOWN:\n\t\t\t\tcase $.ui.keyCode.LEFT:\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tif ( !this._keySliding ) {\n\t\t\t\t\t\tthis._keySliding = true;\n\t\t\t\t\t\tthis._addClass( $( event.target ), null, \"ui-state-active\" );\n\t\t\t\t\t\tallowed = this._start( event, index );\n\t\t\t\t\t\tif ( allowed === false ) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tstep = this.options.step;\n\t\t\tif ( this._hasMultipleValues() ) {\n\t\t\t\tcurVal = newVal = this.values( index );\n\t\t\t} else {\n\t\t\t\tcurVal = newVal = this.value();\n\t\t\t}\n\n\t\t\tswitch ( event.keyCode ) {\n\t\t\t\tcase $.ui.keyCode.HOME:\n\t\t\t\t\tnewVal = this._valueMin();\n\t\t\t\t\tbreak;\n\t\t\t\tcase $.ui.keyCode.END:\n\t\t\t\t\tnewVal = this._valueMax();\n\t\t\t\t\tbreak;\n\t\t\t\tcase $.ui.keyCode.PAGE_UP:\n\t\t\t\t\tnewVal = this._trimAlignValue(\n\t\t\t\t\t\tcurVal + ( ( this._valueMax() - this._valueMin() ) / this.numPages )\n\t\t\t\t\t);\n\t\t\t\t\tbreak;\n\t\t\t\tcase $.ui.keyCode.PAGE_DOWN:\n\t\t\t\t\tnewVal = this._trimAlignValue(\n\t\t\t\t\t\tcurVal - ( ( this._valueMax() - this._valueMin() ) / this.numPages ) );\n\t\t\t\t\tbreak;\n\t\t\t\tcase $.ui.keyCode.UP:\n\t\t\t\tcase $.ui.keyCode.RIGHT:\n\t\t\t\t\tif ( curVal === this._valueMax() ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tnewVal = this._trimAlignValue( curVal + step );\n\t\t\t\t\tbreak;\n\t\t\t\tcase $.ui.keyCode.DOWN:\n\t\t\t\tcase $.ui.keyCode.LEFT:\n\t\t\t\t\tif ( curVal === this._valueMin() ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tnewVal = this._trimAlignValue( curVal - step );\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tthis._slide( event, index, newVal );\n\t\t},\n\t\tkeyup: function( event ) {\n\t\t\tvar index = $( event.target ).data( \"ui-slider-handle-index\" );\n\n\t\t\tif ( this._keySliding ) {\n\t\t\t\tthis._keySliding = false;\n\t\t\t\tthis._stop( event, index );\n\t\t\t\tthis._change( event, index );\n\t\t\t\tthis._removeClass( $( event.target ), null, \"ui-state-active\" );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n\n\n\n}));\n","/*!\n * jQuery UI Touch Punch 0.2.3\n *\n * Copyright 2011–2014, Dave Furfero\n * Dual licensed under the MIT or GPL Version 2 licenses.\n *\n * Depends:\n * jquery.ui.widget.js\n * jquery.ui.mouse.js\n */\n/*eslint-disable*/\n!function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent(\"MouseEvents\");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch=\"ontouchend\"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,\"mouseover\"),f(a,\"mousemove\"),f(a,\"mousedown\"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,\"mousemove\"))},b._touchEnd=function(a){e&&(f(a,\"mouseup\"),f(a,\"mouseout\"),this._touchMoved||f(a,\"click\"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,\"_touchStart\"),touchmove:a.proxy(b,\"_touchMove\"),touchend:a.proxy(b,\"_touchEnd\")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,\"_touchStart\"),touchmove:a.proxy(b,\"_touchMove\"),touchend:a.proxy(b,\"_touchEnd\")}),d.call(b)}}}(jQuery);\n","/*eslint-disable*/\n/*!\n * @fileOverview TouchSwipe - jQuery Plugin\n * @version 1.6.18\n *\n * @author Matt Bryson http://www.github.com/mattbryson\n * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin\n * @see http://labs.rampinteractive.co.uk/touchSwipe/\n * @see http://plugins.jquery.com/project/touchSwipe\n * @license\n * Copyright (c) 2010-2015 Matt Bryson\n * Dual licensed under the MIT or GPL Version 2 licenses.\n *\n */\n\n/*\n *\n * Changelog\n * $Date: 2010-12-12 (Wed, 12 Dec 2010) $\n * $version: 1.0.0\n * $version: 1.0.1 - removed multibyte comments\n *\n * $Date: 2011-21-02 (Mon, 21 Feb 2011) $\n * $version: 1.1.0 \t- added allowPageScroll property to allow swiping and scrolling of page\n *\t\t\t\t\t- changed handler signatures so one handler can be used for multiple events\n * $Date: 2011-23-02 (Wed, 23 Feb 2011) $\n * $version: 1.2.0 \t- added click handler. This is fired if the user simply clicks and does not swipe. The event object and click target are passed to handler.\n *\t\t\t\t\t- If you use the http://code.google.com/p/jquery-ui-for-ipad-and-iphone/ plugin, you can also assign jQuery mouse events to children of a touchSwipe object.\n * $version: 1.2.1 \t- removed console log!\n *\n * $version: 1.2.2 \t- Fixed bug where scope was not preserved in callback methods.\n *\n * $Date: 2011-28-04 (Thurs, 28 April 2011) $\n * $version: 1.2.4 \t- Changed licence terms to be MIT or GPL inline with jQuery. Added check for support of touch events to stop non compatible browsers erroring.\n *\n * $Date: 2011-27-09 (Tues, 27 September 2011) $\n * $version: 1.2.5 \t- Added support for testing swipes with mouse on desktop browser (thanks to https://github.com/joelhy)\n *\n * $Date: 2012-14-05 (Mon, 14 May 2012) $\n * $version: 1.2.6 \t- Added timeThreshold between start and end touch, so user can ignore slow swipes (thanks to Mark Chase). Default is null, all swipes are detected\n *\n * $Date: 2012-05-06 (Tues, 05 June 2012) $\n * $version: 1.2.7 \t- Changed time threshold to have null default for backwards compatibility. Added duration param passed back in events, and refactored how time is handled.\n *\n * $Date: 2012-05-06 (Tues, 05 June 2012) $\n * $version: 1.2.8 \t- Added the possibility to return a value like null or false in the trigger callback. In that way we can control when the touch start/move should take effect or not (simply by returning in some cases return null; or return false;) This effects the ontouchstart/ontouchmove event.\n *\n * $Date: 2012-06-06 (Wed, 06 June 2012) $\n * $version: 1.3.0 \t- Refactored whole plugin to allow for methods to be executed, as well as exposed defaults for user override. Added 'enable', 'disable', and 'destroy' methods\n *\n * $Date: 2012-05-06 (Fri, 05 June 2012) $\n * $version: 1.3.1 \t- Bug fixes - bind() with false as last argument is no longer supported in jQuery 1.6, also, if you just click, the duration is now returned correctly.\n *\n * $Date: 2012-29-07 (Sun, 29 July 2012) $\n * $version: 1.3.2\t- Added fallbackToMouseEvents option to NOT capture mouse events on non touch devices.\n * \t\t\t- Added \"all\" fingers value to the fingers property, so any combination of fingers triggers the swipe, allowing event handlers to check the finger count\n *\n * $Date: 2012-09-08 (Thurs, 9 Aug 2012) $\n * $version: 1.3.3\t- Code tidy prep for minefied version\n *\n * $Date: 2012-04-10 (wed, 4 Oct 2012) $\n * $version: 1.4.0\t- Added pinch support, pinchIn and pinchOut\n *\n * $Date: 2012-11-10 (Thurs, 11 Oct 2012) $\n * $version: 1.5.0\t- Added excludedElements, a jquery selector that specifies child elements that do NOT trigger swipes. By default, this is .noSwipe\n *\n * $Date: 2012-22-10 (Mon, 22 Oct 2012) $\n * $version: 1.5.1\t- Fixed bug with jQuery 1.8 and trailing comma in excludedElements\n *\t\t\t\t\t- Fixed bug with IE and eventPreventDefault()\n * $Date: 2013-01-12 (Fri, 12 Jan 2013) $\n * $version: 1.6.0\t- Fixed bugs with pinching, mainly when both pinch and swipe enabled, as well as adding time threshold for multifinger gestures, so releasing one finger beofre the other doesnt trigger as single finger gesture.\n *\t\t\t\t\t- made the demo site all static local HTML pages so they can be run locally by a developer\n *\t\t\t\t\t- added jsDoc comments and added documentation for the plugin\n *\t\t\t\t\t- code tidy\n *\t\t\t\t\t- added triggerOnTouchLeave property that will end the event when the user swipes off the element.\n * $Date: 2013-03-23 (Sat, 23 Mar 2013) $\n * $version: 1.6.1\t- Added support for ie8 touch events\n * $version: 1.6.2\t- Added support for events binding with on / off / bind in jQ for all callback names.\n * - Deprecated the 'click' handler in favour of tap.\n * - added cancelThreshold property\n * - added option method to update init options at runtime\n * $version 1.6.3 - added doubletap, longtap events and longTapThreshold, doubleTapThreshold property\n *\n * $Date: 2013-04-04 (Thurs, 04 April 2013) $\n * $version 1.6.4 - Fixed bug with cancelThreshold introduced in 1.6.3, where swipe status no longer fired start event, and stopped once swiping back.\n *\n * $Date: 2013-08-24 (Sat, 24 Aug 2013) $\n * $version 1.6.5 - Merged a few pull requests fixing various bugs, added AMD support.\n *\n * $Date: 2014-06-04 (Wed, 04 June 2014) $\n * $version 1.6.6 \t- Merge of pull requests.\n * \t\t\t\t- IE10 touch support\n * \t\t\t\t- Only prevent default event handling on valid swipe\n * \t\t\t\t- Separate license/changelog comment\n * \t\t\t\t- Detect if the swipe is valid at the end of the touch event.\n * \t\t\t\t- Pass fingerdata to event handlers.\n * \t\t\t\t- Add 'hold' gesture\n * \t\t\t\t- Be more tolerant about the tap distance\n * \t\t\t\t- Typos and minor fixes\n *\n * $Date: 2015-22-01 (Thurs, 22 Jan 2015) $\n * $version 1.6.7 - Added patch from https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/issues/206 to fix memory leak\n *\n * $Date: 2015-2-2 (Mon, 2 Feb 2015) $\n * $version 1.6.8 - Added preventDefaultEvents option to proxy events regardless.\n *\t\t\t\t\t- Fixed issue with swipe and pinch not triggering at the same time\n *\n * $Date: 2015-9-6 (Tues, 9 June 2015) $\n * $version 1.6.9 - Added PR from jdalton/hybrid to fix pointer events\n *\t\t\t\t\t- Added scrolling demo\n *\t\t\t\t\t- Added version property to plugin\n *\n * $Date: 2015-1-10 (Wed, 1 October 2015) $\n * $version 1.6.10 - Added PR from beatspace to fix tap events\n * $version 1.6.11 - Added PRs from indri-indri ( Doc tidyup), kkirsche ( Bower tidy up ), UziTech (preventDefaultEvents fixes )\n *\t\t\t\t\t - Allowed setting multiple options via .swipe(\"options\", options_hash) and more simply .swipe(options_hash) or exisitng instances\n * $version 1.6.12 - Fixed bug with multi finger releases above 2 not triggering events\n *\n * $Date: 2015-12-18 (Fri, 18 December 2015) $\n * $version 1.6.13 - Added PRs\n * - Fixed #267 allowPageScroll not working correctly\n * $version 1.6.14 - Fixed #220 / #248 doubletap not firing with swipes, #223 commonJS compatible\n * $version 1.6.15 - More bug fixes\n *\n * $Date: 2016-04-29 (Fri, 29 April 2016) $\n * $version 1.6.16 - Swipes with 0 distance now allow default events to trigger. So tapping any form elements or A tags will allow default interaction, but swiping will trigger a swipe.\n Removed the a, input, select etc from the excluded Children list as the 0 distance tap solves that issue.\n* $Date: 2016-05-19 (Fri, 29 April 2016) $\n* $version 1.6.17 - Fixed context issue when calling instance methods via $(\"selector\").swipe(\"method\");\n* $version 1.6.18 - now honors fallbackToMouseEvents=false for MS Pointer events when a Mouse is used.\n\n */\n\n/**\n * See (http://jquery.com/).\n * @name $\n * @class\n * See the jQuery Library (http://jquery.com/) for full details. This just\n * documents the function and classes that are added to jQuery by this plug-in.\n */\n\n/**\n * See (http://jquery.com/)\n * @name fn\n * @class\n * See the jQuery Library (http://jquery.com/) for full details. This just\n * documents the function and classes that are added to jQuery by this plug-in.\n * @memberOf $\n */\n\n(function (factory) {\n if (typeof module !== 'undefined' && module.exports) {\n // CommonJS Module\n factory(require('jquery'));\n } else {\n // Browser globals.\n factory(jQuery);\n }\n})(function ($) {\n 'use strict';\n\n //Constants\n var VERSION = '1.6.18',\n LEFT = 'left',\n RIGHT = 'right',\n UP = 'up',\n DOWN = 'down',\n IN = 'in',\n OUT = 'out',\n NONE = 'none',\n AUTO = 'auto',\n SWIPE = 'swipe',\n PINCH = 'pinch',\n TAP = 'tap',\n DOUBLE_TAP = 'doubletap',\n LONG_TAP = 'longtap',\n HOLD = 'hold',\n HORIZONTAL = 'horizontal',\n VERTICAL = 'vertical',\n ALL_FINGERS = 'all',\n DOUBLE_TAP_THRESHOLD = 10,\n PHASE_START = 'start',\n PHASE_MOVE = 'move',\n PHASE_END = 'end',\n PHASE_CANCEL = 'cancel',\n SUPPORTS_TOUCH = 'ontouchstart' in window,\n SUPPORTS_POINTER_IE10 =\n window.navigator.msPointerEnabled && !window.navigator.pointerEnabled && !SUPPORTS_TOUCH,\n SUPPORTS_POINTER = (window.navigator.pointerEnabled || window.navigator.msPointerEnabled) && !SUPPORTS_TOUCH,\n PLUGIN_NS = 'TouchSwipe';\n\n /**\n * The default configuration, and available options to configure touch swipe with.\n * You can set the default values by updating any of the properties prior to instantiation.\n * @name $.fn.swipe.defaults\n * @namespace\n * @property {int} [fingers=1] The number of fingers to detect in a swipe. Any swipes that do not meet this requirement will NOT trigger swipe handlers.\n * @property {int} [threshold=75] The number of pixels that the user must move their finger by before it is considered a swipe.\n * @property {int} [cancelThreshold=null] The number of pixels that the user must move their finger back from the original swipe direction to cancel the gesture.\n * @property {int} [pinchThreshold=20] The number of pixels that the user must pinch their finger by before it is considered a pinch.\n * @property {int} [maxTimeThreshold=null] Time, in milliseconds, between touchStart and touchEnd must NOT exceed in order to be considered a swipe.\n * @property {int} [fingerReleaseThreshold=250] Time in milliseconds between releasing multiple fingers. If 2 fingers are down, and are released one after the other, if they are within this threshold, it counts as a simultaneous release.\n * @property {int} [longTapThreshold=500] Time in milliseconds between tap and release for a long tap\n * @property {int} [doubleTapThreshold=200] Time in milliseconds between 2 taps to count as a double tap\n * @property {function} [swipe=null] A handler to catch all swipes. See {@link $.fn.swipe#event:swipe}\n * @property {function} [swipeLeft=null] A handler that is triggered for \"left\" swipes. See {@link $.fn.swipe#event:swipeLeft}\n * @property {function} [swipeRight=null] A handler that is triggered for \"right\" swipes. See {@link $.fn.swipe#event:swipeRight}\n * @property {function} [swipeUp=null] A handler that is triggered for \"up\" swipes. See {@link $.fn.swipe#event:swipeUp}\n * @property {function} [swipeDown=null] A handler that is triggered for \"down\" swipes. See {@link $.fn.swipe#event:swipeDown}\n * @property {function} [swipeStatus=null] A handler triggered for every phase of the swipe. See {@link $.fn.swipe#event:swipeStatus}\n * @property {function} [pinchIn=null] A handler triggered for pinch in events. See {@link $.fn.swipe#event:pinchIn}\n * @property {function} [pinchOut=null] A handler triggered for pinch out events. See {@link $.fn.swipe#event:pinchOut}\n * @property {function} [pinchStatus=null] A handler triggered for every phase of a pinch. See {@link $.fn.swipe#event:pinchStatus}\n * @property {function} [tap=null] A handler triggered when a user just taps on the item, rather than swipes it. If they do not move, tap is triggered, if they do move, it is not.\n * @property {function} [doubleTap=null] A handler triggered when a user double taps on the item. The delay between taps can be set with the doubleTapThreshold property. See {@link $.fn.swipe.defaults#doubleTapThreshold}\n * @property {function} [longTap=null] A handler triggered when a user long taps on the item. The delay between start and end can be set with the longTapThreshold property. See {@link $.fn.swipe.defaults#longTapThreshold}\n * @property (function) [hold=null] A handler triggered when a user reaches longTapThreshold on the item. See {@link $.fn.swipe.defaults#longTapThreshold}\n * @property {boolean} [triggerOnTouchEnd=true] If true, the swipe events are triggered when the touch end event is received (user releases finger). If false, it will be triggered on reaching the threshold, and then cancel the touch event automatically.\n * @property {boolean} [triggerOnTouchLeave=false] If true, then when the user leaves the swipe object, the swipe will end and trigger appropriate handlers.\n * @property {string|undefined} [allowPageScroll='auto'] How the browser handles page scrolls when the user is swiping on a touchSwipe object. See {@link $.fn.swipe.pageScroll}. <br/><br/>\n \t\t\t\t\t\t\t\t\t<code>\"auto\"</code> : all undefined swipes will cause the page to scroll in that direction. <br/>\n \t\t\t\t\t\t\t\t\t<code>\"none\"</code> : the page will not scroll when user swipes. <br/>\n \t\t\t\t\t\t\t\t\t<code>\"horizontal\"</code> : will force page to scroll on horizontal swipes. <br/>\n \t\t\t\t\t\t\t\t\t<code>\"vertical\"</code> : will force page to scroll on vertical swipes. <br/>\n * @property {boolean} [fallbackToMouseEvents=true] If true mouse events are used when run on a non touch device, false will stop swipes being triggered by mouse events on non touch devices.\n * @property {string} [excludedElements=\".noSwipe\"] A jquery selector that specifies child elements that do NOT trigger swipes. By default this excludes elements with the class .noSwipe .\n * @property {boolean} [preventDefaultEvents=true] by default default events are cancelled, so the page doesn't move. You can disable this so both native events fire as well as your handlers.\n\n */\n var defaults = {\n fingers: 1,\n threshold: 75,\n cancelThreshold: null,\n pinchThreshold: 20,\n maxTimeThreshold: null,\n fingerReleaseThreshold: 250,\n longTapThreshold: 500,\n doubleTapThreshold: 200,\n swipe: null,\n swipeLeft: null,\n swipeRight: null,\n swipeUp: null,\n swipeDown: null,\n swipeStatus: null,\n pinchIn: null,\n pinchOut: null,\n pinchStatus: null,\n click: null, //Deprecated since 1.6.2\n tap: null,\n doubleTap: null,\n longTap: null,\n hold: null,\n triggerOnTouchEnd: true,\n triggerOnTouchLeave: false,\n allowPageScroll: 'auto',\n fallbackToMouseEvents: true,\n excludedElements: '.noSwipe',\n preventDefaultEvents: true,\n };\n\n /**\n * Applies TouchSwipe behaviour to one or more jQuery objects.\n * The TouchSwipe plugin can be instantiated via this method, or methods within\n * TouchSwipe can be executed via this method as per jQuery plugin architecture.\n * An existing plugin can have its options changed simply by re calling .swipe(options)\n * @see TouchSwipe\n * @class\n * @param {Mixed} method If the current DOMNode is a TouchSwipe object, and <code>method</code> is a TouchSwipe method, then\n * the <code>method</code> is executed, and any following arguments are passed to the TouchSwipe method.\n * If <code>method</code> is an object, then the TouchSwipe class is instantiated on the current DOMNode, passing the\n * configuration properties defined in the object. See TouchSwipe\n *\n */\n $.fn.swipe = function (method) {\n var $this = $(this),\n plugin = $this.data(PLUGIN_NS);\n\n //Check if we are already instantiated and trying to execute a method\n if (plugin && typeof method === 'string') {\n if (plugin[method]) {\n return plugin[method].apply(plugin, Array.prototype.slice.call(arguments, 1));\n } else {\n $.error('Method ' + method + ' does not exist on jQuery.swipe');\n }\n }\n\n //Else update existing plugin with new options hash\n else if (plugin && typeof method === 'object') {\n plugin['option'].apply(plugin, arguments);\n }\n\n //Else not instantiated and trying to pass init object (or nothing)\n else if (!plugin && (typeof method === 'object' || !method)) {\n return init.apply(this, arguments);\n }\n\n return $this;\n };\n\n /**\n * The version of the plugin\n * @readonly\n */\n $.fn.swipe.version = VERSION;\n\n //Expose our defaults so a user could override the plugin defaults\n $.fn.swipe.defaults = defaults;\n\n /**\n * The phases that a touch event goes through. The <code>phase</code> is passed to the event handlers.\n * These properties are read only, attempting to change them will not alter the values passed to the event handlers.\n * @namespace\n * @readonly\n * @property {string} PHASE_START Constant indicating the start phase of the touch event. Value is <code>\"start\"</code>.\n * @property {string} PHASE_MOVE Constant indicating the move phase of the touch event. Value is <code>\"move\"</code>.\n * @property {string} PHASE_END Constant indicating the end phase of the touch event. Value is <code>\"end\"</code>.\n * @property {string} PHASE_CANCEL Constant indicating the cancel phase of the touch event. Value is <code>\"cancel\"</code>.\n */\n $.fn.swipe.phases = {\n PHASE_START: PHASE_START,\n PHASE_MOVE: PHASE_MOVE,\n PHASE_END: PHASE_END,\n PHASE_CANCEL: PHASE_CANCEL,\n };\n\n /**\n * The direction constants that are passed to the event handlers.\n * These properties are read only, attempting to change them will not alter the values passed to the event handlers.\n * @namespace\n * @readonly\n * @property {string} LEFT Constant indicating the left direction. Value is <code>\"left\"</code>.\n * @property {string} RIGHT Constant indicating the right direction. Value is <code>\"right\"</code>.\n * @property {string} UP Constant indicating the up direction. Value is <code>\"up\"</code>.\n * @property {string} DOWN Constant indicating the down direction. Value is <code>\"cancel\"</code>.\n * @property {string} IN Constant indicating the in direction. Value is <code>\"in\"</code>.\n * @property {string} OUT Constant indicating the out direction. Value is <code>\"out\"</code>.\n */\n $.fn.swipe.directions = {\n LEFT: LEFT,\n RIGHT: RIGHT,\n UP: UP,\n DOWN: DOWN,\n IN: IN,\n OUT: OUT,\n };\n\n /**\n * The page scroll constants that can be used to set the value of <code>allowPageScroll</code> option\n * These properties are read only\n * @namespace\n * @readonly\n * @see $.fn.swipe.defaults#allowPageScroll\n * @property {string} NONE Constant indicating no page scrolling is allowed. Value is <code>\"none\"</code>.\n * @property {string} HORIZONTAL Constant indicating horizontal page scrolling is allowed. Value is <code>\"horizontal\"</code>.\n * @property {string} VERTICAL Constant indicating vertical page scrolling is allowed. Value is <code>\"vertical\"</code>.\n * @property {string} AUTO Constant indicating either horizontal or vertical will be allowed, depending on the swipe handlers registered. Value is <code>\"auto\"</code>.\n */\n $.fn.swipe.pageScroll = {\n NONE: NONE,\n HORIZONTAL: HORIZONTAL,\n VERTICAL: VERTICAL,\n AUTO: AUTO,\n };\n\n /**\n * Constants representing the number of fingers used in a swipe. These are used to set both the value of <code>fingers</code> in the\n * options object, as well as the value of the <code>fingers</code> event property.\n * These properties are read only, attempting to change them will not alter the values passed to the event handlers.\n * @namespace\n * @readonly\n * @see $.fn.swipe.defaults#fingers\n * @property {string} ONE Constant indicating 1 finger is to be detected / was detected. Value is <code>1</code>.\n * @property {string} TWO Constant indicating 2 fingers are to be detected / were detected. Value is <code>2</code>.\n * @property {string} THREE Constant indicating 3 finger are to be detected / were detected. Value is <code>3</code>.\n * @property {string} FOUR Constant indicating 4 finger are to be detected / were detected. Not all devices support this. Value is <code>4</code>.\n * @property {string} FIVE Constant indicating 5 finger are to be detected / were detected. Not all devices support this. Value is <code>5</code>.\n * @property {string} ALL Constant indicating any combination of finger are to be detected. Value is <code>\"all\"</code>.\n */\n $.fn.swipe.fingers = {\n ONE: 1,\n TWO: 2,\n THREE: 3,\n FOUR: 4,\n FIVE: 5,\n ALL: ALL_FINGERS,\n };\n\n /**\n * Initialise the plugin for each DOM element matched\n * This creates a new instance of the main TouchSwipe class for each DOM element, and then\n * saves a reference to that instance in the elements data property.\n * @internal\n */\n function init(options) {\n //Prep and extend the options\n if (\n options &&\n options.allowPageScroll === undefined &&\n (options.swipe !== undefined || options.swipeStatus !== undefined)\n ) {\n options.allowPageScroll = NONE;\n }\n\n //Check for deprecated options\n //Ensure that any old click handlers are assigned to the new tap, unless we have a tap\n if (options.click !== undefined && options.tap === undefined) {\n options.tap = options.click;\n }\n\n if (!options) {\n options = {};\n }\n\n //pass empty object so we dont modify the defaults\n options = $.extend({}, $.fn.swipe.defaults, options);\n\n //For each element instantiate the plugin\n return this.each(function () {\n var $this = $(this);\n\n //Check we havent already initialised the plugin\n var plugin = $this.data(PLUGIN_NS);\n\n if (!plugin) {\n plugin = new TouchSwipe(this, options);\n $this.data(PLUGIN_NS, plugin);\n }\n });\n }\n\n /**\n * Main TouchSwipe Plugin Class.\n * Do not use this to construct your TouchSwipe object, use the jQuery plugin method $.fn.swipe(); {@link $.fn.swipe}\n * @private\n * @name TouchSwipe\n * @param {DOMNode} element The HTML DOM object to apply to plugin to\n * @param {Object} options The options to configure the plugin with. @link {$.fn.swipe.defaults}\n * @see $.fh.swipe.defaults\n * @see $.fh.swipe\n * @class\n */\n function TouchSwipe(element, options) {\n //take a local/instacne level copy of the options - should make it this.options really...\n var options = $.extend({}, options);\n\n var useTouchEvents = SUPPORTS_TOUCH || SUPPORTS_POINTER || !options.fallbackToMouseEvents,\n START_EV = useTouchEvents\n ? SUPPORTS_POINTER\n ? SUPPORTS_POINTER_IE10\n ? 'MSPointerDown'\n : 'pointerdown'\n : 'touchstart'\n : 'mousedown',\n MOVE_EV = useTouchEvents\n ? SUPPORTS_POINTER\n ? SUPPORTS_POINTER_IE10\n ? 'MSPointerMove'\n : 'pointermove'\n : 'touchmove'\n : 'mousemove',\n END_EV = useTouchEvents\n ? SUPPORTS_POINTER\n ? SUPPORTS_POINTER_IE10\n ? 'MSPointerUp'\n : 'pointerup'\n : 'touchend'\n : 'mouseup',\n LEAVE_EV = useTouchEvents ? (SUPPORTS_POINTER ? 'mouseleave' : null) : 'mouseleave', //we manually detect leave on touch devices, so null event here\n CANCEL_EV = SUPPORTS_POINTER\n ? SUPPORTS_POINTER_IE10\n ? 'MSPointerCancel'\n : 'pointercancel'\n : 'touchcancel';\n\n //touch properties\n var distance = 0,\n direction = null,\n currentDirection = null,\n duration = 0,\n startTouchesDistance = 0,\n endTouchesDistance = 0,\n pinchZoom = 1,\n pinchDistance = 0,\n pinchDirection = 0,\n maximumsMap = null;\n\n //jQuery wrapped element for this instance\n var $element = $(element);\n\n //Current phase of th touch cycle\n var phase = 'start';\n\n // the current number of fingers being used.\n var fingerCount = 0;\n\n //track mouse points / delta\n var fingerData = {};\n\n //track times\n var startTime = 0,\n endTime = 0,\n previousTouchEndTime = 0,\n fingerCountAtRelease = 0,\n doubleTapStartTime = 0;\n\n //Timeouts\n var singleTapTimeout = null,\n holdTimeout = null;\n\n // Add gestures to all swipable areas if supported\n try {\n $element.bind(START_EV, touchStart);\n $element.bind(CANCEL_EV, touchCancel);\n } catch (e) {\n $.error('events not supported ' + START_EV + ',' + CANCEL_EV + ' on jQuery.swipe');\n }\n\n //\n //Public methods\n //\n\n /**\n * re-enables the swipe plugin with the previous configuration\n * @function\n * @name $.fn.swipe#enable\n * @return {DOMNode} The Dom element that was registered with TouchSwipe\n * @example $(\"#element\").swipe(\"enable\");\n */\n this.enable = function () {\n //Incase we are already enabled, clean up...\n this.disable();\n $element.bind(START_EV, touchStart);\n $element.bind(CANCEL_EV, touchCancel);\n return $element;\n };\n\n /**\n * disables the swipe plugin\n * @function\n * @name $.fn.swipe#disable\n * @return {DOMNode} The Dom element that is now registered with TouchSwipe\n * @example $(\"#element\").swipe(\"disable\");\n */\n this.disable = function () {\n removeListeners();\n return $element;\n };\n\n /**\n * Destroy the swipe plugin completely. To use any swipe methods, you must re initialise the plugin.\n * @function\n * @name $.fn.swipe#destroy\n * @example $(\"#element\").swipe(\"destroy\");\n */\n this.destroy = function () {\n removeListeners();\n $element.data(PLUGIN_NS, null);\n $element = null;\n };\n\n /**\n * Allows run time updating of the swipe configuration options.\n * @function\n * @name $.fn.swipe#option\n * @param {String} property The option property to get or set, or a has of multiple options to set\n * @param {Object} [value] The value to set the property to\n * @return {Object} If only a property name is passed, then that property value is returned. If nothing is passed the current options hash is returned.\n * @example $(\"#element\").swipe(\"option\", \"threshold\"); // return the threshold\n * @example $(\"#element\").swipe(\"option\", \"threshold\", 100); // set the threshold after init\n * @example $(\"#element\").swipe(\"option\", {threshold:100, fingers:3} ); // set multiple properties after init\n * @example $(\"#element\").swipe({threshold:100, fingers:3} ); // set multiple properties after init - the \"option\" method is optional!\n * @example $(\"#element\").swipe(\"option\"); // Return the current options hash\n * @see $.fn.swipe.defaults\n *\n */\n this.option = function (property, value) {\n if (typeof property === 'object') {\n options = $.extend(options, property);\n } else if (options[property] !== undefined) {\n if (value === undefined) {\n return options[property];\n } else {\n options[property] = value;\n }\n } else if (!property) {\n return options;\n } else {\n $.error('Option ' + property + ' does not exist on jQuery.swipe.options');\n }\n\n return null;\n };\n\n //\n // Private methods\n //\n\n //\n // EVENTS\n //\n /**\n * Event handler for a touch start event.\n * Stops the default click event from triggering and stores where we touched\n * @inner\n * @param {object} jqEvent The normalised jQuery event object.\n */\n function touchStart(jqEvent) {\n //If we already in a touch event (a finger already in use) then ignore subsequent ones..\n if (getTouchInProgress()) {\n return;\n }\n\n //Check if this element matches any in the excluded elements selectors, or its parent is excluded, if so, DON'T swipe\n if ($(jqEvent.target).closest(options.excludedElements, $element).length > 0) {\n return;\n }\n\n //As we use Jquery bind for events, we need to target the original event object\n //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;\n\n //If we have a pointer event, whoes type is 'mouse' and we have said NO mouse events, then dont do anything.\n if (event.pointerType && event.pointerType == 'mouse' && options.fallbackToMouseEvents == false) {\n return;\n }\n\n var ret,\n touches = event.touches,\n evt = touches ? touches[0] : event;\n\n phase = PHASE_START;\n\n //If we support touches, get the finger count\n if (touches) {\n // get the total number of fingers touching the screen\n fingerCount = touches.length;\n }\n //Else this is the desktop, so stop the browser from dragging content\n else if (options.preventDefaultEvents !== false) {\n jqEvent.preventDefault(); //call this on jq event so we are cross browser\n }\n\n //clear vars..\n distance = 0;\n direction = null;\n currentDirection = null;\n pinchDirection = null;\n duration = 0;\n startTouchesDistance = 0;\n endTouchesDistance = 0;\n pinchZoom = 1;\n pinchDistance = 0;\n maximumsMap = createMaximumsData();\n cancelMultiFingerRelease();\n\n //Create the default finger data\n createFingerData(0, evt);\n\n // check the number of fingers is what we are looking for, or we are capturing pinches\n if (!touches || fingerCount === options.fingers || options.fingers === ALL_FINGERS || hasPinches()) {\n // get the coordinates of the touch\n startTime = getTimeStamp();\n\n if (fingerCount == 2) {\n //Keep track of the initial pinch distance, so we can calculate the diff later\n //Store second finger data as start\n createFingerData(1, touches[1]);\n startTouchesDistance = endTouchesDistance = calculateTouchesDistance(\n fingerData[0].start,\n fingerData[1].start\n );\n }\n\n if (options.swipeStatus || options.pinchStatus) {\n ret = triggerHandler(event, phase);\n }\n } else {\n //A touch with more or less than the fingers we are looking for, so cancel\n ret = false;\n }\n\n //If we have a return value from the users handler, then return and cancel\n if (ret === false) {\n phase = PHASE_CANCEL;\n triggerHandler(event, phase);\n return ret;\n } else {\n if (options.hold) {\n holdTimeout = setTimeout(\n $.proxy(function () {\n //Trigger the event\n $element.trigger('hold', [event.target]);\n //Fire the callback\n if (options.hold) {\n ret = options.hold.call($element, event, event.target);\n }\n }, this),\n options.longTapThreshold\n );\n }\n\n setTouchInProgress(true);\n }\n\n return null;\n }\n\n /**\n * Event handler for a touch move event.\n * If we change fingers during move, then cancel the event\n * @inner\n * @param {object} jqEvent The normalised jQuery event object.\n */\n function touchMove(jqEvent) {\n //As we use Jquery bind for events, we need to target the original event object\n //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;\n\n //If we are ending, cancelling, or within the threshold of 2 fingers being released, don't track anything..\n if (phase === PHASE_END || phase === PHASE_CANCEL || inMultiFingerRelease()) return;\n\n var ret,\n touches = event.touches,\n evt = touches ? touches[0] : event;\n\n //Update the finger data\n var currentFinger = updateFingerData(evt);\n endTime = getTimeStamp();\n\n if (touches) {\n fingerCount = touches.length;\n }\n\n if (options.hold) {\n clearTimeout(holdTimeout);\n }\n\n phase = PHASE_MOVE;\n\n //If we have 2 fingers get Touches distance as well\n if (fingerCount == 2) {\n //Keep track of the initial pinch distance, so we can calculate the diff later\n //We do this here as well as the start event, in case they start with 1 finger, and the press 2 fingers\n if (startTouchesDistance == 0) {\n //Create second finger if this is the first time...\n createFingerData(1, touches[1]);\n\n startTouchesDistance = endTouchesDistance = calculateTouchesDistance(\n fingerData[0].start,\n fingerData[1].start\n );\n } else {\n //Else just update the second finger\n updateFingerData(touches[1]);\n\n endTouchesDistance = calculateTouchesDistance(fingerData[0].end, fingerData[1].end);\n pinchDirection = calculatePinchDirection(fingerData[0].end, fingerData[1].end);\n }\n\n pinchZoom = calculatePinchZoom(startTouchesDistance, endTouchesDistance);\n pinchDistance = Math.abs(startTouchesDistance - endTouchesDistance);\n }\n\n if (fingerCount === options.fingers || options.fingers === ALL_FINGERS || !touches || hasPinches()) {\n //The overall direction of the swipe. From start to now.\n direction = calculateDirection(currentFinger.start, currentFinger.end);\n\n //The immediate direction of the swipe, direction between the last movement and this one.\n currentDirection = calculateDirection(currentFinger.last, currentFinger.end);\n\n //Check if we need to prevent default event (page scroll / pinch zoom) or not\n validateDefaultEvent(jqEvent, currentDirection);\n\n //Distance and duration are all off the main finger\n distance = calculateDistance(currentFinger.start, currentFinger.end);\n duration = calculateDuration();\n\n //Cache the maximum distance we made in this direction\n setMaxDistance(direction, distance);\n\n //Trigger status handler\n ret = triggerHandler(event, phase);\n\n //If we trigger end events when threshold are met, or trigger events when touch leaves element\n if (!options.triggerOnTouchEnd || options.triggerOnTouchLeave) {\n var inBounds = true;\n\n //If checking if we leave the element, run the bounds check (we can use touchleave as its not supported on webkit)\n if (options.triggerOnTouchLeave) {\n var bounds = getbounds(this);\n inBounds = isInBounds(currentFinger.end, bounds);\n }\n\n //Trigger end handles as we swipe if thresholds met or if we have left the element if the user has asked to check these..\n if (!options.triggerOnTouchEnd && inBounds) {\n phase = getNextPhase(PHASE_MOVE);\n }\n //We end if out of bounds here, so set current phase to END, and check if its modified\n else if (options.triggerOnTouchLeave && !inBounds) {\n phase = getNextPhase(PHASE_END);\n }\n\n if (phase == PHASE_CANCEL || phase == PHASE_END) {\n triggerHandler(event, phase);\n }\n }\n } else {\n phase = PHASE_CANCEL;\n triggerHandler(event, phase);\n }\n\n if (ret === false) {\n phase = PHASE_CANCEL;\n triggerHandler(event, phase);\n }\n }\n\n /**\n * Event handler for a touch end event.\n * Calculate the direction and trigger events\n * @inner\n * @param {object} jqEvent The normalised jQuery event object.\n */\n function touchEnd(jqEvent) {\n //As we use Jquery bind for events, we need to target the original event object\n //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent,\n touches = event.touches;\n\n //If we are still in a touch with the device wait a fraction and see if the other finger comes up\n //if it does within the threshold, then we treat it as a multi release, not a single release and end the touch / swipe\n if (touches) {\n if (touches.length && !inMultiFingerRelease()) {\n startMultiFingerRelease(event);\n return true;\n } else if (touches.length && inMultiFingerRelease()) {\n return true;\n }\n }\n\n //If a previous finger has been released, check how long ago, if within the threshold, then assume it was a multifinger release.\n //This is used to allow 2 fingers to release fractionally after each other, whilst maintaining the event as containing 2 fingers, not 1\n if (inMultiFingerRelease()) {\n fingerCount = fingerCountAtRelease;\n }\n\n //Set end of swipe\n endTime = getTimeStamp();\n\n //Get duration incase move was never fired\n duration = calculateDuration();\n\n //If we trigger handlers at end of swipe OR, we trigger during, but they didnt trigger and we are still in the move phase\n if (didSwipeBackToCancel() || !validateSwipeDistance()) {\n phase = PHASE_CANCEL;\n triggerHandler(event, phase);\n } else if (options.triggerOnTouchEnd || (options.triggerOnTouchEnd === false && phase === PHASE_MOVE)) {\n //call this on jq event so we are cross browser\n if (options.preventDefaultEvents !== false) {\n jqEvent.preventDefault();\n }\n phase = PHASE_END;\n triggerHandler(event, phase);\n }\n //Special cases - A tap should always fire on touch end regardless,\n //So here we manually trigger the tap end handler by itself\n //We dont run trigger handler as it will re-trigger events that may have fired already\n else if (!options.triggerOnTouchEnd && hasTap()) {\n //Trigger the pinch events...\n phase = PHASE_END;\n triggerHandlerForGesture(event, phase, TAP);\n } else if (phase === PHASE_MOVE) {\n phase = PHASE_CANCEL;\n triggerHandler(event, phase);\n }\n\n setTouchInProgress(false);\n\n return null;\n }\n\n /**\n * Event handler for a touch cancel event.\n * Clears current vars\n * @inner\n */\n function touchCancel() {\n // reset the variables back to default values\n fingerCount = 0;\n endTime = 0;\n startTime = 0;\n startTouchesDistance = 0;\n endTouchesDistance = 0;\n pinchZoom = 1;\n\n //If we were in progress of tracking a possible multi touch end, then re set it.\n cancelMultiFingerRelease();\n\n setTouchInProgress(false);\n }\n\n /**\n * Event handler for a touch leave event.\n * This is only triggered on desktops, in touch we work this out manually\n * as the touchleave event is not supported in webkit\n * @inner\n */\n function touchLeave(jqEvent) {\n //If these events are being programmatically triggered, we don't have an original event object, so use the Jq one.\n var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent;\n\n //If we have the trigger on leave property set....\n if (options.triggerOnTouchLeave) {\n phase = getNextPhase(PHASE_END);\n triggerHandler(event, phase);\n }\n }\n\n /**\n * Removes all listeners that were associated with the plugin\n * @inner\n */\n function removeListeners() {\n $element.unbind(START_EV, touchStart);\n $element.unbind(CANCEL_EV, touchCancel);\n $element.unbind(MOVE_EV, touchMove);\n $element.unbind(END_EV, touchEnd);\n\n //we only have leave events on desktop, we manually calculate leave on touch as its not supported in webkit\n if (LEAVE_EV) {\n $element.unbind(LEAVE_EV, touchLeave);\n }\n\n setTouchInProgress(false);\n }\n\n /**\n * Checks if the time and distance thresholds have been met, and if so then the appropriate handlers are fired.\n */\n function getNextPhase(currentPhase) {\n var nextPhase = currentPhase;\n\n // Ensure we have valid swipe (under time and over distance and check if we are out of bound...)\n var validTime = validateSwipeTime();\n var validDistance = validateSwipeDistance();\n var didCancel = didSwipeBackToCancel();\n\n //If we have exceeded our time, then cancel\n if (!validTime || didCancel) {\n nextPhase = PHASE_CANCEL;\n }\n //Else if we are moving, and have reached distance then end\n else if (\n validDistance &&\n currentPhase == PHASE_MOVE &&\n (!options.triggerOnTouchEnd || options.triggerOnTouchLeave)\n ) {\n nextPhase = PHASE_END;\n }\n //Else if we have ended by leaving and didn't reach distance, then cancel\n else if (!validDistance && currentPhase == PHASE_END && options.triggerOnTouchLeave) {\n nextPhase = PHASE_CANCEL;\n }\n\n return nextPhase;\n }\n\n /**\n * Trigger the relevant event handler\n * The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, \"left\", \"right\", \"up\", or \"down\"\n * @param {object} event the original event object\n * @param {string} phase the phase of the swipe (start, end cancel etc) {@link $.fn.swipe.phases}\n * @inner\n */\n function triggerHandler(event, phase) {\n var ret,\n touches = event.touches;\n\n // SWIPE GESTURES\n if (didSwipe() || hasSwipes()) {\n ret = triggerHandlerForGesture(event, phase, SWIPE);\n }\n\n // PINCH GESTURES (if the above didn't cancel)\n if ((didPinch() || hasPinches()) && ret !== false) {\n ret = triggerHandlerForGesture(event, phase, PINCH);\n }\n\n // CLICK / TAP (if the above didn't cancel)\n if (didDoubleTap() && ret !== false) {\n //Trigger the tap events...\n ret = triggerHandlerForGesture(event, phase, DOUBLE_TAP);\n }\n\n // CLICK / TAP (if the above didn't cancel)\n else if (didLongTap() && ret !== false) {\n //Trigger the tap events...\n ret = triggerHandlerForGesture(event, phase, LONG_TAP);\n }\n\n // CLICK / TAP (if the above didn't cancel)\n else if (didTap() && ret !== false) {\n //Trigger the tap event..\n ret = triggerHandlerForGesture(event, phase, TAP);\n }\n\n // If we are cancelling the gesture, then manually trigger the reset handler\n if (phase === PHASE_CANCEL) {\n touchCancel(event);\n }\n\n // If we are ending the gesture, then manually trigger the reset handler IF all fingers are off\n if (phase === PHASE_END) {\n //If we support touch, then check that all fingers are off before we cancel\n if (touches) {\n if (!touches.length) {\n touchCancel(event);\n }\n } else {\n touchCancel(event);\n }\n }\n\n return ret;\n }\n\n /**\n * Trigger the relevant event handler\n * The handlers are passed the original event, the element that was swiped, and in the case of the catch all handler, the direction that was swiped, \"left\", \"right\", \"up\", or \"down\"\n * @param {object} event the original event object\n * @param {string} phase the phase of the swipe (start, end cancel etc) {@link $.fn.swipe.phases}\n * @param {string} gesture the gesture to trigger a handler for : PINCH or SWIPE {@link $.fn.swipe.gestures}\n * @return Boolean False, to indicate that the event should stop propagation, or void.\n * @inner\n */\n function triggerHandlerForGesture(event, phase, gesture) {\n var ret;\n\n //SWIPES....\n if (gesture == SWIPE) {\n //Trigger status every time..\n $element.trigger('swipeStatus', [\n phase,\n direction || null,\n distance || 0,\n duration || 0,\n fingerCount,\n fingerData,\n currentDirection,\n ]);\n\n if (options.swipeStatus) {\n ret = options.swipeStatus.call(\n $element,\n event,\n phase,\n direction || null,\n distance || 0,\n duration || 0,\n fingerCount,\n fingerData,\n currentDirection\n );\n //If the status cancels, then dont run the subsequent event handlers..\n if (ret === false) return false;\n }\n\n if (phase == PHASE_END && validateSwipe()) {\n //Cancel any taps that were in progress...\n clearTimeout(singleTapTimeout);\n clearTimeout(holdTimeout);\n\n $element.trigger('swipe', [\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection,\n ]);\n\n if (options.swipe) {\n ret = options.swipe.call(\n $element,\n event,\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection\n );\n //If the status cancels, then dont run the subsequent event handlers..\n if (ret === false) return false;\n }\n\n //trigger direction specific event handlers\n switch (direction) {\n case LEFT:\n $element.trigger('swipeLeft', [\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection,\n ]);\n\n if (options.swipeLeft) {\n ret = options.swipeLeft.call(\n $element,\n event,\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection\n );\n }\n break;\n\n case RIGHT:\n $element.trigger('swipeRight', [\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection,\n ]);\n\n if (options.swipeRight) {\n ret = options.swipeRight.call(\n $element,\n event,\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection\n );\n }\n break;\n\n case UP:\n $element.trigger('swipeUp', [\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection,\n ]);\n\n if (options.swipeUp) {\n ret = options.swipeUp.call(\n $element,\n event,\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection\n );\n }\n break;\n\n case DOWN:\n $element.trigger('swipeDown', [\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection,\n ]);\n\n if (options.swipeDown) {\n ret = options.swipeDown.call(\n $element,\n event,\n direction,\n distance,\n duration,\n fingerCount,\n fingerData,\n currentDirection\n );\n }\n break;\n }\n }\n }\n\n //PINCHES....\n if (gesture == PINCH) {\n $element.trigger('pinchStatus', [\n phase,\n pinchDirection || null,\n pinchDistance || 0,\n duration || 0,\n fingerCount,\n pinchZoom,\n fingerData,\n ]);\n\n if (options.pinchStatus) {\n ret = options.pinchStatus.call(\n $element,\n event,\n phase,\n pinchDirection || null,\n pinchDistance || 0,\n duration || 0,\n fingerCount,\n pinchZoom,\n fingerData\n );\n //If the status cancels, then dont run the subsequent event handlers..\n if (ret === false) return false;\n }\n\n if (phase == PHASE_END && validatePinch()) {\n switch (pinchDirection) {\n case IN:\n $element.trigger('pinchIn', [\n pinchDirection || null,\n pinchDistance || 0,\n duration || 0,\n fingerCount,\n pinchZoom,\n fingerData,\n ]);\n\n if (options.pinchIn) {\n ret = options.pinchIn.call(\n $element,\n event,\n pinchDirection || null,\n pinchDistance || 0,\n duration || 0,\n fingerCount,\n pinchZoom,\n fingerData\n );\n }\n break;\n\n case OUT:\n $element.trigger('pinchOut', [\n pinchDirection || null,\n pinchDistance || 0,\n duration || 0,\n fingerCount,\n pinchZoom,\n fingerData,\n ]);\n\n if (options.pinchOut) {\n ret = options.pinchOut.call(\n $element,\n event,\n pinchDirection || null,\n pinchDistance || 0,\n duration || 0,\n fingerCount,\n pinchZoom,\n fingerData\n );\n }\n break;\n }\n }\n }\n\n if (gesture == TAP) {\n if (phase === PHASE_CANCEL || phase === PHASE_END) {\n clearTimeout(singleTapTimeout);\n clearTimeout(holdTimeout);\n\n //If we are also looking for doubelTaps, wait incase this is one...\n if (hasDoubleTap() && !inDoubleTap()) {\n doubleTapStartTime = getTimeStamp();\n\n //Now wait for the double tap timeout, and trigger this single tap\n //if its not cancelled by a double tap\n singleTapTimeout = setTimeout(\n $.proxy(function () {\n doubleTapStartTime = null;\n $element.trigger('tap', [event.target]);\n\n if (options.tap) {\n ret = options.tap.call($element, event, event.target);\n }\n }, this),\n options.doubleTapThreshold\n );\n } else {\n doubleTapStartTime = null;\n $element.trigger('tap', [event.target]);\n if (options.tap) {\n ret = options.tap.call($element, event, event.target);\n }\n }\n }\n } else if (gesture == DOUBLE_TAP) {\n if (phase === PHASE_CANCEL || phase === PHASE_END) {\n clearTimeout(singleTapTimeout);\n clearTimeout(holdTimeout);\n doubleTapStartTime = null;\n $element.trigger('doubletap', [event.target]);\n\n if (options.doubleTap) {\n ret = options.doubleTap.call($element, event, event.target);\n }\n }\n } else if (gesture == LONG_TAP) {\n if (phase === PHASE_CANCEL || phase === PHASE_END) {\n clearTimeout(singleTapTimeout);\n doubleTapStartTime = null;\n\n $element.trigger('longtap', [event.target]);\n if (options.longTap) {\n ret = options.longTap.call($element, event, event.target);\n }\n }\n }\n\n return ret;\n }\n\n //\n // GESTURE VALIDATION\n //\n\n /**\n * Checks the user has swipe far enough\n * @return Boolean if <code>threshold</code> has been set, return true if the threshold was met, else false.\n * If no threshold was set, then we return true.\n * @inner\n */\n function validateSwipeDistance() {\n var valid = true;\n //If we made it past the min swipe distance..\n if (options.threshold !== null) {\n valid = distance >= options.threshold;\n }\n\n return valid;\n }\n\n /**\n * Checks the user has swiped back to cancel.\n * @return Boolean if <code>cancelThreshold</code> has been set, return true if the cancelThreshold was met, else false.\n * If no cancelThreshold was set, then we return true.\n * @inner\n */\n function didSwipeBackToCancel() {\n var cancelled = false;\n if (options.cancelThreshold !== null && direction !== null) {\n cancelled = getMaxDistance(direction) - distance >= options.cancelThreshold;\n }\n\n return cancelled;\n }\n\n /**\n * Checks the user has pinched far enough\n * @return Boolean if <code>pinchThreshold</code> has been set, return true if the threshold was met, else false.\n * If no threshold was set, then we return true.\n * @inner\n */\n function validatePinchDistance() {\n if (options.pinchThreshold !== null) {\n return pinchDistance >= options.pinchThreshold;\n }\n return true;\n }\n\n /**\n * Checks that the time taken to swipe meets the minimum / maximum requirements\n * @return Boolean\n * @inner\n */\n function validateSwipeTime() {\n var result;\n //If no time set, then return true\n if (options.maxTimeThreshold) {\n if (duration >= options.maxTimeThreshold) {\n result = false;\n } else {\n result = true;\n }\n } else {\n result = true;\n }\n\n return result;\n }\n\n /**\n * Checks direction of the swipe and the value allowPageScroll to see if we should allow or prevent the default behaviour from occurring.\n * This will essentially allow page scrolling or not when the user is swiping on a touchSwipe object.\n * @param {object} jqEvent The normalised jQuery representation of the event object.\n * @param {string} direction The direction of the event. See {@link $.fn.swipe.directions}\n * @see $.fn.swipe.directions\n * @inner\n */\n function validateDefaultEvent(jqEvent, direction) {\n //If the option is set, allways allow the event to bubble up (let user handle weirdness)\n if (options.preventDefaultEvents === false) {\n return;\n }\n\n if (options.allowPageScroll === NONE) {\n jqEvent.preventDefault();\n } else {\n var auto = options.allowPageScroll === AUTO;\n\n switch (direction) {\n case LEFT:\n if ((options.swipeLeft && auto) || (!auto && options.allowPageScroll != HORIZONTAL)) {\n jqEvent.preventDefault();\n }\n break;\n\n case RIGHT:\n if ((options.swipeRight && auto) || (!auto && options.allowPageScroll != HORIZONTAL)) {\n jqEvent.preventDefault();\n }\n break;\n\n case UP:\n if ((options.swipeUp && auto) || (!auto && options.allowPageScroll != VERTICAL)) {\n jqEvent.preventDefault();\n }\n break;\n\n case DOWN:\n if ((options.swipeDown && auto) || (!auto && options.allowPageScroll != VERTICAL)) {\n jqEvent.preventDefault();\n }\n break;\n\n case NONE:\n break;\n }\n }\n }\n\n // PINCHES\n /**\n * Returns true of the current pinch meets the thresholds\n * @return Boolean\n * @inner\n */\n function validatePinch() {\n var hasCorrectFingerCount = validateFingers();\n var hasEndPoint = validateEndPoint();\n var hasCorrectDistance = validatePinchDistance();\n return hasCorrectFingerCount && hasEndPoint && hasCorrectDistance;\n }\n\n /**\n * Returns true if any Pinch events have been registered\n * @return Boolean\n * @inner\n */\n function hasPinches() {\n //Enure we dont return 0 or null for false values\n return !!(options.pinchStatus || options.pinchIn || options.pinchOut);\n }\n\n /**\n * Returns true if we are detecting pinches, and have one\n * @return Boolean\n * @inner\n */\n function didPinch() {\n //Enure we dont return 0 or null for false values\n return !!(validatePinch() && hasPinches());\n }\n\n // SWIPES\n /**\n * Returns true if the current swipe meets the thresholds\n * @return Boolean\n * @inner\n */\n function validateSwipe() {\n //Check validity of swipe\n var hasValidTime = validateSwipeTime();\n var hasValidDistance = validateSwipeDistance();\n var hasCorrectFingerCount = validateFingers();\n var hasEndPoint = validateEndPoint();\n var didCancel = didSwipeBackToCancel();\n\n // if the user swiped more than the minimum length, perform the appropriate action\n // hasValidDistance is null when no distance is set\n var valid = !didCancel && hasEndPoint && hasCorrectFingerCount && hasValidDistance && hasValidTime;\n\n return valid;\n }\n\n /**\n * Returns true if any Swipe events have been registered\n * @return Boolean\n * @inner\n */\n function hasSwipes() {\n //Enure we dont return 0 or null for false values\n return !!(\n options.swipe ||\n options.swipeStatus ||\n options.swipeLeft ||\n options.swipeRight ||\n options.swipeUp ||\n options.swipeDown\n );\n }\n\n /**\n * Returns true if we are detecting swipes and have one\n * @return Boolean\n * @inner\n */\n function didSwipe() {\n //Enure we dont return 0 or null for false values\n return !!(validateSwipe() && hasSwipes());\n }\n\n /**\n * Returns true if we have matched the number of fingers we are looking for\n * @return Boolean\n * @inner\n */\n function validateFingers() {\n //The number of fingers we want were matched, or on desktop we ignore\n return fingerCount === options.fingers || options.fingers === ALL_FINGERS || !SUPPORTS_TOUCH;\n }\n\n /**\n * Returns true if we have an end point for the swipe\n * @return Boolean\n * @inner\n */\n function validateEndPoint() {\n //We have an end value for the finger\n return fingerData[0].end.x !== 0;\n }\n\n // TAP / CLICK\n /**\n * Returns true if a click / tap events have been registered\n * @return Boolean\n * @inner\n */\n function hasTap() {\n //Enure we dont return 0 or null for false values\n return !!options.tap;\n }\n\n /**\n * Returns true if a double tap events have been registered\n * @return Boolean\n * @inner\n */\n function hasDoubleTap() {\n //Enure we dont return 0 or null for false values\n return !!options.doubleTap;\n }\n\n /**\n * Returns true if any long tap events have been registered\n * @return Boolean\n * @inner\n */\n function hasLongTap() {\n //Enure we dont return 0 or null for false values\n return !!options.longTap;\n }\n\n /**\n * Returns true if we could be in the process of a double tap (one tap has occurred, we are listening for double taps, and the threshold hasn't past.\n * @return Boolean\n * @inner\n */\n function validateDoubleTap() {\n if (doubleTapStartTime == null) {\n return false;\n }\n var now = getTimeStamp();\n return hasDoubleTap() && now - doubleTapStartTime <= options.doubleTapThreshold;\n }\n\n /**\n * Returns true if we could be in the process of a double tap (one tap has occurred, we are listening for double taps, and the threshold hasn't past.\n * @return Boolean\n * @inner\n */\n function inDoubleTap() {\n return validateDoubleTap();\n }\n\n /**\n * Returns true if we have a valid tap\n * @return Boolean\n * @inner\n */\n function validateTap() {\n return (fingerCount === 1 || !SUPPORTS_TOUCH) && (isNaN(distance) || distance < options.threshold);\n }\n\n /**\n * Returns true if we have a valid long tap\n * @return Boolean\n * @inner\n */\n function validateLongTap() {\n //slight threshold on moving finger\n return duration > options.longTapThreshold && distance < DOUBLE_TAP_THRESHOLD;\n }\n\n /**\n * Returns true if we are detecting taps and have one\n * @return Boolean\n * @inner\n */\n function didTap() {\n //Enure we dont return 0 or null for false values\n return !!(validateTap() && hasTap());\n }\n\n /**\n * Returns true if we are detecting double taps and have one\n * @return Boolean\n * @inner\n */\n function didDoubleTap() {\n //Enure we dont return 0 or null for false values\n return !!(validateDoubleTap() && hasDoubleTap());\n }\n\n /**\n * Returns true if we are detecting long taps and have one\n * @return Boolean\n * @inner\n */\n function didLongTap() {\n //Enure we dont return 0 or null for false values\n return !!(validateLongTap() && hasLongTap());\n }\n\n // MULTI FINGER TOUCH\n /**\n * Starts tracking the time between 2 finger releases, and keeps track of how many fingers we initially had up\n * @inner\n */\n function startMultiFingerRelease(event) {\n previousTouchEndTime = getTimeStamp();\n fingerCountAtRelease = event.touches.length + 1;\n }\n\n /**\n * Cancels the tracking of time between 2 finger releases, and resets counters\n * @inner\n */\n function cancelMultiFingerRelease() {\n previousTouchEndTime = 0;\n fingerCountAtRelease = 0;\n }\n\n /**\n * Checks if we are in the threshold between 2 fingers being released\n * @return Boolean\n * @inner\n */\n function inMultiFingerRelease() {\n var withinThreshold = false;\n\n if (previousTouchEndTime) {\n var diff = getTimeStamp() - previousTouchEndTime;\n if (diff <= options.fingerReleaseThreshold) {\n withinThreshold = true;\n }\n }\n\n return withinThreshold;\n }\n\n /**\n * gets a data flag to indicate that a touch is in progress\n * @return Boolean\n * @inner\n */\n function getTouchInProgress() {\n //strict equality to ensure only true and false are returned\n return !!($element.data(PLUGIN_NS + '_intouch') === true);\n }\n\n /**\n * Sets a data flag to indicate that a touch is in progress\n * @param {boolean} val The value to set the property to\n * @inner\n */\n function setTouchInProgress(val) {\n //If destroy is called in an event handler, we have no el, and we have already cleaned up, so return.\n if (!$element) {\n return;\n }\n\n //Add or remove event listeners depending on touch status\n if (val === true) {\n $element.bind(MOVE_EV, touchMove);\n $element.bind(END_EV, touchEnd);\n\n //we only have leave events on desktop, we manually calcuate leave on touch as its not supported in webkit\n if (LEAVE_EV) {\n $element.bind(LEAVE_EV, touchLeave);\n }\n } else {\n $element.unbind(MOVE_EV, touchMove, false);\n $element.unbind(END_EV, touchEnd, false);\n\n //we only have leave events on desktop, we manually calcuate leave on touch as its not supported in webkit\n if (LEAVE_EV) {\n $element.unbind(LEAVE_EV, touchLeave, false);\n }\n }\n\n //strict equality to ensure only true and false can update the value\n $element.data(PLUGIN_NS + '_intouch', val === true);\n }\n\n /**\n * Creates the finger data for the touch/finger in the event object.\n * @param {int} id The id to store the finger data under (usually the order the fingers were pressed)\n * @param {object} evt The event object containing finger data\n * @return finger data object\n * @inner\n */\n function createFingerData(id, evt) {\n var f = {\n start: {\n x: 0,\n y: 0,\n },\n last: {\n x: 0,\n y: 0,\n },\n end: {\n x: 0,\n y: 0,\n },\n };\n f.start.x = f.last.x = f.end.x = evt.pageX || evt.clientX;\n f.start.y = f.last.y = f.end.y = evt.pageY || evt.clientY;\n fingerData[id] = f;\n return f;\n }\n\n /**\n * Updates the finger data for a particular event object\n * @param {object} evt The event object containing the touch/finger data to upadte\n * @return a finger data object.\n * @inner\n */\n function updateFingerData(evt) {\n var id = evt.identifier !== undefined ? evt.identifier : 0;\n var f = getFingerData(id);\n\n if (f === null) {\n f = createFingerData(id, evt);\n }\n\n f.last.x = f.end.x;\n f.last.y = f.end.y;\n\n f.end.x = evt.pageX || evt.clientX;\n f.end.y = evt.pageY || evt.clientY;\n\n return f;\n }\n\n /**\n * Returns a finger data object by its event ID.\n * Each touch event has an identifier property, which is used\n * to track repeat touches\n * @param {int} id The unique id of the finger in the sequence of touch events.\n * @return a finger data object.\n * @inner\n */\n function getFingerData(id) {\n return fingerData[id] || null;\n }\n\n /**\n * Sets the maximum distance swiped in the given direction.\n * If the new value is lower than the current value, the max value is not changed.\n * @param {string} direction The direction of the swipe\n * @param {int} distance The distance of the swipe\n * @inner\n */\n function setMaxDistance(direction, distance) {\n if (direction == NONE) return;\n distance = Math.max(distance, getMaxDistance(direction));\n maximumsMap[direction].distance = distance;\n }\n\n /**\n * gets the maximum distance swiped in the given direction.\n * @param {string} direction The direction of the swipe\n * @return int The distance of the swipe\n * @inner\n */\n function getMaxDistance(direction) {\n if (maximumsMap[direction]) return maximumsMap[direction].distance;\n return undefined;\n }\n\n /**\n * Creats a map of directions to maximum swiped values.\n * @return Object A dictionary of maximum values, indexed by direction.\n * @inner\n */\n function createMaximumsData() {\n var maxData = {};\n maxData[LEFT] = createMaximumVO(LEFT);\n maxData[RIGHT] = createMaximumVO(RIGHT);\n maxData[UP] = createMaximumVO(UP);\n maxData[DOWN] = createMaximumVO(DOWN);\n\n return maxData;\n }\n\n /**\n * Creates a map maximum swiped values for a given swipe direction\n * @param {string} The direction that these values will be associated with\n * @return Object Maximum values\n * @inner\n */\n function createMaximumVO(dir) {\n return {\n direction: dir,\n distance: 0,\n };\n }\n\n //\n // MATHS / UTILS\n //\n\n /**\n * Calculate the duration of the swipe\n * @return int\n * @inner\n */\n function calculateDuration() {\n return endTime - startTime;\n }\n\n /**\n * Calculate the distance between 2 touches (pinch)\n * @param {point} startPoint A point object containing x and y co-ordinates\n * @param {point} endPoint A point object containing x and y co-ordinates\n * @return int;\n * @inner\n */\n function calculateTouchesDistance(startPoint, endPoint) {\n var diffX = Math.abs(startPoint.x - endPoint.x);\n var diffY = Math.abs(startPoint.y - endPoint.y);\n\n return Math.round(Math.sqrt(diffX * diffX + diffY * diffY));\n }\n\n /**\n * Calculate the zoom factor between the start and end distances\n * @param {int} startDistance Distance (between 2 fingers) the user started pinching at\n * @param {int} endDistance Distance (between 2 fingers) the user ended pinching at\n * @return float The zoom value from 0 to 1.\n * @inner\n */\n function calculatePinchZoom(startDistance, endDistance) {\n var percent = (endDistance / startDistance) * 1;\n return percent.toFixed(2);\n }\n\n /**\n * Returns the pinch direction, either IN or OUT for the given points\n * @return string Either {@link $.fn.swipe.directions.IN} or {@link $.fn.swipe.directions.OUT}\n * @see $.fn.swipe.directions\n * @inner\n */\n function calculatePinchDirection() {\n if (pinchZoom < 1) {\n return OUT;\n } else {\n return IN;\n }\n }\n\n /**\n * Calculate the length / distance of the swipe\n * @param {point} startPoint A point object containing x and y co-ordinates\n * @param {point} endPoint A point object containing x and y co-ordinates\n * @return int\n * @inner\n */\n function calculateDistance(startPoint, endPoint) {\n return Math.round(\n Math.sqrt(Math.pow(endPoint.x - startPoint.x, 2) + Math.pow(endPoint.y - startPoint.y, 2))\n );\n }\n\n /**\n * Calculate the angle of the swipe\n * @param {point} startPoint A point object containing x and y co-ordinates\n * @param {point} endPoint A point object containing x and y co-ordinates\n * @return int\n * @inner\n */\n function calculateAngle(startPoint, endPoint) {\n var x = startPoint.x - endPoint.x;\n var y = endPoint.y - startPoint.y;\n var r = Math.atan2(y, x); //radians\n var angle = Math.round((r * 180) / Math.PI); //degrees\n\n //ensure value is positive\n if (angle < 0) {\n angle = 360 - Math.abs(angle);\n }\n\n return angle;\n }\n\n /**\n * Calculate the direction of the swipe\n * This will also call calculateAngle to get the latest angle of swipe\n * @param {point} startPoint A point object containing x and y co-ordinates\n * @param {point} endPoint A point object containing x and y co-ordinates\n * @return string Either {@link $.fn.swipe.directions.LEFT} / {@link $.fn.swipe.directions.RIGHT} / {@link $.fn.swipe.directions.DOWN} / {@link $.fn.swipe.directions.UP}\n * @see $.fn.swipe.directions\n * @inner\n */\n function calculateDirection(startPoint, endPoint) {\n if (comparePoints(startPoint, endPoint)) {\n return NONE;\n }\n\n var angle = calculateAngle(startPoint, endPoint);\n\n if (angle <= 45 && angle >= 0) {\n return LEFT;\n } else if (angle <= 360 && angle >= 315) {\n return LEFT;\n } else if (angle >= 135 && angle <= 225) {\n return RIGHT;\n } else if (angle > 45 && angle < 135) {\n return DOWN;\n } else {\n return UP;\n }\n }\n\n /**\n * Returns a MS time stamp of the current time\n * @return int\n * @inner\n */\n function getTimeStamp() {\n var now = new Date();\n return now.getTime();\n }\n\n /**\n * Returns a bounds object with left, right, top and bottom properties for the element specified.\n * @param {DomNode} The DOM node to get the bounds for.\n */\n function getbounds(el) {\n el = $(el);\n var offset = el.offset();\n\n var bounds = {\n left: offset.left,\n right: offset.left + el.outerWidth(),\n top: offset.top,\n bottom: offset.top + el.outerHeight(),\n };\n\n return bounds;\n }\n\n /**\n * Checks if the point object is in the bounds object.\n * @param {object} point A point object.\n * @param {int} point.x The x value of the point.\n * @param {int} point.y The x value of the point.\n * @param {object} bounds The bounds object to test\n * @param {int} bounds.left The leftmost value\n * @param {int} bounds.right The righttmost value\n * @param {int} bounds.top The topmost value\n * @param {int} bounds.bottom The bottommost value\n */\n function isInBounds(point, bounds) {\n return point.x > bounds.left && point.x < bounds.right && point.y > bounds.top && point.y < bounds.bottom;\n }\n\n /**\n * Checks if the two points are equal\n * @param {object} point A point object.\n * @param {object} point B point object.\n * @return true of the points match\n */\n function comparePoints(pointA, pointB) {\n return pointA.x == pointB.x && pointA.y == pointB.y;\n }\n }\n\n /**\n * A catch all handler that is triggered for all swipe directions.\n * @name $.fn.swipe#swipe\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user swiped\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {object} fingerData The coordinates of fingers in event\n * @param {string} currentDirection The current direction the user is swiping.\n */\n\n /**\n * A handler that is triggered for \"left\" swipes.\n * @name $.fn.swipe#swipeLeft\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user swiped\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {object} fingerData The coordinates of fingers in event\n * @param {string} currentDirection The current direction the user is swiping.\n */\n\n /**\n * A handler that is triggered for \"right\" swipes.\n * @name $.fn.swipe#swipeRight\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user swiped\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {object} fingerData The coordinates of fingers in event\n * @param {string} currentDirection The current direction the user is swiping.\n */\n\n /**\n * A handler that is triggered for \"up\" swipes.\n * @name $.fn.swipe#swipeUp\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user swiped\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {object} fingerData The coordinates of fingers in event\n * @param {string} currentDirection The current direction the user is swiping.\n */\n\n /**\n * A handler that is triggered for \"down\" swipes.\n * @name $.fn.swipe#swipeDown\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user swiped in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user swiped\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {object} fingerData The coordinates of fingers in event\n * @param {string} currentDirection The current direction the user is swiping.\n */\n\n /**\n * A handler triggered for every phase of the swipe. This handler is constantly fired for the duration of the pinch.\n * This is triggered regardless of swipe thresholds.\n * @name $.fn.swipe#swipeStatus\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {string} phase The phase of the swipe event. See {@link $.fn.swipe.phases}\n * @param {string} direction The direction the user swiped in. This is null if the user has yet to move. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user swiped. This is 0 if the user has yet to move.\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {object} fingerData The coordinates of fingers in event\n * @param {string} currentDirection The current direction the user is swiping.\n */\n\n /**\n * A handler triggered for pinch in events.\n * @name $.fn.swipe#pinchIn\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user pinched\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {int} zoom The zoom/scale level the user pinched too, 0-1.\n * @param {object} fingerData The coordinates of fingers in event\n */\n\n /**\n * A handler triggered for pinch out events.\n * @name $.fn.swipe#pinchOut\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user pinched\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {int} zoom The zoom/scale level the user pinched too, 0-1.\n * @param {object} fingerData The coordinates of fingers in event\n */\n\n /**\n * A handler triggered for all pinch events. This handler is constantly fired for the duration of the pinch. This is triggered regardless of thresholds.\n * @name $.fn.swipe#pinchStatus\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {int} direction The direction the user pinched in. See {@link $.fn.swipe.directions}\n * @param {int} distance The distance the user pinched\n * @param {int} duration The duration of the swipe in milliseconds\n * @param {int} fingerCount The number of fingers used. See {@link $.fn.swipe.fingers}\n * @param {int} zoom The zoom/scale level the user pinched too, 0-1.\n * @param {object} fingerData The coordinates of fingers in event\n */\n\n /**\n * A click handler triggered when a user simply clicks, rather than swipes on an element.\n * This is deprecated since version 1.6.2, any assignment to click will be assigned to the tap handler.\n * You cannot use <code>on</code> to bind to this event as the default jQ <code>click</code> event will be triggered.\n * Use the <code>tap</code> event instead.\n * @name $.fn.swipe#click\n * @event\n * @deprecated since version 1.6.2, please use {@link $.fn.swipe#tap} instead\n * @default null\n * @param {EventObject} event The original event object\n * @param {DomObject} target The element clicked on.\n */\n\n /**\n * A click / tap handler triggered when a user simply clicks or taps, rather than swipes on an element.\n * @name $.fn.swipe#tap\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {DomObject} target The element clicked on.\n */\n\n /**\n * A double tap handler triggered when a user double clicks or taps on an element.\n * You can set the time delay for a double tap with the {@link $.fn.swipe.defaults#doubleTapThreshold} property.\n * Note: If you set both <code>doubleTap</code> and <code>tap</code> handlers, the <code>tap</code> event will be delayed by the <code>doubleTapThreshold</code>\n * as the script needs to check if its a double tap.\n * @name $.fn.swipe#doubleTap\n * @see $.fn.swipe.defaults#doubleTapThreshold\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {DomObject} target The element clicked on.\n */\n\n /**\n * A long tap handler triggered once a tap has been release if the tap was longer than the longTapThreshold.\n * You can set the time delay for a long tap with the {@link $.fn.swipe.defaults#longTapThreshold} property.\n * @name $.fn.swipe#longTap\n * @see $.fn.swipe.defaults#longTapThreshold\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {DomObject} target The element clicked on.\n */\n\n /**\n * A hold tap handler triggered as soon as the longTapThreshold is reached\n * You can set the time delay for a long tap with the {@link $.fn.swipe.defaults#longTapThreshold} property.\n * @name $.fn.swipe#hold\n * @see $.fn.swipe.defaults#longTapThreshold\n * @event\n * @default null\n * @param {EventObject} event The original event object\n * @param {DomObject} target The element clicked on.\n */\n});\n","/*!\n * Lazy Load - jQuery plugin for lazy loading images\n *\n * Copyright (c) 2007-2015 Mika Tuupola\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n * Project home:\n * http://www.appelsiini.net/projects/lazyload\n *\n * Version: 1.9.7\n *\n */\n/*eslint-disable*/\n(function ($, window, document, undefined) {\n var $window = $(window);\n\n $.fn.lazyload = function (options) {\n var elements = this;\n var $container;\n var settings = {\n threshold: 0,\n failure_limit: 0,\n event: 'scroll',\n effect: 'show',\n container: window,\n data_attribute: 'original',\n skip_invisible: false,\n appear: null,\n load: null,\n placeholder:\n 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC',\n };\n\n function update() {\n var counter = 0;\n\n elements.each(function () {\n var $this = $(this);\n if (settings.skip_invisible && !$this.is(':visible')) {\n return;\n }\n if ($.abovethetop(this, settings) || $.leftofbegin(this, settings)) {\n /* Nothing. */\n } else if (!$.belowthefold(this, settings) && !$.rightoffold(this, settings)) {\n $this.trigger('appear');\n /* if we found an image we'll load, reset the counter */\n counter = 0;\n } else {\n if (++counter > settings.failure_limit) {\n return false;\n }\n }\n });\n }\n\n if (options) {\n /* Maintain BC for a couple of versions. */\n if (undefined !== options.failurelimit) {\n options.failure_limit = options.failurelimit;\n delete options.failurelimit;\n }\n if (undefined !== options.effectspeed) {\n options.effect_speed = options.effectspeed;\n delete options.effectspeed;\n }\n\n $.extend(settings, options);\n }\n\n /* Cache container as jQuery as object. */\n $container =\n settings.container === undefined || settings.container === window ? $window : $(settings.container);\n\n /* Fire one scroll event per scroll. Not one scroll event per image. */\n if (0 === settings.event.indexOf('scroll')) {\n $container.bind(settings.event, function () {\n return update();\n });\n }\n\n this.each(function () {\n var self = this;\n var $self = $(self);\n\n self.loaded = false;\n\n /* If no src attribute given use data:uri. */\n if ($self.attr('src') === undefined || $self.attr('src') === false) {\n if ($self.is('img')) {\n $self.attr('src', settings.placeholder);\n }\n }\n\n /* When appear is triggered load original image. */\n $self.one('appear', function () {\n if (!this.loaded) {\n if (settings.appear) {\n var elements_left = elements.length;\n settings.appear.call(self, elements_left, settings);\n }\n $('<img />')\n .bind('load', function () {\n var original = $self.attr('data-' + settings.data_attribute);\n $self.hide();\n if ($self.is('img')) {\n $self.attr('src', original);\n } else {\n $self.css('background-image', \"url('\" + original + \"')\");\n }\n $self[settings.effect](settings.effect_speed);\n\n self.loaded = true;\n\n /* Remove image from array so it is not looped next time. */\n var temp = $.grep(elements, function (element) {\n return !element.loaded;\n });\n elements = $(temp);\n\n if (settings.load) {\n var elements_left = elements.length;\n settings.load.call(self, elements_left, settings);\n }\n })\n .attr('src', $self.attr('data-' + settings.data_attribute));\n }\n });\n\n /* When wanted event is triggered load original image */\n /* by triggering appear. */\n if (0 !== settings.event.indexOf('scroll')) {\n $self.bind(settings.event, function () {\n if (!self.loaded) {\n $self.trigger('appear');\n }\n });\n }\n });\n\n /* Check if something appears when window is resized. */\n $window.bind('resize', function () {\n update();\n });\n\n /* With IOS5 force loading images when navigating with back button. */\n /* Non optimal workaround. */\n if (/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)) {\n $window.bind('pageshow', function (event) {\n if (event.originalEvent && event.originalEvent.persisted) {\n elements.each(function () {\n $(this).trigger('appear');\n });\n }\n });\n }\n\n /* Force initial check if images should appear. */\n $(document).ready(function () {\n update();\n });\n\n return this;\n };\n\n /* Convenience methods in jQuery namespace. */\n /* Use as $.belowthefold(element, {threshold : 100, container : window}) */\n\n $.belowthefold = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = (window.innerHeight ? window.innerHeight : $window.height()) + $window.scrollTop();\n } else {\n fold = $(settings.container).offset().top + $(settings.container).height();\n }\n\n return fold <= $(element).offset().top - settings.threshold;\n };\n\n $.rightoffold = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = $window.width() + $window.scrollLeft();\n } else {\n fold = $(settings.container).offset().left + $(settings.container).width();\n }\n\n return fold <= $(element).offset().left - settings.threshold;\n };\n\n $.abovethetop = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = $window.scrollTop();\n } else {\n fold = $(settings.container).offset().top;\n }\n\n return fold >= $(element).offset().top + settings.threshold + $(element).height();\n };\n\n $.leftofbegin = function (element, settings) {\n var fold;\n\n if (settings.container === undefined || settings.container === window) {\n fold = $window.scrollLeft();\n } else {\n fold = $(settings.container).offset().left;\n }\n\n return fold >= $(element).offset().left + settings.threshold + $(element).width();\n };\n\n $.inviewport = function (element, settings) {\n return (\n !$.rightoffold(element, settings) &&\n !$.leftofbegin(element, settings) &&\n !$.belowthefold(element, settings) &&\n !$.abovethetop(element, settings)\n );\n };\n\n /* Custom selectors for your convenience. */\n /* Use as $(\"img:below-the-fold\").something() or */\n /* $(\"img\").filter(\":below-the-fold\").something() which is faster */\n\n $.extend($.expr[':'], {\n 'below-the-fold': function (a) {\n return $.belowthefold(a, {threshold: 0});\n },\n 'above-the-top': function (a) {\n return !$.belowthefold(a, {threshold: 0});\n },\n 'right-of-screen': function (a) {\n return $.rightoffold(a, {threshold: 0});\n },\n 'left-of-screen': function (a) {\n return !$.rightoffold(a, {threshold: 0});\n },\n 'in-viewport': function (a) {\n return $.inviewport(a, {threshold: 0});\n },\n /* Maintain BC for couple of versions. */\n 'above-the-fold': function (a) {\n return !$.belowthefold(a, {threshold: 0});\n },\n 'right-of-fold': function (a) {\n return $.rightoffold(a, {threshold: 0});\n },\n 'left-of-fold': function (a) {\n return !$.rightoffold(a, {threshold: 0});\n },\n });\n})(jQuery, window, document);\n","function _arrayWithHoles(r) {\n if (Array.isArray(r)) return r;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(r, l) {\n var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"];\n if (null != t) {\n var e,\n n,\n i,\n u,\n a = [],\n f = !0,\n o = !1;\n try {\n if (i = (t = t.call(r)).next, 0 === l) {\n if (Object(t) !== t) return;\n f = !1;\n } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);\n } catch (r) {\n o = !0, n = r;\n } finally {\n try {\n if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return;\n } finally {\n if (o) throw n;\n }\n }\n return a;\n }\n}\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nmodule.exports = toPrimitive, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\nconst resourcePath = Array.prototype.slice.call(document.querySelectorAll(\"link\")).map(node=>node.href).filter(href=>href.indexOf(\"releasedAssets\")>0)[0];\nconst releasedAssetsPath = resourcePath && (`${resourcePath.split(\"releasedAssets\")[0]}releasedAssets/`);\n__webpack_public_path__ = releasedAssetsPath;","import resizedEvent from '../../../utility/resized-event/js/resized-event';\n\n// TODO: Use CustomEvent() instead of jQuery event\n(function () {\n var enquireIt = {\n init: function () {\n // console.log(\"max-width:\"+ (parseInt(UX.grid.screenSm) -1) +\"px\");\n // Responsive behavior controllers ( media query listeners )\n UX.controller.enabled = true;\n enquire /*eslint-disable-line*/\n .register('screen and (max-width:' + (parseInt(UX.grid.screenXs) - 1) + 'px)', {\n match: function () {\n enquireIt.dispatchEvent('screen-xs-on');\n },\n unmatch: function () {\n enquireIt.dispatchEvent('screen-xs-off');\n },\n })\n .register('screen and (max-width:' + (parseInt(UX.grid.screenSm) - 1) + 'px)', {\n match: function () {\n enquireIt.dispatchEvent('screen-sm-on');\n },\n unmatch: function () {\n enquireIt.dispatchEvent('screen-sm-off');\n },\n })\n .register('screen and (max-width:' + (parseInt(UX.grid.screenMd) - 1) + 'px)', {\n match: function () {\n enquireIt.dispatchEvent('screen-md-on');\n },\n unmatch: function () {\n enquireIt.dispatchEvent('screen-md-off');\n },\n })\n .register('screen and (max-width:' + (parseInt(UX.grid.screenLg) - 1) + 'px)', {\n match: function () {\n enquireIt.dispatchEvent('screen-lg-on');\n },\n unmatch: function () {\n enquireIt.dispatchEvent('screen-lg-off');\n },\n })\n .register('screen and (min-width:0px)', {\n match: function () {\n enquireIt.dispatchEvent('screen-xlg-on');\n },\n /*unmatch : function() {\n $(document).trigger(\"screen-xlg-off\"); // screen is not md anymore\n $(document).trigger(\"smartResize\"); // resize have been made\n\n }*/\n })\n .register('screen and (max-width:' + (parseInt(UX.grid.articleLg) - 1) + 'px)', {\n match: function () {\n enquireIt.dispatchEvent('screen-article-lg-on');\n },\n unmatch: function () {\n enquireIt.dispatchEvent('screen-article-lg-off');\n },\n });\n\n resizedEvent();\n },\n\n dispatchEvent(event) {\n document.dispatchEvent(new Event(event));\n document.dispatchEvent(new Event('smartResize'));\n },\n };\n\n UX.enquireIt = enquireIt; // add to global namespace\n})();\n","import '../../../plugins/polyfills/js/CustomEvent.js';\n\nexport default () => {\n var timer;\n var windowWidth = $(window).width();\n window.addEventListener('resize', event => {\n if (timer) clearTimeout(timer);\n timer = setTimeout(\n () => {\n if ($(window).width() !== windowWidth) {\n // fix for mobile devices - scrolling triggers resize events when the action bar disappears\n windowWidth = $(window).width();\n window.dispatchEvent(new CustomEvent('resized'));\n $(window).trigger('resized');\n }\n },\n 100,\n event\n );\n });\n};\n","import {\n ComponentObject,\n ComponentSelectors,\n ComponentElements,\n ComponentInjector,\n UIComponent,\n ComponentService,\n} from \"@atypon/ui-utils\";\n\nclass Texts extends ComponentObject {\n doi = \"\";\n apiUrl = \"\";\n isCrossrefEnabled = \"\";\n getFTRContent = \"\";\n getFTRButton = \"\";\n getFTRLink = \"\";\n prevItemDoi = \"\";\n requestSource = \"\";\n}\n\nclass ClassList extends ComponentObject {\n getFTRPlaceholder = \"getFTR__placeholder\";\n}\n\nclass Selectors extends ComponentSelectors {\n article = \"article\";\n articleReferences = \"article .article__references\";\n articleCitedBy = \"article .citedBySection\";\n tabContent = \".tab--slide .tab__content\";\n tabReferences = \"#pane-pcw-references\";\n tabRelated = \"#pane-pcw-related\";\n getFTRPlaceholder = \".getFTR__placeholder\";\n wrapperItem = \"\"; // Reference or citedBy item\n}\n\nclass Elements extends ComponentElements<Selectors> {\n article: HTMLElement;\n articleReferences: HTMLElement;\n articleCitedBy: HTMLElement;\n tabContent: HTMLElement;\n tabReferences: HTMLElement;\n tabRelated: HTMLElement;\n getFTRWrapper: HTMLElement;\n getFTRPlaceholder: HTMLElement;\n source: HTMLElement; // References tab, related tab, article references or article citedBy\n}\n\ninterface GetFTR\n extends ComponentService<Selectors, Elements, ClassList, Texts> { }\n\n@ComponentInjector(Selectors, Elements, ClassList, Texts)\nclass GetFTR implements UIComponent {\n isButtonVisible: boolean = false;\n linksCount: number;\n numberOfPlaceholders: number;\n isSafeToFetch: boolean = true;\n\n initialize(): void {\n this.setElements();\n this.addEventListeners();\n this.getGetFTRConfig();\n }\n\n private setElements(): void {\n this.elements.articleReferences = this.domUtils.getElement<HTMLElement>(\n this.selectors.articleReferences,\n );\n this.elements.articleCitedBy = this.domUtils.getElement<HTMLElement>(\n this.selectors.articleCitedBy,\n );\n this.elements.tabContent = this.domUtils.getElement<HTMLElement>(\n this.selectors.tabContent,\n );\n }\n\n addEventListeners(): void {\n window.addEventListener(\"scroll\", this.handleWindowScroll);\n }\n\n private getGetFTRConfig(): void {\n this.elements.article = this.domUtils.getElement<HTMLElement>(\n this.selectors.article,\n );\n this.texts.isCrossrefEnabled = this.elements.article.getAttribute(\n \"data-crossref-enabled\",\n );\n this.texts.requestSource = this.elements.article.getAttribute(\n \"data-getFTR-request-source\",\n );\n this.texts.doi = this.elements.article.getAttribute(\n \"data-getFTR-doi\",\n );\n this.linksCount = parseInt(\n this.elements.article.getAttribute(\"data-getFTR-links-count\"),\n );\n }\n\n private getGetFTRElements(): void {\n const placeholderElements = this.domUtils\n .getElements(this.selectors.getFTRPlaceholder, this.elements.source)\n .slice(0, this.linksCount);\n const firstPlaceholderElement =\n placeholderElements && placeholderElements[0];\n const firstItemDoi = firstPlaceholderElement\n ?.closest(\"[data-doi]\")\n ?.getAttribute(\"data-doi\");\n const elementsData = placeholderElements\n ?.map(\n (element) =>\n element.closest(this.selectors.wrapperItem)?.getAttribute(\"data-doi\"),\n )\n .filter(Boolean); // to remove any null or undefined values from the array\n\n if (\n elementsData?.length > 0 &&\n this.numberOfPlaceholders &&\n firstItemDoi !== this.texts.prevItemDoi\n ) {\n this.texts.prevItemDoi = firstItemDoi;\n this.fetchData(elementsData);\n this.elements.tabContent?.addEventListener(\"scroll\", () => {\n this.handleTabScroll(this.elements.source);\n });\n }\n }\n\n private setGetFTRSource(\n sourceElement: HTMLElement,\n wrapperItemSelector: string,\n apiUrl: string,\n ): void {\n this.initialize();\n this.elements.source = sourceElement;\n this.selectors.wrapperItem = wrapperItemSelector;\n this.numberOfPlaceholders =\n this.elements.source?.querySelectorAll<HTMLElement>(\n this.selectors.getFTRPlaceholder,\n ).length;\n this.texts.apiUrl = this.elements.article.getAttribute(apiUrl);\n this.getGetFTRElements();\n }\n\n referencesTab(): void {\n this.elements.tabReferences = this.domUtils.getElement<HTMLElement>(\n this.selectors.tabReferences,\n );\n this.setGetFTRSource(\n this.elements.tabReferences,\n \".references__item\",\n \"data-getFTR-reference-url\",\n );\n }\n\n relatedTab(): void {\n this.elements.tabRelated = this.domUtils.getElement<HTMLElement>(\n this.selectors.tabRelated,\n );\n this.setGetFTRSource(\n this.elements.tabRelated,\n \".citedByEntry\",\n \"data-getFTR-citedby-url\",\n );\n }\n\n articleReferences(): void {\n this.setGetFTRSource(\n this.elements.articleReferences,\n \".references__item\",\n \"data-getFTR-reference-url\",\n );\n }\n\n articleCitedBy(): void {\n this.setGetFTRSource(\n this.elements.articleCitedBy,\n \".citedByEntry\",\n \"data-getFTR-citedBy-url\",\n );\n }\n\n private handleTabScroll(source: HTMLElement): void {\n const firstPlaceholder = source?.querySelector<HTMLElement>(\n this.selectors.getFTRPlaceholder,\n );\n const firstPlaceholderOffsetTop = firstPlaceholder?.offsetTop;\n const tabContentScrollY = this.elements.tabContent?.scrollTop;\n\n if (\n firstPlaceholder &&\n firstPlaceholderOffsetTop - 500 < tabContentScrollY &&\n this.isSafeToFetch\n ) {\n this.getGetFTRElements();\n }\n }\n\n private handleWindowScroll = (): void => {\n if (!this.elements.articleReferences && !this.elements.articleCitedBy) {\n return;\n }\n\n const scrollPosition = window.scrollY;\n const articleCitedByOffsetTop = this.elements.articleCitedBy?.offsetTop;\n const targetElement =\n scrollPosition >= articleCitedByOffsetTop\n ? this.elements.articleCitedBy\n : this.elements.articleReferences;\n\n const firstPlaceholder = targetElement?.querySelector<HTMLElement>(\n this.selectors.getFTRPlaceholder,\n );\n const firstPlaceholderOffsetTop = firstPlaceholder?.offsetTop;\n\n if (\n firstPlaceholder &&\n this.isSafeToFetch &&\n firstPlaceholderOffsetTop - 500 < scrollPosition\n ) {\n if (targetElement === this.elements.articleReferences) {\n this.articleReferences();\n } else {\n this.articleCitedBy();\n }\n }\n };\n\n private fetchData(elementsData: string[]): void {\n const requestBody = {\n pubDoi: this.texts.doi,\n associatedCitations: elementsData,\n requestSource: this.texts.requestSource,\n };\n\n this.isSafeToFetch = false;\n\n fetch(this.texts.apiUrl, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify(requestBody),\n })\n .then((response) => response.json())\n .then((results) => {\n results.forEach((item: object) => {\n this.elements.getFTRWrapper = this.elements.source?.querySelector(\n `[data-doi=\"${item[\"doi\"]}\"]`,\n ); // Reference or cited by element\n this.elements.getFTRPlaceholder =\n this.elements.getFTRWrapper?.querySelector(\n this.selectors.getFTRPlaceholder,\n );\n this.isEntitlement(item);\n this.getFTRContentEmpty();\n this.removePlaceholder();\n });\n })\n .catch((error) => {\n console.error(\"Error:\", error);\n })\n .finally(() => {\n this.isSafeToFetch = true;\n });\n }\n\n private isEntitlement = (item: object): void => {\n if (item[\"entitlement\"]) {\n this.isButtonVisible = true;\n this.getFTRButton(item[\"entitlement\"]);\n } else if (\n !this.texts.isCrossrefEnabled &&\n item[\"doi\"] &&\n item[\"fallback\"]\n ) {\n this.isButtonVisible = true;\n this.getFTRButton(item[\"fallback\"][\"url\"]);\n } else if (this.texts.isCrossrefEnabled && item[\"fallback\"]) {\n this.getFTRLink(item[\"fallback\"]);\n }\n };\n\n private getFTRButton = (data: object | string): void => {\n let isIconVisible = false;\n let iconName = \"\";\n let iconEl = \"\";\n const isEntitlement = typeof data === \"object\";\n const btnText = isEntitlement ? data[\"label\"] : \"View\";\n const btnLink = isEntitlement ? data[\"url\"] : data;\n const tooltip = isEntitlement && data[\"tooltip\"] ? data[\"tooltip\"] : false;\n\n if (\n isEntitlement &&\n (data[\"entitled\"] === \"yes\" ||\n (data[\"entitled\"] === \"maybe\" && data[\"type\"] === \"vor\"))\n ) {\n isIconVisible = true;\n iconName = \"icon-getFTR-na\";\n } else if (\n isEntitlement &&\n data[\"entitled\"] === \"no\" &&\n data[\"type\"] === \"av\"\n ) {\n isIconVisible = true;\n iconName = \"icon-getFTR-av\";\n }\n\n iconEl = isIconVisible\n ? `<i aria-hidden=\"true\" class=\"${iconName}\"></i>`\n : \"\";\n this.texts.getFTRButton = `<a href=\"${btnLink}\" aria-label=\"${tooltip ? tooltip : btnText\n }\" target=\"_blank\" data-tooltip=\"${tooltip}\" class=\"getFTR__btn ${tooltip ? \"getFTR__tooltip\" : \"\"\n }\" tabindex=\"0\">\n ${iconEl}\n ${btnText}\n </a>`;\n\n this.elements.getFTRPlaceholder?.insertAdjacentHTML(\n \"afterbegin\",\n this.texts.getFTRButton,\n );\n };\n\n private getFTRLink = (data: object): void => {\n this.texts.getFTRLink = `<a href=\"${data[\"url\"]}\" target=\"_blank\" class=\"getFTR__link\">\n ${data[\"label\"]}\n </a>`;\n\n this.elements.getFTRPlaceholder?.insertAdjacentHTML(\n \"afterbegin\",\n this.texts.getFTRLink,\n );\n };\n\n private getFTRContentEmpty(): void {\n this.texts.getFTRButton = \"\";\n this.texts.getFTRLink = \"\";\n this.isButtonVisible = false;\n }\n\n private removePlaceholder(): void {\n this.elements.getFTRPlaceholder?.classList.remove(\"getFTR__placeholder\");\n }\n}\n\nexport default GetFTR;\n\nexport {\n Elements as GetFTRElements,\n Selectors as GetFTRSelectors,\n ClassList as GetFTRClassList,\n Texts as GetFTRTexts,\n};\n","import { ComponentInjector } from '@atypon/ui-utils';\nimport PublicationContent, {\n GetFTRElements,\n GetFTRSelectors,\n GetFTRClassList,\n GetFTRTexts,\n} from '../../publication-content/ts';\n\nclass Texts extends GetFTRTexts {}\n\nclass ClassList extends GetFTRClassList {}\n\nclass Selectors extends GetFTRSelectors {}\n\nclass Elements extends GetFTRElements {}\n\ninterface AxelPublicationContent {\n get elements(): Elements;\n get texts(): Texts;\n get classList(): ClassList;\n get selectors(): any;\n}\n\n@ComponentInjector(Selectors, Elements, ClassList, Texts)\nclass AxelPublicationContent extends PublicationContent {}\n\nexport default AxelPublicationContent;\nexport {\n Elements as AxelGetFTRElements,\n Selectors as AxelGetFTRSelectors,\n ClassList as AxelGetFTRClassList,\n Texts as AxelGetFTRTexts,\n};\n","import _PublicationContentFTR, {\n GetFTRElements,\n GetFTRSelectors,\n GetFTRClassList,\n GetFTRTexts,\n} from './publication-content/ts';\n\nimport _AxelPublicationContentFTR, {\n AxelGetFTRElements,\n AxelGetFTRSelectors,\n AxelGetFTRClassList,\n AxelGetFTRTexts,\n} from './axel-publication-content/ts';\n\nimport { enableAxelArticleWidget } from './variables/js';\n\nexport {\n _PublicationContentFTR as PublicationContentFTR,\n _AxelPublicationContentFTR as AxelPublicationContentFTR,\n GetFTRElements,\n GetFTRSelectors,\n GetFTRClassList,\n GetFTRTexts,\n AxelGetFTRElements,\n AxelGetFTRSelectors,\n AxelGetFTRClassList,\n AxelGetFTRTexts,\n};\n\nexport default enableAxelArticleWidget ? _PublicationContentFTR : _AxelPublicationContentFTR;\n","/*\n work around until we introduce a shared declaration file for project globals.\n*/\nexport const enableAxelArticleWidget = config.enableAxelArticleWidget;\n","import {\n BrowserUtils,\n ComponentElements,\n ComponentInjector,\n ComponentObject,\n ComponentSelector,\n ComponentSelectors,\n ComponentService,\n Inject,\n UIComponent\n} from '@atypon/ui-utils';\n\nclass Texts extends ComponentObject {\n}\n\nclass ClassList extends ComponentObject {\n}\n\nclass Selectors extends ComponentSelectors {\n addRangeFields = new ComponentSelector('.ip-ranges__add-range input[name=\"ipRanges\"]');\n addRangeSubmitButtons = new ComponentSelector('.ip-ranges__add-range input[type=\"submit\"]');\n updateRangesCheckboxes = new ComponentSelector('.ip-ranges__update-range tr:not(.ip-ranges__update-range__ignore-conflicts) input[type=\"checkbox\"]');\n updateRangesSubmitButtons = new ComponentSelector('.ip-ranges__update-range input[type=\"submit\"]');\n}\n\nclass Elements extends ComponentElements<Selectors> {\n addRangeFields: Array<HTMLInputElement> = [];\n addRangeSubmitButtons: Array<HTMLButtonElement> = [];\n updateRangesCheckboxes: Array<HTMLInputElement> = [];\n updateRangesSubmitButtons: Array<HTMLButtonElement> = [];\n}\n\ninterface ipRanges extends ComponentService<Selectors, Elements, ClassList, Texts> {\n}\n\n@ComponentInjector(Selectors, Elements, ClassList, Texts)\nclass ipRanges implements UIComponent {\n @Inject()\n protected browserUtils: BrowserUtils;\n\n constructor(readonly wrapper: HTMLElement) {\n }\n\n initialize(): void {\n this.elements.initialize(this.wrapper);\n this.addEventListeners();\n }\n\n addEventListeners(): void {\n this.elements.addRangeFields.forEach((field) => {\n field.addEventListener('input', this.handleAddRangeFieldChange.bind(this, field));\n });\n this.elements.updateRangesCheckboxes.forEach(checkbox => {\n checkbox.addEventListener('change', this.handleUpdateRangeFieldChange.bind(this, checkbox));\n });\n }\n\n protected handleAddRangeFieldChange(): void {\n const anyIsEmpty = this.elements.addRangeFields.some(field => field.value.trim() === '');\n this.setSubmitButtonsDisable(this.elements.addRangeSubmitButtons, anyIsEmpty)\n }\n\n protected handleUpdateRangeFieldChange(): void {\n const anyIsChecked = this.elements.updateRangesCheckboxes.some(checkbox => checkbox.checked);\n this.setSubmitButtonsDisable(this.elements.updateRangesSubmitButtons, !anyIsChecked)\n }\n\n protected setSubmitButtonsDisable(array: Array<HTMLButtonElement> = [], isDisabled: boolean): void {\n array.forEach(button => {\n button.disabled = isDisabled;\n })\n }\n}\n\nexport default ipRanges;\n\nexport {\n Elements as IpRangesElements,\n Selectors as IpRangesSelectors,\n ClassList as IpRangesClassList,\n Texts as IpRangesTexts,\n}","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.4.1): tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n/*eslint-disable*/\nimport $ from 'jquery';\nimport Util from '../../../utility/js/bootstrap-utils';\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst NAME = 'tab';\nconst VERSION = '4.4.1';\nconst DATA_KEY = 'bs.tab';\nconst EVENT_KEY = `.${DATA_KEY}`;\nconst DATA_API_KEY = '.data-api';\nconst JQUERY_NO_CONFLICT = $.fn[NAME];\n\nconst Event = {\n HIDE: `hide${EVENT_KEY}`,\n HIDDEN: `hidden${EVENT_KEY}`,\n SHOW: `show${EVENT_KEY}`,\n SHOWN: `shown${EVENT_KEY}`,\n CLICK_DATA_API: `click${EVENT_KEY}${DATA_API_KEY}`,\n};\n\nconst ClassName = {\n DROPDOWN_MENU: 'dropdown-menu',\n ACTIVE: 'active',\n DISABLED: 'disabled',\n FADE: 'fade',\n SHOW: 'show',\n};\n/*IMPORTANT this selectors edited to match out tab strucre*/\nconst Selector = {\n DROPDOWN: '.dropdown',\n NAV_LIST_GROUP: '.tab__nav',\n ACTIVE: '.active',\n ACTIVE_UL: '> li > .active, > .active',\n DATA_TOGGLE: '.tab__nav > li:not(.arrows-slide), [data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]',\n DROPDOWN_TOGGLE: '.dropdown-toggle',\n DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active',\n};\n\n/**\n * ------------------------------------------------------------------------\n * Class Definition\n * ------------------------------------------------------------------------\n */\n\nclass Tab {\n constructor(element) {\n this._element = element;\n }\n\n // Getters\n\n static get VERSION() {\n return VERSION;\n }\n\n // Public\n\n show() {\n if (\n (this._element.parentNode &&\n this._element.parentNode.nodeType === Node.ELEMENT_NODE &&\n $(this._element).hasClass(ClassName.ACTIVE)) ||\n $(this._element).hasClass(ClassName.DISABLED)\n ) {\n return;\n }\n\n let target;\n let previous;\n const listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0];\n const selector = Util.getSelectorFromElement(this._element);\n\n if (listElement) {\n const itemSelector =\n listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? Selector.ACTIVE_UL : Selector.ACTIVE;\n previous = $.makeArray($(listElement).find(itemSelector));\n previous = previous[previous.length - 1];\n }\n\n const hideEvent = $.Event(Event.HIDE, {\n relatedTarget: this._element,\n });\n\n const showEvent = $.Event(Event.SHOW, {\n relatedTarget: previous,\n });\n\n if (previous) {\n $(previous).trigger(hideEvent);\n }\n\n $(this._element).trigger(showEvent);\n\n if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) {\n return;\n }\n\n if (selector) {\n target = document.querySelector(selector);\n }\n\n this._activate(this._element, listElement);\n\n const complete = () => {\n const hiddenEvent = $.Event(Event.HIDDEN, {\n relatedTarget: this._element,\n });\n\n const shownEvent = $.Event(Event.SHOWN, {\n relatedTarget: previous,\n });\n\n $(previous).trigger(hiddenEvent);\n $(this._element).trigger(shownEvent);\n };\n\n if (target) {\n this._activate(target, target.parentNode, complete);\n } else {\n complete();\n }\n }\n\n dispose() {\n $.removeData(this._element, DATA_KEY);\n this._element = null;\n }\n\n // Private\n\n _activate(element, container, callback) {\n const activeElements =\n container && (container.nodeName === 'UL' || container.nodeName === 'OL')\n ? $(container).find(Selector.ACTIVE_UL)\n : $(container).children(Selector.ACTIVE);\n\n const [active, activeAnchor] = activeElements.toArray();\n const isTransitioning = callback && active && $(active).hasClass(ClassName.FADE);\n const complete = () => this._transitionComplete(element, active, callback, activeAnchor);\n\n if (active && isTransitioning) {\n const transitionDuration = Util.getTransitionDurationFromElement(active);\n\n $(active)\n .removeClass(ClassName.SHOW)\n .one(Util.TRANSITION_END, complete)\n .emulateTransitionEnd(transitionDuration);\n } else {\n complete();\n }\n }\n\n _transitionComplete(element, active, callback, activeAnchor) {\n const activeClickedElement = document?.activeElement;\n if (active) {\n $(active).removeClass(ClassName.ACTIVE);\n\n if (activeAnchor?.localName === 'a') {\n activeAnchor.classList.remove(ClassName.ACTIVE);\n }\n\n const dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0];\n\n if (dropdownChild) {\n $(dropdownChild).removeClass(ClassName.ACTIVE);\n }\n\n if (activeAnchor?.getAttribute('role') === 'tab') {\n activeAnchor.setAttribute('aria-selected', false);\n }\n }\n\n $(element).addClass(ClassName.ACTIVE);\n if (activeClickedElement?.getAttribute('role') === 'tab') {\n activeClickedElement.setAttribute('aria-selected', true);\n }\n\n Util.reflow(element);\n\n if (element.classList.contains(ClassName.FADE)) {\n element.classList.add(ClassName.SHOW);\n }\n\n if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) {\n const dropdownElement = $(element).closest(Selector.DROPDOWN)[0];\n\n if (dropdownElement) {\n const dropdownToggleList = [].slice.call(dropdownElement.querySelectorAll(Selector.DROPDOWN_TOGGLE));\n\n $(dropdownToggleList).addClass(ClassName.ACTIVE);\n }\n\n element.setAttribute('aria-expanded', true);\n }\n\n if (callback) {\n callback();\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n const $this = $(this);\n let data = $this.data(DATA_KEY);\n\n if (!data) {\n data = new Tab(this);\n $this.data(DATA_KEY, data);\n }\n\n if (typeof config === 'string') {\n if (typeof data[config] === 'undefined') {\n throw new TypeError(`No method named \"${config}\"`);\n }\n data[config]();\n }\n });\n }\n}\n\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\n$(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {\n var refElement = $(this).attr('data-toggle');\n if (refElement == 'tab') {\n event.preventDefault();\n }\n Tab._jQueryInterface.call($(this), 'show');\n});\n\n/**\n * ------------------------------------------------------------------------\n * jQuery\n * ------------------------------------------------------------------------\n */\n\n$.fn[NAME] = Tab._jQueryInterface;\n$.fn[NAME].Constructor = Tab;\n$.fn[NAME].noConflict = () => {\n $.fn[NAME] = JQUERY_NO_CONFLICT;\n return Tab._jQueryInterface;\n};\n\nexport default Tab;\n","import GetFTR from '../../getFTR/js/getFTR';\n\n(function () {\n var $body = $('body');\n\n var tab = {\n $target: null,\n $toggle: null,\n $li: null,\n $spinner: null,\n $ul: $('.tab__nav'),\n $previous: null,\n $content: null,\n isTouched: false,\n extraMargin: 25,\n elementvPort: null,\n $controls: null,\n pointerPosition: 0.0,\n cumulativeShift: 0.0,\n vPort: 'screen-sm', // default responsive break point\n isSlide: false,\n isMobile: [], // variable use to determine if responsive mode is on or off\n backToAccessibility: true, // variable use to determine if we want to add back btn to navigate between content and aside\n swipeDisableClass: 'arrows-slide__single--disabled',\n article: null,\n isGetFTREnabled: false,\n isGetFTRReferencesEnabled: false,\n isGetFTRCitedByEnabled: false,\n\n init: function () {\n tab.$spinner = $('.tab__spinner');\n tab.preselectTab();\n tab.elementvPort = tab.vPort;\n tab.vPort = [];\n tab.article = document.querySelector('article');\n tab.isGetFTREnabled = tab.article?.getAttribute('data-getFTR-enabled');\n tab.isGetFTRReferencesEnabled = tab.article?.getAttribute('data-getFTR-references-enabled');\n tab.isGetFTRCitedByEnabled = tab.article?.getAttribute('data-getFTR-citedBy-enabled');\n const tabElm = $('.tab:not(.tab .tab)'); // in case hierarchical tabs, which is looping inside nested tabs that have the same main tab behavior ex: loi\n let eleWithLabelsData;\n tabElm.each((index, ele) => {\n if (ele.getAttribute('data-prev-text')) {\n eleWithLabelsData = $(ele);\n return false;\n }\n });\n tabElm.each(function (index) {\n const _this = $(this);\n tab.check.viewPort(index, _this); // get current view port activator break point\n tab.responsive(index, _this);\n });\n tab.$controls = `\n <li class='arrows-slide' role='presentation'>\n <i tabindex='0' role='button' class='icon-arrow_l arrows-slide__single prev'\n ${eleWithLabelsData ? `data-prev-text=\"${eleWithLabelsData.attr('data-prev-text')}\"` : ''}\n ${eleWithLabelsData ? `data-no-prev-text=\"${eleWithLabelsData.attr('data-no-prev-text')}\"` : ''}\n ></i>\n <i tabindex='0' role='button' class='icon-arrow_r arrows-slide__single next'\n ${eleWithLabelsData ? `data-next-text=\"${eleWithLabelsData.attr('data-next-text')}\"` : ''}\n ${eleWithLabelsData ? `data-no-next-text=\"${eleWithLabelsData.attr('data-no-next-text')}\"` : ''}\n ></i>\n </li>\n `;\n tab.on.build();\n tab.control();\n $('.tab__nav a').each(function () {\n // go through all tab nav items\n tab.check.empty($(this));\n });\n },\n\n preselectTab: function () {\n // The preselectTab function should be cleanup\n // Its better to use query string in url instead session storage for select active tab\n // We should depend on data-target always instead of href because href may contain url not tab-pane selector\n // selection of active tab should tested on nested tabs and multi tabs on page\n\n $('.tab').each(function () {\n //the rest of this code doesnt seem to support multiple tabs on the page.. but this does\n const _this = $(this);\n\n if (_this.data('js-preselect') === false)\n //If you don't need js to select the active tab\n return true;\n\n const $activeTab = _this.find('.tab__nav').find('li.active a');\n let activeTab = tab.getPaneTarget($activeTab);\n let sessionActiveTab = null;\n\n if (!activeTab && sessionStorage.activeTab) {\n // check \"sessionStorage.activeTab\" is solution for LIT-189292\n activeTab = sessionStorage.getItem('activeTab');\n sessionActiveTab = activeTab;\n }\n\n // Checking if activeTab contains hash, if not it is not 'tab'\n const hash = activeTab ? activeTab.match(/#/) : null;\n if (activeTab && (!hash || hash.index !== 0)) return;\n\n if (_this.find(activeTab).length === 0) {\n activeTab = null;\n } else if (sessionActiveTab) {\n sessionStorage.setItem('activeTab', '');\n }\n\n if (location.search !== '') {\n const reExp = /activeTab=\\b[\\w-]+$/g;\n\n if (reExp.test(location.search)) {\n const activeParameter = location.search.match(reExp)[0];\n if ($('#' + activeParameter.split('=')[1]).length) {\n activeTab = '#' + activeParameter.split('=')[1];\n }\n }\n }\n\n let $firstItem = _this.find('.tab__nav').find('li:first-of-type a');\n if (!activeTab) activeTab = tab.getPaneTarget($firstItem);\n\n if ((activeTab && activeTab.split('#').length < 2) || activeTab === '') return true;\n\n const triggerTarget = $(\"[data-target='\" + activeTab + \"'], [href='\" + activeTab + \"']\");\n\n if (!triggerTarget.closest('.w-slide__btn').length) {\n // @TODO add condition to apply on while on mobile only, think: is the closest() method really best for the job?\n triggerTarget.click();\n _this.find(activeTab).addClass('active'); // in some cases to display tab content the .active class has to tiggered. Known case: alerts management in profile, when directed to a specific tab.\n }\n });\n },\n\n control: function () {\n $body.on('click', '.tab-link', function (e) {\n e.preventDefault();\n const $this = $(this),\n documentScrollTop = $(document).scrollTop();\n\n $this.attr('data-scroll-back-to', documentScrollTop);\n tab.triggerExternal($this);\n });\n if (config.enableTabsTypeDropdown) {\n $body.on('click', '[data-mobile-toggle=\"dropdown\"] a, .dropblock--tab a', function (e) {\n tab.on.select.dropdown($(this));\n\n if ($('.js--open[data-db-target-for]').length) UX.dropBlock.on.hide();\n });\n }\n $body.on('click', '.tab__nav a', function () {\n const _this = $(this);\n const tabId = tab.getPaneTarget(_this);\n $(document).trigger('tabs:changeActiveTab', {tabId: tabId});\n const $parent = _this.parents('.tab');\n if ($parent.hasClass('tab--lazy-load')) {\n if ($(tabId).attr('data-ajaxloaded') !== 'true') {\n tab.getContent($(tabId).find('.tab-lazy'));\n }\n }\n\n if (tab.isGetFTREnabled) {\n const getFTR = UX.getFTR || new GetFTR();\n if (tab.isGetFTRReferencesEnabled && _this[0].classList.contains('references-tab')) {\n getFTR.referencesTab();\n } else if (tab.isGetFTRCitedByEnabled && _this[0].classList.contains('related-tab')) {\n getFTR.relatedTab();\n }\n }\n });\n if (config.enableTabsTypeSwipeList) {\n $body.on('click touchend keydown', '.arrows-slide .next', function (e) {\n if (e.key && e.key !== 'Enter') return;\n if ($(this).hasClass(tab.swipeDisableClass)) return;\n e.preventDefault();\n let $activeNav = $(this).closest('.tab__nav').find('.active');\n let $activePane = $(this).closest('.tab').find('.tab__content .tab__pane.active');\n if ($activeNav.next().not('.arrows-slide').length > 0) {\n const $newActiveEl = $activeNav.removeClass('active').next().not('.arrows-slide');\n $newActiveEl.addClass('active').show();\n $activePane.removeClass('active').next().addClass('active');\n tab.navToExternal($newActiveEl);\n if (!$activeNav.next().not('.arrows-slide').next().not('.arrows-slide').length) {\n tab.toggleArrowAttrs($(this), true, 'data-no-next-text');\n }\n tab.toggleArrowAttrs($(this).closest('.arrows-slide').find('.prev'), false, 'data-prev-text');\n }\n });\n\n $body.on('click touchend keydown', '.arrows-slide .prev', function (e) {\n if (e.key && e.key !== 'Enter') return;\n if ($(this).hasClass(tab.swipeDisableClass)) return;\n e.preventDefault();\n let $activeNav = $(this).closest('.tab__nav').find('.active');\n let $activePane = $(this).closest('.tab').find('.tab__content .tab__pane.active');\n if ($activeNav.prev().not('.arrows-slide').length > 0) {\n const $newActiveEl = $activeNav.removeClass('active').prev().not('.arrows-slide');\n $newActiveEl.addClass('active').show();\n $activePane.removeClass('active').prev().addClass('active');\n tab.navToExternal($newActiveEl);\n if (!$activeNav.prev().not('.arrows-slide').prev().not('.arrows-slide').length) {\n tab.toggleArrowAttrs($(this), true, 'data-no-prev-text');\n }\n tab.toggleArrowAttrs($(this).closest('.arrows-slide').find('.next'), false, 'data-next-text');\n }\n });\n }\n // Get postback active tab\n tab.setPostbackActiveTab(tab.getPostbackActiveTab());\n tab.additionalControl();\n },\n toggleArrowAttrs: function ($ele, isDisabled = true, attrStr) {\n $ele.toggleClass(tab.swipeDisableClass, isDisabled)\n .attr('aria-label', $ele.attr(attrStr))\n .attr('aria-disabled', isDisabled);\n },\n additionalControl: function () {},\n navToExternal($activeNav) {\n const $externalLink = $activeNav.find('.external');\n if ($externalLink.length) {\n window.location.href = $externalLink.attr('href');\n }\n },\n responsive: function (index, tabElem) {\n $(document).on(tab.vPort[index] + '-on', function () {\n // Waiting for custom event that will be triggered by controller.js to activate responsive effects\n tab.isMobile[index] = true;\n //$('[data-slide-target]').addClass('w-slide__btn');\n\n // $('.tab').each(function () {\n if (tabElem.data('ctrl-res') === tab.vPort[index]) {\n tabElem.addClass('tab--res'); // class will be used in our scss (to replace media queries)\n tab.additionalControl();\n tab.on.rebuild.responsive(tabElem); // rebuild tabs to be responsive\n }\n // });\n\n // withArrows.each(function (i, o) {\n if (tabElem.closest('.swipe-with-arrows').length) {\n const tabNav = tabElem.find('.tab__nav');\n if (tabNav.children('li').length > 1) {\n const posIndex = tabNav.children('li.active').index(),\n length = tabNav.children('li').length,\n controls = $(tab.$controls);\n tabNav.children('li:not(.active)').hide();\n if (posIndex + 1 === length) {\n // decide which arrow to disable\n tab.toggleArrowAttrs(controls.find('.next'), true, 'data-no-next-text');\n tab.toggleArrowAttrs(controls.find('.prev'), false, 'data-prev-text');\n }\n if (posIndex === 0) {\n tab.toggleArrowAttrs(controls.find('.prev'), true, 'data-no-prev-text');\n tab.toggleArrowAttrs(controls.find('.next'), false, 'data-next-text');\n }\n tabNav.append(controls);\n }\n }\n // });\n });\n\n $(document).on(tab.vPort[index] + '-off', function () {\n // Waiting for custom event that will be triggered by controller.js to deactivate responsive effects\n tab.isMobile[index] = false;\n\n // $('.tab').each(function () {\n if (tabElem.data('ctrl-res') === tab.vPort[index]) {\n tabElem.removeClass('tab--res'); // class will be used in our scss (to replace media queries)\n tab.on.rebuild.original($(this)); // return tabs as default\n }\n // });\n\n const withArrows = $('.swipe-with-arrows').find('.tab__nav');\n withArrows.children('li').css('display', 'inline-block');\n withArrows.find('.arrows-slide').remove();\n });\n },\n animate: {\n scroll: function ($content, $target) {\n if ($target.length) {\n const contentScrollTop = $content.scrollTop();\n const contentTop = $content.position().top;\n const targetTop = $target.position().top;\n $content.animate(\n {\n scrollTop: targetTop - contentTop + contentScrollTop,\n },\n 600\n );\n }\n },\n },\n set: {\n target: function ($content, target, temp) {\n if (!$content.find(target).length) {\n tab.$target = $content.find(\"[data-figure-id='\" + temp + \"']\");\n } else {\n tab.$target = $content.find(target);\n }\n },\n },\n accessibility: {\n /**\n * Accessibility - navigate between content and aside\n * @param elem\n * @param tab\n */\n externalLink: function (elem, tab) {\n // create focusable option for target\n const tabindex = tab.$target.attr('tabindex');\n tab.$target.attr('tabindex', typeof tabindex === 'undefined' ? -1 : tabindex);\n // create and append back button to content\n const backLink = $('<button class=\"btn btn--keyboard-accessible\">Go back to content</button>');\n if (tab.backToAccessibility) {\n if (tab.$target.is('a, ul, ol, img, table') || tab.$target.is(':input')) {\n tab.$target.after(backLink);\n } else {\n tab.$target.append(backLink);\n }\n\n // go back to original element if backbutton is activated\n backLink\n .on('click', function () {\n elem.focus();\n })\n .on('focusout', function () {\n $(this).remove();\n });\n }\n // revert original state on focus out\n tab.$target\n .on('focusout.tablink', function (event) {\n const $this = $(this);\n // revert tabindex to original value\n if (typeof tabindex === 'undefined') {\n $this.removeAttr('tabindex');\n }\n // remove backbutton if user tabbed out of target by some other means than tabbing to backlink\n if (\n !$(event.relatedTarget).is(backLink) &&\n !$(event.relatedTarget).parents().filter(tab.$target).length\n ) {\n if (backLink.length) backLink.remove();\n $this.off('focusout.tablink');\n }\n })\n // provide ESC support for return to content\n .on('keydown.tablink', function (event) {\n const $this = $(this);\n // on escape, return to control\n if (event.which === 27) {\n $this.off('keydown.tablink');\n elem.focus();\n if (backLink.length) backLink.remove();\n }\n });\n\n // set focus to target\n tab.$target.focus();\n },\n },\n on: {\n select: {\n external: function ($elem) {\n var target = $elem.attr('href'); // get target id\n\n target = target.split(' ')[0]; //LIT-162636\n\n tab.$toggle = '#' + $elem.data('tab'); //get target pane\n tab.$li = $('.tab__nav [href=\"' + tab.$toggle + '\"]'); // get target tabs nav\n const temp = target.split('#')[1];\n const parentTab = $(tab.$toggle).closest('.tab');\n const animateScroll = function () {\n tab.$content = $(tab.$toggle).parents('.tab__content');\n if (!tab.$content.length && $elem.is('[data-slide-target]') && $elem.hasClass('slide-active'))\n tab.$content = $('.w-slide__content');\n\n if (parentTab.hasClass('tab--res')) {\n tab.isSlide = parentTab.hasClass('tab--slide');\n if (tab.isSlide) {\n tab.set.target($('.w-slide__content'), target, temp);\n if (tab.$target.length) {\n tab.animate.scroll($('.w-slide__content'), tab.$target);\n tab.$target.attr('tab-index', '1');\n tab.$target.focus();\n }\n }\n } else {\n tab.set.target(tab.$content, target, temp);\n tab.animate.scroll(tab.$content, tab.$target);\n tab.accessibility.externalLink($elem, tab);\n }\n };\n\n if ($(tab.$toggle).is(':visible')) {\n tab.$li.click(); // open target tab\n animateScroll();\n } else {\n if ($(tab.$toggle).hasClass('empty')) {\n $(tab.$toggle).on('content-loaded', function () {\n animateScroll();\n });\n tab.$li.click(); // open target tab\n } else {\n tab.$li.click(); // open target tab\n animateScroll();\n }\n }\n },\n },\n build: function () {\n //setTimeout(function() {\n tab.$ul.each(function (index) {\n if ($(this).is('.swipe__list') && config.enableTabsTypeSwipeList) {\n tab.on.swipeBuild($(this));\n }\n if ($(this).is('.dropblock--tab') && config.enableTabsTypeDropdown) {\n tab.on.dropdownBuild($(this), index);\n }\n });\n //}, 200);\n $('.tab--lazy-load').each(function () {\n tab.getContent($(this).find('.tab__pane.active').find('.tab-lazy'));\n });\n },\n // calculate: function (elem) {\n // var elemParent = elem.parent();\n // var tabNavWidth = tab.extraMargin;\n // elem.find('li').each(function (index) {\n // tabNavWidth += $(this).innerWidth();\n // });\n // var elemParentWidth = elemParent.width();\n // if (elemParentWidth < tabNavWidth) {\n // if (!elem.parent().is('.scroll')) {\n // tab.on.swipeBuild(elem, tabNavWidth);\n // }\n // } else {\n // tab.on.swipeDestroy(elem);\n // }\n\n // },\n\n slideDestroy: function (elem) {\n elem.find('[data-slide-target]').removeClass('w-slide__btn slide-active');\n },\n rebuild: {\n original: function ($elem) {\n // return tabs to be as default\n //$('[data-slide-target]').removeClass('w-slide__btn slide-active');\n tab.$ul = $elem.find('.tab__nav');\n tab.$ul.each(function (index) {\n switch (\n $(this).data('mobile-toggle') ||\n $(this).closest('[data-mobile-toggle]').data('mobile-toggle')\n ) {\n case 'swipe':\n if (config.enableTabsTypeSwipeList) tab.on.swipeDestroy($(this));\n break;\n case 'dropdown':\n if (config.enableTabsTypeDropdown) tab.on.dropdownDestroy($(this));\n break;\n case 'accordion':\n if (config.enableTabsTypeAccordion);\n tab.on.accordionDestroy($(this));\n break;\n case 'slide':\n tab.on.slideDestroy($(this));\n break;\n default:\n /*if ( $(this).closest('.tab').hasClass('tab--flex') || $(this).closest('.tab').hasClass('loi') || $(this).hasClass('dropblock--tab') || $(this).closest(\".advancedSearch__tabs\").length ) {\n return;\n }else {\n tab.on.calculate($(this));\n }\n*/\n }\n });\n $(document).trigger('init.bs.tab');\n },\n responsive: function ($elem) {\n // rebuild tabs to be in selected responsive mode\n tab.$ul = $elem.find('.tab__nav');\n $('.tab__nav').find('[data-slide-target]').addClass('w-slide__btn slide-active');\n\n tab.$ul.each(function (index) {\n switch (\n $(this).data('mobile-toggle') ||\n $(this).closest('[data-mobile-toggle]').data('mobile-toggle')\n ) {\n case 'swipe': // rebuild tabs to swipe\n if (!$(this).parent().is('.scroll') && config.enableTabsTypeSwipeList) {\n tab.on.swipeBuild($(this));\n }\n break;\n case 'dropdown': // rebuild tabs be as dropdown\n if (!$(this).parent().is('.dropBlock') && config.enableTabsTypeDropdown) {\n tab.on.dropdownBuild($(this), index);\n }\n break;\n case 'accordion': // rebuild tabs be as accordion\n if (!$(this).next().hasClass('accordion') && config.enableTabsTypeAccordion) {\n tab.on.accordionBuild($(this));\n }\n break;\n case 'slide': // rebuild tabs be as accordion\n break;\n default: // rebuild tabs to flex\n /*if ( $(this).closest('.tab').hasClass('tab--flex') || $(this).closest('.tab').hasClass('loi') || $(this).hasClass('dropblock--tab') || $(this).closest(\".advancedSearch__tabs\").length ) {\n return;\n }else {\n tab.on.calculate($(this));\n }*/\n }\n });\n $(document).trigger('init.bs.tab');\n },\n },\n },\n check: {\n empty: function ($tabItem) {\n // check if tab pane is empty and hide it\n let pane = tab.getPaneTarget($tabItem); // get it's related pane\n\n if ($tabItem.is('a:not([href^=\"#\"])') || $tabItem.hasClass('external'))\n // it is link and has no pane\n return;\n\n if (!$(pane).length) {\n $tabItem.addClass('empty'); // disable tab nav because it has no pane\n }\n let $pane = $(pane),\n hasNoContent = !$pane.text().trim().length || $pane.find('.emptyTab').length || $pane.is(':empty');\n\n if ($pane.length && hasNoContent) {\n // if tab nav item is not an external link and check if pane is empty\n $pane.addClass('empty'); // add class to empty pane\n $tabItem.addClass('empty'); // add class to empty nav item\n if ($pane.is('#pane-pcw-related')) {\n let emptyText = $pane.data('empty-text');\n $pane.append(`<div class=\"is-empty\">${emptyText}</div>`);\n if ($pane.find('.show-recommended-placeholder').length) {\n $(document).on('showRecommended:loaded', () => {\n $pane.find('.is-empty').remove();\n $pane.removeClass('empty');\n $tabItem.removeClass('empty');\n });\n }\n }\n return true; // abort\n } else {\n $pane.removeClass('empty'); // add class to empty pane\n $pane.find('.is-empty').remove();\n $tabItem.removeClass('empty'); // add class to empty nav item\n return false; // abort\n }\n },\n viewPort: function (index, $el) {\n if (typeof $el.data('ctrl-res') != 'undefined' || $el.data('ctrl-res') === '') {\n tab.vPort[index] = $el.data('ctrl-res');\n } else {\n $el.data('ctrl-res', tab.elementvPort);\n tab.vPort[index] = tab.elementvPort;\n }\n },\n },\n triggerExternal($el) {\n tab.on.select.external($el);\n },\n getPaneTarget: function ($elem) {\n return $elem.data('target') || $elem.attr('href');\n },\n getPostbackActiveTab: function () {\n let param = 'tabActivePane';\n param = param.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]'); /*eslint-disable-line*/\n const regex = new RegExp('[\\\\?&]' + param + '=([^&#]*)');\n const results = regex.exec(location.search);\n return results == null ? '' : decodeURIComponent(results[1].replace(/\\+/g, ' '));\n },\n setPostbackActiveTab: function (tabID) {\n if (tabID !== '') {\n const $activeTabs = $(\"a[data-simple-tab-id='\" + tabID + \"']\");\n\n if ($activeTabs.length > 0) {\n $activeTabs.each(function () {\n $activeTabs.trigger('click');\n });\n }\n }\n },\n additionalAjaxSuccess: function (data) {},\n getContent: function ($elem) {\n var tabId = $elem.attr('data-tabId');\n var widgetId = $elem.attr('data-widgetId');\n var pbContext = encodeURIComponent($('meta[name=pbContext]').attr('content'));\n var $tabBody = $elem.parents('.tab__pane');\n $.ajax({\n url:\n '/pb/widgets/ux3/lazyTabs/loadTab?pbContext=' +\n pbContext +\n '&tabId=' +\n tabId +\n '&widgetId=' +\n widgetId,\n success: function (data) {\n $tabBody.attr('data-ajaxLoaded', 'true');\n $elem.replaceWith(data);\n if ($tabBody.find('.tab__pane.active').find('.tab-lazy').length) {\n tab.getContent($tabBody.find('.tab__pane.active').find('.tab-lazy'));\n }\n $tabBody.find('>.tab__spinner').hide();\n // we did not use $(data).find() because the data is not a DOMElement thus,\n // any logic will be added .js-showcase-slideshow within the data not within DOM,\n // we need to get the element from the DOM that's\n tab.showcaseSlideshowCheck($tabBody.find('.js-showcase-slideshow'));\n tab.additionalAjaxSuccess(data);\n },\n error: function () {},\n });\n },\n showcaseSlideshowCheck($showCase) {\n if (!$showCase.length || !UX.showcaseSlideshow) {\n return;\n }\n UX.showcaseSlideshow.initInstance($showCase, UX.showcaseSlideshow.defaultOptions);\n },\n };\n\n if (config.enableTabsTypeDropdown) {\n tab.on.select.dropdown = function (elem) {\n const dataAttr = elem.closest('ul').data('mobile-toggle');\n if (dataAttr === 'dropdown' || elem.closest('ul').hasClass('dropblock--tab')) {\n const dropdownContainer = elem.closest('.dropBlock');\n dropdownContainer.children('a').find('span').text(elem.text());\n }\n };\n tab.on.dropdownBuild = function (elem, index) {\n // rebuild tabs to be as drop down\n if (UX.dropBlock) {\n UX.dropBlock.init();\n }\n\n elem.wrap('<div class=\"dropBlock\" data-db-parent-of=\"dbTab-' + index + '\"></div>');\n\n const $dropdownContainer = elem.closest('.dropBlock');\n const $activeTab = elem.find('.active a');\n\n $dropdownContainer.prepend(\n '<a href=\"#\"class=\"dropBlock__link\" data-db-target-for=\"dbTab-' +\n index +\n '\"><span>' +\n $activeTab.text() +\n '</span><i class=\"icon-arrow_d_n\" aria-hidden=\"true\"></i></a>'\n );\n elem.attr('data-db-target-of', 'dbTab-' + index);\n };\n tab.on.dropdownDestroy = function (elem) {\n // return tabs to default\n const dropdownContainer = elem.closest('.dropBlock');\n dropdownContainer.children('a').remove();\n elem.removeAttr('data-db-target-of').removeClass('js--open').removeAttr('style').unwrap('.dropBlock');\n };\n }\n\n if (config.enableTabsTypeSwipeList) {\n tab.on.swipeBuild = function (elem, tabNavWidth) {\n // rebuild tabs to swipe\n elem.wrap('<div class=\"swipe__wrapper\"><div class=\"scroll\"></div></div>');\n\n if (!tabNavWidth) {\n tabNavWidth = tab.extraMargin;\n elem.closest('.tab__pane').css('display', 'block');\n elem.find('li').each(function (index) {\n tabNavWidth += $(this).innerWidth();\n });\n elem.closest('.tab__pane').css('display', '');\n }\n\n elem.width(tabNavWidth);\n };\n\n tab.on.swipeDestroy = function (elem) {\n // return tabs to default\n\n elem.removeAttr('style');\n elem.unwrap('.scroll').unwrap('.swipe__wrapper');\n };\n }\n\n if (config.enableTabsTypeAccordion) {\n tab.on.accordionBuild = function (elem) {\n // rebuild tabs to be as accordion\n\n const $accourdionElem = elem.next('.tab__content');\n $accourdionElem.addClass('accordion-tabbed').wrap('<div class=\"accordion\"></div>');\n\n elem.find('a').each(function (index) {\n const $lidiv = $(this);\n const liController = tab.getPaneTarget($lidiv);\n\n $(liController)\n .addClass('accordion-tabbed__tab') // transform tabs structure to accordion structure\n .removeClass('tab__pane')\n .wrapInner('<div class=\"accordion-tabbed__content\"></div>');\n $lidiv.clone().prependTo(liController).addClass('accordion-tabbed__control'); // clone tabs controller as accordion controller\n });\n\n elem.hide();\n UX.accordion.init();\n\n $('.tab__content.accordion-tabbed .accordion-tabbed__tab')\n .removeClass('js--open')\n .find('.accordion-tabbed__content')\n .hide();\n $('.tab__content.accordion-tabbed .accordion-tabbed__tab.active')\n .addClass('js--open')\n .find('.accordion-tabbed__content')\n .show();\n };\n\n tab.on.accordionDestroy = function (elem) {\n // return tabs to default\n elem.next('.accordion')\n .find('.tab__content')\n .removeClass('accordion-tabbed')\n .unwrap('.accordion')\n .find('.accordion-tabbed__tab')\n .each(function (index) {\n const $liDiv = $(this);\n $liDiv.addClass('tab__pane').removeClass('accordion-tabbed__tab js--open');\n const content = $liDiv.find('.accordion-tabbed__content').text();\n $liDiv.html(content);\n elem.show();\n });\n const activeTap = elem.next('.tab__content').find('.active').attr('id');\n\n elem.find('.active').removeClass('active');\n\n $('[href=\"#' + activeTap + '\"]')\n .closest('li')\n .addClass('active');\n };\n }\n\n UX.tab = tab; // add to global namespace\n})();\n","import 'ui-core/components/tabs/js/tabs';\n(function () {\n UX.tab.on.dropdownBuild = function ($ele, index) {\n if (UX.dropBlock) {\n UX.dropBlock.init();\n }\n\n $ele.wrap('<div class=\"dropBlock no-auto-width\" data-db-parent-of=\"dbTab-' + index + '\"></div>');\n\n const $dropdownContainer = $ele.closest('.dropBlock');\n const $activeTab = $ele.find('.active a');\n\n if ($ele.find('>li').length === 1) {\n $dropdownContainer.prepend(\n `<a href='#' class='dropBlock__link no-pointer-events' data-db-target-for='dbTab-${index}'><span>${$activeTab.text()}</span></a>`\n );\n $ele.hide();\n } else {\n $dropdownContainer.prepend(\n `<a href='#'class='dropBlock__link' data-db-target-for='dbTab-${index}'><span>${$activeTab.text()}</span><svg xmlns='http://www.w3.org/2000/svg' width='24' height='24'><path d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/></svg></a>`\n );\n $ele.attr('data-db-target-of', 'dbTab-' + index);\n }\n };\n})();\n","\n import '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/tabs/js/tabs';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-theme/components/tabs/js/tabs';\n \nconst main = (UX) => {\n const $tab = Array.prototype.slice.call(document.getElementsByClassName('tab'))\n\ntry {\n if ($tab.length ) {\n UX.tab.init($tab);\n }\n } catch (err) {\n console.error(err);\n }\n \n}\n\n export default main;\n ","\n//==================BEGIN DEPENDENCIES========================\n\nimport 'reflect-metadata';\n \nimport 'jquery';\n \n\n//==================BEGIN UTILITY========================\n\nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/utility/js/namespace';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/utility/js/utils';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/utility/ab-logger/js/ab-logger';\n \n\n//==================BEGIN PLUGINS========================\n\nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/polyfills/js/Promise/es6-promise.min';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/polyfills/js/Promise/es6-promise.auto.min';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/controller/js/controller';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-theme/plugins/enquire/js/enquire';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/truncate/js/truncate';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/magicSearch/js/magicsuggest';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/plugins/transplant/js/transplant';\n \n\n//==================BEGIN VARIABLES========================\n\nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-theme/variables/js/photo-grid-variables';\n \n\n//==================BEGIN BASIC========================\n\nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/basic/lists/js/list';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/basic/inputs/js/inputs';\n \nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/basic/base/js/base';\n \n\n//==================BEGIN COMPONENTS========================\n\nimport GetFTR from '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/components/getFTR/js/getFTR'; \n\n//==================BEGIN WIDGETS========================\n\nimport IpRanges from '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-core/widgets/ip-ranges/js/ip-ranges'; \n\n//==================BEGIN TEMPLATES========================\n\nimport '/mnt/ssd/na101/home/literatum/sourcegit/ui-products-branches/maint-250204-c9c27144/ui-products/ccs/node_modules/ui-theme/templates/advanced-search/js/advanced-search-page';\n \n\n//==================BEGIN GROUPS========================\n\nimport './groups/_jcf';\n\nimport './groups/_jquery';\n\nimport tabsMain from './groups/_tabs';\nconst main = (UX) => {\n const $transplant = Array.prototype.slice.call(document.querySelectorAll('[data-toggle=\"transplant\"]')),\n $list = Array.prototype.slice.call(document.getElementsByClassName('expandable-list')),\n $getFTR = Array.prototype.slice.call(document.querySelectorAll('[data-getFTR-enabled]')),\n $ipRanges = document.querySelector('.ipRangesWidget')\n\ntry {\n UX.controller.init();\n } catch (err) {\n console.error(err);\n }\n \ntry {\n if ($transplant.length ) {\n UX.transplant.init($transplant);\n }\n } catch (err) {\n console.error(err);\n }\n \ntry {\n if ($list.length ) {\n UX.list.init($list);\n }\n } catch (err) {\n console.error(err);\n }\n \ntry {\n UX.fieldsCtrl.init();\n } catch (err) {\n console.error(err);\n }\n \ntry {\n if ($getFTR.length ) {\n UX.getFTR = new GetFTR($getFTR).initialize()\n }\n } catch (err) {\n console.error(err);\n }\n \ntry {\n if ($ipRanges ) {\n UX.ipRanges = new IpRanges($ipRanges).initialize()\n }\n } catch (err) {\n console.error(err);\n }\n \ntabsMain(UX);\n\n}\nimport './webpack-public-path'\nconst importPromises = async () => {\n\n \n const { default: dynamicMain } = await import(/* webpackChunkName: 'dynamic-imports' */ './dynamic-imports');\n const promises = Object.values(await dynamicMain(UX));\n \n\n \n promises.push(await import(/* webpackChunkName: 'requestidlecallback-polyfill' */ 'requestidlecallback-polyfill'));\n let lazyPromise = new Promise(resolve => {\n window.requestIdleCallback(\n async () => {\n const { default: lazyMain } = await import(/* webpackChunkName: 'lazy-imports' */ './lazy-imports');\n await lazyMain(UX);\n resolve();\n },\n { timeout: 5000 }\n );\n });\n \n\n promises.push(lazyPromise);\n\n return Promise.all(promises);\n};\n\nconst build = async (UX) => {\n \n const isIE = navigator.userAgent.indexOf('MSIE') !== -1\n || navigator.appVersion.indexOf('Trident/') > -1;\n if (isIE) {\n await import(/* webpackChunkName: 'ie-imports' */ './groups/_ie');\n }\n \n\n main(UX);\n await importPromises();\n try {\n UX.abLogger.init();\n } catch (err) {\n console.error(err);\n }\n \ntry {\n UX.enquireIt.init();\n } catch (err) {\n console.error(err);\n }\n \n};\n\nbuild(UX).then(() => {\n console.debug('JS LOADED');\n});\n\n"],"sourceRoot":""}