{"version":3,"sources":["webpack://TL/webpack/bootstrap","webpack://TL/./node_modules/dompurify/dist/purify.js","webpack://TL/./node_modules/lodash/lodash.js","webpack://TL/(webpack)/buildin/global.js","webpack://TL/(webpack)/buildin/module.js","webpack://TL/./src/js/core/Browser.js","webpack://TL/./src/js/dom/DOM.js","webpack://TL/./src/js/dom/DOMUtil.js","webpack://TL/./src/js/core/TLError.js","webpack://TL/./src/js/core/Util.js","webpack://TL/./src/js/animation/Ease.js","webpack://TL/./src/js/core/TLClass.js","webpack://TL/./src/js/core/Events.js","webpack://TL/./src/js/animation/Animate.js","webpack://TL/./src/js/dom/DOMMixins.js","webpack://TL/./src/js/ui/Draggable.js","webpack://TL/./src/js/dom/DOMEvent.js","webpack://TL/./src/js/net/Net.js","webpack://TL/./src/js/date/TLDate.js","webpack://TL/./src/js/language/Language.js","webpack://TL/./src/js/language/I18NMixins.js","webpack://TL/./src/js/ui/Message.js","webpack://TL/./src/js/date/DateUtil.js","webpack://TL/./src/js/core/TimelineConfig.js","webpack://TL/./src/js/core/CSV.js","webpack://TL/./src/js/core/ConfigFactory.js","webpack://TL/./src/js/timenav/AxisHelper.js","webpack://TL/./src/js/timenav/TimeScale.js","webpack://TL/./src/js/timenav/TimeGroup.js","webpack://TL/./src/js/timenav/TimeEra.js","webpack://TL/./src/js/timenav/TimeAxis.js","webpack://TL/./src/js/media/types/Text.js","webpack://TL/./src/js/media/Media.js","webpack://TL/./src/js/media/types/Image.js","webpack://TL/./src/js/core/Load.js","webpack://TL/./src/js/media/types/YouTube.js","webpack://TL/./src/js/media/types/GoogleMap.js","webpack://TL/./src/js/media/types/Blockquote.js","webpack://TL/./src/js/media/types/Wikipedia.js","webpack://TL/./src/js/media/types/SoundCloud.js","webpack://TL/./src/js/media/types/Vimeo.js","webpack://TL/./src/js/media/types/DailyMotion.js","webpack://TL/./src/js/media/types/Vine.js","webpack://TL/./src/js/media/types/Twitter.js","webpack://TL/./src/js/media/types/TwitterEmbed.js","webpack://TL/./src/js/media/types/Flickr.js","webpack://TL/./src/js/media/types/DocumentCloud.js","webpack://TL/./src/js/media/types/Instagram.js","webpack://TL/./src/js/media/types/Profile.js","webpack://TL/./src/js/media/types/GoogleDoc.js","webpack://TL/./src/js/media/types/Spotify.js","webpack://TL/./src/js/media/types/IFrame.js","webpack://TL/./src/js/media/types/Imgur.js","webpack://TL/./src/js/media/types/PDF.js","webpack://TL/./src/js/media/types/Audio.js","webpack://TL/./src/js/media/types/Video.js","webpack://TL/./src/js/media/types/Wistia.js","webpack://TL/./src/js/media/MediaType.js","webpack://TL/./src/js/timenav/TimeMarker.js","webpack://TL/./src/js/ui/Swipable.js","webpack://TL/./src/js/timenav/TimeNav.js","webpack://TL/./src/js/slider/Slide.js","webpack://TL/./src/js/slider/SlideNav.js","webpack://TL/./src/js/slider/StorySlider.js","webpack://TL/./src/js/ui/MenuBar.js","webpack://TL/./src/js/timeline/Timeline.js","webpack://TL/./src/js/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","setPrototypeOf","isFrozen","getPrototypeOf","getOwnPropertyDescriptor","freeze","seal","_ref","Reflect","apply","construct","fun","thisValue","args","x","Func","Function","concat","arr","Array","isArray","arr2","length","from","_toConsumableArray","func","arrayForEach","unapply","forEach","arrayPop","pop","arrayPush","push","stringToLowerCase","String","toLowerCase","stringMatch","match","stringReplace","replace","stringIndexOf","indexOf","stringTrim","trim","regExpTest","RegExp","test","typeErrorCreate","TypeError","_len2","arguments","_key2","thisArg","_len","_key","addToSet","set","array","element","lcElement","clone","newObject","lookupGetter","prop","desc","console","warn","html","svg","svgFilters","svgDisallowed","mathMl","mathMlDisallowed","text","html$1","svg$1","mathMl$1","xml","MUSTACHE_EXPR","ERB_EXPR","DATA_ATTR","ARIA_ATTR","IS_ALLOWED_URI","IS_SCRIPT_OR_DATA","ATTR_WHITESPACE","_typeof","iterator","obj","constructor","_toConsumableArray$1","getGlobal","window","_createTrustedTypesPolicy","trustedTypes","document","createPolicy","suffix","currentScript","hasAttribute","getAttribute","policyName","createHTML","html$$1","_","createDOMPurify","undefined","DOMPurify","root","version","removed","nodeType","isSupported","originalDocument","DocumentFragment","HTMLTemplateElement","Node","Element","NodeFilter","_window$NamedNodeMap","NamedNodeMap","MozNamedAttrMap","Text","Comment","DOMParser","ElementPrototype","cloneNode","getNextSibling","getChildNodes","getParentNode","template","createElement","content","ownerDocument","trustedTypesPolicy","emptyHTML","RETURN_TRUSTED_TYPE","_document","implementation","createNodeIterator","createDocumentFragment","importNode","documentMode","hooks","createHTMLDocument","MUSTACHE_EXPR$$1","ERB_EXPR$$1","DATA_ATTR$$1","ARIA_ATTR$$1","IS_SCRIPT_OR_DATA$$1","ATTR_WHITESPACE$$1","IS_ALLOWED_URI$$1","ALLOWED_TAGS","DEFAULT_ALLOWED_TAGS","ALLOWED_ATTR","DEFAULT_ALLOWED_ATTR","FORBID_TAGS","FORBID_ATTR","ALLOW_ARIA_ATTR","ALLOW_DATA_ATTR","ALLOW_UNKNOWN_PROTOCOLS","SAFE_FOR_TEMPLATES","WHOLE_DOCUMENT","SET_CONFIG","FORCE_BODY","RETURN_DOM","RETURN_DOM_FRAGMENT","RETURN_DOM_IMPORT","SANITIZE_DOM","KEEP_CONTENT","IN_PLACE","USE_PROFILES","FORBID_CONTENTS","DATA_URI_TAGS","DEFAULT_DATA_URI_TAGS","URI_SAFE_ATTRIBUTES","DEFAULT_URI_SAFE_ATTRIBUTES","MATHML_NAMESPACE","SVG_NAMESPACE","HTML_NAMESPACE","NAMESPACE","CONFIG","formElement","_parseConfig","cfg","ADD_URI_SAFE_ATTR","ADD_DATA_URI_TAGS","ALLOWED_URI_REGEXP","ADD_TAGS","ADD_ATTR","table","tbody","MATHML_TEXT_INTEGRATION_POINTS","HTML_INTEGRATION_POINTS","ALL_SVG_TAGS","ALL_MATHML_TAGS","_checkValidNamespace","parent","tagName","namespaceURI","parentTagName","Boolean","commonSvgAndHTMLElements","_forceRemove","node","parentNode","removeChild","outerHTML","remove","_removeAttribute","attribute","getAttributeNode","removeAttribute","setAttribute","_initDocument","dirty","doc","leadingWhitespace","matches","dirtyPayload","parseFromString","documentElement","createDocument","innerHTML","body","insertBefore","createTextNode","childNodes","_createIterator","SHOW_ELEMENT","SHOW_COMMENT","SHOW_TEXT","FILTER_ACCEPT","_isClobbered","elm","nodeName","textContent","attributes","_isNode","_executeHook","entryPoint","currentNode","data","hook","_sanitizeElements","allowedTags","firstElementChild","_isValidAttribute","lcTag","lcName","_sanitizeAttributes","attr","hookEvent","attrName","attrValue","keepAttr","allowedAttributes","_attr","forceKeepAttr","setAttributeNS","_sanitizeShadowDOM","fragment","shadowNode","shadowIterator","nextNode","sanitize","importedNode","oldNode","returnNode","toString","toStaticHTML","appendChild","firstChild","nodeIterator","serializedHTML","setConfig","clearConfig","isValidAttribute","tag","addHook","hookFunction","removeHook","removeHooks","removeAllHooks","factory","FUNC_ERROR_TEXT","PLACEHOLDER","wrapFlags","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","genTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","symbolTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","source","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reIsDeepProp","reIsPlainProp","rePropName","reRegExpChar","reHasRegExpChar","reTrimStart","reWhitespace","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reForbiddenIdentifierChars","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reLatin","reNoMatch","reUnescapedString","rsComboRange","rsComboMarksRange","rsBreakRange","rsMathOpRange","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","reOptMod","rsSeq","join","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","contextProps","templateCounter","typedArrayTags","cloneableTags","stringEscapes","freeParseFloat","parseFloat","freeParseInt","parseInt","freeGlobal","global","freeSelf","self","freeExports","freeModule","moduleExports","freeProcess","process","nodeUtil","types","require","binding","e","nodeIsArrayBuffer","isArrayBuffer","nodeIsDate","isDate","nodeIsMap","isMap","nodeIsRegExp","isRegExp","nodeIsSet","isSet","nodeIsTypedArray","isTypedArray","arrayAggregator","setter","iteratee","accumulator","index","arrayEach","arrayEachRight","arrayEvery","predicate","arrayFilter","resIndex","result","arrayIncludes","baseIndexOf","arrayIncludesWith","comparator","arrayMap","values","offset","arrayReduce","initAccum","arrayReduceRight","arraySome","asciiSize","baseProperty","baseFindKey","collection","eachFunc","baseFindIndex","fromIndex","fromRight","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","current","baseTimes","baseTrim","string","slice","trimmedEndIndex","baseUnary","baseValues","props","cacheHas","cache","has","charsStartIndex","strSymbols","chrSymbols","charsEndIndex","countHolders","placeholder","deburrLetter","escapeHtmlChar","escapeStringChar","chr","hasUnicode","mapToArray","map","size","overArg","transform","arg","replaceHolders","setToArray","setToPairs","stringSize","lastIndex","unicodeSize","stringToArray","unicodeToArray","split","asciiToArray","charAt","unescapeHtmlChar","runInContext","context","uid","defaults","pick","Date","Error","Math","arrayProto","funcProto","objectProto","coreJsData","funcToString","idCounter","maskSrcKey","exec","keys","IE_PROTO","nativeObjectToString","objectCtorString","oldDash","reIsNative","Buffer","Uint8Array","allocUnsafe","getPrototype","objectCreate","propertyIsEnumerable","splice","spreadableSymbol","isConcatSpreadable","symIterator","symToStringTag","getNative","ctxClearTimeout","clearTimeout","ctxNow","now","ctxSetTimeout","setTimeout","nativeCeil","ceil","nativeFloor","floor","nativeGetSymbols","getOwnPropertySymbols","nativeIsBuffer","isBuffer","nativeIsFinite","isFinite","nativeJoin","nativeKeys","nativeMax","max","nativeMin","min","nativeNow","nativeParseInt","nativeRandom","random","nativeReverse","reverse","DataView","Map","Promise","Set","WeakMap","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","valueOf","symbolToString","lodash","isObjectLike","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","proto","isObject","baseLodash","chainAll","this","__wrapped__","__actions__","__chain__","__index__","__values__","__dir__","__filtered__","__iteratees__","__takeCount__","__views__","Hash","entries","clear","entry","ListCache","MapCache","SetCache","__data__","add","Stack","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","isIndex","arraySample","baseRandom","arraySampleSize","shuffleSelf","copyArray","baseClamp","arrayShuffle","assignMergeValue","eq","baseAssignValue","assignValue","objValue","assocIndexOf","baseAggregator","baseEach","baseAssign","copyObject","baseAt","paths","skip","number","lower","upper","baseClone","bitmask","customizer","stack","isDeep","isFlat","isFull","input","initCloneArray","getTag","isFunc","cloneBuffer","initCloneObject","getSymbolsIn","copySymbolsIn","keysIn","baseAssignIn","getSymbols","copySymbols","Ctor","cloneArrayBuffer","dataView","buffer","byteOffset","byteLength","cloneDataView","cloneTypedArray","regexp","cloneRegExp","symbol","initCloneByTag","stacked","subValue","getAllKeysIn","getAllKeys","baseConformsTo","baseDelay","wait","baseDifference","includes","isCommon","valuesLength","outer","computed","valuesIndex","templateSettings","getMapData","pairs","LARGE_ARRAY_SIZE","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","isSymbol","baseFilter","baseFlatten","depth","isStrict","isFlattenable","baseFor","createBaseFor","baseForRight","baseFunctions","isFunction","baseGet","path","castPath","toKey","baseGetAllKeys","keysFunc","symbolsFunc","baseGetTag","isOwn","unmasked","getRawTag","objectToString","baseGt","other","baseHas","baseHasIn","baseIntersection","arrays","othLength","othIndex","caches","maxLength","Infinity","seen","baseInvoke","last","baseIsArguments","baseIsEqual","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","message","convert","isPartial","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","objLength","objStacked","othStacked","skipCtor","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","baseIsMatch","matchData","noCustomizer","srcValue","COMPARE_PARTIAL_FLAG","baseIsNative","baseIteratee","identity","baseMatchesProperty","baseMatches","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","isArrayLike","getMatchData","matchesStrictComparable","isKey","isStrictComparable","hasIn","baseMerge","srcIndex","mergeFunc","safeGet","newValue","isTyped","isArrayLikeObject","isPlainObject","toPlainObject","baseMergeDeep","baseNth","baseOrderBy","iteratees","orders","getIteratee","comparer","sort","baseSortBy","objCriteria","criteria","othCriteria","ordersLength","compareAscending","order","compareMultiple","basePickBy","baseSet","basePullAll","basePullAt","indexes","previous","baseUnset","baseRepeat","baseRest","start","setToString","overRest","baseSample","baseSampleSize","nested","baseSetData","baseSetToString","constant","baseShuffle","baseSlice","end","baseSome","baseSortedIndex","retHighest","low","high","MAX_ARRAY_LENGTH","mid","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseToString","baseUniq","createSet","seenIndex","baseUpdate","updater","baseWhile","isDrop","baseWrapperValue","actions","action","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","stringToPath","castRest","castSlice","id","copy","arrayBuffer","typedArray","valIsDefined","valIsReflexive","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","isNew","createAggregator","initializer","createAssigner","assigner","sources","guard","isIterateeCall","iterable","createCaseFirst","methodName","trailing","createCompounder","callback","words","deburr","createCtor","thisBinding","createFind","findIndexFunc","createFlow","flatRest","funcs","prereq","thru","wrapper","getFuncName","funcName","getData","isLaziable","plant","createHybrid","partialsRight","holdersRight","argPos","ary","arity","isAry","isBind","isBindKey","isFlip","getHolder","holdersCount","newHolders","createRecurry","fn","reorder","createInverter","toIteratee","baseInverter","createMathOperation","operator","defaultValue","createOver","arrayFunc","createPadding","chars","charsLength","createRange","step","toFinite","baseRange","createRelationalOperation","toNumber","wrapFunc","isCurry","newData","setData","setWrapToString","createRound","precision","toInteger","pair","noop","createToPairs","baseToPairs","createWrap","srcBitmask","newBitmask","isCombo","mergeData","createCurry","createPartial","createBind","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","arrLength","arrStacked","arrValue","flatten","otherFunc","type","getValue","stubArray","hasPath","hasFunc","isLength","ArrayBuffer","resolve","ctorString","isMaskable","stubFalse","otherArgs","oldArray","shortOut","reference","details","insertWrapDetails","updateWrapDetails","getWrapDetails","count","lastCalled","stamp","remaining","rand","memoize","memoizeCapped","charCodeAt","quote","subString","difference","differenceBy","differenceWith","findIndex","findLastIndex","head","intersection","mapped","intersectionBy","intersectionWith","pull","pullAll","pullAt","union","unionBy","unionWith","unzip","group","unzipWith","without","xor","xorBy","xorWith","zip","zipWith","chain","interceptor","wrapperAt","countBy","find","findLast","forEachRight","groupBy","invokeMap","keyBy","partition","sortBy","before","bindKey","WRAP_BIND_FLAG","debounce","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","invokeFunc","time","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","cancel","flush","defer","delay","resolver","memoized","Cache","negate","overArgs","transforms","funcsLength","partial","partialRight","rearg","gt","gte","isError","isInteger","isNumber","isString","lt","lte","toArray","next","done","iteratorToArray","remainder","toLength","isBinary","assign","assignIn","assignInWith","assignWith","at","propsIndex","propsLength","defaultsDeep","mergeWith","invert","invertBy","invoke","merge","omit","CLONE_DEEP_FLAG","basePick","pickBy","toPairs","toPairsIn","camelCase","word","capitalize","upperFirst","kebabCase","lowerCase","lowerFirst","snakeCase","startCase","upperCase","toUpperCase","pattern","hasUnicodeWord","unicodeWords","asciiWords","attempt","bindAll","methodNames","flow","flowRight","method","methodOf","mixin","over","overEvery","overSome","basePropertyDeep","range","rangeRight","augend","addend","divide","dividend","divisor","multiply","multiplier","multiplicand","round","subtract","minuend","subtrahend","after","castArray","chunk","compact","cond","conforms","baseConforms","properties","curry","curryRight","drop","dropRight","dropRightWhile","dropWhile","fill","baseFill","filter","flatMap","flatMapDeep","flatMapDepth","flattenDeep","flattenDepth","flip","fromPairs","functions","functionsIn","initial","mapKeys","mapValues","matchesProperty","nthArg","omitBy","once","orderBy","propertyOf","pullAllBy","pullAllWith","reject","rest","sampleSize","setWith","shuffle","sortedUniq","sortedUniqBy","separator","limit","spread","tail","take","takeRight","takeRightWhile","takeWhile","tap","throttle","toPath","isArrLike","unary","uniq","uniqBy","uniqWith","unset","update","updateWith","valuesIn","wrap","zipObject","zipObjectDeep","entriesIn","extend","extendWith","clamp","cloneDeep","cloneDeepWith","cloneWith","conformsTo","defaultTo","endsWith","target","position","escape","escapeRegExp","every","findKey","findLastKey","forIn","forInRight","forOwn","forOwnRight","inRange","baseInRange","isBoolean","isElement","isEmpty","isEqual","isEqualWith","isMatch","isMatchWith","isNaN","isNative","isNil","isNull","isSafeInteger","isUndefined","isWeakMap","isWeakSet","lastIndexOf","strictLastIndexOf","maxBy","mean","meanBy","minBy","stubObject","stubString","stubTrue","nth","noConflict","pad","strLength","padEnd","padStart","radix","floating","temp","reduce","reduceRight","repeat","sample","some","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","startsWith","sum","sumBy","settings","isEscaping","isEvaluating","imports","importsKeys","importsValues","interpolate","reDelimiters","evaluate","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","variable","times","toLower","toSafeInteger","toUpper","trimEnd","trimStart","truncate","omission","search","substring","newEnd","unescape","uniqueId","prefix","each","eachRight","first","VERSION","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","dir","isRight","view","getView","iterLength","takeCount","iterIndex","commit","wrapped","toJSON","g","webpackPolyfill","deprecate","children","ua","navigator","userAgent","phantomjs","ie","webkit","addEventListener","android23","mobile","orientation","msPointer","msPointerEnabled","msMaxTouchPoints","PointerEvent","pointer","pointerEnabled","maxTouchPoints","opera","firefox","edge","ie3d","style","webkit3d","WebKitCSSMatrix","gecko3d","opera3d","L_DISABLE_3D","retina","devicePixelRatio","media_matches","matchMedia","touch","L_NO_TOUCH","DocumentTouch","getElementById","className","container","el","getPosition","pos","y","offsetLeft","offsetTop","offsetParent","testProp","addClass","hasClass","removeClass","w","TLError","message_key","detail","super","css_named_colors","hexToRgb","hex","b","data_main","data_to_merge","dest","j","len","TRACE_HANDLERS","msg","cb","log","val","lastId","str","classMixin","cls","src","_cl","getOwnPropertyNames","slugify","unique_ID","getRandomChar","substr","randomID","isEven","findArrayNumberByUniqueID","defaultVal","_n","unlinkify","unhtmlify","linkify","targets","is_touch","make_link","url","link_text","url_sans_protocol","prechar","beforePseudo","pseudoUrl","email","transformImageURL","ratio","h","base58","base","alphabet","encode","enc","encoded","decode","dec","decoded","alphabetPosition","powerOf","pow","parseYouTubeTime","parts","hours","minutes","stripMarkup","txt","Easings","KeySpline","a","easeInSpline","easeOutStrong","easeInOutQuint","TLClass","NewClass","initialize","F","superclass","statics","include","events","_tl_events","on","k","hasEventListeners","removeEventListener","event","listeners","Animate","tlanimate","win","perf","performance","perfNow","webkitNow","msNow","mozNow","fixTs","rgbOhex","relVal","numUnit","rotate","scale","skew","translate","unitless","lineHeight","zoom","zIndex","opacity","styles","getStyle","defaultView","getComputedStyle","camelize","currentStyle","filters","e1","e2","frame","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","msRequestAnimationFrame","oRequestAnimationFrame","render","timestamp","die","f","elem","parseTransform","by","skewx","skewy","translatex","translatey","formatTransform","v","toHex","m1","nativeTween","sin","PI","tween","duration","ease","to","morpheus","easings","diff","stop","run","delta","jump","bezier","points","getTweenVal","units","begin","finish","nextColor","elements","originalLeft","originalTop","els","complete","easing","bez","left","top","right","bottom","xy","unshift","unit","tmp","animate","_el","display","onAdd","onRemove","ani","animator","fire","drag_elem","move_elem","drag","move","mousedrag","down","up","leave","touchdrag","enable","constraint","momentum_multiplier","dragevent","sliding","direction","pagex","pagey","new_pos","new_pos_parent","DOMEvent","removeListener","_onDragStart","_onDragEnd","originalEvent","touches","screenX","screenY","targetTouches","pageX","pageY","offsetWidth","offsetHeight","getTime","addListener","_onDragMove","_momentum","preventDefault","pos_adjust","pos_change","swipe","abs","_animateMomentum","$","handler","_getEvent","addDoubleTapListener","originalHandler","newType","_checkMouse","attachEvent","removeDoubleTapListener","detachEvent","related","relatedTarget","err","caller","callee","Event","stopPropagation","cancelBubble","disableClickPropagation","START","returnValue","getWheelDelta","wheelDelta","Zepto","classList","emptyArray","elementDisplay","classCache","cssNumber","fragmentRE","singleTagRE","tagExpanderRE","rootNodeRE","capitalRE","methodAttributes","tableRow","containers","readyRE","simpleSelectorRE","class2type","zepto","tempParent","propMap","isWindow","isDocument","DOCUMENT_NODE","likeArray","dasherize","classRE","maybeAddPx","deep","filtered","nodes","selector","funcArg","idx","payload","klass","baseVal","deserializeValue","num","Number","parseJSON","traverseNode","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","qsa","item","dom","$1","Z","__proto__","isZ","init","ready","shift","found","maybeID","maybeClass","nameOnly","isSimple","getElementsByClassName","getElementsByTagName","querySelectorAll","contains","isEmptyObject","inArray","uuid","support","expr","grep","JSON","parse","readyState","not","is","excludes","$this","closest","parents","ancestors","pluck","contents","siblings","child","empty","show","getPropertyValue","replaceWith","newContent","structure","wrapAll","append","wrapInner","unwrap","hide","css","toggle","setting","prev","originHtml","removeAttr","multiple","selected","coordinates","coords","parentOffset","getBoundingClientRect","pageXOffset","pageYOffset","width","height","computedStyle","removeProperty","cssText","toggleClass","when","scrollTop","hasScrollTop","scrollTo","scrollX","scrollLeft","hasScrollLeft","scrollY","detach","dimension","dimensionProperty","operatorIndex","inside","argType","copyByClone","nextSibling","_zid","handlers","specialEvents","focusinSupported","focus","blur","hover","mouseenter","mouseleave","zid","findHandlers","matcher","sel","eventCapture","captureSetting","del","realEvent","delegator","capture","proxy","compatible","isImmediatePropagationStopped","_args","click","mousedown","mouseup","mousemove","proxyFn","unbind","off","one","returnTrue","returnFalse","ignoreProperties","eventMethods","stopImmediatePropagation","isDefaultPrevented","sourceMethod","defaultPrevented","getPreventDefault","createProxy","delegate","undelegate","live","autoRemove","evt","currentTarget","liveFired","trigger","dispatchEvent","triggerHandler","createEvent","bubbles","initEvent","jsonpID","rscript","scriptTypeRE","xmlTypeRE","blankRE","triggerGlobal","eventName","triggerAndReturn","ajaxBeforeSend","xhr","beforeSend","ajaxSuccess","deferred","success","resolveWith","ajaxComplete","ajaxError","error","rejectWith","status","active","ajaxStop","appendQuery","query","parseArguments","dataType","hasData","ajaxJSONP","ajax","responseData","abortTimeout","_callbackName","jsonpCallback","callbackName","script","originalCallback","abort","errorType","promise","timeout","ajaxSettings","XMLHttpRequest","accepts","json","crossDomain","processData","Deferred","ajaxStart","$2","location","host","param","traditional","serializeData","hasPlaceholder","jsonp","mime","headers","setHeader","protocol","nativeSetHeader","setRequestHeader","mimeType","overrideMimeType","contentType","onreadystatechange","mimeToDataType","getResponseHeader","responseText","eval","responseXML","statusText","xhrFields","async","open","username","password","send","post","getJSON","fetchJSON","request","load","response","encodeURIComponent","params","serialize","scope","hash","serializeArray","disabled","checked","submit","__Z","nativeGetComputedStyle","pseudoElement","SCALES","setMilliseconds","setSeconds","setMinutes","setHours","setDate","setMonth","real_year","getFullYear","setFullYear","DATE_PARTS","ISO8601_SHORT_PATTERN","ISO8601_PATTERN","BEST_DATEFORMATS","millisecond","second","minute","hour","day","month","year","decade","century","millennium","age","epoch","era","eon","eon2","short","TLDate","format","format_short","date_obj","stringify","_createDateObj","_setFormat","setDateFormat","getDisplayDate","language","display_date","fallback","format_key","formatDate","getMillisecond","isBefore","other_date","isAfter","_getDateData","_date","ix","parsed","findBestFormat","variant","eval_array","parseDate","parseISODate","date","date_parts","time_parts","second_parts","BigYear","that","ERA","EPOCH","Floorer","a_big_year","BIG_DATE_SCALES","AGE","BigDate","floored","script_path","LANGUAGES","en","code","buildLanguageURL","then","catch","resp","lang_json","bigyear","format_name","the_year","format_list","bigdateformats","tuple","formatNumber","messages","formatJSDate","formatBigYear","js_date","formatPeriod","fmt","formats","period_labels","mask","dateformats","D","H","M","L","getTimezoneOffset","flags","dd","ddd","day_abbr","dddd","mm","mmm","month_abbr","mmmm","yy","yyyy","has_negative_year_modifier","hh","HH","MM","ss","tt","T","TT","S","formatted","DATE_FORMAT_TOKENS","$0","_applyEra","era_labels","negative_year","formatted_date","original_year","labels","positive_year","token","toFixed","lang","api","wikipedia","loading","contract_timeline","return_to_title","loading_content","expand_timeline","loading_timeline","swipe_to_navigate","unknown_read_err","invalid_url_err","invalid_url_share_required","network_err","empty_feed_err","missing_start_date_err","invalid_data_format_err","invalid_start_time_without_date","invalid_end_time_without_date","date_compare_err","invalid_scale_err","invalid_date_err","invalid_separator_error","invalid_hour_err","invalid_minute_err","invalid_second_err","invalid_fractional_err","invalid_second_fractional_err","invalid_year_err","flickr_notfound_err","flickr_invalidurl_err","imgur_invalidurl_err","twitter_invalidurl_err","twitter_load_err","twitterembed_invalidurl_err","wikipedia_load_err","youtube_invalidurl_err","spotify_invalid_url","template_value_err","invalid_rgb_err","time_scale_scale_err","axis_helper_no_options_err","axis_helper_scale_err","invalid_integer_option","instagram_bad_request","month_short","full_short","full","time_short","time_no_seconds_short","time_no_minutes_short","time_no_seconds_small_date","time_milliseconds","full_long","full_long_small_date","verbose","getLanguage","setLanguage","message_container","loading_icon","message_class","message_icon_class","_initLayout","_initEvents","atributes","updateMessage","_onMouseClick","_onRemove","sortByDate","prop_name","parseTime","time_str","period","no_separators","hour_part","minute_part","sec_parts","frac_secs","VALID_INTEGER_PATTERN","validDateConfig","SCALE_DATE_CLASSES","human","cosmological","SANITIZE_FIELDS","media","STRIP_MARKUP_FIELDS","start_date","end_date","slide","_process_fields","fieldmap","to_sanitize","_tl_sanitize","rel","title","eras","event_dict","errors","warnings","_ensureValidScale","title_id","_assignID","_tidyFields","addEvent","logError","era_data","addEra","sep","era_identifier","headline","defer_sort","event_id","_processDates","slide_id","unique_id","candidate","similar_ids","counter","ensureUniqueKey","used","slug","slide_or_era","dateCls","equal","dates","fillIn","default_value","fetchCSV","dataset","out","extractFields","useMemoryStore","fetch","status_code","dialect","rows","objects","records","record","fields","parseObjects","noFields","noHeaderRow","lineterminator","csvString","normalizeLineTerminator","delimiter","doublequote","quotechar","skipinitialspace","skipinitialrows","normalizeDialectOptions","chomp","processField","cur","inQuote","fieldQuoted","field","row","clean_integer","parseGoogleSpreadsheetURL","worksheet","key_pat","url_pat","readGoogleAsCSV","sheets_proxy","url_or_key","URL","URLSearchParams","base_path","pathname","makeGoogleCSVURL","error_json","proxy_err_code","timeline_config","row_type","handleRow","orig_row","bkgd","caption","credit","thumbnail","background","extractEventFromCSVObject","label","makeConfig","callback_or_options","tc","google_url","timeline_json","jsonFromGoogleURL","minor","major","pixels_per_milli","factor","timescale","_getTicks","option","factor_scale","_scaled_padding","first_tick_time","_earliest","last_tick_time","_latest","ticks","getDateFromTime","HELPERS","setHelpers","scale_type","scales","AXIS_TICK_DATEFORMAT_LOOKUP","slides","_scale","display_width","screen_multiplier","max_rows","_display_width","_screen_multiplier","_pixel_width","_group_labels","_positions","_pixels_per_milli","getEarliestDate","getLatestDate","_span_in_millis","_computeDefaultSpan","_average","getPixelWidth","_axis_helper","ts","optimal_tick_width","ts_scale","getScale","helpers","curr","pixels_per_tick","getPixelsPerTick","getBestHelper","_computePositionInfo","_number_of_rows","time_in_millis","getMajorTicks","getMinorTicks","groups","empty_group","positions","rows_left","lasts_in_row","n_overlaps","pos_info","overlaps","min_overlap","n_rows","default_marker_width","end_pos","group_info","gi","res","_computeRowInfo","row_offset","setPosition","alternate","class_name","content_container","_text","_state","loaded","marker_width_min","has_end_date","is_active","_updateDisplay","text_lines","webkitLineClamp","color_num","onLoaded","layout","axis_helper","minor_ticks","major_ticks","getTicks","_createTickElements","getAxisTickDateFormat","positionTicks","ts_ticks","tick_element","dateformat","ticks_to_skip","skip_times","tick_elements","ts_tick","tick","tick_text","tick_display_date","no_animate","_positionTickArray","tick_array","fraction_of_array","add_to_container","headline_class","text_content","autolink","content_item","content_link","link","player","timer","load_timer","media_id","show_meta","media_loaded","credit_alternate","caption_alternate","link_target","api_key_flickr","api_key_googlemaps","api_key_embedly","credit_height","caption_height","loadingMessage","_loadMedia","trace","_media","_updateMessage","media_name","maxHeight","maxWidth","_updateMediaDisplay","_getImageURL","_stopMedia","media_type","showMeta","updateDisplay","getMeta","_getMeta","href","updateMediaDisplay","createMedia","image_class","domCreate","alt","onMediaLoaded","getImageURL","loadJS","urls","loader","js","loadCSS","pending","queue","styleSheets","env","getEnv","pollCount","attrs","gecko","unknown","pendingUrls","_finish","isCSS","createNode","pollWebKit","pollGecko","onload","onerror","hasRules","sheet","cssRules","ex","url_vars","youtube_loaded","hashes","vars","getUrlVars","hd","getPlayerState","YT","PlayerState","PLAYING","pauseVideo","Player","playerVars","enablejsapi","color","controls","fs","videoId","onReady","onPlayerReady","onStateChange","ENDED","seekTo","mapframe","frameBorder","makeGoogleMapsEmbedURL","dimensions","api_key","Streetview","param_defs","root_url_regex","coords_regex","address_regex","display_mode_regex","regexes","place","directions","parseDisplayMode","display_mode","param_string","mapmode","center","streetview_params","url_root","getParamString","determineMapModeURL","determineMapMode","blockquote","api_url","error_text","loadErrorDisplay","wiki","extract","paragraphs","page_image","text_array","getObjectAttributeByIndex","pages","widget","SC","Widget","querySelector","soundCloudCreated","pause","start_time","contentWindow","postMessage","tweetuser","tweet_status_url","tweet_status_date","tweet","tweet_text","tweet_status_temp","author_url","twttr","widgets","createTweet","conversation","linkColor","theme","author_name","fjs","_e","mediaID","establishMediaID","stat","sizes","best_size","size_label","photo","owner","realname","_content","description","updateMeta","_transformURL","DV","showSidebar","API_URL_ROOT","successHandler","oembed_response","thumbnail_url","errorHandler","data_url","_height","_player_height","_player_width","iframe","setInterval","clearInterval","imgurEmbed","createIframe","markup","audio_class","source_item","_getType","mediatype","match_str","player_element","reg","video_class","lookupMediaType","image_only","media_types","media_container","timespan","line_left","line_right","loadMedia","stopMedia","timespan_content","mtd","thumbnail_media_type","thumbnail_media","_onMarkerClick","snap","change","swipe_detect","slider","slider_background","line","marker_container_mask","marker_container","marker_item_container","timeaxis","timeaxis_background","attribution","collapsed","config","has_groups","scale_factor","marker_padding","timenav_height_min","marker_height_min","zoom_sequence","_markers","_eras","has_eras","_groups","_calculated_row_height","current_id","animate_css","_swipable","_initData","_onLoaded","fast","getPositionInfo","setClass","setWidth","reposition_markers","_getTimeScale","_assignRowsToMarkers","updateConstraint","_drawTimeline","goToId","new_scale","_updateDrawTimeline","list","findNextGreater","setZoomFactor","findNextLesser","level","zoom_factor","group_labels","getGroupLabels","_createGroup","group_label","_addGroup","addTo","available_height","group_height","getNumberOfRows","group_rows","group_y","group_hide","setRowPosition","setAlternateRowColor","marker","_onMarkerAdded","_addMarker","_createMarker","removeFrom","_removeMarker","_calculateMinimumTimeNavHeight","_calculateAvailableHeight","marker_height","_calculateMarkerHeight","_positionGroups","_calculateRowHeight","setHeight","marker_y","remainder_height","setActive","_onEraAdded","era_color","setColor","_createMarkers","_destroyMarker","destroyMarker","_findMarkerIndex","css_animation","_ease","_duration","_resetMarkersActive","getLeft","goTo","scroll_to","wheelDeltaX","wheelDeltaY","drawTicks","positionMarkers","_createGroups","_positionEras","check_update","do_update","temp_timescale","getMajorScale","getMinorScale","_onMouseScroll","_createEras","title_slide","scroll_container","_mediaclass","_background_media","image","color_value","slide_padding_lr","skinny_size","slider_container","content_width","content_padding_left","content_padding_right","paddingLeft","paddingRight","headlineHeight","_updateBackgroundDisplay","date_text","text_background","addDateText","getFormattedDate","backgroundImage","icon","_update","inverted","slider_container_mask","slider_item_container","_nav","slide_spacing","_slides","preloadTimer","_message","default_bg_color","start_at_slide","slide_default_fade","dragging","trackResize","_onSlideAdded","_onBackgroundChange","_addSlide","_createSlide","_onSlideRemoved","_removeSlide","nav_pos","_layout","_createSlides","_destroySlide","destroySlide","_findSlideIndex","displayupdate","changeBackground","currentSlideData","stopMomentum","_onSlideChange","showNav","preloadSlides","scrollToTop","nav_obj","bg","bg_color","backgroundColor","_onNavigation","_onMessageClick","_onSwipeNoDirection","slide_background","getBackground","_loaded","latlng","layerPoint","parent_elem","button_backtostart","button_zoomin","button_zoomout","arrow","coverbar","grip","menubar_default_y","_onButtonBackToStart","_onButtonZoomIn","_onButtonZoomOut","script_src_url","script_tags","storyslider","timenav","menubar","_storyslider","_timenav","_menubar","debug","font","is_embed","is_full_embed","hash_bookmark","timenav_position","base_class","timenav_height","timenav_height_percentage","timenav_mobile_height_percentage","start_at_end","menubar_height","medium_size","use_bc","map_type","ga_property_id","track_events","soundcite","animator_timenav","animator_storyslider","animator_menubar","timeline","determineScriptPath","_loadStyles","keyName","currentSlide","_getSlideIndex","lastSlide","goToPrev","goToNext","_loadLanguage","font_css_url","theme_css_url","language_code","loadLanguage","showMessage","_translateError","script_tag","isValid","validate","_validateOptions","_onDataLoaded","translated_errs","errs","getErrors","_initAnalytics","IntersectionObserver","observer","accum","isIntersecting","observe","_calculateTimeNavHeight","_onTimeNavLoaded","initial_zoom","setZoom","_onStorySliderLoaded","storyslider_height","_onTimeNavChange","_onZoomToggle","_onColorChange","_onStorySliderNext","_onStorySliderPrevious","_onZoomIn","_onZoomOut","_onBackToStart","_onChange","toogleZoomIn","toogleZoomOut","_updateHashBookmark","zoomIn","zoom_level","zoomOut","_orientation","display_class","menu_position","innerWidth","innerHeight","getMinimumHeight","INTEGER_PROPERTIES","opt","valid","the_timeline","goToEnd","history","replaceState","hashbookmark","_getEventIndex","createSlide","_updateDrawSlides","createMarker","getSlide","getSlideById","q","ga","_initGoogleAnalytics","event_"],"mappings":"mBACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAA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E,EAAG+B,EAAGtB,EAAMK,EAAG+8C,EAAGz9C,EAAlBJ,EASP0H,OATU3F,EASF8F,SATKpH,EASK,SATCK,EASoD,KARtEd,EAAyB,sBAAIc,EAC7Bd,EAAG,GAAIA,EAAG,IAAK,YACVA,EAAG,GAAEm0F,EAAIn0F,EAAG,GAAEm0F,GAAK,IAAIpwF,KAAKkB,YAC9BjF,EAAG,GAAEC,EAAI,EAAI,IAAI4gB,KACpBg9B,EAAI97C,EAAEkI,cAAcxJ,GAAIL,EAAI2B,EAAE+qD,qBAAqBrsD,GAAG,GACtDo9C,EAAEsb,MAAQ,EACVtb,EAAEhD,IAEyB,0CAD3Bz6C,EAAEuO,WAAWoB,aAAa8tC,EAAGz9C,GAGjCg0F,GAAG,SAAUluE,KAAKkd,QAAQksD,eAAgB,QAC1C8E,GAAG,MAAO,eAAe,GAG7B,iBACI,GAAoC,OAAhCluE,KAAKkd,QAAQksD,eAAjB,CACAppE,KAAKmuE,uBACLD,GAAG,OAAQ,YACX,IAAI51C,EAASt4B,KAAKkd,QAAQmsD,aAC1B,IAAK,IAAIvvF,EAAI,EAAGA,EAAIw+C,EAAOn7C,OAAQrD,IAAK,CACpC,IAAIs0F,EAAS91C,EAAOx+C,GACpBkmB,KAAK0wB,iBAAiB09C,GAAQ,SAAS15E,GACnCw5E,GAAG,OAAQ,QAASx5E,EAAEkkB,KAAM,iBAQ5C6b,EAAW,GAAU,GAAY,ICj+BjC,EAAQ","file":"timeline.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n","/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = global || self, global.DOMPurify = factory());\n}(this, function () { 'use strict';\n\n function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n var hasOwnProperty = Object.hasOwnProperty,\n setPrototypeOf = Object.setPrototypeOf,\n isFrozen = Object.isFrozen,\n getPrototypeOf = Object.getPrototypeOf,\n getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n var freeze = Object.freeze,\n seal = Object.seal,\n create = Object.create; // eslint-disable-line import/no-mutable-exports\n\n var _ref = typeof Reflect !== 'undefined' && Reflect,\n apply = _ref.apply,\n construct = _ref.construct;\n\n if (!apply) {\n apply = function apply(fun, thisValue, args) {\n return fun.apply(thisValue, args);\n };\n }\n\n if (!freeze) {\n freeze = function freeze(x) {\n return x;\n };\n }\n\n if (!seal) {\n seal = function seal(x) {\n return x;\n };\n }\n\n if (!construct) {\n construct = function construct(Func, args) {\n return new (Function.prototype.bind.apply(Func, [null].concat(_toConsumableArray(args))))();\n };\n }\n\n var arrayForEach = unapply(Array.prototype.forEach);\n var arrayPop = unapply(Array.prototype.pop);\n var arrayPush = unapply(Array.prototype.push);\n\n var stringToLowerCase = unapply(String.prototype.toLowerCase);\n var stringMatch = unapply(String.prototype.match);\n var stringReplace = unapply(String.prototype.replace);\n var stringIndexOf = unapply(String.prototype.indexOf);\n var stringTrim = unapply(String.prototype.trim);\n\n var regExpTest = unapply(RegExp.prototype.test);\n\n var typeErrorCreate = unconstruct(TypeError);\n\n function unapply(func) {\n return function (thisArg) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return apply(func, thisArg, args);\n };\n }\n\n function unconstruct(func) {\n return function () {\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return construct(func, args);\n };\n }\n\n /* Add properties to a lookup table */\n function addToSet(set, array) {\n if (setPrototypeOf) {\n // Make 'in' and truthy checks like Boolean(set.constructor)\n // independent of any properties defined on Object.prototype.\n // Prevent prototype setters from intercepting set as a this value.\n setPrototypeOf(set, null);\n }\n\n var l = array.length;\n while (l--) {\n var element = array[l];\n if (typeof element === 'string') {\n var lcElement = stringToLowerCase(element);\n if (lcElement !== element) {\n // Config presets (e.g. tags.js, attrs.js) are immutable.\n if (!isFrozen(array)) {\n array[l] = lcElement;\n }\n\n element = lcElement;\n }\n }\n\n set[element] = true;\n }\n\n return set;\n }\n\n /* Shallow clone an object */\n function clone(object) {\n var newObject = create(null);\n\n var property = void 0;\n for (property in object) {\n if (apply(hasOwnProperty, object, [property])) {\n newObject[property] = object[property];\n }\n }\n\n return newObject;\n }\n\n /* IE10 doesn't support __lookupGetter__ so lets'\n * simulate it. It also automatically checks\n * if the prop is function or getter and behaves\n * accordingly. */\n function lookupGetter(object, prop) {\n while (object !== null) {\n var desc = getOwnPropertyDescriptor(object, prop);\n if (desc) {\n if (desc.get) {\n return unapply(desc.get);\n }\n\n if (typeof desc.value === 'function') {\n return unapply(desc.value);\n }\n }\n\n object = getPrototypeOf(object);\n }\n\n function fallbackValue(element) {\n console.warn('fallback value for', element);\n return null;\n }\n\n return fallbackValue;\n }\n\n var html = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);\n\n // SVG\n var svg = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\n\n var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);\n\n // List of SVG elements that are disallowed by default.\n // We still need to know them so that we can do namespace\n // checks properly in case one wants to add them to\n // allow-list.\n var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'feimage', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\n\n var mathMl = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover']);\n\n // Similarly to SVG, we want to know all MathML elements,\n // even those that we disallow by default.\n var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\n\n var text = freeze(['#text']);\n\n var html$1 = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);\n\n var svg$1 = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\n\n var mathMl$1 = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\n\n var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n // eslint-disable-next-line unicorn/better-regex\n var MUSTACHE_EXPR = seal(/\\{\\{[\\s\\S]*|[\\s\\S]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\n var ERB_EXPR = seal(/<%[\\s\\S]*|[\\s\\S]*%>/gm);\n var DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]/); // eslint-disable-line no-useless-escape\n var ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\n var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n );\n var IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\n var ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n );\n\n var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n function _toConsumableArray$1(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n var getGlobal = function getGlobal() {\n return typeof window === 'undefined' ? null : window;\n };\n\n /**\n * Creates a no-op policy for internal use only.\n * Don't export this function outside this module!\n * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n * @param {Document} document The document object (to determine policy name suffix)\n * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n * are not supported).\n */\n var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {\n if ((typeof trustedTypes === 'undefined' ? 'undefined' : _typeof(trustedTypes)) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n return null;\n }\n\n // Allow the callers to control the unique policy name\n // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n // Policy creation with duplicate names throws in Trusted Types.\n var suffix = null;\n var ATTR_NAME = 'data-tt-policy-suffix';\n if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {\n suffix = document.currentScript.getAttribute(ATTR_NAME);\n }\n\n var policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n\n try {\n return trustedTypes.createPolicy(policyName, {\n createHTML: function createHTML(html$$1) {\n return html$$1;\n }\n });\n } catch (_) {\n // Policy creation failed (most likely another DOMPurify script has\n // already run). Skip creating the policy, as this will only cause errors\n // if TT are enforced.\n console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n return null;\n }\n };\n\n function createDOMPurify() {\n var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n\n var DOMPurify = function DOMPurify(root) {\n return createDOMPurify(root);\n };\n\n /**\n * Version label, exposed for easier checks\n * if DOMPurify is up to date or not\n */\n DOMPurify.version = '2.2.8';\n\n /**\n * Array of elements that DOMPurify removed during sanitation.\n * Empty if nothing was removed.\n */\n DOMPurify.removed = [];\n\n if (!window || !window.document || window.document.nodeType !== 9) {\n // Not running in a browser, provide a factory function\n // so that you can pass your own Window\n DOMPurify.isSupported = false;\n\n return DOMPurify;\n }\n\n var originalDocument = window.document;\n\n var document = window.document;\n var DocumentFragment = window.DocumentFragment,\n HTMLTemplateElement = window.HTMLTemplateElement,\n Node = window.Node,\n Element = window.Element,\n NodeFilter = window.NodeFilter,\n _window$NamedNodeMap = window.NamedNodeMap,\n NamedNodeMap = _window$NamedNodeMap === undefined ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,\n Text = window.Text,\n Comment = window.Comment,\n DOMParser = window.DOMParser,\n trustedTypes = window.trustedTypes;\n\n\n var ElementPrototype = Element.prototype;\n\n var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n var getParentNode = lookupGetter(ElementPrototype, 'parentNode');\n\n // As per issue #47, the web-components registry is inherited by a\n // new document created via createHTMLDocument. As per the spec\n // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n // a new empty registry is used when creating a template contents owner\n // document, so we use that as our parent document to ensure nothing\n // is inherited.\n if (typeof HTMLTemplateElement === 'function') {\n var template = document.createElement('template');\n if (template.content && template.content.ownerDocument) {\n document = template.content.ownerDocument;\n }\n }\n\n var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);\n var emptyHTML = trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML('') : '';\n\n var _document = document,\n implementation = _document.implementation,\n createNodeIterator = _document.createNodeIterator,\n createDocumentFragment = _document.createDocumentFragment;\n var importNode = originalDocument.importNode;\n\n\n var documentMode = {};\n try {\n documentMode = clone(document).documentMode ? document.documentMode : {};\n } catch (_) {}\n\n var hooks = {};\n\n /**\n * Expose whether this browser supports running the full DOMPurify.\n */\n DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined' && documentMode !== 9;\n\n var MUSTACHE_EXPR$$1 = MUSTACHE_EXPR,\n ERB_EXPR$$1 = ERB_EXPR,\n DATA_ATTR$$1 = DATA_ATTR,\n ARIA_ATTR$$1 = ARIA_ATTR,\n IS_SCRIPT_OR_DATA$$1 = IS_SCRIPT_OR_DATA,\n ATTR_WHITESPACE$$1 = ATTR_WHITESPACE;\n var IS_ALLOWED_URI$$1 = IS_ALLOWED_URI;\n\n /**\n * We consider the elements and attributes below to be safe. Ideally\n * don't add any new ones but feel free to remove unwanted ones.\n */\n\n /* allowed element names */\n\n var ALLOWED_TAGS = null;\n var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray$1(html), _toConsumableArray$1(svg), _toConsumableArray$1(svgFilters), _toConsumableArray$1(mathMl), _toConsumableArray$1(text)));\n\n /* Allowed attribute names */\n var ALLOWED_ATTR = null;\n var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray$1(html$1), _toConsumableArray$1(svg$1), _toConsumableArray$1(mathMl$1), _toConsumableArray$1(xml)));\n\n /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n var FORBID_TAGS = null;\n\n /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n var FORBID_ATTR = null;\n\n /* Decide if ARIA attributes are okay */\n var ALLOW_ARIA_ATTR = true;\n\n /* Decide if custom data attributes are okay */\n var ALLOW_DATA_ATTR = true;\n\n /* Decide if unknown protocols are okay */\n var ALLOW_UNKNOWN_PROTOCOLS = false;\n\n /* Output should be safe for common template engines.\n * This means, DOMPurify removes data attributes, mustaches and ERB\n */\n var SAFE_FOR_TEMPLATES = false;\n\n /* Decide if document with ... should be returned */\n var WHOLE_DOCUMENT = false;\n\n /* Track whether config is already set on this instance of DOMPurify. */\n var SET_CONFIG = false;\n\n /* Decide if all elements (e.g. style, script) must be children of\n * document.body. By default, browsers might move them to document.head */\n var FORCE_BODY = false;\n\n /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported).\n * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n */\n var RETURN_DOM = false;\n\n /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n * string (or a TrustedHTML object if Trusted Types are supported) */\n var RETURN_DOM_FRAGMENT = false;\n\n /* If `RETURN_DOM` or `RETURN_DOM_FRAGMENT` is enabled, decide if the returned DOM\n * `Node` is imported into the current `Document`. If this flag is not enabled the\n * `Node` will belong (its ownerDocument) to a fresh `HTMLDocument`, created by\n * DOMPurify.\n *\n * This defaults to `true` starting DOMPurify 2.2.0. Note that setting it to `false`\n * might cause XSS from attacks hidden in closed shadowroots in case the browser\n * supports Declarative Shadow: DOM https://web.dev/declarative-shadow-dom/\n */\n var RETURN_DOM_IMPORT = true;\n\n /* Try to return a Trusted Type object instead of a string, return a string in\n * case Trusted Types are not supported */\n var RETURN_TRUSTED_TYPE = false;\n\n /* Output should be free from DOM clobbering attacks? */\n var SANITIZE_DOM = true;\n\n /* Keep element content when removing element? */\n var KEEP_CONTENT = true;\n\n /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n * of importing it into a new Document and returning a sanitized copy */\n var IN_PLACE = false;\n\n /* Allow usage of profiles like html, svg and mathMl */\n var USE_PROFILES = {};\n\n /* Tags to ignore content of when KEEP_CONTENT is true */\n var FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n\n /* Tags that are safe for data: URIs */\n var DATA_URI_TAGS = null;\n var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n\n /* Attributes safe for values like \"javascript:\" */\n var URI_SAFE_ATTRIBUTES = null;\n var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'summary', 'title', 'value', 'style', 'xmlns']);\n\n var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n /* Document namespace */\n var NAMESPACE = HTML_NAMESPACE;\n\n /* Keep a reference to config to pass to hooks */\n var CONFIG = null;\n\n /* Ideally, do not touch anything below this line */\n /* ______________________________________________ */\n\n var formElement = document.createElement('form');\n\n /**\n * _parseConfig\n *\n * @param {Object} cfg optional config literal\n */\n // eslint-disable-next-line complexity\n var _parseConfig = function _parseConfig(cfg) {\n if (CONFIG && CONFIG === cfg) {\n return;\n }\n\n /* Shield configuration object from tampering */\n if (!cfg || (typeof cfg === 'undefined' ? 'undefined' : _typeof(cfg)) !== 'object') {\n cfg = {};\n }\n\n /* Shield configuration object from prototype pollution */\n cfg = clone(cfg);\n\n /* Set configuration parameters */\n ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS) : DEFAULT_ALLOWED_TAGS;\n ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR) : DEFAULT_ALLOWED_ATTR;\n URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR) : DEFAULT_URI_SAFE_ATTRIBUTES;\n DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS) : DEFAULT_DATA_URI_TAGS;\n FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS) : {};\n FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR) : {};\n USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n RETURN_DOM_IMPORT = cfg.RETURN_DOM_IMPORT !== false; // Default true\n RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n IN_PLACE = cfg.IN_PLACE || false; // Default false\n IS_ALLOWED_URI$$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$$1;\n NAMESPACE = cfg.NAMESPACE || NAMESPACE;\n if (SAFE_FOR_TEMPLATES) {\n ALLOW_DATA_ATTR = false;\n }\n\n if (RETURN_DOM_FRAGMENT) {\n RETURN_DOM = true;\n }\n\n /* Parse profile info */\n if (USE_PROFILES) {\n ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray$1(text)));\n ALLOWED_ATTR = [];\n if (USE_PROFILES.html === true) {\n addToSet(ALLOWED_TAGS, html);\n addToSet(ALLOWED_ATTR, html$1);\n }\n\n if (USE_PROFILES.svg === true) {\n addToSet(ALLOWED_TAGS, svg);\n addToSet(ALLOWED_ATTR, svg$1);\n addToSet(ALLOWED_ATTR, xml);\n }\n\n if (USE_PROFILES.svgFilters === true) {\n addToSet(ALLOWED_TAGS, svgFilters);\n addToSet(ALLOWED_ATTR, svg$1);\n addToSet(ALLOWED_ATTR, xml);\n }\n\n if (USE_PROFILES.mathMl === true) {\n addToSet(ALLOWED_TAGS, mathMl);\n addToSet(ALLOWED_ATTR, mathMl$1);\n addToSet(ALLOWED_ATTR, xml);\n }\n }\n\n /* Merge configuration parameters */\n if (cfg.ADD_TAGS) {\n if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n ALLOWED_TAGS = clone(ALLOWED_TAGS);\n }\n\n addToSet(ALLOWED_TAGS, cfg.ADD_TAGS);\n }\n\n if (cfg.ADD_ATTR) {\n if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n ALLOWED_ATTR = clone(ALLOWED_ATTR);\n }\n\n addToSet(ALLOWED_ATTR, cfg.ADD_ATTR);\n }\n\n if (cfg.ADD_URI_SAFE_ATTR) {\n addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR);\n }\n\n /* Add #text in case KEEP_CONTENT is set to true */\n if (KEEP_CONTENT) {\n ALLOWED_TAGS['#text'] = true;\n }\n\n /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n if (WHOLE_DOCUMENT) {\n addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n }\n\n /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n if (ALLOWED_TAGS.table) {\n addToSet(ALLOWED_TAGS, ['tbody']);\n delete FORBID_TAGS.tbody;\n }\n\n // Prevent further manipulation of configuration.\n // Not available in IE8, Safari 5, etc.\n if (freeze) {\n freeze(cfg);\n }\n\n CONFIG = cfg;\n };\n\n var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n\n var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']);\n\n /* Keep track of all possible SVG and MathML tags\n * so that we can perform the namespace checks\n * correctly. */\n var ALL_SVG_TAGS = addToSet({}, svg);\n addToSet(ALL_SVG_TAGS, svgFilters);\n addToSet(ALL_SVG_TAGS, svgDisallowed);\n\n var ALL_MATHML_TAGS = addToSet({}, mathMl);\n addToSet(ALL_MATHML_TAGS, mathMlDisallowed);\n\n /**\n *\n *\n * @param {Element} element a DOM element whose namespace is being checked\n * @returns {boolean} Return false if the element has a\n * namespace that a spec-compliant parser would never\n * return. Return true otherwise.\n */\n var _checkValidNamespace = function _checkValidNamespace(element) {\n var parent = getParentNode(element);\n\n // In JSDOM, if we're inside shadow DOM, then parentNode\n // can be null. We just simulate parent in this case.\n if (!parent || !parent.tagName) {\n parent = {\n namespaceURI: HTML_NAMESPACE,\n tagName: 'template'\n };\n }\n\n var tagName = stringToLowerCase(element.tagName);\n var parentTagName = stringToLowerCase(parent.tagName);\n\n if (element.namespaceURI === SVG_NAMESPACE) {\n // The only way to switch from HTML namespace to SVG\n // is via
\";\n tweetuser = d.author_url.split(\"twitter.com\\/\")[1];\n tweet_status_temp = d.html.split(\"<\\/p>\\—\")[1].split(\"\")[0];\n tweet_status_date = tweet_status_temp.split(\"\\\"\\>\")[1].split(\"<\\/a>\")[0];\n\n // Open links in new window\n tweet_text = tweet_text.replace(/\";\n tweet += \"\" + tweet_status_date + \"\";\n tweet += \"\" + \"\";\n tweet += \" \";\n tweet += \"\";\n\n\n // Add to DOM\n this._el.content_item.innerHTML = tweet;\n\n // After Loaded\n this.onLoaded();\n }\n }\n\n\n updateMediaDisplay() {\n\n }\n\n _updateMediaDisplay() {\n\n }\n}","import { Media } from \"../Media\";\r\nimport { ajax } from \"../../net/Net\";\r\n\r\nexport default class TwitterEmbed extends Media {\r\n _loadMedia() {\r\n var api_url,\r\n self = this;\r\n\r\n // Create Dom element\r\n this._el.content_item = this.domCreate(\"div\", \"tl-media-twitter\", this._el.content);\r\n this._el.content_container.className = \"tl-media-content-container tl-media-content-container-text\";\r\n\r\n // Get Media ID\r\n var found = this.data.url.match(/(status|statuses)\\/(\\d+)/);\r\n if (found && found.length > 2) {\r\n this.media_id = found[2];\r\n } else {\r\n self.loadErrorDisplay(self._(\"twitterembed_invalidurl_err\"));\r\n return;\r\n }\r\n\r\n // API URL\r\n api_url = \"https://api.twitter.com/1/statuses/oembed.json?id=\" + this.media_id + \"&omit_script=true&include_entities=true&callback=?\";\r\n\r\n window.twttr = (function(d, s, id) {\r\n var js, fjs = d.getElementsByTagName(s)[0],\r\n t = window.twttr || {};\r\n if (d.getElementById(id)) return t;\r\n js = d.createElement(s);\r\n js.id = id;\r\n js.src = \"https://platform.twitter.com/widgets.js\";\r\n fjs.parentNode.insertBefore(js, fjs);\r\n\r\n t._e = [];\r\n t.ready = function(f) {\r\n t._e.push(f);\r\n };\r\n\r\n return t;\r\n }(document, \"script\", \"twitter-wjs\"));\r\n\r\n // API Call\r\n ajax({\r\n type: 'GET',\r\n url: api_url,\r\n dataType: 'json', //json data type\r\n success(d) {\r\n self.createMedia(d);\r\n },\r\n error: function(xhr, type) {\r\n var error_text = \"\";\r\n error_text += self._(\"twitter_load_err\") + \"\";\n } else {\n markup = \"\"\n }\n this._el.content_item.innerHTML = markup\n this.onLoaded();\n }\n\n // Update Media Display\n _updateMediaDisplay() {\n this._el.content_item.style.height = this.options.height + \"px\";\n }\n\n\n}","import { Media } from \"../Media\";\nimport * as Browser from \"../../core/Browser\"\nimport { trace } from \"../../core/Util\";\n\nexport default class Audio extends Media {\n _loadMedia() {\n // Loading Message\n this.loadingMessage();\n\n // Create media?\n if (!this.options.background) {\n this.createMedia();\n }\n\n // After loaded\n this.onLoaded();\n }\n\n createMedia() {\n var self = this,\n audio_class = \"tl-media-item tl-media-audio tl-media-shadow\";\n\n // Link\n if (this.data.link) {\n this._el.content_link = this.domCreate(\"a\", \"\", this._el.content);\n this._el.content_link.href = this.data.link;\n this._el.content_link.target = \"_blank\";\n this._el.content_link.setAttribute('rel', 'noopener');\n this._el.content_item = this.domCreate(\"audio\", audio_class, this._el.content_link);\n } else {\n this._el.content_item = this.domCreate(\"audio\", audio_class, this._el.content);\n }\n\n this._el.content_item.controls = true;\n this._el.source_item = this.domCreate(\"source\", \"\", this._el.content_item);\n\n // Media Loaded Event\n this._el.content_item.addEventListener('load', function(e) {\n self.onMediaLoaded();\n });\n\n this._el.source_item.src = this.data.url;\n this._el.source_item.type = this._getType(this.data.url, this.data.mediatype.match_str);\n this._el.content_item.innerHTML += \"Your browser doesn't support HTML5 audio with \" + this._el.source_item.type;\n this.player_element = this._el.content_item\n }\n\n _updateMediaDisplay(layout) {\n if (Browser.firefox) {\n this._el.content_item.style.width = \"auto\";\n }\n }\n\n _stopMedia() {\n if (this.player_element) {\n this.player_element.pause()\n }\n }\n\n\n _getType(url, reg) {\n var ext = url.match(reg);\n var type = \"audio/\"\n switch (ext[1]) {\n case \"mp3\":\n type += \"mpeg\";\n break;\n case \"wav\":\n type += \"wav\";\n break;\n case \"m4a\":\n type += \"mp4\";\n break;\n default:\n type = \"audio\";\n break;\n }\n return type\n }\n\n}","import { Media } from \"../Media\";\nimport * as Browser from \"../../core/Browser\"\n\nexport default class Video extends Media {\n _loadMedia() {\n // Loading Message\n this.loadingMessage();\n\n // Create media?\n if (!this.options.background) {\n this.createMedia();\n }\n\n // After loaded\n this.onLoaded();\n }\n\n createMedia() {\n var self = this,\n video_class = \"tl-media-item tl-media-video tl-media-shadow\";\n\n // Link\n if (this.data.link) {\n this._el.content_link = this.domCreate(\"a\", \"\", this._el.content);\n this._el.content_link.href = this.data.link;\n this._el.content_link.target = \"_blank\";\n this._el.content_link.setAttribute('rel', 'noopener')\n this._el.content_item = this.domCreate(\"video\", video_class, this._el.content_link);\n } else {\n this._el.content_item = this.domCreate(\"video\", video_class, this._el.content);\n }\n\n this._el.content_item.controls = true;\n this._el.source_item = this.domCreate(\"source\", \"\", this._el.content_item);\n\n // Media Loaded Event\n this._el.content_item.addEventListener('load', function(e) {\n self.onMediaLoaded();\n });\n\n this._el.source_item.src = this.data.url;\n this._el.source_item.type = this._getType(this.data.url, this.data.mediatype.match_str);\n this._el.content_item.innerHTML += \"Your browser doesn't support HTML5 video with \" + this._el.source_item.type;\n this.player_element = this._el.content_item\n\n }\n\n _updateMediaDisplay(layout) {\n if (Browser.firefox) {\n this._el.content_item.style.width = \"auto\";\n }\n }\n\n _stopMedia() {\n if (this.player_element) {\n this.player_element.pause()\n }\n }\n\n _getType(url, reg) {\n var ext = url.match(reg);\n var type = \"video/\"\n switch (ext[1]) {\n case \"mp4\":\n type += \"mp4\";\n break;\n case \"webm\":\n type += \"webm\";\n break;\n default:\n type = \"video\";\n break;\n }\n return type\n }\n\n}","import { Media } from \"../Media\";\nimport { ratio, trace } from \"../../core/Util\";\n\nexport default class Wistia extends Media {\n\n _loadMedia() {\n var api_url,\n self = this;\n\n // Create Dom element\n this._el.content_item = this.domCreate(\"div\", \"tl-media-item tl-media-iframe tl-media-wistia tl-media-shadow\", this._el.content);\n\n // Get Media ID\n this.media_id = this.data.url.split(/https?:\\/\\/(.+)?(wistia\\.com|wi\\.st)\\/medias\\/(.*)/)[3];\n trace(`Wistia: media_id: ${this.media_id}`)\n // API URL\n api_url = \"https://fast.wistia.com/embed/iframe/\" + this.media_id + \"?version=v1&controlsVisibleOnLoad=true&playerColor=aae3d8\";\n\n this.player = this.domCreate(\"iframe\", \"\", this._el.content_item);\n\n // Media Loaded Event\n this.player.addEventListener('load', function(e) {\n self.onMediaLoaded();\n });\n\n this.player.width = \"100%\";\n this.player.height = \"100%\";\n this.player.frameBorder = \"0\";\n this.player.src = api_url;\n\n this.player.setAttribute('allowfullscreen', '');\n this.player.setAttribute('webkitallowfullscreen', '');\n this.player.setAttribute('mozallowfullscreen', '');\n\n // After Loaded\n this.onLoaded();\n }\n\n // Update Media Display\n _updateMediaDisplay() {\n this._el.content_item.style.height = ratio.r16_9({ w: this._el.content_item.offsetWidth }) + \"px\";\n }\n\n _stopMedia() {\n try {\n this.player.contentWindow.postMessage(JSON.stringify({ method: \"pause\" }), \"https://player.vimeo.com\");\n } catch (err) {\n trace(err);\n }\n }\n}","/*\n Determines the type of media the url string is.\n returns an object with .type and .id\n You can add new media types by adding a regex\n to match and the media class name to use to\n render the media\n\n The image_only parameter indicates that the\n call only wants an image-based media type\n that can be resolved to an image URL.\n================================================== */\n\nimport Image from \"./types/Image\"\nimport YouTube from \"./types/YouTube\"\nimport GoogleMap from \"./types/GoogleMap\"\nimport Blockquote from \"./types/Blockquote\"\nimport Wikipedia from \"./types/Wikipedia\"\nimport SoundCloud from \"./types/SoundCloud\"\nimport Vimeo from \"./types/Vimeo\"\nimport DailyMotion from \"./types/DailyMotion\"\nimport Vine from \"./types/Vine\"\nimport Twitter from \"./types/Twitter\"\nimport TwitterEmbed from \"./types/TwitterEmbed\"\nimport Flickr from \"./types/Flickr\"\nimport DocumentCloud from \"./types/DocumentCloud\"\nimport Instagram from \"./types/Instagram\"\nimport Profile from \"./types/Profile\"\nimport GoogleDoc from \"./types/GoogleDoc\"\nimport Spotify from \"./types/Spotify\"\nimport IFrame from \"./types/IFrame\"\nimport Imgur from \"./types/Imgur\"\nimport PDF from \"./types/PDF\"\nimport Audio from \"./types/Audio\"\nimport Video from \"./types/Video\"\nimport Wistia from \"./types/Wistia\"\n\n/**\n * Given a JavaScript Object for an event from a TimelineConfig,\n * determine the appropriate subclass of Media which can handle creating and showing an \n * embed in the \"media\" section of that event's slide.\n *\n * When the `image_only` argument is true, the input `url_or_text` will only be\n * tested against patterns which are known to return images suitable for use as\n * thumbnails and backgrounds. Media classes returned when image_only is true should \n * implement the getImageURL() function\n *\n * @param {Object} m\n * @param {Boolean} image_only\n * \n * @returns {Object} a JS object which represents the match, including a `type`, `name`, \n * `match_str`, and `cls`. These are all string values, except `cls`, which\n * is a JavaScript class which can be used to instantiate a media embed\n * or thumbnail.\n */\n\nexport function lookupMediaType(m, image_only) {\n var media = {},\n media_types = [{\n type: \"youtube\",\n name: \"YouTube\",\n match_str: \"^(https?:)?\\/*(www.)?youtube|youtu\\.be\",\n cls: YouTube\n },\n {\n type: \"vimeo\",\n name: \"Vimeo\",\n match_str: \"^(https?:)?\\/*(player.)?vimeo\\.com\",\n cls: Vimeo\n },\n {\n type: \"dailymotion\",\n name: \"DailyMotion\",\n match_str: \"^(https?:)?\\/*(www.)?dailymotion\\.com\",\n cls: DailyMotion\n },\n {\n type: \"vine\",\n name: \"Vine\",\n match_str: \"^(https?:)?\\/*(www.)?vine\\.co\",\n cls: Vine\n },\n {\n type: \"soundcloud\",\n name: \"SoundCloud\",\n match_str: \"^(https?:)?\\/*(player.)?soundcloud\\.com\",\n cls: SoundCloud\n },\n {\n type: \"twitter\",\n name: \"Twitter\",\n match_str: \"^(https?:)?\\/*(www.)?twitter\\.com\",\n cls: Twitter\n },\n {\n type: \"twitterembed\",\n name: \"TwitterEmbed\",\n match_str: \"1) {\n\t\t\t\tthis._text.className = \"tl-headline tl-headline-fadeout\";\n\t\t\t} else {\n\t\t\t\tthis._text.className = \"tl-headline\";\n\t\t\t}\n\t\t\tthis._text.style.height = (text_lines * text_line_height) + \"px\";\n\t\t}\n\n\t}\n\n\tsetWidth(w) {\n\t\tif (this.data.end_date) {\n\t\t\tthis._el.container.style.width = w + \"px\";\n\n\t\t\tif (w > this.options.marker_width_min) {\n\t\t\t\tthis._el.content_container.style.width = w + \"px\";\n\t\t\t\tthis._el.content_container.className = \"tl-timemarker-content-container tl-timemarker-content-container-long\";\n\t\t\t} else {\n\t\t\t\tthis._el.content_container.style.width = this.options.marker_width_min + \"px\";\n\t\t\t\tthis._el.content_container.className = \"tl-timemarker-content-container\";\n\t\t\t}\n\t\t}\n\n\t}\n\n\tsetClass(n) {\n\t\tthis._el.container.className = n;\n\t}\n\n\tsetRowPosition(n, remainder) {\n\t\tthis.setPosition({ top: n });\n\t\tthis._el.timespan.style.height = remainder + \"px\";\n\t}\n\n\t/*\tEvents\n\t================================================== */\n\t_onMarkerClick(e) {\n\t\tthis.fire(\"markerclick\", { unique_id: this.data.unique_id });\n\t}\n\n\t/*\tPrivate Methods\n\t================================================== */\n\t_initLayout() {\n\t\t// Create Layout\n\t\tthis._el.container = DOM.create(\"div\", \"tl-timemarker\");\n\t\tif (this.data.unique_id) {\n\t\t\tthis._el.container.id = this.data.unique_id + \"-marker\";\n\t\t}\n\n\t\tif (this.data.end_date) {\n\t\t\tthis.has_end_date = true;\n\t\t\tthis._el.container.className = 'tl-timemarker tl-timemarker-with-end';\n\t\t}\n\n\t\tthis._el.timespan = DOM.create(\"div\", \"tl-timemarker-timespan\", this._el.container);\n\t\tthis._el.timespan_content = DOM.create(\"div\", \"tl-timemarker-timespan-content\", this._el.timespan);\n\t\tthis._el.content_container = DOM.create(\"div\", \"tl-timemarker-content-container\", this._el.container);\n\n\t\tthis._el.content = DOM.create(\"div\", \"tl-timemarker-content\", this._el.content_container);\n\n\t\tthis._el.line_left = DOM.create(\"div\", \"tl-timemarker-line-left\", this._el.timespan);\n\t\tthis._el.line_right = DOM.create(\"div\", \"tl-timemarker-line-right\", this._el.timespan);\n\n\t\t// Thumbnail or Icon\n\t\tif (this.data.media) {\n\t\t\tthis._el.media_container = DOM.create(\"div\", \"tl-timemarker-media-container\", this._el.content);\n\t\t\t// ugh. needs an overhaul\n\t\t\tvar mtd = { url: this.data.media.thumbnail };\n\t\t\tvar thumbnail_media_type = (this.data.media.thumbnail) ? lookupMediaType(mtd, true) : null;\n\t\t\tif (thumbnail_media_type) {\n\t\t\t\tvar thumbnail_media = new thumbnail_media_type.cls(mtd);\n\t\t\t\tthumbnail_media.on(\"loaded\", function () {\n\t\t\t\t\tthis._el.media = DOM.create(\"img\", \"tl-timemarker-media\", this._el.media_container);\n\t\t\t\t\tthis._el.media.src = thumbnail_media.getImageURL();\n\t\t\t\t}.bind(this));\n\t\t\t\tthumbnail_media.loadMedia();\n\t\t\t} else {\n\t\t\t\tvar media_type = lookupMediaType(this.data.media).type;\n\t\t\t\tthis._el.media = DOM.create(\"span\", \"tl-icon-\" + media_type, this._el.media_container);\n\t\t\t}\n\n\t\t}\n\n\n\t\t// Text\n\t\tthis._el.text = DOM.create(\"div\", \"tl-timemarker-text\", this._el.content);\n\t\tthis._text = DOM.create(\"h2\", \"tl-headline\", this._el.text);\n\t\tif (this.data.text.headline && this.data.text.headline != \"\") {\n\t\t\tthis._text.innerHTML = unlinkify(this.data.text.headline);\n\t\t} else if (this.data.text.text && this.data.text.text != \"\") {\n\t\t\tthis._text.innerHTML = unlinkify(this.data.text.text);\n\t\t} else if (this.data.media && this.data.media.caption && this.data.media.caption != \"\") {\n\t\t\tthis._text.innerHTML = unlinkify(this.data.media.caption);\n\t\t}\n\n\n\n\t\t// Fire event that the slide is loaded\n\t\tthis.onLoaded();\n\n\t}\n\n\t_initEvents() {\n\t\tDOMEvent.addListener(this._el.container, 'click', this._onMarkerClick, this);\n\t}\n\n\t// Update Display\n\t_updateDisplay(width, height, layout) {\n\n\t\tif (width) {\n\t\t\tthis.options.width = width;\n\t\t}\n\n\t\tif (height) {\n\t\t\tthis.options.height = height;\n\t\t}\n\n\t}\n\n}\n\n\nclassMixin(TimeMarker, Events, DOMMixins)\n","import { classMixin, mergeData } from \"../core/Util\"\nimport Events from \"../core/Events\"\nimport { easeInOutQuint, easeOutStrong } from \"../animation/Ease\";\nimport { Animate } from \"../animation/Animate\"\nimport { touch as BROWSER_TOUCH } from \"../core/Browser\";\nimport { DOMEvent } from \"../dom/DOMEvent\"\n\nexport default class Swipable {\n\n\tconstructor(drag_elem, move_elem, options) {\n\t\t\n\t\t// DOM ELements \n\t\tthis._el = {\n\t\t\tdrag: drag_elem,\n\t\t\tmove: drag_elem\n\t\t};\n\n\t\tthis.mousedrag = {\n\t\t\tdown:\t\t\"mousedown\",\n\t\t\tup:\t\t\t\"mouseup\",\n\t\t\tleave:\t\t\"mouseleave\",\n\t\t\tmove:\t\t\"mousemove\"\n\t\t}\n\n\t\tthis.touchdrag = {\n\t\t\tdown:\t\t\"touchstart\",\n\t\t\tup:\t\t\t\"touchend\",\n\t\t\tleave:\t\t\"mouseleave\",\n\t\t\tmove:\t\t\"touchmove\"\n\t\t}\n\n\t\tif (move_elem) {\n\t\t\tthis._el.move = move_elem;\n\t\t}\n\t\t\n\t\t//Options\n\t\tthis.options = {\n\t\t\tsnap: false,\n\t\t\tenable:\t{\n\t\t\t\tx: true,\n\t\t\t\ty: true\n\t\t\t},\n\t\t\tconstraint: {\n\t\t\t\ttop: false,\n\t\t\t\tbottom: false,\n\t\t\t\tleft: 0,\n\t\t\t\tright: false\n\t\t\t},\n\t\t\tmomentum_multiplier: \t2000,\n\t\t\tduration: \t\t\t\t1000,\n\t\t\tease: \t\t\t\t\teaseInOutQuint\n\t\t};\n\t\t\n\t\t\n\t\t// Animation Object\n\t\tthis.animator = null;\n\t\t\n\t\t// Drag Event Type\n\t\tthis.dragevent = this.mousedrag;\n\t\t\n\t\tif (BROWSER_TOUCH) {\n\t\t\tthis.dragevent = this.touchdrag;\n\t\t}\n\t\t\n\t\t// Draggable Data\n\t\tthis.data = {\n\t\t\tsliding:\t\tfalse,\n\t\t\tdirection: \t\t\"none\",\n\t\t\tpagex: {\n\t\t\t\tstart:\t\t0,\n\t\t\t\tend:\t\t0\n\t\t\t},\n\t\t\tpagey: {\n\t\t\t\tstart:\t\t0,\n\t\t\t\tend:\t\t0\n\t\t\t},\n\t\t\tpos: {\n\t\t\t\tstart: {\n\t\t\t\t\tx: 0,\n\t\t\t\t\ty:0\n\t\t\t\t},\n\t\t\t\tend: {\n\t\t\t\t\tx: 0,\n\t\t\t\t\ty:0\n\t\t\t\t}\n\t\t\t},\n\t\t\tnew_pos: {\n\t\t\t\tx: 0,\n\t\t\t\ty: 0\n\t\t\t},\n\t\t\tnew_pos_parent: {\n\t\t\t\tx: 0,\n\t\t\t\ty: 0\n\t\t\t},\n\t\t\ttime: {\n\t\t\t\tstart:\t\t0,\n\t\t\t\tend:\t\t0\n\t\t\t},\n\t\t\ttouch:\t\t\tfalse\n\t\t};\n\t\t\n\t\t// Merge Data and Options\n\t\tmergeData(this.options, options);\n\t\t\n\t\t\n\t}\n\t\n\tenable(e) {\n\t\tDOMEvent.addListener(this._el.drag, this.dragevent.down, this._onDragStart, this);\n\t\tDOMEvent.addListener(this._el.drag, this.dragevent.up, this._onDragEnd, this);\n\t\t\n\t\tthis.data.pos.start = 0; \n\t\tthis._el.move.style.left = this.data.pos.start.x + \"px\";\n\t\tthis._el.move.style.top = this.data.pos.start.y + \"px\";\n\t\tthis._el.move.style.position = \"absolute\";\n\t\t//this._el.move.style.zIndex = \"11\";\n\t\t//this._el.move.style.cursor = \"move\";\n\t}\n\t\n\tdisable() {\n\t\tDOMEvent.removeListener(this._el.drag, this.dragevent.down, this._onDragStart, this);\n\t\tDOMEvent.removeListener(this._el.drag, this.dragevent.up, this._onDragEnd, this);\n\t}\n\t\n\tstopMomentum() {\n\t\tif (this.animator) {\n\t\t\tthis.animator.stop();\n\t\t}\n\n\t}\n\t\n\tupdateConstraint(c) {\n\t\tthis.options.constraint = c;\n\t\t\n\t\t// Temporary until issues are fixed\n\t\t\n\t}\n\t\n\t/*\tPrivate Methods\n\t================================================== */\n\t_onDragStart(e) {\n\t\t\n\t\tif (this.animator) {\n\t\t\tthis.animator.stop();\n\t\t}\n\t\t\n\t\tif (BROWSER_TOUCH) {\n\t\t\tif (e.originalEvent) {\n\t\t\t\tthis.data.pagex.start = e.originalEvent.touches[0].screenX;\n\t\t\t\tthis.data.pagey.start = e.originalEvent.touches[0].screenY;\n\t\t\t} else {\n\t\t\t\tthis.data.pagex.start = e.targetTouches[0].screenX;\n\t\t\t\tthis.data.pagey.start = e.targetTouches[0].screenY;\n\t\t\t}\n\t\t} else {\n\t\t\tthis.data.pagex.start = e.pageX;\n\t\t\tthis.data.pagey.start = e.pageY;\n\t\t}\n\t\t\n\t\t// Center element to finger or mouse\n\t\tif (this.options.enable.x) {\n\t\t\t//this._el.move.style.left = this.data.pagex.start - (this._el.move.offsetWidth / 2) + \"px\";\n\t\t}\n\t\t\n\t\tif (this.options.enable.y) {\n\t\t\t//this._el.move.style.top = this.data.pagey.start - (this._el.move.offsetHeight / 2) + \"px\";\n\t\t}\n\t\t\n\t\tthis.data.pos.start = {x:this._el.move.offsetLeft, y:this._el.move.offsetTop};\n\t\t\n\t\t\n\t\tthis.data.time.start \t\t\t= new Date().getTime();\n\t\t\n\t\tthis.fire(\"dragstart\", this.data);\n\t\tDOMEvent.addListener(this._el.drag, this.dragevent.move, this._onDragMove, this);\n\t\tDOMEvent.addListener(this._el.drag, this.dragevent.leave, this._onDragEnd, this);\n\t}\n\t\n\t_onDragEnd(e) {\n\t\tthis.data.sliding = false;\n\t\tDOMEvent.removeListener(this._el.drag, this.dragevent.move, this._onDragMove, this);\n\t\tDOMEvent.removeListener(this._el.drag, this.dragevent.leave, this._onDragEnd, this);\n\t\tthis.fire(\"dragend\", this.data);\n\t\t\n\t\t// momentum\n\t\tthis._momentum();\n\t}\n\t\n\t_onDragMove(e) {\n\t\tvar change = {\n\t\t\tx:0,\n\t\t\ty:0\n\t\t}\n\t\t//e.preventDefault();\n\t\tthis.data.sliding = true;\n\t\t\n\t\tif (BROWSER_TOUCH) {\n\t\t\tif (e.originalEvent) {\n\t\t\t\tthis.data.pagex.end = e.originalEvent.touches[0].screenX;\n\t\t\t\tthis.data.pagey.end = e.originalEvent.touches[0].screenY;\n\t\t\t} else {\n\t\t\t\tthis.data.pagex.end = e.targetTouches[0].screenX;\n\t\t\t\tthis.data.pagey.end = e.targetTouches[0].screenY;\n\t\t\t}\n\n\t\t} else {\n\t\t\tthis.data.pagex.end = e.pageX;\n\t\t\tthis.data.pagey.end = e.pageY;\n\t\t}\n\t\t\n\t\tchange.x = this.data.pagex.start - this.data.pagex.end;\n\t\tchange.y = this.data.pagey.start - this.data.pagey.end;\n\t\t\n\t\tthis.data.pos.end = {x:this._el.drag.offsetLeft, y:this._el.drag.offsetTop};\n\t\t\n\t\tthis.data.new_pos.x = -(change.x - this.data.pos.start.x);\n\t\tthis.data.new_pos.y = -(change.y - this.data.pos.start.y );\n\t\t\n\t\tif (this.options.enable.x && ( Math.abs(change.x) > Math.abs(change.y) ) ) {\n\t\t\te.preventDefault();\n\t\t\tthis._el.move.style.left = this.data.new_pos.x + \"px\";\n\t\t}\n\t\t\n\t\tif (this.options.enable.y && ( Math.abs(change.y) > Math.abs(change.y) ) ) {\n\t\t\te.preventDefault();\n\t\t\tthis._el.move.style.top = this.data.new_pos.y + \"px\";\n\t\t}\n\t\t\n\t\tthis.fire(\"dragmove\", this.data);\n\t}\n\t\n\t_momentum() {\n\t\tvar pos_adjust = {\n\t\t\t\tx: 0,\n\t\t\t\ty: 0,\n\t\t\t\ttime: 0\n\t\t\t},\n\t\t\tpos_change = {\n\t\t\t\tx: 0,\n\t\t\t\ty: 0,\n\t\t\t\ttime: 0\n\t\t\t},\n\t\t\tswipe_detect = {\n\t\t\t\tx: false,\n\t\t\t\ty: false\n\t\t\t},\n\t\t\tswipe = false,\n\t\t\tswipe_direction = \"\";\n\t\t\n\t\t\n\t\tthis.data.direction = null;\n\t\t\n\t\tpos_adjust.time = (new Date().getTime() - this.data.time.start) * 10;\n\t\tpos_change.time = (new Date().getTime() - this.data.time.start) * 10;\n\t\t\n\t\tpos_change.x = this.options.momentum_multiplier * (Math.abs(this.data.pagex.end) - Math.abs(this.data.pagex.start));\n\t\tpos_change.y = this.options.momentum_multiplier * (Math.abs(this.data.pagey.end) - Math.abs(this.data.pagey.start));\n\t\t\n\t\tpos_adjust.x = Math.round(pos_change.x / pos_change.time);\n\t\tpos_adjust.y = Math.round(pos_change.y / pos_change.time);\n\t\t\n\t\tthis.data.new_pos.x = Math.min(this.data.new_pos.x + pos_adjust.x);\n\t\tthis.data.new_pos.y = Math.min(this.data.new_pos.y + pos_adjust.y);\n\t\t\n\t\tif (!this.options.enable.x) {\n\t\t\tthis.data.new_pos.x = this.data.pos.start.x;\n\t\t} else if (this.options.constraint.left && this.data.new_pos.x > this.options.constraint.left) {\n\t\t\tthis.data.new_pos.x = this.options.constraint.left;\n\t\t}\n\t\t\n\t\tif (!this.options.enable.y) {\n\t\t\tthis.data.new_pos.y = this.data.pos.start.y;\n\t\t} else if (this.data.new_pos.y < 0) {\n\t\t\tthis.data.new_pos.y = 0;\n\t\t}\n\t\t\n\t\t// Detect Swipe\n\t\tif (pos_change.time < 2000) {\n\t\t\tswipe = true;\n\t\t}\n\t\t\n\t\t\n\t\tif (this.options.enable.x && this.options.enable.y) {\n\t\t\tif (Math.abs(pos_change.x) > Math.abs(pos_change.y)) {\n\t\t\t\tswipe_detect.x = true;\n\t\t\t} else {\n\t\t\t\tswipe_detect.y = true;\n\t\t\t}\n\t\t} else if (this.options.enable.x) {\n\t\t\tif (Math.abs(pos_change.x) > Math.abs(pos_change.y)) {\n\t\t\t\tswipe_detect.x = true;\n\t\t\t}\n\t\t} else {\n\t\t\tif (Math.abs(pos_change.y) > Math.abs(pos_change.x)) {\n\t\t\t\tswipe_detect.y = true;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Detect Direction and long swipe\n\t\tif (swipe_detect.x) {\n\t\t\t\n\t\t\t// Long Swipe\n\t\t\tif (Math.abs(pos_change.x) > (this._el.drag.offsetWidth/2)) {\n\t\t\t\tswipe = true;\n\t\t\t}\n\t\t\t\n\t\t\tif (Math.abs(pos_change.x) > 10000) {\n\t\t\t\tthis.data.direction = \"left\";\n\t\t\t\tif (pos_change.x > 0) {\n\t\t\t\t\tthis.data.direction = \"right\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (swipe_detect.y) {\n\t\t\t\n\t\t\t// Long Swipe\n\t\t\tif (Math.abs(pos_change.y) > (this._el.drag.offsetHeight/2)) {\n\t\t\t\tswipe = true;\n\t\t\t}\n\t\t\t\n\t\t\tif (Math.abs(pos_change.y) > 10000) {\n\t\t\t\tthis.data.direction = \"up\";\n\t\t\t\tif (pos_change.y > 0) {\n\t\t\t\t\tthis.data.direction = \"down\";\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (pos_change.time < 1000 ) {\n\t\t\t\n\t\t} else {\n\t\t\tthis._animateMomentum();\n\t\t}\n\t\t\n\t\tif (swipe && this.data.direction) {\n\t\t\tthis.fire(\"swipe_\" + this.data.direction, this.data);\n\t\t} else if (this.data.direction) {\n\t\t\tthis.fire(\"swipe_nodirection\", this.data);\n\t\t} else if (this.options.snap) {\n\t\t\tthis.animator.stop();\n\t\t\t\n\t\t\tthis.animator = Animate(this._el.move, {\n\t\t\t\ttop: \t\tthis.data.pos.start.y,\n\t\t\t\tleft: \t\tthis.data.pos.start.x,\n\t\t\t\tduration: \tthis.options.duration,\n\t\t\t\teasing: \teaseOutStrong\n\t\t\t});\n\t\t}\n\t\t\n\t}\n\t\n\t\n\t_animateMomentum() {\n\t\tvar pos = {\n\t\t\t\tx: this.data.new_pos.x,\n\t\t\t\ty: this.data.new_pos.y\n\t\t\t},\n\t\t\tanimate = {\n\t\t\t\tduration: \tthis.options.duration,\n\t\t\t\teasing: \teaseOutStrong\n\t\t\t};\n\t\t\n\t\tif (this.options.enable.y) {\n\t\t\tif (this.options.constraint.top || this.options.constraint.bottom) {\n\t\t\t\tif (pos.y > this.options.constraint.bottom) {\n\t\t\t\t\tpos.y = this.options.constraint.bottom;\n\t\t\t\t} else if (pos.y < this.options.constraint.top) {\n\t\t\t\t\tpos.y = this.options.constraint.top;\n\t\t\t\t}\n\t\t\t}\n\t\t\tanimate.top = Math.floor(pos.y) + \"px\";\n\t\t}\n\t\t\n\t\tif (this.options.enable.x) {\n\t\t\tif (this.options.constraint.left && pos.x >= this.options.constraint.left) {\n\t\t\t\tpos.x = this.options.constraint.left;\n\t\t\t}\n\t\t\tif (this.options.constraint.right && pos.x < this.options.constraint.right) {\n\t\t\t\tpos.x = this.options.constraint.right;\n\t\t\t}\n\n\t\t\tanimate.left = Math.floor(pos.x) + \"px\";\n\t\t}\n\t\t\n\t\tthis.animator = Animate(this._el.move, animate);\n\t\t\n\t\tthis.fire(\"momentum\", this.data);\n\t}\n}\n\nclassMixin(Swipable, Events)","import { classMixin, mergeData, findNextGreater, findNextLesser, isEven, findArrayNumberByUniqueID, trace } from \"../core/Util\"\nimport Events from \"../core/Events\"\nimport { DOMMixins } from \"../dom/DOMMixins\"\nimport { DOMEvent } from \"../dom/DOMEvent\"\nimport * as DOM from \"../dom/DOM\"\nimport { easeInOutQuint } from \"../animation/Ease\";\nimport { TimeScale } from \"./TimeScale\"\nimport { TimeGroup } from \"./TimeGroup\"\nimport { TimeEra } from \"./TimeEra\"\nimport { TimeAxis } from \"./TimeAxis\"\nimport { TimeMarker } from \"./TimeMarker\"\nimport Swipable from \"../ui/Swipable\"\nimport { Animate } from \"../animation/Animate\"\n\n\n\nexport class TimeNav {\n\n constructor(elem, timeline_config, options, language) {\n this.language = language // just passing through for TimeAxis. Is this a bad code smell?\n // DOM ELEMENTS\n this._el = {\n parent: {},\n container: {},\n slider: {},\n slider_background: {},\n line: {},\n marker_container_mask: {},\n marker_container: {},\n marker_item_container: {},\n timeaxis: {},\n timeaxis_background: {},\n attribution: {}\n };\n\n this.collapsed = false;\n\n if (typeof elem === 'object') {\n this._el.container = elem;\n } else {\n this._el.container = DOM.get(elem);\n }\n\n this.config = timeline_config;\n\n //Options\n this.options = {\n width: 600,\n height: 600,\n duration: 1000,\n ease: easeInOutQuint,\n has_groups: false,\n optimal_tick_width: 50,\n scale_factor: 2, // How many screen widths wide should the timeline be\n marker_padding: 5,\n timenav_height_min: 150, // Minimum timenav height\n marker_height_min: 30, // Minimum Marker Height\n marker_width_min: 100, // Minimum Marker Width\n zoom_sequence: [0.5, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] // Array of Fibonacci numbers for TimeNav zoom levels http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/fibtable.html\n };\n\n // Animation\n this.animator = null;\n\n // Ready state\n this.ready = false;\n\n // Markers Array\n this._markers = [];\n\n // Eras Array\n this._eras = [];\n this.has_eras = false;\n\n // Groups Array\n this._groups = [];\n\n // Row Height\n this._calculated_row_height = 100;\n\n // Current Marker\n this.current_id = \"\";\n\n // TimeScale\n this.timescale = {};\n\n // TimeAxis\n this.timeaxis = {};\n\n // Max Rows\n this.max_rows = 6;\n\n // Animate CSS\n this.animate_css = false;\n\n // Swipe Object\n this._swipable;\n\n // Merge Data and Options\n mergeData(this.options, options);\n\n }\n\n init() {\n this._initLayout();\n this._initEvents();\n this._initData();\n this.updateDisplay();\n\n this._onLoaded();\n }\n\n /*\tPublic\n ================================================== */\n positionMarkers(fast) {\n // POSITION X\n for (var i = 0; i < this._markers.length; i++) {\n var pos = this.timescale.getPositionInfo(i);\n if (fast) {\n this._markers[i].setClass(\"tl-timemarker tl-timemarker-fast\");\n } else {\n this._markers[i].setClass(\"tl-timemarker\");\n }\n this._markers[i].setPosition({ left: pos.start });\n this._markers[i].setWidth(pos.width);\n };\n }\n\n /*\tUpdate Display\n ================================================== */\n updateDisplay(width, height, animate) {\n let reposition_markers = false;\n if (width) {\n if (this.options.width == 0 && width > 0) {\n reposition_markers = true;\n }\n this.options.width = width;\n }\n if (height && height != this.options.height) {\n this.options.height = height;\n this.timescale = this._getTimeScale();\n }\n\n // Size Markers\n this._assignRowsToMarkers();\n\n // Size swipable area\n this._el.slider_background.style.width = this.timescale.getPixelWidth() + this.options.width + \"px\";\n this._el.slider_background.style.left = -(this.options.width / 2) + \"px\";\n this._el.slider.style.width = this.timescale.getPixelWidth() + this.options.width + \"px\";\n\n // Update Swipable constraint\n this._swipable.updateConstraint({ top: false, bottom: false, left: (this.options.width / 2), right: -(this.timescale.getPixelWidth() - (this.options.width / 2)) });\n\n if (reposition_markers) {\n this._drawTimeline()\n }\n // Go to the current slide\n this.goToId(this.current_id, true);\n }\n\n\n /*\tTimeScale\n ================================================== */\n _getTimeScale() {\n /* maybe the establishing config values (marker_height_min and max_rows) should be\n separated from making a TimeScale object, which happens in another spot in this file with duplicate mapping of properties of this TimeNav into the TimeScale options object? */\n // Set Max Rows\n var marker_height_min = 0;\n try {\n marker_height_min = parseInt(this.options.marker_height_min);\n } catch (e) {\n trace(\"Invalid value for marker_height_min option.\");\n marker_height_min = 30;\n }\n if (marker_height_min == 0) {\n trace(\"marker_height_min option must not be zero.\")\n marker_height_min = 30;\n }\n this.max_rows = Math.round((this.options.height - this._el.timeaxis_background.offsetHeight - (this.options.marker_padding)) / marker_height_min);\n if (this.max_rows < 1) {\n this.max_rows = 1;\n }\n return new TimeScale(this.config, {\n display_width: this._el.container.offsetWidth,\n screen_multiplier: this.options.scale_factor,\n max_rows: this.max_rows\n\n });\n }\n\n _updateTimeScale(new_scale) {\n this.options.scale_factor = new_scale;\n this._updateDrawTimeline();\n }\n\n zoomIn() { // move the the next \"higher\" scale factor\n var new_scale = findNextGreater(this.options.zoom_sequence, this.options.scale_factor);\n this.setZoomFactor(new_scale);\n }\n\n zoomOut() { // move the the next \"lower\" scale factor\n var new_scale = findNextLesser(this.options.zoom_sequence, this.options.scale_factor);\n this.setZoomFactor(new_scale);\n }\n\n setZoom(level) {\n var zoom_factor = this.options.zoom_sequence[level];\n if (typeof(zoom_factor) == 'number') {\n this.setZoomFactor(zoom_factor);\n } else {\n console.warn(\"Invalid zoom level. Please use an index number between 0 and \" + (this.options.zoom_sequence.length - 1));\n }\n }\n\n setZoomFactor(factor) {\n if (factor <= this.options.zoom_sequence[0]) {\n this.fire(\"zoomtoggle\", { zoom: \"out\", show: false });\n } else {\n this.fire(\"zoomtoggle\", { zoom: \"out\", show: true });\n }\n\n if (factor >= this.options.zoom_sequence[this.options.zoom_sequence.length - 1]) {\n this.fire(\"zoomtoggle\", { zoom: \"in\", show: false });\n } else {\n this.fire(\"zoomtoggle\", { zoom: \"in\", show: true });\n }\n\n if (factor == 0) {\n console.warn(\"Zoom factor must be greater than zero. Using 0.1\");\n factor = 0.1;\n }\n this.options.scale_factor = factor;\n //this._updateDrawTimeline(true);\n this.goToId(this.current_id, !this._updateDrawTimeline(true), true);\n }\n\n /*\tGroups\n ================================================== */\n _createGroups() {\n this._groups = [];\n var group_labels = this.timescale.getGroupLabels();\n\n if (group_labels) {\n this.options.has_groups = true;\n for (var i = 0; i < group_labels.length; i++) {\n this._createGroup(group_labels[i]);\n }\n }\n\n }\n\n _createGroup(group_label) {\n var group = new TimeGroup(group_label);\n this._addGroup(group);\n this._groups.push(group);\n }\n\n _addGroup(group) {\n group.addTo(this._el.container);\n\n }\n\n _positionGroups() {\n if (this.options.has_groups) {\n var available_height = (this.options.height - this._el.timeaxis_background.offsetHeight),\n group_height = Math.floor((available_height / this.timescale.getNumberOfRows()) - this.options.marker_padding),\n group_labels = this.timescale.getGroupLabels();\n\n for (var i = 0, group_rows = 0; i < this._groups.length; i++) {\n var group_y = Math.floor(group_rows * (group_height + this.options.marker_padding));\n var group_hide = false;\n if (group_y > (available_height - this.options.marker_padding)) {\n group_hide = true;\n }\n\n this._groups[i].setRowPosition(group_y, this._calculated_row_height + this.options.marker_padding / 2);\n this._groups[i].setAlternateRowColor(isEven(i), group_hide);\n\n group_rows += this._groups[i].data.rows; // account for groups spanning multiple rows\n }\n }\n }\n\n /*\tMarkers\n ================================================== */\n _addMarker(marker) {\n marker.addTo(this._el.marker_item_container);\n marker.on('markerclick', this._onMarkerClick, this);\n marker.on('added', this._onMarkerAdded, this);\n }\n\n _createMarker(data, n) {\n var marker = new TimeMarker(data, this.options);\n this._addMarker(marker);\n if (n < 0) {\n this._markers.push(marker);\n } else {\n this._markers.splice(n, 0, marker);\n }\n }\n\n _createMarkers(array) {\n for (var i = 0; i < array.length; i++) {\n this._createMarker(array[i], -1);\n }\n }\n\n _removeMarker(marker) {\n marker.removeFrom(this._el.marker_item_container);\n //marker.off('added', this._onMarkerRemoved, this);\n }\n\n _destroyMarker(n) {\n this._removeMarker(this._markers[n]);\n this._markers.splice(n, 1);\n }\n\n _calculateMarkerHeight(h) {\n return ((h / this.timescale.getNumberOfRows()) - this.options.marker_padding);\n }\n\n _calculateRowHeight(h) {\n return (h / this.timescale.getNumberOfRows());\n }\n\n _calculateAvailableHeight() {\n return (this.options.height - this._el.timeaxis_background.offsetHeight - (this.options.marker_padding));\n }\n\n _calculateMinimumTimeNavHeight() {\n return (this.timescale.getNumberOfRows() * this.options.marker_height_min) + this._el.timeaxis_background.offsetHeight + (this.options.marker_padding);\n\n }\n\n getMinimumHeight() {\n return this._calculateMinimumTimeNavHeight();\n }\n\n _assignRowsToMarkers() {\n var available_height = this._calculateAvailableHeight(),\n marker_height = this._calculateMarkerHeight(available_height);\n\n\n this._positionGroups();\n\n this._calculated_row_height = this._calculateRowHeight(available_height);\n\n for (var i = 0; i < this._markers.length; i++) {\n\n // Set Height\n this._markers[i].setHeight(marker_height);\n\n //Position by Row\n var row = this.timescale.getPositionInfo(i).row;\n\n var marker_y = Math.floor(row * (marker_height + this.options.marker_padding)) + this.options.marker_padding;\n\n var remainder_height = available_height - marker_y + this.options.marker_padding;\n this._markers[i].setRowPosition(marker_y, remainder_height);\n };\n\n }\n\n _resetMarkersActive() {\n for (var i = 0; i < this._markers.length; i++) {\n this._markers[i].setActive(false);\n };\n }\n\n _findMarkerIndex(n) {\n var _n = -1;\n if (typeof n == 'string' || n instanceof String) {\n _n = findArrayNumberByUniqueID(n, this._markers, \"unique_id\", _n);\n }\n return _n;\n }\n\n /*\tERAS\n ================================================== */\n _createEras(array) {\n for (var i = 0; i < array.length; i++) {\n var data = array[i];\n var era = new TimeEra(data.start_date,\n data.end_date,\n data.headline,\n this.options);\n this._eras.push(era);\n era.addTo(this._el.marker_item_container);\n era.on('added', this._onEraAdded, this);\n }\n }\n\n _positionEras(fast) {\n\n var era_color = 0;\n // POSITION X\n for (var i = 0; i < this._eras.length; i++) {\n var pos = {\n start: 0,\n end: 0,\n width: 0\n };\n\n pos.start = this.timescale.getPosition(this._eras[i].start_date.getTime());\n pos.end = this.timescale.getPosition(this._eras[i].end_date.getTime());\n pos.width = pos.end - pos.start;\n\n if (fast) {\n this._eras[i].setClass(\"tl-timeera tl-timeera-fast\");\n } else {\n this._eras[i].setClass(\"tl-timeera\");\n }\n this._eras[i].setPosition({ left: pos.start });\n this._eras[i].setWidth(pos.width);\n\n era_color++;\n if (era_color > 5) {\n era_color = 0;\n }\n this._eras[i].setColor(era_color);\n };\n\n }\n\n /*\tPublic\n ================================================== */\n\n // Create a marker\n createMarker(d, n) {\n this._createMarker(d, n);\n }\n\n // Create many markers from an array\n createMarkers(array) {\n this._createMarkers(array);\n }\n\n // Destroy marker by index\n destroyMarker(n) {\n this._destroyMarker(n);\n }\n\n // Destroy marker by id\n destroyMarkerId(id) {\n this.destroyMarker(this._findMarkerIndex(id));\n }\n\n /*\tNavigation\n ================================================== */\n goTo(n, fast, css_animation) {\n var self = this,\n _ease = this.options.ease,\n _duration = this.options.duration,\n _n = (n < 0) ? 0 : n;\n\n // Set Marker active state\n this._resetMarkersActive();\n if (n >= 0 && n < this._markers.length) {\n this._markers[n].setActive(true);\n }\n // Stop animation\n if (this.animator) {\n this.animator.stop();\n }\n\n if (fast) {\n this._el.slider.className = \"tl-timenav-slider\";\n this._el.slider.style.left = -this._markers[_n].getLeft() + (this.options.width / 2) + \"px\";\n } else {\n if (css_animation) {\n this._el.slider.className = \"tl-timenav-slider tl-timenav-slider-animate\";\n this.animate_css = true;\n this._el.slider.style.left = -this._markers[_n].getLeft() + (this.options.width / 2) + \"px\";\n } else {\n this._el.slider.className = \"tl-timenav-slider\";\n this.animator = Animate(this._el.slider, {\n left: -this._markers[_n].getLeft() + (this.options.width / 2) + \"px\",\n duration: _duration,\n easing: _ease\n });\n }\n }\n\n if (n >= 0 && n < this._markers.length) {\n this.current_id = this._markers[n].data.unique_id;\n } else {\n this.current_id = '';\n }\n }\n\n goToId(id, fast, css_animation) {\n this.goTo(this._findMarkerIndex(id), fast, css_animation);\n }\n\n /*\tEvents\n ================================================== */\n _onLoaded() {\n this.ready = true;\n this.fire(\"loaded\", this.config);\n }\n\n _onMarkerAdded(e) {\n this.fire(\"dateAdded\", this.config);\n }\n\n _onEraAdded(e) {\n this.fire(\"eraAdded\", this.config);\n }\n\n _onMarkerRemoved(e) {\n this.fire(\"dateRemoved\", this.config);\n }\n\n _onMarkerClick(e) {\n // Go to the clicked marker\n this.goToId(e.unique_id);\n this.fire(\"change\", { unique_id: e.unique_id });\n }\n\n _onMouseScroll(e) {\n\n var delta = 0,\n scroll_to = 0,\n constraint = {\n right: -(this.timescale.getPixelWidth() - (this.options.width / 2)),\n left: this.options.width / 2\n };\n if (!e) {\n e = window.event;\n }\n if (e.originalEvent) {\n e = e.originalEvent;\n }\n\n // Webkit and browsers able to differntiate between up/down and left/right scrolling\n if (typeof e.wheelDeltaX != 'undefined') {\n delta = e.wheelDeltaY / 6;\n if (Math.abs(e.wheelDeltaX) > Math.abs(e.wheelDeltaY)) {\n delta = e.wheelDeltaX / 6;\n } else {\n //delta = e.wheelDeltaY/6;\n delta = 0;\n }\n }\n if (delta) {\n if (e.preventDefault) {\n e.preventDefault();\n }\n e.returnValue = false;\n }\n // Stop from scrolling too far\n scroll_to = parseInt(this._el.slider.style.left.replace(\"px\", \"\")) + delta;\n\n\n if (scroll_to > constraint.left) {\n scroll_to = constraint.left;\n } else if (scroll_to < constraint.right) {\n scroll_to = constraint.right;\n }\n\n if (this.animate_css) {\n this._el.slider.className = \"tl-timenav-slider\";\n this.animate_css = false;\n }\n\n this._el.slider.style.left = scroll_to + \"px\";\n\n }\n\n _onDragMove(e) {\n if (this.animate_css) {\n this._el.slider.className = \"tl-timenav-slider\";\n this.animate_css = false;\n }\n\n }\n\n /*\tPrivate Methods\n ================================================== */\n\n _drawTimeline(fast) {\n this.timescale = this._getTimeScale();\n this.timeaxis.drawTicks(this.timescale, this.options.optimal_tick_width);\n this.positionMarkers(fast);\n this._assignRowsToMarkers();\n this._createGroups();\n this._positionGroups();\n\n if (this.has_eras) {\n\n this._positionEras(fast);\n }\n }\n\n _updateDrawTimeline(check_update) {\n var do_update = false;\n\n // Check to see if redraw is needed\n if (check_update) {\n /* keep this aligned with _getTimeScale or reduce code duplication */\n var temp_timescale = new TimeScale(this.config, {\n display_width: this._el.container.offsetWidth,\n screen_multiplier: this.options.scale_factor,\n max_rows: this.max_rows\n\n });\n\n if (this.timescale.getMajorScale() == temp_timescale.getMajorScale() &&\n this.timescale.getMinorScale() == temp_timescale.getMinorScale()) {\n do_update = true;\n }\n } else {\n do_update = true;\n }\n\n // Perform update or redraw\n if (do_update) {\n this.timescale = this._getTimeScale();\n this.timeaxis.positionTicks(this.timescale, this.options.optimal_tick_width);\n this.positionMarkers();\n this._assignRowsToMarkers();\n this._positionGroups();\n if (this.has_eras) {\n this._positionEras();\n }\n this.updateDisplay();\n } else {\n this._drawTimeline(true);\n }\n\n return do_update;\n\n }\n\n\n /*\tInit\n ================================================== */\n _initLayout() {\n // Create Layout\n this._el.attribution = DOM.create('div', 'tl-attribution', this._el.container);\n this._el.line = DOM.create('div', 'tl-timenav-line', this._el.container);\n this._el.slider = DOM.create('div', 'tl-timenav-slider', this._el.container);\n this._el.slider_background = DOM.create('div', 'tl-timenav-slider-background', this._el.slider);\n this._el.marker_container_mask = DOM.create('div', 'tl-timenav-container-mask', this._el.slider);\n this._el.marker_container = DOM.create('div', 'tl-timenav-container', this._el.marker_container_mask);\n this._el.marker_item_container = DOM.create('div', 'tl-timenav-item-container', this._el.marker_container);\n this._el.timeaxis = DOM.create('div', 'tl-timeaxis', this._el.slider);\n this._el.timeaxis_background = DOM.create('div', 'tl-timeaxis-background', this._el.container);\n\n\n // Knight Lab Logo\n this._el.attribution.innerHTML = \"TimelineJS\"\n\n // Time Axis\n this.timeaxis = new TimeAxis(this._el.timeaxis, this.options, this.language);\n\n // Swipable\n this._swipable = new Swipable(this._el.slider_background, this._el.slider, {\n enable: { x: true, y: false },\n constraint: { top: false, bottom: false, left: (this.options.width / 2), right: false },\n snap: false\n });\n this._swipable.enable();\n\n }\n\n _initEvents() {\n // Drag Events\n this._swipable.on('dragmove', this._onDragMove, this);\n\n // Scroll Events\n DOMEvent.addListener(this._el.container, 'mousewheel', this._onMouseScroll, this);\n DOMEvent.addListener(this._el.container, 'DOMMouseScroll', this._onMouseScroll, this);\n }\n\n _initData() {\n // Create Markers and then add them\n this._createMarkers(this.config.events);\n\n if (this.config.eras && this.config.eras.length > 0) {\n this.has_eras = true;\n this._createEras(this.config.eras);\n }\n\n this._drawTimeline();\n\n }\n}\n\nclassMixin(TimeNav, Events, DOMMixins)","import { addClass } from \"../dom/DOMUtil\"\nimport { I18NMixins } from \"../language/I18NMixins\";\nimport Events from \"../core/Events\";\nimport { DOMMixins } from \"../dom/DOMMixins\";\nimport { classMixin, mergeData, trim } from \"../core/Util\"\nimport * as DOM from \"../dom/DOM\"\nimport { Animate } from \"../animation/Animate\"\nimport { easeInSpline } from \"../animation/Ease\"\nimport * as Browser from \"../core/Browser\"\nimport { lookupMediaType } from \"../media/MediaType\";\nimport { Text } from \"../media/Media\"\n\nexport class Slide {\n\n constructor(data, options, title_slide, language) {\n if (language) {\n this.setLanguage(language)\n }\n\n // DOM Elements\n this._el = {\n container: {},\n scroll_container: {},\n background: {},\n content_container: {},\n content: {}\n };\n\n // Components\n this._media = null;\n this._mediaclass = {};\n this._text = {};\n this._background_media = null;\n\n // State\n this._state = {\n loaded: false\n };\n\n this.has = {\n headline: false,\n text: false,\n media: false,\n title: false,\n background: {\n image: false,\n color: false,\n color_value: \"\"\n }\n }\n\n this.has.title = title_slide;\n\n // Data\n this.data = {\n unique_id: null,\n background: null,\n start_date: null,\n end_date: null,\n location: null,\n text: null,\n media: null,\n autolink: true\n };\n\n // Options\n this.options = {\n // animation\n duration: 1000,\n slide_padding_lr: 40,\n ease: easeInSpline,\n width: 600,\n height: 600,\n skinny_size: 650,\n media_name: \"\"\n };\n\n // Actively Displaying\n this.active = false;\n\n // Animation Object\n this.animator = {};\n\n // Merge Data and Options\n mergeData(this.options, options);\n mergeData(this.data, data);\n\n this._initLayout();\n this._initEvents();\n\n\n }\n\n /*\tAdding, Hiding, Showing etc\n ================================================== */\n show() {\n this.animator = Animate(this._el.slider_container, {\n left: -(this._el.container.offsetWidth * n) + \"px\",\n duration: this.options.duration,\n easing: this.options.ease\n });\n }\n\n hide() {\n\n }\n\n setActive(is_active) {\n this.active = is_active;\n\n if (this.active) {\n if (this.data.background) {\n this.fire(\"background_change\", this.has.background);\n }\n this.loadMedia();\n } else {\n this.stopMedia();\n }\n }\n\n addTo(container) {\n container.appendChild(this._el.container);\n //this.onAdd();\n }\n\n removeFrom(container) {\n container.removeChild(this._el.container);\n }\n\n updateDisplay(width, height, layout) {\n var content_width,\n content_padding_left = this.options.slide_padding_lr,\n content_padding_right = this.options.slide_padding_lr;\n\n if (width) {\n this.options.width = width;\n } else {\n this.options.width = this._el.container.offsetWidth;\n }\n\n content_width = this.options.width - (this.options.slide_padding_lr * 2);\n\n if (Browser.mobile && (this.options.width <= this.options.skinny_size)) {\n content_padding_left = 0;\n content_padding_right = 0;\n content_width = this.options.width;\n } else if (layout == \"landscape\") {\n\n } else if (this.options.width <= this.options.skinny_size) {\n content_padding_left = 50;\n content_padding_right = 50;\n content_width = this.options.width - content_padding_left - content_padding_right;\n } else {\n\n }\n\n this._el.content.style.paddingLeft = content_padding_left + \"px\";\n this._el.content.style.paddingRight = content_padding_right + \"px\";\n this._el.content.style.width = content_width + \"px\";\n\n if (height) {\n this.options.height = height;\n //this._el.scroll_container.style.height\t\t= this.options.height + \"px\";\n\n } else {\n this.options.height = this._el.container.offsetHeight;\n }\n\n if (this._media) {\n\n if (!this.has.text && this.has.headline) {\n this._media.updateDisplay(content_width, (this.options.height - this._text.headlineHeight()), layout);\n } else if (!this.has.text && !this.has.headline) {\n this._media.updateDisplay(content_width, this.options.height, layout);\n } else if (this.options.width <= this.options.skinny_size) {\n this._media.updateDisplay(content_width, this.options.height, layout);\n } else {\n this._media.updateDisplay(content_width / 2, this.options.height, layout);\n }\n }\n\n this._updateBackgroundDisplay();\n }\n\n loadMedia() {\n var self = this;\n\n if (this._media && !this._state.loaded) {\n this._media.loadMedia();\n this._state.loaded = true;\n }\n\n if (this._background_media && !this._background_media._state.loaded) {\n this._background_media.on(\"loaded\", function() {\n self._updateBackgroundDisplay();\n });\n this._background_media.loadMedia();\n }\n }\n\n stopMedia() {\n if (this._media && this._state.loaded) {\n this._media.stopMedia();\n }\n }\n\n getBackground() {\n return this.has.background;\n }\n\n scrollToTop() {\n this._el.container.scrollTop = 0;\n }\n\n getFormattedDate() {\n\n if (trim(this.data.display_date).length > 0) {\n return this.data.display_date;\n }\n var date_text = \"\";\n\n if (!this.has.title) {\n if (this.data.end_date) {\n date_text = \" — \" + this.data.end_date.getDisplayDate(this.getLanguage());\n }\n if (this.data.start_date) {\n date_text = this.data.start_date.getDisplayDate(this.getLanguage()) + date_text;\n }\n }\n return date_text;\n }\n\n /*\tEvents\n ================================================== */\n\n\n /*\tPrivate Methods\n ================================================== */\n _initLayout() {\n // Create Layout\n this._el.container = DOM.create(\"div\", \"tl-slide\");\n\n if (this.has.title) {\n this._el.container.className = \"tl-slide tl-slide-titleslide\";\n }\n\n if (this.data.unique_id) {\n this._el.container.id = this.data.unique_id;\n }\n this._el.scroll_container = DOM.create(\"div\", \"tl-slide-scrollable-container\", this._el.container);\n this._el.content_container = DOM.create(\"div\", \"tl-slide-content-container\", this._el.scroll_container);\n this._el.content = DOM.create(\"div\", \"tl-slide-content\", this._el.content_container);\n this._el.background = DOM.create(\"div\", \"tl-slide-background\", this._el.container);\n // Style Slide Background\n if (this.data.background) {\n if (this.data.background.url) {\n var media_type = lookupMediaType(this.data.background, true);\n if (media_type) {\n this._background_media = new media_type.cls(this.data.background, { background: 1 });\n\n this.has.background.image = true;\n this._el.container.className += ' tl-full-image-background';\n this.has.background.color_value = \"#000\";\n this._el.background.style.display = \"block\";\n }\n }\n if (this.data.background.color) {\n this.has.background.color = true;\n this._el.container.className += ' tl-full-color-background';\n this.has.background.color_value = this.data.background.color;\n //this._el.container.style.backgroundColor = this.data.background.color;\n //this._el.background.style.backgroundColor \t= this.data.background.color;\n //this._el.background.style.display \t\t\t= \"block\";\n }\n if (this.data.background.text_background) {\n this._el.container.className += ' tl-text-background';\n }\n\n }\n\n\n\n // Determine Assets for layout and loading\n if (this.data.media && this.data.media.url && this.data.media.url != \"\") {\n this.has.media = true;\n }\n if (this.data.text && this.data.text.text) {\n this.has.text = true;\n }\n if (this.data.text && this.data.text.headline) {\n this.has.headline = true;\n }\n\n // Create Media\n if (this.has.media) {\n // Determine the media type\n this.data.media.mediatype = lookupMediaType(this.data.media);\n this.options.media_name = this.data.media.mediatype.name;\n this.options.media_type = this.data.media.mediatype.type;\n this.options.autolink = this.data.autolink;\n\n // Create a media object using the matched class name\n this._media = new this.data.media.mediatype.cls(this.data.media, this.options, this.getLanguage());\n }\n\n // Create Text\n if (this.has.text || this.has.headline) {\n this._text = new Text(this.data.text, { title: this.has.title, language: this.options.language, autolink: this.data.autolink });\n this._text.addDateText(this.getFormattedDate());\n }\n\n\n\n // Add to DOM\n if (!this.has.text && !this.has.headline && this.has.media) {\n addClass(this._el.container, 'tl-slide-media-only');\n this._media.addTo(this._el.content);\n } else if (this.has.headline && this.has.media && !this.has.text) {\n addClass(this._el.container, 'tl-slide-media-only');\n this._text.addTo(this._el.content);\n this._media.addTo(this._el.content);\n } else if (this.has.text && this.has.media) {\n this._media.addTo(this._el.content);\n this._text.addTo(this._el.content);\n } else if (this.has.text || this.has.headline) {\n addClass(this._el.container, 'tl-slide-text-only');\n this._text.addTo(this._el.content);\n }\n\n // Fire event that the slide is loaded\n this.onLoaded();\n\n }\n\n _initEvents() {\n\n }\n\n _updateBackgroundDisplay() {\n if (this._background_media && this._background_media._state.loaded) {\n this._el.background.style.backgroundImage = \"url('\" + this._background_media.getImageURL(this.options.width, this.options.height) + \"')\";\n }\n }\n\n}\nclassMixin(Slide, I18NMixins, Events, DOMMixins)","import Events from \"../core/Events\";\nimport { DOMMixins } from \"../dom/DOMMixins\";\nimport { classMixin, mergeData, unlinkify } from \"../core/Util\"\nimport * as DOM from \"../dom/DOM\"\nimport { DOMEvent } from \"../dom/DOMEvent\"\nimport * as Browser from \"../core/Browser\"\n\nexport class SlideNav {\n\t\n\tconstructor(data, options, add_to_container) {\n\t\t// DOM ELEMENTS\n\t\tthis._el = {\n\t\t\tcontainer: {},\n\t\t\tcontent_container: {},\n\t\t\ticon: {},\n\t\t\ttitle: {},\n\t\t\tdescription: {}\n\t\t};\n\t\n\t\t// Media Type\n\t\tthis.mediatype = {};\n\t\t\n\t\t// Data\n\t\tthis.data = {\n\t\t\ttitle: \"Navigation\",\n\t\t\tdescription: \"Description\",\n\t\t\tdate: \"Date\"\n\t\t};\n\t\n\t\t//Options\n\t\tthis.options = {\n\t\t\tdirection: \t\t\t\"previous\"\n\t\t};\n\t\n\t\tthis.animator = null;\n\t\t\n\t\t// Merge Data and Options\n\t\tmergeData(this.options, options);\n\t\tmergeData(this.data, data);\n\t\t\n\t\t\n\t\tthis._el.container = DOM.create(\"div\", \"tl-slidenav-\" + this.options.direction);\n\t\t\n\t\tif (Browser.mobile) {\n\t\t\tthis._el.container.setAttribute(\"ontouchstart\",\" \");\n\t\t}\n\t\t\n\t\tthis._initLayout();\n\t\tthis._initEvents();\n\t\t\n\t\tif (add_to_container) {\n\t\t\tadd_to_container.appendChild(this._el.container);\n\t\t};\n\t\t\n\t}\n\t\n\t/*\tUpdate Content\n\t================================================== */\n\tupdate(slide) {\n\t\tvar d = {\n\t\t\ttitle: \"\",\n\t\t\tdescription: \"\",\n\t\t\tdate: slide.getFormattedDate()\n\t\t};\n\t\t\n\t\tif (slide.data.text) {\n\t\t\tif (slide.data.text.headline) {\n\t\t\t\td.title = slide.data.text.headline;\n\t\t\t}\n\t\t}\n\n\t\tthis._update(d);\n\t}\n\t\n\t/*\tColor\n\t================================================== */\n\tsetColor(inverted) {\n\t\tif (inverted) {\n\t\t\tthis._el.content_container.className = 'tl-slidenav-content-container tl-slidenav-inverted';\n\t\t} else {\n\t\t\tthis._el.content_container.className = 'tl-slidenav-content-container';\n\t\t}\n\t}\n\t\n\t/*\tEvents\n\t================================================== */\n\t_onMouseClick() {\n\t\tthis.fire(\"clicked\", this.options);\n\t}\n\t\n\t/*\tPrivate Methods\n\t================================================== */\n\t_update(d) {\n\t\t// update data\n\t\tthis.data = mergeData(this.data, d);\n\t\t\n\t\t// Title\n\t\tthis._el.title.innerHTML = unlinkify(this.data.title);\n\t\t\n\t\t// Date\n\t\tthis._el.description.innerHTML\t= unlinkify(this.data.date);\n\t}\n\t\n\t_initLayout () {\n\t\t\n\t\t// Create Layout\n\t\tthis._el.content_container\t\t\t= DOM.create(\"div\", \"tl-slidenav-content-container\", this._el.container);\n\t\tthis._el.icon\t\t\t\t\t\t= DOM.create(\"div\", \"tl-slidenav-icon\", this._el.content_container);\n\t\tthis._el.title = DOM.create(\"div\", \"tl-slidenav-title\", this._el.content_container);\n\t\tthis._el.description = DOM.create(\"div\", \"tl-slidenav-description\", this._el.content_container);\n\t\t\n\t\tthis._el.icon.innerHTML\t\t\t\t= \" \"\n\t\t\n\t\tthis._update();\n\t}\n\t\n\t_initEvents () {\n\t\tDOMEvent.addListener(this._el.container, 'click', this._onMouseClick, this);\n\t}\n\t\n\t\n}\n\nclassMixin(SlideNav, DOMMixins, Events)\n","import { I18NMixins } from \"../language/I18NMixins\";\nimport Events from \"../core/Events\";\nimport { easeInOutQuint } from \"../animation/Ease\"\nimport { classMixin, mergeData, unique_ID, findArrayNumberByUniqueID, hexToRgb, trace } from \"../core/Util\"\nimport { Animate } from \"../animation/Animate\"\nimport * as DOM from \"../dom/DOM\"\nimport { DOMEvent } from \"../dom/DOMEvent\"\nimport * as Browser from \"../core/Browser\"\nimport { addClass } from \"../dom/DOMUtil\"\nimport Swipable from \"../ui/Swipable\";\nimport Message from \"../ui/Message\"\nimport { Slide } from \"./Slide\"\nimport { SlideNav } from \"./SlideNav\"\n\nexport class StorySlider {\n constructor(elem, data, options, language) {\n\n if (language) {\n this.setLanguage(language)\n }\n\n // DOM ELEMENTS\n this._el = {\n container: {},\n background: {},\n slider_container_mask: {},\n slider_container: {},\n slider_item_container: {}\n };\n\n this._nav = {};\n this._nav.previous = {};\n this._nav.next = {};\n\n // Slide Spacing\n this.slide_spacing = 0;\n\n // Slides Array\n this._slides = [];\n\n // Swipe Object\n this._swipable;\n\n // Preload Timer\n this.preloadTimer;\n\n // Message\n this._message;\n\n // Current Slide\n this.current_id = '';\n\n // Data Object\n this.data = {};\n\n this.options = {\n id: \"\",\n layout: \"portrait\",\n width: 600,\n height: 600,\n default_bg_color: { r: 255, g: 255, b: 255 },\n slide_padding_lr: 40, // padding on slide of slide\n start_at_slide: 1,\n slide_default_fade: \"0%\", // landscape fade\n // animation\n duration: 1000,\n ease: easeInOutQuint,\n // interaction\n dragging: true,\n trackResize: true\n };\n\n // Main element ID\n if (typeof elem === 'object') {\n this._el.container = elem;\n this.options.id = unique_ID(6, \"tl\");\n } else {\n this.options.id = elem;\n this._el.container = DOM.get(elem);\n }\n\n if (!this._el.container.id) {\n this._el.container.id = this.options.id;\n }\n\n // Animation Object\n this.animator = null;\n\n // Merge Data and Options\n mergeData(this.options, options);\n mergeData(this.data, data);\n\n }\n\n init() {\n this._initLayout();\n this._initEvents();\n this._initData();\n this.updateDisplay();\n\n // Go to initial slide\n this.goTo(this.options.start_at_slide);\n\n this._onLoaded();\n }\n\n /* Slides\n ================================================== */\n _addSlide(slide) {\n slide.addTo(this._el.slider_item_container);\n slide.on('added', this._onSlideAdded, this);\n slide.on('background_change', this._onBackgroundChange, this);\n }\n\n _createSlide(d, title_slide, n) {\n var slide = new Slide(d, this.options, title_slide, this.getLanguage());\n this._addSlide(slide);\n if (n < 0) {\n this._slides.push(slide);\n } else {\n this._slides.splice(n, 0, slide);\n }\n }\n\n _createSlides(array) {\n for (var i = 0; i < array.length; i++) {\n if (array[i].unique_id == \"\") {\n array[i].unique_id = unique_ID(6, \"tl-slide\");\n }\n this._createSlide(array[i], false, -1);\n }\n }\n\n _removeSlide(slide) {\n slide.removeFrom(this._el.slider_item_container);\n slide.off('added', this._onSlideRemoved, this);\n slide.off('background_change', this._onBackgroundChange);\n }\n\n _destroySlide(n) {\n this._removeSlide(this._slides[n]);\n this._slides.splice(n, 1);\n }\n\n _findSlideIndex(n) {\n var _n = n;\n if (typeof n == 'string' || n instanceof String) {\n _n = findArrayNumberByUniqueID(n, this._slides, \"unique_id\");\n }\n return _n;\n }\n\n /*\tPublic\n ================================================== */\n updateDisplay(width, height, animate, layout) {\n var nav_pos, _layout;\n\n if (typeof layout === 'undefined') {\n _layout = this.options.layout;\n } else {\n _layout = layout;\n }\n\n this.options.layout = _layout;\n\n if (width) {\n this.options.width = width;\n } else {\n this.options.width = this._el.container.offsetWidth;\n }\n\n if (height) {\n this.options.height = height;\n } else {\n this.options.height = this._el.container.offsetHeight;\n }\n\n this.slide_spacing = this.options.width * 2;\n\n // position navigation\n nav_pos = (this.options.height / 2);\n this._nav.next.setPosition({ top: nav_pos });\n this._nav.previous.setPosition({ top: nav_pos });\n\n\n // Position slides\n for (var i = 0; i < this._slides.length; i++) {\n this._slides[i].updateDisplay(this.options.width, this.options.height, _layout);\n this._slides[i].setPosition({ left: (this.slide_spacing * i), top: 0 });\n\n };\n\n // Go to the current slide\n this.goToId(this.current_id, true, true);\n }\n\n\n // Create a slide\n createSlide(d, n) {\n this._createSlide(d, false, n);\n }\n\n // Create Many Slides from an array\n createSlides(array) {\n this._createSlides(array);\n }\n\n // Destroy slide by index\n destroySlide(n) {\n this._destroySlide(n);\n }\n\n // Destroy slide by id\n destroySlideId(id) {\n this.destroySlide(this._findSlideIndex(id));\n }\n\n /*\tNavigation\n ================================================== */\n goTo(n, fast, displayupdate) {\n n = parseInt(n);\n if (isNaN(n)) n = 0;\n\n var self = this;\n\n this.changeBackground({ color_value: \"\", image: false });\n\n // Clear Preloader Timer\n if (this.preloadTimer) {\n clearTimeout(this.preloadTimer);\n }\n\n // Set Slide Active State\n for (var i = 0; i < this._slides.length; i++) {\n this._slides[i].setActive(false);\n }\n\n if (n < this._slides.length && n >= 0) {\n this.current_id = this._slides[n].data.unique_id;\n window.currentSlideData = this._slides[n].data;\n // Stop animation\n if (this.animator) {\n this.animator.stop();\n }\n if (this._swipable) {\n this._swipable.stopMomentum();\n }\n\n if (fast) {\n this._el.slider_container.style.left = -(this.slide_spacing * n) + \"px\";\n this._onSlideChange(displayupdate);\n } else {\n this.animator = Animate(this._el.slider_container, {\n left: -(this.slide_spacing * n) + \"px\",\n duration: this.options.duration,\n easing: this.options.ease,\n complete: this._onSlideChange(displayupdate)\n });\n }\n\n // Set Slide Active State\n this._slides[n].setActive(true);\n\n // Update Navigation and Info\n if (this._slides[n + 1]) {\n this.showNav(this._nav.next, true);\n this._nav.next.update(this._slides[n + 1]);\n } else {\n this.showNav(this._nav.next, false);\n }\n if (this._slides[n - 1]) {\n this.showNav(this._nav.previous, true);\n this._nav.previous.update(this._slides[n - 1]);\n } else {\n this.showNav(this._nav.previous, false);\n }\n\n // Preload Slides\n this.preloadTimer = setTimeout(function () {\n self.preloadSlides(n);\n }, this.options.duration);\n }\n }\n\n goToId(id, fast, displayupdate) {\n this.goTo(this._findSlideIndex(id), fast, displayupdate);\n }\n\n preloadSlides(n) {\n if (this._slides[n + 1]) {\n this._slides[n + 1].loadMedia();\n this._slides[n + 1].scrollToTop();\n }\n if (this._slides[n + 2]) {\n this._slides[n + 2].loadMedia();\n this._slides[n + 2].scrollToTop();\n }\n if (this._slides[n - 1]) {\n this._slides[n - 1].loadMedia();\n this._slides[n - 1].scrollToTop();\n }\n if (this._slides[n - 2]) {\n this._slides[n - 2].loadMedia();\n this._slides[n - 2].scrollToTop();\n }\n }\n\n next() {\n var n = this._findSlideIndex(this.current_id);\n if ((n + 1) < (this._slides.length)) {\n this.goTo(n + 1);\n } else {\n this.goTo(n);\n }\n }\n\n previous() {\n var n = this._findSlideIndex(this.current_id);\n if (n - 1 >= 0) {\n this.goTo(n - 1);\n } else {\n this.goTo(n);\n }\n }\n\n showNav(nav_obj, show) {\n\n if (this.options.width <= 500 && Browser.mobile) {\n\n } else {\n if (show) {\n nav_obj.show();\n } else {\n nav_obj.hide();\n }\n\n }\n }\n\n\n\n changeBackground(bg) {\n var bg_color = { r: 256, g: 256, b: 256 },\n bg_color_rgb;\n\n if (bg.color_value && bg.color_value != \"\") {\n bg_color = hexToRgb(bg.color_value);\n if (!bg_color) {\n trace(\"Invalid color value \" + bg.color_value);\n bg_color = this.options.default_bg_color;\n }\n } else {\n bg_color = this.options.default_bg_color;\n bg.color_value = \"rgb(\" + bg_color.r + \" , \" + bg_color.g + \", \" + bg_color.b + \")\";\n }\n\n bg_color_rgb = bg_color.r + \",\" + bg_color.g + \",\" + bg_color.b;\n this._el.background.style.backgroundImage = \"none\";\n\n\n if (bg.color_value) {\n this._el.background.style.backgroundColor = bg.color_value;\n } else {\n this._el.background.style.backgroundColor = \"transparent\";\n }\n\n if (bg_color.r < 255 || bg_color.g < 255 || bg_color.b < 255 || bg.image) {\n this._nav.next.setColor(true);\n this._nav.previous.setColor(true);\n } else {\n this._nav.next.setColor(false);\n this._nav.previous.setColor(false);\n }\n }\n /*\tPrivate Methods\n ================================================== */\n\n // Update Display\n\n // Reposition and redraw slides\n _updateDrawSlides() {\n var _layout = this.options.layout;\n\n for (var i = 0; i < this._slides.length; i++) {\n this._slides[i].updateDisplay(this.options.width, this.options.height, _layout);\n this._slides[i].setPosition({ left: (this.slide_spacing * i), top: 0 });\n };\n\n this.goToId(this.current_id, true, false);\n }\n\n\n /*\tInit\n ================================================== */\n _initLayout() {\n\n addClass(this._el.container, 'tl-storyslider');\n\n // Create Layout\n this._el.slider_container_mask = DOM.create('div', 'tl-slider-container-mask', this._el.container);\n this._el.background = DOM.create('div', 'tl-slider-background tl-animate', this._el.container);\n this._el.slider_container = DOM.create('div', 'tl-slider-container tlanimate', this._el.slider_container_mask);\n this._el.slider_item_container = DOM.create('div', 'tl-slider-item-container', this._el.slider_container);\n\n\n // Update Size\n this.options.width = this._el.container.offsetWidth;\n this.options.height = this._el.container.offsetHeight;\n\n // Create Navigation\n this._nav.previous = new SlideNav({ title: \"Previous\", description: \"description\" }, { direction: \"previous\" });\n this._nav.next = new SlideNav({ title: \"Next\", description: \"description\" }, { direction: \"next\" });\n\n // add the navigation to the dom\n this._nav.next.addTo(this._el.container);\n this._nav.previous.addTo(this._el.container);\n\n\n\n this._el.slider_container.style.left = \"0px\";\n\n if (Browser.touch) {\n //this._el.slider_touch_mask = DOM.create('div', 'tl-slider-touch-mask', this._el.slider_container_mask);\n this._swipable = new Swipable(this._el.slider_container_mask, this._el.slider_container, {\n enable: { x: true, y: false },\n snap: true\n });\n this._swipable.enable();\n\n // Message\n this._message = new Message(this._el.container, {\n message_class: \"tl-message-full\",\n message_icon_class: \"tl-icon-swipe-left\"\n },\n this.getLanguage());\n this._message.updateMessage(this._(\"swipe_to_navigate\"));\n this._message.addTo(this._el.container);\n }\n\n }\n\n _initEvents() {\n this._nav.next.on('clicked', this._onNavigation, this);\n this._nav.previous.on('clicked', this._onNavigation, this);\n\n if (this._message) {\n this._message.on('clicked', this._onMessageClick, this);\n }\n\n if (this._swipable) {\n this._swipable.on('swipe_left', this._onNavigation, this);\n this._swipable.on('swipe_right', this._onNavigation, this);\n this._swipable.on('swipe_nodirection', this._onSwipeNoDirection, this);\n }\n\n\n }\n\n _initData() {\n if (this.data.title) {\n this._createSlide(this.data.title, true, -1);\n }\n this._createSlides(this.data.events);\n }\n\n /*\tEvents\n ================================================== */\n _onBackgroundChange(e) {\n var n = this._findSlideIndex(this.current_id);\n var slide_background = this._slides[n].getBackground();\n this.changeBackground(e);\n this.fire(\"colorchange\", slide_background);\n }\n\n _onMessageClick(e) {\n this._message.hide();\n }\n\n _onSwipeNoDirection(e) {\n this.goToId(this.current_id);\n }\n\n _onNavigation(e) {\n\n if (e.direction == \"next\" || e.direction == \"left\") {\n this.next();\n } else if (e.direction == \"previous\" || e.direction == \"right\") {\n this.previous();\n }\n this.fire(\"nav_\" + e.direction, this.data);\n }\n\n _onSlideAdded(e) {\n trace(\"slideadded\")\n this.fire(\"slideAdded\", this.data);\n }\n\n _onSlideRemoved(e) {\n this.fire(\"slideRemoved\", this.data);\n }\n\n _onSlideChange(displayupdate) {\n if (!displayupdate) {\n this.fire(\"change\", { unique_id: this.current_id });\n }\n }\n\n _onMouseClick(e) {\n\n }\n\n _fireMouseEvent(e) {\n if (!this._loaded) {\n return;\n }\n\n var type = e.type;\n type = (type === 'mouseenter' ? 'mouseover' : (type === 'mouseleave' ? 'mouseout' : type));\n\n if (!this.hasEventListeners(type)) {\n return;\n }\n\n if (type === 'contextmenu') {\n DOMEvent.preventDefault(e);\n }\n\n this.fire(type, {\n latlng: \"something\", //this.mouseEventToLatLng(e),\n layerPoint: \"something else\" //this.mouseEventToLayerPoint(e)\n });\n }\n\n _onLoaded() {\n this.fire(\"loaded\", this.data);\n }\n\n\n}\n\nclassMixin(StorySlider, I18NMixins, Events)","import * as DOM from \"../dom/DOM\"\nimport * as Browser from \"../core/Browser\"\nimport Events from \"../core/Events\";\nimport { DOMMixins } from \"../dom/DOMMixins\"\nimport { easeInOutQuint } from \"../animation/Ease\"\nimport { classMixin, mergeData } from \"../core/Util\"\nimport { addClass, removeClass } from \"../dom/DOMUtil\"\nimport { DOMEvent } from \"../dom/DOMEvent\"\n\nexport class MenuBar {\n\tconstructor(elem, parent_elem, options) {\n\t\t// DOM ELEMENTS\n\t\tthis._el = {\n\t\t\tparent: {},\n\t\t\tcontainer: {},\n\t\t\tbutton_backtostart: {},\n\t\t\tbutton_zoomin: {},\n\t\t\tbutton_zoomout: {},\n\t\t\tarrow: {},\n\t\t\tline: {},\n\t\t\tcoverbar: {},\n\t\t\tgrip: {}\n\t\t};\n\n\t\tthis.collapsed = false;\n\n\t\tif (typeof elem === 'object') {\n\t\t\tthis._el.container = elem;\n\t\t} else {\n\t\t\tthis._el.container = DOM.get(elem);\n\t\t}\n\n\t\tif (parent_elem) {\n\t\t\tthis._el.parent = parent_elem;\n\t\t}\n\n\t\t//Options\n\t\tthis.options = {\n\t\t\twidth: \t\t\t\t\t600,\n\t\t\theight: \t\t\t\t600,\n\t\t\tduration: \t\t\t\t1000,\n\t\t\tease: \t\t\t\t\teaseInOutQuint,\n\t\t\tmenubar_default_y: \t\t0\n\t\t};\n\n\t\t// Animation\n\t\tthis.animator = {};\n\n\t\t// Merge Data and Options\n\t\tmergeData(this.options, options);\n\n\t\tthis._initLayout();\n\t\tthis._initEvents();\n\t}\n\n\t/*\tPublic\n\t================================================== */\n\tshow(d) {\n\n\t\tvar duration = this.options.duration;\n\t\tif (d) {\n\t\t\tduration = d;\n\t\t}\n\t}\n\n\thide(top) {\n\t}\n\n\ttoogleZoomIn(show) {\n\t\tif (show) {\n removeClass(this._el.button_zoomin,'tl-menubar-button-inactive');\n\t\t} else {\n addClass(this._el.button_zoomin,'tl-menubar-button-inactive');\n\t\t}\n\t}\n\n\ttoogleZoomOut(show) {\n\t\tif (show) {\n removeClass(this._el.button_zoomout,'tl-menubar-button-inactive');\n\t\t} else {\n addClass(this._el.button_zoomout,'tl-menubar-button-inactive');\n\t\t}\n\t}\n\n\tsetSticky(y) {\n\t\tthis.options.menubar_default_y = y;\n\t}\n\n\t/*\tColor\n\t================================================== */\n\tsetColor(inverted) {\n\t\tif (inverted) {\n\t\t\tthis._el.container.className = 'tl-menubar tl-menubar-inverted';\n\t\t} else {\n\t\t\tthis._el.container.className = 'tl-menubar';\n\t\t}\n\t}\n\n\t/*\tUpdate Display\n\t================================================== */\n\tupdateDisplay(w, h, a, l) {\n\t\tthis._updateDisplay(w, h, a, l);\n\t}\n\n\n\t/*\tEvents\n\t================================================== */\n\t_onButtonZoomIn(e) {\n\t\tthis.fire(\"zoom_in\", e);\n\t}\n\n\t_onButtonZoomOut(e) {\n\t\tthis.fire(\"zoom_out\", e);\n\t}\n\n\t_onButtonBackToStart(e) {\n\t\tthis.fire(\"back_to_start\", e);\n\t}\n\n\n\t/*\tPrivate Methods\n\t================================================== */\n\t_initLayout () {\n\n\t\t// Create Layout\n\t\tthis._el.button_zoomin = DOM.create('span', 'tl-menubar-button', this._el.container);\n\t\tthis._el.button_zoomout = DOM.create('span', 'tl-menubar-button', this._el.container);\n\t\tthis._el.button_backtostart = DOM.create('span', 'tl-menubar-button', this._el.container);\n\n\t\tif (Browser.mobile) {\n\t\t\tthis._el.container.setAttribute(\"ontouchstart\",\" \");\n\t\t}\n\n\t\tthis._el.button_backtostart.innerHTML\t\t= \"\";\n\t\tthis._el.button_zoomin.innerHTML\t\t\t= \"\";\n\t\tthis._el.button_zoomout.innerHTML\t\t\t= \"\";\n\n\n\t}\n\n\t_initEvents () {\n\t\tDOMEvent.addListener(this._el.button_backtostart, 'click', this._onButtonBackToStart, this);\n\t\tDOMEvent.addListener(this._el.button_zoomin, 'click', this._onButtonZoomIn, this);\n\t\tDOMEvent.addListener(this._el.button_zoomout, 'click', this._onButtonZoomOut, this);\n\t}\n\n\t// Update Display\n\t_updateDisplay(width, height, animate) {\n\n\t\tif (width) {\n\t\t\tthis.options.width = width;\n\t\t}\n\t\tif (height) {\n\t\t\tthis.options.height = height;\n\t\t}\n\t}\n\n}\n\nclassMixin(MenuBar, DOMMixins, Events)\n","import * as DOM from \"../dom/DOM\"\nimport { addClass } from \"../dom/DOMUtil\"\nimport { hexToRgb, mergeData, classMixin, isTrue, trace, addTraceHandler } from \"../core/Util\";\nimport { easeInOutQuint, easeOutStrong } from \"../animation/Ease\";\nimport Message from \"../ui/Message\"\nimport { Language, fallback, loadLanguage } from \"../language/Language\"\nimport { I18NMixins } from \"../language/I18NMixins\";\nimport Events from \"../core/Events\";\nimport { makeConfig } from \"../core/ConfigFactory\"\nimport { TimelineConfig } from \"../core/TimelineConfig\"\nimport { TimeNav } from \"../timenav/TimeNav\"\nimport * as Browser from \"../core/Browser\"\nimport { Animate } from \"../animation/Animate\"\nimport { StorySlider } from \"../slider/StorySlider\"\nimport { MenuBar } from \"../ui/MenuBar\"\nimport { loadCSS, loadJS } from \"../core/Load\";\n\nlet script_src_url = null;\nif (document) {\n let script_tags = document.getElementsByTagName('script');\n if (script_tags && script_tags.length > 0) {\n script_src_url = script_tags[script_tags.length - 1].src;\n }\n}\n\nfunction make_keydown_handler(timeline) {\n return function(event) {\n if (timeline.config) {\n var keyName = event.key;\n var currentSlide = timeline._getSlideIndex(self.current_id);\n var _n = timeline.config.events.length - 1;\n var lastSlide = timeline.config.title ? _n + 1 : _n;\n var firstSlide = 0;\n\n if (keyName == 'ArrowLeft') {\n if (currentSlide != firstSlide) {\n timeline.goToPrev();\n }\n } else if (keyName == 'ArrowRight') {\n if (currentSlide != lastSlide) {\n timeline.goToNext();\n }\n }\n }\n }\n}\n\n/**\n * Primary entry point for using TimelineJS.\n * @constructor\n * @param {HTMLElement|string} elem - the HTML element, or its ID, to which \n * the Timeline should be bound\n * @param {object|String} - a JavaScript object conforming to the TimelineJS\n * configuration format, or a String which is the URL for a Google Sheets document\n * or JSON configuration file which Timeline will retrieve and parse into a JavaScript object.\n * NOTE: do not pass a JSON String for this. TimelineJS doesn't try to distinguish a \n * JSON string from a URL string. If you have a JSON String literal, parse it using\n * `JSON.parse` before passing it to the constructor.\n *\n * @param {object} [options] - a JavaScript object specifying \n * presentation options\n */\nclass Timeline {\n constructor(elem, data, options) {\n if (!options) {\n options = {}\n }\n this.ready = false;\n this._el = {\n container: DOM.get(elem),\n storyslider: {},\n timenav: {},\n menubar: {}\n };\n\n if (options.lang && !options.language) {\n options.language = options.lang;\n }\n\n /** @type {Language} */\n this.language = fallback;\n\n /** @type {StorySlider} */\n this._storyslider = {};\n\n /** @type {TimeNav} */\n this._timenav = {};\n\n /** @type {MenuBar} */\n this._menubar = {};\n\n // Loaded State\n this._loaded = { storyslider: false, timenav: false };\n\n /** @type {TimelineConfig} */\n this.config = null;\n\n this.options = {\n script_path: \"https://cdn.knightlab.com/libs/timeline3/latest/js/\", // as good a default as any\n height: this._el.container.offsetHeight,\n width: this._el.container.offsetWidth,\n debug: false,\n font: 'default',\n is_embed: false,\n is_full_embed: false,\n hash_bookmark: false,\n default_bg_color: { r: 255, g: 255, b: 255 },\n scale_factor: 2, // How many screen widths wide should the timeline be\n layout: \"landscape\", // portrait or landscape\n timenav_position: \"bottom\", // timeline on top or bottom\n optimal_tick_width: 60, // optimal distance (in pixels) between ticks on axis\n base_class: \"tl-timeline\", // removing tl-timeline will break all default stylesheets...\n timenav_height: null,\n timenav_height_percentage: 25, // Overrides timenav height as a percentage of the screen\n timenav_mobile_height_percentage: 40, // timenav height as a percentage on mobile devices\n timenav_height_min: 175, // Minimum timenav height\n marker_height_min: 30, // Minimum Marker Height\n marker_width_min: 100, // Minimum Marker Width\n marker_padding: 5, // Top Bottom Marker Padding\n start_at_slide: 0,\n start_at_end: false,\n menubar_height: 0,\n skinny_size: 650,\n medium_size: 800,\n use_bc: false, // Use declared suffix on dates earlier than 0\n // animation\n duration: 1000,\n ease: easeInOutQuint,\n // interaction\n dragging: true,\n trackResize: true,\n map_type: \"stamen:toner-lite\",\n slide_padding_lr: 100, // padding on slide of slide\n slide_default_fade: \"0%\", // landscape fade\n zoom_sequence: [0.5, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89], // Array of Fibonacci numbers for TimeNav zoom levels\n language: \"en\",\n ga_property_id: null,\n track_events: ['back_to_start', 'nav_next', 'nav_previous', 'zoom_in', 'zoom_out'],\n theme: null,\n // sheets_proxy value should be suitable for simply postfixing with the Google Sheets CSV URL\n // as in include trailing slashes, or '?url=' or whatever. No support right now for anything but\n // postfixing. The default proxy should work in most cases, but only for TimelineJS sheets.\n sheets_proxy: 'https://sheets-proxy.knightlab.com/proxy/',\n soundcite: false,\n };\n\n // Animation Objects\n this.animator_timenav = null;\n this.animator_storyslider = null;\n this.animator_menubar = null;\n\n // Ideally we'd set the language here, but we're bootstrapping and may hit problems\n // before we're able to load it. if it weren't a remote resource, we could probably \n // do it.\n this.message = new Message(this._el.container, { message_class: \"tl-message-full\" });\n\n // Merge Options\n if (typeof(options.default_bg_color) == \"string\") {\n var parsed = hexToRgb(options.default_bg_color); // will clear it out if its invalid\n if (parsed) {\n options.default_bg_color = parsed;\n } else {\n delete options.default_bg_color\n trace(\"Invalid default background color. Ignoring.\");\n }\n }\n mergeData(this.options, options);\n\n if (!(this.options.script_path)) {\n this.options.script_path = this.determineScriptPath()\n }\n\n if (options.soundcite) {\n this.on('ready', () => {\n trace(\"Loading Soundcite resources \")\n loadCSS('https://cdn.knightlab.com/libs/soundcite/latest/css/player.css')\n loadJS('https://cdn.knightlab.com/libs/soundcite/latest/js/soundcite.min.js')\n })\n }\n\n // load font, theme\n this._loadStyles()\n\n\n document.addEventListener(\"keydown\", make_keydown_handler(this));\n window.addEventListener(\"resize\", function(e) {\n this.updateDisplay();\n }.bind(this));\n\n if (this.options.debug) {\n addTraceHandler(console.log)\n }\n\n // Apply base class to container\n addClass(this._el.container, 'tl-timeline');\n\n if (this.options.is_embed) {\n addClass(this._el.container, 'tl-timeline-embed');\n }\n\n if (this.options.is_full_embed) {\n addClass(this._el.container, 'tl-timeline-full-embed');\n }\n\n this._loadLanguage(data);\n\n }\n\n _loadStyles() {\n let font_css_url = null,\n theme_css_url = null;\n\n if (this.options.font && (\n this.options.font.indexOf('http') == 0 ||\n this.options.font.match(/\\.css$/))) {\n font_css_url = this.options.font\n } else if (this.options.font) {\n let fragment = '../css/fonts/font.' + this.options.font.toLowerCase() + '.css'\n font_css_url = new URL(fragment, this.options.script_path).toString()\n }\n\n if (font_css_url) {\n loadCSS(font_css_url)\n }\n\n if (this.options.theme && (\n this.options.theme.indexOf('http') == 0 ||\n this.options.theme.match(/\\.css$/))) {\n theme_css_url = this.options.theme\n } else if (this.options.theme) {\n let fragment = '../css/themes/timeline.theme.' + this.options.theme.toLowerCase() + '.css'\n theme_css_url = new URL(fragment, this.options.script_path).toString()\n }\n\n if (theme_css_url) {\n loadCSS(theme_css_url)\n }\n\n\n }\n\n\n _loadLanguage(data) {\n try {\n var lang = this.options.language\n var script_path = this.options.script_path\n loadLanguage(lang, script_path).then((language) => {\n if (language) {\n this.language = language\n this.message.setLanguage(this.language)\n this.options.language = this.language // easiest way to make language available to I18NMixins\n this.showMessage(this._('loading_timeline'))\n } else {\n this.showMessage(`Error loading ${lang}`) // but we will carry on using the fallback\n }\n this._initData(data)\n })\n } catch (e) {\n this.showMessage(this._translateError(e))\n }\n }\n\n /**\n * Initialize the data for this timeline. If data is a URL, pass it to ConfigFactory\n * to get a TimelineConfig; if data is a TimelineConfig, just use it; otherwise, \n * assume it's a JSON object in the right format, and wrap it in a new TimelineConfig.\n * @param {string|TimelineConfig|object} data\n */\n _initData(data) {\n if (typeof data == 'string') {\n makeConfig(data, {\n callback: function(config) {\n this.setConfig(config);\n }.bind(this),\n sheets_proxy: this.options.sheets_proxy\n });\n } else if (TimelineConfig == data.constructor) {\n this.setConfig(data);\n } else {\n this.setConfig(new TimelineConfig(data));\n }\n }\n\n /**\n * Given an input, if it is a Timeline Error object, look up the\n * appropriate error in the current language and return it, optionally \n * with detail that also comes in the object. Alternatively, pass back\n * the input, which is expected to be a string ready to display.\n * @param {Error|string} e - an Error object which can be localized, \n * or a string message\n */\n _translateError(e) {\n\n if (e.hasOwnProperty('stack')) {\n trace(e.stack);\n }\n if (e.message_key) {\n return this._(e.message_key) + (e.detail ? ' [' + e.detail + ']' : '')\n }\n return e;\n\n }\n\n /**\n * Display a message in the Timeline window.\n * @param {string} msg \n */\n showMessage(msg) {\n if (this.message) {\n this.message.updateMessage(msg);\n } else {\n trace(\"No message display available.\")\n trace(msg);\n }\n }\n /**\n * Not ideal, but if users don't specify the script path, we try to figure it out.\n * The script path is needed to load other languages\n */\n determineScriptPath() {\n let src = null;\n if (script_src_url) { // did we get it when this loaded?\n src = script_src_url;\n } else {\n let script_tag = document.getElementById('timeline-script-tag')\n if (script_tag) {\n src = script_tag.src\n }\n }\n\n if (!src) {\n let script_tags = document.getElementsByTagName('script');\n for (let index = script_tags.length - 1; index >= 0; index--) {\n if (script_tags[index].src) {\n src = script_tags[index].src\n break // if we haven't found anything else, use the latest loaded script\n }\n }\n }\n\n if (src) {\n // +1 to include the trailing slash or concatting for dynamic CSS load won't work.\n return src.substr(0, src.lastIndexOf('/') + 1);\n }\n return '';\n }\n\n\n setConfig(config) {\n this.config = config;\n if (this.config.isValid()) {\n // don't validate if it's already problematic to avoid clutter\n this.config.validate();\n this._validateOptions();\n }\n if (this.config.isValid()) {\n try {\n if (document.readyState === 'loading') { // Loading hasn't finished yet\n document.addEventListener('DOMContentLoaded', this._onDataLoaded.bind(this));\n } else {\n this._onDataLoaded();\n }\n } catch (e) {\n this.showMessage(\"\" + this._('error') + \": \" + this._translateError(e));\n }\n } else {\n var translated_errs = [];\n\n for (var i = 0, errs = this.config.getErrors(); i < errs.length; i++) {\n translated_errs.push(this._translateError(errs[i]));\n }\n\n this.showMessage(\"\" + this._('error') + \": \" + translated_errs.join('
'));\n // should we set 'self.ready'? if not, it won't resize,\n // but most resizing would only work\n // if more setup happens\n }\n }\n\n _onDataLoaded() {\n this.fire(\"dataloaded\");\n this._initLayout();\n this._initEvents();\n this._initAnalytics();\n if (this.message) {\n this.message.hide();\n }\n let callback = (entries, observer) => {\n if (entries.reduce((accum, curr) => accum || curr.isIntersecting, false)) {\n this.updateDisplay()\n }\n }\n let observer = new IntersectionObserver(callback.bind(this))\n observer.observe(this._el.container)\n this.ready = true;\n this.fire(\"ready\")\n\n }\n\n _initLayout() {\n var self = this;\n\n this.message.removeFrom(this._el.container);\n this._el.container.innerHTML = \"\";\n\n // Create Layout\n if (this.options.timenav_position == \"top\") {\n this._el.timenav = DOM.create('div', 'tl-timenav', this._el.container);\n this._el.storyslider = DOM.create('div', 'tl-storyslider', this._el.container);\n } else {\n this._el.storyslider = DOM.create('div', 'tl-storyslider', this._el.container);\n this._el.timenav = DOM.create('div', 'tl-timenav', this._el.container);\n }\n\n this._el.menubar = DOM.create('div', 'tl-menubar', this._el.container);\n\n\n // Initial Default Layout\n this.options.width = this._el.container.offsetWidth;\n this.options.height = this._el.container.offsetHeight;\n // this._el.storyslider.style.top = \"1px\";\n\n // Set TimeNav Height\n this.options.timenav_height = this._calculateTimeNavHeight(this.options.timenav_height);\n\n // Create TimeNav\n this._timenav = new TimeNav(this._el.timenav, this.config, this.options, this.language);\n this._timenav.on('loaded', this._onTimeNavLoaded, this);\n this._timenav.options.height = this.options.timenav_height;\n this._timenav.init();\n\n // intial_zoom cannot be applied before the timenav has been created\n if (this.options.initial_zoom) {\n // at this point, this.options refers to the merged set of options\n this.setZoom(this.options.initial_zoom);\n }\n\n // Create StorySlider\n this._storyslider = new StorySlider(this._el.storyslider, this.config, this.options, this.language);\n this._storyslider.on('loaded', this._onStorySliderLoaded, this);\n this._storyslider.init();\n\n // Create Menu Bar\n this._menubar = new MenuBar(this._el.menubar, this._el.container, this.options);\n\n // LAYOUT\n if (this.options.layout == \"portrait\") {\n this.options.storyslider_height = (this.options.height - this.options.timenav_height - 1);\n } else {\n this.options.storyslider_height = (this.options.height - 1);\n }\n\n\n // Update Display\n this._updateDisplay(this._timenav.options.height, true, 2000);\n\n }\n\n _initEvents() {\n // TimeNav Events\n this._timenav.on('change', this._onTimeNavChange, this);\n this._timenav.on('zoomtoggle', this._onZoomToggle, this);\n\n // StorySlider Events\n this._storyslider.on('change', this._onSlideChange, this);\n this._storyslider.on('colorchange', this._onColorChange, this);\n this._storyslider.on('nav_next', this._onStorySliderNext, this);\n this._storyslider.on('nav_previous', this._onStorySliderPrevious, this);\n\n // Menubar Events\n this._menubar.on('zoom_in', this._onZoomIn, this);\n this._menubar.on('zoom_out', this._onZoomOut, this);\n this._menubar.on('back_to_start', this._onBackToStart, this);\n\n }\n\n _onColorChange(e) {\n this.fire(\"color_change\", { unique_id: this.current_id }, this);\n }\n\n _onSlideChange(e) {\n if (this.current_id != e.unique_id) {\n this.current_id = e.unique_id;\n this._timenav.goToId(this.current_id);\n this._onChange(e);\n }\n }\n\n _onTimeNavChange(e) {\n if (this.current_id != e.unique_id) {\n this.current_id = e.unique_id;\n this._storyslider.goToId(this.current_id);\n this._onChange(e);\n }\n }\n\n _onZoomToggle(e) {\n if (e.zoom == \"in\") {\n this._menubar.toogleZoomIn(e.show);\n } else if (e.zoom == \"out\") {\n this._menubar.toogleZoomOut(e.show);\n }\n\n }\n\n\n\n _onChange(e) {\n this.fire(\"change\", { unique_id: this.current_id }, this);\n if (this.options.hash_bookmark && this.current_id) {\n this._updateHashBookmark(this.current_id);\n }\n }\n\n _onBackToStart(e) {\n this._storyslider.goTo(0);\n this.fire(\"back_to_start\", { unique_id: this.current_id }, this);\n }\n\n _onZoomIn(e) {\n this._timenav.zoomIn();\n this.fire(\"zoom_in\", { zoom_level: this._timenav.options.scale_factor }, this);\n }\n\n _onZoomOut(e) {\n this._timenav.zoomOut();\n this.fire(\"zoom_out\", { zoom_level: this._timenav.options.scale_factor }, this);\n }\n\n _onTimeNavLoaded() {\n this._loaded.timenav = true;\n this._onLoaded();\n }\n\n _onStorySliderLoaded() {\n this._loaded.storyslider = true;\n this._onLoaded();\n }\n\n _onStorySliderNext(e) {\n this.fire(\"nav_next\", e);\n }\n\n _onStorySliderPrevious(e) {\n this.fire(\"nav_previous\", e);\n }\n\n\n _updateDisplay(timenav_height, animate, d) {\n var duration = this.options.duration,\n display_class = this.options.base_class,\n menu_position = 0,\n self = this;\n\n if (d) {\n duration = d;\n }\n\n // Update width and height\n this.options.width = this._el.container.offsetWidth;\n this.options.height = this._el.container.offsetHeight;\n\n // Check if skinny\n if (this.options.width <= this.options.skinny_size) {\n display_class += \" tl-skinny\";\n this.options.layout = \"portrait\";\n } else if (this.options.width <= this.options.medium_size) {\n display_class += \" tl-medium\";\n this.options.layout = \"landscape\";\n } else {\n this.options.layout = \"landscape\";\n }\n\n // Detect Mobile and Update Orientation on Touch devices\n if (Browser.touch) {\n this.options.layout = Browser.orientation();\n }\n\n if (Browser.mobile) {\n display_class += \" tl-mobile\";\n // Set TimeNav Height\n this.options.timenav_height = this._calculateTimeNavHeight(timenav_height, this.options.timenav_mobile_height_percentage);\n } else {\n // Set TimeNav Height\n this.options.timenav_height = this._calculateTimeNavHeight(timenav_height);\n }\n\n // LAYOUT\n if (this.options.layout == \"portrait\") {\n // Portrait\n display_class += \" tl-layout-portrait\";\n\n } else {\n // Landscape\n display_class += \" tl-layout-landscape\";\n\n }\n\n // Set StorySlider Height\n this.options.storyslider_height = (this.options.height - this.options.timenav_height);\n\n // Positon Menu\n if (this.options.timenav_position == \"top\") {\n menu_position = (Math.ceil(this.options.timenav_height) / 2) - (this._el.menubar.offsetHeight / 2) - (39 / 2);\n } else {\n menu_position = Math.round(this.options.storyslider_height + 1 + (Math.ceil(this.options.timenav_height) / 2) - (this._el.menubar.offsetHeight / 2) - (35 / 2));\n }\n\n\n if (animate) {\n\n this._el.timenav.style.height = Math.ceil(this.options.timenav_height) + \"px\";\n\n // Animate StorySlider\n if (this.animator_storyslider) {\n this.animator_storyslider.stop();\n }\n this.animator_storyslider = Animate(this._el.storyslider, {\n height: this.options.storyslider_height + \"px\",\n duration: duration / 2,\n easing: easeOutStrong\n });\n\n // Animate Menubar\n if (this.animator_menubar) {\n this.animator_menubar.stop();\n }\n\n this.animator_menubar = Animate(this._el.menubar, {\n top: menu_position + \"px\",\n duration: duration / 2,\n easing: easeOutStrong\n });\n\n } else {\n // TimeNav\n this._el.timenav.style.height = Math.ceil(this.options.timenav_height) + \"px\";\n\n // StorySlider\n this._el.storyslider.style.height = this.options.storyslider_height + \"px\";\n\n // Menubar\n this._el.menubar.style.top = menu_position + \"px\";\n }\n\n if (this.message) {\n this.message.updateDisplay(this.options.width, this.options.height);\n }\n // Update Component Displays\n this._timenav.updateDisplay(this.options.width, this.options.timenav_height, animate);\n this._storyslider.updateDisplay(this.options.width, this.options.storyslider_height, animate, this.options.layout);\n\n if (this.options.language.direction == 'rtl') {\n display_class += ' tl-rtl';\n }\n\n\n // Apply class\n this._el.container.className = display_class;\n\n }\n\n /**\n * Compute the height of the navigation section of the Timeline, taking \n * into account the possibility of an explicit height or height \n * percentage, but also honoring the `timenav_height_min` option \n * value. If `timenav_height` is specified it takes precedence over \n * `timenav_height_percentage` but in either case, if the resultant \n * pixel height is less than `options.timenav_height_min` then the \n * value of `options.timenav_height_min` will be returned. (A minor \n * adjustment is made to the returned value to account for marker \n * padding.)\n * \n * @param {number} [timenav_height] - an integer value for the desired height in pixels\n * @param {number} [timenav_height_percentage] - an integer between 1 and 100\n */\n _calculateTimeNavHeight(timenav_height, timenav_height_percentage) {\n\n var height = 0;\n\n if (timenav_height) {\n height = timenav_height;\n } else {\n if (this.options.timenav_height_percentage || timenav_height_percentage) {\n if (timenav_height_percentage) {\n height = Math.round((this.options.height / 100) * timenav_height_percentage);\n } else {\n height = Math.round((this.options.height / 100) * this.options.timenav_height_percentage);\n }\n\n }\n }\n\n // Set new minimum based on how many rows needed\n if (this._timenav.ready) {\n if (this.options.timenav_height_min < this._timenav.getMinimumHeight()) {\n this.options.timenav_height_min = this._timenav.getMinimumHeight();\n }\n }\n\n // If height is less than minimum set it to minimum\n if (height < this.options.timenav_height_min) {\n height = this.options.timenav_height_min;\n }\n\n height = height - (this.options.marker_padding * 2);\n\n return height;\n }\n\n _validateOptions() {\n // assumes that this.options and this.config have been set.\n var INTEGER_PROPERTIES = ['timenav_height', 'timenav_height_min', 'marker_height_min', 'marker_width_min', 'marker_padding', 'start_at_slide', 'slide_padding_lr'];\n\n for (var i = 0; i < INTEGER_PROPERTIES.length; i++) {\n var opt = INTEGER_PROPERTIES[i];\n var value = this.options[opt];\n let valid = true;\n if (typeof(value) == 'number') {\n valid = (value == parseInt(value))\n } else if (typeof(value) == \"string\") {\n valid = (value.match(/^\\s*(\\-?\\d+)?\\s*$/));\n }\n if (!valid) {\n this.config.logError({ message_key: 'invalid_integer_option', detail: opt });\n }\n }\n }\n\n /**\n * Given a slide identifier, return the zero-based positional index of\n * that slide. If this timeline has a 'title' slide, it is at position 0\n * and all other slides are numbered after that. If there is no 'title' \n * slide, then the first event slide is at position 0.\n * @param {String} id \n */\n _getSlideIndex(id) {\n if (this.config) {\n if (this.config.title && this.config.title.unique_id == id) {\n return 0;\n }\n for (var i = 0; i < this.config.events.length; i++) {\n if (id == this.config.events[i].unique_id) {\n return this.config.title ? i + 1 : i;\n }\n }\n }\n return -1;\n }\n\n /**\n * Given a slide identifier, return the zero-based positional index of that slide.\n * Does not take the existence of a 'title' slide into account, so if there is a title\n * slide, this value should be one less than calling `_getSlideIndex` with the same\n * identifier. If there is no title slide, `_getSlideIndex` and `_getEventIndex` \n * should return the same value.\n * TODO: does it really make sense to have both `_getSlideIndex` and `_getEventIndex`?\n * @param {String} id \n */\n _getEventIndex(id) {\n for (var i = 0; i < this.config.events.length; i++) {\n if (id == this.config.events[i].unique_id) {\n return i;\n }\n }\n return -1;\n }\n\n _onLoaded() {\n if (this._loaded.storyslider && this._loaded.timenav) {\n this.fire(\"loaded\", this.config);\n // Go to proper slide\n if (this.options.hash_bookmark) {\n if (window.location.hash != \"\") {\n this.goToId(window.location.hash.replace(\"#event-\", \"\"));\n } else {\n this._updateHashBookmark(this.current_id);\n }\n let the_timeline = this;\n window.addEventListener('hashchange', function() {\n if (window.location.hash.indexOf('#event-') == 0) {\n the_timeline.goToId(window.location.hash.replace(\"#event-\", \"\"));\n }\n }, false);\n } else {\n if (isTrue(this.options.start_at_end) || this.options.start_at_slide > this.config.events.length) {\n this.goToEnd();\n } else {\n this.goTo(this.options.start_at_slide);\n }\n }\n\n }\n }\n\n // Update hashbookmark in the url bar\n _updateHashBookmark(id) {\n if (id) { // TODO: validate the id...\n var hash = \"#\" + \"event-\" + id.toString();\n window.history.replaceState(null, \"Browsing TimelineJS\", hash);\n this.fire(\"hash_updated\", { unique_id: this.current_id, hashbookmark: \"#\" + \"event-\" + id.toString() }, this);\n }\n }\n\n\n /*\n PUBLIC API\n This has been minimally tested since most people use TimelineJS as an embed.\n If we hear from people who are trying to use TimelineJS this way, we will do\n what we can to make sure it works correctly, and will appreciate help!\n */\n zoomIn() {\n this._timenav.zoomIn();\n }\n\n zoomOut() {\n this._timenav.zoomOut();\n }\n\n setZoom(level) {\n this._timenav.setZoom(level);\n }\n\n // Goto slide with id\n goToId(id) {\n if (this.current_id != id) {\n\n this.current_id = id;\n this._timenav.goToId(this.current_id);\n this._storyslider.goToId(this.current_id, false, true);\n this.fire(\"change\", { unique_id: this.current_id }, this);\n }\n }\n\n // Goto slide n\n goTo(n) {\n if (this.config.title) {\n if (n == 0) {\n this.goToId(this.config.title.unique_id);\n } else {\n this.goToId(this.config.events[n - 1].unique_id);\n }\n } else {\n this.goToId(this.config.events[n].unique_id);\n }\n }\n\n // Goto first slide\n goToStart() {\n this.goTo(0);\n }\n\n // Goto last slide\n goToEnd() {\n var _n = this.config.events.length - 1;\n this.goTo(this.config.title ? _n + 1 : _n);\n }\n\n // Goto previous slide\n goToPrev() {\n this.goTo(this._getSlideIndex(this.current_id) - 1);\n }\n\n // Goto next slide\n goToNext() {\n this.goTo(this._getSlideIndex(this.current_id) + 1);\n }\n\n /* Event manipulation\n ================================================== */\n\n // Add an event\n add(data) {\n var unique_id = this.config.addEvent(data);\n\n var n = this._getEventIndex(unique_id);\n var d = this.config.events[n];\n\n this._storyslider.createSlide(d, this.config.title ? n + 1 : n);\n this._storyslider._updateDrawSlides();\n\n this._timenav.createMarker(d, n);\n this._timenav._updateDrawTimeline(false);\n\n this.fire(\"added\", { unique_id: unique_id });\n }\n\n // Remove an event\n remove(n) {\n if (n >= 0 && n < this.config.events.length) {\n // If removing the current, nav to new one first\n if (this.config.events[n].unique_id == this.current_id) {\n if (n < this.config.events.length - 1) {\n this.goTo(n + 1);\n } else {\n this.goTo(n - 1);\n }\n }\n\n var event = this.config.events.splice(n, 1);\n delete this.config.event_dict[event[0].unique_id];\n this._storyslider.destroySlide(this.config.title ? n + 1 : n);\n this._storyslider._updateDrawSlides();\n\n this._timenav.destroyMarker(n);\n this._timenav._updateDrawTimeline(false);\n\n this.fire(\"removed\", { unique_id: event[0].unique_id });\n }\n }\n\n removeId(id) {\n this.remove(this._getEventIndex(id));\n }\n\n /* Get slide data\n ================================================== */\n\n getData(n) {\n if (this.config.title) {\n if (n == 0) {\n return this.config.title;\n } else if (n > 0 && n <= this.config.events.length) {\n return this.config.events[n - 1];\n }\n } else if (n >= 0 && n < this.config.events.length) {\n return this.config.events[n];\n }\n return null;\n }\n\n getDataById(id) {\n return this.getData(this._getSlideIndex(id));\n }\n\n /* Get slide object\n ================================================== */\n\n getSlide(n) {\n if (n >= 0 && n < this._storyslider._slides.length) {\n return this._storyslider._slides[n];\n }\n return null;\n }\n\n getSlideById(id) {\n return this.getSlide(this._getSlideIndex(id));\n }\n\n getCurrentSlide() {\n return this.getSlideById(this.current_id);\n }\n\n updateDisplay() {\n if (this.ready) {\n this._updateDisplay();\n } else {\n trace('updateDisplay called but timeline is not in ready state')\n }\n }\n\n _initGoogleAnalytics() {\n (function(i, s, o, g, r, a, m) {\n i['GoogleAnalyticsObject'] = r;\n i[r] = i[r] || function() {\n (i[r].q = i[r].q || []).push(arguments)\n }, i[r].l = 1 * new Date();\n a = s.createElement(o), m = s.getElementsByTagName(o)[0];\n a.async = 1;\n a.src = g;\n m.parentNode.insertBefore(a, m)\n })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');\n\n ga('create', this.options.ga_property_id, 'auto');\n ga('set', 'anonymizeIp', true);\n }\n\n _initAnalytics() {\n if (this.options.ga_property_id === null) { return; }\n this._initGoogleAnalytics();\n ga('send', 'pageview');\n var events = this.options.track_events;\n for (let i = 0; i < events.length; i++) {\n var event_ = events[i];\n this.addEventListener(event_, function(e) {\n ga('send', 'event', e.type, 'clicked');\n });\n }\n }\n\n\n}\n\nclassMixin(Timeline, I18NMixins, Events)\n\nexport { Timeline }","require('../less/TL.Timeline.less')\nexport { Timeline }\nfrom \"./timeline/Timeline\"\nexport { parseGoogleSpreadsheetURL }\nfrom \"./core/ConfigFactory\"\nexport { lookupMediaType }\nfrom \"./media/MediaType\""],"sourceRoot":""}